diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e394136176..59f004d9cff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,171 @@ +# Release (2022-06-07) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/auditmanager`: [v1.19.0](service/auditmanager/CHANGELOG.md#v1190-2022-06-07) + * **Feature**: This release introduces 2 updates to the Audit Manager API. The roleType and roleArn attributes are now required when you use the CreateAssessment or UpdateAssessment operation. We also added a throttling exception to the RegisterAccount API operation. +* `github.com/aws/aws-sdk-go-v2/service/costexplorer`: [v1.19.0](service/costexplorer/CHANGELOG.md#v1190-2022-06-07) + * **Feature**: Added two new APIs to support cost allocation tags operations: ListCostAllocationTags, UpdateCostAllocationTagsStatus. + +# Release (2022-06-06) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/chimesdkmessaging`: [v1.10.0](service/chimesdkmessaging/CHANGELOG.md#v1100-2022-06-06) + * **Feature**: This release adds support for searching channels by members via the SearchChannels API, removes required restrictions for Name and Mode in UpdateChannel API and enhances CreateChannel API by exposing member and moderator list as well as channel id as optional parameters. +* `github.com/aws/aws-sdk-go-v2/service/connect`: [v1.26.0](service/connect/CHANGELOG.md#v1260-2022-06-06) + * **Feature**: This release adds a new API, GetCurrentUserData, which returns real-time details about users' current activity. + +# Release (2022-06-02) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/applicationinsights`: [v1.16.0](service/applicationinsights/CHANGELOG.md#v1160-2022-06-02) + * **Feature**: Provide Account Level onboarding support through CFN/CLI +* `github.com/aws/aws-sdk-go-v2/service/codeartifact`: [v1.12.6](service/codeartifact/CHANGELOG.md#v1126-2022-06-02) + * **Documentation**: Documentation updates for CodeArtifact +* `github.com/aws/aws-sdk-go-v2/service/connect`: [v1.25.0](service/connect/CHANGELOG.md#v1250-2022-06-02) + * **Feature**: This release adds the following features: 1) New APIs to manage (create, list, update) task template resources, 2) Updates to startTaskContact API to support task templates, and 3) new TransferContact API to programmatically transfer in-progress tasks via a contact flow. +* `github.com/aws/aws-sdk-go-v2/service/kendra`: [v1.28.0](service/kendra/CHANGELOG.md#v1280-2022-06-02) + * **Feature**: Amazon Kendra now provides a data source connector for GitHub. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html +* `github.com/aws/aws-sdk-go-v2/service/proton`: [v1.14.0](service/proton/CHANGELOG.md#v1140-2022-06-02) + * **Feature**: Add new "Components" API to enable users to Create, Delete and Update AWS Proton components. +* `github.com/aws/aws-sdk-go-v2/service/voiceid`: [v1.10.0](service/voiceid/CHANGELOG.md#v1100-2022-06-02) + * **Feature**: Added a new attribute ServerSideEncryptionUpdateDetails to Domain and DomainSummary. + +# Release (2022-06-01) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/backupgateway`: [v1.6.0](service/backupgateway/CHANGELOG.md#v160-2022-06-01) + * **Feature**: Adds GetGateway and UpdateGatewaySoftwareNow API and adds hypervisor name to UpdateHypervisor API +* `github.com/aws/aws-sdk-go-v2/service/chimesdkmeetings`: [v1.10.0](service/chimesdkmeetings/CHANGELOG.md#v1100-2022-06-01) + * **Feature**: Adds support for centrally controlling each participant's ability to send and receive audio, video and screen share within a WebRTC session. Attendee capabilities can be specified when the attendee is created and updated during the session with the new BatchUpdateAttendeeCapabilitiesExcept API. +* `github.com/aws/aws-sdk-go-v2/service/forecast`: [v1.22.0](service/forecast/CHANGELOG.md#v1220-2022-06-01) + * **Feature**: Added Format field to Import and Export APIs in Amazon Forecast. Added TimeSeriesSelector to Create Forecast API. +* `github.com/aws/aws-sdk-go-v2/service/route53`: [v1.21.0](service/route53/CHANGELOG.md#v1210-2022-06-01) + * **Feature**: Add new APIs to support Route 53 IP Based Routing + +# Release (2022-05-31) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider`: [v1.17.0](service/cognitoidentityprovider/CHANGELOG.md#v1170-2022-05-31) + * **Feature**: Amazon Cognito now supports IP Address propagation for all unauthenticated APIs (e.g. SignUp, ForgotPassword). +* `github.com/aws/aws-sdk-go-v2/service/drs`: [v1.6.0](service/drs/CHANGELOG.md#v160-2022-05-31) + * **Feature**: Changed existing APIs and added new APIs to accommodate using multiple AWS accounts with AWS Elastic Disaster Recovery. +* `github.com/aws/aws-sdk-go-v2/service/iotsitewise`: [v1.22.0](service/iotsitewise/CHANGELOG.md#v1220-2022-05-31) + * **Feature**: This release adds the following new optional field to the IoT SiteWise asset resource: assetDescription. +* `github.com/aws/aws-sdk-go-v2/service/lookoutmetrics`: [v1.15.0](service/lookoutmetrics/CHANGELOG.md#v1150-2022-05-31) + * **Feature**: Adding backtest mode to detectors using the Cloudwatch data source. +* `github.com/aws/aws-sdk-go-v2/service/transcribe`: [v1.20.0](service/transcribe/CHANGELOG.md#v1200-2022-05-31) + * **Feature**: Amazon Transcribe now supports automatic language identification for multi-lingual audio in batch mode. + +# Release (2022-05-27) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/appflow`: [v1.16.0](service/appflow/CHANGELOG.md#v1160-2022-05-27) + * **Feature**: Adding the following features/changes: Parquet output that preserves typing from the source connector, Failed executions threshold before deactivation for scheduled flows, increasing max size of access and refresh token from 2048 to 4096 +* `github.com/aws/aws-sdk-go-v2/service/datasync`: [v1.17.0](service/datasync/CHANGELOG.md#v1170-2022-05-27) + * **Feature**: AWS DataSync now supports TLS encryption in transit, file system policies and access points for EFS locations. +* `github.com/aws/aws-sdk-go-v2/service/emrserverless`: [v1.1.0](service/emrserverless/CHANGELOG.md#v110-2022-05-27) + * **Feature**: This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. +* `github.com/aws/aws-sdk-go-v2/service/sagemaker`: [v1.32.0](service/sagemaker/CHANGELOG.md#v1320-2022-05-27) + * **Feature**: Amazon SageMaker Notebook Instances now allows configuration of Instance Metadata Service version and Amazon SageMaker Studio now supports G5 instance types. + +# Release (2022-05-26) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/ec2`: [v1.45.0](service/ec2/CHANGELOG.md#v1450-2022-05-26) + * **Feature**: C7g instances, powered by the latest generation AWS Graviton3 processors, provide the best price performance in Amazon EC2 for compute-intensive workloads. +* `github.com/aws/aws-sdk-go-v2/service/emrserverless`: [v1.0.0](service/emrserverless/CHANGELOG.md#v100-2022-05-26) + * **Release**: New AWS service client module + * **Feature**: This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. +* `github.com/aws/aws-sdk-go-v2/service/forecast`: [v1.21.0](service/forecast/CHANGELOG.md#v1210-2022-05-26) + * **Feature**: Introduced a new field in Auto Predictor as Time Alignment Boundary. It helps in aligning the timestamps generated during Forecast exports +* `github.com/aws/aws-sdk-go-v2/service/lightsail`: [v1.22.0](service/lightsail/CHANGELOG.md#v1220-2022-05-26) + * **Feature**: Amazon Lightsail now supports the ability to configure a Lightsail Container Service to pull images from Amazon ECR private repositories in your account. + +# Release (2022-05-25) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/apigateway`: [v1.15.6](service/apigateway/CHANGELOG.md#v1156-2022-05-25) + * **Documentation**: Documentation updates for Amazon API Gateway +* `github.com/aws/aws-sdk-go-v2/service/apprunner`: [v1.12.3](service/apprunner/CHANGELOG.md#v1123-2022-05-25) + * **Documentation**: Documentation-only update added for CodeConfiguration. +* `github.com/aws/aws-sdk-go-v2/service/cloudformation`: [v1.21.0](service/cloudformation/CHANGELOG.md#v1210-2022-05-25) + * **Feature**: Add a new parameter statusReason to DescribeStackSetOperation output for additional details +* `github.com/aws/aws-sdk-go-v2/service/fsx`: [v1.24.0](service/fsx/CHANGELOG.md#v1240-2022-05-25) + * **Feature**: This release adds root squash support to FSx for Lustre to restrict root level access from clients by mapping root users to a less-privileged user/group with limited permissions. +* `github.com/aws/aws-sdk-go-v2/service/lookoutmetrics`: [v1.14.0](service/lookoutmetrics/CHANGELOG.md#v1140-2022-05-25) + * **Feature**: Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source. +* `github.com/aws/aws-sdk-go-v2/service/sagemaker`: [v1.31.0](service/sagemaker/CHANGELOG.md#v1310-2022-05-25) + * **Feature**: Amazon SageMaker Autopilot adds support for manually selecting features from the input dataset using the CreateAutoMLJob API. +* `github.com/aws/aws-sdk-go-v2/service/secretsmanager`: [v1.15.9](service/secretsmanager/CHANGELOG.md#v1159-2022-05-25) + * **Documentation**: Documentation updates for Secrets Manager +* `github.com/aws/aws-sdk-go-v2/service/voiceid`: [v1.9.0](service/voiceid/CHANGELOG.md#v190-2022-05-25) + * **Feature**: VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a "LastAccessedAt" time for Speakers, and the EvaluateSession API returns "SPEAKER_EXPIRED" Auth Decision for EXPIRED Speakers. + +# Release (2022-05-24) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider`: [v1.16.0](service/cognitoidentityprovider/CHANGELOG.md#v1160-2022-05-24) + * **Feature**: Amazon Cognito now supports requiring attribute verification (ex. email and phone number) before update. +* `github.com/aws/aws-sdk-go-v2/service/ec2`: [v1.44.0](service/ec2/CHANGELOG.md#v1440-2022-05-24) + * **Feature**: Stop Protection feature enables customers to protect their instances from accidental stop actions. +* `github.com/aws/aws-sdk-go-v2/service/ivschat`: [v1.0.4](service/ivschat/CHANGELOG.md#v104-2022-05-24) + * **Documentation**: Doc-only update. For MessageReviewHandler structure, added timeout period in the description of the fallbackResult field +* `github.com/aws/aws-sdk-go-v2/service/mediaconvert`: [v1.24.0](service/mediaconvert/CHANGELOG.md#v1240-2022-05-24) + * **Feature**: AWS Elemental MediaConvert SDK has added support for rules that constrain Automatic-ABR rendition selection when generating ABR package ladders. +* `github.com/aws/aws-sdk-go-v2/service/networkmanager`: [v1.13.0](service/networkmanager/CHANGELOG.md#v1130-2022-05-24) + * **Feature**: This release adds Multi Account API support for a TGW Global Network, to enable and disable AWSServiceAccess with AwsOrganizations for Network Manager service and dependency CloudFormation StackSets service. + +# Release (2022-05-23) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/elasticache`: [v1.21.0](service/elasticache/CHANGELOG.md#v1210-2022-05-23) + * **Feature**: Added support for encryption in transit for Memcached clusters. Customers can now launch Memcached cluster with encryption in transit enabled when using Memcached version 1.6.12 or later. +* `github.com/aws/aws-sdk-go-v2/service/forecast`: [v1.20.0](service/forecast/CHANGELOG.md#v1200-2022-05-23) + * **Feature**: New APIs for Monitor that help you understand how your predictors perform over time. +* `github.com/aws/aws-sdk-go-v2/service/personalize`: [v1.20.0](service/personalize/CHANGELOG.md#v1200-2022-05-23) + * **Feature**: Adding modelMetrics as part of DescribeRecommender API response for Personalize. + +# Release (2022-05-20) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs`: [v1.15.7](service/cloudwatchlogs/CHANGELOG.md#v1157-2022-05-20) + * **Documentation**: Doc-only update to publish the new valid values for log retention +* `github.com/aws/aws-sdk-go-v2/service/comprehend`: [v1.18.0](service/comprehend/CHANGELOG.md#v1180-2022-05-20) + * **Feature**: Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs. + +# Release (2022-05-19) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/gamesparks`: [v1.1.0](service/gamesparks/CHANGELOG.md#v110-2022-05-19) + * **Feature**: This release adds an optional DeploymentResult field in the responses of GetStageDeploymentIntegrationTests and ListStageDeploymentIntegrationTests APIs. +* `github.com/aws/aws-sdk-go-v2/service/lookoutmetrics`: [v1.13.0](service/lookoutmetrics/CHANGELOG.md#v1130-2022-05-19) + * **Feature**: In this release we added SnsFormat to SNSConfiguration to support human readable alert. + +# Release (2022-05-18) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/appmesh`: [v1.14.0](service/appmesh/CHANGELOG.md#v1140-2022-05-18) + * **Feature**: This release updates the existing Create and Update APIs for meshes and virtual nodes by adding a new IP preference field. This new IP preference field can be used to control the IP versions being used with the mesh and allows for IPv6 support within App Mesh. +* `github.com/aws/aws-sdk-go-v2/service/batch`: [v1.18.3](service/batch/CHANGELOG.md#v1183-2022-05-18) + * **Documentation**: Documentation updates for AWS Batch. +* `github.com/aws/aws-sdk-go-v2/service/greengrassv2`: [v1.16.0](service/greengrassv2/CHANGELOG.md#v1160-2022-05-18) + * **Feature**: This release adds the new DeleteDeployment API operation that you can use to delete deployment resources. This release also adds support for discontinued AWS-provided components, so AWS can communicate when a component has any issues that you should consider before you deploy it. +* `github.com/aws/aws-sdk-go-v2/service/ioteventsdata`: [v1.12.0](service/ioteventsdata/CHANGELOG.md#v1120-2022-05-18) + * **Feature**: Introducing new API for deleting detectors: BatchDeleteDetector. +* `github.com/aws/aws-sdk-go-v2/service/quicksight`: [v1.22.0](service/quicksight/CHANGELOG.md#v1220-2022-05-18) + * **Feature**: API UpdatePublicSharingSettings enables IAM admins to enable/disable account level setting for public access of dashboards. When enabled, owners/co-owners for dashboards can enable public access on their dashboards. These dashboards can only be accessed through share link or embedding. +* `github.com/aws/aws-sdk-go-v2/service/transfer`: [v1.19.0](service/transfer/CHANGELOG.md#v1190-2022-05-18) + * **Feature**: AWS Transfer Family now supports SetStat server configuration option, which provides the ability to ignore SetStat command issued by file transfer clients, enabling customers to upload files without any errors. + # Release (2022-05-17) ## General Highlights diff --git a/aws/go_module_metadata.go b/aws/go_module_metadata.go index 38b5470df85..4f24b157b7e 100644 --- a/aws/go_module_metadata.go +++ b/aws/go_module_metadata.go @@ -3,4 +3,4 @@ package aws // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.4" +const goModuleVersion = "1.16.5" diff --git a/aws/protocol/eventstream/CHANGELOG.md b/aws/protocol/eventstream/CHANGELOG.md index 46ff9e511dd..b0a1826baa4 100644 --- a/aws/protocol/eventstream/CHANGELOG.md +++ b/aws/protocol/eventstream/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.2 (2022-06-07) + +* No change notes available for this release. + # v1.4.1 (2022-03-24) * No change notes available for this release. diff --git a/aws/protocol/eventstream/go.mod b/aws/protocol/eventstream/go.mod index f577b789d31..75660b0ecb7 100644 --- a/aws/protocol/eventstream/go.mod +++ b/aws/protocol/eventstream/go.mod @@ -2,6 +2,6 @@ module github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream go 1.15 -require github.com/aws/smithy-go v1.11.2 +require github.com/aws/smithy-go v1.11.3 replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/aws/protocol/eventstream/go.sum b/aws/protocol/eventstream/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/aws/protocol/eventstream/go.sum +++ b/aws/protocol/eventstream/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/aws/protocol/eventstream/go_module_metadata.go b/aws/protocol/eventstream/go_module_metadata.go index bdf01173fdb..7121c6e6dc3 100644 --- a/aws/protocol/eventstream/go_module_metadata.go +++ b/aws/protocol/eventstream/go_module_metadata.go @@ -3,4 +3,4 @@ package eventstream // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.1" +const goModuleVersion = "1.4.2" diff --git a/codegen/go.mod b/codegen/go.mod new file mode 100644 index 00000000000..e554d467480 --- /dev/null +++ b/codegen/go.mod @@ -0,0 +1,3 @@ +module github.com/aws/aws-sdk-go-v2/codegen + +go 1.15 diff --git a/codegen/sdk-codegen/aws-models/api-gateway.json b/codegen/sdk-codegen/aws-models/api-gateway.json index e592cf9407e..1838347a271 100644 --- a/codegen/sdk-codegen/aws-models/api-gateway.json +++ b/codegen/sdk-codegen/aws-models/api-gateway.json @@ -35,7 +35,7 @@ "format": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

" + "smithy.api#documentation": "

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

" } }, "destinationArn": { @@ -55,13 +55,13 @@ "cloudwatchRoleArn": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The ARN of an Amazon CloudWatch role for the current Account.

" + "smithy.api#documentation": "

The ARN of an Amazon CloudWatch role for the current Account.

" } }, "throttleSettings": { "target": "com.amazonaws.apigateway#ThrottleSettings", "traits": { - "smithy.api#documentation": "

Specifies the API request limits configured for the current Account.

" + "smithy.api#documentation": "

Specifies the API request limits configured for the current Account.

" } }, "features": { @@ -78,7 +78,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents an AWS account that is associated with API Gateway.

\n
\n

To view the account info, call GET on this resource.

\n

Error Codes

\n

The following exception may be thrown when the request fails.

\n \n

For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes

\n

Example: Get the information about an account.

\n
Request
\n
GET /account HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160531T184618Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}\n            
\n
Response
\n

The successful response returns a 200 OK status code and a payload similar to the following:

\n
{\n  \"_links\": {\n    \"curies\": {\n      \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html\",\n      \"name\": \"account\",\n      \"templated\": true\n    },\n    \"self\": {\n      \"href\": \"/account\"\n    },\n    \"account:update\": {\n      \"href\": \"/account\"\n    }\n  },\n  \"cloudwatchRoleArn\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n  \"throttleSettings\": {\n    \"rateLimit\": 500,\n    \"burstLimit\": 1000\n  }\n}\n            
\n

In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.

\n
\n
\n API Gateway Limits\n Developer Guide,\n AWS CLI\n
" + "smithy.api#documentation": "

Represents an AWS account that is associated with API Gateway.

" } }, "com.amazonaws.apigateway#ApiKey": { @@ -135,7 +135,7 @@ "stageKeys": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A list of Stage resources that are associated with the ApiKey resource.

" + "smithy.api#documentation": "

A list of Stage resources that are associated with the ApiKey resource.

" } }, "tags": { @@ -146,7 +146,7 @@ } }, "traits": { - "smithy.api#documentation": "

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

\n
\n Use API Keys\n
" + "smithy.api#documentation": "

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

" } }, "com.amazonaws.apigateway#ApiKeyIds": { @@ -155,7 +155,7 @@ "ids": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A list of all the ApiKey identifiers.

" + "smithy.api#documentation": "

A list of all the ApiKey identifiers.

" } }, "warnings": { @@ -166,7 +166,7 @@ } }, "traits": { - "smithy.api#documentation": "

The identifier of an ApiKey used in a UsagePlan.

" + "smithy.api#documentation": "

The identifier of an ApiKey used in a UsagePlan.

" } }, "com.amazonaws.apigateway#ApiKeySourceType": { @@ -209,7 +209,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of API keys as represented by an ApiKeys resource.

\n
\n Use API Keys\n
" + "smithy.api#documentation": "

Represents a collection of API keys as represented by an ApiKeys resource.

" } }, "com.amazonaws.apigateway#ApiKeysFormat": { @@ -261,7 +261,7 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the authorizer.

" + "smithy.api#documentation": "

The name of the authorizer.

" } }, "type": { @@ -273,7 +273,7 @@ "providerARNs": { "target": "com.amazonaws.apigateway#ListOfARNs", "traits": { - "smithy.api#documentation": "

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

" + "smithy.api#documentation": "

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

" } }, "authType": { @@ -297,7 +297,7 @@ "identitySource": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identity source for which authorization is requested.

" + "smithy.api#documentation": "

The identity source for which authorization is requested. For a TOKEN or\n COGNITO_USER_POOLS authorizer, this is required and specifies the request\n header mapping expression for the custom header holding the authorization token submitted by\n the client. For example, if the token header name is Auth, the header mapping expression is\n method.request.header.Auth. For the REQUEST authorizer, this is required when authorization\n caching is enabled. The value is a comma-separated string of one or more mapping expressions\n of the specified request parameters. For example, if an Auth header, a Name query string\n parameter are defined as identity sources, this value is method.request.header.Auth,\n method.request.querystring.Name. These parameters will be used to derive the authorization\n caching key and to perform runtime validation of the REQUEST authorizer by verifying all of\n the identity-related request parameters are present, not null and non-empty. Only when this is\n true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401\n Unauthorized response without calling the Lambda function. The valid value is a string of\n comma-separated mapping expressions of the specified request parameters. When the\n authorization caching is not enabled, this property is optional.

" } }, "identityValidationExpression": { @@ -314,7 +314,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

\n
\n Use Lambda Function as Authorizer\n Use Cognito User Pool as Authorizer\n
" + "smithy.api#documentation": "

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

" } }, "com.amazonaws.apigateway#AuthorizerType": { @@ -356,7 +356,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of Authorizer resources.

\n
\n Use Lambda Function as Authorizer\n Use Cognito User Pool as Authorizer\n
" + "smithy.api#documentation": "

Represents a collection of Authorizer resources.

" } }, "com.amazonaws.apigateway#BackplaneControlService": { @@ -765,7 +765,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The string identifier of the associated RestApi.

" + "smithy.api#documentation": "

The string identifier of the associated RestApi.

" } }, "stage": { @@ -776,7 +776,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the base path that callers of the API must provide as part of the URL after the domain name.

\n
A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.
\n
\n Use Custom Domain Names\n
" + "smithy.api#documentation": "

Represents the base path that callers of the API must provide as part of the URL after the domain name.

" } }, "com.amazonaws.apigateway#BasePathMappings": { @@ -798,7 +798,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of BasePathMapping resources.

\n
\n Use Custom Domain Names\n
" + "smithy.api#documentation": "

Represents a collection of BasePathMapping resources.

" } }, "com.amazonaws.apigateway#Blob": { @@ -810,7 +810,7 @@ "com.amazonaws.apigateway#CacheClusterSize": { "type": "string", "traits": { - "smithy.api#documentation": "

Returns the size of the CacheCluster.

", + "smithy.api#documentation": "

Returns the size of the CacheCluster.

", "smithy.api#enum": [ { "value": "0.5", @@ -850,7 +850,7 @@ "com.amazonaws.apigateway#CacheClusterStatus": { "type": "string", "traits": { - "smithy.api#documentation": "

Returns the status of the CacheCluster.

", + "smithy.api#documentation": "

Returns the status of the CacheCluster.

", "smithy.api#enum": [ { "value": "CREATE_IN_PROGRESS", @@ -948,7 +948,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

\n
Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.
\n
\n Use Client-Side Certificate\n
" + "smithy.api#documentation": "

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

" } }, "com.amazonaws.apigateway#ClientCertificates": { @@ -970,7 +970,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of ClientCertificate resources.

\n
\n Use Client-Side Certificate\n
" + "smithy.api#documentation": "

Represents a collection of ClientCertificate resources.

" } }, "com.amazonaws.apigateway#ConflictException": { @@ -1045,7 +1045,7 @@ } ], "traits": { - "smithy.api#documentation": "

Create an ApiKey resource.

\n
AWS CLI
", + "smithy.api#documentation": "

Create an ApiKey resource.

", "smithy.api#http": { "method": "POST", "uri": "/apikeys", @@ -1059,19 +1059,19 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The name of the ApiKey.

" + "smithy.api#documentation": "

The name of the ApiKey.

" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description of the ApiKey.

" + "smithy.api#documentation": "

The description of the ApiKey.

" } }, "enabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the ApiKey can be used by callers.

" + "smithy.api#documentation": "

Specifies whether the ApiKey can be used by callers.

" } }, "generateDistinctId": { @@ -1083,7 +1083,7 @@ "value": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

Specifies a value of the API key.

" + "smithy.api#documentation": "

Specifies a value of the API key.

" } }, "stageKeys": { @@ -1106,7 +1106,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request to create an ApiKey resource.

" + "smithy.api#documentation": "

Request to create an ApiKey resource.

" } }, "com.amazonaws.apigateway#CreateAuthorizer": { @@ -1138,7 +1138,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a new Authorizer resource to an existing RestApi resource.

\n
AWS CLI
", + "smithy.api#documentation": "

Adds a new Authorizer resource to an existing RestApi resource.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/authorizers", @@ -1152,7 +1152,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1160,21 +1160,21 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the authorizer.

", + "smithy.api#documentation": "

The name of the authorizer.

", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.apigateway#AuthorizerType", "traits": { - "smithy.api#documentation": "

[Required] The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

", + "smithy.api#documentation": "

The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

", "smithy.api#required": {} } }, "providerARNs": { "target": "com.amazonaws.apigateway#ListOfARNs", "traits": { - "smithy.api#documentation": "

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

" + "smithy.api#documentation": "

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

" } }, "authType": { @@ -1198,7 +1198,7 @@ "identitySource": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identity source for which authorization is requested.

" + "smithy.api#documentation": "

The identity source for which authorization is requested. For a TOKEN or\n COGNITO_USER_POOLS authorizer, this is required and specifies the request\n header mapping expression for the custom header holding the authorization token submitted by\n the client. For example, if the token header name is Auth, the header mapping\n expression is method.request.header.Auth. For the REQUEST\n authorizer, this is required when authorization caching is enabled. The value is a\n comma-separated string of one or more mapping expressions of the specified request parameters.\n For example, if an Auth header, a Name query string parameter are\n defined as identity sources, this value is method.request.header.Auth,\n method.request.querystring.Name. These parameters will be used to derive the\n authorization caching key and to perform runtime validation of the REQUEST\n authorizer by verifying all of the identity-related request parameters are present, not null\n and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda\n function, otherwise, it returns a 401 Unauthorized response without calling the Lambda\n function. The valid value is a string of comma-separated mapping expressions of the specified\n request parameters. When the authorization caching is not enabled, this property is\n optional.

" } }, "identityValidationExpression": { @@ -1215,7 +1215,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request to add a new Authorizer to an existing RestApi resource.

" + "smithy.api#documentation": "

Request to add a new Authorizer to an existing RestApi resource.

" } }, "com.amazonaws.apigateway#CreateBasePathMapping": { @@ -1247,7 +1247,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new BasePathMapping resource.

", + "smithy.api#documentation": "

Creates a new BasePathMapping resource.

", "smithy.api#http": { "method": "POST", "uri": "/domainnames/{domainName}/basepathmappings", @@ -1261,7 +1261,7 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The domain name of the BasePathMapping resource to create.

", + "smithy.api#documentation": "

The domain name of the BasePathMapping resource to create.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1275,7 +1275,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#required": {} } }, @@ -1287,7 +1287,7 @@ } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to create a new BasePathMapping resource.

" + "smithy.api#documentation": "

Requests API Gateway to create a new BasePathMapping resource.

" } }, "com.amazonaws.apigateway#CreateDeployment": { @@ -1322,7 +1322,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Deployment resource, which makes a specified RestApi callable over the internet.

", + "smithy.api#documentation": "

Creates a Deployment resource, which makes a specified RestApi callable over the internet.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/deployments", @@ -1336,7 +1336,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1344,37 +1344,37 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The name of the Stage resource for the Deployment resource to create.

" + "smithy.api#documentation": "

The name of the Stage resource for the Deployment resource to create.

" } }, "stageDescription": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description of the Stage resource for the Deployment resource to create.

" + "smithy.api#documentation": "

The description of the Stage resource for the Deployment resource to create.

" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description for the Deployment resource to create.

" + "smithy.api#documentation": "

The description for the Deployment resource to create.

" } }, "cacheClusterEnabled": { "target": "com.amazonaws.apigateway#NullableBoolean", "traits": { - "smithy.api#documentation": "

Enables a cache cluster for the Stage resource specified in the input.

" + "smithy.api#documentation": "

Enables a cache cluster for the Stage resource specified in the input.

" } }, "cacheClusterSize": { "target": "com.amazonaws.apigateway#CacheClusterSize", "traits": { - "smithy.api#documentation": "

Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.

" + "smithy.api#documentation": "

Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.

" } }, "variables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A map that defines the stage variables for the Stage resource that is associated\n with the new deployment. Variable names can have alphanumeric and underscore characters, and the values\n must match [A-Za-z0-9-._~:/?#&=,]+.

" + "smithy.api#documentation": "

A map that defines the stage variables for the Stage resource that is associated\n with the new deployment. Variable names can have alphanumeric and underscore characters, and the values\n must match [A-Za-z0-9-._~:/?#&=,]+.

" } }, "canarySettings": { @@ -1386,12 +1386,12 @@ "tracingEnabled": { "target": "com.amazonaws.apigateway#NullableBoolean", "traits": { - "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" + "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to create a Deployment resource.

" + "smithy.api#documentation": "

Requests API Gateway to create a Deployment resource.

" } }, "com.amazonaws.apigateway#CreateDocumentationPart": { @@ -1423,6 +1423,7 @@ } ], "traits": { + "smithy.api#documentation": "

Creates a documentation part.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/documentation/parts", @@ -1436,7 +1437,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1444,14 +1445,14 @@ "location": { "target": "com.amazonaws.apigateway#DocumentationPartLocation", "traits": { - "smithy.api#documentation": "

[Required] The location of the targeted API entity of the to-be-created documentation part.

", + "smithy.api#documentation": "

The location of the targeted API entity of the to-be-created documentation part.

", "smithy.api#required": {} } }, "properties": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.

", + "smithy.api#documentation": "

The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.

", "smithy.api#required": {} } } @@ -1489,6 +1490,7 @@ } ], "traits": { + "smithy.api#documentation": "

Creates a documentation version

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/documentation/versions", @@ -1502,7 +1504,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1510,7 +1512,7 @@ "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The version identifier of the new snapshot.

", + "smithy.api#documentation": "

The version identifier of the new snapshot.

", "smithy.api#required": {} } }, @@ -1571,7 +1573,7 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the DomainName resource.

", + "smithy.api#documentation": "

The name of the DomainName resource.

", "smithy.api#required": {} } }, @@ -1620,7 +1622,7 @@ "endpointConfiguration": { "target": "com.amazonaws.apigateway#EndpointConfiguration", "traits": { - "smithy.api#documentation": "

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

" + "smithy.api#documentation": "

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

" } }, "tags": { @@ -1632,7 +1634,7 @@ "securityPolicy": { "target": "com.amazonaws.apigateway#SecurityPolicy", "traits": { - "smithy.api#documentation": "

The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

" + "smithy.api#documentation": "

The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

" } }, "mutualTlsAuthentication": { @@ -1641,7 +1643,7 @@ "ownershipVerificationCertificateArn": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

" + "smithy.api#documentation": "

The ARN of the public certificate issued by ACM to validate ownership of your custom\n domain. Only required when configuring mutual TLS and using an ACM imported or private CA\n certificate ARN as the regionalCertificateArn.

" } } }, @@ -1678,7 +1680,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a new Model resource to an existing RestApi resource.

", + "smithy.api#documentation": "

Adds a new Model resource to an existing RestApi resource.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/models", @@ -1692,7 +1694,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The RestApi identifier under which the Model will be created.

", + "smithy.api#documentation": "

The RestApi identifier under which the Model will be created.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1700,7 +1702,7 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the model. Must be alphanumeric.

", + "smithy.api#documentation": "

The name of the model. Must be alphanumeric.

", "smithy.api#required": {} } }, @@ -1713,19 +1715,19 @@ "schema": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The schema for the model. For application/json models, this should be JSON schema draft 4 model.

" + "smithy.api#documentation": "

The schema for the model. For application/json models, this should be JSON schema draft 4 model.

" } }, "contentType": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The content-type for the model.

", + "smithy.api#documentation": "

The content-type for the model.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to add a new Model to an existing RestApi resource.

" + "smithy.api#documentation": "

Request to add a new Model to an existing RestApi resource.

" } }, "com.amazonaws.apigateway#CreateRequestValidator": { @@ -1757,7 +1759,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a ReqeustValidator of a given RestApi.

", + "smithy.api#documentation": "

Creates a RequestValidator of a given RestApi.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/requestvalidators", @@ -1771,7 +1773,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1779,7 +1781,7 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The name of the to-be-created RequestValidator.

" + "smithy.api#documentation": "

The name of the to-be-created RequestValidator.

" } }, "validateRequestBody": { @@ -1796,7 +1798,7 @@ } }, "traits": { - "smithy.api#documentation": "

Creates a RequestValidator of a given RestApi.

" + "smithy.api#documentation": "

Creates a RequestValidator of a given RestApi.

" } }, "com.amazonaws.apigateway#CreateResource": { @@ -1828,7 +1830,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Resource resource.

", + "smithy.api#documentation": "

Creates a Resource resource.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/resources/{parentId}", @@ -1842,7 +1844,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1850,7 +1852,7 @@ "parentId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The parent resource's identifier.

", + "smithy.api#documentation": "

The parent resource's identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1864,7 +1866,7 @@ } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to create a Resource resource.

" + "smithy.api#documentation": "

Requests API Gateway to create a Resource resource.

" } }, "com.amazonaws.apigateway#CreateRestApi": { @@ -1893,7 +1895,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new RestApi resource.

", + "smithy.api#documentation": "

Creates a new RestApi resource.

", "smithy.api#http": { "method": "POST", "uri": "/restapis", @@ -1907,14 +1909,14 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the RestApi.

", + "smithy.api#documentation": "

The name of the RestApi.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description of the RestApi.

" + "smithy.api#documentation": "

The description of the RestApi.

" } }, "version": { @@ -1926,13 +1928,13 @@ "cloneFrom": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The ID of the RestApi that you want to clone from.

" + "smithy.api#documentation": "

The ID of the RestApi that you want to clone from.

" } }, "binaryMediaTypes": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

" + "smithy.api#documentation": "

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

" } }, "minimumCompressionSize": { @@ -1944,19 +1946,19 @@ "apiKeySource": { "target": "com.amazonaws.apigateway#ApiKeySourceType", "traits": { - "smithy.api#documentation": "

The source of the API key for metering requests according to a usage plan. Valid values are:

" + "smithy.api#documentation": "

The source of the API key for metering requests according to a usage plan. Valid values\n are: >HEADER to read the API key from the X-API-Key header of a\n request. AUTHORIZER to read the API key from the UsageIdentifierKey\n from a custom authorizer.

" } }, "endpointConfiguration": { "target": "com.amazonaws.apigateway#EndpointConfiguration", "traits": { - "smithy.api#documentation": "

The endpoint configuration of this RestApi showing the endpoint types of the API.

" + "smithy.api#documentation": "

The endpoint configuration of this RestApi showing the endpoint types of the API.

" } }, "policy": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration." + "smithy.api#documentation": "

A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

" } }, "tags": { @@ -1968,12 +1970,12 @@ "disableExecuteApiEndpoint": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

" + "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint.\n By default, clients can invoke your API with the default\n https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a\n custom domain name to invoke your API, disable the default endpoint

" } } }, "traits": { - "smithy.api#documentation": "

The POST Request to add a new RestApi resource to your collection.

" + "smithy.api#documentation": "

The POST Request to add a new RestApi resource to your collection.

" } }, "com.amazonaws.apigateway#CreateStage": { @@ -2005,7 +2007,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Stage resource that references a pre-existing Deployment for the API.

\n ", + "smithy.api#documentation": "

Creates a new Stage resource that references a pre-existing Deployment for the API.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/stages", @@ -2019,7 +2021,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2027,21 +2029,21 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

", + "smithy.api#documentation": "

The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

", "smithy.api#required": {} } }, "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Deployment resource for the Stage resource.

", + "smithy.api#documentation": "

The identifier of the Deployment resource for the Stage resource.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description of the Stage resource.

" + "smithy.api#documentation": "

The description of the Stage resource.

" } }, "cacheClusterEnabled": { @@ -2059,7 +2061,7 @@ "variables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A map that defines the stage variables for the new Stage resource. Variable names\n can have alphanumeric and underscore characters, and the values must match\n [A-Za-z0-9-._~:/?#&=,]+.

" + "smithy.api#documentation": "

A map that defines the stage variables for the new Stage resource. Variable names\n can have alphanumeric and underscore characters, and the values must match\n [A-Za-z0-9-._~:/?#&=,]+.

" } }, "documentationVersion": { @@ -2077,7 +2079,7 @@ "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" + "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" } }, "tags": { @@ -2088,7 +2090,7 @@ } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to create a Stage resource.

" + "smithy.api#documentation": "

Requests API Gateway to create a Stage resource.

" } }, "com.amazonaws.apigateway#CreateUsagePlan": { @@ -2171,7 +2173,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.

", + "smithy.api#documentation": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2179,14 +2181,14 @@ "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of a UsagePlanKey resource for a plan customer.

", + "smithy.api#documentation": "

The identifier of a UsagePlanKey resource for a plan customer.

", "smithy.api#required": {} } }, "keyType": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The type of a UsagePlanKey resource for a plan customer.

", + "smithy.api#documentation": "

The type of a UsagePlanKey resource for a plan customer.

", "smithy.api#required": {} } } @@ -2201,7 +2203,7 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the usage plan.

", + "smithy.api#documentation": "

The name of the usage plan.

", "smithy.api#required": {} } }, @@ -2280,7 +2282,7 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name used to label and identify the VPC link.

", + "smithy.api#documentation": "

The name used to label and identify the VPC link.

", "smithy.api#required": {} } }, @@ -2293,7 +2295,7 @@ "targetArns": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

[Required] The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

", + "smithy.api#documentation": "

The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

", "smithy.api#required": {} } }, @@ -2313,6 +2315,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteApiKeyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2331,7 +2336,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the ApiKey resource.

", + "smithy.api#documentation": "

Deletes the ApiKey resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/apikeys/{apiKey}", @@ -2345,14 +2350,14 @@ "apiKey": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the ApiKey resource to be deleted.

", + "smithy.api#documentation": "

The identifier of the ApiKey resource to be deleted.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A request to delete the ApiKey resource.

" + "smithy.api#documentation": "

A request to delete the ApiKey resource.

" } }, "com.amazonaws.apigateway#DeleteAuthorizer": { @@ -2360,6 +2365,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteAuthorizerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2378,7 +2386,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an existing Authorizer resource.

\n
AWS CLI
", + "smithy.api#documentation": "

Deletes an existing Authorizer resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", @@ -2392,7 +2400,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2400,14 +2408,14 @@ "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Authorizer resource.

", + "smithy.api#documentation": "

The identifier of the Authorizer resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to delete an existing Authorizer resource.

" + "smithy.api#documentation": "

Request to delete an existing Authorizer resource.

" } }, "com.amazonaws.apigateway#DeleteBasePathMapping": { @@ -2415,6 +2423,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteBasePathMappingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2433,7 +2444,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the BasePathMapping resource.

", + "smithy.api#documentation": "

Deletes the BasePathMapping resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", @@ -2447,7 +2458,7 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The domain name of the BasePathMapping resource to delete.

", + "smithy.api#documentation": "

The domain name of the BasePathMapping resource to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2455,14 +2466,14 @@ "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The base path name of the BasePathMapping resource to delete.

\n

To specify an empty base path, set this parameter to '(none)'.

", + "smithy.api#documentation": "

The base path name of the BasePathMapping resource to delete.

\n

To specify an empty base path, set this parameter to '(none)'.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A request to delete the BasePathMapping resource.

" + "smithy.api#documentation": "

A request to delete the BasePathMapping resource.

" } }, "com.amazonaws.apigateway#DeleteClientCertificate": { @@ -2470,6 +2481,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteClientCertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2488,7 +2502,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the ClientCertificate resource.

", + "smithy.api#documentation": "

Deletes the ClientCertificate resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/clientcertificates/{clientCertificateId}", @@ -2502,14 +2516,14 @@ "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the ClientCertificate resource to be deleted.

", + "smithy.api#documentation": "

The identifier of the ClientCertificate resource to be deleted.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A request to delete the ClientCertificate resource.

" + "smithy.api#documentation": "

A request to delete the ClientCertificate resource.

" } }, "com.amazonaws.apigateway#DeleteDeployment": { @@ -2517,6 +2531,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteDeploymentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2538,7 +2555,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

", + "smithy.api#documentation": "

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/deployments/{deploymentId}", @@ -2552,7 +2569,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2560,14 +2577,14 @@ "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Deployment resource to delete.

", + "smithy.api#documentation": "

The identifier of the Deployment resource to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to delete a Deployment resource.

" + "smithy.api#documentation": "

Requests API Gateway to delete a Deployment resource.

" } }, "com.amazonaws.apigateway#DeleteDocumentationPart": { @@ -2575,6 +2592,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteDocumentationPartRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2593,6 +2613,7 @@ } ], "traits": { + "smithy.api#documentation": "

Deletes a documentation part

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", @@ -2606,7 +2627,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2614,7 +2635,7 @@ "documentationPartId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the to-be-deleted documentation part.

", + "smithy.api#documentation": "

The identifier of the to-be-deleted documentation part.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2629,6 +2650,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteDocumentationVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2647,6 +2671,7 @@ } ], "traits": { + "smithy.api#documentation": "

Deletes a documentation version.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", @@ -2660,7 +2685,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2668,7 +2693,7 @@ "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The version identifier of a to-be-deleted documentation snapshot.

", + "smithy.api#documentation": "

The version identifier of a to-be-deleted documentation snapshot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2683,6 +2708,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteDomainNameRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2701,7 +2729,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the DomainName resource.

", + "smithy.api#documentation": "

Deletes the DomainName resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/domainnames/{domainName}", @@ -2715,14 +2743,14 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the DomainName resource to be deleted.

", + "smithy.api#documentation": "

The name of the DomainName resource to be deleted.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A request to delete the DomainName resource.

" + "smithy.api#documentation": "

A request to delete the DomainName resource.

" } }, "com.amazonaws.apigateway#DeleteGatewayResponse": { @@ -2730,6 +2758,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteGatewayResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2748,7 +2779,7 @@ } ], "traits": { - "smithy.api#documentation": "

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

", + "smithy.api#documentation": "

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", @@ -2762,7 +2793,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2770,14 +2801,14 @@ "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { - "smithy.api#documentation": "

[Required]

The response type of the associated GatewayResponse.

", + "smithy.api#documentation": "

The response type of the associated GatewayResponse.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

" + "smithy.api#documentation": "

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

" } }, "com.amazonaws.apigateway#DeleteIntegration": { @@ -2785,6 +2816,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteIntegrationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2817,7 +2851,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2825,7 +2859,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a delete integration request's resource identifier.

", + "smithy.api#documentation": "

Specifies a delete integration request's resource identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2833,7 +2867,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a delete integration request's HTTP method.

", + "smithy.api#documentation": "

Specifies a delete integration request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2848,6 +2882,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteIntegrationResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2880,7 +2917,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2888,7 +2925,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a delete integration response request's resource identifier.

", + "smithy.api#documentation": "

Specifies a delete integration response request's resource identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2896,7 +2933,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a delete integration response request's HTTP method.

", + "smithy.api#documentation": "

Specifies a delete integration response request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2904,7 +2941,7 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] Specifies a delete integration response request's status code.

", + "smithy.api#documentation": "

Specifies a delete integration response request's status code.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2919,6 +2956,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteMethodRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#ConflictException" @@ -2934,7 +2974,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an existing Method resource.

", + "smithy.api#documentation": "

Deletes an existing Method resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", @@ -2948,7 +2988,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2956,7 +2996,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the Method resource.

", + "smithy.api#documentation": "

The Resource identifier for the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2964,14 +3004,14 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The HTTP verb of the Method resource.

", + "smithy.api#documentation": "

The HTTP verb of the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to delete an existing Method resource.

" + "smithy.api#documentation": "

Request to delete an existing Method resource.

" } }, "com.amazonaws.apigateway#DeleteMethodResponse": { @@ -2979,6 +3019,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteMethodResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -2997,7 +3040,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an existing MethodResponse resource.

", + "smithy.api#documentation": "

Deletes an existing MethodResponse resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", @@ -3011,7 +3054,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3019,7 +3062,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the MethodResponse resource.

", + "smithy.api#documentation": "

The Resource identifier for the MethodResponse resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3027,7 +3070,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The HTTP verb of the Method resource.

", + "smithy.api#documentation": "

The HTTP verb of the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3035,14 +3078,14 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] The status code identifier for the MethodResponse resource.

", + "smithy.api#documentation": "

The status code identifier for the MethodResponse resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A request to delete an existing MethodResponse resource.

" + "smithy.api#documentation": "

A request to delete an existing MethodResponse resource.

" } }, "com.amazonaws.apigateway#DeleteModel": { @@ -3050,6 +3093,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteModelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3082,7 +3128,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3090,14 +3136,14 @@ "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the model to delete.

", + "smithy.api#documentation": "

The name of the model to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to delete an existing model in an existing RestApi resource.

" + "smithy.api#documentation": "

Request to delete an existing model in an existing RestApi resource.

" } }, "com.amazonaws.apigateway#DeleteRequestValidator": { @@ -3105,6 +3151,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteRequestValidatorRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3123,7 +3172,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a RequestValidator of a given RestApi.

", + "smithy.api#documentation": "

Deletes a RequestValidator of a given RestApi.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", @@ -3137,7 +3186,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3145,14 +3194,14 @@ "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the RequestValidator to be deleted.

", + "smithy.api#documentation": "

The identifier of the RequestValidator to be deleted.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Deletes a specified RequestValidator of a given RestApi.

" + "smithy.api#documentation": "

Deletes a specified RequestValidator of a given RestApi.

" } }, "com.amazonaws.apigateway#DeleteResource": { @@ -3160,6 +3209,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3178,7 +3230,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a Resource resource.

", + "smithy.api#documentation": "

Deletes a Resource resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/resources/{resourceId}", @@ -3192,7 +3244,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3200,14 +3252,14 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Resource resource.

", + "smithy.api#documentation": "

The identifier of the Resource resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to delete a Resource.

" + "smithy.api#documentation": "

Request to delete a Resource.

" } }, "com.amazonaws.apigateway#DeleteRestApi": { @@ -3215,6 +3267,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteRestApiRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3247,7 +3302,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3262,6 +3317,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteStageRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3283,7 +3341,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a Stage resource.

", + "smithy.api#documentation": "

Deletes a Stage resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/restapis/{restApiId}/stages/{stageName}", @@ -3297,7 +3355,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3305,14 +3363,14 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the Stage resource to delete.

", + "smithy.api#documentation": "

The name of the Stage resource to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to delete a Stage resource.

" + "smithy.api#documentation": "

Requests API Gateway to delete a Stage resource.

" } }, "com.amazonaws.apigateway#DeleteUsagePlan": { @@ -3320,6 +3378,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteUsagePlanRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3351,6 +3412,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteUsagePlanKeyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3383,7 +3447,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

", + "smithy.api#documentation": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3391,7 +3455,7 @@ "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the UsagePlanKey resource to be deleted.

", + "smithy.api#documentation": "

The Id of the UsagePlanKey resource to be deleted.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3407,7 +3471,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the to-be-deleted usage plan.

", + "smithy.api#documentation": "

The Id of the to-be-deleted usage plan.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3422,6 +3486,9 @@ "input": { "target": "com.amazonaws.apigateway#DeleteVpcLinkRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -3440,7 +3507,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an existing VpcLink of a specified identifier.

", + "smithy.api#documentation": "

Deletes an existing VpcLink of a specified identifier.

", "smithy.api#http": { "method": "DELETE", "uri": "/vpclinks/{vpcLinkId}", @@ -3454,14 +3521,14 @@ "vpcLinkId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", + "smithy.api#documentation": "

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Deletes an existing VpcLink of a specified identifier.

" + "smithy.api#documentation": "

Deletes an existing VpcLink of a specified identifier.

" } }, "com.amazonaws.apigateway#Deployment": { @@ -3488,12 +3555,12 @@ "apiSummary": { "target": "com.amazonaws.apigateway#PathToMapOfMethodSnapshot", "traits": { - "smithy.api#documentation": "

A summary of the RestApi at the date and time that the deployment resource was created.

" + "smithy.api#documentation": "

A summary of the RestApi at the date and time that the deployment resource was created.

" } } }, "traits": { - "smithy.api#documentation": "

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

\n
To create a deployment, call POST on the Deployments resource of a RestApi.\n To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).
\n
RestApi, Deployments, Stage,\n AWS CLI,\n AWS SDKs\n
" + "smithy.api#documentation": "

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

" } }, "com.amazonaws.apigateway#DeploymentCanarySettings": { @@ -3541,7 +3608,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.

\n
To create a new deployment of a RestApi, make a POST request against this resource. To view, update, or delete an existing\n deployment, make a GET, PATCH, or DELETE request, respectively, on a specified Deployment resource.
\n
\n Deploying an API,\n AWS CLI,\n AWS SDKs\n
" + "smithy.api#documentation": "

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.

" } }, "com.amazonaws.apigateway#DocumentationPart": { @@ -3550,7 +3617,7 @@ "id": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

" + "smithy.api#documentation": "

The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

" } }, "location": { @@ -3562,12 +3629,12 @@ "properties": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., \"{ \\\"description\\\": \\\"The API does ...\\\" }\". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

" + "smithy.api#documentation": "

A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., \"{ \\\"description\\\": \\\"The API does ...\\\" }\". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

" } } }, "traits": { - "smithy.api#documentation": "

A documentation part for a targeted API entity.

\n
\n

A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required.

\n

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.

\n
\n Documenting an API, DocumentationParts\n
" + "smithy.api#documentation": "

A documentation part for a targeted API entity.

" } }, "com.amazonaws.apigateway#DocumentationPartIds": { @@ -3587,7 +3654,7 @@ } }, "traits": { - "smithy.api#documentation": "

A collection of the imported DocumentationPart identifiers.

\n
This is used to return the result when documentation parts in an external (e.g., OpenAPI) file are imported into API Gateway
\n
\n Documenting an API, documentationpart:import, DocumentationPart\n
" + "smithy.api#documentation": "

A collection of the imported DocumentationPart identifiers.

" } }, "com.amazonaws.apigateway#DocumentationPartLocation": { @@ -3596,7 +3663,7 @@ "type": { "target": "com.amazonaws.apigateway#DocumentationPartType", "traits": { - "smithy.api#documentation": "

[Required] The type of API entity to which the documentation content applies. Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

", + "smithy.api#documentation": "

The type of API entity to which the documentation content applies. Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

", "smithy.api#required": {} } }, @@ -3709,7 +3776,7 @@ } }, "traits": { - "smithy.api#documentation": "

The collection of documentation parts of an API.

\n
\n
\n Documenting an API, DocumentationPart\n
" + "smithy.api#documentation": "

The collection of documentation parts of an API.

" } }, "com.amazonaws.apigateway#DocumentationVersion": { @@ -3735,7 +3802,7 @@ } }, "traits": { - "smithy.api#documentation": "

A snapshot of the documentation of an API.

\n

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., OpenAPI) file.

\n
\n Documenting an API, DocumentationPart, DocumentationVersions\n
" + "smithy.api#documentation": "

A snapshot of the documentation of an API.

" } }, "com.amazonaws.apigateway#DocumentationVersions": { @@ -3757,7 +3824,7 @@ } }, "traits": { - "smithy.api#documentation": "

The collection of documentation snapshots of an API.

\n

Use the DocumentationVersions to manage documentation snapshots associated with various API stages.

\n
\n Documenting an API, DocumentationPart, DocumentationVersion\n
" + "smithy.api#documentation": "

The collection of documentation snapshots of an API.

" } }, "com.amazonaws.apigateway#DomainName": { @@ -3796,7 +3863,7 @@ "regionalHostedZoneId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

" + "smithy.api#documentation": "

The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

" } }, "regionalCertificateName": { @@ -3814,37 +3881,37 @@ "distributionDomainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

" + "smithy.api#documentation": "

The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

" } }, "distributionHostedZoneId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

" + "smithy.api#documentation": "

The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

" } }, "endpointConfiguration": { "target": "com.amazonaws.apigateway#EndpointConfiguration", "traits": { - "smithy.api#documentation": "

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

" + "smithy.api#documentation": "

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

" } }, "domainNameStatus": { "target": "com.amazonaws.apigateway#DomainNameStatus", "traits": { - "smithy.api#documentation": "

The status of the DomainName migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

" + "smithy.api#documentation": "

The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

" } }, "domainNameStatusMessage": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

An optional text message containing detailed information about status of the DomainName migration.

" + "smithy.api#documentation": "

An optional text message containing detailed information about status of the DomainName migration.

" } }, "securityPolicy": { "target": "com.amazonaws.apigateway#SecurityPolicy", "traits": { - "smithy.api#documentation": "

The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

" + "smithy.api#documentation": "

The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

" } }, "tags": { @@ -3856,18 +3923,18 @@ "mutualTlsAuthentication": { "target": "com.amazonaws.apigateway#MutualTlsAuthentication", "traits": { - "smithy.api#documentation": "

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

" + "smithy.api#documentation": "

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway\n performs two-way authentication between the client and the server. Clients must present a\n trusted certificate to access your API.

" } }, "ownershipVerificationCertificateArn": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

" + "smithy.api#documentation": "

The ARN of the public certificate issued by ACM to validate ownership of your custom\n domain. Only required when configuring mutual TLS and using an ACM imported or private CA\n certificate ARN as the regionalCertificateArn.

" } } }, "traits": { - "smithy.api#documentation": "

Represents a custom domain name as a user-friendly host name of an API (RestApi).

\n
\n

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.\n

\n
\n
\n Set a Custom Host Name for an API\n
" + "smithy.api#documentation": "

Represents a custom domain name as a user-friendly host name of an API (RestApi).

" } }, "com.amazonaws.apigateway#DomainNameStatus": { @@ -3916,7 +3983,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of DomainName resources.

\n
\n Use Client-Side Certificate\n
" + "smithy.api#documentation": "

Represents a collection of DomainName resources.

" } }, "com.amazonaws.apigateway#Double": { @@ -3928,18 +3995,18 @@ "types": { "target": "com.amazonaws.apigateway#ListOfEndpointType", "traits": { - "smithy.api#documentation": "

A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is \"EDGE\". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

" + "smithy.api#documentation": "

A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is \"EDGE\". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

" } }, "vpcEndpointIds": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

" + "smithy.api#documentation": "

A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

" } } }, "traits": { - "smithy.api#documentation": "

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

" + "smithy.api#documentation": "

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

" } }, "com.amazonaws.apigateway#EndpointType": { @@ -3982,13 +4049,13 @@ "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { - "smithy.api#documentation": "

The binary blob response to GetExport, which contains the export.

", + "smithy.api#documentation": "

The binary blob response to GetExport, which contains the export.

", "smithy.api#httpPayload": {} } } }, "traits": { - "smithy.api#documentation": "

The binary blob response to GetExport, which contains the generated SDK.

" + "smithy.api#documentation": "

The binary blob response to GetExport, which contains the generated SDK.

" } }, "com.amazonaws.apigateway#FlushStageAuthorizersCache": { @@ -3996,6 +4063,9 @@ "input": { "target": "com.amazonaws.apigateway#FlushStageAuthorizersCacheRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -4031,7 +4101,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4054,6 +4124,9 @@ "input": { "target": "com.amazonaws.apigateway#FlushStageCacheRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -4089,7 +4162,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4097,7 +4170,7 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the stage to flush its cache.

", + "smithy.api#documentation": "

The name of the stage to flush its cache.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4113,36 +4186,36 @@ "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { - "smithy.api#documentation": "

The response type of the associated GatewayResponse.

" + "smithy.api#documentation": "

The response type of the associated GatewayResponse.

" } }, "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

The HTTP status code for this GatewayResponse.

" + "smithy.api#documentation": "

The HTTP status code for this GatewayResponse.

" } }, "responseParameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

" + "smithy.api#documentation": "

Response parameters (paths, query strings and headers) of the GatewayResponse as a\n string-to-string map of key-value pairs.

" } }, "responseTemplates": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" + "smithy.api#documentation": "

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" } }, "defaultResponse": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

" + "smithy.api#documentation": "

A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

" } } }, "traits": { - "smithy.api#documentation": "

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

\n
\n For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway\n
\n

Example: Get a Gateway Response of a given response type

\n
Request
\n

This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type.

\n
GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1\nHost: beta-apigateway.us-east-1.amazonaws.com\nContent-Type: application/json\nX-Amz-Date: 20170503T202516Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a\nCache-Control: no-cache\nPostman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45\n
\n

The response type is specified as a URL path.

\n
Response
\n

The successful operation returns the 200 OK status code and a payload similar to the following:

\n
{\n  \"_links\": {\n    \"curies\": {\n      \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\",\n      \"name\": \"gatewayresponse\",\n      \"templated\": true\n    },\n    \"self\": {\n      \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n    },\n    \"gatewayresponse:delete\": {\n      \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n    },\n    \"gatewayresponse:put\": {\n      \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n      \"templated\": true\n    },\n    \"gatewayresponse:update\": {\n      \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n    }\n  },\n  \"defaultResponse\": false,\n  \"responseParameters\": {\n    \"gatewayresponse.header.x-request-path\": \"method.request.path.petId\",\n    \"gatewayresponse.header.Access-Control-Allow-Origin\": \"'a.b.c'\",\n    \"gatewayresponse.header.x-request-query\": \"method.request.querystring.q\",\n    \"gatewayresponse.header.x-request-header\": \"method.request.header.Accept\"\n  },\n  \"responseTemplates\": {\n    \"application/json\": \"{\\n     \\\"message\\\": $context.error.messageString,\\n     \\\"type\\\":  \\\"$context.error.responseType\\\",\\n     \\\"stage\\\":  \\\"$context.stage\\\",\\n     \\\"resourcePath\\\":  \\\"$context.resourcePath\\\",\\n     \\\"stageVariables.a\\\":  \\\"$stageVariables.a\\\",\\n     \\\"statusCode\\\": \\\"'404'\\\"\\n}\"\n  },\n  \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\",\n  \"statusCode\": \"404\"\n}
\n

\n
\n
\n
\n Customize Gateway Responses\n
" + "smithy.api#documentation": "

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

" } }, "com.amazonaws.apigateway#GatewayResponseType": { @@ -4249,13 +4322,13 @@ "position": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

", + "smithy.api#documentation": "

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

", "smithy.api#httpQuery": "position" } } }, "traits": { - "smithy.api#documentation": "

The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.

\n
\n For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway\n
\n

Example: Get the collection of gateway responses of an API

\n
Request
\n

This example request shows how to retrieve the GatewayResponses collection from an API.

\n
GET /restapis/o81lxisefl/gatewayresponses HTTP/1.1\nHost: beta-apigateway.us-east-1.amazonaws.com\nContent-Type: application/json\nX-Amz-Date: 20170503T220604Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a\nCache-Control: no-cache\nPostman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515\n
\n

\n
Response
\n

The successful operation returns the 200 OK status code and a payload similar to the following:

\n
{\n  \"_links\": {\n    \"curies\": {\n      \"href\": \"http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html\",\n      \"name\": \"gatewayresponse\",\n      \"templated\": true\n    },\n    \"self\": {\n      \"href\": \"/restapis/o81lxisefl/gatewayresponses\"\n    },\n    \"first\": {\n      \"href\": \"/restapis/o81lxisefl/gatewayresponses\"\n    },\n    \"gatewayresponse:by-type\": {\n      \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n      \"templated\": true\n    },\n    \"item\": [\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\"\n      },\n      {\n        \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\"\n      }\n    ]\n  },\n  \"_embedded\": {\n    \"item\": [\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"INTEGRATION_FAILURE\",\n        \"statusCode\": \"504\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"RESOURCE_NOT_FOUND\",\n        \"statusCode\": \"404\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"REQUEST_TOO_LARGE\",\n        \"statusCode\": \"413\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/THROTTLED\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"THROTTLED\",\n        \"statusCode\": \"429\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"UNSUPPORTED_MEDIA_TYPE\",\n        \"statusCode\": \"415\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"AUTHORIZER_CONFIGURATION_ERROR\",\n        \"statusCode\": \"500\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"DEFAULT_5XX\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"DEFAULT_4XX\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"BAD_REQUEST_PARAMETERS\",\n        \"statusCode\": \"400\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"BAD_REQUEST_BODY\",\n        \"statusCode\": \"400\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"EXPIRED_TOKEN\",\n        \"statusCode\": \"403\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"ACCESS_DENIED\",\n        \"statusCode\": \"403\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"INVALID_API_KEY\",\n        \"statusCode\": \"403\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"UNAUTHORIZED\",\n        \"statusCode\": \"401\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"API_CONFIGURATION_ERROR\",\n        \"statusCode\": \"500\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"QUOTA_EXCEEDED\",\n        \"statusCode\": \"429\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"INTEGRATION_TIMEOUT\",\n        \"statusCode\": \"504\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"MISSING_AUTHENTICATION_TOKEN\",\n        \"statusCode\": \"403\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"INVALID_SIGNATURE\",\n        \"statusCode\": \"403\"\n      },\n      {\n        \"_links\": {\n          \"self\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\"\n          },\n          \"gatewayresponse:put\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/{response_type}\",\n            \"templated\": true\n          },\n          \"gatewayresponse:update\": {\n            \"href\": \"/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE\"\n          }\n        },\n        \"defaultResponse\": true,\n        \"responseParameters\": {},\n        \"responseTemplates\": {\n          \"application/json\": \"{\\\"message\\\":$context.error.messageString}\"\n        },\n        \"responseType\": \"AUTHORIZER_FAILURE\",\n        \"statusCode\": \"500\"\n      }\n    ]\n  }\n}
\n

\n
\n
\n
\n Customize Gateway Responses\n
" + "smithy.api#documentation": "

The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.

" } }, "com.amazonaws.apigateway#GenerateClientCertificate": { @@ -4284,7 +4357,7 @@ } ], "traits": { - "smithy.api#documentation": "

Generates a ClientCertificate resource.

", + "smithy.api#documentation": "

Generates a ClientCertificate resource.

", "smithy.api#http": { "method": "POST", "uri": "/clientcertificates", @@ -4298,7 +4371,7 @@ "description": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description of the ClientCertificate.

" + "smithy.api#documentation": "

The description of the ClientCertificate.

" } }, "tags": { @@ -4309,7 +4382,7 @@ } }, "traits": { - "smithy.api#documentation": "

A request to generate a ClientCertificate resource.

" + "smithy.api#documentation": "

A request to generate a ClientCertificate resource.

" } }, "com.amazonaws.apigateway#GetAccount": { @@ -4335,7 +4408,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the current Account resource.

", + "smithy.api#documentation": "

Gets information about the current Account resource.

", "smithy.api#http": { "method": "GET", "uri": "/account", @@ -4347,7 +4420,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Requests API Gateway to get information about the current Account resource.

" + "smithy.api#documentation": "

Requests API Gateway to get information about the current Account resource.

" } }, "com.amazonaws.apigateway#GetApiKey": { @@ -4373,7 +4446,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the current ApiKey resource.

", + "smithy.api#documentation": "

Gets information about the current ApiKey resource.

", "smithy.api#http": { "method": "GET", "uri": "/apikeys/{apiKey}", @@ -4387,7 +4460,7 @@ "apiKey": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the ApiKey resource.

", + "smithy.api#documentation": "

The identifier of the ApiKey resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4401,7 +4474,7 @@ } }, "traits": { - "smithy.api#documentation": "

A request to get information about the current ApiKey resource.

" + "smithy.api#documentation": "

A request to get information about the current ApiKey resource.

" } }, "com.amazonaws.apigateway#GetApiKeys": { @@ -4427,7 +4500,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the current ApiKeys resource.

", + "smithy.api#documentation": "

Gets information about the current ApiKeys resource.

", "smithy.api#http": { "method": "GET", "uri": "/apikeys", @@ -4481,7 +4554,7 @@ } }, "traits": { - "smithy.api#documentation": "

A request to get information about the current ApiKeys resource.

" + "smithy.api#documentation": "

A request to get information about the current ApiKeys resource.

" } }, "com.amazonaws.apigateway#GetAuthorizer": { @@ -4507,7 +4580,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describe an existing Authorizer resource.

\n
AWS CLI
", + "smithy.api#documentation": "

Describe an existing Authorizer resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", @@ -4521,7 +4594,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4529,14 +4602,14 @@ "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Authorizer resource.

", + "smithy.api#documentation": "

The identifier of the Authorizer resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to describe an existing Authorizer resource.

" + "smithy.api#documentation": "

Request to describe an existing Authorizer resource.

" } }, "com.amazonaws.apigateway#GetAuthorizers": { @@ -4562,7 +4635,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describe an existing Authorizers resource.

\n
AWS CLI
", + "smithy.api#documentation": "

Describe an existing Authorizers resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/authorizers", @@ -4576,7 +4649,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4597,7 +4670,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request to describe an existing Authorizers resource.

" + "smithy.api#documentation": "

Request to describe an existing Authorizers resource.

" } }, "com.amazonaws.apigateway#GetBasePathMapping": { @@ -4623,7 +4696,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describe a BasePathMapping resource.

", + "smithy.api#documentation": "

Describe a BasePathMapping resource.

", "smithy.api#http": { "method": "GET", "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", @@ -4637,7 +4710,7 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The domain name of the BasePathMapping resource to be described.

", + "smithy.api#documentation": "

The domain name of the BasePathMapping resource to be described.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4645,14 +4718,14 @@ "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify any base path name after the domain name.

", + "smithy.api#documentation": "

The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify any base path name after the domain name.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to describe a BasePathMapping resource.

" + "smithy.api#documentation": "

Request to describe a BasePathMapping resource.

" } }, "com.amazonaws.apigateway#GetBasePathMappings": { @@ -4678,7 +4751,7 @@ } ], "traits": { - "smithy.api#documentation": "

Represents a collection of BasePathMapping resources.

", + "smithy.api#documentation": "

Represents a collection of BasePathMapping resources.

", "smithy.api#http": { "method": "GET", "uri": "/domainnames/{domainName}/basepathmappings", @@ -4698,7 +4771,7 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The domain name of a BasePathMapping resource.

", + "smithy.api#documentation": "

The domain name of a BasePathMapping resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4719,7 +4792,7 @@ } }, "traits": { - "smithy.api#documentation": "

A request to get information about a collection of BasePathMapping resources.

" + "smithy.api#documentation": "

A request to get information about a collection of BasePathMapping resources.

" } }, "com.amazonaws.apigateway#GetClientCertificate": { @@ -4745,7 +4818,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the current ClientCertificate resource.

", + "smithy.api#documentation": "

Gets information about the current ClientCertificate resource.

", "smithy.api#http": { "method": "GET", "uri": "/clientcertificates/{clientCertificateId}", @@ -4759,14 +4832,14 @@ "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the ClientCertificate resource to be described.

", + "smithy.api#documentation": "

The identifier of the ClientCertificate resource to be described.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A request to get information about the current ClientCertificate resource.

" + "smithy.api#documentation": "

A request to get information about the current ClientCertificate resource.

" } }, "com.amazonaws.apigateway#GetClientCertificates": { @@ -4792,7 +4865,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets a collection of ClientCertificate resources.

", + "smithy.api#documentation": "

Gets a collection of ClientCertificate resources.

", "smithy.api#http": { "method": "GET", "uri": "/clientcertificates", @@ -4825,7 +4898,7 @@ } }, "traits": { - "smithy.api#documentation": "

A request to get information about a collection of ClientCertificate resources.

" + "smithy.api#documentation": "

A request to get information about a collection of ClientCertificate resources.

" } }, "com.amazonaws.apigateway#GetDeployment": { @@ -4854,7 +4927,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a Deployment resource.

", + "smithy.api#documentation": "

Gets information about a Deployment resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/deployments/{deploymentId}", @@ -4868,7 +4941,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4876,7 +4949,7 @@ "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Deployment resource to get information about.

", + "smithy.api#documentation": "

The identifier of the Deployment resource to get information about.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4884,13 +4957,13 @@ "embed": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the \"apisummary\" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.

", + "smithy.api#documentation": "

A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the \"apisummary\" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.

", "smithy.api#httpQuery": "embed" } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to get information about a Deployment resource.

" + "smithy.api#documentation": "

Requests API Gateway to get information about a Deployment resource.

" } }, "com.amazonaws.apigateway#GetDeployments": { @@ -4919,7 +4992,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a Deployments collection.

", + "smithy.api#documentation": "

Gets information about a Deployments collection.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/deployments", @@ -4939,7 +5012,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4960,7 +5033,7 @@ } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to get information about a Deployments collection.

" + "smithy.api#documentation": "

Requests API Gateway to get information about a Deployments collection.

" } }, "com.amazonaws.apigateway#GetDocumentationPart": { @@ -4986,6 +5059,7 @@ } ], "traits": { + "smithy.api#documentation": "

Gets a documentation part.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", @@ -4999,7 +5073,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5007,7 +5081,7 @@ "documentationPartId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5040,6 +5114,7 @@ } ], "traits": { + "smithy.api#documentation": "

Gets documentation parts.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/parts", @@ -5053,7 +5128,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5096,7 +5171,7 @@ "locationStatus": { "target": "com.amazonaws.apigateway#LocationStatusType", "traits": { - "smithy.api#documentation": "

The status of the API documentation parts to retrieve. Valid values are DOCUMENTED for retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart resources without content.

", + "smithy.api#documentation": "

The status of the API documentation parts to retrieve. Valid values are DOCUMENTED for retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart resources without content.

", "smithy.api#httpQuery": "locationStatus" } } @@ -5125,6 +5200,7 @@ } ], "traits": { + "smithy.api#documentation": "

Gets a documentation version.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", @@ -5138,7 +5214,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5146,7 +5222,7 @@ "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The version identifier of the to-be-retrieved documentation snapshot.

", + "smithy.api#documentation": "

The version identifier of the to-be-retrieved documentation snapshot.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5179,6 +5255,7 @@ } ], "traits": { + "smithy.api#documentation": "

Gets documentation versions.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/documentation/versions", @@ -5192,7 +5269,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5253,14 +5330,14 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the DomainName resource.

", + "smithy.api#documentation": "

The name of the DomainName resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to get the name of a DomainName resource.

" + "smithy.api#documentation": "

Request to get the name of a DomainName resource.

" } }, "com.amazonaws.apigateway#GetDomainNames": { @@ -5286,7 +5363,7 @@ } ], "traits": { - "smithy.api#documentation": "

Represents a collection of DomainName resources.

", + "smithy.api#documentation": "

Represents a collection of DomainName resources.

", "smithy.api#http": { "method": "GET", "uri": "/domainnames", @@ -5319,7 +5396,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request to describe a collection of DomainName resources.

" + "smithy.api#documentation": "

Request to describe a collection of DomainName resources.

" } }, "com.amazonaws.apigateway#GetExport": { @@ -5351,7 +5428,7 @@ } ], "traits": { - "smithy.api#documentation": "

Exports a deployed version of a RestApi in a specified format.

", + "smithy.api#documentation": "

Exports a deployed version of a RestApi in a specified format.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages/{stageName}/exports/{exportType}", @@ -5365,7 +5442,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5373,7 +5450,7 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the Stage that will be exported.

", + "smithy.api#documentation": "

The name of the Stage that will be exported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5381,7 +5458,7 @@ "exportType": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.

", + "smithy.api#documentation": "

The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5389,7 +5466,7 @@ "parameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType oas30 and swagger, any combination of the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions. postman will export the API with Postman extensions, allowing for import to the Postman tool

", + "smithy.api#documentation": "

A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType \n oas30 and swagger, any combination of the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions. postman will export the API with Postman extensions, allowing for import to the Postman tool

", "smithy.api#httpQueryParams": {} } }, @@ -5402,7 +5479,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request a new export of a RestApi for a particular Stage.

" + "smithy.api#documentation": "

Request a new export of a RestApi for a particular Stage.

" } }, "com.amazonaws.apigateway#GetGatewayResponse": { @@ -5428,7 +5505,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets a GatewayResponse of a specified response type on the given RestApi.

", + "smithy.api#documentation": "

Gets a GatewayResponse of a specified response type on the given RestApi.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", @@ -5442,7 +5519,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5450,14 +5527,14 @@ "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { - "smithy.api#documentation": "

[Required]

The response type of the associated GatewayResponse.

", + "smithy.api#documentation": "

The response type of the associated GatewayResponse.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Gets a GatewayResponse of a specified response type on the given RestApi.

" + "smithy.api#documentation": "

Gets a GatewayResponse of a specified response type on the given RestApi.

" } }, "com.amazonaws.apigateway#GetGatewayResponses": { @@ -5483,7 +5560,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

", + "smithy.api#documentation": "

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/gatewayresponses", @@ -5497,7 +5574,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5505,20 +5582,20 @@ "position": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

", + "smithy.api#documentation": "

The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

", "smithy.api#httpQuery": "position" } }, "limit": { "target": "com.amazonaws.apigateway#NullableInteger", "traits": { - "smithy.api#documentation": "

The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.

", + "smithy.api#documentation": "

The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.

", "smithy.api#httpQuery": "limit" } } }, "traits": { - "smithy.api#documentation": "

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

" + "smithy.api#documentation": "

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

" } }, "com.amazonaws.apigateway#GetIntegration": { @@ -5558,7 +5635,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5566,7 +5643,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a get integration request's resource identifier

", + "smithy.api#documentation": "

Specifies a get integration request's resource identifier

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5574,7 +5651,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a get integration request's HTTP method.

", + "smithy.api#documentation": "

Specifies a get integration request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5621,7 +5698,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5629,7 +5706,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a get integration response request's resource identifier.

", + "smithy.api#documentation": "

Specifies a get integration response request's resource identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5637,7 +5714,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a get integration response request's HTTP method.

", + "smithy.api#documentation": "

Specifies a get integration response request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5645,7 +5722,7 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] Specifies a get integration response request's status code.

", + "smithy.api#documentation": "

Specifies a get integration response request's status code.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5675,7 +5752,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describe an existing Method resource.

", + "smithy.api#documentation": "

Describe an existing Method resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", @@ -5689,7 +5766,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5697,7 +5774,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the Method resource.

", + "smithy.api#documentation": "

The Resource identifier for the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5705,14 +5782,14 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies the method request's HTTP method type.

", + "smithy.api#documentation": "

Specifies the method request's HTTP method type.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to describe an existing Method resource.

" + "smithy.api#documentation": "

Request to describe an existing Method resource.

" } }, "com.amazonaws.apigateway#GetMethodResponse": { @@ -5735,7 +5812,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a MethodResponse resource.

", + "smithy.api#documentation": "

Describes a MethodResponse resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", @@ -5749,7 +5826,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5757,7 +5834,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the MethodResponse resource.

", + "smithy.api#documentation": "

The Resource identifier for the MethodResponse resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5765,7 +5842,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The HTTP verb of the Method resource.

", + "smithy.api#documentation": "

The HTTP verb of the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5773,14 +5850,14 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] The status code for the MethodResponse resource.

", + "smithy.api#documentation": "

The status code for the MethodResponse resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Request to describe a MethodResponse resource.

" + "smithy.api#documentation": "

Request to describe a MethodResponse resource.

" } }, "com.amazonaws.apigateway#GetModel": { @@ -5806,7 +5883,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes an existing model defined for a RestApi resource.

", + "smithy.api#documentation": "

Describes an existing model defined for a RestApi resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/models/{modelName}", @@ -5820,7 +5897,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The RestApi identifier under which the Model exists.

", + "smithy.api#documentation": "

The RestApi identifier under which the Model exists.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5828,7 +5905,7 @@ "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the model as an identifier.

", + "smithy.api#documentation": "

The name of the model as an identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5842,7 +5919,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request to list information about a model in an existing RestApi resource.

" + "smithy.api#documentation": "

Request to list information about a model in an existing RestApi resource.

" } }, "com.amazonaws.apigateway#GetModelTemplate": { @@ -5882,7 +5959,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5890,7 +5967,7 @@ "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the model for which to generate a template.

", + "smithy.api#documentation": "

The name of the model for which to generate a template.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5923,7 +6000,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes existing Models defined for a RestApi resource.

", + "smithy.api#documentation": "

Describes existing Models defined for a RestApi resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/models", @@ -5943,7 +6020,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5964,7 +6041,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request to list existing Models defined for a RestApi resource.

" + "smithy.api#documentation": "

Request to list existing Models defined for a RestApi resource.

" } }, "com.amazonaws.apigateway#GetRequestValidator": { @@ -5990,7 +6067,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets a RequestValidator of a given RestApi.

", + "smithy.api#documentation": "

Gets a RequestValidator of a given RestApi.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", @@ -6004,7 +6081,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6012,14 +6089,14 @@ "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the RequestValidator to be retrieved.

", + "smithy.api#documentation": "

The identifier of the RequestValidator to be retrieved.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Gets a RequestValidator of a given RestApi.

" + "smithy.api#documentation": "

Gets a RequestValidator of a given RestApi.

" } }, "com.amazonaws.apigateway#GetRequestValidators": { @@ -6045,7 +6122,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the RequestValidators collection of a given RestApi.

", + "smithy.api#documentation": "

Gets the RequestValidators collection of a given RestApi.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/requestvalidators", @@ -6059,7 +6136,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6080,7 +6157,7 @@ } }, "traits": { - "smithy.api#documentation": "

Gets the RequestValidators collection of a given RestApi.

" + "smithy.api#documentation": "

Gets the RequestValidators collection of a given RestApi.

" } }, "com.amazonaws.apigateway#GetResource": { @@ -6117,7 +6194,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6125,7 +6202,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier for the Resource resource.

", + "smithy.api#documentation": "

The identifier for the Resource resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6133,7 +6210,7 @@ "embed": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.

", + "smithy.api#documentation": "

A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.

", "smithy.api#httpQuery": "embed" } } @@ -6165,7 +6242,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists information about a collection of Resource resources.

", + "smithy.api#documentation": "

Lists information about a collection of Resource resources.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/resources", @@ -6185,7 +6262,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6207,7 +6284,7 @@ "embed": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.

", + "smithy.api#documentation": "

A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the \"methods\" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.

", "smithy.api#httpQuery": "embed" } } @@ -6239,7 +6316,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the RestApi resource in the collection.

", + "smithy.api#documentation": "

Lists the RestApi resource in the collection.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}", @@ -6253,14 +6330,14 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The GET request to list an existing RestApi defined for your collection.

" + "smithy.api#documentation": "

The GET request to list an existing RestApi defined for your collection.

" } }, "com.amazonaws.apigateway#GetRestApis": { @@ -6286,7 +6363,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the RestApis resources for your collection.

", + "smithy.api#documentation": "

Lists the RestApis resources for your collection.

", "smithy.api#http": { "method": "GET", "uri": "/restapis", @@ -6319,7 +6396,7 @@ } }, "traits": { - "smithy.api#documentation": "

The GET request to list existing RestApis defined for your collection.

" + "smithy.api#documentation": "

The GET request to list existing RestApis defined for your collection.

" } }, "com.amazonaws.apigateway#GetSdk": { @@ -6351,7 +6428,7 @@ } ], "traits": { - "smithy.api#documentation": "

Generates a client SDK for a RestApi and Stage.

", + "smithy.api#documentation": "

Generates a client SDK for a RestApi and Stage.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages/{stageName}/sdks/{sdkType}", @@ -6365,7 +6442,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6373,7 +6450,7 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the Stage that the SDK will use.

", + "smithy.api#documentation": "

The name of the Stage that the SDK will use.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6381,7 +6458,7 @@ "sdkType": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.

", + "smithy.api#documentation": "

The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6395,7 +6472,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request a new generated client SDK for a RestApi and Stage.

" + "smithy.api#documentation": "

Request a new generated client SDK for a RestApi and Stage.

" } }, "com.amazonaws.apigateway#GetSdkType": { @@ -6421,6 +6498,7 @@ } ], "traits": { + "smithy.api#documentation": "

Gets an SDK type.

", "smithy.api#http": { "method": "GET", "uri": "/sdktypes/{id}", @@ -6434,14 +6512,14 @@ "id": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the queried SdkType instance.

", + "smithy.api#documentation": "

The identifier of the queried SdkType instance.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Get an SdkType instance.

" + "smithy.api#documentation": "

Get an SdkType instance.

" } }, "com.amazonaws.apigateway#GetSdkTypes": { @@ -6467,6 +6545,7 @@ } ], "traits": { + "smithy.api#documentation": "

Gets SDK types

", "smithy.api#http": { "method": "GET", "uri": "/sdktypes", @@ -6493,7 +6572,7 @@ } }, "traits": { - "smithy.api#documentation": "

Get the SdkTypes collection.

" + "smithy.api#documentation": "

Get the SdkTypes collection.

" } }, "com.amazonaws.apigateway#GetStage": { @@ -6525,7 +6604,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a Stage resource.

", + "smithy.api#documentation": "

Gets information about a Stage resource.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages/{stageName}", @@ -6539,7 +6618,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6547,14 +6626,14 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the Stage resource to get information about.

", + "smithy.api#documentation": "

The name of the Stage resource to get information about.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to get information about a Stage resource.

" + "smithy.api#documentation": "

Requests API Gateway to get information about a Stage resource.

" } }, "com.amazonaws.apigateway#GetStages": { @@ -6586,7 +6665,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about one or more Stage resources.

", + "smithy.api#documentation": "

Gets information about one or more Stage resources.

", "smithy.api#http": { "method": "GET", "uri": "/restapis/{restApiId}/stages", @@ -6600,7 +6679,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6614,7 +6693,7 @@ } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to get information about one or more Stage resources.

" + "smithy.api#documentation": "

Requests API Gateway to get information about one or more Stage resources.

" } }, "com.amazonaws.apigateway#GetTags": { @@ -6640,7 +6719,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the Tags collection for a given resource.

", + "smithy.api#documentation": "

Gets the Tags collection for a given resource.

", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", @@ -6654,7 +6733,7 @@ "resourceArn": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The ARN of a resource that can be tagged.

", + "smithy.api#documentation": "

The ARN of a resource that can be tagged.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6675,7 +6754,7 @@ } }, "traits": { - "smithy.api#documentation": "

Gets the Tags collection for a given resource.

" + "smithy.api#documentation": "

Gets the Tags collection for a given resource.

" } }, "com.amazonaws.apigateway#GetUsage": { @@ -6783,7 +6862,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", + "smithy.api#documentation": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6791,7 +6870,7 @@ "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.

", + "smithy.api#documentation": "

The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6844,7 +6923,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", + "smithy.api#documentation": "

The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6881,7 +6960,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the UsagePlan resource to be retrieved.

", + "smithy.api#documentation": "

The identifier of the UsagePlan resource to be retrieved.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6963,7 +7042,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the usage plan associated with the usage data.

", + "smithy.api#documentation": "

The Id of the usage plan associated with the usage data.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6978,7 +7057,7 @@ "startDate": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The starting date (e.g., 2016-01-01) of the usage data.

", + "smithy.api#documentation": "

The starting date (e.g., 2016-01-01) of the usage data.

", "smithy.api#httpQuery": "startDate", "smithy.api#required": {} } @@ -6986,7 +7065,7 @@ "endDate": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The ending date (e.g., 2016-12-31) of the usage data.

", + "smithy.api#documentation": "

The ending date (e.g., 2016-12-31) of the usage data.

", "smithy.api#httpQuery": "endDate", "smithy.api#required": {} } @@ -7047,7 +7126,7 @@ "vpcLinkId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", + "smithy.api#documentation": "

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -7080,7 +7159,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the VpcLinks collection under the caller's account in a selected region.

", + "smithy.api#documentation": "

Gets the VpcLinks collection under the caller's account in a selected region.

", "smithy.api#http": { "method": "GET", "uri": "/vpclinks", @@ -7113,7 +7192,7 @@ } }, "traits": { - "smithy.api#documentation": "

Gets the VpcLinks collection under the caller's account in a selected region.

" + "smithy.api#documentation": "

Gets the VpcLinks collection under the caller's account in a selected region.

" } }, "com.amazonaws.apigateway#ImportApiKeys": { @@ -7159,7 +7238,7 @@ "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { - "smithy.api#documentation": "

The payload of the POST request to import API keys. For the payload format, see API Key File Format.

", + "smithy.api#documentation": "

The payload of the POST request to import API keys. For the payload format, see API Key File Format.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7175,7 +7254,7 @@ "failOnWarnings": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.

", + "smithy.api#documentation": "

A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.

", "smithy.api#httpQuery": "failonwarnings" } } @@ -7213,6 +7292,7 @@ } ], "traits": { + "smithy.api#documentation": "

Imports documentation parts

", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/documentation/parts", @@ -7226,7 +7306,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -7234,7 +7314,7 @@ "mode": { "target": "com.amazonaws.apigateway#PutMode", "traits": { - "smithy.api#documentation": "

A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE.

", + "smithy.api#documentation": "

A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE.

", "smithy.api#httpQuery": "mode" } }, @@ -7248,7 +7328,7 @@ "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { - "smithy.api#documentation": "

[Required] Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.

", + "smithy.api#documentation": "

Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7308,14 +7388,14 @@ "parameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.

\n

To exclude DocumentationParts from the import, set parameters as ignore=documentation.

\n

To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE, endpointConfigurationTypes=REGIONAL, or endpointConfigurationTypes=PRIVATE. The default endpoint type is EDGE.

\n

To handle imported basepath, set parameters as basepath=ignore, basepath=prepend or basepath=split.

\n

For example, the AWS CLI command to exclude documentation from the imported API is:

\n
aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'
\n

The AWS CLI command to set the regional endpoint on the imported API is:

\n
aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json'
", + "smithy.api#documentation": "

A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.

\n

To exclude DocumentationParts from the import, set parameters as ignore=documentation.

\n

To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE, endpointConfigurationTypes=REGIONAL, or endpointConfigurationTypes=PRIVATE. The default endpoint type is EDGE.

\n

To handle imported basepath, set parameters as basepath=ignore, basepath=prepend or basepath=split.

\n

For example, the AWS CLI command to exclude documentation from the imported API is:

\n

The AWS CLI command to set the regional endpoint on the imported API is:

", "smithy.api#httpQueryParams": {} } }, "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { - "smithy.api#documentation": "

[Required] The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.

", + "smithy.api#documentation": "

The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7334,7 +7414,7 @@ "type": { "target": "com.amazonaws.apigateway#IntegrationType", "traits": { - "smithy.api#documentation": "

Specifies an API method integration type. The valid value is one of the following:

\n \n

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

" + "smithy.api#documentation": "

Specifies an API method integration type. The valid value is one of the following:

\n \n

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

" } }, "httpMethod": { @@ -7346,7 +7426,7 @@ "uri": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

\n" + "smithy.api#documentation": "

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

\n

For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL\n according to the RFC-3986 specification, for either standard integration, where connectionType\n is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP\n integration, the URI is not used for routing. For AWS or AWS_PROXY integrations, the URI is of\n the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}.\n Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the\n integrated Amazon Web Services service (e.g., s3); and {subdomain} is a designated subdomain supported by\n certain Amazon Web Services service for fast host-name lookup. action can be used for an Amazon Web Services service\n action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing\n {service_api} refers to a supported action {name} plus any required input parameters.\n Alternatively, path can be used for an AWS service path-based API. The ensuing service_api\n refers to the path to an Amazon Web Services service resource, including the region of the integrated Amazon Web Services \n service, if applicable. For example, for integration with the S3 API of GetObject, the uri can\n be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or\n arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}\n

" } }, "connectionType": { @@ -7358,7 +7438,7 @@ "connectionId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

" + "smithy.api#documentation": "

The ID of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

" } }, "credentials": { @@ -7382,13 +7462,13 @@ "passthroughBehavior": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "
\n

\n Specifies how the method request body of an unmapped content type will be passed through the integration request\n to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration\n or the content type does not match any of the mapped content types, as specified in requestTemplates.\n The valid value is one of the following:\n

\n \n
" + "smithy.api#documentation": "

Specifies how the method request body of an unmapped content type will be passed through\n the integration request to the back end without transformation. A content type is unmapped if\n no mapping template is defined in the integration or the content type does not match any of\n the mapped content types, as specified in requestTemplates. The valid value is one of the\n following: WHEN_NO_MATCH: passes the method request body through the integration request to\n the back end without transformation when the method request content type does not match any\n content type associated with the mapping templates defined in the integration request.\n WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back\n end without transformation when no mapping template is defined in the integration request. If\n a template is defined when this option is selected, the method request of an unmapped\n content-type will be rejected with an HTTP 415 Unsupported Media Type response. NEVER: rejects\n the method request with an HTTP 415 Unsupported Media Type response when either the method\n request content type does not match any content type associated with the mapping templates\n defined in the integration request or no mapping template is defined in the integration\n request.

" } }, "contentHandling": { "target": "com.amazonaws.apigateway#ContentHandlingStrategy", "traits": { - "smithy.api#documentation": "

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

" + "smithy.api#documentation": "

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

" } }, "timeoutInMillis": { @@ -7406,13 +7486,13 @@ "cacheKeyParameters": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

" + "smithy.api#documentation": "

A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

" } }, "integrationResponses": { "target": "com.amazonaws.apigateway#MapOfIntegrationResponse", "traits": { - "smithy.api#documentation": "

Specifies the integration's responses.

\n
\n

\n

Example: Get integration responses of a method

\n
Request
\n

\n
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160607T191449Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}\n
\n
Response
\n

The successful response returns 200 OK status and a payload as follows:

\n
{\n  \"_links\": {\n    \"curies\": {\n      \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n      \"name\": \"integrationresponse\",\n      \"templated\": true\n    },\n    \"self\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n      \"title\": \"200\"\n    },\n    \"integrationresponse:delete\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n    },\n    \"integrationresponse:update\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n    }\n  },\n  \"responseParameters\": {\n    \"method.response.header.Content-Type\": \"'application/xml'\"\n  },\n  \"responseTemplates\": {\n    \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\\\")\\n\"\n  },\n  \"statusCode\": \"200\"\n}
\n

\n
\n
\n Creating an API\n
" + "smithy.api#documentation": "

Specifies the integration's responses.

" } }, "tlsConfig": { @@ -7423,7 +7503,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

\n
In the API Gateway console, the built-in Lambda integration is an AWS integration.
\n
\n Creating an API\n
" + "smithy.api#documentation": "

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

" } }, "com.amazonaws.apigateway#IntegrationResponse": { @@ -7432,7 +7512,7 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

Specifies the status code that is used to map the integration response to an existing MethodResponse.

" + "smithy.api#documentation": "

Specifies the status code that is used to map the integration response to an existing MethodResponse.

" } }, "selectionPattern": { @@ -7456,12 +7536,12 @@ "contentHandling": { "target": "com.amazonaws.apigateway#ContentHandlingStrategy", "traits": { - "smithy.api#documentation": "

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

" + "smithy.api#documentation": "

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

" } } }, "traits": { - "smithy.api#documentation": "

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

\n
\n Creating an API\n
" + "smithy.api#documentation": "

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

" } }, "com.amazonaws.apigateway#IntegrationType": { @@ -7601,7 +7681,7 @@ "target": "com.amazonaws.apigateway#PatchOperation" }, "traits": { - "smithy.api#documentation": "A list of operations describing the updates to apply to the specified resource. The patches are applied\n in the order specified in the list." + "smithy.api#documentation": "

A list of operations describing the updates to apply to the specified resource. The patches are applied\n in the order specified in the list.

" } }, "com.amazonaws.apigateway#ListOfRequestValidator": { @@ -7802,19 +7882,19 @@ "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

" + "smithy.api#documentation": "

The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

" } }, "apiKeyRequired": { "target": "com.amazonaws.apigateway#NullableBoolean", "traits": { - "smithy.api#documentation": "

A boolean flag specifying whether a valid ApiKey is required to invoke this method.

" + "smithy.api#documentation": "

A boolean flag specifying whether a valid ApiKey is required to invoke this method.

" } }, "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of a RequestValidator for request validation.

" + "smithy.api#documentation": "

The identifier of a RequestValidator for request validation.

" } }, "operationName": { @@ -7826,25 +7906,25 @@ "requestParameters": { "target": "com.amazonaws.apigateway#MapOfStringToBoolean", "traits": { - "smithy.api#documentation": "

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

" + "smithy.api#documentation": "

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

" } }, "requestModels": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

" + "smithy.api#documentation": "

A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

" } }, "methodResponses": { "target": "com.amazonaws.apigateway#MapOfMethodResponse", "traits": { - "smithy.api#documentation": "

Gets a method response associated with a given HTTP status code.

\n
\n

The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response.

\n

Example: Get a 200 OK response of a GET method

\n
Request
\n

\n
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nContent-Length: 117\nX-Amz-Date: 20160613T215008Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n
Response
\n

The successful response returns a 200 OK status code and a payload similar to the following:

\n
{\n  \"_links\": {\n    \"curies\": {\n      \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n      \"name\": \"methodresponse\",\n      \"templated\": true\n    },\n    \"self\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\",\n      \"title\": \"200\"\n    },\n    \"methodresponse:delete\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\"\n    },\n    \"methodresponse:update\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200\"\n    }\n  },\n  \"responseModels\": {\n    \"application/json\": \"Empty\"\n  },\n  \"responseParameters\": {\n    \"method.response.header.operator\": false,\n    \"method.response.header.operand_2\": false,\n    \"method.response.header.operand_1\": false\n  },\n  \"statusCode\": \"200\"\n}
\n

\n
\n
\n AWS CLI\n
" + "smithy.api#documentation": "

Gets a method response associated with a given HTTP status code.

" } }, "methodIntegration": { "target": "com.amazonaws.apigateway#Integration", "traits": { - "smithy.api#documentation": "

Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

\n
\n

\n

Example:

\n
Request
\n

\n
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nContent-Length: 117\nX-Amz-Date: 20160613T213210Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n
Response
\n

The successful response returns a 200 OK status code and a payload similar to the following:

\n
{\n  \"_links\": {\n    \"curies\": [\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\",\n        \"name\": \"integration\",\n        \"templated\": true\n      },\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n        \"name\": \"integrationresponse\",\n        \"templated\": true\n      }\n    ],\n    \"self\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\"\n    },\n    \"integration:delete\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\"\n    },\n    \"integration:responses\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\",\n      \"name\": \"200\",\n      \"title\": \"200\"\n    },\n    \"integration:update\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration\"\n    },\n    \"integrationresponse:put\": {\n      \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}\",\n      \"templated\": true\n    }\n  },\n  \"cacheKeyParameters\": [],\n  \"cacheNamespace\": \"0cjtch\",\n  \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n  \"httpMethod\": \"POST\",\n  \"passthroughBehavior\": \"WHEN_NO_MATCH\",\n  \"requestTemplates\": {\n    \"application/json\": \"{\\n    \\\"a\\\":  \\\"$input.params('operand1')\\\",\\n    \\\"b\\\":  \\\"$input.params('operand2')\\\", \\n    \\\"op\\\": \\\"$input.params('operator')\\\"   \\n}\"\n  },\n  \"type\": \"AWS\",\n  \"uri\": \"arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations\",\n  \"_embedded\": {\n    \"integration:responses\": {\n      \"_links\": {\n        \"self\": {\n          \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\",\n          \"name\": \"200\",\n          \"title\": \"200\"\n        },\n        \"integrationresponse:delete\": {\n          \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\"\n        },\n        \"integrationresponse:update\": {\n          \"href\": \"/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200\"\n        }\n      },\n      \"responseParameters\": {\n        \"method.response.header.operator\": \"integration.response.body.op\",\n        \"method.response.header.operand_2\": \"integration.response.body.b\",\n        \"method.response.header.operand_1\": \"integration.response.body.a\"\n      },\n      \"responseTemplates\": {\n        \"application/json\": \"#set($res = $input.path('$'))\\n{\\n    \\\"result\\\": \\\"$res.a, $res.b, $res.op => $res.c\\\",\\n  \\\"a\\\" : \\\"$res.a\\\",\\n  \\\"b\\\" : \\\"$res.b\\\",\\n  \\\"op\\\" : \\\"$res.op\\\",\\n  \\\"c\\\" : \\\"$res.c\\\"\\n}\"\n      },\n      \"selectionPattern\": \"\",\n      \"statusCode\": \"200\"\n    }\n  }\n}
\n

\n
\n
\n AWS CLI\n
" + "smithy.api#documentation": "

Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

" } }, "authorizationScopes": { @@ -7855,7 +7935,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is\n integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes\n the client input that is passed to the back end through the integration request. A method response returns the output from\n the back end to the client through an integration response. A method request is embodied in a Method resource, whereas\n an integration request is embodied in an Integration resource. On the other hand, a method response is represented\n by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.\n

\n
\n

\n

Example: Retrive the GET method on a specified resource

\n
Request
\n

The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri).

\n
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160603T210259Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n
Response
\n

The successful response returns a 200 OK status code and a payload similar to the following:

\n
{\n  \"_links\": {\n    \"curies\": [\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\",\n        \"name\": \"integration\",\n        \"templated\": true\n      },\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n        \"name\": \"integrationresponse\",\n        \"templated\": true\n      },\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\",\n        \"name\": \"method\",\n        \"templated\": true\n      },\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n        \"name\": \"methodresponse\",\n        \"templated\": true\n      }\n    ],\n    \"self\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\",\n      \"name\": \"GET\",\n      \"title\": \"GET\"\n    },\n    \"integration:put\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n    },\n    \"method:delete\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n    },\n    \"method:integration\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n    },\n    \"method:responses\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n      \"name\": \"200\",\n      \"title\": \"200\"\n    },\n    \"method:update\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n    },\n    \"methodresponse:put\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\",\n      \"templated\": true\n    }\n  },\n  \"apiKeyRequired\": true,\n  \"authorizationType\": \"NONE\",\n  \"httpMethod\": \"GET\",\n  \"_embedded\": {\n    \"method:integration\": {\n      \"_links\": {\n        \"self\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n        },\n        \"integration:delete\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n        },\n        \"integration:responses\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n          \"name\": \"200\",\n          \"title\": \"200\"\n        },\n        \"integration:update\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n        },\n        \"integrationresponse:put\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\",\n          \"templated\": true\n        }\n      },\n      \"cacheKeyParameters\": [],\n      \"cacheNamespace\": \"3kzxbg5sa2\",\n      \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n      \"httpMethod\": \"POST\",\n      \"passthroughBehavior\": \"WHEN_NO_MATCH\",\n      \"requestParameters\": {\n        \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\"\n      },\n      \"requestTemplates\": {\n        \"application/json\": \"{\\n}\"\n      },\n      \"type\": \"AWS\",\n      \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\",\n      \"_embedded\": {\n        \"integration:responses\": {\n          \"_links\": {\n            \"self\": {\n              \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n              \"name\": \"200\",\n              \"title\": \"200\"\n            },\n            \"integrationresponse:delete\": {\n              \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n            },\n            \"integrationresponse:update\": {\n              \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n            }\n          },\n          \"responseParameters\": {\n            \"method.response.header.Content-Type\": \"'application/xml'\"\n          },\n          \"responseTemplates\": {\n            \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\\\")\"\n          },\n          \"statusCode\": \"200\"\n        }\n      }\n    },\n    \"method:responses\": {\n      \"_links\": {\n        \"self\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n          \"name\": \"200\",\n          \"title\": \"200\"\n        },\n        \"methodresponse:delete\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n        },\n        \"methodresponse:update\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n        }\n      },\n      \"responseModels\": {\n        \"application/json\": \"Empty\"\n      },\n      \"responseParameters\": {\n        \"method.response.header.Content-Type\": false\n      },\n      \"statusCode\": \"200\"\n    }\n  }\n}
\n

In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E and the output is decoded using the $util.urlDecode() helper function.

\n
\n
\n MethodResponse, Integration, IntegrationResponse, Resource,\n Set up an API's method\n
" + "smithy.api#documentation": "

\n Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is\n integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes\n the client input that is passed to the back end through the integration request. A method response returns the output from\n the back end to the client through an integration response. A method request is embodied in a Method resource, whereas\n an integration request is embodied in an Integration resource. On the other hand, a method response is represented\n by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.\n

" } }, "com.amazonaws.apigateway#MethodResponse": { @@ -7870,18 +7950,18 @@ "responseParameters": { "target": "com.amazonaws.apigateway#MapOfStringToBoolean", "traits": { - "smithy.api#documentation": "

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

" + "smithy.api#documentation": "

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

" } }, "responseModels": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

" + "smithy.api#documentation": "

Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

" } } }, "traits": { - "smithy.api#documentation": "

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

\n
\n

\n

Example: A MethodResponse instance of an API

\n
Request
\n

The example request retrieves a MethodResponse of the 200 status code.

\n
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20160603T222952Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n
Response
\n

The successful response returns 200 OK status and a payload as follows:

\n
{\n  \"_links\": {\n    \"curies\": {\n      \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n      \"name\": \"methodresponse\",\n      \"templated\": true\n    },\n    \"self\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n      \"title\": \"200\"\n    },\n    \"methodresponse:delete\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n    },\n    \"methodresponse:update\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n    }\n  },\n  \"responseModels\": {\n    \"application/json\": \"Empty\"\n  },\n  \"responseParameters\": {\n    \"method.response.header.Content-Type\": false\n  },\n  \"statusCode\": \"200\"\n}
\n

\n
\n
\n Method, IntegrationResponse, Integration\n Creating an API\n
" + "smithy.api#documentation": "

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

" } }, "com.amazonaws.apigateway#MethodSetting": { @@ -7902,7 +7982,7 @@ "dataTraceEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether full requests and responses are logged for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

" + "smithy.api#documentation": "

Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

" } }, "throttlingBurstLimit": { @@ -7964,12 +8044,12 @@ "apiKeyRequired": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the method requires a valid ApiKey.

" + "smithy.api#documentation": "

Specifies whether the method requires a valid ApiKey.

" } } }, "traits": { - "smithy.api#documentation": "

Represents a summary of a Method resource, given a particular date and time.

" + "smithy.api#documentation": "

Represents a summary of a Method resource, given a particular date and time.

" } }, "com.amazonaws.apigateway#Model": { @@ -7996,7 +8076,7 @@ "schema": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include \"\\*/\" characters in the description of any properties because such \"\\*/\" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

" + "smithy.api#documentation": "

The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include \"\\*/\" characters in the description of any properties because such \"\\*/\" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

" } }, "contentType": { @@ -8007,7 +8087,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the data structure of a method's request or response payload.

\n
\n

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

\n

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

\n
\n
\n Method, MethodResponse, Models and Mappings\n
" + "smithy.api#documentation": "

Represents the data structure of a method's request or response payload.

" } }, "com.amazonaws.apigateway#Models": { @@ -8029,7 +8109,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of Model resources.

\n
\n Method, MethodResponse, Models and Mappings\n
" + "smithy.api#documentation": "

Represents a collection of Model resources.

" } }, "com.amazonaws.apigateway#MutualTlsAuthentication": { @@ -8038,24 +8118,24 @@ "truststoreUri": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

An Amazon S3 URL that specifies the truststore for mutual TLS authentication,\n for example s3://bucket-name/key-name.\n The truststore can contain certificates from public or private certificate authorities.\n To update the truststore, upload a new version to S3, and then update your custom domain\n name to use the new version. To update the truststore, you must have permissions to\n access the S3 object.

" + "smithy.api#documentation": "

An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example\n s3://bucket-name/key-name. The truststore can contain certificates from public or private\n certificate authorities. To update the truststore, upload a new version to S3, and then update\n your custom domain name to use the new version. To update the truststore, you must have\n permissions to access the S3 object.

" } }, "truststoreVersion": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The version of the S3 object that contains your truststore. To\n specify a version, you must have versioning enabled for the S3 bucket.

" + "smithy.api#documentation": "

The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.

" } }, "truststoreWarnings": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A list of warnings that API Gateway returns while processing your truststore. Invalid\n certificates produce warnings. Mutual TLS is still enabled, but some clients might not\n be able to access your API. To resolve warnings, upload a new truststore to S3, and then\n update you domain name to use the new version.

" + "smithy.api#documentation": "

A list of warnings that API Gateway returns while processing your truststore. Invalid\n certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able\n to access your API. To resolve warnings, upload a new truststore to S3, and then update you\n domain name to use the new version.

" } } }, "traits": { - "smithy.api#documentation": "

If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.

" + "smithy.api#documentation": "

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway\n performs two-way authentication between the client and the server. Clients must present a\n trusted certificate to access your API.

" } }, "com.amazonaws.apigateway#MutualTlsAuthenticationInput": { @@ -8064,18 +8144,18 @@ "truststoreUri": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

An Amazon S3 resource ARN that specifies the truststore for mutual TLS authentication,\n for example,\n s3://bucket-name/key-name.\n The truststore can contain certificates from public or private certificate authorities.\n To update the truststore, upload a new version to S3, and then update your custom domain\n name to use the new version. To update the truststore, you must have permissions to\n access the S3 object.

" + "smithy.api#documentation": "

An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example\n s3://bucket-name/key-name. The truststore can contain certificates from public or private\n certificate authorities. To update the truststore, upload a new version to S3, and then update\n your custom domain name to use the new version. To update the truststore, you must have\n permissions to access the S3 object.

" } }, "truststoreVersion": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The version of the S3 object that contains your truststore. To\n specify a version, you must have versioning enabled for the S3 bucket.

" + "smithy.api#documentation": "

The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket

" } } }, "traits": { - "smithy.api#documentation": "

If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.

" + "smithy.api#documentation": "

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway\n performs two-way authentication between the client and the server. Clients must present a\n trusted certificate to access your API.

" } }, "com.amazonaws.apigateway#NotFoundException": { @@ -8140,30 +8220,30 @@ "op": { "target": "com.amazonaws.apigateway#Op", "traits": { - "smithy.api#documentation": "

An update operation to be performed with this PATCH request. The valid value can be add, remove, replace or copy. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message.

" + "smithy.api#documentation": "

An update operation to be performed with this PATCH request. The valid value can be\n add, remove, replace or copy. Not all valid operations are supported for a given\n resource. Support of the operations depends on specific operational contexts. Attempts\n to apply an unsupported operation on a resource will return an error message..

" } }, "path": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {\"name\":\"value\"}, the path for this property is /name. If the name property value is a JSON object (e.g., {\"name\": {\"child/name\": \"child-value\"}}), the path for the child/name property will be /name/child~1name. Any slash (\"/\") character appearing in path names must be escaped with \"~1\", as shown in the example above. Each op operation can have only one path associated with it.

" + "smithy.api#documentation": "

The op operation's target, as identified by a JSON Pointer value that references a\n location within the targeted resource. For example, if the target resource has an\n updateable property of {\"name\":\"value\"}, the path for this property is /name. If the\n name property value is a JSON object (e.g., {\"name\": {\"child/name\": \"child-value\"}}),\n the path for the child/name property will be /name/child~1name. Any slash (\"/\")\n character appearing in path names must be escaped with \"~1\", as shown in the example\n above. Each op operation can have only one path associated with it.

" } }, "value": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{\"a\": ...}'. In a Windows shell, see Using JSON for Parameters.

" + "smithy.api#documentation": "

The new target value of the update operation. It is applicable for the add or replace\n operation. When using AWS CLI to update a property of a JSON value, enclose the JSON\n object with a pair of single quotes in a Linux shell, e.g., '{\"a\": ...}'.

" } }, "from": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with \"op\":\"copy\", \"from\":\"/canarySettings/deploymentId\" and \"path\":\"/deploymentId\".

" + "smithy.api#documentation": "

The copy update operation's source as identified by a JSON-Pointer value referencing\n the location within the targeted resource to copy the value from. For example, to\n promote a canary deployment, you copy the canary deployment ID to the affiliated\n deployment ID by calling a PATCH request on a Stage resource with \"op\":\"copy\",\n \"from\":\"/canarySettings/deploymentId\" and \"path\":\"/deploymentId\".

" } } }, "traits": { - "smithy.api#documentation": "A single patch operation to apply to the specified resource. Please refer to\n http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how each operation is used." + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } }, "com.amazonaws.apigateway#PathToMapOfMethodSnapshot": { @@ -8207,7 +8287,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

", + "smithy.api#documentation": "

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", @@ -8221,7 +8301,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8229,7 +8309,7 @@ "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { - "smithy.api#documentation": "

[Required]

The response type of the associated GatewayResponse.

", + "smithy.api#documentation": "

The response type of the associated GatewayResponse

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8237,24 +8317,24 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "The HTTP status code of the GatewayResponse." + "smithy.api#documentation": "

The HTTP status code of the GatewayResponse.

" } }, "responseParameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

" + "smithy.api#documentation": "

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

" } }, "responseTemplates": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" + "smithy.api#documentation": "

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

" } } }, "traits": { - "smithy.api#documentation": "

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

" + "smithy.api#documentation": "

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

" } }, "com.amazonaws.apigateway#PutIntegration": { @@ -8300,7 +8380,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8308,7 +8388,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a put integration request's resource ID.

", + "smithy.api#documentation": "

Specifies a put integration request's resource ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8316,7 +8396,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a put integration request's HTTP method.

", + "smithy.api#documentation": "

Specifies the HTTP method for the integration.

", "smithy.api#httpLabel": {}, "smithy.api#jsonName": "requestHttpMethod", "smithy.api#required": {} @@ -8325,21 +8405,21 @@ "type": { "target": "com.amazonaws.apigateway#IntegrationType", "traits": { - "smithy.api#documentation": "

[Required] Specifies a put integration input's type.

", + "smithy.api#documentation": "

Specifies a put integration input's type.

", "smithy.api#required": {} } }, "integrationHttpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required.

", + "smithy.api#documentation": "

The HTTP method for the integration.

", "smithy.api#jsonName": "httpMethod" } }, "uri": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

\n" + "smithy.api#documentation": "

Specifies Uniform Resource Identifier (URI) of the integration endpoint. For HTTP or\n HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the\n RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK,\n or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the\n URI is not used for routing. For AWS or AWS_PROXY integrations, the URI is of the form\n arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here,\n {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated\n Amazon Web Services service (e.g., s3); and {subdomain} is a designated subdomain supported by certain Amazon Web Services\n service for fast host-name lookup. action can be used for an Amazon Web Services service action-based API,\n using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to\n a supported action {name} plus any required input parameters. Alternatively, path can be used\n for an Amazon Web Services service path-based API. The ensuing service_api refers to the path to an Amazon Web Services\n service resource, including the region of the integrated Amazon Web Services service, if applicable. For\n example, for integration with the S3 API of GetObject, the uri can be either\n arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or\n arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}.

" } }, "connectionType": { @@ -8351,7 +8431,7 @@ "connectionId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

" + "smithy.api#documentation": "

The ID of the VpcLink used for the integration. Specify this value only if you specify VPC_LINK as the connection type.

" } }, "credentials": { @@ -8375,7 +8455,7 @@ "passthroughBehavior": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.\n

\n " + "smithy.api#documentation": "

Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.\n

" } }, "cacheNamespace": { @@ -8387,13 +8467,13 @@ "cacheKeyParameters": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

" + "smithy.api#documentation": "

A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

" } }, "contentHandling": { "target": "com.amazonaws.apigateway#ContentHandlingStrategy", "traits": { - "smithy.api#documentation": "

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

" + "smithy.api#documentation": "

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

" } }, "timeoutInMillis": { @@ -8453,7 +8533,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8461,7 +8541,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a put integration response request's resource identifier.

", + "smithy.api#documentation": "

Specifies a put integration response request's resource identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8469,7 +8549,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a put integration response request's HTTP method.

", + "smithy.api#documentation": "

Specifies a put integration response request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8477,7 +8557,7 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] Specifies the status code that is used to map the integration response to an existing MethodResponse.

", + "smithy.api#documentation": "

Specifies the status code that is used to map the integration response to an existing MethodResponse.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8503,7 +8583,7 @@ "contentHandling": { "target": "com.amazonaws.apigateway#ContentHandlingStrategy", "traits": { - "smithy.api#documentation": "

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

" + "smithy.api#documentation": "

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

\n \n

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

" } } }, @@ -8540,7 +8620,7 @@ } ], "traits": { - "smithy.api#documentation": "

Add a method to an existing Resource resource.

", + "smithy.api#documentation": "

Add a method to an existing Resource resource.

", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", @@ -8554,7 +8634,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8562,7 +8642,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the new Method resource.

", + "smithy.api#documentation": "

The Resource identifier for the new Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8570,7 +8650,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies the method request's HTTP method type.

", + "smithy.api#documentation": "

Specifies the method request's HTTP method type.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8578,20 +8658,20 @@ "authorizationType": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

", + "smithy.api#documentation": "

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

", "smithy.api#required": {} } }, "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is generated by API Gateway when you created the authorizer.

" + "smithy.api#documentation": "

Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is generated by API Gateway when you created the authorizer.

" } }, "apiKeyRequired": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the method required a valid ApiKey.

" + "smithy.api#documentation": "

Specifies whether the method required a valid ApiKey.

" } }, "operationName": { @@ -8603,19 +8683,19 @@ "requestParameters": { "target": "com.amazonaws.apigateway#MapOfStringToBoolean", "traits": { - "smithy.api#documentation": "

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.

" + "smithy.api#documentation": "

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.

" } }, "requestModels": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value.

" + "smithy.api#documentation": "

Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value.

" } }, "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of a RequestValidator for validating the method request.

" + "smithy.api#documentation": "

The identifier of a RequestValidator for validating the method request.

" } }, "authorizationScopes": { @@ -8626,7 +8706,7 @@ } }, "traits": { - "smithy.api#documentation": "

Request to add a method to an existing Resource resource.

" + "smithy.api#documentation": "

Request to add a method to an existing Resource resource.

" } }, "com.amazonaws.apigateway#PutMethodResponse": { @@ -8658,7 +8738,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a MethodResponse to an existing Method resource.

", + "smithy.api#documentation": "

Adds a MethodResponse to an existing Method resource.

", "smithy.api#http": { "method": "PUT", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", @@ -8672,7 +8752,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8680,7 +8760,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the Method resource.

", + "smithy.api#documentation": "

The Resource identifier for the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8688,7 +8768,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The HTTP verb of the Method resource.

", + "smithy.api#documentation": "

The HTTP verb of the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8696,7 +8776,7 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] The method response's status code.

", + "smithy.api#documentation": "

The method response's status code.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8710,12 +8790,12 @@ "responseModels": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

" + "smithy.api#documentation": "

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

" } } }, "traits": { - "smithy.api#documentation": "

Request to add a MethodResponse to an existing Method resource.

" + "smithy.api#documentation": "

Request to add a MethodResponse to an existing Method resource.

" } }, "com.amazonaws.apigateway#PutMode": { @@ -8776,7 +8856,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8798,14 +8878,14 @@ "parameters": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.

", + "smithy.api#documentation": "

Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.

", "smithy.api#httpQueryParams": {} } }, "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { - "smithy.api#documentation": "

[Required] The PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.

", + "smithy.api#documentation": "

The PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8846,7 +8926,7 @@ "offset": { "target": "com.amazonaws.apigateway#Integer", "traits": { - "smithy.api#documentation": "

The day that a time period starts. For example, with a time period of WEEK, an offset of 0 starts on Sunday, and an offset of 1 starts on Monday.

" + "smithy.api#documentation": "

The number of requests subtracted from the given limit in the initial time period.

" } }, "period": { @@ -8866,19 +8946,19 @@ "id": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of this RequestValidator.

" + "smithy.api#documentation": "

The identifier of this RequestValidator.

" } }, "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The name of this RequestValidator

" + "smithy.api#documentation": "

The name of this RequestValidator

" } }, "validateRequestBody": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

" + "smithy.api#documentation": "

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

" } }, "validateRequestParameters": { @@ -8889,7 +8969,7 @@ } }, "traits": { - "smithy.api#documentation": "

A set of validation rules for incoming Method requests.

\n
\n

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

\n
\n
Enable Basic Request Validation in API Gateway
" + "smithy.api#documentation": "

A set of validation rules for incoming Method requests.

" } }, "com.amazonaws.apigateway#RequestValidators": { @@ -8911,7 +8991,7 @@ } }, "traits": { - "smithy.api#documentation": "

A collection of RequestValidator resources of a given RestApi.

\n
\n

In OpenAPI, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.

\n
\n
Enable Basic Request Validation in API Gateway
" + "smithy.api#documentation": "

A collection of RequestValidator resources of a given RestApi.

" } }, "com.amazonaws.apigateway#Resource": { @@ -8944,12 +9024,12 @@ "resourceMethods": { "target": "com.amazonaws.apigateway#MapOfMethod", "traits": { - "smithy.api#documentation": "

Gets an API resource's method of a given HTTP verb.

\n
\n

The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request.

\n

Example: Get the GET method of an API resource

\n
Request
\n
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1\nContent-Type: application/json\nHost: apigateway.us-east-1.amazonaws.com\nX-Amz-Date: 20170223T031827Z\nAuthorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
\n
Response
\n
{\n  \"_links\": {\n    \"curies\": [\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html\",\n        \"name\": \"integration\",\n        \"templated\": true\n      },\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html\",\n        \"name\": \"integrationresponse\",\n        \"templated\": true\n      },\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html\",\n        \"name\": \"method\",\n        \"templated\": true\n      },\n      {\n        \"href\": \"https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html\",\n        \"name\": \"methodresponse\",\n        \"templated\": true\n      }\n    ],\n    \"self\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\",\n      \"name\": \"GET\",\n      \"title\": \"GET\"\n    },\n    \"integration:put\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n    },\n    \"method:delete\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n    },\n    \"method:integration\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n    },\n    \"method:responses\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n      \"name\": \"200\",\n      \"title\": \"200\"\n    },\n    \"method:update\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET\"\n    },\n    \"methodresponse:put\": {\n      \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}\",\n      \"templated\": true\n    }\n  },\n  \"apiKeyRequired\": false,\n  \"authorizationType\": \"NONE\",\n  \"httpMethod\": \"GET\",\n  \"_embedded\": {\n    \"method:integration\": {\n      \"_links\": {\n        \"self\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n        },\n        \"integration:delete\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n        },\n        \"integration:responses\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n          \"name\": \"200\",\n          \"title\": \"200\"\n        },\n        \"integration:update\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration\"\n        },\n        \"integrationresponse:put\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}\",\n          \"templated\": true\n        }\n      },\n      \"cacheKeyParameters\": [],\n      \"cacheNamespace\": \"3kzxbg5sa2\",\n      \"credentials\": \"arn:aws:iam::123456789012:role/apigAwsProxyRole\",\n      \"httpMethod\": \"POST\",\n      \"passthroughBehavior\": \"WHEN_NO_MATCH\",\n      \"requestParameters\": {\n        \"integration.request.header.Content-Type\": \"'application/x-amz-json-1.1'\"\n      },\n      \"requestTemplates\": {\n        \"application/json\": \"{\\n}\"\n      },\n      \"type\": \"AWS\",\n      \"uri\": \"arn:aws:apigateway:us-east-1:kinesis:action/ListStreams\",\n      \"_embedded\": {\n        \"integration:responses\": {\n          \"_links\": {\n            \"self\": {\n              \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\",\n              \"name\": \"200\",\n              \"title\": \"200\"\n            },\n            \"integrationresponse:delete\": {\n              \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n            },\n            \"integrationresponse:update\": {\n              \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200\"\n            }\n          },\n          \"responseParameters\": {\n            \"method.response.header.Content-Type\": \"'application/xml'\"\n          },\n          \"responseTemplates\": {\n            \"application/json\": \"$util.urlDecode(\\\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\\\")\\n\"\n          },\n          \"statusCode\": \"200\"\n        }\n      }\n    },\n    \"method:responses\": {\n      \"_links\": {\n        \"self\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\",\n          \"name\": \"200\",\n          \"title\": \"200\"\n        },\n        \"methodresponse:delete\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n        },\n        \"methodresponse:update\": {\n          \"href\": \"/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200\"\n        }\n      },\n      \"responseModels\": {\n        \"application/json\": \"Empty\"\n      },\n      \"responseParameters\": {\n        \"method.response.header.Content-Type\": false\n      },\n      \"statusCode\": \"200\"\n    }\n  }\n}
\n

If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS.

\n
\n
\n
" + "smithy.api#documentation": "

Gets an API resource's method of a given HTTP verb.

" } } }, "traits": { - "smithy.api#documentation": "

Represents an API resource.

\n
\n Create an API\n
" + "smithy.api#documentation": "

Represents an API resource.

" } }, "com.amazonaws.apigateway#Resources": { @@ -8971,7 +9051,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of Resource resources.

\n
\n Create an API\n
" + "smithy.api#documentation": "

Represents a collection of Resource resources.

" } }, "com.amazonaws.apigateway#RestApi": { @@ -9016,7 +9096,7 @@ "binaryMediaTypes": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

" + "smithy.api#documentation": "

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

" } }, "minimumCompressionSize": { @@ -9028,19 +9108,19 @@ "apiKeySource": { "target": "com.amazonaws.apigateway#ApiKeySourceType", "traits": { - "smithy.api#documentation": "

The source of the API key for metering requests according to a usage plan. Valid values are:

" + "smithy.api#documentation": "

The source of the API key for metering requests according to a usage plan. Valid values\n are: >HEADER to read the API key from the X-API-Key header of a\n request. AUTHORIZER to read the API key from the UsageIdentifierKey\n from a custom authorizer.

" } }, "endpointConfiguration": { "target": "com.amazonaws.apigateway#EndpointConfiguration", "traits": { - "smithy.api#documentation": "

The endpoint configuration of this RestApi showing the endpoint types of the API.

" + "smithy.api#documentation": "

The endpoint configuration of this RestApi showing the endpoint types of the API.

" } }, "policy": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

" + "smithy.api#documentation": "

A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

" } }, "tags": { @@ -9052,12 +9132,12 @@ "disableExecuteApiEndpoint": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

" + "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint.\n By default, clients can invoke your API with the default\n https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a\n custom domain name to invoke your API, disable the default endpoint.

" } } }, "traits": { - "smithy.api#documentation": "

Represents a REST API.

\n
\n Create an API\n
" + "smithy.api#documentation": "

Represents a REST API.

" } }, "com.amazonaws.apigateway#RestApis": { @@ -9079,7 +9159,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.

\n
\n Create an API\n
" + "smithy.api#documentation": "

Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.

" } }, "com.amazonaws.apigateway#SdkConfigurationProperty": { @@ -9088,31 +9168,31 @@ "name": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The name of a an SdkType configuration property.

" + "smithy.api#documentation": "

The name of a an SdkType configuration property.

" } }, "friendlyName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The user-friendly name of an SdkType configuration property.

" + "smithy.api#documentation": "

The user-friendly name of an SdkType configuration property.

" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description of an SdkType configuration property.

" + "smithy.api#documentation": "

The description of an SdkType configuration property.

" } }, "required": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

" + "smithy.api#documentation": "

A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

" } }, "defaultValue": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The default value of an SdkType configuration property.

" + "smithy.api#documentation": "

The default value of an SdkType configuration property.

" } } }, @@ -9140,13 +9220,13 @@ "body": { "target": "com.amazonaws.apigateway#Blob", "traits": { - "smithy.api#documentation": "

The binary blob response to GetSdk, which contains the generated SDK.

", + "smithy.api#documentation": "

The binary blob response to GetSdk, which contains the generated SDK.

", "smithy.api#httpPayload": {} } } }, "traits": { - "smithy.api#documentation": "

The binary blob response to GetSdk, which contains the generated SDK.

" + "smithy.api#documentation": "

The binary blob response to GetSdk, which contains the generated SDK.

" } }, "com.amazonaws.apigateway#SdkType": { @@ -9155,25 +9235,25 @@ "id": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of an SdkType instance.

" + "smithy.api#documentation": "

The identifier of an SdkType instance.

" } }, "friendlyName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The user-friendly name of an SdkType instance.

" + "smithy.api#documentation": "

The user-friendly name of an SdkType instance.

" } }, "description": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The description of an SdkType.

" + "smithy.api#documentation": "

The description of an SdkType.

" } }, "configurationProperties": { "target": "com.amazonaws.apigateway#ListOfSdkConfigurationProperty", "traits": { - "smithy.api#documentation": "

A list of configuration properties of an SdkType.

" + "smithy.api#documentation": "

A list of configuration properties of an SdkType.

" } } }, @@ -9193,7 +9273,7 @@ } }, "traits": { - "smithy.api#documentation": "

The collection of SdkType instances.

" + "smithy.api#documentation": "

The collection of SdkType instances.

" } }, "com.amazonaws.apigateway#SecurityPolicy": { @@ -9236,7 +9316,7 @@ "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of the Deployment that the stage points to.

" + "smithy.api#documentation": "

The identifier of the Deployment that the stage points to.

" } }, "clientCertificateId": { @@ -9278,13 +9358,13 @@ "methodSettings": { "target": "com.amazonaws.apigateway#MapOfMethodSettings", "traits": { - "smithy.api#documentation": "

A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\\*/\\* for overriding all methods in the stage.

" + "smithy.api#documentation": "

A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\\*/\\* for overriding all methods in the stage.

" } }, "variables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A map that defines the stage variables for a Stage resource. Variable names can\n have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

" + "smithy.api#documentation": "

A map that defines the stage variables for a Stage resource. Variable names can\n have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

" } }, "documentationVersion": { @@ -9308,13 +9388,13 @@ "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" + "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" } }, "webAclArn": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The ARN of the WebAcl associated with the Stage.

" + "smithy.api#documentation": "

The ARN of the WebAcl associated with the Stage.

" } }, "tags": { @@ -9337,7 +9417,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

\n
\n Deploy an API\n
" + "smithy.api#documentation": "

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

" } }, "com.amazonaws.apigateway#StageKey": { @@ -9346,7 +9426,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The string identifier of the associated RestApi.

" + "smithy.api#documentation": "

The string identifier of the associated RestApi.

" } }, "stageName": { @@ -9371,7 +9451,7 @@ } }, "traits": { - "smithy.api#documentation": "

A list of Stage resources that are associated with the ApiKey resource.

\n
Deploying API in Stages
" + "smithy.api#documentation": "

A list of Stage resources that are associated with the ApiKey resource.

" } }, "com.amazonaws.apigateway#StatusCode": { @@ -9389,6 +9469,9 @@ "input": { "target": "com.amazonaws.apigateway#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -9424,7 +9507,7 @@ "resourceArn": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The ARN of a resource that can be tagged.

", + "smithy.api#documentation": "

The ARN of a resource that can be tagged.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9432,7 +9515,7 @@ "tags": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

[Required] The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

", + "smithy.api#documentation": "

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

", "smithy.api#required": {} } } @@ -9461,12 +9544,12 @@ "value": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The Apache Velocity Template Language (VTL) template content used for the template resource.

" + "smithy.api#documentation": "

The Apache Velocity Template Language (VTL) template content used for the template resource.

" } } }, "traits": { - "smithy.api#documentation": "

Represents a mapping template used to transform a payload.

\n
\n Mapping Templates\n
" + "smithy.api#documentation": "

Represents a mapping template used to transform a payload.

" } }, "com.amazonaws.apigateway#TestInvokeAuthorizer": { @@ -9492,7 +9575,7 @@ } ], "traits": { - "smithy.api#documentation": "

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

\n
\n Use Lambda Function as Authorizer\n Use Cognito User Pool as Authorizer\n
", + "smithy.api#documentation": "

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", @@ -9506,7 +9589,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9514,7 +9597,7 @@ "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a test invoke authorizer request's Authorizer ID.

", + "smithy.api#documentation": "

Specifies a test invoke authorizer request's Authorizer ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9522,42 +9605,42 @@ "headers": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

[Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.

" + "smithy.api#documentation": "

A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.

" } }, "multiValueHeaders": { "target": "com.amazonaws.apigateway#MapOfStringToList", "traits": { - "smithy.api#documentation": "

[Optional] The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.

" + "smithy.api#documentation": "

The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.

" } }, "pathWithQueryString": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

" + "smithy.api#documentation": "

The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

" } }, "body": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Optional] The simulated request body of an incoming invocation request.

" + "smithy.api#documentation": "

The simulated request body of an incoming invocation request.

" } }, "stageVariables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A key-value map of stage variables to simulate an invocation on a deployed Stage.

" + "smithy.api#documentation": "

A key-value map of stage variables to simulate an invocation on a deployed Stage.

" } }, "additionalContext": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

[Optional] A key-value map of additional context variables.

" + "smithy.api#documentation": "

A key-value map of additional context variables.

" } } }, "traits": { - "smithy.api#documentation": "

Make a request to simulate the execution of an Authorizer.

" + "smithy.api#documentation": "

Make a request to simulate the invocation of an Authorizer.

" } }, "com.amazonaws.apigateway#TestInvokeAuthorizerResponse": { @@ -9584,27 +9667,30 @@ "principalId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The principal identity returned by the Authorizer

" + "smithy.api#documentation": "

The principal identity returned by the Authorizer

" } }, "policy": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The JSON policy document returned by the Authorizer

" + "smithy.api#documentation": "

The JSON policy document returned by the Authorizer

" } }, "authorization": { - "target": "com.amazonaws.apigateway#MapOfStringToList" + "target": "com.amazonaws.apigateway#MapOfStringToList", + "traits": { + "smithy.api#documentation": "

The authorization response.

" + } }, "claims": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

" + "smithy.api#documentation": "

The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

" } } }, "traits": { - "smithy.api#documentation": "

Represents the response of the test invoke request for a custom Authorizer

" + "smithy.api#documentation": "

Represents the response of the test invoke request for a custom Authorizer

" } }, "com.amazonaws.apigateway#TestInvokeMethod": { @@ -9630,7 +9716,7 @@ } ], "traits": { - "smithy.api#documentation": "

Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.

", + "smithy.api#documentation": "

Simulate the invocation of a Method in your RestApi with headers, parameters, and an incoming request body.

", "smithy.api#http": { "method": "POST", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", @@ -9644,7 +9730,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9652,7 +9738,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a test invoke method request's resource ID.

", + "smithy.api#documentation": "

Specifies a test invoke method request's resource ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9660,7 +9746,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies a test invoke method request's HTTP method.

", + "smithy.api#documentation": "

Specifies a test invoke method request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9692,18 +9778,18 @@ "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.

" + "smithy.api#documentation": "

A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.

" } }, "stageVariables": { "target": "com.amazonaws.apigateway#MapOfStringToString", "traits": { - "smithy.api#documentation": "

A key-value map of stage variables to simulate an invocation on a deployed Stage.

" + "smithy.api#documentation": "

A key-value map of stage variables to simulate an invocation on a deployed Stage.

" } } }, "traits": { - "smithy.api#documentation": "

Make a request to simulate the execution of a Method.

" + "smithy.api#documentation": "

Make a request to simulate the invocation of a Method.

" } }, "com.amazonaws.apigateway#TestInvokeMethodResponse": { @@ -9747,7 +9833,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the response of the test invoke request in the HTTP method.

\n
\n Test API using the API Gateway console\n
" + "smithy.api#documentation": "

Represents the response of the test invoke request in the HTTP method.

" } }, "com.amazonaws.apigateway#ThrottleSettings": { @@ -9779,9 +9865,12 @@ "insecureSkipVerification": { "target": "com.amazonaws.apigateway#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is\n issued by a supported certificate authority. This isn’t recommended, but it enables you to\n use certificates that are signed by private certificate authorities, or certificates\n that are self-signed. If enabled, API Gateway still performs basic certificate\n validation, which includes checking the certificate's expiration date, hostname, and\n presence of a root certificate authority. Supported only for HTTP and\n HTTP_PROXY integrations.

" + "smithy.api#documentation": "

Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is\n issued by a supported certificate authority. This isn’t recommended, but it enables you to\n use certificates that are signed by private certificate authorities, or certificates\n that are self-signed. If enabled, API Gateway still performs basic certificate\n validation, which includes checking the certificate's expiration date, hostname, and\n presence of a root certificate authority. Supported only for HTTP and\n HTTP_PROXY integrations.

" } } + }, + "traits": { + "smithy.api#documentation": "

Specifies the TLS configuration for an integration.

" } }, "com.amazonaws.apigateway#TooManyRequestsException": { @@ -9840,6 +9929,9 @@ "input": { "target": "com.amazonaws.apigateway#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigateway#BadRequestException" @@ -9875,7 +9967,7 @@ "resourceArn": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The ARN of a resource that can be tagged.

", + "smithy.api#documentation": "

The ARN of a resource that can be tagged.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9883,7 +9975,7 @@ "tagKeys": { "target": "com.amazonaws.apigateway#ListOfString", "traits": { - "smithy.api#documentation": "

[Required] The Tag keys to delete.

", + "smithy.api#documentation": "

The Tag keys to delete.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } @@ -9922,7 +10014,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about the current Account resource.

", + "smithy.api#documentation": "

Changes information about the current Account resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/account", @@ -9936,12 +10028,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to change information about the current Account resource.

" + "smithy.api#documentation": "

Requests API Gateway to change information about the current Account resource.

" } }, "com.amazonaws.apigateway#UpdateApiKey": { @@ -9973,7 +10065,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about an ApiKey resource.

", + "smithy.api#documentation": "

Changes information about an ApiKey resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/apikeys/{apiKey}", @@ -9987,7 +10079,7 @@ "apiKey": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the ApiKey resource to be updated.

", + "smithy.api#documentation": "

The identifier of the ApiKey resource to be updated.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -9995,12 +10087,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

A request to change information about an ApiKey resource.

" + "smithy.api#documentation": "

A request to change information about an ApiKey resource.

" } }, "com.amazonaws.apigateway#UpdateAuthorizer": { @@ -10032,7 +10124,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing Authorizer resource.

\n
AWS CLI
", + "smithy.api#documentation": "

Updates an existing Authorizer resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", @@ -10046,7 +10138,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10054,7 +10146,7 @@ "authorizerId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Authorizer resource.

", + "smithy.api#documentation": "

The identifier of the Authorizer resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10062,12 +10154,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Request to update an existing Authorizer resource.

" + "smithy.api#documentation": "

Request to update an existing Authorizer resource.

" } }, "com.amazonaws.apigateway#UpdateBasePathMapping": { @@ -10099,7 +10191,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about the BasePathMapping resource.

", + "smithy.api#documentation": "

Changes information about the BasePathMapping resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", @@ -10113,7 +10205,7 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The domain name of the BasePathMapping resource to change.

", + "smithy.api#documentation": "

The domain name of the BasePathMapping resource to change.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10121,7 +10213,7 @@ "basePath": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The base path of the BasePathMapping resource to change.

\n

To specify an empty base path, set this parameter to '(none)'.

", + "smithy.api#documentation": "

The base path of the BasePathMapping resource to change.

\n

To specify an empty base path, set this parameter to '(none)'.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10129,12 +10221,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

A request to change information about the BasePathMapping resource.

" + "smithy.api#documentation": "

A request to change information about the BasePathMapping resource.

" } }, "com.amazonaws.apigateway#UpdateClientCertificate": { @@ -10166,7 +10258,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about an ClientCertificate resource.

", + "smithy.api#documentation": "

Changes information about an ClientCertificate resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/clientcertificates/{clientCertificateId}", @@ -10180,7 +10272,7 @@ "clientCertificateId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the ClientCertificate resource to be updated.

", + "smithy.api#documentation": "

The identifier of the ClientCertificate resource to be updated.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10188,12 +10280,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

A request to change information about an ClientCertificate resource.

" + "smithy.api#documentation": "

A request to change information about an ClientCertificate resource.

" } }, "com.amazonaws.apigateway#UpdateDeployment": { @@ -10228,7 +10320,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about a Deployment resource.

", + "smithy.api#documentation": "

Changes information about a Deployment resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/deployments/{deploymentId}", @@ -10242,7 +10334,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10250,7 +10342,7 @@ "deploymentId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The replacement identifier for the Deployment resource to change information about.

", + "smithy.api#documentation": "

The replacement identifier for the Deployment resource to change information about.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10258,12 +10350,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to change information about a Deployment resource.

" + "smithy.api#documentation": "

Requests API Gateway to change information about a Deployment resource.

" } }, "com.amazonaws.apigateway#UpdateDocumentationPart": { @@ -10295,6 +10387,7 @@ } ], "traits": { + "smithy.api#documentation": "

Updates a documentation part.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", @@ -10308,7 +10401,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10316,7 +10409,7 @@ "documentationPartId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the to-be-updated documentation part.

", + "smithy.api#documentation": "

The identifier of the to-be-updated documentation part.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10324,7 +10417,7 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, @@ -10361,6 +10454,7 @@ } ], "traits": { + "smithy.api#documentation": "

Updates a documentation version.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", @@ -10374,7 +10468,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi..

", + "smithy.api#documentation": "

The string identifier of the associated RestApi..

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10382,7 +10476,7 @@ "documentationVersion": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The version identifier of the to-be-updated documentation version.

", + "smithy.api#documentation": "

The version identifier of the to-be-updated documentation version.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10390,7 +10484,7 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, @@ -10427,7 +10521,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about the DomainName resource.

", + "smithy.api#documentation": "

Changes information about the DomainName resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/domainnames/{domainName}", @@ -10441,7 +10535,7 @@ "domainName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the DomainName resource to be changed.

", + "smithy.api#documentation": "

The name of the DomainName resource to be changed.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10449,12 +10543,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

A request to change information about the DomainName resource.

" + "smithy.api#documentation": "

A request to change information about the DomainName resource.

" } }, "com.amazonaws.apigateway#UpdateGatewayResponse": { @@ -10486,7 +10580,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a GatewayResponse of a specified response type on the given RestApi.

", + "smithy.api#documentation": "

Updates a GatewayResponse of a specified response type on the given RestApi.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", @@ -10500,7 +10594,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10508,7 +10602,7 @@ "responseType": { "target": "com.amazonaws.apigateway#GatewayResponseType", "traits": { - "smithy.api#documentation": "

[Required]

The response type of the associated GatewayResponse.

", + "smithy.api#documentation": "

The response type of the associated GatewayResponse.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10516,12 +10610,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Updates a GatewayResponse of a specified response type on the given RestApi.

" + "smithy.api#documentation": "

Updates a GatewayResponse of a specified response type on the given RestApi.

" } }, "com.amazonaws.apigateway#UpdateIntegration": { @@ -10567,7 +10661,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10575,7 +10669,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Represents an update integration request's resource identifier.

", + "smithy.api#documentation": "

Represents an update integration request's resource identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10583,7 +10677,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Represents an update integration request's HTTP method.

", + "smithy.api#documentation": "

Represents an update integration request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10591,7 +10685,7 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, @@ -10642,7 +10736,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10650,7 +10744,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies an update integration response request's resource identifier.

", + "smithy.api#documentation": "

Specifies an update integration response request's resource identifier.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10658,7 +10752,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] Specifies an update integration response request's HTTP method.

", + "smithy.api#documentation": "

Specifies an update integration response request's HTTP method.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10666,7 +10760,7 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] Specifies an update integration response request's status code.

", + "smithy.api#documentation": "

Specifies an update integration response request's status code.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10674,7 +10768,7 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, @@ -10708,7 +10802,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing Method resource.

", + "smithy.api#documentation": "

Updates an existing Method resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", @@ -10722,7 +10816,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10730,7 +10824,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the Method resource.

", + "smithy.api#documentation": "

The Resource identifier for the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10738,7 +10832,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The HTTP verb of the Method resource.

", + "smithy.api#documentation": "

The HTTP verb of the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10746,12 +10840,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Request to update an existing Method resource.

" + "smithy.api#documentation": "

Request to update an existing Method resource.

" } }, "com.amazonaws.apigateway#UpdateMethodResponse": { @@ -10783,7 +10877,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing MethodResponse resource.

", + "smithy.api#documentation": "

Updates an existing MethodResponse resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", @@ -10797,7 +10891,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10805,7 +10899,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Resource identifier for the MethodResponse resource.

", + "smithy.api#documentation": "

The Resource identifier for the MethodResponse resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10813,7 +10907,7 @@ "httpMethod": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The HTTP verb of the Method resource.

", + "smithy.api#documentation": "

The HTTP verb of the Method resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10821,7 +10915,7 @@ "statusCode": { "target": "com.amazonaws.apigateway#StatusCode", "traits": { - "smithy.api#documentation": "

[Required] The status code for the MethodResponse resource.

", + "smithy.api#documentation": "

The status code for the MethodResponse resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10829,12 +10923,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

A request to update an existing MethodResponse resource.

" + "smithy.api#documentation": "

A request to update an existing MethodResponse resource.

" } }, "com.amazonaws.apigateway#UpdateModel": { @@ -10880,7 +10974,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10888,7 +10982,7 @@ "modelName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the model to update.

", + "smithy.api#documentation": "

The name of the model to update.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10896,12 +10990,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Request to update an existing model in an existing RestApi resource.

" + "smithy.api#documentation": "

Request to update an existing model in an existing RestApi resource.

" } }, "com.amazonaws.apigateway#UpdateRequestValidator": { @@ -10933,7 +11027,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a RequestValidator of a given RestApi.

", + "smithy.api#documentation": "

Updates a RequestValidator of a given RestApi.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", @@ -10947,7 +11041,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10955,7 +11049,7 @@ "requestValidatorId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of RequestValidator to be updated.

", + "smithy.api#documentation": "

The identifier of RequestValidator to be updated.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10963,12 +11057,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Updates a RequestValidator of a given RestApi.

" + "smithy.api#documentation": "

Updates a RequestValidator of a given RestApi.

" } }, "com.amazonaws.apigateway#UpdateResource": { @@ -10997,7 +11091,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about a Resource resource.

", + "smithy.api#documentation": "

Changes information about a Resource resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/resources/{resourceId}", @@ -11011,7 +11105,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11019,7 +11113,7 @@ "resourceId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the Resource resource.

", + "smithy.api#documentation": "

The identifier of the Resource resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11027,12 +11121,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Request to change information about a Resource resource.

" + "smithy.api#documentation": "

Request to change information about a Resource resource.

" } }, "com.amazonaws.apigateway#UpdateRestApi": { @@ -11078,7 +11172,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11086,12 +11180,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Request to update an existing RestApi resource in your collection.

" + "smithy.api#documentation": "

Request to update an existing RestApi resource in your collection.

" } }, "com.amazonaws.apigateway#UpdateStage": { @@ -11123,7 +11217,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes information about a Stage resource.

", + "smithy.api#documentation": "

Changes information about a Stage resource.

", "smithy.api#http": { "method": "PATCH", "uri": "/restapis/{restApiId}/stages/{stageName}", @@ -11137,7 +11231,7 @@ "restApiId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The string identifier of the associated RestApi.

", + "smithy.api#documentation": "

The string identifier of the associated RestApi.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11145,7 +11239,7 @@ "stageName": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The name of the Stage resource to change information about.

", + "smithy.api#documentation": "

The name of the Stage resource to change information about.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11153,12 +11247,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Requests API Gateway to change information about a Stage resource.

" + "smithy.api#documentation": "

Requests API Gateway to change information about a Stage resource.

" } }, "com.amazonaws.apigateway#UpdateUsage": { @@ -11241,7 +11335,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the to-be-updated usage plan.

", + "smithy.api#documentation": "

The Id of the to-be-updated usage plan.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11249,7 +11343,7 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, @@ -11263,7 +11357,7 @@ "usagePlanId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The Id of the usage plan associated with the usage data.

", + "smithy.api#documentation": "

The Id of the usage plan associated with the usage data.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11271,7 +11365,7 @@ "keyId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.

", + "smithy.api#documentation": "

The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11279,7 +11373,7 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, @@ -11316,7 +11410,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing VpcLink of a specified identifier.

", + "smithy.api#documentation": "

Updates an existing VpcLink of a specified identifier.

", "smithy.api#http": { "method": "PATCH", "uri": "/vpclinks/{vpcLinkId}", @@ -11330,7 +11424,7 @@ "vpcLinkId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

[Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", + "smithy.api#documentation": "

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11338,12 +11432,12 @@ "patchOperations": { "target": "com.amazonaws.apigateway#ListOfPatchOperation", "traits": { - "smithy.api#documentation": "

A list of update operations to be applied to the specified resource and in the order specified in this list.

" + "smithy.api#documentation": "

For more information about supported patch operations, see Patch Operations.

" } } }, "traits": { - "smithy.api#documentation": "

Updates an existing VpcLink of a specified identifier.

" + "smithy.api#documentation": "

Updates an existing VpcLink of a specified identifier.

" } }, "com.amazonaws.apigateway#Usage": { @@ -11383,7 +11477,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the usage data of a usage plan.

\n
\n
\n Create and Use Usage Plans,\n Manage Usage in a Usage Plan\n
" + "smithy.api#documentation": "

Represents the usage data of a usage plan.

" } }, "com.amazonaws.apigateway#UsagePlan": { @@ -11392,7 +11486,7 @@ "id": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of a UsagePlan resource.

" + "smithy.api#documentation": "

The identifier of a UsagePlan resource.

" } }, "name": { @@ -11416,7 +11510,7 @@ "throttle": { "target": "com.amazonaws.apigateway#ThrottleSettings", "traits": { - "smithy.api#documentation": "

Map containing method level throttling information for API stage in a usage plan.

" + "smithy.api#documentation": "

A map containing method level throttling information for API stage in a usage plan.

" } }, "quota": { @@ -11439,7 +11533,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a usage plan used to specify who can assess associated API stages. Optionally, target request rate and quota limits can be set. \n In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. \n Consider using AWS Budgets to monitor costs \n and AWS WAF to manage API requests.

\n
\n

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

\n
\n
\n Create and Use Usage Plans\n
" + "smithy.api#documentation": "

Represents a usage plan used to specify who can assess associated API stages. Optionally, target request rate and quota limits can be set. \n In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. \n Consider using Amazon Web Services Budgets to monitor costs \n and WAF to manage API requests.

" } }, "com.amazonaws.apigateway#UsagePlanKey": { @@ -11471,7 +11565,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a usage plan key to identify a plan customer.

\n
\n

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.

\n
\"\n
\n Create and Use Usage Plans\n
" + "smithy.api#documentation": "

Represents a usage plan key to identify a plan customer.

" } }, "com.amazonaws.apigateway#UsagePlanKeys": { @@ -11493,7 +11587,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.

\n
\n Create and Use Usage Plans\n
" + "smithy.api#documentation": "

Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.

" } }, "com.amazonaws.apigateway#UsagePlans": { @@ -11515,7 +11609,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents a collection of usage plans for an AWS account.

\n
\n Create and Use Usage Plans\n
" + "smithy.api#documentation": "

Represents a collection of usage plans for an AWS account.

" } }, "com.amazonaws.apigateway#VpcLink": { @@ -11524,7 +11618,7 @@ "id": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

" + "smithy.api#documentation": "

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

" } }, "name": { @@ -11548,7 +11642,7 @@ "status": { "target": "com.amazonaws.apigateway#VpcLinkStatus", "traits": { - "smithy.api#documentation": "

The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

" + "smithy.api#documentation": "

The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

" } }, "statusMessage": { @@ -11565,7 +11659,7 @@ } }, "traits": { - "smithy.api#documentation": "

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

\n
\n

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK. The integration uses the connectionId property to identify the VpcLink used.

\n
" + "smithy.api#documentation": "

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

" } }, "com.amazonaws.apigateway#VpcLinkStatus": { @@ -11610,7 +11704,7 @@ } }, "traits": { - "smithy.api#documentation": "

The collection of VPC links under the caller's account in a region.

\n
\n Getting Started with Private Integrations, \nSet up Private Integrations \n
" + "smithy.api#documentation": "

The collection of VPC links under the caller's account in a region.

" } } } diff --git a/codegen/sdk-codegen/aws-models/app-mesh.json b/codegen/sdk-codegen/aws-models/app-mesh.json index 9b2500c5a0e..ec75109b23b 100644 --- a/codegen/sdk-codegen/aws-models/app-mesh.json +++ b/codegen/sdk-codegen/aws-models/app-mesh.json @@ -26,6 +26,22 @@ }, "com.amazonaws.appmesh#AppMesh": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "App Mesh", + "arnNamespace": "appmesh", + "cloudFormationName": "AppMesh", + "cloudTrailEventSource": "appmesh.amazonaws.com", + "endpointPrefix": "appmesh" + }, + "aws.auth#sigv4": { + "name": "appmesh" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

App Mesh is a service mesh based on the Envoy proxy that makes it easy to\n monitor and control microservices. App Mesh standardizes how your microservices\n communicate, giving you end-to-end visibility and helping to ensure high availability for\n your applications.

\n

App Mesh gives you consistent visibility and network traffic controls for\n every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and\n Amazon EC2.

\n \n

App Mesh supports microservice applications that use service discovery\n naming for their components. For more information about service discovery on Amazon ECS, see Service\n Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes\n kube-dns and coredns are supported. For more information,\n see DNS\n for Services and Pods in the Kubernetes documentation.

\n
", + "smithy.api#title": "AWS App Mesh" + }, "version": "2019-01-25", "operations": [ { @@ -42,23 +58,7 @@ { "target": "com.amazonaws.appmesh#Mesh" } - ], - "traits": { - "aws.api#service": { - "sdkId": "App Mesh", - "arnNamespace": "appmesh", - "cloudFormationName": "AppMesh", - "cloudTrailEventSource": "appmesh.amazonaws.com", - "endpointPrefix": "appmesh" - }, - "aws.auth#sigv4": { - "name": "appmesh" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "

App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and\n control microservices. App Mesh standardizes how your microservices communicate, giving you\n end-to-end visibility and helping to ensure high availability for your applications.

\n

App Mesh gives you consistent visibility and network traffic controls for every\n microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS,\n Kubernetes on Amazon Web Services, and Amazon EC2.

\n \n

App Mesh supports microservice applications that use service discovery naming for their\n components. For more information about service discovery on Amazon ECS, see Service Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes\n kube-dns and coredns are supported. For more information,\n see DNS\n for Services and Pods in the Kubernetes documentation.

\n
", - "smithy.api#title": "AWS App Mesh" - } + ] }, "com.amazonaws.appmesh#Arn": { "type": "string" @@ -69,20 +69,20 @@ "key": { "target": "com.amazonaws.appmesh#AwsCloudMapInstanceAttributeKey", "traits": { - "smithy.api#documentation": "

The name of an Cloud Map service instance attribute key. Any Cloud Map service\n instance that contains the specified key and value is returned.

", + "smithy.api#documentation": "

The name of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is\n returned.

", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.appmesh#AwsCloudMapInstanceAttributeValue", "traits": { - "smithy.api#documentation": "

The value of an Cloud Map service instance attribute key. Any Cloud Map service\n instance that contains the specified key and value is returned.

", + "smithy.api#documentation": "

The value of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is\n returned.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

An object that represents the Cloud Map attribute information for your virtual\n node.

\n \n

AWS Cloud Map is not available in the eu-south-1 Region.

\n
" + "smithy.api#documentation": "

An object that represents the Cloud Map attribute information for your\n virtual node.

\n \n

Cloud Map is not available in the eu-south-1 Region.

\n
" } }, "com.amazonaws.appmesh#AwsCloudMapInstanceAttributeKey": { @@ -142,10 +142,16 @@ "traits": { "smithy.api#documentation": "

A string map that contains attributes with values that you can use to filter instances\n by any custom attribute that you specified when you registered the instance. Only instances\n that match all of the specified key/value pairs will be returned.

" } + }, + "ipPreference": { + "target": "com.amazonaws.appmesh#IpPreference", + "traits": { + "smithy.api#documentation": "

The IP version to use to control traffic within the mesh.

" + } } }, "traits": { - "smithy.api#documentation": "

An object that represents the Cloud Map service discovery information for your virtual\n node.

\n \n

Cloud Map is not available in the eu-south-1 Region.

\n
" + "smithy.api#documentation": "

An object that represents the Cloud Map service discovery information for\n your virtual node.

\n \n

Cloud Map is not available in the eu-south-1 Region.

\n
" } }, "com.amazonaws.appmesh#Backend": { @@ -381,7 +387,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -593,7 +599,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -653,7 +659,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a virtual gateway.

\n

A virtual gateway allows resources outside your mesh to communicate to resources that\n are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS\n task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which\n represents an Envoy running with an application, a virtual gateway represents Envoy\n deployed by itself.

\n

For more information about virtual gateways, see Virtual gateways.

", + "smithy.api#documentation": "

Creates a virtual gateway.

\n

A virtual gateway allows resources outside your mesh to communicate to resources that\n are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a\n virtual node, which represents an Envoy running with an application, a virtual gateway\n represents Envoy deployed by itself.

\n

For more information about virtual gateways, see Virtual gateways.

", "smithy.api#http": { "method": "PUT", "uri": "/v20190125/meshes/{meshName}/virtualGateways", @@ -703,7 +709,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -757,7 +763,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a virtual node within a service mesh.

\n

A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS\n service or a Kubernetes deployment. When you create a virtual node, you can specify the\n service discovery information for your task group, and whether the proxy running in a task\n group will communicate with other proxies using Transport Layer Security (TLS).

\n

You define a listener for any inbound traffic that your virtual node\n expects. Any virtual service that your virtual node expects to communicate to is specified\n as a backend.

\n

The response metadata for your new virtual node contains the arn that is\n associated with the virtual node. Set this value to the full ARN; for example,\n arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp)\n as the APPMESH_RESOURCE_ARN environment variable for your task group's Envoy\n proxy container in your task definition or pod spec. This is then mapped to the\n node.id and node.cluster Envoy parameters.

\n \n

By default, App Mesh uses the name of the resource you specified in\n APPMESH_RESOURCE_ARN when Envoy is referring to itself in metrics and\n traces. You can override this behavior by setting the\n APPMESH_RESOURCE_CLUSTER environment variable with your own name.

\n
\n

For more information about virtual nodes, see Virtual nodes. You must be using 1.15.0 or later of the Envoy image when\n setting these variables. For more information aboutApp Mesh Envoy variables, see Envoy image in\n the AWS App Mesh User Guide.

", + "smithy.api#documentation": "

Creates a virtual node within a service mesh.

\n

A virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS service or a Kubernetes deployment. When you create a virtual node, you can\n specify the service discovery information for your task group, and whether the proxy\n running in a task group will communicate with other proxies using Transport Layer Security\n (TLS).

\n

You define a listener for any inbound traffic that your virtual node\n expects. Any virtual service that your virtual node expects to communicate to is specified\n as a backend.

\n

The response metadata for your new virtual node contains the arn that is\n associated with the virtual node. Set this value to the full ARN; for example,\n arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp)\n as the APPMESH_RESOURCE_ARN environment variable for your task group's Envoy\n proxy container in your task definition or pod spec. This is then mapped to the\n node.id and node.cluster Envoy parameters.

\n \n

By default, App Mesh uses the name of the resource you specified in\n APPMESH_RESOURCE_ARN when Envoy is referring to itself in metrics and\n traces. You can override this behavior by setting the\n APPMESH_RESOURCE_CLUSTER environment variable with your own name.

\n
\n

For more information about virtual nodes, see Virtual nodes. You must be using 1.15.0 or later of the Envoy image when\n setting these variables. For more information aboutApp Mesh Envoy variables, see\n Envoy\n image in the App Mesh User Guide.

", "smithy.api#http": { "method": "PUT", "uri": "/v20190125/meshes/{meshName}/virtualNodes", @@ -810,7 +816,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -923,7 +929,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1036,7 +1042,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1147,7 +1153,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1310,7 +1316,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1398,7 +1404,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1480,7 +1486,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1568,7 +1574,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1656,7 +1662,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1749,7 +1755,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1820,7 +1826,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -1905,7 +1911,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } }, @@ -1998,7 +2004,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -2077,7 +2083,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -2162,7 +2168,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -2247,7 +2253,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -2302,6 +2308,12 @@ "traits": { "smithy.api#documentation": "

Specifies the DNS response type for the virtual node.

" } + }, + "ipPreference": { + "target": "com.amazonaws.appmesh#IpPreference", + "traits": { + "smithy.api#documentation": "

The IP version to use to control traffic within the mesh.

" + } } }, "traits": { @@ -2358,7 +2370,7 @@ "type": { "target": "com.amazonaws.appmesh#EgressFilterType", "traits": { - "smithy.api#documentation": "

The egress filter type. By default, the type is DROP_ALL, which allows\n egress only from virtual nodes to other defined resources in the service mesh (and any\n traffic to *.amazonaws.com for Amazon Web Services API calls). You can set the egress filter\n type to ALLOW_ALL to allow egress to any endpoint inside or outside of the\n service mesh.

", + "smithy.api#documentation": "

The egress filter type. By default, the type is DROP_ALL, which allows\n egress only from virtual nodes to other defined resources in the service mesh (and any\n traffic to *.amazonaws.com for Amazon Web Services API calls). You can set the\n egress filter type to ALLOW_ALL to allow egress to any endpoint inside or\n outside of the service mesh.

", "smithy.api#required": {} } } @@ -2397,7 +2409,7 @@ "path": { "target": "com.amazonaws.appmesh#FilePath", "traits": { - "smithy.api#documentation": "

The file path to write access logs to. You can use /dev/stdout to send\n access logs to standard out and configure your Envoy container to use a log driver, such as\n awslogs, to export the access logs to a log storage service such as Amazon\n CloudWatch Logs. You can also specify a path in the Envoy container's file system to write\n the files to disk.

\n \n

The Envoy process must have write permissions to the path that you specify here.\n Otherwise, Envoy fails to bootstrap properly.

\n
", + "smithy.api#documentation": "

The file path to write access logs to. You can use /dev/stdout to send\n access logs to standard out and configure your Envoy container to use a log driver, such as\n awslogs, to export the access logs to a log storage service such as Amazon\n CloudWatch Logs. You can also specify a path in the Envoy container's file system to write\n the files to disk.

\n \n \n

The Envoy process must have write permissions to the path that you specify here.\n Otherwise, Envoy fails to bootstrap properly.

\n
", "smithy.api#required": {} } } @@ -2596,14 +2608,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, @@ -2818,7 +2830,7 @@ "invert": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Specify True to match anything except the match criteria. The default value is False.

" + "smithy.api#documentation": "

Specify True to match anything except the match criteria. The default value\n is False.

" } }, "match": { @@ -2913,7 +2925,7 @@ "httpRetryEvents": { "target": "com.amazonaws.appmesh#HttpRetryPolicyEvents", "traits": { - "smithy.api#documentation": "

Specify at least one of the following values.

\n " + "smithy.api#documentation": "

Specify at least one of the following values.

\n " } }, "tcpRetryEvents": { @@ -3343,11 +3355,14 @@ "invert": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Specify True to match anything except the match criteria. The default value is False.

" + "smithy.api#documentation": "

Specify True to match anything except the match criteria. The default value\n is False.

" } }, "match": { - "target": "com.amazonaws.appmesh#HeaderMatchMethod" + "target": "com.amazonaws.appmesh#HeaderMatchMethod", + "traits": { + "smithy.api#documentation": "

An object that represents the method and value to match with the header value sent in a\n request. Specify one match method.

" + } } }, "traits": { @@ -3613,7 +3628,7 @@ "httpRetryEvents": { "target": "com.amazonaws.appmesh#HttpRetryPolicyEvents", "traits": { - "smithy.api#documentation": "

Specify at least one of the following values.

\n " + "smithy.api#documentation": "

Specify at least one of the following values.

\n " } }, "tcpRetryEvents": { @@ -3829,6 +3844,29 @@ "smithy.api#retryable": {} } }, + "com.amazonaws.appmesh#IpPreference": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IPv6_PREFERRED", + "name": "IPv6_PREFERRED" + }, + { + "value": "IPv4_PREFERRED", + "name": "IPv4_PREFERRED" + }, + { + "value": "IPv4_ONLY", + "name": "IPv4_ONLY" + }, + { + "value": "IPv6_ONLY", + "name": "IPv6_ONLY" + } + ] + } + }, "com.amazonaws.appmesh#LimitExceededException": { "type": "structure", "members": { @@ -3837,7 +3875,7 @@ } }, "traits": { - "smithy.api#documentation": "

You have exceeded a service limit for your account. For more information, see Service\n Limits in the AWS App Mesh User Guide.

", + "smithy.api#documentation": "

You have exceeded a service limit for your account. For more information, see Service\n Limits in the App Mesh User Guide.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -3922,7 +3960,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -4006,7 +4044,7 @@ "nextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n ListMeshes request where limit was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken value.

\n \n

This token should be treated as an opaque identifier that is used only to\n retrieve the next items in a list and not for other programmatic purposes.

\n
", + "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n ListMeshes request where limit was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken value.

\n \n

This token should be treated as an opaque identifier that is used only to\n retrieve the next items in a list and not for other programmatic purposes.

\n
", "smithy.api#httpQuery": "nextToken" } }, @@ -4133,7 +4171,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -4343,7 +4381,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -4449,7 +4487,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -4561,7 +4599,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -4673,7 +4711,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -4758,6 +4796,16 @@ "smithy.api#documentation": "

An object that represents a listener for a virtual node.

" } }, + "com.amazonaws.lattice.v20190125#ListenerPort": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 65535 + } + } + }, "com.amazonaws.appmesh#ListenerTimeout": { "type": "union", "members": { @@ -4830,7 +4878,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that represents an AWS Certicate Manager (ACM) certificate.

" + "smithy.api#documentation": "

An object that represents an Certificate Manager certificate.

" } }, "com.amazonaws.appmesh#ListenerTlsCertificate": { @@ -4839,7 +4887,7 @@ "acm": { "target": "com.amazonaws.appmesh#ListenerTlsAcmCertificate", "traits": { - "smithy.api#documentation": "

A reference to an object that represents an AWS Certicate Manager (ACM) certificate.

" + "smithy.api#documentation": "

A reference to an object that represents an Certificate Manager certificate.

" } }, "file": { @@ -4912,7 +4960,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that represents the listener's Secret Discovery Service certificate. The proxy\n must be configured with a local SDS provider via a Unix Domain Socket. See App Mesh TLS documentation\n for more info.

" + "smithy.api#documentation": "

An object that represents the listener's Secret Discovery Service certificate. The proxy\n must be configured with a local SDS provider via a Unix Domain Socket. See App Mesh\n TLS\n documentation for more info.

" } }, "com.amazonaws.appmesh#ListenerTlsValidationContext": { @@ -4960,12 +5008,6 @@ "type": "list", "member": { "target": "com.amazonaws.appmesh#Listener" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - } } }, "com.amazonaws.appmesh#Logging": { @@ -5142,14 +5184,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, @@ -5186,6 +5228,20 @@ "smithy.api#documentation": "

An object that represents a service mesh returned by a list operation.

" } }, + "com.amazonaws.appmesh#MeshServiceDiscovery": { + "type": "structure", + "members": { + "ipPreference": { + "target": "com.amazonaws.appmesh#IpPreference", + "traits": { + "smithy.api#documentation": "

The IP version to use to control traffic within the mesh.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that represents the service discovery information for a service mesh.

" + } + }, "com.amazonaws.appmesh#MeshSpec": { "type": "structure", "members": { @@ -5194,6 +5250,9 @@ "traits": { "smithy.api#documentation": "

The egress filter rules for the service mesh.

" } + }, + "serviceDiscovery": { + "target": "com.amazonaws.appmesh#MeshServiceDiscovery" } }, "traits": { @@ -5450,14 +5509,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } } @@ -5610,14 +5669,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, @@ -6104,7 +6163,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust. The\n proxy must be configured with a local SDS provider via a Unix Domain Socket. See App Mesh\n TLS\n documentation for more info.

" + "smithy.api#documentation": "

An object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust. The\n proxy must be configured with a local SDS provider via a Unix Domain Socket. See App Mesh\n TLS\n documentation for more info.

" } }, "com.amazonaws.appmesh#TlsValidationContextTrust": { @@ -6113,7 +6172,7 @@ "acm": { "target": "com.amazonaws.appmesh#TlsValidationContextAcmTrust", "traits": { - "smithy.api#documentation": "

A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an\n Certificate Manager certificate.

" + "smithy.api#documentation": "

A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.

" } }, "file": { @@ -6141,7 +6200,7 @@ } }, "traits": { - "smithy.api#documentation": "

The maximum request rate permitted by the App Mesh APIs has been exceeded for your\n account. For best results, use an increasing or variable sleep interval between\n requests.

", + "smithy.api#documentation": "

The maximum request rate permitted by the App Mesh APIs has been exceeded for\n your account. For best results, use an increasing or variable sleep interval between\n requests.

", "smithy.api#error": "client", "smithy.api#httpError": 429, "smithy.api#retryable": { @@ -6321,7 +6380,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -6513,7 +6572,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -6618,7 +6677,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -6717,7 +6776,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -6822,7 +6881,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -6927,7 +6986,7 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#httpQuery": "meshOwner" } } @@ -7532,12 +7591,6 @@ "type": "list", "member": { "target": "com.amazonaws.appmesh#VirtualGatewayListener" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - } } }, "com.amazonaws.appmesh#VirtualGatewayLogging": { @@ -7615,14 +7668,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, @@ -7783,7 +7836,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that represents a virtual gateway's listener's Transport Layer Security (TLS) Secret Discovery Service\n validation context trust. The proxy must be configured with a local SDS provider via a Unix\n Domain Socket. See App Mesh TLS documentation for more info.

" + "smithy.api#documentation": "

An object that represents a virtual gateway's listener's Transport Layer Security (TLS) Secret Discovery Service\n validation context trust. The proxy must be configured with a local SDS provider via a Unix\n Domain Socket. See App Mesh\n TLS\n documentation for more info.

" } }, "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextTrust": { @@ -7792,7 +7845,7 @@ "acm": { "target": "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextAcmTrust", "traits": { - "smithy.api#documentation": "

A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an\n Certificate Manager certificate.

" + "smithy.api#documentation": "

A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.

" } }, "file": { @@ -8004,14 +8057,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, @@ -8261,12 +8314,6 @@ "type": "list", "member": { "target": "com.amazonaws.appmesh#VirtualRouterListener" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } } }, "com.amazonaws.appmesh#VirtualRouterRef": { @@ -8289,14 +8336,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, @@ -8544,14 +8591,14 @@ "meshOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "

The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", + "smithy.api#documentation": "

The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.

", "smithy.api#required": {} } }, @@ -8594,7 +8641,7 @@ "provider": { "target": "com.amazonaws.appmesh#VirtualServiceProvider", "traits": { - "smithy.api#documentation": "

The App Mesh object that is acting as the provider for a virtual service. You can specify\n a single virtual node or virtual router.

" + "smithy.api#documentation": "

The App Mesh object that is acting as the provider for a virtual service. You\n can specify a single virtual node or virtual router.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/appflow.json b/codegen/sdk-codegen/aws-models/appflow.json index f21f240a81f..df664066f50 100644 --- a/codegen/sdk-codegen/aws-models/appflow.json +++ b/codegen/sdk-codegen/aws-models/appflow.json @@ -68,7 +68,7 @@ "traits": { "smithy.api#length": { "min": 0, - "max": 2048 + "max": 4096 }, "smithy.api#pattern": "^\\S+$", "smithy.api#sensitive": {} @@ -90,7 +90,7 @@ "aggregationType": { "target": "com.amazonaws.appflow#AggregationType", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave\n them unaggregated.

" + "smithy.api#documentation": "

Specifies whether Amazon AppFlow aggregates the flow records into a single file, or\n leave them unaggregated.

" } } }, @@ -830,7 +830,7 @@ } }, "traits": { - "smithy.api#documentation": "

The high-level entity that can be queried in Amazon AppFlow. For example, a Salesforce\n entity might be an Account or Opportunity, whereas a\n ServiceNow entity might be an Incident.

" + "smithy.api#documentation": "

The high-level entity that can be queried in Amazon AppFlow. For example, a\n Salesforce entity might be an Account or\n Opportunity, whereas a ServiceNow entity might be an\n Incident.

" } }, "com.amazonaws.appflow#ConnectorEntityField": { @@ -1871,7 +1871,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new connector profile associated with your Amazon Web Services account. There\n is a soft quota of 100 connector profiles per Amazon Web Services account. If you need more\n connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team\n through the Amazon AppFlow support channel.

", + "smithy.api#documentation": "

Creates a new connector profile associated with your Amazon Web Services account. There\n is a soft quota of 100 connector profiles per Amazon Web Services account. If you need more\n connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support channel. In each connector profile that you\n create, you can provide the credentials and properties for only one connector.

", "smithy.api#http": { "method": "POST", "uri": "/create-connector-profile", @@ -1892,7 +1892,7 @@ "kmsArn": { "target": "com.amazonaws.appflow#KMSArn", "traits": { - "smithy.api#documentation": "

The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for\n encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If\n you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.\n

" + "smithy.api#documentation": "

The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for\n encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS\n key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

" } }, "connectorType": { @@ -1967,7 +1967,7 @@ } ], "traits": { - "smithy.api#documentation": "

Enables your application to create a new flow using Amazon AppFlow. You must create a\n connector profile before calling this API. Please note that the Request Syntax below shows\n syntax for multiple destinations, however, you can only transfer data to one item in this list\n at a time. Amazon AppFlow does not currently support flows to multiple destinations at once.

", + "smithy.api#documentation": "

Enables your application to create a new flow using Amazon AppFlow. You must create\n a connector profile before calling this API. Please note that the Request Syntax below shows\n syntax for multiple destinations, however, you can only transfer data to one item in this list\n at a time. Amazon AppFlow does not currently support flows to multiple destinations at\n once.

", "smithy.api#http": { "method": "POST", "uri": "/create-flow", @@ -1994,7 +1994,7 @@ "kmsArn": { "target": "com.amazonaws.appflow#KMSArn", "traits": { - "smithy.api#documentation": "

The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for\n encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If\n you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.\n

" + "smithy.api#documentation": "

The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for\n encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS\n key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

" } }, "triggerConfig": { @@ -2021,7 +2021,7 @@ "tasks": { "target": "com.amazonaws.appflow#Tasks", "traits": { - "smithy.api#documentation": "

A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.\n

", + "smithy.api#documentation": "

A list of tasks that Amazon AppFlow performs while transferring the data in the\n flow run.

", "smithy.api#required": {} } }, @@ -2167,7 +2167,7 @@ "errorHandlingConfig": { "target": "com.amazonaws.appflow#ErrorHandlingConfig", "traits": { - "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data in the\n custom connector as destination.

" + "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data in\n the custom connector as destination.

" } }, "writeOperationType": { @@ -2179,7 +2179,7 @@ "idFieldNames": { "target": "com.amazonaws.appflow#IdFieldNameList", "traits": { - "smithy.api#documentation": "

The name of the field that Amazon AppFlow uses as an ID when performing a write operation\n such as update, delete, or upsert.

" + "smithy.api#documentation": "

The name of the field that Amazon AppFlow uses as an ID when performing a write\n operation such as update, delete, or upsert.

" } }, "customProperties": { @@ -2318,7 +2318,7 @@ "objectTypeName": { "target": "com.amazonaws.appflow#ObjectTypeName", "traits": { - "smithy.api#documentation": "

The object specified in the Amazon Connect Customer Profiles flow destination.

" + "smithy.api#documentation": "

The object specified in the Amazon Connect Customer Profiles flow destination.\n

" } } }, @@ -2538,7 +2538,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { - "smithy.api#documentation": "

Indicates whether Amazon AppFlow should delete the profile, even if it is currently in\n use in one or more flows.

" + "smithy.api#documentation": "

Indicates whether Amazon AppFlow should delete the profile, even if it is currently\n in use in one or more flows.

" } } } @@ -2567,7 +2567,7 @@ } ], "traits": { - "smithy.api#documentation": "

Enables your application to delete an existing flow. Before deleting the flow, Amazon\n AppFlow validates the request by checking the flow configuration and status. You can delete\n flows one at a time.

", + "smithy.api#documentation": "

Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can\n delete flows one at a time.

", "smithy.api#http": { "method": "POST", "uri": "/delete-flow", @@ -2588,7 +2588,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { - "smithy.api#documentation": "

Indicates whether Amazon AppFlow should delete the flow, even if it is currently in use.\n

" + "smithy.api#documentation": "

Indicates whether Amazon AppFlow should delete the flow, even if it is currently in\n use.

" } } } @@ -2651,7 +2651,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides details regarding the entity used with the connector, with a description of the\n data model for each entity.

", + "smithy.api#documentation": "

Provides details regarding the entity used with the connector, with a description of the\n data model for each field in that entity.

", "smithy.api#http": { "method": "POST", "uri": "/describe-connector-entity", @@ -2829,7 +2829,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the connectors vended by Amazon AppFlow for specified connector types. If you\n don't specify a connector type, this operation describes all connectors vended by Amazon\n AppFlow. If there are more connectors than can be returned in one page, the response contains\n a nextToken object, which can be be passed in to the next call to the\n DescribeConnectors API operation to retrieve the next page.

", + "smithy.api#documentation": "

Describes the connectors vended by Amazon AppFlow for specified connector types. If\n you don't specify a connector type, this operation describes all connectors vended by Amazon AppFlow. If there are more connectors than can be returned in one page, the response\n contains a nextToken object, which can be be passed in to the next call to the\n DescribeConnectors API operation to retrieve the next page.

", "smithy.api#http": { "method": "POST", "uri": "/describe-connectors", @@ -3023,7 +3023,7 @@ "kmsArn": { "target": "com.amazonaws.appflow#KMSArn", "traits": { - "smithy.api#documentation": "

The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for\n encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If\n you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.\n

" + "smithy.api#documentation": "

The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for\n encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS\n key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

" } }, "flowStatus": { @@ -3047,7 +3047,7 @@ "destinationFlowConfigList": { "target": "com.amazonaws.appflow#DestinationFlowConfigList", "traits": { - "smithy.api#documentation": "

The configuration that controls how Amazon AppFlow transfers data to the destination\n connector.

" + "smithy.api#documentation": "

The configuration that controls how Amazon AppFlow transfers data to the\n destination connector.

" } }, "lastRunExecutionDetails": { @@ -3065,7 +3065,7 @@ "tasks": { "target": "com.amazonaws.appflow#Tasks", "traits": { - "smithy.api#documentation": "

A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.\n

" + "smithy.api#documentation": "

A list of tasks that Amazon AppFlow performs while transferring the data in the\n flow run.

" } }, "createdAt": { @@ -3475,7 +3475,7 @@ } }, "traits": { - "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data in the\n destination. For example, this setting would determine if the flow should fail after one\n insertion error, or continue and attempt to insert every record regardless of the initial\n failure. ErrorHandlingConfig is a part of the destination connector details.\n

" + "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data\n in the destination. For example, this setting would determine if the flow should fail after\n one insertion error, or continue and attempt to insert every record regardless of the initial\n failure. ErrorHandlingConfig is a part of the destination connector details.\n

" } }, "com.amazonaws.appflow#ErrorInfo": { @@ -3523,7 +3523,7 @@ } }, "traits": { - "smithy.api#documentation": "

The properties that are applied when Amazon EventBridge is being used as a destination.\n

" + "smithy.api#documentation": "

The properties that are applied when Amazon EventBridge is being used as a\n destination.

" } }, "com.amazonaws.appflow#EventBridgeMetadata": { @@ -3800,7 +3800,7 @@ "sourceConnectorType": { "target": "com.amazonaws.appflow#ConnectorType", "traits": { - "smithy.api#documentation": "

Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.\n

" + "smithy.api#documentation": "

Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude,\n and so on.

" } }, "sourceConnectorLabel": { @@ -3812,7 +3812,7 @@ "destinationConnectorType": { "target": "com.amazonaws.appflow#ConnectorType", "traits": { - "smithy.api#documentation": "

Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and\n so on.

" + "smithy.api#documentation": "

Specifies the destination connector type, such as Salesforce, Amazon S3,\n Amplitude, and so on.

" } }, "destinationConnectorLabel": { @@ -3878,6 +3878,15 @@ "smithy.api#pattern": "^[\\w!@#\\-.?,\\s]*$" } }, + "com.amazonaws.appflow#FlowErrorDeactivationThreshold": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, "com.amazonaws.appflow#FlowExecutionList": { "type": "list", "member": { @@ -4303,6 +4312,12 @@ "smithy.api#httpError": 500 } }, + "com.amazonaws.appflow#JavaBoolean": { + "type": "boolean", + "traits": { + "smithy.api#box": {} + } + }, "com.amazonaws.appflow#KMSArn": { "type": "string", "traits": { @@ -4771,7 +4786,7 @@ } }, "traits": { - "smithy.api#documentation": "

The properties that Amazon AppFlow applies when you use Marketo as a flow destination.

" + "smithy.api#documentation": "

The properties that Amazon AppFlow applies when you use Marketo as a flow\n destination.

" } }, "com.amazonaws.appflow#MarketoMetadata": { @@ -5021,7 +5036,7 @@ "tokenUrlCustomProperties": { "target": "com.amazonaws.appflow#TokenUrlCustomProperties", "traits": { - "smithy.api#documentation": "

Associates your token URL with a map of properties that you define. Use this parameter\n to provide any additional details that the connector requires to authenticate your\n request.

" + "smithy.api#documentation": "

Associates your token URL with a map of properties that you define. Use this parameter to\n provide any additional details that the connector requires to authenticate your\n request.

" } } }, @@ -5420,7 +5435,7 @@ } }, "traits": { - "smithy.api#documentation": "

Determines the prefix that Amazon AppFlow applies to the destination folder name. You can\n name your destination folders according to the flow frequency and date.

" + "smithy.api#documentation": "

Determines the prefix that Amazon AppFlow applies to the destination folder name.\n You can name your destination folders according to the flow frequency and date.

" } }, "com.amazonaws.appflow#PrefixFormat": { @@ -5655,7 +5670,7 @@ } }, "traits": { - "smithy.api#documentation": "

The connector-specific profile credentials required when using Amazon Redshift.

" + "smithy.api#documentation": "

The connector-specific profile credentials required when using Amazon Redshift.\n

" } }, "com.amazonaws.appflow#RedshiftConnectorProfileProperties": { @@ -5706,7 +5721,7 @@ "intermediateBucketName": { "target": "com.amazonaws.appflow#BucketName", "traits": { - "smithy.api#documentation": "

The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.\n

", + "smithy.api#documentation": "

The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.

", "smithy.api#required": {} } }, @@ -5719,7 +5734,7 @@ "errorHandlingConfig": { "target": "com.amazonaws.appflow#ErrorHandlingConfig", "traits": { - "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data in the\n Amazon Redshift destination. For example, this setting would determine if the flow should fail\n after one insertion error, or continue and attempt to insert every record regardless of the\n initial failure. ErrorHandlingConfig is a part of the destination connector\n details.

" + "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data\n in the Amazon Redshift destination. For example, this setting would determine if the flow\n should fail after one insertion error, or continue and attempt to insert every record\n regardless of the initial failure. ErrorHandlingConfig is a part of the\n destination connector details.

" } } }, @@ -5739,7 +5754,7 @@ "traits": { "smithy.api#length": { "min": 0, - "max": 1024 + "max": 2048 }, "smithy.api#pattern": "^\\S+$" } @@ -5972,7 +5987,7 @@ "bucketName": { "target": "com.amazonaws.appflow#BucketName", "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

", + "smithy.api#documentation": "

The Amazon S3 bucket name in which Amazon AppFlow places the transferred\n data.

", "smithy.api#required": {} } }, @@ -6016,7 +6031,7 @@ } }, "traits": { - "smithy.api#documentation": "

When you use Amazon S3 as the source, the configuration format that you provide the flow input data.

" + "smithy.api#documentation": "

When you use Amazon S3 as the source, the configuration format that you provide\n the flow input data.

" } }, "com.amazonaws.appflow#S3Metadata": { @@ -6032,21 +6047,27 @@ "fileType": { "target": "com.amazonaws.appflow#FileType", "traits": { - "smithy.api#documentation": "

Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.

" + "smithy.api#documentation": "

Indicates the file type that Amazon AppFlow places in the Amazon S3\n bucket.

" } }, "prefixConfig": { "target": "com.amazonaws.appflow#PrefixConfig", "traits": { - "smithy.api#documentation": "

Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3\n bucket. You can name folders according to the flow frequency and date.

" + "smithy.api#documentation": "

Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.

" } }, "aggregationConfig": { "target": "com.amazonaws.appflow#AggregationConfig" + }, + "preserveSourceDataTyping": { + "target": "com.amazonaws.appflow#JavaBoolean", + "traits": { + "smithy.api#documentation": "

If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.

\n " + } } }, "traits": { - "smithy.api#documentation": "

The configuration that determines how Amazon AppFlow should format the flow output data\n when Amazon S3 is used as the destination.

" + "smithy.api#documentation": "

The configuration that determines how Amazon AppFlow should format the flow output\n data when Amazon S3 is used as the destination.

" } }, "com.amazonaws.appflow#S3SourceProperties": { @@ -6062,7 +6083,7 @@ "bucketPrefix": { "target": "com.amazonaws.appflow#BucketPrefix", "traits": { - "smithy.api#documentation": "

The object key for the Amazon S3 bucket in which the source files are stored.

" + "smithy.api#documentation": "

The object key for the Amazon S3 bucket in which the source files are stored.\n

" } }, "s3InputFormatConfig": { @@ -6070,7 +6091,7 @@ } }, "traits": { - "smithy.api#documentation": "

The properties that are applied when Amazon S3 is being used as the flow source.

" + "smithy.api#documentation": "

The properties that are applied when Amazon S3 is being used as the flow source.\n

" } }, "com.amazonaws.appflow#SAPODataConnectorOperator": { @@ -6252,7 +6273,7 @@ "successResponseHandlingConfig": { "target": "com.amazonaws.appflow#SuccessResponseHandlingConfig", "traits": { - "smithy.api#documentation": "

Determines how Amazon AppFlow handles the success response that it gets\n from the connector after placing data.

\n

For example, this setting would determine where to write the response from a destination\n connector upon a successful insert operation.

" + "smithy.api#documentation": "

Determines how Amazon AppFlow handles the success response that it gets from the\n connector after placing data.

\n

For example, this setting would determine where to write the response from a destination\n connector upon a successful insert operation.

" } }, "idFieldNames": { @@ -6446,13 +6467,13 @@ "idFieldNames": { "target": "com.amazonaws.appflow#IdFieldNameList", "traits": { - "smithy.api#documentation": "

The name of the field that Amazon AppFlow uses as an ID when performing a write operation\n such as update or delete.

" + "smithy.api#documentation": "

The name of the field that Amazon AppFlow uses as an ID when performing a write\n operation such as update or delete.

" } }, "errorHandlingConfig": { "target": "com.amazonaws.appflow#ErrorHandlingConfig", "traits": { - "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data in the\n Salesforce destination. For example, this setting would determine if the flow should fail\n after one insertion error, or continue and attempt to insert every record regardless of the\n initial failure. ErrorHandlingConfig is a part of the destination connector\n details.

" + "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data\n in the Salesforce destination. For example, this setting would determine if the flow should\n fail after one insertion error, or continue and attempt to insert every record regardless of\n the initial failure. ErrorHandlingConfig is a part of the destination connector\n details.

" } }, "writeOperationType": { @@ -6521,7 +6542,7 @@ "name": "appflow" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Welcome to the Amazon AppFlow API reference. This guide is for developers who need\n detailed information about the Amazon AppFlow API operations, data types, and errors.

\n\n

Amazon AppFlow is a fully managed integration service that enables you to securely\n transfer data between software as a service (SaaS) applications like Salesforce, Marketo,\n Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.

\n\n\n\n

Use the following links to get started on the Amazon AppFlow API:

\n\n \n\n

If you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User\n Guide.

\n

Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include\n applicable OAuth attributes (such as auth-code and redirecturi) with\n the connector-specific ConnectorProfileProperties when creating a new connector\n profile using Amazon AppFlow API operations. For example, Salesforce users can refer to the\n \n Authorize Apps with OAuth\n documentation.

", + "smithy.api#documentation": "

Welcome to the Amazon AppFlow API reference. This guide is for developers who need\n detailed information about the Amazon AppFlow API operations, data types, and errors.

\n

Amazon AppFlow is a fully managed integration service that enables you to securely\n transfer data between software as a service (SaaS) applications like Salesforce, Marketo,\n Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.

\n

Use the following links to get started on the Amazon AppFlow API:

\n \n

If you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User Guide.

\n

Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include\n applicable OAuth attributes (such as auth-code and redirecturi) with\n the connector-specific ConnectorProfileProperties when creating a new connector\n profile using Amazon AppFlow API operations. For example, Salesforce users can refer to\n the \n Authorize Apps with OAuth\n documentation.

", "smithy.api#title": "Amazon Appflow" }, "version": "2020-08-23", @@ -6663,19 +6684,19 @@ "scheduleStartTime": { "target": "com.amazonaws.appflow#Date", "traits": { - "smithy.api#documentation": "

Specifies the scheduled start time for a schedule-triggered flow.

" + "smithy.api#documentation": "

The time at which the scheduled flow starts. The time is formatted as a timestamp that\n follows the ISO 8601 standard, such as 2022-04-26T13:00:00-07:00.

" } }, "scheduleEndTime": { "target": "com.amazonaws.appflow#Date", "traits": { - "smithy.api#documentation": "

Specifies the scheduled end time for a schedule-triggered flow.

" + "smithy.api#documentation": "

The time at which the scheduled flow ends. The time is formatted as a timestamp that\n follows the ISO 8601 standard, such as 2022-04-27T13:00:00-07:00.

" } }, "timezone": { "target": "com.amazonaws.appflow#Timezone", "traits": { - "smithy.api#documentation": "

Specifies the time zone used when referring to the date and time of a scheduled-triggered\n flow, such as America/New_York.

" + "smithy.api#documentation": "

Specifies the time zone used when referring to the dates and times of a scheduled flow,\n such as America/New_York. This time zone is only a descriptive label. It doesn't affect how\n Amazon AppFlow interprets the timestamps that you specify to schedule the flow.

\n

If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC\n offset in your timestamps. For example, the UTC offsets for the America/New_York timezone are\n -04:00 EDT and -05:00 EST.

" } }, "scheduleOffset": { @@ -6690,6 +6711,13 @@ "traits": { "smithy.api#documentation": "

Specifies the date range for the records to import from the connector in the first flow\n run.

" } + }, + "flowErrorDeactivationThreshold": { + "target": "com.amazonaws.appflow#FlowErrorDeactivationThreshold", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

Defines how many times a scheduled flow fails consecutively before Amazon AppFlow\n deactivates it.

" + } } }, "traits": { @@ -7179,7 +7207,7 @@ "stage": { "target": "com.amazonaws.appflow#Stage", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in\n the Snowflake account. This is written in the following format: < Database><\n Schema>.

", + "smithy.api#documentation": "

The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account. This is written in the following format: <\n Database>< Schema>.

", "smithy.api#required": {} } }, @@ -7193,7 +7221,7 @@ "bucketPrefix": { "target": "com.amazonaws.appflow#BucketPrefix", "traits": { - "smithy.api#documentation": "

The bucket path that refers to the Amazon S3 bucket associated with Snowflake.

" + "smithy.api#documentation": "

The bucket path that refers to the Amazon S3 bucket associated with Snowflake.\n

" } }, "privateLinkServiceName": { @@ -7232,7 +7260,7 @@ "intermediateBucketName": { "target": "com.amazonaws.appflow#BucketName", "traits": { - "smithy.api#documentation": "

The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.

", + "smithy.api#documentation": "

The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.\n

", "smithy.api#required": {} } }, @@ -7245,7 +7273,7 @@ "errorHandlingConfig": { "target": "com.amazonaws.appflow#ErrorHandlingConfig", "traits": { - "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data in the\n Snowflake destination. For example, this setting would determine if the flow should fail after\n one insertion error, or continue and attempt to insert every record regardless of the initial\n failure. ErrorHandlingConfig is a part of the destination connector details.\n

" + "smithy.api#documentation": "

The settings that determine how Amazon AppFlow handles an error when placing data\n in the Snowflake destination. For example, this setting would determine if the flow should\n fail after one insertion error, or continue and attempt to insert every record regardless of\n the initial failure. ErrorHandlingConfig is a part of the destination connector\n details.

" } } }, @@ -7600,7 +7628,7 @@ } }, "traits": { - "smithy.api#documentation": "

Determines how Amazon AppFlow handles the success response that it gets\n from the connector after placing data.

\n

For example, this setting would determine\n where to write the response from the destination connector upon a successful insert\n operation.

" + "smithy.api#documentation": "

Determines how Amazon AppFlow handles the success response that it gets from the\n connector after placing data.

\n

For example, this setting would determine where to write the response from the destination\n connector upon a successful insert operation.

" } }, "com.amazonaws.appflow#SupportedApiVersion": { @@ -8028,7 +8056,7 @@ } }, "traits": { - "smithy.api#documentation": "

The trigger settings that determine how and when Amazon AppFlow runs the specified flow.\n

" + "smithy.api#documentation": "

The trigger settings that determine how and when Amazon AppFlow runs the specified\n flow.

" } }, "com.amazonaws.appflow#TriggerProperties": { @@ -8111,7 +8139,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { - "smithy.api#documentation": "

Indicates whether Amazon AppFlow should unregister the connector, even if it is currently\n in use in one or more connector profiles. The default value is false.

" + "smithy.api#documentation": "

Indicates whether Amazon AppFlow should unregister the connector, even if it is\n currently in use in one or more connector profiles. The default value is false.

" } } } @@ -8329,14 +8357,14 @@ "destinationFlowConfigList": { "target": "com.amazonaws.appflow#DestinationFlowConfigList", "traits": { - "smithy.api#documentation": "

The configuration that controls how Amazon AppFlow transfers data to the destination\n connector.

", + "smithy.api#documentation": "

The configuration that controls how Amazon AppFlow transfers data to the\n destination connector.

", "smithy.api#required": {} } }, "tasks": { "target": "com.amazonaws.appflow#Tasks", "traits": { - "smithy.api#documentation": "

A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.\n

", + "smithy.api#documentation": "

A list of tasks that Amazon AppFlow performs while transferring the data in the\n flow run.

", "smithy.api#required": {} } } @@ -8379,14 +8407,14 @@ "bucketName": { "target": "com.amazonaws.appflow#UpsolverBucketName", "traits": { - "smithy.api#documentation": "

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.\n

", + "smithy.api#documentation": "

The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the\n transferred data.

", "smithy.api#required": {} } }, "bucketPrefix": { "target": "com.amazonaws.appflow#BucketPrefix", "traits": { - "smithy.api#documentation": "

The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow\n places the files.

" + "smithy.api#documentation": "

The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.

" } }, "s3OutputFormatConfig": { @@ -8414,7 +8442,7 @@ "fileType": { "target": "com.amazonaws.appflow#FileType", "traits": { - "smithy.api#documentation": "

Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.\n

" + "smithy.api#documentation": "

Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.

" } }, "prefixConfig": { @@ -8428,7 +8456,7 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration that determines how Amazon AppFlow formats the flow output data when\n Upsolver is used as the destination.

" + "smithy.api#documentation": "

The configuration that determines how Amazon AppFlow formats the flow output data\n when Upsolver is used as the destination.

" } }, "com.amazonaws.appflow#Username": { diff --git a/codegen/sdk-codegen/aws-models/application-insights.json b/codegen/sdk-codegen/aws-models/application-insights.json index 6a1f64bbd87..473ab40068b 100644 --- a/codegen/sdk-codegen/aws-models/application-insights.json +++ b/codegen/sdk-codegen/aws-models/application-insights.json @@ -41,7 +41,7 @@ "code": "AccessDeniedException", "httpResponseCode": 403 }, - "smithy.api#documentation": "

\n User does not have permissions to perform this action.\n

", + "smithy.api#documentation": "

User does not have permissions to perform this action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } @@ -71,19 +71,19 @@ "ComponentRemarks": { "target": "com.amazonaws.applicationinsights#Remarks", "traits": { - "smithy.api#documentation": "

\n If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.\n

" + "smithy.api#documentation": "

If logging is supported for the resource type, indicates whether the component has\n configured logs to be monitored.

" } }, "ResourceType": { "target": "com.amazonaws.applicationinsights#ResourceType", "traits": { - "smithy.api#documentation": "

The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.

" + "smithy.api#documentation": "

The resource type. Supported resource types include EC2 instances, Auto Scaling group,\n Classic ELB, Application ELB, and SQS Queue.

" } }, "OsType": { "target": "com.amazonaws.applicationinsights#OsType", "traits": { - "smithy.api#documentation": "

\n The operating system of the component.\n

" + "smithy.api#documentation": "

The operating system of the component.

" } }, "Tier": { @@ -101,12 +101,12 @@ "DetectedWorkload": { "target": "com.amazonaws.applicationinsights#DetectedWorkload", "traits": { - "smithy.api#documentation": "

\n Workloads detected in the application component. \n

" + "smithy.api#documentation": "

Workloads detected in the application component.

" } } }, "traits": { - "smithy.api#documentation": "

Describes a standalone resource or similarly grouped resources that the application is made\n up of.

" + "smithy.api#documentation": "

Describes a standalone resource or similarly grouped resources that the application is\n made up of.

" } }, "com.amazonaws.applicationinsights#ApplicationComponentList": { @@ -133,19 +133,19 @@ "OpsItemSNSTopicArn": { "target": "com.amazonaws.applicationinsights#OpsItemSNSTopicArn", "traits": { - "smithy.api#documentation": "

\n The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications\n for opsItem updates.\n

" + "smithy.api#documentation": "

The SNS topic provided to Application Insights that is associated to the created\n opsItems to receive SNS notifications for opsItem updates.

" } }, "OpsCenterEnabled": { "target": "com.amazonaws.applicationinsights#OpsCenterEnabled", "traits": { - "smithy.api#documentation": "

\n Indicates whether Application Insights will create opsItems for any problem detected by Application\n Insights for an application.\n

" + "smithy.api#documentation": "

Indicates whether Application Insights will create opsItems for any problem detected by\n Application Insights for an application.

" } }, "CWEMonitorEnabled": { "target": "com.amazonaws.applicationinsights#CWEMonitorEnabled", "traits": { - "smithy.api#documentation": "

\n Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.\n

" + "smithy.api#documentation": "

Indicates whether Application Insights can listen to CloudWatch events for the\n application resources, such as instance terminated, failed\n deployment, and others.

" } }, "Remarks": { @@ -155,10 +155,16 @@ } }, "AutoConfigEnabled": { - "target": "com.amazonaws.applicationinsights#AutoConfigEnabled" + "target": "com.amazonaws.applicationinsights#AutoConfigEnabled", + "traits": { + "smithy.api#documentation": "

Indicates whether auto-configuration is turned on for this application.

" + } }, "DiscoveryType": { - "target": "com.amazonaws.applicationinsights#DiscoveryType" + "target": "com.amazonaws.applicationinsights#DiscoveryType", + "traits": { + "smithy.api#documentation": "

\n The method used by Application Insights to onboard your resources.\n

" + } } }, "traits": { @@ -276,42 +282,42 @@ "MonitoredResourceARN": { "target": "com.amazonaws.applicationinsights#ConfigurationEventMonitoredResourceARN", "traits": { - "smithy.api#documentation": "

\n The resource monitored by Application Insights.\n

" + "smithy.api#documentation": "

The resource monitored by Application Insights.

" } }, "EventStatus": { "target": "com.amazonaws.applicationinsights#ConfigurationEventStatus", "traits": { - "smithy.api#documentation": "

\n The status of the configuration update event. Possible values include INFO, WARN, and ERROR.\n

" + "smithy.api#documentation": "

The status of the configuration update event. Possible values include INFO, WARN, and\n ERROR.

" } }, "EventResourceType": { "target": "com.amazonaws.applicationinsights#ConfigurationEventResourceType", "traits": { - "smithy.api#documentation": "

\n The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.\n

" + "smithy.api#documentation": "

The resource type that Application Insights attempted to configure, for example,\n CLOUDWATCH_ALARM.

" } }, "EventTime": { "target": "com.amazonaws.applicationinsights#ConfigurationEventTime", "traits": { - "smithy.api#documentation": "

\n The timestamp of the event. \n

" + "smithy.api#documentation": "

The timestamp of the event.

" } }, "EventDetail": { "target": "com.amazonaws.applicationinsights#ConfigurationEventDetail", "traits": { - "smithy.api#documentation": "

\n The details of the event in plain text. \n

" + "smithy.api#documentation": "

The details of the event in plain text.

" } }, "EventResourceName": { "target": "com.amazonaws.applicationinsights#ConfigurationEventResourceName", "traits": { - "smithy.api#documentation": "

\n The name of the resource Application Insights attempted to configure. \n

" + "smithy.api#documentation": "

The name of the resource Application Insights attempted to configure.

" } } }, "traits": { - "smithy.api#documentation": "

\n The event information.\n

" + "smithy.api#documentation": "

The event information.

" } }, "com.amazonaws.applicationinsights#ConfigurationEventDetail": { @@ -418,32 +424,44 @@ "OpsCenterEnabled": { "target": "com.amazonaws.applicationinsights#OpsCenterEnabled", "traits": { - "smithy.api#documentation": "

\n When set to true, creates opsItems for any problems detected on an application.\n

" + "smithy.api#documentation": "

When set to true, creates opsItems for any problems detected on an\n application.

" } }, "CWEMonitorEnabled": { "target": "com.amazonaws.applicationinsights#CWEMonitorEnabled", "traits": { - "smithy.api#documentation": "

\n Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.\n

" + "smithy.api#documentation": "

Indicates whether Application Insights can listen to CloudWatch events for the\n application resources, such as instance terminated, failed\n deployment, and others.

" } }, "OpsItemSNSTopicArn": { "target": "com.amazonaws.applicationinsights#OpsItemSNSTopicArn", "traits": { - "smithy.api#documentation": "

\n The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to\n receive notifications for updates to the opsItem.\n

" + "smithy.api#documentation": "

The SNS topic provided to Application Insights that is associated to the created\n opsItem. Allows you to receive notifications for updates to the opsItem.

" } }, "Tags": { "target": "com.amazonaws.applicationinsights#TagList", "traits": { - "smithy.api#documentation": "

List of tags to add to the application.\n tag key (Key) and an associated tag value (Value). The maximum\n length of a tag key is 128 characters. The maximum length of a tag value is 256\n characters.

" + "smithy.api#documentation": "

List of tags to add to the application. tag key (Key) and an associated tag\n value (Value). The maximum length of a tag key is 128 characters. The maximum\n length of a tag value is 256 characters.

" } }, "AutoConfigEnabled": { - "target": "com.amazonaws.applicationinsights#AutoConfigEnabled" + "target": "com.amazonaws.applicationinsights#AutoConfigEnabled", + "traits": { + "smithy.api#documentation": "

Indicates whether Application Insights automatically configures unmonitored resources\n in the resource group.

" + } }, "AutoCreate": { - "target": "com.amazonaws.applicationinsights#AutoCreate" + "target": "com.amazonaws.applicationinsights#AutoCreate", + "traits": { + "smithy.api#documentation": "

Configures all of the resources in the resource group by applying the recommended\n configurations.

" + } + }, + "GroupingType": { + "target": "com.amazonaws.applicationinsights#GroupingType", + "traits": { + "smithy.api#documentation": "

Application Insights can create applications based on a resource group or on an account.\n To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.\n

" + } } } }, @@ -567,14 +585,14 @@ "Pattern": { "target": "com.amazonaws.applicationinsights#LogPatternRegex", "traits": { - "smithy.api#documentation": "

The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

", + "smithy.api#documentation": "

The log pattern. The pattern must be DFA compatible. Patterns that utilize forward\n lookahead or backreference constructions are not supported.

", "smithy.api#required": {} } }, "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { - "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank.\n Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.\n

", + "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.

", "smithy.api#required": {} } } @@ -630,7 +648,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes the specified application from monitoring. Does not delete the application.

" + "smithy.api#documentation": "

Removes the specified application from monitoring. Does not delete the\n application.

" } }, "com.amazonaws.applicationinsights#DeleteApplicationRequest": { @@ -669,7 +687,7 @@ } ], "traits": { - "smithy.api#documentation": "

Ungroups a custom component. When you ungroup custom components, all applicable\n monitors that are set up for the component are removed and the instances revert to their standalone status.

" + "smithy.api#documentation": "

Ungroups a custom component. When you ungroup custom components, all applicable monitors\n that are set up for the component are removed and the instances revert to their standalone\n status.

" } }, "com.amazonaws.applicationinsights#DeleteComponentRequest": { @@ -817,7 +835,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a component and lists the resources that are grouped together in a component.

" + "smithy.api#documentation": "

Describes a component and lists the resources that are grouped together in a\n component.

" } }, "com.amazonaws.applicationinsights#DescribeComponentConfiguration": { @@ -886,7 +904,7 @@ "Tier": { "target": "com.amazonaws.applicationinsights#Tier", "traits": { - "smithy.api#documentation": "

The tier of the application component. Supported tiers include\n DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER,\n and DEFAULT.

", + "smithy.api#documentation": "

The tier of the application component.

", "smithy.api#required": {} } } @@ -898,7 +916,7 @@ "ComponentConfiguration": { "target": "com.amazonaws.applicationinsights#ComponentConfiguration", "traits": { - "smithy.api#documentation": "

The recommended configuration settings of the component. The value is the escaped JSON of the configuration.

" + "smithy.api#documentation": "

The recommended configuration settings of the component. The value is the escaped JSON\n of the configuration.

" } } } @@ -934,13 +952,13 @@ "Tier": { "target": "com.amazonaws.applicationinsights#Tier", "traits": { - "smithy.api#documentation": "

The tier of the application component. Supported tiers include\n DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB,\n SQL_SERVER, and DEFAULT\n

" + "smithy.api#documentation": "

The tier of the application component. Supported tiers include\n DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB,\n SQL_SERVER, and DEFAULT\n

" } }, "ComponentConfiguration": { "target": "com.amazonaws.applicationinsights#ComponentConfiguration", "traits": { - "smithy.api#documentation": "

The configuration settings of the component. The value is the escaped JSON of the configuration.

" + "smithy.api#documentation": "

The configuration settings of the component. The value is the escaped JSON of the\n configuration.

" } } } @@ -1220,7 +1238,7 @@ "name": "applicationinsights" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon CloudWatch Application Insights\n

Amazon CloudWatch Application Insights is a service that\n helps you detect common problems with your applications. It\n enables you to pinpoint the source of issues in your applications (built with technologies\n such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into\n detected problems.

\n

After you onboard your application, CloudWatch Application Insights identifies, \n recommends, and sets up metrics and logs. It continuously analyzes and\n correlates your metrics and logs for unusual behavior to surface actionable problems with\n your application. For example, if your application is slow and unresponsive and leading to\n HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you\n that a memory pressure problem with your SQL Server database is occurring. It bases this\n analysis on impactful metrics and log errors.

", + "smithy.api#documentation": "Amazon CloudWatch Application Insights\n

Amazon CloudWatch Application Insights is a service that helps you detect common\n problems with your applications. It enables you to pinpoint the source of issues in your\n applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL\n Server), by providing key insights into detected problems.

\n

After you onboard your application, CloudWatch Application Insights identifies,\n recommends, and sets up metrics and logs. It continuously analyzes and correlates your\n metrics and logs for unusual behavior to surface actionable problems with your application.\n For example, if your application is slow and unresponsive and leading to HTTP 500 errors in\n your Application Load Balancer (ALB), Application Insights informs you that a memory\n pressure problem with your SQL Server database is occurring. It bases this analysis on\n impactful metrics and log errors.

", "smithy.api#title": "Amazon CloudWatch Application Insights" }, "version": "2018-11-25", @@ -1377,6 +1395,17 @@ ] } }, + "com.amazonaws.applicationinsights#GroupingType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACCOUNT_BASED", + "name": "ACCOUNT_BASED" + } + ] + } + }, "com.amazonaws.applicationinsights#HealthEventArn": { "type": "string" }, @@ -1569,7 +1598,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:\n

\n ", + "smithy.api#documentation": "

Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by\n Application Insights. Examples of events represented are:

\n ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1601,7 +1630,7 @@ "EventStatus": { "target": "com.amazonaws.applicationinsights#ConfigurationEventStatus", "traits": { - "smithy.api#documentation": "

The status of the configuration update event. Possible values include INFO, WARN, and ERROR.

" + "smithy.api#documentation": "

The status of the configuration update event. Possible values include INFO, WARN, and\n ERROR.

" } }, "MaxResults": { @@ -1613,7 +1642,7 @@ "NextToken": { "target": "com.amazonaws.applicationinsights#PaginationToken", "traits": { - "smithy.api#documentation": "

The NextToken value returned from a previous paginated ListConfigurationHistory request where\n MaxResults was used and the results exceeded the value of that parameter. Pagination\n continues from the end of the previous results that returned the NextToken value. This\n value is null when there are no more results to return.

" + "smithy.api#documentation": "

The NextToken value returned from a previous paginated\n ListConfigurationHistory request where MaxResults was used and\n the results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the NextToken value. This value is\n null when there are no more results to return.

" } } } @@ -1831,7 +1860,7 @@ "StartTime": { "target": "com.amazonaws.applicationinsights#StartTime", "traits": { - "smithy.api#documentation": "

The time when the problem was detected, in epoch\n seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.

" + "smithy.api#documentation": "

The time when the problem was detected, in epoch seconds. If you don't specify a time\n frame for the request, problems within the past seven days are returned.

" } }, "EndTime": { @@ -1853,7 +1882,10 @@ } }, "ComponentName": { - "target": "com.amazonaws.applicationinsights#ComponentName" + "target": "com.amazonaws.applicationinsights#ComponentName", + "traits": { + "smithy.api#documentation": "

The name of the component.

" + } } } }, @@ -1873,7 +1905,10 @@ } }, "ResourceGroupName": { - "target": "com.amazonaws.applicationinsights#ResourceGroupName" + "target": "com.amazonaws.applicationinsights#ResourceGroupName", + "traits": { + "smithy.api#documentation": "

The name of the resource group.

" + } } } }, @@ -1894,7 +1929,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieve a list of the tags (keys and values) that are associated with a specified\n application. A tag is a label that you optionally define and associate\n with an application. Each tag consists of a required tag key and an\n optional associated tag value. A tag key is a general label that\n acts as a category for more specific tag values. A tag value acts as a descriptor within\n a tag key.

" + "smithy.api#documentation": "

Retrieve a list of the tags (keys and values) that are associated with a specified\n application. A tag is a label that you optionally define and associate\n with an application. Each tag consists of a required tag key and an\n optional associated tag value. A tag key is a general label that acts\n as a category for more specific tag values. A tag value acts as a descriptor within a tag\n key.

" } }, "com.amazonaws.applicationinsights#ListTagsForResourceRequest": { @@ -1915,7 +1950,7 @@ "Tags": { "target": "com.amazonaws.applicationinsights#TagList", "traits": { - "smithy.api#documentation": "

An array that lists all the tags that are associated with the application. Each tag\n consists of a required tag key (Key) and an associated tag value\n (Value).

" + "smithy.api#documentation": "

An array that lists all the tags that are associated with the application. Each tag\n consists of a required tag key (Key) and an associated tag value\n (Value).

" } } } @@ -1948,30 +1983,30 @@ "PatternSetName": { "target": "com.amazonaws.applicationinsights#LogPatternSetName", "traits": { - "smithy.api#documentation": "

The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot\n be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

" + "smithy.api#documentation": "

The name of the log pattern. A log pattern name can contain as many as 30 characters,\n and it cannot be empty. The characters can be Unicode letters, digits, or one of the\n following symbols: period, dash, underscore.

" } }, "PatternName": { "target": "com.amazonaws.applicationinsights#LogPatternName", "traits": { - "smithy.api#documentation": "

The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot\n be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.

" + "smithy.api#documentation": "

The name of the log pattern. A log pattern name can contain as many as 50 characters,\n and it cannot be empty. The characters can be Unicode letters, digits, or one of the\n following symbols: period, dash, underscore.

" } }, "Pattern": { "target": "com.amazonaws.applicationinsights#LogPatternRegex", "traits": { - "smithy.api#documentation": "

A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot\n be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

" + "smithy.api#documentation": "

A regular expression that defines the log pattern. A log pattern can contain as many as\n 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that\n utilize forward lookahead or backreference constructions are not supported.

" } }, "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { - "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank.\n Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.\n

" + "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.

" } } }, "traits": { - "smithy.api#documentation": "

An object that defines the log patterns that belongs to a LogPatternSet.

" + "smithy.api#documentation": "

An object that defines the log patterns that belongs to a\n LogPatternSet.

" } }, "com.amazonaws.applicationinsights#LogPatternList": { @@ -2062,7 +2097,7 @@ "StartTime": { "target": "com.amazonaws.applicationinsights#StartTime", "traits": { - "smithy.api#documentation": "

The time when the observation was first detected, in epoch seconds.

" + "smithy.api#documentation": "

The time when the observation was first detected, in epoch seconds.

" } }, "EndTime": { @@ -2092,7 +2127,7 @@ "LineTime": { "target": "com.amazonaws.applicationinsights#LineTime", "traits": { - "smithy.api#documentation": "

The timestamp in the CloudWatch Logs that specifies when the matched line occurred.

" + "smithy.api#documentation": "

The timestamp in the CloudWatch Logs that specifies when the matched line\n occurred.

" } }, "LogText": { @@ -2134,7 +2169,7 @@ "CloudWatchEventId": { "target": "com.amazonaws.applicationinsights#CloudWatchEventId", "traits": { - "smithy.api#documentation": "

The ID of the CloudWatch Event-based observation related to the detected problem.

" + "smithy.api#documentation": "

The ID of the CloudWatch Event-based observation related to the detected problem.\n

" } }, "CloudWatchEventSource": { @@ -2176,151 +2211,151 @@ "HealthEventDescription": { "target": "com.amazonaws.applicationinsights#HealthEventDescription", "traits": { - "smithy.api#documentation": "

The description of the AWS Health event provided by the service, such as Amazon EC2.

" + "smithy.api#documentation": "

The description of the AWS Health event provided by the service, such as Amazon EC2.\n

" } }, "CodeDeployDeploymentId": { "target": "com.amazonaws.applicationinsights#CodeDeployDeploymentId", "traits": { - "smithy.api#documentation": "

The deployment ID of the CodeDeploy-based observation related to the detected problem.

" + "smithy.api#documentation": "

The deployment ID of the CodeDeploy-based observation related to the detected problem.\n

" } }, "CodeDeployDeploymentGroup": { "target": "com.amazonaws.applicationinsights#CodeDeployDeploymentGroup", "traits": { - "smithy.api#documentation": "

\n The deployment group to which the CodeDeploy deployment belongs.\n

" + "smithy.api#documentation": "

The deployment group to which the CodeDeploy deployment belongs.

" } }, "CodeDeployState": { "target": "com.amazonaws.applicationinsights#CodeDeployState", "traits": { - "smithy.api#documentation": "

\n The status of the CodeDeploy deployment, for example SUCCESS or FAILURE. \n

" + "smithy.api#documentation": "

The status of the CodeDeploy deployment, for example SUCCESS or \n FAILURE.

" } }, "CodeDeployApplication": { "target": "com.amazonaws.applicationinsights#CodeDeployApplication", "traits": { - "smithy.api#documentation": "

\n The CodeDeploy application to which the deployment belongs.\n

" + "smithy.api#documentation": "

The CodeDeploy application to which the deployment belongs.

" } }, "CodeDeployInstanceGroupId": { "target": "com.amazonaws.applicationinsights#CodeDeployInstanceGroupId", "traits": { - "smithy.api#documentation": "

\n The instance group to which the CodeDeploy instance belongs. \n

" + "smithy.api#documentation": "

The instance group to which the CodeDeploy instance belongs.

" } }, "Ec2State": { "target": "com.amazonaws.applicationinsights#Ec2State", "traits": { - "smithy.api#documentation": "

\n The state of the instance, such as STOPPING or TERMINATING.\n

" + "smithy.api#documentation": "

The state of the instance, such as STOPPING or TERMINATING.\n

" } }, "RdsEventCategories": { "target": "com.amazonaws.applicationinsights#RdsEventCategories", "traits": { - "smithy.api#documentation": "

\n The category of an RDS event.\n

" + "smithy.api#documentation": "

The category of an RDS event.

" } }, "RdsEventMessage": { "target": "com.amazonaws.applicationinsights#RdsEventMessage", "traits": { - "smithy.api#documentation": "

\n The message of an RDS event.\n

" + "smithy.api#documentation": "

The message of an RDS event.

" } }, "S3EventName": { "target": "com.amazonaws.applicationinsights#S3EventName", "traits": { - "smithy.api#documentation": "

\n The name of the S3 CloudWatch Event-based observation.\n

" + "smithy.api#documentation": "

The name of the S3 CloudWatch Event-based observation.

" } }, "StatesExecutionArn": { "target": "com.amazonaws.applicationinsights#StatesExecutionArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the step function execution-based observation.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the step function execution-based observation.\n

" } }, "StatesArn": { "target": "com.amazonaws.applicationinsights#StatesArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the step function-based observation.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the step function-based observation.

" } }, "StatesStatus": { "target": "com.amazonaws.applicationinsights#StatesStatus", "traits": { - "smithy.api#documentation": "

\n The status of the step function-related observation.\n

" + "smithy.api#documentation": "

The status of the step function-related observation.

" } }, "StatesInput": { "target": "com.amazonaws.applicationinsights#StatesInput", "traits": { - "smithy.api#documentation": "

\n The input to the step function-based observation.\n

" + "smithy.api#documentation": "

The input to the step function-based observation.

" } }, "EbsEvent": { "target": "com.amazonaws.applicationinsights#EbsEvent", "traits": { - "smithy.api#documentation": "

\n The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.\n

" + "smithy.api#documentation": "

The type of EBS CloudWatch event, such as createVolume,\n deleteVolume or attachVolume.

" } }, "EbsResult": { "target": "com.amazonaws.applicationinsights#EbsResult", "traits": { - "smithy.api#documentation": "

\n The result of an EBS CloudWatch event, such as failed or succeeded.\n

" + "smithy.api#documentation": "

The result of an EBS CloudWatch event, such as failed or\n succeeded.

" } }, "EbsCause": { "target": "com.amazonaws.applicationinsights#EbsCause", "traits": { - "smithy.api#documentation": "

\n The cause of an EBS CloudWatch event.\n

" + "smithy.api#documentation": "

The cause of an EBS CloudWatch event.

" } }, "EbsRequestId": { "target": "com.amazonaws.applicationinsights#EbsRequestId", "traits": { - "smithy.api#documentation": "

\n The request ID of an EBS CloudWatch event.\n

" + "smithy.api#documentation": "

The request ID of an EBS CloudWatch event.

" } }, "XRayFaultPercent": { "target": "com.amazonaws.applicationinsights#XRayFaultPercent", "traits": { - "smithy.api#documentation": "

\n The X-Ray request fault percentage for this node.\n

" + "smithy.api#documentation": "

The X-Ray request fault percentage for this node.

" } }, "XRayThrottlePercent": { "target": "com.amazonaws.applicationinsights#XRayThrottlePercent", "traits": { - "smithy.api#documentation": "

\n The X-Ray request throttle percentage for this node.\n

" + "smithy.api#documentation": "

The X-Ray request throttle percentage for this node.

" } }, "XRayErrorPercent": { "target": "com.amazonaws.applicationinsights#XRayErrorPercent", "traits": { - "smithy.api#documentation": "

\n The X-Ray request error percentage for this node.\n

" + "smithy.api#documentation": "

The X-Ray request error percentage for this node.

" } }, "XRayRequestCount": { "target": "com.amazonaws.applicationinsights#XRayRequestCount", "traits": { - "smithy.api#documentation": "

\n The X-Ray request count for this node.\n

" + "smithy.api#documentation": "

The X-Ray request count for this node.

" } }, "XRayRequestAverageLatency": { "target": "com.amazonaws.applicationinsights#XRayRequestAverageLatency", "traits": { - "smithy.api#documentation": "

\n The X-Ray node request average latency for this node.\n

" + "smithy.api#documentation": "

The X-Ray node request average latency for this node.

" } }, "XRayNodeName": { "target": "com.amazonaws.applicationinsights#XRayNodeName", "traits": { - "smithy.api#documentation": "

\n The name of the X-Ray node.\n

" + "smithy.api#documentation": "

The name of the X-Ray node.

" } }, "XRayNodeType": { "target": "com.amazonaws.applicationinsights#XRayNodeType", "traits": { - "smithy.api#documentation": "

\n The type of the X-Ray node.

" + "smithy.api#documentation": "

The type of the X-Ray node.

" } } }, @@ -2449,10 +2484,16 @@ } }, "RecurringCount": { - "target": "com.amazonaws.applicationinsights#RecurringCount" + "target": "com.amazonaws.applicationinsights#RecurringCount", + "traits": { + "smithy.api#documentation": "

The number of times that the same problem reoccurred after the first time it was\n resolved.

" + } }, "LastRecurrenceTime": { - "target": "com.amazonaws.applicationinsights#LastRecurrenceTime" + "target": "com.amazonaws.applicationinsights#LastRecurrenceTime", + "traits": { + "smithy.api#documentation": "

The last time that the problem reoccurred after its last resolution.

" + } } }, "traits": { @@ -2587,6 +2628,10 @@ "type": "string", "traits": { "smithy.api#enum": [ + { + "value": "Informative", + "name": "Informative" + }, { "value": "Low", "name": "Low" @@ -2652,7 +2697,7 @@ "Key": { "target": "com.amazonaws.applicationinsights#TagKey", "traits": { - "smithy.api#documentation": "

One part of a key-value pair that defines a tag. The maximum length of a tag key is\n 128 characters. The minimum length is 1 character.

", + "smithy.api#documentation": "

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128\n characters. The minimum length is 1 character.

", "smithy.api#required": {} } }, @@ -2665,7 +2710,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that defines the tags associated with an application.\n A tag is a label that you optionally define and associate with\n an application. Tags can help you categorize and manage resources in different ways, such as\n by purpose, owner, environment, or other criteria.

\n

Each tag consists of a required tag key and an\n associated tag value, both of which you define. A tag key is a\n general label that acts as a category for a more specific tag value. A tag value acts as\n a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag\n value can contain as many as 256 characters. The characters can be Unicode letters,\n digits, white space, or one of the following symbols: _ . : / = + -. The following\n additional restrictions apply to tags:

\n " + "smithy.api#documentation": "

An object that defines the tags associated with an application. A\n tag is a label that you optionally define and associate with an\n application. Tags can help you categorize and manage resources in different ways, such as\n by purpose, owner, environment, or other criteria.

\n

Each tag consists of a required tag key and an associated\n tag value, both of which you define. A tag key is a general label\n that acts as a category for a more specific tag value. A tag value acts as a descriptor\n within a tag key. A tag key can contain as many as 128 characters. A tag value can contain\n as many as 256 characters. The characters can be Unicode letters, digits, white space, or\n one of the following symbols: _ . : / = + -. The following additional restrictions apply to\n tags:

\n " } }, "com.amazonaws.applicationinsights#TagKey": { @@ -2722,7 +2767,7 @@ } ], "traits": { - "smithy.api#documentation": "

Add one or more tags (keys and values) to a specified application. A\n tag is a label that you optionally define and associate with an\n application. Tags can help you categorize and manage application in different ways, such as\n by purpose, owner, environment, or other criteria.

\n

Each tag consists of a required tag key and an\n associated tag value, both of which you define. A tag key is a\n general label that acts as a category for more specific tag values. A tag value acts as\n a descriptor within a tag key.

" + "smithy.api#documentation": "

Add one or more tags (keys and values) to a specified application. A\n tag is a label that you optionally define and associate with an\n application. Tags can help you categorize and manage application in different ways, such as\n by purpose, owner, environment, or other criteria.

\n

Each tag consists of a required tag key and an associated\n tag value, both of which you define. A tag key is a general label\n that acts as a category for more specific tag values. A tag value acts as a descriptor\n within a tag key.

" } }, "com.amazonaws.applicationinsights#TagResourceRequest": { @@ -2731,14 +2776,14 @@ "ResourceARN": { "target": "com.amazonaws.applicationinsights#AmazonResourceName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the application that you want to add one or more tags to.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the application that you want to add one or more tags\n to.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.applicationinsights#TagList", "traits": { - "smithy.api#documentation": "

A list of tags that to add to the application. A tag consists of a required\n tag key (Key) and an associated tag value (Value). The maximum\n length of a tag key is 128 characters. The maximum length of a tag value is 256\n characters.

", + "smithy.api#documentation": "

A list of tags that to add to the application. A tag consists of a required tag key\n (Key) and an associated tag value (Value). The maximum length\n of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "smithy.api#required": {} } } @@ -2871,7 +2916,7 @@ } }, "traits": { - "smithy.api#documentation": "

The number of the provided tags is beyond the limit, or\n the number of total tags you are trying to attach to the specified resource exceeds the limit.

", + "smithy.api#documentation": "

The number of the provided tags is beyond the limit, or the number of total tags you are\n trying to attach to the specified resource exceeds the limit.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -2905,7 +2950,7 @@ "ResourceARN": { "target": "com.amazonaws.applicationinsights#AmazonResourceName", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the application that you want to remove one or more\n tags from.

", "smithy.api#required": {} } }, @@ -2958,29 +3003,32 @@ "OpsCenterEnabled": { "target": "com.amazonaws.applicationinsights#OpsCenterEnabled", "traits": { - "smithy.api#documentation": "

\n When set to true, creates opsItems for any problems detected on an application.\n

" + "smithy.api#documentation": "

When set to true, creates opsItems for any problems detected on an\n application.

" } }, "CWEMonitorEnabled": { "target": "com.amazonaws.applicationinsights#CWEMonitorEnabled", "traits": { - "smithy.api#documentation": "

\n Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.\n

" + "smithy.api#documentation": "

Indicates whether Application Insights can listen to CloudWatch events for the\n application resources, such as instance terminated, failed\n deployment, and others.

" } }, "OpsItemSNSTopicArn": { "target": "com.amazonaws.applicationinsights#OpsItemSNSTopicArn", "traits": { - "smithy.api#documentation": "

\n The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to\n receive notifications for updates to the opsItem.

" + "smithy.api#documentation": "

The SNS topic provided to Application Insights that is associated to the created\n opsItem. Allows you to receive notifications for updates to the opsItem.

" } }, "RemoveSNSTopic": { "target": "com.amazonaws.applicationinsights#RemoveSNSTopic", "traits": { - "smithy.api#documentation": "

\n Disassociates the SNS topic from the opsItem created for detected problems.

" + "smithy.api#documentation": "

Disassociates the SNS topic from the opsItem created for detected problems.

" } }, "AutoConfigEnabled": { - "target": "com.amazonaws.applicationinsights#AutoConfigEnabled" + "target": "com.amazonaws.applicationinsights#AutoConfigEnabled", + "traits": { + "smithy.api#documentation": "

Turns auto-configuration on or off.

" + } } } }, @@ -3041,7 +3089,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the monitoring configurations for the component. The configuration input parameter\n is an escaped JSON of the configuration and should match the schema of what is returned\n by DescribeComponentConfigurationRecommendation.

" + "smithy.api#documentation": "

Updates the monitoring configurations for the component. The configuration input\n parameter is an escaped JSON of the configuration and should match the schema of what is\n returned by DescribeComponentConfigurationRecommendation.

" } }, "com.amazonaws.applicationinsights#UpdateComponentConfigurationRequest": { @@ -3070,17 +3118,20 @@ "Tier": { "target": "com.amazonaws.applicationinsights#Tier", "traits": { - "smithy.api#documentation": "

The tier of the application component. Supported tiers include DOT_NET_WORKER,\n DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT.

" + "smithy.api#documentation": "

The tier of the application component.

" } }, "ComponentConfiguration": { "target": "com.amazonaws.applicationinsights#ComponentConfiguration", "traits": { - "smithy.api#documentation": "

The configuration settings of the component. The value is the escaped JSON of the configuration. For\n more information about the JSON format, see Working with JSON.\n You can send a request to DescribeComponentConfigurationRecommendation to see the recommended configuration for a component. For the complete\n format of the component configuration file, see Component Configuration.

" + "smithy.api#documentation": "

The configuration settings of the component. The value is the escaped JSON of the\n configuration. For more information about the JSON format, see Working with JSON. You can send a request to\n DescribeComponentConfigurationRecommendation to see the recommended\n configuration for a component. For the complete format of the component configuration file,\n see Component Configuration.

" } }, "AutoConfigEnabled": { - "target": "com.amazonaws.applicationinsights#AutoConfigEnabled" + "target": "com.amazonaws.applicationinsights#AutoConfigEnabled", + "traits": { + "smithy.api#documentation": "

Automatically configures the component by applying the recommended configurations.\n

" + } } } }, @@ -3176,13 +3227,13 @@ "Pattern": { "target": "com.amazonaws.applicationinsights#LogPatternRegex", "traits": { - "smithy.api#documentation": "

The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

" + "smithy.api#documentation": "

The log pattern. The pattern must be DFA compatible. Patterns that utilize forward\n lookahead or backreference constructions are not supported.

" } }, "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { - "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank.\n Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.\n

" + "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.

" } } } diff --git a/codegen/sdk-codegen/aws-models/apprunner.json b/codegen/sdk-codegen/aws-models/apprunner.json index ad29ce60899..d8664c2c476 100644 --- a/codegen/sdk-codegen/aws-models/apprunner.json +++ b/codegen/sdk-codegen/aws-models/apprunner.json @@ -549,7 +549,7 @@ "CodeConfiguration": { "target": "com.amazonaws.apprunner#CodeConfiguration", "traits": { - "smithy.api#documentation": "

Configuration for building and running the service from a source code repository.

" + "smithy.api#documentation": "

Configuration for building and running the service from a source code repository.

\n \n

\n CodeConfiguration is required only for CreateService request.

\n
" } } }, @@ -1026,7 +1026,7 @@ "Subnets": { "target": "com.amazonaws.apprunner#StringList", "traits": { - "smithy.api#documentation": "

A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single\n Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.

", + "smithy.api#documentation": "

A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single\n Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.

\n \n

\n App Runner currently only provides support for IPv4.\n

\n
", "smithy.api#required": {} } }, diff --git a/codegen/sdk-codegen/aws-models/auditmanager.json b/codegen/sdk-codegen/aws-models/auditmanager.json index 603c85617dc..5bfa55b90b2 100644 --- a/codegen/sdk-codegen/aws-models/auditmanager.json +++ b/codegen/sdk-codegen/aws-models/auditmanager.json @@ -461,7 +461,7 @@ "evidenceByTypeConfigurationDataCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { - "smithy.api#documentation": "

The number of evidence that falls under the configuration data category. This\n evidence is collected from configuration snapshots of other Amazon Web Services services such as Amazon EC2, Amazon S3, or IAM.

" + "smithy.api#documentation": "

The number of evidence that falls under the configuration data category. This\n evidence is collected from configuration snapshots of other Amazon Web Services such as Amazon EC2, Amazon S3, or IAM.

" } }, "evidenceByTypeManualCount": { @@ -4956,7 +4956,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of the in-scope Amazon Web Services services for the specified\n assessment.

", + "smithy.api#documentation": "

Returns a list of the in-scope Amazon Web Services for the specified\n assessment.

", "smithy.api#http": { "method": "GET", "uri": "/services", @@ -6274,6 +6274,9 @@ { "target": "com.amazonaws.auditmanager#ResourceNotFoundException" }, + { + "target": "com.amazonaws.auditmanager#ThrottlingException" + }, { "target": "com.amazonaws.auditmanager#ValidationException" } @@ -6437,13 +6440,15 @@ "roleType": { "target": "com.amazonaws.auditmanager#RoleType", "traits": { - "smithy.api#documentation": "

The type of customer persona.

\n \n

In CreateAssessment, roleType can only be\n PROCESS_OWNER.

\n

In UpdateSettings, roleType can only be\n PROCESS_OWNER.

\n

In BatchCreateDelegationByAssessment, roleType can only be\n RESOURCE_OWNER.

\n
" + "smithy.api#documentation": "

The type of customer persona.

\n \n

In CreateAssessment, roleType can only be\n PROCESS_OWNER.

\n

In UpdateSettings, roleType can only be\n PROCESS_OWNER.

\n

In BatchCreateDelegationByAssessment, roleType can only be\n RESOURCE_OWNER.

\n
", + "smithy.api#required": {} } }, "roleArn": { "target": "com.amazonaws.auditmanager#IamArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role.

", + "smithy.api#required": {} } } }, @@ -6831,7 +6836,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a share request for a custom framework in Audit Manager.

\n

The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.

\n \n

When you invoke the StartAssessmentFrameworkShare API, you are about to\n share a custom framework with another Amazon Web Services account. You may not share a\n custom framework that is derived from a standard framework if the standard framework is\n designated as not eligible for sharing by Amazon Web Services, unless you have obtained\n permission to do so from the owner of the standard framework. To learn more about which\n standard frameworks are eligible for sharing, see Framework sharing eligibility in the Audit Manager User\n Guide.

\n
", + "smithy.api#documentation": "

Creates a share request for a custom framework in Audit Manager.

\n

The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.

\n

When you create a share request, Audit Manager stores a snapshot of your custom\n framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also\n stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.

\n

Audit Manager deletes the snapshot and the backup snapshot when one of the following\n events occurs:

\n \n

When a sender resends a share request, the snapshot is replaced with an updated version that\n corresponds with the latest version of the custom framework.

\n

When a recipient accepts a share request, the snapshot is replicated into their\n Amazon Web Services account under the Amazon Web Services Region that was specified in the share request.

\n \n

When you invoke the StartAssessmentFrameworkShare API, you are about to\n share a custom framework with another Amazon Web Services account. You may not share a\n custom framework that is derived from a standard framework if the standard framework is\n designated as not eligible for sharing by Amazon Web Services, unless you have obtained\n permission to do so from the owner of the standard framework. To learn more about which\n standard frameworks are eligible for sharing, see Framework sharing eligibility in the Audit Manager User\n Guide.

\n
", "smithy.api#http": { "method": "POST", "uri": "/assessmentFrameworks/{frameworkId}/shareRequests", @@ -7002,6 +7007,22 @@ "smithy.api#pattern": "^[\\w\\W\\s\\S]*$" } }, + "com.amazonaws.auditmanager#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.auditmanager#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The request was denied due to request throttling.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, "com.amazonaws.auditmanager#Timestamp": { "type": "timestamp" }, diff --git a/codegen/sdk-codegen/aws-models/backup-gateway.json b/codegen/sdk-codegen/aws-models/backup-gateway.json index dd94f3e7306..36dbb94a837 100644 --- a/codegen/sdk-codegen/aws-models/backup-gateway.json +++ b/codegen/sdk-codegen/aws-models/backup-gateway.json @@ -427,6 +427,56 @@ "smithy.api#pattern": "^arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\\/[a-zA-Z-0-9]+$" } }, + "com.amazonaws.backupgateway#GatewayDetails": { + "type": "structure", + "members": { + "GatewayArn": { + "target": "com.amazonaws.backupgateway#GatewayArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the \n gateway. Use the ListGateways operation\n to return a list of gateways for your account and \n Amazon Web Services Region.

" + } + }, + "GatewayDisplayName": { + "target": "com.amazonaws.backupgateway#Name", + "traits": { + "smithy.api#documentation": "

The display name of the gateway.

" + } + }, + "GatewayType": { + "target": "com.amazonaws.backupgateway#GatewayType", + "traits": { + "smithy.api#documentation": "

The type of the gateway type.

" + } + }, + "HypervisorId": { + "target": "com.amazonaws.backupgateway#HypervisorId", + "traits": { + "smithy.api#documentation": "

The hypervisor ID of the gateway.

" + } + }, + "LastSeenTime": { + "target": "com.amazonaws.backupgateway#Time", + "traits": { + "smithy.api#documentation": "

Details showing the last time Backup gateway communicated\n with the cloud, in Unix format and UTC time.

" + } + }, + "NextUpdateAvailabilityTime": { + "target": "com.amazonaws.backupgateway#Time", + "traits": { + "smithy.api#documentation": "

Details showing the next update availability time of the \n gateway.

" + } + }, + "VpcEndpoint": { + "target": "com.amazonaws.backupgateway#VpcEndpoint", + "traits": { + "smithy.api#documentation": "

The DNS name for the virtual private cloud (VPC) endpoint the gateway \n uses to connect to the cloud for backup gateway.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details of gateway.

" + } + }, "com.amazonaws.backupgateway#GatewayResource": { "type": "resource", "identifiers": { @@ -437,6 +487,9 @@ "create": { "target": "com.amazonaws.backupgateway#CreateGateway" }, + "read": { + "target": "com.amazonaws.backupgateway#GetGateway" + }, "update": { "target": "com.amazonaws.backupgateway#UpdateGatewayInformation" }, @@ -458,6 +511,9 @@ }, { "target": "com.amazonaws.backupgateway#TestHypervisorConfiguration" + }, + { + "target": "com.amazonaws.backupgateway#UpdateGatewaySoftwareNow" } ], "traits": { @@ -483,6 +539,53 @@ "target": "com.amazonaws.backupgateway#Gateway" } }, + "com.amazonaws.backupgateway#GetGateway": { + "type": "operation", + "input": { + "target": "com.amazonaws.backupgateway#GetGatewayInput" + }, + "output": { + "target": "com.amazonaws.backupgateway#GetGatewayOutput" + }, + "errors": [ + { + "target": "com.amazonaws.backupgateway#InternalServerException" + }, + { + "target": "com.amazonaws.backupgateway#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.backupgateway#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

By providing the ARN (Amazon Resource Name), this\n API returns the gateway.

", + "smithy.api#readonly": {} + } + }, + "com.amazonaws.backupgateway#GetGatewayInput": { + "type": "structure", + "members": { + "GatewayArn": { + "target": "com.amazonaws.backupgateway#GatewayArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.backupgateway#GetGatewayOutput": { + "type": "structure", + "members": { + "Gateway": { + "target": "com.amazonaws.backupgateway#GatewayDetails", + "traits": { + "smithy.api#documentation": "

By providing the ARN (Amazon Resource Name), this\n API returns the gateway.

" + } + } + } + }, "com.amazonaws.backupgateway#Host": { "type": "string", "traits": { @@ -1123,7 +1226,7 @@ "Value": { "target": "com.amazonaws.backupgateway#TagValue", "traits": { - "smithy.api#documentation": "

The key part of a value's key-value pair.

", + "smithy.api#documentation": "

The value part of a tag's key-value pair.

", "smithy.api#required": {} } } @@ -1389,6 +1492,52 @@ } } }, + "com.amazonaws.backupgateway#UpdateGatewaySoftwareNow": { + "type": "operation", + "input": { + "target": "com.amazonaws.backupgateway#UpdateGatewaySoftwareNowInput" + }, + "output": { + "target": "com.amazonaws.backupgateway#UpdateGatewaySoftwareNowOutput" + }, + "errors": [ + { + "target": "com.amazonaws.backupgateway#InternalServerException" + }, + { + "target": "com.amazonaws.backupgateway#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.backupgateway#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the gateway virtual machine (VM) software. \n The request immediately triggers the software update.

\n \n

When you make this request, you get a 200 OK\n success response immediately. However, it might take some \n time for the update to complete.

\n
" + } + }, + "com.amazonaws.backupgateway#UpdateGatewaySoftwareNowInput": { + "type": "structure", + "members": { + "GatewayArn": { + "target": "com.amazonaws.backupgateway#GatewayArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway\n to be updated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.backupgateway#UpdateGatewaySoftwareNowOutput": { + "type": "structure", + "members": { + "GatewayArn": { + "target": "com.amazonaws.backupgateway#GatewayArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gateway\n you updated.

" + } + } + } + }, "com.amazonaws.backupgateway#UpdateHypervisor": { "type": "operation", "input": { @@ -1442,6 +1591,12 @@ "traits": { "smithy.api#documentation": "

The updated password for the hypervisor.

" } + }, + "Name": { + "target": "com.amazonaws.backupgateway#Name", + "traits": { + "smithy.api#documentation": "

The updated name for the hypervisor

" + } } } }, @@ -1516,7 +1671,7 @@ "ResourceArn": { "target": "com.amazonaws.backupgateway#ResourceArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual machine.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the virtual machine. For example,\n arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.

" } }, "LastBackupDate": { @@ -1536,6 +1691,15 @@ "target": "com.amazonaws.backupgateway#VirtualMachine" } }, + "com.amazonaws.backupgateway#VpcEndpoint": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, "com.amazonaws.backupgateway#string": { "type": "string" } diff --git a/codegen/sdk-codegen/aws-models/batch.json b/codegen/sdk-codegen/aws-models/batch.json index 50f9f9c1e7f..716964b4756 100644 --- a/codegen/sdk-codegen/aws-models/batch.json +++ b/codegen/sdk-codegen/aws-models/batch.json @@ -688,7 +688,7 @@ "tags": { "target": "com.amazonaws.batch#TagsMap", "traits": { - "smithy.api#documentation": "

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value−for\n example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is helpful for recognizing your Batch\n instances in the Amazon EC2 console. These tags can't be updated or removed after the compute environment is created. Any\n changes to these tags require that you create a new compute environment and remove the old compute environment. These\n tags aren't seen when using the Batch ListTagsForResource API operation.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
" + "smithy.api#documentation": "

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value−for\n example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is helpful for recognizing your Batch\n instances in the Amazon EC2 console. Updating these tags requires an infrastructure update to the compute environment. For\n more information, see Updating compute\n environments in the Batch User Guide. These tags aren't seen when using the Batch\n ListTagsForResource API operation.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
" } }, "placementGroup": { @@ -1221,7 +1221,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute\n environments. MANAGED compute environments can use Amazon EC2 or Fargate resources.\n UNMANAGED compute environments can only use EC2 resources.

\n

In a managed compute environment, Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a\n specified percentage of the On-Demand price.

\n \n

Multi-node parallel jobs aren't supported on Spot Instances.

\n
\n

In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility\n with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that\n each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the\n Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch\n your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the\n Amazon Elastic Container Service Developer Guide.

\n \n

Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it\n doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible\n for managing the guest operating system (including its updates and security patches) and any additional application\n software or utilities that you install on the compute resources. To use a new AMI for your Batch jobs, complete\n these steps:

\n
    \n
  1. \n

    Create a new compute environment with the new AMI.

    \n
  2. \n
  3. \n

    Add the compute environment to an existing job queue.

    \n
  4. \n
  5. \n

    Remove the earlier compute environment from your job queue.

    \n
  6. \n
  7. \n

    Delete the earlier compute environment.

    \n
  8. \n
\n
", + "smithy.api#documentation": "

Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute\n environments. MANAGED compute environments can use Amazon EC2 or Fargate resources.\n UNMANAGED compute environments can only use EC2 resources.

\n

In a managed compute environment, Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a\n specified percentage of the On-Demand price.

\n \n

Multi-node parallel jobs aren't supported on Spot Instances.

\n
\n

In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility\n with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that\n each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the\n Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch\n your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the\n Amazon Elastic Container Service Developer Guide.

\n \n

Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it\n also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is\n available. You're responsible for the management of the guest operating system. This includes any updates and\n security patches. You're also responsible for any additional application software or utilities that you install on\n the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete\n these steps:

\n
    \n
  1. \n

    Create a new compute environment with the new AMI.

    \n
  2. \n
  3. \n

    Add the compute environment to an existing job queue.

    \n
  4. \n
  5. \n

    Remove the earlier compute environment from your job queue.

    \n
  6. \n
  7. \n

    Delete the earlier compute environment.

    \n
  8. \n
\n

In April 2022, Batch added enhanced support for updating compute environments. For more information, see\n Updating compute\n environments. To use the enhanced updating of compute environments to update AMIs, follow these\n rules:

\n \n

If these rules are followed, any update that triggers an infrastructure update will cause the AMI ID to be\n re-selected. If the version setting in the launch template (launchTemplate) is set to\n $Latest or $Default, the latest or default version of the launch template will be\n evaluated up at the time of the infrastructure update, even if the launchTemplate was not\n updated.

\n
", "smithy.api#http": { "method": "POST", "uri": "/v1/createcomputeenvironment", @@ -1659,6 +1659,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "computeEnvironments", "pageSize": "maxResults" } } @@ -1732,6 +1733,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "jobDefinitions", "pageSize": "maxResults" } } @@ -1817,6 +1819,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "jobQueues", "pageSize": "maxResults" } } @@ -2977,6 +2980,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "jobSummaryList", "pageSize": "maxResults" } } @@ -3081,6 +3085,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "schedulingPolicies", "pageSize": "maxResults" } } @@ -3900,7 +3905,7 @@ "shareIdentifier": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The share identifier for the job.

" + "smithy.api#documentation": "

The share identifier for the job. If the job queue does not have a scheduling policy, then this parameter must\n not be specified. If the job queue has a scheduling policy, then this parameter must be specified.

" } }, "schedulingPriorityOverride": { diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json index 67ec46a4a95..0aa2202c1f9 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json @@ -60,12 +60,74 @@ "traits": { "smithy.api#documentation": "

The join token used by the Amazon Chime SDK attendee.

" } + }, + "Capabilities": { + "target": "com.amazonaws.chimesdkmeetings#AttendeeCapabilities", + "traits": { + "smithy.api#documentation": "

The capabilities (audio, video, or content) assigned to an attendee.

" + } } }, "traits": { "smithy.api#documentation": "

An Amazon Chime SDK meeting attendee. Includes a unique \n AttendeeId and JoinToken. The \n JoinToken\n allows a client to authenticate and join as the specified attendee. The \n JoinToken\n expires when the meeting ends, or when \n DeleteAttendee\n is called. After that, the attendee is unable to join the meeting.\n

\n \n

We recommend securely transferring each JoinToken from your server application\n to the client so that no other client has access to the token except for the one\n authorized to represent the attendee.

" } }, + "com.amazonaws.chimesdkmeetings#AttendeeCapabilities": { + "type": "structure", + "members": { + "Audio": { + "target": "com.amazonaws.chimesdkmeetings#MediaCapabilities", + "traits": { + "smithy.api#documentation": "

The audio capability assigned to an attendee.

", + "smithy.api#required": {} + } + }, + "Video": { + "target": "com.amazonaws.chimesdkmeetings#MediaCapabilities", + "traits": { + "smithy.api#documentation": "

The video capability assigned to an attendee.

", + "smithy.api#required": {} + } + }, + "Content": { + "target": "com.amazonaws.chimesdkmeetings#MediaCapabilities", + "traits": { + "smithy.api#documentation": "

The content capability assigned to an attendee.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The media capabilities of an attendee, including audio, video and content.

" + } + }, + "com.amazonaws.chimesdkmeetings#AttendeeIdItem": { + "type": "structure", + "members": { + "AttendeeId": { + "target": "com.amazonaws.chimesdkmeetings#GuidString", + "traits": { + "smithy.api#documentation": "

A list of one or more attendee IDs.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A structure that contains one or more attendee IDs.

" + } + }, + "com.amazonaws.chimesdkmeetings#AttendeeIdsList": { + "type": "list", + "member": { + "target": "com.amazonaws.chimesdkmeetings#AttendeeIdItem" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 250 + } + } + }, "com.amazonaws.chimesdkmeetings#AttendeeList": { "type": "list", "member": { @@ -197,6 +259,70 @@ } } }, + "com.amazonaws.chimesdkmeetings#BatchUpdateAttendeeCapabilitiesExcept": { + "type": "operation", + "input": { + "target": "com.amazonaws.chimesdkmeetings#BatchUpdateAttendeeCapabilitiesExceptRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.chimesdkmeetings#BadRequestException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ConflictException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ForbiddenException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#NotFoundException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#UnauthorizedException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates AttendeeCapabilities except the capabilities listed in an ExcludedAttendeeIds table.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/meetings/{MeetingId}/attendees/capabilities?operation=batch-update-except", + "code": 200 + } + } + }, + "com.amazonaws.chimesdkmeetings#BatchUpdateAttendeeCapabilitiesExceptRequest": { + "type": "structure", + "members": { + "MeetingId": { + "target": "com.amazonaws.chimesdkmeetings#GuidString", + "traits": { + "smithy.api#documentation": "

The ID of the meeting associated with the update request.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "ExcludedAttendeeIds": { + "target": "com.amazonaws.chimesdkmeetings#AttendeeIdsList", + "traits": { + "smithy.api#documentation": "

The AttendeeIDs that you want to exclude from one or more capabilities.

", + "smithy.api#required": {} + } + }, + "Capabilities": { + "target": "com.amazonaws.chimesdkmeetings#AttendeeCapabilities", + "traits": { + "smithy.api#documentation": "

The capabilities (audio, video, or content) that you want to update.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.chimesdkmeetings#Boolean": { "type": "boolean" }, @@ -222,6 +348,9 @@ { "target": "com.amazonaws.chimesdkmeetings#BatchCreateAttendee" }, + { + "target": "com.amazonaws.chimesdkmeetings#BatchUpdateAttendeeCapabilitiesExcept" + }, { "target": "com.amazonaws.chimesdkmeetings#CreateAttendee" }, @@ -251,6 +380,9 @@ }, { "target": "com.amazonaws.chimesdkmeetings#StopMeetingTranscription" + }, + { + "target": "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilities" } ] }, @@ -265,6 +397,25 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.chimesdkmeetings#ConflictException": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.chimesdkmeetings#String" + }, + "Message": { + "target": "com.amazonaws.chimesdkmeetings#String" + }, + "RequestId": { + "target": "com.amazonaws.chimesdkmeetings#String" + } + }, + "traits": { + "smithy.api#documentation": "

Multiple instances of the same request have been made simultaneously.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, "com.amazonaws.chimesdkmeetings#CreateAttendee": { "type": "operation", "input": { @@ -354,6 +505,12 @@ "smithy.api#documentation": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", "smithy.api#required": {} } + }, + "Capabilities": { + "target": "com.amazonaws.chimesdkmeetings#AttendeeCapabilities", + "traits": { + "smithy.api#documentation": "

The capabilities (audio, video, or content) that you want to grant an attendee. If you don't specify capabilities, all users have send and receive capabilities on \n all media channels by default.

" + } } } }, @@ -366,6 +523,12 @@ "smithy.api#documentation": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", "smithy.api#required": {} } + }, + "Capabilities": { + "target": "com.amazonaws.chimesdkmeetings#AttendeeCapabilities", + "traits": { + "smithy.api#documentation": "

A list of one or more capabilities.

" + } } }, "traits": { @@ -1188,6 +1351,29 @@ } } }, + "com.amazonaws.chimesdkmeetings#MediaCapabilities": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SendReceive", + "name": "SEND_RECEIVE" + }, + { + "value": "Send", + "name": "SEND" + }, + { + "value": "Receive", + "name": "RECEIVE" + }, + { + "value": "None", + "name": "NONE" + } + ] + } + }, "com.amazonaws.chimesdkmeetings#MediaPlacement": { "type": "structure", "members": { @@ -1344,7 +1530,7 @@ "RequestId": { "target": "com.amazonaws.chimesdkmeetings#String", "traits": { - "smithy.api#documentation": "

The request id associated with the call responsible for the exception.

" + "smithy.api#documentation": "

The request ID associated with the call responsible for the exception.

" } } }, @@ -1416,7 +1602,7 @@ } }, "traits": { - "smithy.api#documentation": "

The service encountered an unexpected error.

", + "smithy.api#documentation": "

The service is currently unavailable.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } @@ -1595,7 +1781,7 @@ } }, "traits": { - "smithy.api#documentation": "

The number of customer requests exceeds the request rate limit.

", + "smithy.api#documentation": "

The number of requests exceeds the limit.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } @@ -1966,6 +2152,79 @@ "smithy.api#error": "client", "smithy.api#httpError": 422 } + }, + "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilities": { + "type": "operation", + "input": { + "target": "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilitiesRequest" + }, + "output": { + "target": "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilitiesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chimesdkmeetings#BadRequestException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ConflictException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ForbiddenException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#NotFoundException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chimesdkmeetings#UnauthorizedException" + } + ], + "traits": { + "smithy.api#documentation": "

The capabilties that you want to update.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities", + "code": 200 + } + } + }, + "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilitiesRequest": { + "type": "structure", + "members": { + "MeetingId": { + "target": "com.amazonaws.chimesdkmeetings#GuidString", + "traits": { + "smithy.api#documentation": "

The ID of the meeting associated with the update request.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AttendeeId": { + "target": "com.amazonaws.chimesdkmeetings#GuidString", + "traits": { + "smithy.api#documentation": "

The ID of the attendee associated with the update request.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Capabilities": { + "target": "com.amazonaws.chimesdkmeetings#AttendeeCapabilities", + "traits": { + "smithy.api#documentation": "

The capabilties that you want to update.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilitiesResponse": { + "type": "structure", + "members": { + "Attendee": { + "target": "com.amazonaws.chimesdkmeetings#Attendee" + } + } } } } diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json b/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json index 812376a0e7a..4e0f4dc6584 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json @@ -60,7 +60,7 @@ "ReadMarkerTimestamp": { "target": "com.amazonaws.chimesdkmessaging#Timestamp", "traits": { - "smithy.api#documentation": "

The time at which a message was last read.

" + "smithy.api#documentation": "

The time at which an AppInstanceUser last marked a channel as read.

" } } }, @@ -73,6 +73,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#AssociateChannelFlowRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -648,6 +651,29 @@ "target": "com.amazonaws.chimesdkmessaging#ChannelFlowSummary" } }, + "com.amazonaws.chimesdkmessaging#ChannelId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9]([A-Za-z0-9\\:\\-\\_\\.\\@]{0,62}[A-Za-z0-9])?$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.chimesdkmessaging#ChannelMemberArns": { + "type": "list", + "member": { + "target": "com.amazonaws.chimesdkmessaging#ChimeArn" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, "com.amazonaws.chimesdkmessaging#ChannelMembership": { "type": "structure", "members": { @@ -1112,6 +1138,18 @@ "smithy.api#documentation": "

The details of a channel moderator.

" } }, + "com.amazonaws.chimesdkmessaging#ChannelModeratorArns": { + "type": "list", + "member": { + "target": "com.amazonaws.chimesdkmessaging#ChimeArn" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, "com.amazonaws.chimesdkmessaging#ChannelModeratorSummary": { "type": "structure", "members": { @@ -1221,7 +1259,7 @@ "name": "chime" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see Amazon Chime SDK messaging\n

", + "smithy.api#documentation": "

The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see Amazon Chime SDK messaging.

", "smithy.api#title": "Amazon Chime SDK Messaging" }, "version": "2021-05-15", @@ -1340,6 +1378,9 @@ { "target": "com.amazonaws.chimesdkmessaging#RedactChannelMessage" }, + { + "target": "com.amazonaws.chimesdkmessaging#SearchChannels" + }, { "target": "com.amazonaws.chimesdkmessaging#SendChannelMessage" }, @@ -1864,6 +1905,24 @@ "smithy.api#httpHeader": "x-amz-chime-bearer", "smithy.api#required": {} } + }, + "ChannelId": { + "target": "com.amazonaws.chimesdkmessaging#ChannelId", + "traits": { + "smithy.api#documentation": "

The ID of the channel in the request.

" + } + }, + "MemberArns": { + "target": "com.amazonaws.chimesdkmessaging#ChannelMemberArns", + "traits": { + "smithy.api#documentation": "

The ARNs of the channel members in the request.

" + } + }, + "ModeratorArns": { + "target": "com.amazonaws.chimesdkmessaging#ChannelModeratorArns", + "traits": { + "smithy.api#documentation": "

The ARNs of the channel moderators in the request.

" + } } } }, @@ -1883,6 +1942,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#DeleteChannelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -1917,6 +1979,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#DeleteChannelBanRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -1980,6 +2045,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#DeleteChannelFlowRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -2030,6 +2098,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#DeleteChannelMembershipRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -2096,6 +2167,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#DeleteChannelMessageRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -2159,6 +2233,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#DeleteChannelModeratorRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -2767,6 +2844,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#DisassociateChannelFlowRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -3015,7 +3095,10 @@ } }, "Member": { - "target": "com.amazonaws.chimesdkmessaging#Identity" + "target": "com.amazonaws.chimesdkmessaging#Identity", + "traits": { + "smithy.api#documentation": "

The details of a user.

" + } }, "Preferences": { "target": "com.amazonaws.chimesdkmessaging#ChannelMembershipPreferences", @@ -3604,7 +3687,7 @@ "ChannelMemberships": { "target": "com.amazonaws.chimesdkmessaging#ChannelMembershipForAppInstanceUserSummaryList", "traits": { - "smithy.api#documentation": "

The token passed by previous API calls until all requested users are returned.

" + "smithy.api#documentation": "

The information for the requested channel memberships.

" } }, "NextToken": { @@ -4520,7 +4603,7 @@ "FilterRule": { "target": "com.amazonaws.chimesdkmessaging#FilterRule", "traits": { - "smithy.api#documentation": "

The simple JSON object used to send a subset of a push notification to the requsted member.

" + "smithy.api#documentation": "

The simple JSON object used to send a subset of a push notification to the requested member.

" } } }, @@ -4640,7 +4723,10 @@ } }, "Member": { - "target": "com.amazonaws.chimesdkmessaging#Identity" + "target": "com.amazonaws.chimesdkmessaging#Identity", + "traits": { + "smithy.api#documentation": "

The details of a user.

" + } }, "Preferences": { "target": "com.amazonaws.chimesdkmessaging#ChannelMembershipPreferences", @@ -4662,6 +4748,9 @@ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" }, + { + "target": "com.amazonaws.chimesdkmessaging#ConflictException" + }, { "target": "com.amazonaws.chimesdkmessaging#ForbiddenException" }, @@ -4760,6 +4849,187 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.chimesdkmessaging#SearchChannels": { + "type": "operation", + "input": { + "target": "com.amazonaws.chimesdkmessaging#SearchChannelsRequest" + }, + "output": { + "target": "com.amazonaws.chimesdkmessaging#SearchChannelsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.chimesdkmessaging#BadRequestException" + }, + { + "target": "com.amazonaws.chimesdkmessaging#ForbiddenException" + }, + { + "target": "com.amazonaws.chimesdkmessaging#ServiceFailureException" + }, + { + "target": "com.amazonaws.chimesdkmessaging#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.chimesdkmessaging#ThrottledClientException" + }, + { + "target": "com.amazonaws.chimesdkmessaging#UnauthorizedClientException" + } + ], + "traits": { + "smithy.api#documentation": "

Allows an AppInstanceUser to search the channels that they belong to. The AppInstanceUser can search by membership or external ID. \n An AppInstanceAdmin can search across all channels within the AppInstance.

", + "smithy.api#http": { + "method": "POST", + "uri": "/channels?operation=search", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.chimesdkmessaging#SearchChannelsRequest": { + "type": "structure", + "members": { + "ChimeBearer": { + "target": "com.amazonaws.chimesdkmessaging#ChimeArn", + "traits": { + "smithy.api#documentation": "

The AppInstanceUserArn of the user making the API call.

", + "smithy.api#httpHeader": "x-amz-chime-bearer" + } + }, + "Fields": { + "target": "com.amazonaws.chimesdkmessaging#SearchFields", + "traits": { + "smithy.api#documentation": "

A list of the Field objects in the channel being searched.

", + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.chimesdkmessaging#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of channels that you want returned.

", + "smithy.api#httpQuery": "max-results" + } + }, + "NextToken": { + "target": "com.amazonaws.chimesdkmessaging#NextToken", + "traits": { + "smithy.api#documentation": "

The token returned from previous API requests until the number of channels is reached.

", + "smithy.api#httpQuery": "next-token" + } + } + } + }, + "com.amazonaws.chimesdkmessaging#SearchChannelsResponse": { + "type": "structure", + "members": { + "Channels": { + "target": "com.amazonaws.chimesdkmessaging#ChannelSummaryList", + "traits": { + "smithy.api#documentation": "

A list of the channels in the request.

" + } + }, + "NextToken": { + "target": "com.amazonaws.chimesdkmessaging#NextToken", + "traits": { + "smithy.api#documentation": "

The token returned from previous API responses until the number of channels is reached.

" + } + } + } + }, + "com.amazonaws.chimesdkmessaging#SearchField": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.chimesdkmessaging#SearchFieldKey", + "traits": { + "smithy.api#documentation": "

An enum value that indicates the key to search the channel on. MEMBERS allows you to search channels based on memberships. You can use it with the EQUALS \n operator to get channels whose memberships are equal to the specified values, and with the INCLUDES operator to get channels whose memberships include the specified values.

", + "smithy.api#required": {} + } + }, + "Values": { + "target": "com.amazonaws.chimesdkmessaging#SearchFieldValues", + "traits": { + "smithy.api#documentation": "

The values that you want to search for, a list of strings. The values must be AppInstanceUserArns specified as a list of strings.

\n \n

This operation isn't supported for AppInstanceUsers with large number of memberships.

\n
", + "smithy.api#required": {} + } + }, + "Operator": { + "target": "com.amazonaws.chimesdkmessaging#SearchFieldOperator", + "traits": { + "smithy.api#documentation": "

The operator used to compare field values, currently EQUALS or INCLUDES. Use the EQUALS operator to find channels whose memberships equal the specified values. \n Use the INCLUDES operator to find channels whose memberships include the specified values.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A Field of the channel that you want to search.

" + } + }, + "com.amazonaws.chimesdkmessaging#SearchFieldKey": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MEMBERS", + "name": "MEMBERS" + } + ] + } + }, + "com.amazonaws.chimesdkmessaging#SearchFieldOperator": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + }, + { + "value": "INCLUDES", + "name": "INCLUDES" + } + ] + } + }, + "com.amazonaws.chimesdkmessaging#SearchFieldValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } + }, + "com.amazonaws.chimesdkmessaging#SearchFieldValues": { + "type": "list", + "member": { + "target": "com.amazonaws.chimesdkmessaging#SearchFieldValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.chimesdkmessaging#SearchFields": { + "type": "list", + "member": { + "target": "com.amazonaws.chimesdkmessaging#SearchField" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, "com.amazonaws.chimesdkmessaging#SendChannelMessage": { "type": "operation", "input": { @@ -5012,6 +5282,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -5113,6 +5386,9 @@ "input": { "target": "com.amazonaws.chimesdkmessaging#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkmessaging#BadRequestException" @@ -5469,15 +5745,13 @@ "Name": { "target": "com.amazonaws.chimesdkmessaging#NonEmptyResourceName", "traits": { - "smithy.api#documentation": "

The name of the channel.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The name of the channel.

" } }, "Mode": { "target": "com.amazonaws.chimesdkmessaging#ChannelMode", "traits": { - "smithy.api#documentation": "

The mode of the update request.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The mode of the update request.

" } }, "Metadata": { diff --git a/codegen/sdk-codegen/aws-models/cloudformation.json b/codegen/sdk-codegen/aws-models/cloudformation.json index 667bd5700d6..1b699ba2eae 100644 --- a/codegen/sdk-codegen/aws-models/cloudformation.json +++ b/codegen/sdk-codegen/aws-models/cloudformation.json @@ -158,7 +158,7 @@ "PublicTypeArn": { "target": "com.amazonaws.cloudformation#ThirdPartyTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the public extension.

\n

Conditional: You must specify PublicTypeArn, or TypeName,\n Type, and PublisherId.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the public extension.

\n

Conditional: You must specify PublicTypeArn, or TypeName,\n Type, and PublisherId.

" } }, "PublisherId": { @@ -214,7 +214,7 @@ "Arn": { "target": "com.amazonaws.cloudformation#PrivateTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the activated extension, in this account and\n region.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the activated extension, in this account and\n region.

" } } } @@ -417,6 +417,9 @@ "input": { "target": "com.amazonaws.cloudformation#CancelUpdateStackInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudformation#TokenAlreadyExistsException" @@ -1284,7 +1287,7 @@ "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to create the stack.

\n " + "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to create the stack.

\n " } }, "ResourceTypes": { @@ -1683,7 +1686,7 @@ "StackId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { - "smithy.api#documentation": "

The stack ID you are importing into a new stack set. Specify the Amazon Resource Number\n (ARN) of the stack.

" + "smithy.api#documentation": "

The stack ID you are importing into a new stack set. Specify the Amazon Resource Name\n (ARN) of the stack.

" } }, "Parameters": { @@ -1707,7 +1710,7 @@ "AdministrationRoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the IAM role to use to create this\n stack set.

\n

Specify an IAM role only if you are using customized administrator roles\n to control which users or groups can manage specific stack sets within the same\n administrator account. For more information, see Prerequisites: Granting Permissions for Stack\n Set Operations in the CloudFormation User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to use to create this\n stack set.

\n

Specify an IAM role only if you are using customized administrator roles\n to control which users or groups can manage specific stack sets within the same\n administrator account. For more information, see Prerequisites: Granting Permissions for Stack\n Set Operations in the CloudFormation User Guide.

" } }, "ExecutionRoleName": { @@ -1878,6 +1881,9 @@ "input": { "target": "com.amazonaws.cloudformation#DeleteStackInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudformation#TokenAlreadyExistsException" @@ -2034,7 +2040,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a stack set. Before you can delete a stack set, all of its member stack\n instances must be deleted. For more information about how to do this, see DeleteStackInstances.

" + "smithy.api#documentation": "

Deletes a stack set. Before you can delete a stack set, all its member stack instances\n must be deleted. For more information about how to complete this, see DeleteStackInstances.

" } }, "com.amazonaws.cloudformation#DeleteStackSetInput": { @@ -2519,7 +2525,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about a CloudFormation extension publisher.

\n

If you don't supply a PublisherId, and you have registered as an extension\n publisher, DescribePublisher returns information about your own publisher\n account.

\n

For more information on registering as a publisher, see:

\n ", + "smithy.api#documentation": "

Returns information about a CloudFormation extension publisher.

\n

If you don't supply a PublisherId, and you have registered as an extension\n publisher, DescribePublisher returns information about your own publisher\n account.

\n

For more information about registering as a publisher, see:

\n ", "smithy.api#idempotent": {} } }, @@ -2572,7 +2578,7 @@ "target": "com.amazonaws.cloudformation#DescribeStackDriftDetectionStatusOutput" }, "traits": { - "smithy.api#documentation": "

Returns information about a stack drift detection operation. A stack drift detection\n operation detects whether a stack's actual configuration differs, or has\n drifted, from it's expected configuration, as defined in the stack\n template and any values specified as template parameters. A stack is considered to have\n drifted if one or more of its resources have drifted. For more information on stack and\n resource drift, see Detecting\n Unregulated Configuration Changes to Stacks and Resources.

\n

Use DetectStackDrift to initiate a stack drift detection operation.\n DetectStackDrift returns a StackDriftDetectionId you can use\n to monitor the progress of the operation using\n DescribeStackDriftDetectionStatus. Once the drift detection operation has\n completed, use DescribeStackResourceDrifts to return drift information\n about the stack and its resources.

" + "smithy.api#documentation": "

Returns information about a stack drift detection operation. A stack drift detection\n operation detects whether a stack's actual configuration differs, or has\n drifted, from it's expected configuration, as defined in the stack\n template and any values specified as template parameters. A stack is considered to have\n drifted if one or more of its resources have drifted. For more information about stack and\n resource drift, see Detecting\n Unregulated Configuration Changes to Stacks and Resources.

\n

Use DetectStackDrift to initiate a stack drift detection operation.\n DetectStackDrift returns a StackDriftDetectionId you can use\n to monitor the progress of the operation using\n DescribeStackDriftDetectionStatus. Once the drift detection operation has\n completed, use DescribeStackResourceDrifts to return drift information\n about the stack and its resources.

" } }, "com.amazonaws.cloudformation#DescribeStackDriftDetectionStatusInput": { @@ -2830,7 +2836,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is\n set to a token. To retrieve the next set of results, call\n DescribeStackResourceDrifts again and assign that token to the request\n object's NextToken parameter. If the request returns all results,\n NextToken is set to null.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call\n DescribeStackResourceDrifts again and assign that token to the request\n object's NextToken parameter. If the request returns all results,\n NextToken is set to null.

" } } } @@ -3485,7 +3491,7 @@ "PublisherId": { "target": "com.amazonaws.cloudformation#PublisherId", "traits": { - "smithy.api#documentation": "

The publisher ID of the extension publisher.

\n

Extensions provided by Amazon are not assigned a publisher ID.

" + "smithy.api#documentation": "

The publisher ID of the extension publisher.

\n

Extensions provided by Amazon Web Services are not assigned a publisher ID.

" } }, "PublicVersionNumber": { @@ -3520,25 +3526,25 @@ "DefaultVersionId": { "target": "com.amazonaws.cloudformation#TypeVersionId", "traits": { - "smithy.api#documentation": "

The ID of the default version of the extension. The default version is used when the\n extension version isn't specified.

\n

This applies only to private extensions you have registered in your account. For public\n extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType.

\n

To set the default version of an extension, use \n SetTypeDefaultVersion\n .

" + "smithy.api#documentation": "

The ID of the default version of the extension. The default version is used when the\n extension version isn't specified.

\n

This applies only to private extensions you have registered in your account. For public\n extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns null. For more information, see RegisterType.

\n

To set the default version of an extension, use \n SetTypeDefaultVersion\n .

" } }, "IsDefaultVersion": { "target": "com.amazonaws.cloudformation#IsDefaultVersion", "traits": { - "smithy.api#documentation": "

Whether the specified extension version is set as the default version.

\n

This applies only to private extensions you have registered in your account, and\n extensions published by Amazon. For public third-party extensions, whether or not they are\n activated in your account, CloudFormation returns null.

" + "smithy.api#documentation": "

Whether the specified extension version is set as the default version.

\n

This applies only to private extensions you have registered in your account, and\n extensions published by Amazon Web Services. For public third-party extensions, whether they\n are activated in your account, CloudFormation returns null.

" } }, "TypeTestsStatus": { "target": "com.amazonaws.cloudformation#TypeTestsStatus", "traits": { - "smithy.api#documentation": "

The contract test status of the registered extension version. To return the extension\n test status of a specific extension version, you must specify\n VersionId.

\n

This applies only to registered private extension versions. CloudFormation\n doesn't return this information for public extensions, whether or not they are activated in\n your account.

\n " + "smithy.api#documentation": "

The contract test status of the registered extension version. To return the extension\n test status of a specific extension version, you must specify\n VersionId.

\n

This applies only to registered private extension versions. CloudFormation\n doesn't return this information for public extensions, whether they are activated in your\n account.

\n " } }, "TypeTestsStatusDescription": { "target": "com.amazonaws.cloudformation#TypeTestsStatusDescription", "traits": { - "smithy.api#documentation": "

The description of the test status. To return the extension test status of a specific\n extension version, you must specify VersionId.

\n

This applies only to registered private extension versions. CloudFormation\n doesn't return this information for public extensions, whether or not they are activated in\n your account.

" + "smithy.api#documentation": "

The description of the test status. To return the extension test status of a specific\n extension version, you must specify VersionId.

\n

This applies only to registered private extension versions. CloudFormation\n doesn't return this information for public extensions, whether they are activated in your\n account.

" } }, "Description": { @@ -3550,7 +3556,7 @@ "Schema": { "target": "com.amazonaws.cloudformation#TypeSchema", "traits": { - "smithy.api#documentation": "

The schema that defines the extension.

\n

For more information on extension schemas, see Resource Provider\n Schema in the CloudFormation CLI User\n Guide.

" + "smithy.api#documentation": "

The schema that defines the extension.

\n

For more information about extension schemas, see Resource Provider\n Schema in the CloudFormation CLI User\n Guide.

" } }, "ProvisioningType": { @@ -3568,7 +3574,7 @@ "LoggingConfig": { "target": "com.amazonaws.cloudformation#LoggingConfig", "traits": { - "smithy.api#documentation": "

Contains logging configuration information for private extensions. This applies only to\n private extensions you have registered in your account. For public extensions, both those\n provided by Amazon and published by third parties, CloudFormation returns\n null. For more information, see RegisterType.

" + "smithy.api#documentation": "

Contains logging configuration information for private extensions. This applies only to\n private extensions you have registered in your account. For public extensions, both those\n provided by Amazon Web Services and published by third parties, CloudFormation returns\n null. For more information, see RegisterType.

" } }, "RequiredActivatedTypes": { @@ -3580,13 +3586,13 @@ "ExecutionRoleArn": { "target": "com.amazonaws.cloudformation#RoleARN2", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM execution role used to register\n the extension. This applies only to private extensions you have registered in your account.\n For more information, see RegisterType.

\n

\n

If the registered extension calls any Amazon Web Services APIs, you must create an\n \n IAM execution role\n that includes the necessary\n permissions to call those Amazon Web Services APIs, and provision that execution role in\n your account. CloudFormation then assumes that execution role to provide your\n extension with the appropriate credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM execution role used to register\n the extension. This applies only to private extensions you have registered in your account.\n For more information, see RegisterType.

\n

If the registered extension calls any Amazon Web Services APIs, you must create an\n \n IAM execution role\n that includes the necessary\n permissions to call those Amazon Web Services APIs, and provision that execution role in\n your account. CloudFormation then assumes that execution role to provide your\n extension with the appropriate credentials.

" } }, "Visibility": { "target": "com.amazonaws.cloudformation#Visibility", "traits": { - "smithy.api#documentation": "

The scope at which the extension is visible and usable in CloudFormation\n operations.

\n

Valid values include:

\n " + "smithy.api#documentation": "

The scope at which the extension is visible and usable in CloudFormation\n operations.

\n

Valid values include:

\n " } }, "SourceUrl": { @@ -3652,7 +3658,7 @@ "IsActivated": { "target": "com.amazonaws.cloudformation#IsActivated", "traits": { - "smithy.api#documentation": "

Whether or not the extension is activated in the account and region.

\n

This only applies to public third-party extensions. For all other extensions, CloudFormation returns null.

" + "smithy.api#documentation": "

Whether the extension is activated in the account and region.

\n

This only applies to public third-party extensions. For all other extensions, CloudFormation returns null.

" } }, "AutoUpdate": { @@ -3864,7 +3870,7 @@ } ], "traits": { - "smithy.api#documentation": "

Detect drift on a stack set. When CloudFormation performs drift detection on a\n stack set, it performs drift detection on the stack associated with each stack instance in\n the stack set. For more information, see How CloudFormation performs drift detection on a stack set.

\n

\n DetectStackSetDrift returns the OperationId of the stack set\n drift detection operation. Use this operation id with \n DescribeStackSetOperation\n to monitor the progress of the drift\n detection operation. The drift detection operation may take some time, depending on the\n number of stack instances included in the stack set, in addition to the number of resources\n included in each stack.

\n

Once the operation has completed, use the following actions to return drift\n information:

\n \n

For more information on performing a drift detection operation on a stack set, see\n Detecting unmanaged\n changes in stack sets.

\n

You can only run a single drift detection operation on a given stack set at one\n time.

\n

To stop a drift detection stack set operation, use \n StopStackSetOperation\n .

" + "smithy.api#documentation": "

Detect drift on a stack set. When CloudFormation performs drift detection on a\n stack set, it performs drift detection on the stack associated with each stack instance in\n the stack set. For more information, see How CloudFormation performs drift detection on a stack set.

\n

\n DetectStackSetDrift returns the OperationId of the stack set\n drift detection operation. Use this operation id with \n DescribeStackSetOperation\n to monitor the progress of the drift\n detection operation. The drift detection operation may take some time, depending on the\n number of stack instances included in the stack set, in addition to the number of resources\n included in each stack.

\n

Once the operation has completed, use the following actions to return drift\n information:

\n \n

For more information about performing a drift detection operation on a stack set, see\n Detecting unmanaged\n changes in stack sets.

\n

You can only run a single drift detection operation on a given stack set at one\n time.

\n

To stop a drift detection stack set operation, use \n StopStackSetOperation\n .

" } }, "com.amazonaws.cloudformation#DetectStackSetDriftInput": { @@ -4875,7 +4881,7 @@ "code": "LimitExceededException", "httpResponseCode": 400 }, - "smithy.api#documentation": "

The quota for the resource has already been reached.

\n

For information on resource and stack limitations, see CloudFormation\n quotas in the CloudFormation User Guide.

", + "smithy.api#documentation": "

The quota for the resource has already been reached.

\n

For information about resource and stack limitations, see CloudFormation\n quotas in the CloudFormation User Guide.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -5080,7 +5086,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous request didn't return all of the remaining results, the response's\n NextToken parameter value is set to a token. To retrieve the next set of\n results, call ListStackInstances again and assign that token to the request\n object's NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous request didn't return all the remaining results, the response's\n NextToken parameter value is set to a token. To retrieve the next set of\n results, call ListStackInstances again and assign that token to the request\n object's NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" } }, "MaxResults": { @@ -5236,7 +5242,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous request didn't return all of the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set\n of results, call ListStackSetOperationResults again and assign that token to\n the request object's NextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to\n null.

" + "smithy.api#documentation": "

If the previous request didn't return all the remaining results, the response object's\n NextToken parameter value is set to a token. To retrieve the next set of\n results, call ListStackSetOperationResults again and assign that token to the\n request object's NextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to\n null.

" } }, "MaxResults": { @@ -5537,7 +5543,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is\n set to a token. To retrieve the next set of results, call this action again and assign that\n token to the request object's NextToken parameter. If the request returns all\n results, NextToken is set to null.

" + "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call this action again and assign that\n token to the request object's NextToken parameter. If the request returns all\n results, NextToken is set to null.

" } } } @@ -5659,7 +5665,7 @@ "Visibility": { "target": "com.amazonaws.cloudformation#Visibility", "traits": { - "smithy.api#documentation": "

The scope at which the extensions are visible and usable in CloudFormation\n operations.

\n

Valid values include:

\n \n

The default is PRIVATE.

" + "smithy.api#documentation": "

The scope at which the extensions are visible and usable in CloudFormation\n operations.

\n

Valid values include:

\n \n

The default is PRIVATE.

" } }, "ProvisioningType": { @@ -5695,7 +5701,7 @@ "NextToken": { "target": "com.amazonaws.cloudformation#NextToken", "traits": { - "smithy.api#documentation": "

If the previous paginated request didn't return all of the remaining results, the\n response object's NextToken parameter value is set to a token. To retrieve the\n next set of results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" + "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set\n of results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" } } } @@ -5846,7 +5852,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the\n resource was created from a module included in the stack template.

\n

For more information on modules, see Using modules to encapsulate and\n reuse resource configurations in the\n CloudFormation User Guide.

" + "smithy.api#documentation": "

Contains information about the module from which the resource was created, if the\n resource was created from a module included in the stack template.

\n

For more information about modules, see Using modules to encapsulate and\n reuse resource configurations in the\n CloudFormation User Guide.

" } }, "com.amazonaws.cloudformation#MonitoringTimeInMinutes": { @@ -6353,7 +6359,7 @@ } ], "traits": { - "smithy.api#documentation": "

Publishes the specified extension to the CloudFormation registry as a public\n extension in this region. Public extensions are available for use by all CloudFormation users. For more information on publishing extensions, see Publishing extensions to make them available for public use in the\n CloudFormation CLI User Guide.

\n

To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.

", + "smithy.api#documentation": "

Publishes the specified extension to the CloudFormation registry as a public\n extension in this region. Public extensions are available for use by all CloudFormation users. For more information about publishing extensions, see Publishing extensions to make them available for public use in the\n CloudFormation CLI User Guide.

\n

To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.

", "smithy.api#idempotent": {} } }, @@ -6369,7 +6375,7 @@ "Arn": { "target": "com.amazonaws.cloudformation#PrivateTypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the extension.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

\n

Conditional: You must specify Arn, or TypeName and\n Type.

" } }, "TypeName": { @@ -6392,7 +6398,7 @@ "PublicTypeArn": { "target": "com.amazonaws.cloudformation#TypeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) assigned to the public extension upon\n publication.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) assigned to the public extension upon\n publication.

" } } } @@ -6560,7 +6566,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are available for use by all CloudFormation users.\n This publisher ID applies to your account in all Amazon Web Services Regions.

\n

For information on requirements for registering as a public extension publisher, see\n Registering your account to publish CloudFormation\n extensions in the CloudFormation CLI User\n Guide.

\n

", + "smithy.api#documentation": "

Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are available for use by all CloudFormation users.\n This publisher ID applies to your account in all Amazon Web Services Regions.

\n

For information about requirements for registering as a public extension publisher, see\n Registering your account to publish CloudFormation\n extensions in the CloudFormation CLI User\n Guide.

\n

", "smithy.api#idempotent": {} } }, @@ -6606,7 +6612,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers an extension with the CloudFormation service. Registering an\n extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes:

\n \n

For more information on how to develop extensions and ready them for registration, see\n Creating Resource\n Providers in the CloudFormation CLI User\n Guide.

\n

You can have a maximum of 50 resource extension versions registered at a time. This\n maximum is per account and per region. Use DeregisterType to deregister specific extension versions if necessary.

\n

Once you have initiated a registration request using \n RegisterType\n , you can use \n DescribeTypeRegistration\n to\n monitor the progress of the registration request.

\n

Once you have registered a private extension in your account and region, use SetTypeConfiguration to specify configuration properties for the extension. For\n more information, see Configuring extensions at the account level in the CloudFormation User Guide.

", + "smithy.api#documentation": "

Registers an extension with the CloudFormation service. Registering an\n extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes:

\n \n

For more information about how to develop extensions and ready them for registration,\n see Creating Resource\n Providers in the CloudFormation CLI User\n Guide.

\n

You can have a maximum of 50 resource extension versions registered at a time. This\n maximum is per account and per region. Use DeregisterType to deregister specific extension versions if necessary.

\n

Once you have initiated a registration request using \n RegisterType\n , you can use \n DescribeTypeRegistration\n to\n monitor the progress of the registration request.

\n

Once you have registered a private extension in your account and region, use SetTypeConfiguration to specify configuration properties for the extension. For\n more information, see Configuring extensions at the account level in the CloudFormation User Guide.

", "smithy.api#idempotent": {} } }, @@ -6622,14 +6628,14 @@ "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { - "smithy.api#documentation": "

The name of the extension being registered.

\n

We recommend that extension names adhere to the following patterns:

\n \n\n \n

The following organization namespaces are reserved and can't be used in your\n extension names:

\n \n
", + "smithy.api#documentation": "

The name of the extension being registered.

\n

We suggest that extension names adhere to the following patterns:

\n \n\n \n

The following organization namespaces are reserved and can't be used in your\n extension names:

\n \n
", "smithy.api#required": {} } }, "SchemaHandlerPackage": { "target": "com.amazonaws.cloudformation#S3Url", "traits": { - "smithy.api#documentation": "

A URL to the S3 bucket containing the extension project package that contains the\n necessary files for the extension you want to register.

\n

For information on generating a schema handler package for the extension you want to\n register, see submit\n in the CloudFormation CLI User Guide.

\n \n

The user registering the extension must be able to access the package in the S3\n bucket. That's, the user needs to have GetObject permissions for the\n schema handler package. For more information, see Actions, Resources, and Condition Keys\n for Amazon S3 in the Identity and Access Management User\n Guide.

\n
", + "smithy.api#documentation": "

A URL to the S3 bucket containing the extension project package that contains the\n necessary files for the extension you want to register.

\n

For information about generating a schema handler package for the extension you want to\n register, see submit\n in the CloudFormation CLI User Guide.

\n \n

The user registering the extension must be able to access the package in the S3\n bucket. That's, the user needs to have GetObject permissions for the\n schema handler package. For more information, see Actions, Resources, and Condition Keys\n for Amazon S3 in the Identity and Access Management User\n Guide.

\n
", "smithy.api#required": {} } }, @@ -6642,7 +6648,7 @@ "ExecutionRoleArn": { "target": "com.amazonaws.cloudformation#RoleARN2", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension.

\n

For CloudFormation to assume the specified execution role, the role must\n contain a trust relationship with the CloudFormation service principle\n (resources.cloudformation.amazonaws.com). For more information on adding\n trust relationships, see Modifying a role trust policy in the Identity and Access Management User\n Guide.

\n

If your extension calls Amazon Web Services APIs in any of its handlers, you must create\n an \n IAM execution role\n that includes the necessary\n permissions to call those Amazon Web Services APIs, and provision that execution role in\n your account. When CloudFormation needs to invoke the resource type handler,\n CloudFormation assumes this execution role to create a temporary session token,\n which it then passes to the resource type handler, thereby supplying your resource type\n with the appropriate credentials.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension.

\n

For CloudFormation to assume the specified execution role, the role must\n contain a trust relationship with the CloudFormation service principle\n (resources.cloudformation.amazonaws.com). For more information about adding\n trust relationships, see Modifying a role trust policy in the Identity and Access Management User\n Guide.

\n

If your extension calls Amazon Web Services APIs in any of its handlers, you must create\n an \n IAM execution role\n that includes the necessary\n permissions to call those Amazon Web Services APIs, and provision that execution role in\n your account. When CloudFormation needs to invoke the resource type handler,\n CloudFormation assumes this execution role to create a temporary session token,\n which it then passes to the resource type handler, thereby supplying your resource type\n with the appropriate credentials.

" } }, "ClientRequestToken": { @@ -7410,6 +7416,9 @@ "input": { "target": "com.amazonaws.cloudformation#SetStackPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Sets a stack policy for a specified stack.

" } @@ -7567,6 +7576,9 @@ "input": { "target": "com.amazonaws.cloudformation#SignalResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Sends a signal to the specified resource with a success or failure status. You can use\n the SignalResource operation in conjunction with a creation policy or update policy. CloudFormation doesn't proceed with a stack creation or update until resources receive\n the required number of signals or the timeout period is exceeded. The SignalResource operation is\n useful in cases where you want to send signals from anywhere other than an Amazon EC2\n instance.

" } @@ -7724,7 +7736,7 @@ "EnableTerminationProtection": { "target": "com.amazonaws.cloudformation#EnableTerminationProtection", "traits": { - "smithy.api#documentation": "

Whether termination protection is enabled for the stack.

\n

For nested stacks,\n termination protection is set on the root stack and cannot be changed directly on the\n nested stack. For more information, see Protecting a Stack From Being\n Deleted in the CloudFormation User Guide.

" + "smithy.api#documentation": "

Whether termination protection is enabled for the stack.

\n

For nested stacks,\n termination protection is set on the root stack and can't be changed directly on the nested\n stack. For more information, see Protecting a Stack From Being Deleted in the\n CloudFormation User Guide.

" } }, "ParentId": { @@ -7742,7 +7754,7 @@ "DriftInformation": { "target": "com.amazonaws.cloudformation#StackDriftInformation", "traits": { - "smithy.api#documentation": "

Information on whether a stack's actual configuration differs, or has\n drifted, from it's expected configuration, as defined in the stack\n template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration\n Changes to Stacks and Resources.

" + "smithy.api#documentation": "

Information about whether a stack's actual configuration differs, or has\n drifted, from it's expected configuration, as defined in the stack\n template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration\n Changes to Stacks and Resources.

" } } }, @@ -8593,7 +8605,7 @@ "StackResourceDriftStatus": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { - "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected\n configuration.

\n ", + "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected\n configuration.

\n ", "smithy.api#required": {} } }, @@ -8775,13 +8787,13 @@ "StackSetARN": { "target": "com.amazonaws.cloudformation#StackSetARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the stack set.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the stack set.

" } }, "AdministrationRoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the IAM role used to create or update\n the stack set.

\n

Use customized administrator roles to control which users or groups can manage specific\n stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack\n Set Operations in the CloudFormation User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role used to create or update\n the stack set.

\n

Use customized administrator roles to control which users or groups can manage specific\n stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack\n Set Operations in the CloudFormation User Guide.

" } }, "ExecutionRoleName": { @@ -9018,7 +9030,7 @@ "AdministrationRoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the IAM role used to perform this\n stack set operation.

\n

Use customized administrator roles to control which users or groups can manage specific\n stack sets within the same administrator account. For more information, see Define Permissions for Multiple\n Administrators in the CloudFormation User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role used to perform this\n stack set operation.

\n

Use customized administrator roles to control which users or groups can manage specific\n stack sets within the same administrator account. For more information, see Define Permissions for Multiple\n Administrators in the CloudFormation User Guide.

" } }, "ExecutionRoleName": { @@ -9050,6 +9062,12 @@ "traits": { "smithy.api#documentation": "

Detailed information about the drift status of the stack set. This includes information\n about drift operations currently being performed on the stack set.

\n

This information will only be present for stack set operations whose Action\n type is DETECT_DRIFT.

\n

For more information, see Detecting Unmanaged\n Changes in Stack Sets in the CloudFormation User Guide.

" } + }, + "StatusReason": { + "target": "com.amazonaws.cloudformation#StackSetOperationStatusReason", + "traits": { + "smithy.api#documentation": "

The status of the operation in details.

" + } } }, "traits": { @@ -9120,7 +9138,7 @@ } }, "traits": { - "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set\n operation.

\n

For more information on maximum concurrent accounts and failure tolerance, see Stack set operation options.

" + "smithy.api#documentation": "

The user-specified preferences for how CloudFormation performs a stack set\n operation.

\n

For more information about maximum concurrent accounts and failure tolerance, see Stack set operation options.

" } }, "com.amazonaws.cloudformation#StackSetOperationResultStatus": { @@ -9231,6 +9249,9 @@ ] } }, + "com.amazonaws.cloudformation#StackSetOperationStatusReason": { + "type": "string" + }, "com.amazonaws.cloudformation#StackSetOperationSummaries": { "type": "list", "member": { @@ -9269,6 +9290,12 @@ "traits": { "smithy.api#documentation": "

The time at which the stack set operation ended, across all accounts and Regions\n specified. Note that this doesn't necessarily mean that the stack set operation was\n successful, or even attempted, in each account or Region.

" } + }, + "StatusReason": { + "target": "com.amazonaws.cloudformation#StackSetOperationStatusReason", + "traits": { + "smithy.api#documentation": "

The status of the operation in details.

" + } } }, "traits": { @@ -9541,7 +9568,7 @@ "DriftInformation": { "target": "com.amazonaws.cloudformation#StackDriftInformationSummary", "traits": { - "smithy.api#documentation": "

Summarizes information on whether a stack's actual configuration differs, or has\n drifted, from it's expected configuration, as defined in the stack\n template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration\n Changes to Stacks and Resources.

" + "smithy.api#documentation": "

Summarizes information about whether a stack's actual configuration differs, or has\n drifted, from it's expected configuration, as defined in the stack\n template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration\n Changes to Stacks and Resources.

" } } }, @@ -10007,7 +10034,7 @@ "IsDefaultConfiguration": { "target": "com.amazonaws.cloudformation#IsDefaultConfiguration", "traits": { - "smithy.api#documentation": "

Whether or not this configuration data is the default configuration for the\n extension.

" + "smithy.api#documentation": "

Whether this configuration data is the default configuration for the extension.

" } } }, @@ -10246,7 +10273,7 @@ "IsActivated": { "target": "com.amazonaws.cloudformation#IsActivated", "traits": { - "smithy.api#documentation": "

Whether or not the extension is activated for this account and region.

\n

This applies only to third-party public extensions. Extensions published by Amazon are\n activated by default.

" + "smithy.api#documentation": "

Whether the extension is activated for this account and region.

\n

This applies only to third-party public extensions. Extensions published by Amazon are\n activated by default.

" } } }, @@ -10416,13 +10443,13 @@ "StackPolicyDuringUpdateBody": { "target": "com.amazonaws.cloudformation#StackPolicyDuringUpdateBody", "traits": { - "smithy.api#documentation": "

Structure containing the temporary overriding stack policy body. You can specify either\n the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL\n parameter, but not both.

\n

If you want to update protected resources, specify a temporary overriding stack policy\n during this update. If you do not specify a stack policy, the current policy that is\n associated with the stack will be used.

" + "smithy.api#documentation": "

Structure containing the temporary overriding stack policy body. You can specify either\n the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL\n parameter, but not both.

\n

If you want to update protected resources, specify a temporary overriding stack policy\n during this update. If you don't specify a stack policy, the current policy that is\n associated with the stack will be used.

" } }, "StackPolicyDuringUpdateURL": { "target": "com.amazonaws.cloudformation#StackPolicyDuringUpdateURL", "traits": { - "smithy.api#documentation": "

Location of a file containing the temporary overriding stack policy. The URL must point\n to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. You\n can specify either the StackPolicyDuringUpdateBody or the\n StackPolicyDuringUpdateURL parameter, but not both.

\n

If you want to update protected resources, specify a temporary overriding stack policy\n during this update. If you do not specify a stack policy, the current policy that is\n associated with the stack will be used.

" + "smithy.api#documentation": "

Location of a file containing the temporary overriding stack policy. The URL must point\n to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. You\n can specify either the StackPolicyDuringUpdateBody or the\n StackPolicyDuringUpdateURL parameter, but not both.

\n

If you want to update protected resources, specify a temporary overriding stack policy\n during this update. If you don't specify a stack policy, the current policy that is\n associated with the stack will be used.

" } }, "Parameters": { @@ -10434,7 +10461,7 @@ "Capabilities": { "target": "com.amazonaws.cloudformation#Capabilities", "traits": { - "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to update the stack.

\n " + "smithy.api#documentation": "

In some cases, you must explicitly acknowledge that your stack template contains certain\n capabilities in order for CloudFormation to update the stack.

\n " } }, "ResourceTypes": { @@ -10702,7 +10729,7 @@ "AdministrationRoleARN": { "target": "com.amazonaws.cloudformation#RoleARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the IAM role to use to update this\n stack set.

\n

Specify an IAM role only if you are using customized administrator roles\n to control which users or groups can manage specific stack sets within the same\n administrator account. For more information, see Granting Permissions for Stack Set\n Operations in the CloudFormation User Guide.

\n

If you specified a customized administrator role when you created the stack set, you\n must specify a customized administrator role, even if it is the same customized\n administrator role used with this stack set previously.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to use to update this\n stack set.

\n

Specify an IAM role only if you are using customized administrator roles\n to control which users or groups can manage specific stack sets within the same\n administrator account. For more information, see Granting Permissions for Stack Set\n Operations in the CloudFormation User Guide.

\n

If you specified a customized administrator role when you created the stack set, you\n must specify a customized administrator role, even if it is the same customized\n administrator role used with this stack set previously.

" } }, "ExecutionRoleName": { diff --git a/codegen/sdk-codegen/aws-models/cloudwatch-logs.json b/codegen/sdk-codegen/aws-models/cloudwatch-logs.json index d29784bab3c..b1c88ea1e07 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch-logs.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch-logs.json @@ -45,6 +45,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#AssociateKmsKeyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -87,6 +90,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#CancelExportTaskRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidOperationException" @@ -146,7 +152,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an export task, which allows you to efficiently export data from a\n log group to an Amazon S3 bucket. When you perform a CreateExportTask\n operation, you must use credentials that have permission to write to the S3 bucket \n that you specify as the destination.

\n

This is an asynchronous call. If all the required information is provided, this \n operation initiates an export task and responds with the ID of the task. After the task has started,\n you can use DescribeExportTasks to get the status of the export task. Each account can\n only have one active (RUNNING or PENDING) export task at a time.\n To cancel an export task, use CancelExportTask.

\n

You can export logs from multiple log groups or multiple time ranges to the same S3\n bucket. To separate out log data for each export task, you can specify a prefix to be used as\n the Amazon S3 key prefix for all exported objects.

\n

Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets \n encrypted with SSE-KMS is not supported.

" + "smithy.api#documentation": "

Creates an export task, which allows you to efficiently export data from a\n log group to an Amazon S3 bucket. When you perform a CreateExportTask\n operation, you must use credentials that have permission to write to the S3 bucket \n that you specify as the destination.

\n \n

Exporting log data to Amazon S3 buckets that are encrypted by KMS is not \n supported. Exporting\n log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is not supported.

\n

Exporting to S3 buckets that are encrypted with AES-256 is supported.

\n
\n

This is an asynchronous call. If all the required information is provided, this \n operation initiates an export task and responds with the ID of the task. After the task has started,\n you can use DescribeExportTasks to get the status of the export task. Each account can\n only have one active (RUNNING or PENDING) export task at a time.\n To cancel an export task, use CancelExportTask.

\n

You can export logs from multiple log groups or multiple time ranges to the same S3\n bucket. To separate out log data for each export task, you can specify a prefix to be used as\n the Amazon S3 key prefix for all exported objects.

\n \n \n

Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the \n exported log fild data by using Linux utilities.

\n
" } }, "com.amazonaws.cloudwatchlogs#CreateExportTaskRequest": { @@ -181,7 +187,7 @@ "to": { "target": "com.amazonaws.cloudwatchlogs#Timestamp", "traits": { - "smithy.api#documentation": "

The end time of the range for the request, expreswatchlogsdocused as the number of milliseconds\n after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not\n exported.

", + "smithy.api#documentation": "

The end time of the range for the request, expressed as the number of milliseconds\n after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not\n exported.

", "smithy.api#required": {} } }, @@ -216,6 +222,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#CreateLogGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -266,6 +275,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#CreateLogStreamRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -322,7 +334,7 @@ "type": "integer", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

The number of days to retain the log events in the specified log group.\n Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.

\n

To set a log group to never have log events expire, use\n DeleteRetentionPolicy.\n

" + "smithy.api#documentation": "

The number of days to retain the log events in the specified log group.\n Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.

\n

To set a log group to never have log events expire, use\n DeleteRetentionPolicy.\n

" } }, "com.amazonaws.cloudwatchlogs#DefaultValue": { @@ -336,6 +348,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DeleteDestinationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -371,6 +386,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DeleteLogGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -406,6 +424,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DeleteLogStreamRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -448,6 +469,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DeleteMetricFilterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -536,6 +560,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DeleteResourcePolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -567,6 +594,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DeleteRetentionPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -602,6 +632,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DeleteSubscriptionFilterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -836,7 +869,7 @@ "logGroups": { "target": "com.amazonaws.cloudwatchlogs#LogGroups", "traits": { - "smithy.api#documentation": "

The log groups.

\n

If the retentionInDays value if not included for a log group, then that log group\n is set to have its events never expire.

" + "smithy.api#documentation": "

The log groups.

\n

If the retentionInDays value is not included for a log group, then that log group\n is set to have its events never expire.

" } }, "nextToken": { @@ -1361,6 +1394,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#DisassociateKmsKeyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -2419,6 +2455,24 @@ }, "com.amazonaws.cloudwatchlogs#Logs_20140328": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "CloudWatch Logs", + "arnNamespace": "logs", + "cloudFormationName": "Logs", + "cloudTrailEventSource": "cloudwatchlogs.amazonaws.com", + "endpointPrefix": "logs" + }, + "aws.auth#sigv4": { + "name": "logs" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

You can use Amazon CloudWatch Logs to monitor, store, and access your log files from\n EC2 instances, CloudTrail, and other sources. You can then retrieve the associated\n log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the\n Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.

\n

You can use CloudWatch Logs to:

\n ", + "smithy.api#title": "Amazon CloudWatch Logs", + "smithy.api#xmlNamespace": { + "uri": "http://monitoring.amazonaws.com/doc/2014-03-28/" + } + }, "version": "2014-03-28", "operations": [ { @@ -2547,25 +2601,7 @@ { "target": "com.amazonaws.cloudwatchlogs#UntagLogGroup" } - ], - "traits": { - "aws.api#service": { - "sdkId": "CloudWatch Logs", - "arnNamespace": "logs", - "cloudFormationName": "Logs", - "cloudTrailEventSource": "cloudwatchlogs.amazonaws.com", - "endpointPrefix": "logs" - }, - "aws.auth#sigv4": { - "name": "logs" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

You can use Amazon CloudWatch Logs to monitor, store, and access your log files from\n EC2 instances, CloudTrail, and other sources. You can then retrieve the associated\n log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the\n Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.

\n

You can use CloudWatch Logs to:

\n ", - "smithy.api#title": "Amazon CloudWatch Logs", - "smithy.api#xmlNamespace": { - "uri": "http://monitoring.amazonaws.com/doc/2014-03-28/" - } - } + ] }, "com.amazonaws.cloudwatchlogs#MalformedQueryException": { "type": "structure", @@ -2765,7 +2801,7 @@ } }, "traits": { - "smithy.api#documentation": "

Multiple requests to update the same resource were in conflict.

", + "smithy.api#documentation": "

Multiple concurrent requests to update the same resource were in conflict.

", "smithy.api#error": "client" } }, @@ -2865,6 +2901,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#PutDestinationPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -3028,6 +3067,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#PutMetricFilterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -3206,6 +3248,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#PutRetentionPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -3247,6 +3292,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#PutSubscriptionFilterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -4065,6 +4113,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#TagLogGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#InvalidParameterException" @@ -4219,6 +4270,9 @@ "input": { "target": "com.amazonaws.cloudwatchlogs#UntagLogGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException" diff --git a/codegen/sdk-codegen/aws-models/codeartifact.json b/codegen/sdk-codegen/aws-models/codeartifact.json index 53ad19a8cc0..b32d5b2e9ea 100644 --- a/codegen/sdk-codegen/aws-models/codeartifact.json +++ b/codegen/sdk-codegen/aws-models/codeartifact.json @@ -52,7 +52,7 @@ "min": 12, "max": 12 }, - "smithy.api#pattern": "[0-9]{12}" + "smithy.api#pattern": "^[0-9]{12}$" } }, "com.amazonaws.codeartifact#Arn": { @@ -62,7 +62,7 @@ "min": 1, "max": 1011 }, - "smithy.api#pattern": "\\S+" + "smithy.api#pattern": "^\\S+$" } }, "com.amazonaws.codeartifact#Asset": { @@ -87,7 +87,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "\\P{C}+" + "smithy.api#pattern": "^\\P{C}+$" } }, "com.amazonaws.codeartifact#AssetSummary": { @@ -177,7 +177,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -192,7 +192,7 @@ "externalConnection": { "target": "com.amazonaws.codeartifact#ExternalConnectionName", "traits": { - "smithy.api#documentation": "

\n The name of the external connection to add to the repository. The following values are supported:\n

\n ", + "smithy.api#documentation": "

\n The name of the external connection to add to the repository. The following values are supported:\n

\n ", "smithy.api#httpQuery": "external-connection", "smithy.api#required": {} } @@ -228,6 +228,21 @@ }, "com.amazonaws.codeartifact#CodeArtifactControlPlaneService": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "codeartifact", + "arnNamespace": "codeartifact", + "cloudFormationName": "Codeartifact", + "cloudTrailEventSource": "codeartifact.amazonaws.com", + "endpointPrefix": "codeartifact" + }, + "aws.auth#sigv4": { + "name": "codeartifact" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.

\n \n

\n CodeArtifact Components\n

\n

Use the information in this guide to help you work with the following CodeArtifact components:

\n \n \n \n

CodeArtifact supports these operations:

\n ", + "smithy.api#title": "CodeArtifact" + }, "version": "2018-09-22", "operations": [ { @@ -332,22 +347,7 @@ { "target": "com.amazonaws.codeartifact#UpdateRepository" } - ], - "traits": { - "aws.api#service": { - "sdkId": "codeartifact", - "arnNamespace": "codeartifact", - "cloudFormationName": "Codeartifact", - "cloudTrailEventSource": "codeartifact.amazonaws.com", - "endpointPrefix": "codeartifact" - }, - "aws.auth#sigv4": { - "name": "codeartifact" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AWS CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, and pip. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.

\n \n

\n AWS CodeArtifact Components\n

\n

Use the information in this guide to help you work with the following CodeArtifact components:

\n \n \n \n

CodeArtifact supports these operations:

\n ", - "smithy.api#title": "CodeArtifact" - } + ] }, "com.amazonaws.codeartifact#ConflictException": { "type": "structure", @@ -367,7 +367,7 @@ "resourceType": { "target": "com.amazonaws.codeartifact#ResourceType", "traits": { - "smithy.api#documentation": "

\n The type of AWS resource.\n

" + "smithy.api#documentation": "

\n The type of Amazon Web Services resource.\n

" } } }, @@ -431,7 +431,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -454,7 +454,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the package that is copied. The valid package types are:\n

\n ", + "smithy.api#documentation": "

\n The format of the package that is copied.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -549,7 +549,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an\n organization. You can use a domain to apply permissions across many\n repositories owned by different AWS accounts. An asset is stored only once\n in a domain, even if it's in multiple repositories. \n

\n\n

Although you can have multiple domains, we recommend a single production domain that contains all\n published artifacts so that your development teams can find and share packages. You can use a second\n pre-production domain to test changes to the production domain configuration.\n

", + "smithy.api#documentation": "

\n Creates a domain. CodeArtifact domains make it easier to manage multiple repositories across an\n organization. You can use a domain to apply permissions across many\n repositories owned by different Amazon Web Services accounts. An asset is stored only once\n in a domain, even if it's in multiple repositories. \n

\n\n

Although you can have multiple domains, we recommend a single production domain that contains all\n published artifacts so that your development teams can find and share packages. You can use a second\n pre-production domain to test changes to the production domain configuration.\n

", "smithy.api#http": { "method": "POST", "uri": "/v1/domain", @@ -563,7 +563,7 @@ "domain": { "target": "com.amazonaws.codeartifact#DomainName", "traits": { - "smithy.api#documentation": "

The name of the domain to create. All domain names in an AWS Region that are in the\n same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do\n not use sensitive information in a domain name because it is publicly discoverable.

", + "smithy.api#documentation": "

The name of the domain to create. All domain names in an Amazon Web Services Region that are in the\n same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do\n not use sensitive information in a domain name because it is publicly discoverable.

", "smithy.api#httpQuery": "domain", "smithy.api#required": {} } @@ -571,7 +571,7 @@ "encryptionKey": { "target": "com.amazonaws.codeartifact#Arn", "traits": { - "smithy.api#documentation": "

The encryption key for the domain. This is used to encrypt content stored in a domain.\n An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key\n alias ARN. To specify an encryptionKey, your IAM role must have\n kms:DescribeKey and kms:CreateGrant permissions on the encryption\n key that is used. For more information, see DescribeKey in the AWS Key Management Service API Reference\n and AWS KMS API Permissions\n Reference in the AWS Key Management Service Developer Guide.

\n \n

CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your\n domain. For more information, see Using symmetric and asymmetric\n keys in the AWS Key Management Service Developer Guide.

\n
" + "smithy.api#documentation": "

The encryption key for the domain. This is used to encrypt content stored in a domain.\n An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key\n alias ARN. To specify an encryptionKey, your IAM role must have\n kms:DescribeKey and kms:CreateGrant permissions on the encryption\n key that is used. For more information, see DescribeKey in the Key Management Service API Reference\n and Key Management Service API Permissions\n Reference in the Key Management Service Developer Guide.

\n \n

CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your\n domain. For more information, see Using symmetric and asymmetric\n keys in the Key Management Service Developer Guide.

\n
" } }, "tags": { @@ -647,7 +647,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -668,7 +668,7 @@ "upstreams": { "target": "com.amazonaws.codeartifact#UpstreamRepositoryList", "traits": { - "smithy.api#documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories \n in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more \n information, see Working with upstream repositories.

" + "smithy.api#documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories \n in the list determines their priority order when CodeArtifact looks for a requested package version. For more \n information, see Working with upstream repositories.

" } }, "tags": { @@ -775,7 +775,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -813,7 +813,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } } @@ -881,7 +881,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -896,7 +896,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the package versions to delete. The valid values are:\n

\n ", + "smithy.api#documentation": "

\n The format of the package versions to delete.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -926,7 +926,7 @@ "expectedStatus": { "target": "com.amazonaws.codeartifact#PackageVersionStatus", "traits": { - "smithy.api#documentation": "

\n The expected status of the package version to delete. Valid values are:\n

\n " + "smithy.api#documentation": "

\n The expected status of the package version to delete.\n

" } } } @@ -937,7 +937,7 @@ "successfulVersions": { "target": "com.amazonaws.codeartifact#SuccessfulPackageVersionInfoMap", "traits": { - "smithy.api#documentation": "

\n A list of the package versions that were successfully deleted.\n

" + "smithy.api#documentation": "

\n A list of the package versions that were successfully deleted. The \n status of every successful version will be Deleted.\n

" } }, "failedVersions": { @@ -1014,7 +1014,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Deletes the resource policy that is set on a repository. After a resource policy is deleted, the\n permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.\n

\n \n

\n Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, AWS users, roles, and accounts lose permissions to perform\n the repository actions granted by the deleted policy.\n

\n
", + "smithy.api#documentation": "

\n Deletes the resource policy that is set on a repository. After a resource policy is deleted, the\n permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.\n

\n \n

\n Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform\n the repository actions granted by the deleted policy.\n

\n
", "smithy.api#http": { "method": "DELETE", "uri": "/v1/repository/permissions/policies", @@ -1036,7 +1036,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1082,7 +1082,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1155,7 +1155,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } } @@ -1220,7 +1220,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1235,7 +1235,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n A format that specifies the type of the requested package version. The valid values are:\n

\n ", + "smithy.api#documentation": "

\n A format that specifies the type of the requested package version.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -1325,7 +1325,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1357,7 +1357,7 @@ "min": 0, "max": 1000 }, - "smithy.api#pattern": "\\P{C}+" + "smithy.api#pattern": "^\\P{C}+$" } }, "com.amazonaws.codeartifact#DisassociateExternalConnection": { @@ -1414,7 +1414,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1498,7 +1498,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1513,7 +1513,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n A format that specifies the type of package versions you want to dispose. The valid values are:\n

\n ", + "smithy.api#documentation": "

\n A format that specifies the type of package versions you want to dispose.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -1549,7 +1549,7 @@ "expectedStatus": { "target": "com.amazonaws.codeartifact#PackageVersionStatus", "traits": { - "smithy.api#documentation": "

\n The expected status of the package version to dispose. Valid values are:\n

\n " + "smithy.api#documentation": "

\n The expected status of the package version to dispose.\n

" } } } @@ -1583,7 +1583,7 @@ "owner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

The AWS account ID that owns the domain.

" + "smithy.api#documentation": "

The Amazon Web Services account ID that owns the domain.

" } }, "arn": { @@ -1595,7 +1595,7 @@ "status": { "target": "com.amazonaws.codeartifact#DomainStatus", "traits": { - "smithy.api#documentation": "

The current status of a domain. The valid values are

\n " + "smithy.api#documentation": "

\n The current status of a domain.\n

" } }, "createdTime": { @@ -1607,7 +1607,7 @@ "encryptionKey": { "target": "com.amazonaws.codeartifact#Arn", "traits": { - "smithy.api#documentation": "

The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.

" + "smithy.api#documentation": "

The ARN of an Key Management Service (KMS) key associated with a domain.

" } }, "repositoryCount": { @@ -1640,7 +1640,7 @@ "min": 2, "max": 50 }, - "smithy.api#pattern": "[a-z][a-z0-9\\-]{0,48}[a-z0-9]" + "smithy.api#pattern": "^[a-z][a-z0-9\\-]{0,48}[a-z0-9]$" } }, "com.amazonaws.codeartifact#DomainStatus": { @@ -1670,7 +1670,7 @@ "owner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

" + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

" } }, "arn": { @@ -1682,7 +1682,7 @@ "status": { "target": "com.amazonaws.codeartifact#DomainStatus", "traits": { - "smithy.api#documentation": "

\n A string that contains the status of the domain. The valid values are: \n

\n " + "smithy.api#documentation": "

\n A string that contains the status of the domain. \n

" } }, "createdTime": { @@ -1714,7 +1714,7 @@ "com.amazonaws.codeartifact#ExternalConnectionName": { "type": "string", "traits": { - "smithy.api#pattern": "[A-Za-z0-9][A-Za-z0-9._\\-:]{1,99}" + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9._\\-:]{1,99}$" } }, "com.amazonaws.codeartifact#ExternalConnectionStatus": { @@ -1754,7 +1754,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Generates a temporary authorization token for accessing repositories in the domain. \n This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. \n For more information about authorization tokens, see \n AWS CodeArtifact authentication and tokens.\n

\n \n

CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. \n You can call login periodically to refresh the token. When \n you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, \n up to a maximum of 12 hours, with the durationSeconds parameter.

\n

The authorization period begins after login \n or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while \n assuming a role, the token lifetime is independent of the maximum session duration \n of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then \n generate a CodeArtifact authorization token, the token will be valid for the full authorization period \n even though this is longer than the 15-minute session duration.

\n

See \n Using IAM Roles \n for more information on controlling session duration.

\n
", + "smithy.api#documentation": "

\n Generates a temporary authorization token for accessing repositories in the domain. \n This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. \n For more information about authorization tokens, see \n CodeArtifact authentication and tokens.\n

\n \n

CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. \n You can call login periodically to refresh the token. When \n you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, \n up to a maximum of 12 hours, with the durationSeconds parameter.

\n

The authorization period begins after login \n or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while \n assuming a role, the token lifetime is independent of the maximum session duration \n of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then \n generate a CodeArtifact authorization token, the token will be valid for the full authorization period \n even though this is longer than the 15-minute session duration.

\n

See \n Using IAM Roles \n for more information on controlling session duration.

\n
", "smithy.api#http": { "method": "POST", "uri": "/v1/authorization-token", @@ -1776,7 +1776,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1832,7 +1832,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Returns the resource policy attached to the specified domain.\n

\n \n

\n The policy is a resource-based policy, not an identity-based policy. For more information, see\n Identity-based policies\n and resource-based policies in the AWS Identity and Access Management User Guide.\n

\n
", + "smithy.api#documentation": "

\n Returns the resource policy attached to the specified domain.\n

\n \n

\n The policy is a resource-based policy, not an identity-based policy. For more information, see\n Identity-based policies\n and resource-based policies in the IAM User Guide.\n

\n
", "smithy.api#http": { "method": "GET", "uri": "/v1/domain/permissions/policy", @@ -1854,7 +1854,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } } @@ -1922,7 +1922,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -1937,7 +1937,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n A format that specifies the type of the package version with the requested asset file. The valid values are:\n

\n ", + "smithy.api#documentation": "

\n A format that specifies the type of the package version with the requested asset file.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -2041,7 +2041,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Gets the readme file or descriptive text for a package version. For packages that do not contain a readme file, CodeArtifact\n extracts a description from a metadata file. For example, from the element in the\n pom.xml file of a Maven package.\n

\n

\n The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.\n

", + "smithy.api#documentation": "

\n Gets the readme file or descriptive text for a package version.\n

\n

\n The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.\n

", "smithy.api#http": { "method": "GET", "uri": "/v1/package/version/readme", @@ -2063,7 +2063,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -2078,7 +2078,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n A format that specifies the type of the package version with the requested readme file. The valid values are:\n

\n ", + "smithy.api#documentation": "

\n A format that specifies the type of the package version with the requested readme file.\n

\n \n

Although maven is \n listed as a valid value, CodeArtifact does not support displaying readme files for Maven packages.

\n
", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -2114,7 +2114,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the package with the requested readme file. Valid format types are:\n

\n " + "smithy.api#documentation": "

\n The format of the package with the requested readme file.\n

" } }, "namespace": { @@ -2175,7 +2175,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n

\n ", + "smithy.api#documentation": "

\n Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each \n package format:\n

\n ", "smithy.api#http": { "method": "GET", "uri": "/v1/repository/endpoint", @@ -2197,7 +2197,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -2212,7 +2212,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n Returns which endpoint of a repository to return. A repository has one endpoint for each \n package format:\n

\n ", + "smithy.api#documentation": "

\n Returns which endpoint of a repository to return. A repository has one endpoint for each \n package format.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -2278,7 +2278,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -2333,7 +2333,7 @@ "min": 32, "max": 512 }, - "smithy.api#pattern": "[0-9a-f]+" + "smithy.api#pattern": "^[0-9a-f]+$" } }, "com.amazonaws.codeartifact#Integer": { @@ -2350,7 +2350,7 @@ } }, "traits": { - "smithy.api#documentation": "

The operation did not succeed because of an error that occurred inside AWS CodeArtifact.

", + "smithy.api#documentation": "

The operation did not succeed because of an error that occurred inside CodeArtifact.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } @@ -2404,7 +2404,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of DomainSummary objects for all domains owned by the AWS account that makes\n this call. Each returned DomainSummary object contains information about a\n domain.

", + "smithy.api#documentation": "

Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes\n this call. Each returned DomainSummary object contains information about a\n domain.

", "smithy.api#http": { "method": "POST", "uri": "/v1/domains", @@ -2413,6 +2413,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "domains", "pageSize": "maxResults" } } @@ -2496,6 +2497,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "assets", "pageSize": "maxResults" } } @@ -2524,7 +2526,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -2539,7 +2541,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the package that contains the returned package version assets. The valid package types are:\n

\n ", + "smithy.api#documentation": "

\n The format of the package that contains the returned package version assets.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -2678,7 +2680,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -2693,7 +2695,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the package with the requested dependencies. The valid package types are:\n

\n ", + "smithy.api#documentation": "

\n The format of the package with the requested dependencies.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -2736,7 +2738,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n A format that specifies the type of the package that contains the returned dependencies. The valid values are:\n

\n " + "smithy.api#documentation": "

\n A format that specifies the type of the package that contains the returned dependencies.\n

" } }, "namespace": { @@ -2812,6 +2814,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "versions", "pageSize": "maxResults" } } @@ -2840,7 +2843,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -2855,7 +2858,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the returned packages. The valid package types are:\n

\n ", + "smithy.api#documentation": "

\n The format of the returned packages.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -2878,7 +2881,7 @@ "status": { "target": "com.amazonaws.codeartifact#PackageVersionStatus", "traits": { - "smithy.api#documentation": "

\n A string that specifies the status of the package versions to include in the returned list. It can be one of the following:\n

\n ", + "smithy.api#documentation": "

\n A string that specifies the status of the package versions to include in the returned list.\n

", "smithy.api#httpQuery": "status" } }, @@ -2917,7 +2920,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n A format of the package. Valid package format values are:\n

\n " + "smithy.api#documentation": "

\n A format of the package.\n

" } }, "namespace": { @@ -2981,6 +2984,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "packages", "pageSize": "maxResults" } } @@ -3009,7 +3013,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -3024,7 +3028,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the packages. The valid package types are:\n

\n ", + "smithy.api#documentation": "

\n The format of the packages.\n

", "smithy.api#httpQuery": "format" } }, @@ -3098,7 +3102,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Returns a list of \n RepositorySummary \n objects. Each RepositorySummary contains information about a repository in the specified AWS account and that matches the input \n parameters.\n

", + "smithy.api#documentation": "

\n Returns a list of \n RepositorySummary \n objects. Each RepositorySummary contains information about a repository in the specified Amazon Web Services account and that matches the input \n parameters.\n

", "smithy.api#http": { "method": "POST", "uri": "/v1/repositories", @@ -3107,6 +3111,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "repositories", "pageSize": "maxResults" } } @@ -3146,6 +3151,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "repositories", "pageSize": "maxResults" } } @@ -3174,14 +3180,14 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, "administratorAccount": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n Filter the list of repositories to only include those that are managed by the AWS account ID.\n

", + "smithy.api#documentation": "

\n Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.\n

", "smithy.api#httpQuery": "administrator-account" } }, @@ -3301,7 +3307,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeArtifact.

", + "smithy.api#documentation": "

Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in CodeArtifact.

", "smithy.api#http": { "method": "POST", "uri": "/v1/tags", @@ -3410,7 +3416,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[^!#/\\s]+" + "smithy.api#pattern": "^[^!#/\\s]+$" } }, "com.amazonaws.codeartifact#PackageNamespace": { @@ -3420,7 +3426,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[^!#/\\s]+" + "smithy.api#pattern": "^[^!#/\\s]+$" } }, "com.amazonaws.codeartifact#PackageSummary": { @@ -3429,7 +3435,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the package. Valid values are:\n

\n " + "smithy.api#documentation": "

\n The format of the package.\n

" } }, "namespace": { @@ -3462,7 +3468,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[^!#/\\s]+" + "smithy.api#pattern": "^[^!#/\\s]+$" } }, "com.amazonaws.codeartifact#PackageVersionDescription": { @@ -3471,7 +3477,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The format of the package version. The valid package formats are:\n

\n " + "smithy.api#documentation": "

\n The format of the package version.\n

" } }, "namespace": { @@ -3537,7 +3543,7 @@ "status": { "target": "com.amazonaws.codeartifact#PackageVersionStatus", "traits": { - "smithy.api#documentation": "

\n A string that contains the status of the package version. It can be one of the following:\n

\n " + "smithy.api#documentation": "

\n A string that contains the status of the package version.\n

" } } }, @@ -3624,7 +3630,7 @@ "min": 1, "max": 50 }, - "smithy.api#pattern": "\\S+" + "smithy.api#pattern": "^\\S+$" } }, "com.amazonaws.codeartifact#PackageVersionRevisionMap": { @@ -3697,7 +3703,7 @@ "status": { "target": "com.amazonaws.codeartifact#PackageVersionStatus", "traits": { - "smithy.api#documentation": "

\n A string that contains the status of the package version. It can be one of the following:\n

\n ", + "smithy.api#documentation": "

\n A string that contains the status of the package version. It can be one of the following:\n

", "smithy.api#required": {} } } @@ -3719,7 +3725,7 @@ "min": 1, "max": 2000 }, - "smithy.api#pattern": "\\S+" + "smithy.api#pattern": "^\\S+$" } }, "com.amazonaws.codeartifact#PolicyDocument": { @@ -3738,7 +3744,7 @@ "min": 1, "max": 100 }, - "smithy.api#pattern": "\\S+" + "smithy.api#pattern": "^\\S+$" } }, "com.amazonaws.codeartifact#PutDomainPermissionsPolicy": { @@ -3794,7 +3800,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

" + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

" } }, "policyRevision": { @@ -3877,7 +3883,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -3927,7 +3933,7 @@ "administratorAccount": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

The 12-digit account number of the AWS account that manages the repository.

" + "smithy.api#documentation": "

The 12-digit account number of the Amazon Web Services account that manages the repository.

" } }, "domainName": { @@ -3939,7 +3945,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include \n dashes or spaces.\n

" + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include \n dashes or spaces.\n

" } }, "arn": { @@ -3957,7 +3963,7 @@ "upstreams": { "target": "com.amazonaws.codeartifact#UpstreamRepositoryInfoList", "traits": { - "smithy.api#documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories \n in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more \n information, see Working with upstream repositories.

" + "smithy.api#documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories \n in the list determines their priority order when CodeArtifact looks for a requested package version. For more \n information, see Working with upstream repositories.

" } }, "externalConnections": { @@ -3968,7 +3974,7 @@ } }, "traits": { - "smithy.api#documentation": "

The details of a repository stored in AWS CodeArtifact. A CodeArtifact repository contains a set of\n package versions, each of which maps to a set of assets. Repositories are polyglot—a single\n repository can contain packages of any supported type. Each repository exposes endpoints for\n fetching and publishing packages using tools like the npm CLI, the Maven CLI\n (mvn), and pip. You can create up to 100 repositories per AWS\n account.

" + "smithy.api#documentation": "

The details of a repository stored in CodeArtifact. A CodeArtifact repository contains a set of\n package versions, each of which maps to a set of assets. Repositories are polyglot—a single\n repository can contain packages of any supported type. Each repository exposes endpoints for\n fetching and publishing packages using tools like the npm CLI, the Maven CLI\n (mvn), and pip. You can create up to 100 repositories per Amazon Web Services\n account.

" } }, "com.amazonaws.codeartifact#RepositoryExternalConnectionInfo": { @@ -3983,7 +3989,7 @@ "packageFormat": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n The package format associated with a repository's external connection. The valid package formats are:\n

\n " + "smithy.api#documentation": "

\n The package format associated with a repository's external connection. The valid package formats are:\n

\n " } }, "status": { @@ -4010,7 +4016,7 @@ "min": 2, "max": 100 }, - "smithy.api#pattern": "[A-Za-z0-9][A-Za-z0-9._\\-]{1,99}" + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9._\\-]{1,99}$" } }, "com.amazonaws.codeartifact#RepositorySummary": { @@ -4025,7 +4031,7 @@ "administratorAccount": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The AWS account ID that manages the repository.\n

" + "smithy.api#documentation": "

\n The Amazon Web Services account ID that manages the repository.\n

" } }, "domainName": { @@ -4037,7 +4043,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

" + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

" } }, "arn": { @@ -4081,7 +4087,7 @@ "resourceType": { "target": "com.amazonaws.codeartifact#ResourceType", "traits": { - "smithy.api#documentation": "

\n The type of AWS resource.\n

" + "smithy.api#documentation": "

\n The type of Amazon Web Services resource.\n

" } } }, @@ -4114,7 +4120,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n An AWS CodeArtifact resource policy that contains a resource ARN, document details, and a revision.\n

" + "smithy.api#documentation": "

\n An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.\n

" } }, "com.amazonaws.codeartifact#ResourceType": { @@ -4168,7 +4174,7 @@ "resourceType": { "target": "com.amazonaws.codeartifact#ResourceType", "traits": { - "smithy.api#documentation": "

\n The type of AWS resource.\n

" + "smithy.api#documentation": "

\n The type of Amazon Web Services resource.\n

" } } }, @@ -4202,7 +4208,7 @@ "status": { "target": "com.amazonaws.codeartifact#PackageVersionStatus", "traits": { - "smithy.api#documentation": "

\n The status of a package version. Valid statuses are:\n

\n " + "smithy.api#documentation": "

\n The status of a package version.\n

" } } }, @@ -4238,7 +4244,7 @@ } }, "traits": { - "smithy.api#documentation": "

A tag is a key-value pair that can be used to manage, search for, or filter resources in AWS CodeArtifact.

" + "smithy.api#documentation": "

A tag is a key-value pair that can be used to manage, search for, or filter resources in CodeArtifact.

" } }, "com.amazonaws.codeartifact#TagKey": { @@ -4300,7 +4306,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds or updates tags for a resource in AWS CodeArtifact.

", + "smithy.api#documentation": "

Adds or updates tags for a resource in CodeArtifact.

", "smithy.api#http": { "method": "POST", "uri": "/v1/tag", @@ -4390,7 +4396,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes tags from a resource in AWS CodeArtifact.

", + "smithy.api#documentation": "

Removes tags from a resource in CodeArtifact.

", "smithy.api#http": { "method": "POST", "uri": "/v1/untag", @@ -4451,7 +4457,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Updates the status of one or more versions of a package.\n

", + "smithy.api#documentation": "

\n Updates the status of one or more versions of a package. Using UpdatePackageVersionsStatus, \n you can update the status of package versions to Archived, Published, or Unlisted. \n To set the status of a package version to Disposed, use \n DisposePackageVersions.\n

", "smithy.api#http": { "method": "POST", "uri": "/v1/package/versions/update_status", @@ -4473,7 +4479,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -4488,7 +4494,7 @@ "format": { "target": "com.amazonaws.codeartifact#PackageFormat", "traits": { - "smithy.api#documentation": "

\n A format that specifies the type of the package with the statuses to update. The valid values are:\n

\n ", + "smithy.api#documentation": "

\n A format that specifies the type of the package with the statuses to update.\n

", "smithy.api#httpQuery": "format", "smithy.api#required": {} } @@ -4607,7 +4613,7 @@ "domainOwner": { "target": "com.amazonaws.codeartifact#AccountId", "traits": { - "smithy.api#documentation": "

\n The 12-digit account number of the AWS account that owns the domain. It does not include \n dashes or spaces.\n

", + "smithy.api#documentation": "

\n The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include \n dashes or spaces.\n

", "smithy.api#httpQuery": "domain-owner" } }, @@ -4628,7 +4634,7 @@ "upstreams": { "target": "com.amazonaws.codeartifact#UpstreamRepositoryList", "traits": { - "smithy.api#documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories \n in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more \n information, see Working with upstream repositories.

" + "smithy.api#documentation": "

A list of upstream repositories to associate with the repository. The order of the upstream repositories \n in the list determines their priority order when CodeArtifact looks for a requested package version. For more \n information, see Working with upstream repositories.

" } } } diff --git a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json index 7fc817d042b..eddf9487c9a 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json @@ -46,7 +46,7 @@ "name": "cognito-idp" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Using the Amazon Cognito user pools API, you can create a user pool to manage directories and users. You can authenticate a user to obtain tokens related to user identity and access policies.

\n

This API reference provides information about user pools in Amazon Cognito user pools.

\n

For more information, see the Amazon Cognito Documentation.

", + "smithy.api#documentation": "

Using the Amazon Cognito user pools API, you can create a user pool to manage directories and\n users. You can authenticate a user to obtain tokens related to user identity and access\n policies.

\n

This API reference provides information about user pools in Amazon Cognito user pools.

\n

For more information, see the Amazon Cognito\n Documentation.

", "smithy.api#title": "Amazon Cognito Identity Provider", "smithy.api#xmlNamespace": { "uri": "http://cognito-idp.amazonaws.com/doc/2016-04-18/" @@ -399,7 +399,7 @@ "EventAction": { "target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverEventActionType", "traits": { - "smithy.api#documentation": "

The action to take in response to the account takeover action. Valid values\n are:

\n \n ", + "smithy.api#documentation": "

The action to take in response to the account takeover action. Valid values are as\n follows:

\n ", "smithy.api#required": {} } } @@ -475,7 +475,7 @@ } }, "traits": { - "smithy.api#documentation": "

Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.

" + "smithy.api#documentation": "

Configuration for mitigation actions and notification for different levels of risk\n detected for a potential account takeover.

" } }, "com.amazonaws.cognitoidentityprovider#AddCustomAttributes": { @@ -536,7 +536,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response from the server for the request to add custom attributes.

" + "smithy.api#documentation": "

Represents the response from the server for the request to add custom\n attributes.

" } }, "com.amazonaws.cognitoidentityprovider#AdminAddUserToGroup": { @@ -544,6 +544,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#AdminAddUserToGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -638,7 +641,7 @@ } ], "traits": { - "smithy.api#documentation": "

Confirms user registration as an admin without using a confirmation code. Works on any user.

\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Confirms user registration as an admin without using a confirmation code. Works on any\n user.

\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminConfirmSignUpRequest": { @@ -661,7 +664,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

If your user pool configuration includes triggers, the AdminConfirmSignUp API action\n invokes the Lambda function that is specified for the post\n confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON\n payload, which the function receives as input. In this payload, the\n clientMetadata attribute provides the data that you assigned to the\n ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in\n Lambda, you can process the ClientMetadata value to enhance your workflow for your\n specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

If your user pool configuration includes triggers, the AdminConfirmSignUp API action\n invokes the Lambda function that is specified for the post\n confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON\n payload, which the function receives as input. In this payload, the\n clientMetadata attribute provides the data that you assigned to the\n ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in\n Lambda, you can process the ClientMetadata value to enhance your workflow for your\n specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -673,7 +676,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response from the server for the request to confirm registration.

" + "smithy.api#documentation": "

Represents the response from the server for the request to confirm\n registration.

" } }, "com.amazonaws.cognitoidentityprovider#AdminCreateUser": { @@ -735,7 +738,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new user in the specified user pool.

\n

If MessageAction isn't set, the default is to send a welcome message via email or phone (SMS).

\n \n \n\n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for \n user name and temporary password.

\n

Alternatively, you can call AdminCreateUser with SUPPRESS for the MessageAction parameter, and Amazon Cognito won't send any email.

\n

In either case, the user will be in the FORCE_CHANGE_PASSWORD state until they sign in and change their password.

\n

\n AdminCreateUser requires developer credentials.

" + "smithy.api#documentation": "

Creates a new user in the specified user pool.

\n

If MessageAction isn't set, the default is to send a welcome message via\n email or phone (SMS).

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

This message is based on a template that you configured in your call to create or\n update a user pool. This template includes your custom sign-up instructions and\n placeholders for user name and temporary password.

\n

Alternatively, you can call AdminCreateUser with SUPPRESS\n for the MessageAction parameter, and Amazon Cognito won't send any email.

\n

In either case, the user will be in the FORCE_CHANGE_PASSWORD state until\n they sign in and change their password.

\n

\n AdminCreateUser requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminCreateUserConfigType": { @@ -744,13 +747,13 @@ "AllowAdminCreateUserOnly": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.

" + "smithy.api#documentation": "

Set to True if only the administrator is allowed to create user profiles.\n Set to False if users can sign themselves up via an app.

" } }, "UnusedAccountValidityDays": { "target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserUnusedAccountValidityDaysType", "traits": { - "smithy.api#documentation": "

The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, \n specifying \"RESEND\" for the MessageAction parameter. The default value for this parameter is 7.

\n \n

If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used, and UnusedAccountValidityDays will be no longer \n be an available parameter for that user pool.

\n
" + "smithy.api#documentation": "

The user account expiration limit, in days, after which a new account that hasn't\n signed in is no longer usable. To reset the account after that time limit, you must call\n AdminCreateUser again, specifying \"RESEND\" for the\n MessageAction parameter. The default value for this parameter is 7.

\n \n

If you set a value for TemporaryPasswordValidityDays in\n PasswordPolicy, that value will be used, and\n UnusedAccountValidityDays will be no longer be an available\n parameter for that user pool.

\n
" } }, "InviteMessageTemplate": { @@ -777,50 +780,50 @@ "Username": { "target": "com.amazonaws.cognitoidentityprovider#UsernameType", "traits": { - "smithy.api#documentation": "

The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username can't be changed.

", + "smithy.api#documentation": "

The username for the user. Must be unique within the user pool. Must be a UTF-8 string\n between 1 and 128 characters. After the user is created, the username can't be\n changed.

", "smithy.api#required": {} } }, "UserAttributes": { "target": "com.amazonaws.cognitoidentityprovider#AttributeListType", "traits": { - "smithy.api#documentation": "

An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes \n other than Username. However, any attributes that you specify as required (when creating a user pool or in the Attributes tab \n of the console) either you should supply (in your call to AdminCreateUser) or the user should supply (when they sign up in response to your welcome message).

\n

For custom attributes, you must prepend the custom: prefix to the attribute name.

\n

To send a message inviting the user to sign up, you must specify the user's email address or phone number. You can do this in your call to AdminCreateUser or \n in the Users tab of the Amazon Cognito console for managing your user pools.

\n

In your call to AdminCreateUser, you can set the email_verified attribute to True, and you can set the phone_number_verified \n attribute to True. You can also do this by calling \n AdminUpdateUserAttributes.

\n \n " + "smithy.api#documentation": "

An array of name-value pairs that contain user attributes and attribute values to be\n set for the user to be created. You can create a user without specifying any attributes\n other than Username. However, any attributes that you specify as required\n (when creating a user pool or in the Attributes tab of\n the console) either you should supply (in your call to AdminCreateUser) or\n the user should supply (when they sign up in response to your welcome message).

\n

For custom attributes, you must prepend the custom: prefix to the\n attribute name.

\n

To send a message inviting the user to sign up, you must specify the user's email\n address or phone number. You can do this in your call to AdminCreateUser or in the\n Users tab of the Amazon Cognito console for managing your\n user pools.

\n

In your call to AdminCreateUser, you can set the\n email_verified attribute to True, and you can set the\n phone_number_verified attribute to True. You can also do\n this by calling AdminUpdateUserAttributes.

\n " } }, "ValidationData": { "target": "com.amazonaws.cognitoidentityprovider#AttributeListType", "traits": { - "smithy.api#documentation": "

The user's validation data. This is an array of name-value pairs that contain user attributes and attribute values that you can use for custom validation, such as restricting the \n types of user accounts that can be registered. For example, you might choose to allow or disallow user sign-up based on the user's domain.

\n

To configure custom validation, you must create a Pre Sign-up Lambda trigger for the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the validation \n data and uses it in the validation process.

\n

The user's validation data isn't persisted.

" + "smithy.api#documentation": "

The user's validation data. This is an array of name-value pairs that contain user\n attributes and attribute values that you can use for custom validation, such as\n restricting the types of user accounts that can be registered. For example, you might\n choose to allow or disallow user sign-up based on the user's domain.

\n

To configure custom validation, you must create a Pre Sign-up Lambda trigger for\n the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the\n validation data and uses it in the validation process.

\n

The user's validation data isn't persisted.

" } }, "TemporaryPassword": { "target": "com.amazonaws.cognitoidentityprovider#PasswordType", "traits": { - "smithy.api#documentation": "

The user's temporary password. This password must conform to the password policy that you specified when you created the user pool.

\n

The temporary password is valid only once. To complete the Admin Create User flow, the user must enter the temporary password in the sign-in page, along with a new password to be used \n in all future sign-ins.

\n

This parameter isn't required. If you don't specify a value, Amazon Cognito generates one for you.

\n

The temporary password can only be used until the user account expiration limit that you specified when you created the user pool. To reset the account after that time limit, you must \n call AdminCreateUser again, specifying \"RESEND\" for the MessageAction parameter.

" + "smithy.api#documentation": "

The user's temporary password. This password must conform to the password policy that\n you specified when you created the user pool.

\n

The temporary password is valid only once. To complete the Admin Create User flow, the\n user must enter the temporary password in the sign-in page, along with a new password to\n be used in all future sign-ins.

\n

This parameter isn't required. If you don't specify a value, Amazon Cognito generates one for\n you.

\n

The temporary password can only be used until the user account expiration limit that\n you specified when you created the user pool. To reset the account after that time\n limit, you must call AdminCreateUser again, specifying\n \"RESEND\" for the MessageAction parameter.

" } }, "ForceAliasCreation": { "target": "com.amazonaws.cognitoidentityprovider#ForceAliasCreation", "traits": { - "smithy.api#documentation": "

This parameter is used only if the phone_number_verified or email_verified attribute is set to True. Otherwise, it is ignored.

\n

If this parameter is set to True and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the API \n call will migrate the alias from the previous user to the newly created user. The previous user will no longer be able to log in using that alias.

\n

If this parameter is set to False, the API throws an AliasExistsException error if the alias already exists. The default value is False.

" + "smithy.api#documentation": "

This parameter is used only if the phone_number_verified or\n email_verified attribute is set to True. Otherwise, it is\n ignored.

\n

If this parameter is set to True and the phone number or email address\n specified in the UserAttributes parameter already exists as an alias with a different\n user, the API call will migrate the alias from the previous user to the newly created\n user. The previous user will no longer be able to log in using that alias.

\n

If this parameter is set to False, the API throws an\n AliasExistsException error if the alias already exists. The default\n value is False.

" } }, "MessageAction": { "target": "com.amazonaws.cognitoidentityprovider#MessageActionType", "traits": { - "smithy.api#documentation": "

Set to RESEND to resend the invitation message to a user that already exists and reset the expiration limit on the user's account. Set to SUPPRESS to suppress \n sending the message. You can specify only one value.

" + "smithy.api#documentation": "

Set to RESEND to resend the invitation message to a user that already\n exists and reset the expiration limit on the user's account. Set to\n SUPPRESS to suppress sending the message. You can specify only one\n value.

" } }, "DesiredDeliveryMediums": { "target": "com.amazonaws.cognitoidentityprovider#DeliveryMediumListType", "traits": { - "smithy.api#documentation": "

Specify \"EMAIL\" if email will be used to send the welcome message. Specify \"SMS\" if the phone number will be used. The default value is \"SMS\". You \n can specify more than one value.

" + "smithy.api#documentation": "

Specify \"EMAIL\" if email will be used to send the welcome message.\n Specify \"SMS\" if the phone number will be used. The default value is\n \"SMS\". You can specify more than one value.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminCreateUser API action, \n Amazon Cognito invokes the function that is assigned to the pre sign-up trigger. When Amazon Cognito invokes this function, \n it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, \n which provides the data that you assigned to the ClientMetadata parameter in your AdminCreateUser request. In your function code \n in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminCreateUser API action, Amazon Cognito invokes the function that is assigned\n to the pre sign-up trigger. When Amazon Cognito invokes this function, it\n passes a JSON payload, which the function receives as input. This payload contains a\n clientMetadata attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your AdminCreateUser request. In your function code in\n Lambda, you can process the clientMetadata value to enhance your\n workflow for your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -856,6 +859,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#AdminDeleteUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -909,7 +915,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the user attributes in a user pool as an administrator. Works on any user.

\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Deletes the user attributes in a user pool as an administrator. Works on any\n user.

\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminDeleteUserAttributesRequest": { @@ -932,7 +938,7 @@ "UserAttributeNames": { "target": "com.amazonaws.cognitoidentityprovider#AttributeNameListType", "traits": { - "smithy.api#documentation": "

An array of strings representing the user attribute names you want to delete.

\n

For custom attributes, you must prepend the custom: prefix to the attribute name.

", + "smithy.api#documentation": "

An array of strings representing the user attribute names you want to delete.

\n

For custom attributes, you must prepend the custom: prefix to the\n attribute name.

", "smithy.api#required": {} } } @@ -945,7 +951,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response received from the server for a request to delete user attributes.

" + "smithy.api#documentation": "

Represents the response received from the server for a request to delete user\n attributes.

" } }, "com.amazonaws.cognitoidentityprovider#AdminDeleteUserRequest": { @@ -1002,7 +1008,7 @@ } ], "traits": { - "smithy.api#documentation": "

Prevents the user from signing in with the specified external (SAML or social)\n identity provider. If the user that you want to deactivate is a Amazon Cognito user pools native\n username + password user, they can't use their password to sign in. If the user to\n deactivate is a linked external identity provider (IdP) user, any link between that user\n and an existing user is removed. When the external user signs in again, and the user is\n no longer attached to the previously linked DestinationUser, the user must\n create a new user account. See AdminLinkProviderForUser.

\n

This action is enabled only for admin access and requires developer credentials.

\n

The ProviderName must match the value specified when creating an IdP for the pool.

\n

To deactivate a native username + password user, the ProviderName value must be Cognito and the ProviderAttributeName must be Cognito_Subject. \n The ProviderAttributeValue must be the name that is used in the user pool for the user.

\n

The ProviderAttributeName must always be Cognito_Subject for social identity providers. The ProviderAttributeValue must always be the exact \n subject that was used when the user was originally linked as a source user.

\n

For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign in, the ProviderAttributeName and ProviderAttributeValue \n must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. (If the linking was done \n with ProviderAttributeName set to Cognito_Subject, the same applies here). However, if the user has already signed in, the ProviderAttributeName must \n be Cognito_Subject and ProviderAttributeValue must be the subject of the SAML assertion.

" + "smithy.api#documentation": "

Prevents the user from signing in with the specified external (SAML or social)\n identity provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools\n native username + password user, they can't use their password to sign in. If the user\n to deactivate is a linked external IdP user, any link between that user and an existing\n user is removed. When the external user signs in again, and the user is no longer\n attached to the previously linked DestinationUser, the user must create a\n new user account. See AdminLinkProviderForUser.

\n

This action is enabled only for admin access and requires developer\n credentials.

\n

The ProviderName must match the value specified when creating an IdP for\n the pool.

\n

To deactivate a native username + password user, the ProviderName value\n must be Cognito and the ProviderAttributeName must be\n Cognito_Subject. The ProviderAttributeValue must be the\n name that is used in the user pool for the user.

\n

The ProviderAttributeName must always be Cognito_Subject for\n social IdPs. The ProviderAttributeValue must always be the exact subject\n that was used when the user was originally linked as a source user.

\n

For de-linking a SAML identity, there are two scenarios. If the linked identity has\n not yet been used to sign in, the ProviderAttributeName and\n ProviderAttributeValue must be the same values that were used for the\n SourceUser when the identities were originally linked using \n AdminLinkProviderForUser call. (If the linking was done with\n ProviderAttributeName set to Cognito_Subject, the same\n applies here). However, if the user has already signed in, the\n ProviderAttributeName must be Cognito_Subject and\n ProviderAttributeValue must be the subject of the SAML\n assertion.

" } }, "com.amazonaws.cognitoidentityprovider#AdminDisableProviderForUserRequest": { @@ -1086,7 +1092,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response received from the server to disable the user as an administrator.

" + "smithy.api#documentation": "

Represents the response received from the server to disable the user as an\n administrator.

" } }, "com.amazonaws.cognitoidentityprovider#AdminEnableUser": { @@ -1147,7 +1153,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response from the server for the request to enable a user as an administrator.

" + "smithy.api#documentation": "

Represents the response from the server for the request to enable a user as an\n administrator.

" } }, "com.amazonaws.cognitoidentityprovider#AdminForgetDevice": { @@ -1155,6 +1161,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#AdminForgetDeviceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -1316,7 +1325,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the specified user by user name in a user pool as an administrator. Works on any user.

\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Gets the specified user by user name in a user pool as an administrator. Works on any\n user.

\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminGetUserRequest": { @@ -1325,7 +1334,7 @@ "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The user pool ID for the user pool where you want to get information about the user.

", + "smithy.api#documentation": "

The user pool ID for the user pool where you want to get information about the\n user.

", "smithy.api#required": {} } }, @@ -1378,13 +1387,13 @@ "UserStatus": { "target": "com.amazonaws.cognitoidentityprovider#UserStatusType", "traits": { - "smithy.api#documentation": "

The user status. Can be one of the following:

\n " + "smithy.api#documentation": "

The user status. Can be one of the following:

\n " } }, "MFAOptions": { "target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType", "traits": { - "smithy.api#documentation": "

\n This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time \n password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.

" + "smithy.api#documentation": "

\n This response parameter is no longer supported. It provides\n information only about SMS MFA configurations. It doesn't provide information about\n time-based one-time password (TOTP) software token MFA configurations. To look up\n information about either type of MFA configuration, use UserMFASettingList\n instead.

" } }, "PreferredMfaSetting": { @@ -1396,12 +1405,12 @@ "UserMFASettingList": { "target": "com.amazonaws.cognitoidentityprovider#UserMFASettingListType", "traits": { - "smithy.api#documentation": "

The MFA options that are activated for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA.

" + "smithy.api#documentation": "

The MFA options that are activated for the user. The possible values in this list are\n SMS_MFA and SOFTWARE_TOKEN_MFA.

" } } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server from the request to get the specified user as an administrator.

" + "smithy.api#documentation": "

Represents the response from the server from the request to get the specified user as\n an administrator.

" } }, "com.amazonaws.cognitoidentityprovider#AdminInitiateAuth": { @@ -1460,7 +1469,7 @@ } ], "traits": { - "smithy.api#documentation": "

Initiates the authentication flow, as an administrator.

\n\n\n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Initiates the authentication flow, as an administrator.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminInitiateAuthRequest": { @@ -1483,32 +1492,32 @@ "AuthFlow": { "target": "com.amazonaws.cognitoidentityprovider#AuthFlowType", "traits": { - "smithy.api#documentation": "

The authentication flow for this call to run. The API action will depend on this value. For example:

\n \n \n

Valid values include:

\n ", + "smithy.api#documentation": "

The authentication flow for this call to run. The API action will depend on this\n value. For example:

\n \n

Valid values include:

\n ", "smithy.api#required": {} } }, "AuthParameters": { "target": "com.amazonaws.cognitoidentityprovider#AuthParametersType", "traits": { - "smithy.api#documentation": "

The authentication parameters. These are inputs corresponding to the AuthFlow that you're invoking. The required values depend on the value of AuthFlow:

\n \n " + "smithy.api#documentation": "

The authentication parameters. These are inputs corresponding to the\n AuthFlow that you're invoking. The required values depend on the value\n of AuthFlow:

\n " } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminInitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for \n various triggers. The ClientMetadata value is passed as input to the functions for only the following triggers:

\n \n

When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which\n the function receives as input. This payload contains a validationData\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your AdminInitiateAuth request. In your function code in Lambda, you can process the\n validationData value to enhance your workflow for your specific\n needs.

\n

When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it doesn't provide the ClientMetadata value as input:

\n \n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminInitiateAuth API action, Amazon Cognito invokes the Lambda functions that\n are specified for various triggers. The ClientMetadata value is passed as input to the\n functions for only the following triggers:

\n \n

When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which\n the function receives as input. This payload contains a validationData\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your AdminInitiateAuth request. In your function code in Lambda, you can process the\n validationData value to enhance your workflow for your specific\n needs.

\n

When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the functions for\n the following triggers, but it doesn't provide the ClientMetadata value as input:

\n \n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } }, "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The analytics metadata for collecting Amazon Pinpoint metrics for AdminInitiateAuth calls.

" + "smithy.api#documentation": "

The analytics metadata for collecting Amazon Pinpoint metrics for\n AdminInitiateAuth calls.

" } }, "ContextData": { "target": "com.amazonaws.cognitoidentityprovider#ContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } } }, @@ -1522,25 +1531,25 @@ "ChallengeName": { "target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType", "traits": { - "smithy.api#documentation": "

The name of the challenge that you're responding to with this call. This is returned in the AdminInitiateAuth response if you must pass another challenge.

\n \n " + "smithy.api#documentation": "

The name of the challenge that you're responding to with this call. This is returned\n in the AdminInitiateAuth response if you must pass another\n challenge.

\n " } }, "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service. If AdminInitiateAuth or AdminRespondToAuthChallenge API call determines \n that the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next AdminRespondToAuthChallenge \n API call.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service. If AdminInitiateAuth or AdminRespondToAuthChallenge\n API call determines that the caller must pass another challenge, they return a session\n with other challenge parameters. This session should be passed as it is to the next\n AdminRespondToAuthChallenge API call.

" } }, "ChallengeParameters": { "target": "com.amazonaws.cognitoidentityprovider#ChallengeParametersType", "traits": { - "smithy.api#documentation": "

The challenge parameters. These are returned to you in the AdminInitiateAuth response if you must pass another challenge. The responses in this parameter should be used to \n compute inputs to the next call (AdminRespondToAuthChallenge).

\n

All challenges require USERNAME and SECRET_HASH (if applicable).

\n

The value of the USER_ID_FOR_SRP attribute is the user's actual username, not an alias (such as email address or phone number), even if you specified an alias in your call \n to AdminInitiateAuth. This happens because, in the AdminRespondToAuthChallenge API ChallengeResponses, the USERNAME attribute can't be \n an alias.

" + "smithy.api#documentation": "

The challenge parameters. These are returned to you in the\n AdminInitiateAuth response if you must pass another challenge. The\n responses in this parameter should be used to compute inputs to the next call\n (AdminRespondToAuthChallenge).

\n

All challenges require USERNAME and SECRET_HASH (if\n applicable).

\n

The value of the USER_ID_FOR_SRP attribute is the user's actual username,\n not an alias (such as email address or phone number), even if you specified an alias in\n your call to AdminInitiateAuth. This happens because, in the\n AdminRespondToAuthChallenge API ChallengeResponses, the\n USERNAME attribute can't be an alias.

" } }, "AuthenticationResult": { "target": "com.amazonaws.cognitoidentityprovider#AuthenticationResultType", "traits": { - "smithy.api#documentation": "

The result of the authentication response. This is only returned if the caller doesn't need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, \n ChallengeName, ChallengeParameters, and Session are returned.

" + "smithy.api#documentation": "

The result of the authentication response. This is only returned if the caller doesn't\n need to pass another challenge. If the caller does need to pass another challenge before\n it gets tokens, ChallengeName, ChallengeParameters, and\n Session are returned.

" } } }, @@ -1583,7 +1592,7 @@ } ], "traits": { - "smithy.api#documentation": "

Links an existing user account in a user pool (DestinationUser) to an identity from an external identity provider (SourceUser) based on a specified \n attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not \n yet been used to sign in. You can then use the federated user identity to sign in as the existing user account.

\n

For example, if there is an existing user with a username and password, this API links that user to a federated user identity. When the user signs in with a federated user \n identity, they sign in as the existing user account.

\n \n

The maximum number of federated identities linked to a user is 5.

\n
\n \n

Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external \n identity providers and provider attributes that have been trusted by the application owner.

\n
\n \n

This action is administrative and requires developer credentials.

" + "smithy.api#documentation": "

Links an existing user account in a user pool (DestinationUser) to an\n identity from an external IdP (SourceUser) based on a specified attribute\n name and value from the external IdP. This allows you to create a link from the existing\n user account to an external federated user identity that has not yet been used to sign\n in. You can then use the federated user identity to sign in as the existing user\n account.

\n

For example, if there is an existing user with a username and password, this API\n links that user to a federated user identity. When the user signs in with a federated\n user identity, they sign in as the existing user account.

\n \n

The maximum number of federated identities linked to a user is five.

\n
\n \n

Because this API allows a user with an external federated identity to sign in as\n an existing user in the user pool, it is critical that it only be used with external\n IdPs and provider attributes that have been trusted by the application owner.

\n
\n \n

This action is administrative and requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminLinkProviderForUserRequest": { @@ -1599,14 +1608,14 @@ "DestinationUser": { "target": "com.amazonaws.cognitoidentityprovider#ProviderUserIdentifierType", "traits": { - "smithy.api#documentation": "

The existing user in the user pool that you want to assign to the external identity\n provider user account. This user can be a native (Username + Password) Amazon Cognito user pools\n user or a federated user (for example, a SAML or Facebook user). If the user doesn't\n exist, Amazon Cognito generates an exception. Amazon Cognito returns this user when the new user (with the\n linked identity provider attribute) signs in.

\n

For a native username + password user, the ProviderAttributeValue for the DestinationUser should be the username in the user pool. For a federated user, \n it should be the provider-specific user_id.

\n

The ProviderAttributeName of the DestinationUser is ignored.

\n

The ProviderName should be set to Cognito for users in Cognito user pools.

\n \n

All attributes in the DestinationUser profile must be mutable. If you have assigned the user any immutable custom attributes, the operation won't succeed.

\n
", + "smithy.api#documentation": "

The existing user in the user pool that you want to assign to the external IdP user\n account. This user can be a native (Username + Password) Amazon Cognito user pools user or a\n federated user (for example, a SAML or Facebook user). If the user doesn't exist, Amazon Cognito\n generates an exception. Amazon Cognito returns this user when the new user (with the linked IdP\n attribute) signs in.

\n

For a native username + password user, the ProviderAttributeValue for the\n DestinationUser should be the username in the user pool. For a\n federated user, it should be the provider-specific user_id.

\n

The ProviderAttributeName of the DestinationUser is\n ignored.

\n

The ProviderName should be set to Cognito for users in\n Cognito user pools.

\n \n

All attributes in the DestinationUser profile must be mutable. If you have\n assigned the user any immutable custom attributes, the operation won't\n succeed.

\n
", "smithy.api#required": {} } }, "SourceUser": { "target": "com.amazonaws.cognitoidentityprovider#ProviderUserIdentifierType", "traits": { - "smithy.api#documentation": "

An external identity provider account for a user who doesn't exist yet in the user pool. This user must be a federated user (for example, a SAML or Facebook user), not another native user.

\n

If the SourceUser is using a federated social identity provider, such as Facebook, Google, or Login with Amazon, you must set the ProviderAttributeName \n to Cognito_Subject. For social identity providers, the ProviderName will be Facebook, Google, or LoginWithAmazon, \n and Amazon Cognito will automatically parse the Facebook, Google, and Login with Amazon tokens for id, sub, and user_id, respectively. The \n ProviderAttributeValue for the user must be the same value as the id, sub, or user_id value found in the social identity provider token.

\n

\n

For SAML, the ProviderAttributeName can be any value that matches a claim in the SAML assertion. If you want to link SAML users based on the subject of the SAML \n assertion, you should map the subject to a claim through the SAML identity provider and submit that claim name as the ProviderAttributeName. If you set \n ProviderAttributeName to Cognito_Subject, Amazon Cognito will automatically parse the default unique identifier found in the subject from the SAML token.

", + "smithy.api#documentation": "

An external IdP account for a user who doesn't exist yet in the user pool. This user\n must be a federated user (for example, a SAML or Facebook user), not another native\n user.

\n

If the SourceUser is using a federated social IdP, such as Facebook,\n Google, or Login with Amazon, you must set the ProviderAttributeName to\n Cognito_Subject. For social IdPs, the ProviderName will be\n Facebook, Google, or LoginWithAmazon, and\n Amazon Cognito will automatically parse the Facebook, Google, and Login with Amazon tokens for\n id, sub, and user_id, respectively. The\n ProviderAttributeValue for the user must be the same value as the\n id, sub, or user_id value found in the social\n IdP token.

\n

\n

For SAML, the ProviderAttributeName can be any value that matches a claim\n in the SAML assertion. If you want to link SAML users based on the subject of the SAML\n assertion, you should map the subject to a claim through the SAML IdP and submit that\n claim name as the ProviderAttributeName. If you set\n ProviderAttributeName to Cognito_Subject, Amazon Cognito will\n automatically parse the default unique identifier found in the subject from the SAML\n token.

", "smithy.api#required": {} } } @@ -1766,7 +1775,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } } @@ -1783,7 +1792,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } } @@ -1820,7 +1829,7 @@ } ], "traits": { - "smithy.api#documentation": "

A history of user activity and any risks detected as part of Amazon Cognito advanced security.

", + "smithy.api#documentation": "

A history of user activity and any risks detected as part of Amazon Cognito advanced\n security.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1866,7 +1875,7 @@ "AuthEvents": { "target": "com.amazonaws.cognitoidentityprovider#AuthEventsType", "traits": { - "smithy.api#documentation": "

The response object. It includes the EventID, EventType, CreationDate, EventRisk, and EventResponse.

" + "smithy.api#documentation": "

The response object. It includes the EventID, EventType,\n CreationDate, EventRisk, and\n EventResponse.

" } }, "NextToken": { @@ -1882,6 +1891,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#AdminRemoveUserFromGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -1982,7 +1994,7 @@ } ], "traits": { - "smithy.api#documentation": "

Resets the specified user's password in a user pool as an administrator. Works on any user.

\n

When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, \n the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same \n as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if \n email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user \n with the code to change their password.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Resets the specified user's password in a user pool as an administrator. Works on any\n user.

\n

When a developer calls this API, the current password is invalidated, so it must be\n changed. If a user tries to sign in after the API is called, the app will get a\n PasswordResetRequiredException exception back and should direct the user down the flow\n to reset the password, which is the same as the forgot password flow. In addition, if\n the user pool has phone verification selected and a verified phone number exists for the\n user, or if email verification is selected and a verified email exists for the user,\n calling this API will also result in sending a message to the end user with the code to\n change their password.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminResetUserPasswordRequest": { @@ -2005,7 +2017,7 @@ "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n \n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminResetUserPassword API action, \n Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, \n which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the \n ClientMetadata parameter in your AdminResetUserPassword request. In your function code in Lambda, you can process the clientMetadata \n value to enhance your workflow for your specific needs.\n

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool\n triggers. When you use the AdminResetUserPassword API action, Amazon Cognito invokes the function\n that is assigned to the custom message trigger. When Amazon Cognito invokes\n this function, it passes a JSON payload, which the function receives as input. This\n payload contains a clientMetadata attribute, which provides the data that\n you assigned to the ClientMetadata parameter in your AdminResetUserPassword request. In\n your function code in Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -2017,7 +2029,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response from the server to reset a user password as an administrator.

" + "smithy.api#documentation": "

Represents the response from the server to reset a user password as an\n administrator.

" } }, "com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallenge": { @@ -2091,7 +2103,7 @@ } ], "traits": { - "smithy.api#documentation": "

Responds to an authentication challenge, as an administrator.

\n\n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Responds to an authentication challenge, as an administrator.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminRespondToAuthChallengeRequest": { @@ -2121,31 +2133,31 @@ "ChallengeResponses": { "target": "com.amazonaws.cognitoidentityprovider#ChallengeResponsesType", "traits": { - "smithy.api#documentation": "

The challenge responses. These are inputs corresponding to the value of ChallengeName, for example:

\n \n \n

The value of the USERNAME attribute must be the user's actual username, not an alias (such as an email address or phone number). To make this simpler, the \n AdminInitiateAuth response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP attribute. This happens even if you specified an \n alias in your call to AdminInitiateAuth.

" + "smithy.api#documentation": "

The challenge responses. These are inputs corresponding to the value of\n ChallengeName, for example:

\n \n

The value of the USERNAME attribute must be the user's actual username,\n not an alias (such as an email address or phone number). To make this simpler, the\n AdminInitiateAuth response includes the actual username value in the\n USERNAMEUSER_ID_FOR_SRP attribute. This happens even if you specified\n an alias in your call to AdminInitiateAuth.

" } }, "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service. If an InitiateAuth or RespondToAuthChallenge API call determines \n that the caller must pass another challenge, it returns a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge \n API call.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service. If an InitiateAuth or RespondToAuthChallenge API call\n determines that the caller must pass another challenge, it returns a session with other\n challenge parameters. This session should be passed as it is to the next\n RespondToAuthChallenge API call.

" } }, "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The analytics metadata for collecting Amazon Pinpoint metrics for AdminRespondToAuthChallenge calls.

" + "smithy.api#documentation": "

The analytics metadata for collecting Amazon Pinpoint metrics for\n AdminRespondToAuthChallenge calls.

" } }, "ContextData": { "target": "com.amazonaws.cognitoidentityprovider#ContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any functions\n that you have assigned to the following triggers:

\n \n

When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute that provides the data that you assigned to the ClientMetadata parameter in\n your AdminRespondToAuthChallenge request. In your function code in Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any functions\n that you have assigned to the following triggers:

\n \n

When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute that provides the data that you assigned to the ClientMetadata parameter in\n your AdminRespondToAuthChallenge request. In your function code in Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -2165,7 +2177,7 @@ "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. \n This session should be passed as it is to the next RespondToAuthChallenge API call.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service. If the caller must pass another challenge, they return a session with other\n challenge parameters. This session should be passed as it is to the next\n RespondToAuthChallenge API call.

" } }, "ChallengeParameters": { @@ -2217,7 +2229,7 @@ } ], "traits": { - "smithy.api#documentation": "

The user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred \n MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will \n be returned during sign-in.

" + "smithy.api#documentation": "

The user's multi-factor authentication (MFA) preference, including which MFA options\n are activated, and if any are preferred. Only one factor can be set as preferred. The\n preferred MFA factor will be used to authenticate a user if multiple factors are\n activated. If multiple options are activated and no preference is set, a challenge to\n choose an MFA option will be returned during sign-in.

" } }, "com.amazonaws.cognitoidentityprovider#AdminSetUserMFAPreferenceRequest": { @@ -2287,7 +2299,7 @@ } ], "traits": { - "smithy.api#documentation": "

Sets the specified user's password in a user pool as an administrator. Works on any user.

\n

The password can be temporary or permanent. If it is temporary, the user status enters the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, \n the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED challenge. If the user doesn't sign in before it expires, the user won't be \n able to sign in, and an administrator must reset their password.

\n

Once the user has set a new password, or the password is permanent, the user status is set to Confirmed.

" + "smithy.api#documentation": "

Sets the specified user's password in a user pool as an administrator. Works on any\n user.

\n

The password can be temporary or permanent. If it is temporary, the user status enters\n the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, the\n InitiateAuth/AdminInitiateAuth response will contain the\n NEW_PASSWORD_REQUIRED challenge. If the user doesn't sign in before it\n expires, the user won't be able to sign in, and an administrator must reset their\n password.

\n

Once the user has set a new password, or the password is permanent, the user status is\n set to Confirmed.

" } }, "com.amazonaws.cognitoidentityprovider#AdminSetUserPasswordRequest": { @@ -2317,7 +2329,7 @@ "Permanent": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

\n True if the password is permanent, False if it is temporary.

" + "smithy.api#documentation": "

\n True if the password is permanent, False if it is\n temporary.

" } } } @@ -2352,7 +2364,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) \n software token MFA. To configure either type of MFA, \n use AdminSetUserMFAPreference instead.

" + "smithy.api#documentation": "

\n This action is no longer supported. You can use it to configure\n only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software\n token MFA. To configure either type of MFA, use AdminSetUserMFAPreference instead.

" } }, "com.amazonaws.cognitoidentityprovider#AdminSetUserSettingsRequest": { @@ -2375,20 +2387,20 @@ "MFAOptions": { "target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType", "traits": { - "smithy.api#documentation": "

You can use this parameter only to set an SMS configuration that uses SMS for delivery.

", + "smithy.api#documentation": "

You can use this parameter only to set an SMS configuration that uses SMS for\n delivery.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

You can use this parameter to set an MFA configuration that uses the SMS delivery medium.

" + "smithy.api#documentation": "

You can use this parameter to set an MFA configuration that uses the SMS delivery\n medium.

" } }, "com.amazonaws.cognitoidentityprovider#AdminSetUserSettingsResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response from the server to set user settings as an administrator.

" + "smithy.api#documentation": "

Represents the response from the server to set user settings as an\n administrator.

" } }, "com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedback": { @@ -2423,7 +2435,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides feedback for an authentication event indicating if it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool \n as part of Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Provides feedback for an authentication event indicating if it was from a valid user.\n This feedback is used for improving the risk evaluation decision for the user pool as\n part of Amazon Cognito advanced security.

" } }, "com.amazonaws.cognitoidentityprovider#AdminUpdateAuthEventFeedbackRequest": { @@ -2590,7 +2602,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.

\n

For custom attributes, you must prepend the custom: prefix to the attribute name.

\n

In addition to updating user attributes, this API can also be used to mark phone and email as verified.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Updates the specified user's attributes, including developer attributes, as an\n administrator. Works on any user.

\n

For custom attributes, you must prepend the custom: prefix to the\n attribute name.

\n

In addition to updating user attributes, this API can also be used to mark phone and\n email as verified.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
\n\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminUpdateUserAttributesRequest": { @@ -2613,14 +2625,14 @@ "UserAttributes": { "target": "com.amazonaws.cognitoidentityprovider#AttributeListType", "traits": { - "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the attribute name.

", + "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the\n attribute name.

\n

If your user pool requires verification before Amazon Cognito updates an attribute value that\n you specify in this request, Amazon Cognito doesn’t immediately update the value of that\n attribute. After your user receives and responds to a verification message to verify the\n new value, Amazon Cognito updates the attribute value. Your user can sign in and receive messages\n with the original attribute value until they verify the new value.

\n

To update the value of an attribute that requires verification in the same API\n request, include the email_verified or phone_number_verified\n attribute, with a value of true. If you set the email_verified\n or phone_number_verified value for an email or\n phone_number attribute that requires verification to true,\n Amazon Cognito doesn’t send a verification message to your user.

", "smithy.api#required": {} } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n \n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes \n the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives \n as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your \n AdminUpdateUserAttributes request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for \n your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool\n triggers. When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes the\n function that is assigned to the custom message trigger. When Amazon Cognito\n invokes this function, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your AdminUpdateUserAttributes\n request. In your function code in Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -2632,7 +2644,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response from the server for the request to update user attributes as an administrator.

" + "smithy.api#documentation": "

Represents the response from the server for the request to update user attributes as\n an administrator.

" } }, "com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOut": { @@ -2664,7 +2676,7 @@ } ], "traits": { - "smithy.api#documentation": "

Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and \n Id tokens expire one hour after they're issued.

\n

Calling this action requires developer credentials.

" + "smithy.api#documentation": "

Signs out a user from all devices. You must sign AdminUserGlobalSignOut requests\n with Amazon Web Services credentials. It also invalidates all refresh tokens that Amazon Cognito has issued to\n a user. The user's current access and ID tokens remain valid until they expire. By\n default, access and ID tokens expire one hour after they're issued. A user can still use\n a hosted UI cookie to retrieve new tokens for the duration of the cookie validity period\n of 1 hour.

\n

Calling this action requires developer credentials.

" } }, "com.amazonaws.cognitoidentityprovider#AdminUserGlobalSignOutRequest": { @@ -2751,7 +2763,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when a user tries to confirm the account with an email or phone number that has already been supplied as an alias from a different account. This exception \n tells user that an account with this email or phone already exists.

", + "smithy.api#documentation": "

This exception is thrown when a user tries to confirm the account with an email\n address or phone number that has already been supplied as an alias for a different\n user profile. This exception indicates that an account with this email address or phone\n already exists in a user pool that you've configured to use email address or phone\n number as a sign-in alias.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -2768,13 +2780,13 @@ "ApplicationArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project\n to integrate with the chosen user pool Client. Amazon Cognito publishes events to the\n Amazon Pinpointproject declared by the app ARN.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project\n to integrate with the chosen user pool Client. Amazon Cognito publishes events to the Amazon Pinpoint\n project that the app ARN declares.

" } }, "RoleArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.

" + "smithy.api#documentation": "

The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint\n analytics.

" } }, "ExternalId": { @@ -2786,12 +2798,12 @@ "UserDataShared": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

If UserDataShared is true, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.

" + "smithy.api#documentation": "

If UserDataShared is true, Amazon Cognito includes user data in the\n events that it publishes to Amazon Pinpoint analytics.

" } } }, "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics configuration for collecting metrics for a user pool.

\n \n

In Regions where Amazon Pinpointisn't available, user pools only support sending events to Amazon Pinpoint\n projects in us-east-1. In Regions where Amazon Pinpoint is available, user pools support\n sending events to Amazon Pinpoint projects within that same Region.

\n
" + "smithy.api#documentation": "

The Amazon Pinpoint analytics configuration necessary to collect metrics for a user\n pool.

\n \n

In Regions where Amazon Pinpointisn't available, user pools only support sending events to\n Amazon Pinpoint projects in us-east-1. In Regions where Amazon Pinpoint is available, user pools\n support sending events to Amazon Pinpoint projects within that same Region.

\n
" } }, "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType": { @@ -2805,7 +2817,7 @@ } }, "traits": { - "smithy.api#documentation": "

An Amazon Pinpoint analytics endpoint.

\n

An endpoint uniquely identifies a mobile device, email address, or phone number that can receive messages from Amazon Pinpoint analytics.

\n \n

Amazon Cognito user pools only support sending events to Amazon Pinpoint projects in the US East (N.\n Virginia) us-east-1 Region, regardless of the Region where the user pool\n resides.

\n
" + "smithy.api#documentation": "

An Amazon Pinpoint analytics endpoint.

\n

An endpoint uniquely identifies a mobile device, email address, or phone number that\n can receive messages from Amazon Pinpoint analytics. For more information about Amazon Web Services Regions that\n can contain Amazon Pinpoint resources for use with Amazon Cognito user pools, see Using Amazon Pinpoint analytics with Amazon Cognito user pools.

" } }, "com.amazonaws.cognitoidentityprovider#ArnType": { @@ -2847,7 +2859,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both.

\n \n

Calling AssociateSoftwareToken immediately disassociates the existing software token from the user account. If the user doesn't subsequently verify the software token, \n their account is set up to authenticate without MFA. If MFA config is set to Optional at the user pool level, the user can then log in without MFA. However, if MFA is \n set to Required for the user pool, the user is asked to set up a new software token MFA during sign-in.

\n
" + "smithy.api#documentation": "

Begins setup of time-based one-time password multi-factor authentication (TOTP MFA)\n for a user, with a unique private key that Amazon Cognito generates and returns in the API\n response. You can authorize an AssociateSoftwareToken request with either\n the user's access token, or a session string from a challenge response that you received\n from Amazon Cognito.

\n \n

Amazon Cognito disassociates an existing software token when you verify the new token in a\n VerifySoftwareToken API request. If you don't verify the software\n token and your user pool doesn't require MFA, the user can then authenticate with\n user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito\n generates an MFA_SETUP or SOFTWARE_TOKEN_SETUP challenge\n each time your user signs. Complete setup with AssociateSoftwareToken\n and VerifySoftwareToken.

\n

After you set up software token MFA for your user, Amazon Cognito generates a\n SOFTWARE_TOKEN_MFA challenge when they authenticate. Respond to\n this challenge with your user's TOTP.

\n
" } }, "com.amazonaws.cognitoidentityprovider#AssociateSoftwareTokenRequest": { @@ -2856,13 +2868,13 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

" + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose software token you want to\n generate.

" } }, "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service. This allows authentication of the user as part of the MFA setup process.

" } } } @@ -2873,13 +2885,13 @@ "SecretCode": { "target": "com.amazonaws.cognitoidentityprovider#SecretCodeType", "traits": { - "smithy.api#documentation": "

A unique generated shared secret code that is used in the time-based one-time password (TOTP) algorithm to generate a one-time code.

" + "smithy.api#documentation": "

A unique generated shared secret code that is used in the time-based one-time password\n (TOTP) algorithm to generate a one-time code.

" } }, "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service. This allows authentication of the user as part of the MFA setup process.

" } } } @@ -2978,6 +2990,12 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.cognitoidentityprovider#AttributesRequireVerificationBeforeUpdateType": { + "type": "list", + "member": { + "target": "com.amazonaws.cognitoidentityprovider#VerifiedAttributeType" + } + }, "com.amazonaws.cognitoidentityprovider#AuthEventType": { "type": "structure", "members": { @@ -3020,13 +3038,13 @@ "EventContextData": { "target": "com.amazonaws.cognitoidentityprovider#EventContextDataType", "traits": { - "smithy.api#documentation": "

The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received.

" + "smithy.api#documentation": "

The user context data captured at the time of an event request. This value provides\n additional information about the client from which event the request is received.

" } }, "EventFeedback": { "target": "com.amazonaws.cognitoidentityprovider#EventFeedbackType", "traits": { - "smithy.api#documentation": "

A flag specifying the user feedback captured at the time of an event request is good or bad.

" + "smithy.api#documentation": "

A flag specifying the user feedback captured at the time of an event request is good\n or bad.

" } } }, @@ -3093,7 +3111,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

" + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user who you want to\n authenticate.

" } }, "ExpiresIn": { @@ -3351,7 +3369,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose password you want to\n change.

", "smithy.api#required": {} } } @@ -3435,24 +3453,24 @@ "Destination": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

The destination for the code delivery details.

" + "smithy.api#documentation": "

The email address or phone number destination where Amazon Cognito sent the code.

" } }, "DeliveryMedium": { "target": "com.amazonaws.cognitoidentityprovider#DeliveryMediumType", "traits": { - "smithy.api#documentation": "

The delivery medium (email message or phone number).

" + "smithy.api#documentation": "

The method that Amazon Cognito used to send the code.

" } }, "AttributeName": { "target": "com.amazonaws.cognitoidentityprovider#AttributeNameType", "traits": { - "smithy.api#documentation": "

The attribute name.

" + "smithy.api#documentation": "

The name of the attribute that Amazon Cognito verifies with the code.

" } } }, "traits": { - "smithy.api#documentation": "

The code delivery details being returned from the server.

" + "smithy.api#documentation": "

The delivery details for an email or SMS message that Amazon Cognito sent for authentication or\n verification.

" } }, "com.amazonaws.cognitoidentityprovider#CodeDeliveryFailureException": { @@ -3466,7 +3484,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when a verification code fails to deliver successfully.

", + "smithy.api#documentation": "

This exception is thrown when a verification code fails to deliver\n successfully.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -3482,7 +3500,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown if the provided code doesn't match what the server was expecting.

", + "smithy.api#documentation": "

This exception is thrown if the provided code doesn't match what the server was\n expecting.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -3533,7 +3551,7 @@ "EventFilter": { "target": "com.amazonaws.cognitoidentityprovider#EventFiltersType", "traits": { - "smithy.api#documentation": "

Perform the action for these events. The default is to perform all events if no event filter is specified.

" + "smithy.api#documentation": "

Perform the action for these events. The default is to perform all events if no event\n filter is specified.

" } }, "Actions": { @@ -3559,7 +3577,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown if two or more modifications are happening concurrently.

", + "smithy.api#documentation": "

This exception is thrown if two or more modifications are happening\n concurrently.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -3611,7 +3629,7 @@ } ], "traits": { - "smithy.api#documentation": "

Confirms tracking of the device. This API call is the call that begins device tracking.

" + "smithy.api#documentation": "

Confirms tracking of the device. This API call is the call that begins device\n tracking.

" } }, "com.amazonaws.cognitoidentityprovider#ConfirmDeviceRequest": { @@ -3620,7 +3638,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose device you want to\n confirm.

", "smithy.api#required": {} } }, @@ -3736,20 +3754,20 @@ "SecretHash": { "target": "com.amazonaws.cognitoidentityprovider#SecretHashType", "traits": { - "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

" + "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.

" } }, "Username": { "target": "com.amazonaws.cognitoidentityprovider#UsernameType", "traits": { - "smithy.api#documentation": "

The user name of the user for whom you want to enter a code to retrieve a forgotten password.

", + "smithy.api#documentation": "

The user name of the user for whom you want to enter a code to retrieve a forgotten\n password.

", "smithy.api#required": {} } }, "ConfirmationCode": { "target": "com.amazonaws.cognitoidentityprovider#ConfirmationCodeType", "traits": { - "smithy.api#documentation": "

The confirmation code sent by a user's request to retrieve a forgotten password. For more information, \n see ForgotPassword.

", + "smithy.api#documentation": "

The confirmation code sent by a user's request to retrieve a forgotten password. For\n more information, see ForgotPassword.

", "smithy.api#required": {} } }, @@ -3763,19 +3781,19 @@ "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmForgotPassword calls.

" + "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for\n ConfirmForgotPassword calls.

" } }, "UserContextData": { "target": "com.amazonaws.cognitoidentityprovider#UserContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function that is\n assigned to the post confirmation trigger. When Amazon Cognito invokes this\n function, it passes a JSON payload, which the function receives as input. This payload\n contains a clientMetadata attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your ConfirmForgotPassword request. In your\n function code in Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function that is\n assigned to the post confirmation trigger. When Amazon Cognito invokes this\n function, it passes a JSON payload, which the function receives as input. This payload\n contains a clientMetadata attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your ConfirmForgotPassword request. In your\n function code in Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -3787,7 +3805,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

The response from the server that results from a user's request to retrieve a forgotten password.

" + "smithy.api#documentation": "

The response from the server that results from a user's request to retrieve a\n forgotten password.

" } }, "com.amazonaws.cognitoidentityprovider#ConfirmSignUp": { @@ -3844,7 +3862,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Confirms registration of a user and handles the existing alias from a previous user.

", + "smithy.api#documentation": "

Confirms registration of a new user.

", "smithy.api#optionalAuth": {} } }, @@ -3861,7 +3879,7 @@ "SecretHash": { "target": "com.amazonaws.cognitoidentityprovider#SecretHashType", "traits": { - "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

" + "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.

" } }, "Username": { @@ -3881,25 +3899,25 @@ "ForceAliasCreation": { "target": "com.amazonaws.cognitoidentityprovider#ForceAliasCreation", "traits": { - "smithy.api#documentation": "

Boolean to be specified to force user confirmation irrespective of existing alias. By default set to False. If this parameter is set to \n True and the phone number/email used for sign up confirmation already exists as an alias with a different user, the API call will migrate \n the alias from the previous user to the newly created user being confirmed. If set to False, the API will throw an \n AliasExistsException error.

" + "smithy.api#documentation": "

Boolean to be specified to force user confirmation irrespective of existing alias. By\n default set to False. If this parameter is set to True and the\n phone number/email used for sign up confirmation already exists as an alias with a\n different user, the API call will migrate the alias from the previous user to the newly\n created user being confirmed. If set to False, the API will throw an\n AliasExistsException error.

" } }, "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmSignUp calls.

" + "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmSignUp\n calls.

" } }, "UserContextData": { "target": "com.amazonaws.cognitoidentityprovider#UserContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n \n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ConfirmSignUp API action, \n Amazon Cognito invokes the function that is assigned to the post confirmation trigger. When Amazon Cognito invokes this \n function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which \n provides the data that you assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your function code in Lambda, \n you can process the clientMetadata value to enhance your workflow for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool\n triggers. When you use the ConfirmSignUp API action, Amazon Cognito invokes the function that is\n assigned to the post confirmation trigger. When Amazon Cognito invokes this\n function, it passes a JSON payload, which the function receives as input. This payload\n contains a clientMetadata attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your function\n code in Lambda, you can process the clientMetadata value to\n enhance your workflow for your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -3930,7 +3948,7 @@ "IpAddress": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

Source IP address of your user.

", + "smithy.api#documentation": "

The source IP address of your user's device.

", "smithy.api#required": {} } }, @@ -3958,12 +3976,12 @@ "EncodedData": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

Encoded data containing device fingerprinting details collected using the Amazon Cognito context data collection library.

" + "smithy.api#documentation": "

Encoded device-fingerprint details that your app collected with the Amazon Cognito\n context data collection library. For more information, see Adding user device and session data to API requests.

" } } }, "traits": { - "smithy.api#documentation": "

Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito\n advanced security.

" } }, "com.amazonaws.cognitoidentityprovider#CreateGroup": { @@ -4033,7 +4051,7 @@ "Precedence": { "target": "com.amazonaws.cognitoidentityprovider#PrecedenceType", "traits": { - "smithy.api#documentation": "

A non-negative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. \n Zero is the highest precedence value. Groups with lower Precedence values take precedence over groups with higher ornull Precedence \n values. If a user belongs to two or more groups, it is the group with the lowest precedence value whose role ARN is given in the user's tokens for the \n cognito:roles and cognito:preferred_role claims.

\n

Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two groups with the same \n Precedence have the same role ARN, that role is used in the cognito:preferred_role claim in tokens for users in each group. If \n the two groups have different role ARNs, the cognito:preferred_role claim isn't set in users' tokens.

\n

The default Precedence value is null.

" + "smithy.api#documentation": "

A non-negative integer value that specifies the precedence of this group relative to\n the other groups that a user can belong to in the user pool. Zero is the highest\n precedence value. Groups with lower Precedence values take precedence over\n groups with higher or null Precedence values. If a user belongs to two or\n more groups, it is the group with the lowest precedence value whose role ARN is given in\n the user's tokens for the cognito:roles and\n cognito:preferred_role claims.

\n

Two groups can have the same Precedence value. If this happens, neither\n group takes precedence over the other. If two groups with the same\n Precedence have the same role ARN, that role is used in the\n cognito:preferred_role claim in tokens for users in each group. If the\n two groups have different role ARNs, the cognito:preferred_role claim isn't\n set in users' tokens.

\n

The default Precedence value is null. The maximum Precedence\n value is 2^31-1.

" } } } @@ -4081,7 +4099,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an identity provider for a user pool.

" + "smithy.api#documentation": "

Creates an IdP for a user pool.

" } }, "com.amazonaws.cognitoidentityprovider#CreateIdentityProviderRequest": { @@ -4097,34 +4115,34 @@ "ProviderName": { "target": "com.amazonaws.cognitoidentityprovider#ProviderNameTypeV1", "traits": { - "smithy.api#documentation": "

The identity provider name.

", + "smithy.api#documentation": "

The IdP name.

", "smithy.api#required": {} } }, "ProviderType": { "target": "com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType", "traits": { - "smithy.api#documentation": "

The identity provider type.

", + "smithy.api#documentation": "

The IdP type.

", "smithy.api#required": {} } }, "ProviderDetails": { "target": "com.amazonaws.cognitoidentityprovider#ProviderDetailsType", "traits": { - "smithy.api#documentation": "

The identity provider details. The following list describes the provider detail keys for each identity provider type.

\n ", + "smithy.api#documentation": "

The IdP details. The following list describes the provider detail keys for each IdP\n type.

\n ", "smithy.api#required": {} } }, "AttributeMapping": { "target": "com.amazonaws.cognitoidentityprovider#AttributeMappingType", "traits": { - "smithy.api#documentation": "

A mapping of identity provider attributes to standard and custom user pool attributes.

" + "smithy.api#documentation": "

A mapping of IdP attributes to standard and custom user pool attributes.

" } }, "IdpIdentifiers": { "target": "com.amazonaws.cognitoidentityprovider#IdpIdentifiersListType", "traits": { - "smithy.api#documentation": "

A list of identity provider identifiers.

" + "smithy.api#documentation": "

A list of IdP identifiers.

" } } } @@ -4135,7 +4153,7 @@ "IdentityProvider": { "target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType", "traits": { - "smithy.api#documentation": "

The newly created identity provider object.

", + "smithy.api#documentation": "

The newly created IdP object.

", "smithy.api#required": {} } } @@ -4186,7 +4204,7 @@ "Identifier": { "target": "com.amazonaws.cognitoidentityprovider#ResourceServerIdentifierType", "traits": { - "smithy.api#documentation": "

A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as https://my-weather-api.example.com.

", + "smithy.api#documentation": "

A unique resource server identifier for the resource server. This could be an HTTPS\n endpoint where the resource server is located, such as\n https://my-weather-api.example.com.

", "smithy.api#required": {} } }, @@ -4200,7 +4218,7 @@ "Scopes": { "target": "com.amazonaws.cognitoidentityprovider#ResourceServerScopeListType", "traits": { - "smithy.api#documentation": "

A list of scopes. Each scope is a key-value map with the keys name and description.

" + "smithy.api#documentation": "

A list of scopes. Each scope is a key-value map with the keys name and\n description.

" } } } @@ -4265,7 +4283,7 @@ "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The user pool ID for the user pool that the users are being imported\n into.

", + "smithy.api#documentation": "

The user pool ID for the user pool that the users are being imported into.

", "smithy.api#required": {} } }, @@ -4292,7 +4310,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server to the request to create the user import job.

" + "smithy.api#documentation": "

Represents the response from the server to the request to create the user import\n job.

" } }, "com.amazonaws.cognitoidentityprovider#CreateUserPool": { @@ -4333,7 +4351,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Amazon Cognito user pool and sets the password policy for the pool.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
" + "smithy.api#documentation": "

Creates a new Amazon Cognito user pool and sets the password policy for the\n pool.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
" } }, "com.amazonaws.cognitoidentityprovider#CreateUserPoolClient": { @@ -4371,7 +4389,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates the user pool client.

\n

When you create a new user pool client, token revocation is automatically activated. For more information about revoking tokens, \n see RevokeToken.

" + "smithy.api#documentation": "

Creates the user pool client.

\n

When you create a new user pool client, token revocation is automatically activated.\n For more information about revoking tokens, see RevokeToken.

" } }, "com.amazonaws.cognitoidentityprovider#CreateUserPoolClientRequest": { @@ -4394,31 +4412,31 @@ "GenerateSecret": { "target": "com.amazonaws.cognitoidentityprovider#GenerateSecret", "traits": { - "smithy.api#documentation": "

Boolean to specify whether you want to generate a secret for the user pool client being created.

" + "smithy.api#documentation": "

Boolean to specify whether you want to generate a secret for the user pool client\n being created.

" } }, "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit, in days, after which the refresh token is no longer valid and can't be used.

" + "smithy.api#documentation": "

The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.

\n

The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.

" } }, "AccessTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and can't be used. If you supply a TokenValidityUnits value, you will override \n the default time unit.

" + "smithy.api#documentation": "

The access token time limit. After this limit expires, your user can't use \n their access token. To specify the time unit for AccessTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set AccessTokenValidity to 10 and\n TokenValidityUnits to hours, your user can authorize access with\n their access token for 10 hours.

\n

The default time unit for AccessTokenValidity in an API request is hours. \n Valid range is displayed below in seconds.

" } }, "IdTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#IdTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and can't be used. If you supply a TokenValidityUnits value, you will override \n the default time unit.

" + "smithy.api#documentation": "

The ID token time limit. After this limit expires, your user can't use \n their ID token. To specify the time unit for IdTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set IdTokenValidity as 10 and\n TokenValidityUnits as hours, your user can authenticate their \n session with their ID token for 10 hours.

\n

The default time unit for AccessTokenValidity in an API request is hours. \n Valid range is displayed below in seconds.

" } }, "TokenValidityUnits": { "target": "com.amazonaws.cognitoidentityprovider#TokenValidityUnitsType", "traits": { - "smithy.api#documentation": "

The units in which the validity times are represented. Default for RefreshToken is days, and default for ID and access tokens are hours.

" + "smithy.api#documentation": "

The units in which the validity times are represented. The default unit for\n RefreshToken is days, and default for ID and access tokens are hours.

" } }, "ReadAttributes": { @@ -4430,55 +4448,55 @@ "WriteAttributes": { "target": "com.amazonaws.cognitoidentityprovider#ClientPermissionListType", "traits": { - "smithy.api#documentation": "

The user pool attributes that the app client can write to.

\n

If your app client allows users to sign in through an identity provider, this array\n must include all attributes that you have mapped to identity provider attributes. Amazon Cognito\n updates mapped attributes when users sign in to your application through an identity\n provider. If your app client does not have write access to a mapped attribute, Amazon Cognito\n throws an error when it tries to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your user\n pool.

" + "smithy.api#documentation": "

The user pool attributes that the app client can write to.

\n

If your app client allows users to sign in through an IdP, this array must include all\n attributes that you have mapped to IdP attributes. Amazon Cognito updates mapped attributes when\n users sign in to your application through an IdP. If your app client does not have write\n access to a mapped attribute, Amazon Cognito throws an error when it tries to update the\n attribute. For more information, see Specifying IdP Attribute Mappings for Your user\n pool.

" } }, "ExplicitAuthFlows": { "target": "com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsListType", "traits": { - "smithy.api#documentation": "

The authentication flows that are supported by the user pool clients. Flow names\n without the ALLOW_ prefix are no longer supported, in favor of new names\n with the ALLOW_ prefix.

\n \n

Values with ALLOW_ prefix must be used only along with the\n ALLOW_ prefix.

\n
\n

Valid values include:

\n \n " + "smithy.api#documentation": "

The authentication flows that are supported by the user pool clients. Flow names\n without the ALLOW_ prefix are no longer supported, in favor of new names\n with the ALLOW_ prefix.

\n \n

Values with ALLOW_ prefix must be used only along with the\n ALLOW_ prefix.

\n
\n

Valid values include:

\n \n

If you don't specify a value for ExplicitAuthFlows, your app client\n activates the ALLOW_USER_SRP_AUTH and ALLOW_CUSTOM_AUTH\n authentication flows.

" } }, "SupportedIdentityProviders": { "target": "com.amazonaws.cognitoidentityprovider#SupportedIdentityProvidersListType", "traits": { - "smithy.api#documentation": "

A list of provider names for the identity providers that are supported on this client. The following are supported: COGNITO, Facebook, Google \n and LoginWithAmazon.

" + "smithy.api#documentation": "

A list of provider names for the IdPs that this client supports. The following are\n supported: COGNITO, Facebook, Google\n LoginWithAmazon, and the names of your own SAML and OIDC providers.

" } }, "CallbackURLs": { "target": "com.amazonaws.cognitoidentityprovider#CallbackURLsListType", "traits": { - "smithy.api#documentation": "

A list of allowed redirect (callback) URLs for the identity providers.

\n

A redirect URI must:

\n \n

See OAuth 2.0 - Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.

\n

App callback URLs such as myapp://example are also supported.

" + "smithy.api#documentation": "

A list of allowed redirect (callback) URLs for the IdPs.

\n

A redirect URI must:

\n \n

See OAuth 2.0 -\n Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes\n only.

\n

App callback URLs such as myapp://example are also supported.

" } }, "LogoutURLs": { "target": "com.amazonaws.cognitoidentityprovider#LogoutURLsListType", "traits": { - "smithy.api#documentation": "

A list of allowed logout URLs for the identity providers.

" + "smithy.api#documentation": "

A list of allowed logout URLs for the IdPs.

" } }, "DefaultRedirectURI": { "target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType", "traits": { - "smithy.api#documentation": "

The default redirect URI. Must be in the CallbackURLs list.

\n

A redirect URI must:

\n \n

See OAuth 2.0 - Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.

\n

App callback URLs such as myapp://example are also supported.

" + "smithy.api#documentation": "

The default redirect URI. Must be in the CallbackURLs list.

\n

A redirect URI must:

\n \n

See OAuth 2.0 -\n Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes\n only.

\n

App callback URLs such as myapp://example are also supported.

" } }, "AllowedOAuthFlows": { "target": "com.amazonaws.cognitoidentityprovider#OAuthFlowsType", "traits": { - "smithy.api#documentation": "

The allowed OAuth flows.

\n

Set to code to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint.

\n

Set to implicit to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.

\n

Set to client_credentials to specify that the client should get the access token (and, optionally, ID token, based on scopes) from the token endpoint using a \n combination of client and client_secret.

" + "smithy.api#documentation": "

The allowed OAuth flows.

\n
\n
code
\n
\n

Use a code grant flow, which provides an authorization code as the\n response. This code can be exchanged for access tokens with the\n /oauth2/token endpoint.

\n
\n
implicit
\n
\n

Issue the access token (and, optionally, ID token, based on scopes)\n directly to your user.

\n
\n
client_credentials
\n
\n

Issue the access token from the /oauth2/token endpoint\n directly to a non-person user using a combination of the client ID and\n client secret.

\n
\n
" } }, "AllowedOAuthScopes": { "target": "com.amazonaws.cognitoidentityprovider#ScopeListType", "traits": { - "smithy.api#documentation": "

The allowed OAuth scopes. Possible values provided by OAuth are: phone, email, openid, and profile. Possible values \n provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created in Resource Servers are also supported.

" + "smithy.api#documentation": "

The allowed OAuth scopes. Possible values provided by OAuth are phone,\n email, openid, and profile. Possible values\n provided by Amazon Web Services are aws.cognito.signin.user.admin. Custom\n scopes created in Resource Servers are also supported.

" } }, "AllowedOAuthFlowsUserPoolClient": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting with Amazon Cognito user pools.

" + "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.

" } }, "AnalyticsConfiguration": { @@ -4490,13 +4508,19 @@ "PreventUserExistenceErrors": { "target": "com.amazonaws.cognitoidentityprovider#PreventUserExistenceErrorTypes", "traits": { - "smithy.api#documentation": "

Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user \n pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. \n Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those \n APIs return a UserNotFoundException exception if the user doesn't exist in the user pool.

\n

Valid values include:

\n \n " + "smithy.api#documentation": "

Errors and responses that you want Amazon Cognito APIs to return during authentication, account\n confirmation, and password recovery when the user doesn't exist in the user pool. When\n set to ENABLED and the user doesn't exist, authentication returns an error\n indicating either the username or password was incorrect. Account confirmation and\n password recovery return a response indicating a code was sent to a simulated\n destination. When set to LEGACY, those APIs return a\n UserNotFoundException exception if the user doesn't exist in the user\n pool.

\n

Valid values include:

\n " } }, "EnableTokenRevocation": { "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", "traits": { - "smithy.api#documentation": "

Activates or deactivates token revocation. For more information about revoking tokens, \n see RevokeToken.

\n

If you don't include this parameter, token revocation is automatically activated for the new user pool client.

" + "smithy.api#documentation": "

Activates or deactivates token revocation. For more information about revoking tokens,\n see RevokeToken.

\n

If you don't include this parameter, token revocation is automatically activated for\n the new user pool client.

" + } + }, + "EnablePropagateAdditionalUserContextData": { + "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", + "traits": { + "smithy.api#documentation": "

Activates the propagation of additional user context data. For more information about\n propagation of user context data, see Adding advanced security to a user pool. If you don’t include this\n parameter, you can't send device fingerprint information, including source IP address,\n to Amazon Cognito advanced security. You can only activate\n EnablePropagateAdditionalUserContextData in an app client that has a\n client secret.

" } } }, @@ -4553,7 +4577,7 @@ "Domain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, \n such as auth.

", + "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such\n as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone,\n such as auth.

", "smithy.api#required": {} } }, @@ -4567,7 +4591,7 @@ "CustomDomainConfig": { "target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType", "traits": { - "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.

\n

Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.

\n

For more information about the hosted domain and custom domains, \n see Configuring a User Pool Domain.

" + "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in webpages for\n your application.

\n

Provide this parameter only if you want to use a custom domain for your user pool.\n Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain\n instead.

\n

For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.

" } } } @@ -4578,7 +4602,7 @@ "CloudFrontDomain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.

" + "smithy.api#documentation": "

The Amazon CloudFront endpoint that you use as the target of the alias that you set up with\n your Domain Name Service (DNS) provider.

" } } } @@ -4602,7 +4626,7 @@ "LambdaConfig": { "target": "com.amazonaws.cognitoidentityprovider#LambdaConfigType", "traits": { - "smithy.api#documentation": "

The Lambda trigger configuration information for the new user pool.

\n \n

In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an \n extra call to add permission for these event sources to invoke your Lambda function.

\n

\n

For more information on using the Lambda API \n to add permission, see AddPermission .

\n

For adding permission using the CLI, see add-permission .

\n
" + "smithy.api#documentation": "

The Lambda trigger configuration information for the new user pool.

\n \n

In a push model, event sources (such as Amazon S3 and custom applications) need\n permission to invoke a function. So you must make an extra call to add permission\n for these event sources to invoke your Lambda function.

\n

\n

For more information on using the Lambda API to add permission, see\n AddPermission .

\n

For adding permission using the CLI, see add-permission\n .

\n
" } }, "AutoVerifiedAttributes": { @@ -4614,13 +4638,13 @@ "AliasAttributes": { "target": "com.amazonaws.cognitoidentityprovider#AliasAttributesListType", "traits": { - "smithy.api#documentation": "

Attributes supported as an alias for this user pool. Possible values: phone_number, email, or \n preferred_username.

" + "smithy.api#documentation": "

Attributes supported as an alias for this user pool. Possible values: phone_number, email, or\n preferred_username.

" } }, "UsernameAttributes": { "target": "com.amazonaws.cognitoidentityprovider#UsernameAttributesListType", "traits": { - "smithy.api#documentation": "

Specifies whether a user can use an email address or phone number as a username when they sign up.

" + "smithy.api#documentation": "

Specifies whether a user can use an email address or phone number as a username when\n they sign up.

" } }, "SmsVerificationMessage": { @@ -4632,19 +4656,19 @@ "EmailVerificationMessage": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType", "traits": { - "smithy.api#documentation": "

A string representing the email verification message. EmailVerificationMessage is allowed only if \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

A string representing the email verification message. EmailVerificationMessage is\n allowed only if EmailSendingAccount is DEVELOPER.

" } }, "EmailVerificationSubject": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType", "traits": { - "smithy.api#documentation": "

A string representing the email verification subject. EmailVerificationSubject is allowed only if \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

A string representing the email verification subject. EmailVerificationSubject is\n allowed only if EmailSendingAccount is DEVELOPER.

" } }, "VerificationMessageTemplate": { "target": "com.amazonaws.cognitoidentityprovider#VerificationMessageTemplateType", "traits": { - "smithy.api#documentation": "

The template for the verification message that the user sees when the app requests permission to access the user's information.

" + "smithy.api#documentation": "

The template for the verification message that the user sees when the app requests\n permission to access the user's information.

" } }, "SmsAuthenticationMessage": { @@ -4659,6 +4683,12 @@ "smithy.api#documentation": "

Specifies MFA configuration details.

" } }, + "UserAttributeUpdateSettings": { + "target": "com.amazonaws.cognitoidentityprovider#UserAttributeUpdateSettingsType", + "traits": { + "smithy.api#documentation": "

The settings for updates to user attributes. These settings include the property AttributesRequireVerificationBeforeUpdate,\na user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For\nmore information, see \nVerifying updates to to email addresses and phone numbers.

" + } + }, "DeviceConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#DeviceConfigurationType", "traits": { @@ -4680,7 +4710,7 @@ "UserPoolTags": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType", "traits": { - "smithy.api#documentation": "

The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, \n or other criteria.

" + "smithy.api#documentation": "

The tag keys and values to assign to the user pool. A tag is a label that you can use\n to categorize and manage user pools in different ways, such as by purpose, owner,\n environment, or other criteria.

" } }, "AdminCreateUserConfig": { @@ -4692,25 +4722,25 @@ "Schema": { "target": "com.amazonaws.cognitoidentityprovider#SchemaAttributesListType", "traits": { - "smithy.api#documentation": "

An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.

" + "smithy.api#documentation": "

An array of schema attributes for the new user pool. These attributes can be standard\n or custom attributes.

" } }, "UserPoolAddOns": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnsType", "traits": { - "smithy.api#documentation": "

Enables advanced security risk detection. Set the key AdvancedSecurityMode to the value \"AUDIT\".

" + "smithy.api#documentation": "

Enables advanced security risk detection. Set the key\n AdvancedSecurityMode to the value \"AUDIT\".

" } }, "UsernameConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#UsernameConfigurationType", "traits": { - "smithy.api#documentation": "

Case sensitivity on the username input for the selected sign-in option. For example, when case sensitivity is set to False, users can sign in using either \"username\" \n or \"Username\". This configuration is immutable once it has been set. For more information, \n see UsernameConfigurationType.

" + "smithy.api#documentation": "

Case sensitivity on the username input for the selected sign-in option. For example,\n when case sensitivity is set to False, users can sign in using either\n \"username\" or \"Username\". This configuration is immutable once it has been set. For more\n information, see UsernameConfigurationType.

" } }, "AccountRecoverySetting": { "target": "com.amazonaws.cognitoidentityprovider#AccountRecoverySettingType", "traits": { - "smithy.api#documentation": "

The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a \n preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the \n user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method \n where SMS is preferred through email.

" + "smithy.api#documentation": "

The available verified method a user can use to recover their password when they call\n ForgotPassword. You can use this setting to define a preferred method\n when a user has more than one method available. With this setting, SMS doesn't qualify\n for a valid password recovery mechanism if the user also has SMS multi-factor\n authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy\n behavior to determine the recovery method where SMS is preferred through email.

" } } }, @@ -4766,7 +4796,7 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.

" + "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in webpages for\n your application.

" } }, "com.amazonaws.cognitoidentityprovider#CustomEmailLambdaVersionConfigType": { @@ -4775,14 +4805,14 @@ "LambdaVersion": { "target": "com.amazonaws.cognitoidentityprovider#CustomEmailSenderLambdaVersionType", "traits": { - "smithy.api#documentation": "

Signature of the \"request\" attribute in the \"event\" information Amazon Cognito passes to your custom email Lambda function. The only supported value is V1_0.

", + "smithy.api#documentation": "

Signature of the \"request\" attribute in the \"event\" information Amazon Cognito passes to your\n custom email Lambda function. The only supported value is V1_0.

", "smithy.api#required": {} } }, "LambdaArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send email notifications to users.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send\n email notifications to users.

", "smithy.api#required": {} } } @@ -4808,14 +4838,14 @@ "LambdaVersion": { "target": "com.amazonaws.cognitoidentityprovider#CustomSMSSenderLambdaVersionType", "traits": { - "smithy.api#documentation": "

Signature of the \"request\" attribute in the \"event\" information that Amazon Cognito passes to your custom SMS Lambda function. The only supported value is V1_0.

", + "smithy.api#documentation": "

Signature of the \"request\" attribute in the \"event\" information that Amazon Cognito passes to\n your custom SMS Lambda function. The only supported value is V1_0.

", "smithy.api#required": {} } }, "LambdaArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS\n notifications to users.

", "smithy.api#required": {} } } @@ -4858,6 +4888,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#DeleteGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -4903,6 +4936,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#DeleteIdentityProviderRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -4924,7 +4960,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an identity provider for a user pool.

" + "smithy.api#documentation": "

Deletes an IdP for a user pool.

" } }, "com.amazonaws.cognitoidentityprovider#DeleteIdentityProviderRequest": { @@ -4940,7 +4976,7 @@ "ProviderName": { "target": "com.amazonaws.cognitoidentityprovider#ProviderNameType", "traits": { - "smithy.api#documentation": "

The identity provider name.

", + "smithy.api#documentation": "

The IdP name.

", "smithy.api#required": {} } } @@ -4951,6 +4987,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#DeleteResourceServerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -4996,6 +5035,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#DeleteUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -5074,14 +5116,14 @@ "UserAttributeNames": { "target": "com.amazonaws.cognitoidentityprovider#AttributeNameListType", "traits": { - "smithy.api#documentation": "

An array of strings representing the user attribute names you want to delete.

\n

For custom attributes, you must prependattach the custom: prefix to the front of the attribute name.

", + "smithy.api#documentation": "

An array of strings representing the user attribute names you want to delete.

\n

For custom attributes, you must prependattach the custom: prefix to the\n front of the attribute name.

", "smithy.api#required": {} } }, "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token used in the request to delete user attributes.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose attributes you want to\n delete.

", "smithy.api#required": {} } } @@ -5102,6 +5144,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -5131,6 +5176,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#DeleteUserPoolClientRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -5206,7 +5254,7 @@ "Domain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, \n such as auth.

", + "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such\n as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone,\n such as auth.

", "smithy.api#required": {} } }, @@ -5244,7 +5292,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token from a request to delete a user.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose user profile you want to\n delete.

", "smithy.api#required": {} } } @@ -5300,7 +5348,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a specific identity provider.

" + "smithy.api#documentation": "

Gets information about a specific IdP.

" } }, "com.amazonaws.cognitoidentityprovider#DescribeIdentityProviderRequest": { @@ -5316,7 +5364,7 @@ "ProviderName": { "target": "com.amazonaws.cognitoidentityprovider#ProviderNameType", "traits": { - "smithy.api#documentation": "

The identity provider name.

", + "smithy.api#documentation": "

The IdP name.

", "smithy.api#required": {} } } @@ -5328,7 +5376,7 @@ "IdentityProvider": { "target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType", "traits": { - "smithy.api#documentation": "

The identity provider that was deleted.

", + "smithy.api#documentation": "

The IdP that was deleted.

", "smithy.api#required": {} } } @@ -5518,7 +5566,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server to the request to describe the user import job.

" + "smithy.api#documentation": "

Represents the response from the server to the request to describe the user import\n job.

" } }, "com.amazonaws.cognitoidentityprovider#DescribeUserPool": { @@ -5579,7 +5627,7 @@ } ], "traits": { - "smithy.api#documentation": "

Client method for returning the configuration information and metadata of the specified user pool app client.

" + "smithy.api#documentation": "

Client method for returning the configuration information and metadata of the\n specified user pool app client.

" } }, "com.amazonaws.cognitoidentityprovider#DescribeUserPoolClientRequest": { @@ -5615,7 +5663,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server from a request to describe the user pool client.

" + "smithy.api#documentation": "

Represents the response from the server from a request to describe the user pool\n client.

" } }, "com.amazonaws.cognitoidentityprovider#DescribeUserPoolDomain": { @@ -5650,7 +5698,7 @@ "Domain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, \n such as auth.

", + "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such\n as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone,\n such as auth.

", "smithy.api#required": {} } } @@ -5711,18 +5759,18 @@ "ChallengeRequiredOnNewDevice": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).

\n \n

Users that sign in with devices that have not been confirmed or remembered will still have to provide a second factor, whether or not ChallengeRequiredOnNewDevice is true, when your user \n pool requires MFA.

\n
" + "smithy.api#documentation": "

When true, device authentication can replace SMS and time-based one-time password\n (TOTP) factors for multi-factor authentication (MFA).

\n \n

Users that sign in with devices that have not been confirmed or remembered will\n still have to provide a second factor, whether or not ChallengeRequiredOnNewDevice\n is true, when your user pool requires MFA.

\n
" } }, "DeviceOnlyRememberedOnUserPrompt": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

When true, users can opt in to remembering their device. Your app code must use callback functions to return the user's choice.

" + "smithy.api#documentation": "

When true, users can opt in to remembering their device. Your app code must use\n callback functions to return the user's choice.

" } } }, "traits": { - "smithy.api#documentation": "

The device tracking configuration for a user pool. A user pool with device tracking deactivated returns a null value.

\n \n

When you provide values for any DeviceConfiguration field, you activate device tracking.

\n
" + "smithy.api#documentation": "

The device tracking configuration for a user pool. A user pool with device tracking\n deactivated returns a null value.

\n \n

When you provide values for any DeviceConfiguration field, you activate device\n tracking.

\n
" } }, "com.amazonaws.cognitoidentityprovider#DeviceKeyType": { @@ -5777,7 +5825,7 @@ "Salt": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

The salt.

" + "smithy.api#documentation": "

The salt\n

" } } }, @@ -5841,7 +5889,7 @@ "Domain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth.

" + "smithy.api#documentation": "

The domain string. For custom domains, this is the fully-qualified domain name, such\n as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone,\n such as auth.

" } }, "S3Bucket": { @@ -5871,7 +5919,7 @@ "CustomDomainConfig": { "target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType", "traits": { - "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.

" + "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in webpages for\n your application.

" } } }, @@ -5933,7 +5981,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the provider is already supported by the user pool.

", + "smithy.api#documentation": "

This exception is thrown when the provider is already supported by the user\n pool.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -5950,7 +5998,7 @@ "SourceArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The ARN of a verified email address in Amazon SES. Amazon Cognito uses this email address in one of the following ways, depending on the value that you specify for the EmailSendingAccount \n parameter:

\n \n

The Region value of the SourceArn parameter must indicate a supported\n Amazon Web Services Region of your user pool. Typically, the Region in the SourceArn and\n the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer\n Guide.

" + "smithy.api#documentation": "

The ARN of a verified email address in Amazon SES. Amazon Cognito uses this email address in one of\n the following ways, depending on the value that you specify for the\n EmailSendingAccount parameter:

\n \n

The Region value of the SourceArn parameter must indicate a supported\n Amazon Web Services Region of your user pool. Typically, the Region in the SourceArn and\n the user pool Region are the same. For more information, see Amazon SES email configuration regions in the Amazon Cognito Developer\n Guide.

" } }, "ReplyToEmailAddress": { @@ -5962,13 +6010,13 @@ "EmailSendingAccount": { "target": "com.amazonaws.cognitoidentityprovider#EmailSendingAccountType", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon Cognito uses its built-in functionality to send your users email\n messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following\n values:

\n
\n
COGNITO_DEFAULT
\n
\n

When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. \n For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email \n configuration.

\n

To look up the email delivery limit for the default option, see Limits in in the \n Developer Guide.

\n

The default FROM address is no-reply@verificationemail.com. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address \n for the SourceArn parameter.

\n

If EmailSendingAccount is COGNITO_DEFAULT, you can't use the following parameters:

\n \n \n

DEVELOPER EmailSendingAccount is required.

\n
\n
\n
DEVELOPER
\n
\n

When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this \n option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your Amazon Web Services account.

\n

If you use this option, you must provide the ARN of an Amazon SES verified email address for the SourceArn parameter.

\n

Before Amazon Cognito can email your users, it requires additional permissions to call\n Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito\n creates a service-linked role, which is a type of role,\n in your Amazon Web Services account. This role contains the permissions that\n allow to access Amazon SES and send email messages with your address. For more\n information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the\n Amazon Cognito Developer Guide.

\n
\n
" + "smithy.api#documentation": "

Specifies whether Amazon Cognito uses its built-in functionality to send your users email\n messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following\n values:

\n
\n
COGNITO_DEFAULT
\n
\n

When Amazon Cognito emails your users, it uses its built-in email functionality.\n When you use the default option, Amazon Cognito allows only a limited number of\n emails each day for your user pool. For typical production environments, the\n default email limit is less than the required delivery volume. To achieve a\n higher delivery volume, specify DEVELOPER to use your Amazon SES email\n configuration.

\n

To look up the email delivery limit for the default option, see Limits in in the Developer Guide.

\n

The default FROM address is no-reply@verificationemail.com.\n To customize the FROM address, provide the Amazon Resource Name (ARN) of an\n Amazon SES verified email address for the SourceArn\n parameter.

\n \n
\n
DEVELOPER
\n
\n

When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito\n calls Amazon SES on your behalf to send email from your verified email address.\n When you use this option, the email delivery limits are the same limits that\n apply to your Amazon SES verified email address in your Amazon Web Services account.

\n

If you use this option, provide the ARN of an Amazon SES verified email address\n for the SourceArn parameter.

\n

Before Amazon Cognito can email your users, it requires additional permissions to\n call Amazon SES on your behalf. When you update your user pool with this option,\n Amazon Cognito creates a service-linked role, which is a type of\n role, in your Amazon Web Services account. This role contains the permissions\n that allow to access Amazon SES and send email messages with your address. For\n more information about the service-linked role that Amazon Cognito creates, see\n Using Service-Linked Roles for Amazon Cognito in the\n Amazon Cognito Developer Guide.

\n
\n
" } }, "From": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

Either the sender’s email address or the sender’s name with their email address. For example, testuser@example.com or \n Test User . This address appears before the body of the email.

" + "smithy.api#documentation": "

Either the sender’s email address or the sender’s name with their email address. For\n example, testuser@example.com or Test User\n . This address appears before the body of the\n email.

" } }, "ConfigurationSet": { @@ -5979,7 +6027,7 @@ } }, "traits": { - "smithy.api#documentation": "

The email configuration of your user pool. The email configuration type sets your\n preferred sending method, Amazon Web Services Region, and sender for messages from your user\n pool.

\n \n

Amazon Cognito can send email messages with Amazon Simple Email Service resources in the Amazon Web Services Region where you\n created your user pool, and in alternate Regions in some cases. For more information\n on the supported Regions, see Email settings for Amazon Cognito user pools.

\n
" + "smithy.api#documentation": "

The email configuration of your user pool. The email configuration type sets your\n preferred sending method, Amazon Web Services Region, and sender for messages from your user\n pool.

\n \n

Amazon Cognito can send email messages with Amazon Simple Email Service resources in the Amazon Web Services Region where\n you created your user pool, and in alternate Regions in some cases. For more\n information on the supported Regions, see Email settings for Amazon Cognito user pools.

\n
" } }, "com.amazonaws.cognitoidentityprovider#EmailNotificationBodyType": { @@ -6065,7 +6113,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).

", + "smithy.api#documentation": "

This exception is thrown when there is a code mismatch and the service fails to\n configure the software token TOTP multi-factor authentication (MFA).

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -6076,7 +6124,7 @@ "IpAddress": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

The user's IP address.

" + "smithy.api#documentation": "

The source IP address of your user's device.

" } }, "DeviceName": { @@ -6204,7 +6252,7 @@ "CompromisedCredentialsDetected": { "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", "traits": { - "smithy.api#documentation": "

Indicates whether compromised credentials were detected during an authentication event.

" + "smithy.api#documentation": "

Indicates whether compromised credentials were detected during an authentication\n event.

" } } }, @@ -6315,6 +6363,9 @@ "input": { "target": "com.amazonaws.cognitoidentityprovider#ForgetDeviceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentityprovider#InternalErrorException" @@ -6354,7 +6405,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token for the forgotten device request.

" + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose registered device you want to\n forget.

" } }, "DeviceKey": { @@ -6423,7 +6474,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the \n Username parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the \n specified AccountRecoverySetting. For more information, \n see Recovering User Accounts \n in the Amazon Cognito Developer Guide. If neither a verified phone number nor a verified email exists, \n an InvalidParameterException is thrown. To use the confirmation code for resetting the password, \n call ConfirmForgotPassword.\n

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", + "smithy.api#documentation": "

Calling this API causes a message to be sent to the end user with a confirmation code\n that is required to change the user's password. For the Username parameter,\n you can use the username or user alias. The method used to send the confirmation code is\n sent according to the specified AccountRecoverySetting. For more information, see Recovering\n User Accounts in the Amazon Cognito Developer Guide. If\n neither a verified phone number nor a verified email exists, an\n InvalidParameterException is thrown. To use the confirmation code for\n resetting the password, call ConfirmForgotPassword.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", "smithy.api#optionalAuth": {} } }, @@ -6440,32 +6491,32 @@ "SecretHash": { "target": "com.amazonaws.cognitoidentityprovider#SecretHashType", "traits": { - "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

" + "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.

" } }, "UserContextData": { "target": "com.amazonaws.cognitoidentityprovider#UserContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } }, "Username": { "target": "com.amazonaws.cognitoidentityprovider#UsernameType", "traits": { - "smithy.api#documentation": "

The user name of the user for whom you want to enter a code to reset a forgotten password.

", + "smithy.api#documentation": "

The user name of the user for whom you want to enter a code to reset a forgotten\n password.

", "smithy.api#required": {} } }, "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for ForgotPassword\n calls.

" + "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata that contributes to your metrics for\n ForgotPassword calls.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool\n triggers. When you use the ForgotPassword API action, Amazon Cognito invokes any\n functions that are assigned to the following triggers: pre sign-up,\n custom message, and user migration. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your ForgotPassword request. In your function code in Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool\n triggers. When you use the ForgotPassword API action, Amazon Cognito invokes any\n functions that are assigned to the following triggers: pre sign-up,\n custom message, and user migration. When\n Amazon Cognito invokes any of these functions, it passes a JSON payload, which the\n function receives as input. This payload contains a clientMetadata\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your ForgotPassword request. In your function code in Lambda, you can\n process the clientMetadata value to enhance your workflow for your specific\n needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -6479,12 +6530,12 @@ "CodeDeliveryDetails": { "target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType", "traits": { - "smithy.api#documentation": "

The code delivery details returned by the server in response to the request to reset a password.

" + "smithy.api#documentation": "

The code delivery details returned by the server in response to the request to reset a\n password.

" } } }, "traits": { - "smithy.api#documentation": "

Respresents the response from the server regarding the request to reset a password.

" + "smithy.api#documentation": "

The response from Amazon Cognito to a request to reset a password.

" } }, "com.amazonaws.cognitoidentityprovider#GenerateSecret": { @@ -6516,7 +6567,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the header information for the comma-separated value (CSV) file to be used as input for the user import job.

" + "smithy.api#documentation": "

Gets the header information for the comma-separated value (CSV) file to be used as\n input for the user import job.

" } }, "com.amazonaws.cognitoidentityprovider#GetCSVHeaderRequest": { @@ -6531,7 +6582,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the request to get the header information of the CSV file for the user import job.

" + "smithy.api#documentation": "

Represents the request to get the header information of the CSV file for the user\n import job.

" } }, "com.amazonaws.cognitoidentityprovider#GetCSVHeaderResponse": { @@ -6540,7 +6591,7 @@ "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The user pool ID for the user pool that the users are to be imported\n into.

" + "smithy.api#documentation": "

The user pool ID for the user pool that the users are to be imported into.

" } }, "CSVHeader": { @@ -6551,7 +6602,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server to the request to get the header information of the CSV file for the user import job.

" + "smithy.api#documentation": "

Represents the response from the server to the request to get the header information\n of the CSV file for the user import job.

" } }, "com.amazonaws.cognitoidentityprovider#GetDevice": { @@ -6608,7 +6659,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

" + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose device information you want\n to request.

" } } }, @@ -6716,7 +6767,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the specified identity provider.

" + "smithy.api#documentation": "

Gets the specified IdP.

" } }, "com.amazonaws.cognitoidentityprovider#GetIdentityProviderByIdentifierRequest": { @@ -6732,7 +6783,7 @@ "IdpIdentifier": { "target": "com.amazonaws.cognitoidentityprovider#IdpIdentifierType", "traits": { - "smithy.api#documentation": "

The identity provider ID.

", + "smithy.api#documentation": "

The IdP identifier.

", "smithy.api#required": {} } } @@ -6744,7 +6795,7 @@ "IdentityProvider": { "target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType", "traits": { - "smithy.api#documentation": "

The identity provider object.

", + "smithy.api#documentation": "

The IdP object.

", "smithy.api#required": {} } } @@ -6828,7 +6879,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the user interface (UI) Customization information for a particular app client's app UI, if any such information exists for the client. If nothing is set for the particular client, \n but there is an existing pool level customization (the app clientId is ALL), then that information is returned. If nothing is present, then an empty shape is returned.

" + "smithy.api#documentation": "

Gets the user interface (UI) Customization information for a particular app client's\n app UI, if any such information exists for the client. If nothing is set for the\n particular client, but there is an existing pool level customization (the app\n clientId is ALL), then that information is returned. If\n nothing is present, then an empty shape is returned.

" } }, "com.amazonaws.cognitoidentityprovider#GetUICustomizationRequest": { @@ -6961,7 +7012,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Gets the user attribute verification code for the specified attribute name.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", + "smithy.api#documentation": "

Generates a user attribute verification code for the specified attribute name. Sends a\n message to a user with a code that they must return in a VerifyUserAttribute\n request.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", "smithy.api#optionalAuth": {} } }, @@ -6971,21 +7022,21 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token returned by the server response to get the user attribute verification code.

", + "smithy.api#documentation": "

A non-expired access token for the user whose attribute verification code you want to\n generate.

", "smithy.api#required": {} } }, "AttributeName": { "target": "com.amazonaws.cognitoidentityprovider#AttributeNameType", "traits": { - "smithy.api#documentation": "

The attribute name returned by the server response to get the user attribute verification code.

", + "smithy.api#documentation": "

The attribute name returned by the server response to get the user attribute\n verification code.

", "smithy.api#required": {} } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n \n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the GetUserAttributeVerificationCode \n API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it \n passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data \n that you assigned to the ClientMetadata parameter in your GetUserAttributeVerificationCode request. In your function code in Lambda, \n you can process the clientMetadata value to enhance your workflow for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool\n triggers. When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes\n the function that is assigned to the custom message trigger. When\n Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as\n input. This payload contains a clientMetadata attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your\n GetUserAttributeVerificationCode request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for\n your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -6999,12 +7050,12 @@ "CodeDeliveryDetails": { "target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType", "traits": { - "smithy.api#documentation": "

The code delivery details returned by the server in response to the request to get the user attribute verification code.

" + "smithy.api#documentation": "

The code delivery details returned by the server in response to the request to get the\n user attribute verification code.

" } } }, "traits": { - "smithy.api#documentation": "

The verification code response returned by the server response to get the user attribute verification code.

" + "smithy.api#documentation": "

The verification code response returned by the server response to get the user\n attribute verification code.

" } }, "com.amazonaws.cognitoidentityprovider#GetUserPoolMfaConfig": { @@ -7066,7 +7117,7 @@ "MfaConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType", "traits": { - "smithy.api#documentation": "

The multi-factor (MFA) configuration. Valid values include:

\n \n " + "smithy.api#documentation": "

The multi-factor (MFA) configuration. Valid values include:

\n " } } } @@ -7077,7 +7128,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token returned by the server response to get information about the user.

", + "smithy.api#documentation": "

A non-expired access token for the user whose information you want to query.

", "smithy.api#required": {} } } @@ -7099,14 +7150,14 @@ "UserAttributes": { "target": "com.amazonaws.cognitoidentityprovider#AttributeListType", "traits": { - "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the attribute name.

", + "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the\n attribute name.

", "smithy.api#required": {} } }, "MFAOptions": { "target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType", "traits": { - "smithy.api#documentation": "

\n This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time \n password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.

" + "smithy.api#documentation": "

\n This response parameter is no longer supported. It provides\n information only about SMS MFA configurations. It doesn't provide information about\n time-based one-time password (TOTP) software token MFA configurations. To look up\n information about either type of MFA configuration, use UserMFASettingList\n instead.

" } }, "PreferredMfaSetting": { @@ -7118,12 +7169,12 @@ "UserMFASettingList": { "target": "com.amazonaws.cognitoidentityprovider#UserMFASettingListType", "traits": { - "smithy.api#documentation": "

The MFA options that are activated for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA.

" + "smithy.api#documentation": "

The MFA options that are activated for the user. The possible values in this list are\n SMS_MFA and SOFTWARE_TOKEN_MFA.

" } } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server from the request to get information about the user.

" + "smithy.api#documentation": "

Represents the response from the server from the request to get information about the\n user.

" } }, "com.amazonaws.cognitoidentityprovider#GlobalSignOut": { @@ -7158,7 +7209,7 @@ } ], "traits": { - "smithy.api#documentation": "

Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and ID tokens remain valid until their expiry. Access and Id tokens expire \n one hour after they're issued.

" + "smithy.api#documentation": "

Signs out users from all devices. It also invalidates all refresh tokens that Amazon Cognito\n has issued to a user. The user's current access and ID tokens remain valid until their\n expiry. By default, access and ID tokens expire one hour after Amazon Cognito issues them. A user\n can still use a hosted UI cookie to retrieve new tokens for the duration of the cookie\n validity period of 1 hour.

" } }, "com.amazonaws.cognitoidentityprovider#GlobalSignOutRequest": { @@ -7167,7 +7218,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user who you want to sign out.

", "smithy.api#required": {} } } @@ -7191,7 +7242,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when Amazon Cognito encounters a group that already exists in the user pool.

", + "smithy.api#documentation": "

This exception is thrown when Amazon Cognito encounters a group that already exists in the user\n pool.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7242,7 +7293,7 @@ "Precedence": { "target": "com.amazonaws.cognitoidentityprovider#PrecedenceType", "traits": { - "smithy.api#documentation": "

A non-negative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in \n the user pool. Zero is the highest precedence value. Groups with lower Precedence values take precedence over groups with \n higher ornull Precedence values. If a user belongs to two or more groups, it is the group with the lowest precedence \n value whose role ARN is given in the user's tokens for the cognito:roles and cognito:preferred_role claims.

\n

Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two \n groups with the same Precedence have the same role ARN, that role is used in the cognito:preferred_role claim \n in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role claim isn't set in \n users' tokens.

\n

The default Precedence value is null.

" + "smithy.api#documentation": "

A non-negative integer value that specifies the precedence of this group relative to\n the other groups that a user can belong to in the user pool. Zero is the highest\n precedence value. Groups with lower Precedence values take precedence over\n groups with higher ornull Precedence values. If a user belongs to two or\n more groups, it is the group with the lowest precedence value whose role ARN is given in\n the user's tokens for the cognito:roles and\n cognito:preferred_role claims.

\n

Two groups can have the same Precedence value. If this happens, neither\n group takes precedence over the other. If two groups with the same\n Precedence have the same role ARN, that role is used in the\n cognito:preferred_role claim in tokens for users in each group. If the\n two groups have different role ARNs, the cognito:preferred_role claim isn't\n set in users' tokens.

\n

The default Precedence value is null.

" } }, "LastModifiedDate": { @@ -7316,48 +7367,48 @@ "ProviderName": { "target": "com.amazonaws.cognitoidentityprovider#ProviderNameType", "traits": { - "smithy.api#documentation": "

The identity provider name.

" + "smithy.api#documentation": "

The IdP name.

" } }, "ProviderType": { "target": "com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType", "traits": { - "smithy.api#documentation": "

The identity provider type.

" + "smithy.api#documentation": "

The IdP type.

" } }, "ProviderDetails": { "target": "com.amazonaws.cognitoidentityprovider#ProviderDetailsType", "traits": { - "smithy.api#documentation": "

The identity provider details. The following list describes the provider detail keys for each identity provider type.

\n " + "smithy.api#documentation": "

The IdP details. The following list describes the provider detail keys for each IdP\n type.

\n " } }, "AttributeMapping": { "target": "com.amazonaws.cognitoidentityprovider#AttributeMappingType", "traits": { - "smithy.api#documentation": "

A mapping of identity provider attributes to standard and custom user pool attributes.

" + "smithy.api#documentation": "

A mapping of IdP attributes to standard and custom user pool attributes.

" } }, "IdpIdentifiers": { "target": "com.amazonaws.cognitoidentityprovider#IdpIdentifiersListType", "traits": { - "smithy.api#documentation": "

A list of identity provider identifiers.

" + "smithy.api#documentation": "

A list of IdP identifiers.

" } }, "LastModifiedDate": { "target": "com.amazonaws.cognitoidentityprovider#DateType", "traits": { - "smithy.api#documentation": "

The date the identity provider was last modified.

" + "smithy.api#documentation": "

The date the IdP was last modified.

" } }, "CreationDate": { "target": "com.amazonaws.cognitoidentityprovider#DateType", "traits": { - "smithy.api#documentation": "

The date the identity provider was created.

" + "smithy.api#documentation": "

The date the IdP was created.

" } } }, "traits": { - "smithy.api#documentation": "

A container for information about an identity provider.

" + "smithy.api#documentation": "

A container for information about an IdP.

" } }, "com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType": { @@ -7473,7 +7524,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Initiates the authentication flow.

\n\n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", + "smithy.api#documentation": "

Initiates sign-in for a user in the Amazon Cognito user directory. You can't sign in a user\n with a federated IdP with InitiateAuth. For more information, see Adding user pool sign-in through a third party.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", "smithy.api#optionalAuth": {} } }, @@ -7483,20 +7534,20 @@ "AuthFlow": { "target": "com.amazonaws.cognitoidentityprovider#AuthFlowType", "traits": { - "smithy.api#documentation": "

The authentication flow for this call to run. The API action will depend on this value. For example:

\n \n

Valid values include:

\n \n \n

\n ADMIN_NO_SRP_AUTH isn't a valid value.

", + "smithy.api#documentation": "

The authentication flow for this call to run. The API action will depend on this\n value. For example:

\n \n

Valid values include:

\n \n

\n ADMIN_NO_SRP_AUTH isn't a valid value.

", "smithy.api#required": {} } }, "AuthParameters": { "target": "com.amazonaws.cognitoidentityprovider#AuthParametersType", "traits": { - "smithy.api#documentation": "

The authentication parameters. These are inputs corresponding to the AuthFlow that you're invoking. The required values depend on the value of AuthFlow:

\n \n " + "smithy.api#documentation": "

The authentication parameters. These are inputs corresponding to the\n AuthFlow that you're invoking. The required values depend on the value\n of AuthFlow:

\n " } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the InitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for various \n triggers. The ClientMetadata value is passed as input to the functions for only the following triggers:

\n \n

When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which\n the function receives as input. This payload contains a validationData\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your InitiateAuth request. In your function code in Lambda, you can process the\n validationData value to enhance your workflow for your specific\n needs.

\n

When you use the InitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it doesn't provide the ClientMetadata value as input:

\n \n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for certain custom\n workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the InitiateAuth API action, Amazon Cognito invokes the Lambda functions that are\n specified for various triggers. The ClientMetadata value is passed as input to the\n functions for only the following triggers:

\n \n

When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which\n the function receives as input. This payload contains a validationData\n attribute, which provides the data that you assigned to the ClientMetadata parameter in\n your InitiateAuth request. In your function code in Lambda, you can process the\n validationData value to enhance your workflow for your specific\n needs.

\n

When you use the InitiateAuth API action, Amazon Cognito also invokes the functions for the\n following triggers, but it doesn't provide the ClientMetadata value as input:

\n \n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } }, "ClientId": { @@ -7509,13 +7560,13 @@ "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for InitiateAuth calls.

" + "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata that contributes to your metrics for\n InitiateAuth calls.

" } }, "UserContextData": { "target": "com.amazonaws.cognitoidentityprovider#UserContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } } }, @@ -7529,25 +7580,25 @@ "ChallengeName": { "target": "com.amazonaws.cognitoidentityprovider#ChallengeNameType", "traits": { - "smithy.api#documentation": "

The name of the challenge that you're responding to with this call. This name is\n returned in the AdminInitiateAuth response if you must pass another\n challenge.

\n

Valid values include the following:

\n \n

All of the following challenges require USERNAME and\n SECRET_HASH (if applicable) in the parameters.

\n
\n \n " + "smithy.api#documentation": "

The name of the challenge that you're responding to with this call. This name is\n returned in the AdminInitiateAuth response if you must pass another\n challenge.

\n

Valid values include the following:

\n \n

All of the following challenges require USERNAME and\n SECRET_HASH (if applicable) in the parameters.

\n
\n " } }, "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should pass both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session \n should be passed as it is to the next RespondToAuthChallenge API call.

" + "smithy.api#documentation": "

The session that should pass both ways in challenge-response calls to the service. If\n the caller must pass another challenge, they return a session with other challenge\n parameters. This session should be passed as it is to the next\n RespondToAuthChallenge API call.

" } }, "ChallengeParameters": { "target": "com.amazonaws.cognitoidentityprovider#ChallengeParametersType", "traits": { - "smithy.api#documentation": "

The challenge parameters. These are returned in the InitiateAuth response if you must pass another challenge. The responses in this parameter should be used to compute inputs to \n the next call (RespondToAuthChallenge).

\n

All challenges require USERNAME and SECRET_HASH (if applicable).

" + "smithy.api#documentation": "

The challenge parameters. These are returned in the InitiateAuth response\n if you must pass another challenge. The responses in this parameter should be used to\n compute inputs to the next call (RespondToAuthChallenge).

\n

All challenges require USERNAME and SECRET_HASH (if\n applicable).

" } }, "AuthenticationResult": { "target": "com.amazonaws.cognitoidentityprovider#AuthenticationResultType", "traits": { - "smithy.api#documentation": "

The result of the authentication response. This result is only returned if the caller doesn't need to pass another challenge. If the caller does need to pass another challenge before it gets \n tokens, ChallengeName, ChallengeParameters, and Session are returned.

" + "smithy.api#documentation": "

The result of the authentication response. This result is only returned if the caller\n doesn't need to pass another challenge. If the caller does need to pass another\n challenge before it gets tokens, ChallengeName,\n ChallengeParameters, and Session are returned.

" } } }, @@ -7579,12 +7630,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when you have an unverified email address or the identity policy isn't set on an email address that Amazon Cognito can access.

" + "smithy.api#documentation": "

The message returned when you have an unverified email address or the identity policy\n isn't set on an email address that Amazon Cognito can access.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when Amazon Cognito isn't allowed to use your email identity. HTTP status code: 400.

", + "smithy.api#documentation": "

This exception is thrown when Amazon Cognito isn't allowed to use your email identity. HTTP\n status code: 400.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7595,7 +7646,7 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when Amazon Cognito hrows an invalid Lambda response exception.

" + "smithy.api#documentation": "

The message returned when Amazon Cognito throws an invalid Lambda response\n exception.

" } } }, @@ -7624,12 +7675,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when the Amazon Cognito service throws an invalid parameter exception.

" + "smithy.api#documentation": "

The message returned when the Amazon Cognito service throws an invalid parameter\n exception.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the Amazon Cognito service encounters an invalid parameter.

", + "smithy.api#documentation": "

This exception is thrown when the Amazon Cognito service encounters an invalid\n parameter.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7656,12 +7707,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when the invalid SMS role access policy exception is thrown.

" + "smithy.api#documentation": "

The message returned when the invalid SMS role access policy exception is\n thrown.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is returned when the role provided for SMS configuration doesn't have permission to publish using Amazon SNS.

", + "smithy.api#documentation": "

This exception is returned when the role provided for SMS configuration doesn't have\n permission to publish using Amazon SNS.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7672,12 +7723,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when the role trust relationship for the SMS message is not valid.

" + "smithy.api#documentation": "

The message returned when the role trust relationship for the SMS message is not\n valid.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the trust relationship is not valid for the role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com or the \n external ID provided in the role does not match what is provided in the SMS configuration for the user pool.

", + "smithy.api#documentation": "

This exception is thrown when the trust relationship is not valid for the role\n provided for SMS configuration. This can happen if you don't trust\n cognito-idp.amazonaws.com or the external ID provided in the role does\n not match what is provided in the SMS configuration for the user pool.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7776,7 +7827,7 @@ "KMSKeyID": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to \n CustomEmailSender and CustomSMSSender.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito\n uses the key to encrypt codes and temporary passwords sent to\n CustomEmailSender and CustomSMSSender.

" } } }, @@ -7795,7 +7846,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when a user exceeds the limit for a requested Amazon Web Services resource.

", + "smithy.api#documentation": "

This exception is thrown when a user exceeds the limit for a requested Amazon Web Services\n resource.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7838,7 +7889,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the devices.

" + "smithy.api#documentation": "

Lists the sign-in devices that Amazon Cognito has registered to the current user.

" } }, "com.amazonaws.cognitoidentityprovider#ListDevicesRequest": { @@ -7847,7 +7898,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access tokens for the request to list devices.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose list of devices you want to\n view.

", "smithy.api#required": {} } }, @@ -7942,7 +7993,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } } @@ -7959,7 +8010,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } } @@ -7990,7 +8041,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists information about all identity providers for a user pool.

", + "smithy.api#documentation": "

Lists information about all IdPs for a user pool.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -8012,7 +8063,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#ListProvidersLimitType", "traits": { - "smithy.api#documentation": "

The maximum number of identity providers to return.

" + "smithy.api#documentation": "

The maximum number of IdPs to return.

" } }, "NextToken": { @@ -8029,7 +8080,7 @@ "Providers": { "target": "com.amazonaws.cognitoidentityprovider#ProvidersListType", "traits": { - "smithy.api#documentation": "

A list of identity provider objects.

", + "smithy.api#documentation": "

A list of IdP objects.

", "smithy.api#required": {} } }, @@ -8169,7 +8220,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the tags that are assigned to an Amazon Cognito user pool.

\n

A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

\n

You can use this action up to 10 times per second, per account.

" + "smithy.api#documentation": "

Lists the tags that are assigned to an Amazon Cognito user pool.

\n

A tag is a label that you can apply to user pools to categorize and manage them in\n different ways, such as by purpose, owner, environment, or other criteria.

\n

You can use this action up to 10 times per second, per account.

" } }, "com.amazonaws.cognitoidentityprovider#ListTagsForResourceRequest": { @@ -8244,7 +8295,7 @@ "PaginationToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to ListUserImportJobs, which can be used to return the next set of import jobs in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to\n ListUserImportJobs, which can be used to return the next set of import\n jobs in the list.

" } } }, @@ -8264,12 +8315,12 @@ "PaginationToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType", "traits": { - "smithy.api#documentation": "

An identifier that can be used to return the next set of user import jobs in the list.

" + "smithy.api#documentation": "

An identifier that can be used to return the next set of user import jobs in the\n list.

" } } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server to the request to list the user import jobs.

" + "smithy.api#documentation": "

Represents the response from the server to the request to list the user import\n jobs.

" } }, "com.amazonaws.cognitoidentityprovider#ListUserPoolClients": { @@ -8320,13 +8371,13 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#QueryLimit", "traits": { - "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user pool clients.

" + "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user\n pool clients.

" } }, "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } }, @@ -8346,7 +8397,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } }, @@ -8392,13 +8443,13 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } }, "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType", "traits": { - "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user pools.

", + "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user\n pools.

", "smithy.api#required": {} } } @@ -8419,7 +8470,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKeyType", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } }, @@ -8523,7 +8574,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } } @@ -8540,7 +8591,7 @@ "NextToken": { "target": "com.amazonaws.cognitoidentityprovider#PaginationKey", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that you can use in a later request to return the next set of items in\n the list.

" } } } @@ -8558,7 +8609,7 @@ "AttributesToGet": { "target": "com.amazonaws.cognitoidentityprovider#SearchedAttributeNamesListType", "traits": { - "smithy.api#documentation": "

An array of strings, where each string is the name of a user attribute to be returned for each user in the search results. If the array is null, all attributes are returned.

" + "smithy.api#documentation": "

An array of strings, where each string is the name of a user attribute to be returned\n for each user in the search results. If the array is null, all attributes are\n returned.

" } }, "Limit": { @@ -8570,13 +8621,13 @@ "PaginationToken": { "target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } }, "Filter": { "target": "com.amazonaws.cognitoidentityprovider#UserFilterType", "traits": { - "smithy.api#documentation": "

A filter string of the form \"AttributeName \n Filter-Type \"AttributeValue\"\". Quotation \n marks within the filter string must be escaped using the backslash (\\) character. For example, \"family_name = \\\"Reddy\\\"\".

\n \n

If the filter string is empty, ListUsers returns all users in the user pool.

\n

You can only search for the following standard attributes:

\n \n

Custom attributes aren't searchable.

\n \n

You can also list users with a client-side filter. The server-side filter matches no more than 1 attribute. For an advanced search, \n use a client-side filter with the --query parameter of the list-users action in the CLI. When you use a \n client-side filter, ListUsers returns a paginated list of zero or more users. You can receive multiple pages in a row with zero \n results. Repeat the query with each pagination token that is returned until you receive a null pagination token value, and then \n review the combined result.\n

\n

For more information about server-side and client-side filtering, \n see FilteringCLI output \n in the Command Line Interface User Guide.\n

\n
\n

For more information, \n see Searching for Users \n Using the ListUsers API \n and Examples of Using \n the ListUsers API in the Amazon Cognito Developer Guide.

" + "smithy.api#documentation": "

A filter string of the form \"AttributeName\n Filter-Type \"AttributeValue\"\". Quotation marks\n within the filter string must be escaped using the backslash (\\) character. For example,\n \"family_name = \\\"Reddy\\\"\".

\n \n

If the filter string is empty, ListUsers returns all users in the user\n pool.

\n

You can only search for the following standard attributes:

\n \n

Custom attributes aren't searchable.

\n \n

You can also list users with a client-side filter. The server-side filter matches\n no more than one attribute. For an advanced search, use a client-side filter with\n the --query parameter of the list-users action in the\n CLI. When you use a client-side filter, ListUsers returns a paginated list of zero\n or more users. You can receive multiple pages in a row with zero results. Repeat the\n query with each pagination token that is returned until you receive a null\n pagination token value, and then review the combined result.

\n

For more information about server-side and client-side filtering, see FilteringCLI output in the Command Line Interface\n User Guide.

\n
\n

For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer\n Guide.

" } } }, @@ -8596,7 +8647,7 @@ "PaginationToken": { "target": "com.amazonaws.cognitoidentityprovider#SearchPaginationTokenType", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.

" } } }, @@ -8625,12 +8676,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when Amazon Cognito throws an MFA method not found exception.

" + "smithy.api#documentation": "

The message returned when Amazon Cognito throws an MFA method not found\n exception.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when Amazon Cognito can't find a multi-factor authentication (MFA) method.

", + "smithy.api#documentation": "

This exception is thrown when Amazon Cognito can't find a multi-factor authentication\n (MFA) method.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8647,13 +8698,13 @@ "DeliveryMedium": { "target": "com.amazonaws.cognitoidentityprovider#DeliveryMediumType", "traits": { - "smithy.api#documentation": "

The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value.

" + "smithy.api#documentation": "

The delivery medium to send the MFA code. You can use this parameter to set only the\n SMS delivery medium value.

" } }, "AttributeName": { "target": "com.amazonaws.cognitoidentityprovider#AttributeNameType", "traits": { - "smithy.api#documentation": "

The attribute name of the MFA option type. The only valid value is phone_number.

" + "smithy.api#documentation": "

The attribute name of the MFA option type. The only valid value is\n phone_number.

" } } }, @@ -8688,13 +8739,13 @@ "EmailMessage": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType", "traits": { - "smithy.api#documentation": "

The message template for email messages. EmailMessage is allowed only if \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.

" } }, "EmailSubject": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType", "traits": { - "smithy.api#documentation": "

The subject line for email messages. EmailSubject is allowed only if \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.

" } } }, @@ -8747,7 +8798,7 @@ "From": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.

" + "smithy.api#documentation": "

The email address that is sending the email. The address must be either individually\n verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.

" } }, "ReplyTo": { @@ -8759,7 +8810,7 @@ "SourceArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the \n From parameter.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the identity that is associated with the sending\n authorization policy. This identity permits Amazon Cognito to send for the email address\n specified in the From parameter.

", "smithy.api#required": {} } }, @@ -8778,7 +8829,7 @@ "MfaEmail": { "target": "com.amazonaws.cognitoidentityprovider#NotifyEmailType", "traits": { - "smithy.api#documentation": "

The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.

" + "smithy.api#documentation": "

The multi-factor authentication (MFA) email template used when MFA is challenged as\n part of a detected risk.

" } } }, @@ -8897,37 +8948,37 @@ "MinimumLength": { "target": "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType", "traits": { - "smithy.api#documentation": "

The minimum length of the password in the policy that you have set. This value can't be less than 6.

" + "smithy.api#documentation": "

The minimum length of the password in the policy that you have set. This value can't\n be less than 6.

" } }, "RequireUppercase": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.

" + "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one uppercase letter in their password.

" } }, "RequireLowercase": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.

" + "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one lowercase letter in their password.

" } }, "RequireNumbers": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to use at least one number in their password.

" + "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one number in their password.

" } }, "RequireSymbols": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.

" + "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one symbol in their password.

" } }, "TemporaryPasswordValidityDays": { "target": "com.amazonaws.cognitoidentityprovider#TemporaryPasswordValidityDaysType", "traits": { - "smithy.api#documentation": "

The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.

\n \n

When you set TemporaryPasswordValidityDays for a user pool, you can no longer set the deprecated UnusedAccountValidityDays value for that user pool.

\n
" + "smithy.api#documentation": "

The number of days a temporary password is valid in the password policy. If the user\n doesn't sign in during this time, an administrator must reset their password.

\n \n

When you set TemporaryPasswordValidityDays for a user pool, you can\n no longer set a value for the legacy UnusedAccountValidityDays\n parameter in that user pool.

\n
" } } }, @@ -9035,13 +9086,13 @@ "ProviderName": { "target": "com.amazonaws.cognitoidentityprovider#ProviderNameType", "traits": { - "smithy.api#documentation": "

The identity provider name.

" + "smithy.api#documentation": "

The IdP name.

" } }, "ProviderType": { "target": "com.amazonaws.cognitoidentityprovider#IdentityProviderTypeType", "traits": { - "smithy.api#documentation": "

The identity provider type.

" + "smithy.api#documentation": "

The IdP type.

" } }, "LastModifiedDate": { @@ -9058,7 +9109,7 @@ } }, "traits": { - "smithy.api#documentation": "

A container for identity provider details.

" + "smithy.api#documentation": "

A container for IdP details.

" } }, "com.amazonaws.cognitoidentityprovider#ProviderDetailsType": { @@ -9084,7 +9135,7 @@ "type": "string", "traits": { "smithy.api#length": { - "min": 1, + "min": 3, "max": 32 }, "smithy.api#pattern": "^[^_][\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}][^_]+$" @@ -9108,12 +9159,12 @@ "ProviderAttributeValue": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

The value of the provider attribute to link to, such as xxxxx_account.

" + "smithy.api#documentation": "

The value of the provider attribute to link to, such as\n xxxxx_account.

" } } }, "traits": { - "smithy.api#documentation": "

A container for information about an identity provider for a user pool.

" + "smithy.api#documentation": "

A container for information about an IdP for a user pool.

" } }, "com.amazonaws.cognitoidentityprovider#ProvidersListType": { @@ -9184,7 +9235,7 @@ "Priority": { "target": "com.amazonaws.cognitoidentityprovider#PriorityType", "traits": { - "smithy.api#documentation": "

A positive integer specifying priority of a method with 1 being the highest priority.

", + "smithy.api#documentation": "

A positive integer specifying priority of a method with 1 being the highest\n priority.

", "smithy.api#required": {} } }, @@ -9282,7 +9333,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Resends the confirmation (for confirmation of registration) to a specific user in the user pool.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", + "smithy.api#documentation": "

Resends the confirmation (for confirmation of registration) to a specific user in the\n user pool.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", "smithy.api#optionalAuth": {} } }, @@ -9299,32 +9350,32 @@ "SecretHash": { "target": "com.amazonaws.cognitoidentityprovider#SecretHashType", "traits": { - "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

" + "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.

" } }, "UserContextData": { "target": "com.amazonaws.cognitoidentityprovider#UserContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } }, "Username": { "target": "com.amazonaws.cognitoidentityprovider#UsernameType", "traits": { - "smithy.api#documentation": "

The username attribute of the user to whom you want to resend a confirmation code.

", + "smithy.api#documentation": "

The username attribute of the user to whom you want to resend a\n confirmation code.

", "smithy.api#required": {} } }, "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for ResendConfirmationCode calls.

" + "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata that contributes to your metrics for\n ResendConfirmationCode calls.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function that is\n assigned to the custom message trigger. When Amazon Cognito invokes this\n function, it passes a JSON payload, which the function receives as input. This payload\n contains a clientMetadata attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your ResendConfirmationCode request. In your\n function code in Lambda, you can process the clientMetadata value to enhance\n your workflow for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function that is\n assigned to the custom message trigger. When Amazon Cognito invokes this\n function, it passes a JSON payload, which the function receives as input. This payload\n contains a clientMetadata attribute, which provides the data that you\n assigned to the ClientMetadata parameter in your ResendConfirmationCode request. In your\n function code in Lambda, you can process the clientMetadata value to enhance\n your workflow for your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -9338,12 +9389,12 @@ "CodeDeliveryDetails": { "target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType", "traits": { - "smithy.api#documentation": "

The code delivery details returned by the server in response to the request to resend the confirmation code.

" + "smithy.api#documentation": "

The code delivery details returned by the server in response to the request to resend\n the confirmation code.

" } } }, "traits": { - "smithy.api#documentation": "

The response from the server when Amazon Cognito makes the request to resend a confirmation code.

" + "smithy.api#documentation": "

The response from the server when Amazon Cognito makes the request to resend a confirmation\n code.

" } }, "com.amazonaws.cognitoidentityprovider#ResourceNotFoundException": { @@ -9352,12 +9403,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when the Amazon Cognito service returns a resource not found exception.

" + "smithy.api#documentation": "

The message returned when the Amazon Cognito service returns a resource not found\n exception.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the Amazon Cognito service can't find the requested resource.

", + "smithy.api#documentation": "

This exception is thrown when the Amazon Cognito service can't find the requested\n resource.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -9545,7 +9596,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Responds to the authentication challenge.

\n\n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", + "smithy.api#documentation": "

Responds to the authentication challenge.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", "smithy.api#optionalAuth": {} } }, @@ -9569,31 +9620,31 @@ "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service. If InitiateAuth or RespondToAuthChallenge API call determines \n that the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge \n API call.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service. If InitiateAuth or RespondToAuthChallenge API call\n determines that the caller must pass another challenge, they return a session with other\n challenge parameters. This session should be passed as it is to the next\n RespondToAuthChallenge API call.

" } }, "ChallengeResponses": { "target": "com.amazonaws.cognitoidentityprovider#ChallengeResponsesType", "traits": { - "smithy.api#documentation": "

The challenge responses. These are inputs corresponding to the value of ChallengeName, for example:

\n \n

\n SECRET_HASH (if app client is configured with client secret) applies to all of the inputs that follow (including SOFTWARE_TOKEN_MFA).

\n
\n " + "smithy.api#documentation": "

The challenge responses. These are inputs corresponding to the value of\n ChallengeName, for example:

\n \n

\n SECRET_HASH (if app client is configured with client secret) applies\n to all of the inputs that follow (including SOFTWARE_TOKEN_MFA).

\n
\n " } }, "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for RespondToAuthChallenge calls.

" + "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata that contributes to your metrics for\n RespondToAuthChallenge calls.

" } }, "UserContextData": { "target": "com.amazonaws.cognitoidentityprovider#UserContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the RespondToAuthChallenge API action, Amazon Cognito \n invokes any functions that are assigned to the following triggers: post authentication, pre token generation, \n define auth challenge, create auth challenge, and verify auth challenge. When Amazon Cognito \n invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata \n attribute, which provides the data that you assigned to the ClientMetadata parameter in your RespondToAuthChallenge request. In your function code in \n Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool\n triggers. When you use the RespondToAuthChallenge API action, Amazon Cognito invokes any\n functions that are assigned to the following triggers: post\n authentication, pre token generation,\n define auth challenge, create auth\n challenge, and verify auth challenge. When Amazon Cognito\n invokes any of these functions, it passes a JSON payload, which the function receives as\n input. This payload contains a clientMetadata attribute, which provides the\n data that you assigned to the ClientMetadata parameter in your RespondToAuthChallenge\n request. In your function code in Lambda, you can process the\n clientMetadata value to enhance your workflow for your specific\n needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -9613,7 +9664,7 @@ "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. \n This session should be passed as it is to the next RespondToAuthChallenge API call.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service. If the caller must pass another challenge, they return a session with other\n challenge parameters. This session should be passed as it is to the next\n RespondToAuthChallenge API call.

" } }, "ChallengeParameters": { @@ -9625,7 +9676,7 @@ "AuthenticationResult": { "target": "com.amazonaws.cognitoidentityprovider#AuthenticationResultType", "traits": { - "smithy.api#documentation": "

The result returned by the server in response to the request to respond to the authentication challenge.

" + "smithy.api#documentation": "

The result returned by the server in response to the request to respond to the\n authentication challenge.

" } } }, @@ -9662,7 +9713,7 @@ } ], "traits": { - "smithy.api#documentation": "

Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can't use the revoked token to access Amazon Cognito authenticated APIs.

" + "smithy.api#documentation": "

Revokes all of the access tokens generated by the specified refresh token. After the\n token is revoked, you can't use the revoked token to access Amazon Cognito authenticated\n APIs.

" } }, "com.amazonaws.cognitoidentityprovider#RevokeTokenRequest": { @@ -9685,7 +9736,7 @@ "ClientSecret": { "target": "com.amazonaws.cognitoidentityprovider#ClientSecretType", "traits": { - "smithy.api#documentation": "

The secret for the client ID. This is required only if the client ID has a secret.

" + "smithy.api#documentation": "

The secret for the client ID. This is required only if the client ID has a\n secret.

" } } } @@ -9712,13 +9763,13 @@ "CompromisedCredentialsRiskConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#CompromisedCredentialsRiskConfigurationType", "traits": { - "smithy.api#documentation": "

The compromised credentials risk configuration object, including the EventFilter and the EventAction.

" + "smithy.api#documentation": "

The compromised credentials risk configuration object, including the\n EventFilter and the EventAction.

" } }, "AccountTakeoverRiskConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverRiskConfigurationType", "traits": { - "smithy.api#documentation": "

The account takeover risk configuration object, including the NotifyConfiguration object and Actions to take if there is an account takeover.

" + "smithy.api#documentation": "

The account takeover risk configuration object, including the\n NotifyConfiguration object and Actions to take if there is\n an account takeover.

" } }, "RiskExceptionConfiguration": { @@ -9763,13 +9814,13 @@ "BlockedIPRangeList": { "target": "com.amazonaws.cognitoidentityprovider#BlockedIPRangeListType", "traits": { - "smithy.api#documentation": "

Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.

" + "smithy.api#documentation": "

Overrides the risk decision to always block the pre-authentication requests. The IP\n range is in CIDR notation, a compact representation of an IP address and its routing\n prefix.

" } }, "SkippedIPRangeList": { "target": "com.amazonaws.cognitoidentityprovider#SkippedIPRangeListType", "traits": { - "smithy.api#documentation": "

Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation.

" + "smithy.api#documentation": "

Risk detection isn't performed on the IP addresses in this range list. The IP range is\n in CIDR notation.

" } } }, @@ -9822,7 +9873,7 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

Specifies whether SMS text message MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is \n turned on and the device has been trusted.

" + "smithy.api#documentation": "

Specifies whether SMS text message MFA is activated. If an MFA type is activated for a\n user, the user will be prompted for MFA during all sign-in attempts, unless device\n tracking is turned on and the device has been trusted.

" } }, "PreferredMfa": { @@ -9833,7 +9884,7 @@ } }, "traits": { - "smithy.api#documentation": "

The type used for enabling SMS multi-factor authentication (MFA) at the user level. Phone numbers don't need to be verified to be used for SMS MFA. If an MFA type \n is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted. If you \n would like MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool.

" + "smithy.api#documentation": "

The type used for enabling SMS multi-factor authentication (MFA) at the user level.\n Phone numbers don't need to be verified to be used for SMS MFA. If an MFA type is\n activated for a user, the user will be prompted for MFA during all sign-in attempts,\n unless device tracking is turned on and the device has been trusted. If you would like\n MFA to be applied selectively based on the assessed risk level of sign-in attempts,\n deactivate MFA for users and turn on Adaptive Authentication for the user pool.

" } }, "com.amazonaws.cognitoidentityprovider#SchemaAttributeType": { @@ -9855,21 +9906,21 @@ "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": " \n

You should use WriteAttributes \n in the user pool client to control how attributes can be mutated for new use cases instead of using DeveloperOnlyAttribute.

\n
\n

Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users won't be able to modify this attribute using their access \n token. For example, DeveloperOnlyAttribute can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.

" + "smithy.api#documentation": "\n

You should use WriteAttributes in the user pool client to control how attributes can\n be mutated for new use cases instead of using\n DeveloperOnlyAttribute.

\n
\n

Specifies whether the attribute type is developer only. This attribute can only be\n modified by an administrator. Users won't be able to modify this attribute using their\n access token. For example, DeveloperOnlyAttribute can be modified using\n AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.

" } }, "Mutable": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

Specifies whether the value of the attribute can be changed.

\n

For any user pool attribute that is mapped to an identity provider attribute, you must set this parameter to true. Amazon Cognito updates mapped attributes when users \n sign in to your application through an identity provider. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, \n see Specifying Identity Provider Attribute Mappings for \n Your User Pool.

" + "smithy.api#documentation": "

Specifies whether the value of the attribute can be changed.

\n

For any user pool attribute that is mapped to an IdP attribute, you must set this\n parameter to true. Amazon Cognito updates mapped attributes when users sign in to\n your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error\n when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User\n Pool.

" } }, "Required": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.

" + "smithy.api#documentation": "

Specifies whether a user pool attribute is required. If the attribute is required and\n the user doesn't provide a value, registration or sign-in will fail.

" } }, "NumberAttributeConstraints": { @@ -10016,7 +10067,7 @@ } ], "traits": { - "smithy.api#documentation": "

Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types.

\n

To activate Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode.

" + "smithy.api#documentation": "

Configures actions on detected risks. To delete the risk configuration for\n UserPoolId or ClientId, pass null values for all four\n configuration types.

\n

To activate Amazon Cognito advanced security features, update the user pool to include the\n UserPoolAddOns keyAdvancedSecurityMode.

" } }, "com.amazonaws.cognitoidentityprovider#SetRiskConfigurationRequest": { @@ -10032,7 +10083,7 @@ "ClientId": { "target": "com.amazonaws.cognitoidentityprovider#ClientIdType", "traits": { - "smithy.api#documentation": "

The app client ID. If ClientId is null, then the risk configuration is mapped to userPoolId. When the client ID is null, the same risk configuration is applied \n to all the clients in the userPool.

\n

Otherwise, ClientId is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.

" + "smithy.api#documentation": "

The app client ID. If ClientId is null, then the risk configuration is\n mapped to userPoolId. When the client ID is null, the same risk\n configuration is applied to all the clients in the userPool.

\n

Otherwise, ClientId is mapped to the client. When the client ID isn't\n null, the user pool configuration is overridden and the risk configuration for the\n client is used instead.

" } }, "CompromisedCredentialsRiskConfiguration": { @@ -10093,7 +10144,7 @@ } ], "traits": { - "smithy.api#documentation": "

Sets the user interface (UI) customization information for a user pool's built-in app UI.

\n

You can specify app UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId \n to ALL). If you specify ALL, the default configuration is used for every client that has no previously set UI customization. If you specify UI \n customization settings for a particular client, it will no longer return to the ALL configuration.

\n \n

To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.

\n
" + "smithy.api#documentation": "

Sets the user interface (UI) customization information for a user pool's built-in app\n UI.

\n

You can specify app UI customization settings for a single client (with a specific\n clientId) or for all clients (by setting the clientId to\n ALL). If you specify ALL, the default configuration is\n used for every client that has no previously set UI customization. If you specify UI\n customization settings for a particular client, it will no longer return to the\n ALL configuration.

\n \n

To use this API, your user pool must have a domain associated with it. Otherwise,\n there is no place to host the app's pages, and the service will throw an\n error.

\n
" } }, "com.amazonaws.cognitoidentityprovider#SetUICustomizationRequest": { @@ -10170,7 +10221,7 @@ } ], "traits": { - "smithy.api#documentation": "

Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. \n Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. \n If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an \n MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and \n the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate \n MFA for users and turn on Adaptive Authentication for the user pool.

" + "smithy.api#documentation": "

Set the user's multi-factor authentication (MFA) method preference, including which\n MFA factors are activated and if any are preferred. Only one factor can be set as\n preferred. The preferred MFA factor will be used to authenticate a user if multiple\n factors are activated. If multiple options are activated and no preference is set, a\n challenge to choose an MFA option will be returned during sign-in. If an MFA type is\n activated for a user, the user will be prompted for MFA during all sign-in attempts\n unless device tracking is turned on and the device has been trusted. If you want MFA to\n be applied selectively based on the assessed risk level of sign-in attempts, deactivate\n MFA for users and turn on Adaptive Authentication for the user pool.

" } }, "com.amazonaws.cognitoidentityprovider#SetUserMFAPreferenceRequest": { @@ -10191,7 +10242,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token for the user.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose MFA preference you want to\n set.

", "smithy.api#required": {} } } @@ -10261,7 +10312,7 @@ "MfaConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType", "traits": { - "smithy.api#documentation": "

The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who\n have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor\n Authentication (MFA) to a user pool. Valid values include:

\n \n " + "smithy.api#documentation": "

The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who\n have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor\n Authentication (MFA) to a user pool. Valid values include:

\n " } } } @@ -10284,7 +10335,7 @@ "MfaConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType", "traits": { - "smithy.api#documentation": "

The MFA configuration. Valid values include:

\n \n " + "smithy.api#documentation": "

The MFA configuration. Valid values include:

\n " } } } @@ -10322,7 +10373,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

\n This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. \n To configure either type of MFA, use SetUserMFAPreference instead.

", + "smithy.api#documentation": "

\n This action is no longer supported. You can use it to configure\n only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software\n token MFA. To configure either type of MFA, use SetUserMFAPreference instead.

", "smithy.api#optionalAuth": {} } }, @@ -10332,14 +10383,14 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token for the set user settings request.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose user settings you want to\n configure.

", "smithy.api#required": {} } }, "MFAOptions": { "target": "com.amazonaws.cognitoidentityprovider#MFAOptionListType", "traits": { - "smithy.api#documentation": "

You can use this parameter only to set an SMS configuration that uses SMS for delivery.

", + "smithy.api#documentation": "

You can use this parameter only to set an SMS configuration that uses SMS for\n delivery.

", "smithy.api#required": {} } } @@ -10409,7 +10460,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Registers the user in the specified user pool and creates a user name, password, and user attributes.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", + "smithy.api#documentation": "

Registers the user in the specified user pool and creates a user name, password, and\n user attributes.

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
", "smithy.api#optionalAuth": {} } }, @@ -10426,7 +10477,7 @@ "SecretHash": { "target": "com.amazonaws.cognitoidentityprovider#SecretHashType", "traits": { - "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

" + "smithy.api#documentation": "

A keyed-hash message authentication code (HMAC) calculated using the secret key of a\n user pool client and username plus the client ID in the message.

" } }, "Username": { @@ -10446,7 +10497,7 @@ "UserAttributes": { "target": "com.amazonaws.cognitoidentityprovider#AttributeListType", "traits": { - "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the attribute name.

" + "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the\n attribute name.

" } }, "ValidationData": { @@ -10458,19 +10509,19 @@ "AnalyticsMetadata": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsMetadataType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata for collecting metrics for SignUp calls.

" + "smithy.api#documentation": "

The Amazon Pinpoint analytics metadata that contributes to your metrics for\n SignUp calls.

" } }, "UserContextData": { "target": "com.amazonaws.cognitoidentityprovider#UserContextDataType", "traits": { - "smithy.api#documentation": "

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced \nsecurity evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito\nwhen it makes API requests.

" } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers. When you use the SignUp API action, Amazon Cognito \n invokes any functions that are assigned to the following triggers: pre sign-up, custom message, \n and post confirmation. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function \n receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the \n ClientMetadata parameter in your SignUp request. In your function code in Lambda, you can process the clientMetadata \n value to enhance your workflow for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action triggers.

\n

You create custom workflows by assigning Lambda functions to user pool triggers.\n When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the\n following triggers: pre sign-up, custom\n message, and post confirmation. When Amazon Cognito invokes\n any of these functions, it passes a JSON payload, which the function receives as input.\n This payload contains a clientMetadata attribute, which provides the data\n that you assigned to the ClientMetadata parameter in your SignUp request. In your\n function code in Lambda, you can process the clientMetadata value to enhance\n your workflow for your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -10484,20 +10535,20 @@ "UserConfirmed": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

A response from the server indicating that a user registration has been confirmed.

", + "smithy.api#documentation": "

A response from the server indicating that a user registration has been\n confirmed.

", "smithy.api#required": {} } }, "CodeDeliveryDetails": { "target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsType", "traits": { - "smithy.api#documentation": "

The code delivery details returned by the server response to the user registration request.

" + "smithy.api#documentation": "

The code delivery details returned by the server response to the user registration\n request.

" } }, "UserSub": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

The UUID of the authenticated user. This isn't the same as username.

", + "smithy.api#documentation": "

The UUID of the authenticated user. This isn't the same as\n username.

", "smithy.api#required": {} } } @@ -10524,14 +10575,14 @@ "SnsCallerArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are \n subject to a spending limit.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role\n in your Amazon Web Services account that Amazon Cognito will use to send SMS messages. SMS\n messages are subject to a spending limit.

", "smithy.api#required": {} } }, "ExternalId": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

The external ID provides additional security for your IAM role. You can use an\n ExternalId with the IAM role that you use with Amazon SNS to send SMS\n messages for your user pool. If you provide an ExternalId, your Amazon Cognito user\n pool includes it in the request to assume your IAM role. You can configure the role\n trust policy to require that Amazon Cognito, and any principal, provide the\n ExternalID. If you use the Amazon Cognito Management Console to create a role\n for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required\n permissions and a trust policy that demonstrates use of the\n ExternalId.

\n

For more information about the ExternalId of a role, \n see How to use an external ID when granting access to your Amazon Web Services resources to a \n third party\n

" + "smithy.api#documentation": "

The external ID provides additional security for your IAM role. You can use an\n ExternalId with the IAM role that you use with Amazon SNS to send SMS\n messages for your user pool. If you provide an ExternalId, your Amazon Cognito user\n pool includes it in the request to assume your IAM role. You can configure the role\n trust policy to require that Amazon Cognito, and any principal, provide the\n ExternalID. If you use the Amazon Cognito Management Console to create a role\n for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required\n permissions and a trust policy that demonstrates use of the\n ExternalId.

\n

For more information about the ExternalId of a role, see How to use an\n external ID when granting access to your Amazon Web Services resources to a third\n party\n

" } }, "SnsRegion": { @@ -10551,7 +10602,7 @@ "SmsAuthenticationMessage": { "target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType", "traits": { - "smithy.api#documentation": "

The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. \n If the message isn't included, and default message will be used.

" + "smithy.api#documentation": "

The SMS authentication message that will be sent to users with the code they must sign\n in. The message must contain the ‘{####}’ placeholder, which is replaced with the code.\n If the message isn't included, and default message will be used.

" } }, "SmsConfiguration": { @@ -10583,7 +10634,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the software token time-based one-time password (TOTP) multi-factor authentication (MFA) isn't activated for the user pool.

", + "smithy.api#documentation": "

This exception is thrown when the software token time-based one-time password (TOTP)\n multi-factor authentication (MFA) isn't activated for the user pool.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -10618,7 +10669,7 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

Specifies whether software token MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned \n on and the device has been trusted.

" + "smithy.api#documentation": "

Specifies whether software token MFA is activated. If an MFA type is activated for a\n user, the user will be prompted for MFA during all sign-in attempts, unless device\n tracking is turned on and the device has been trusted.

" } }, "PreferredMfa": { @@ -10629,7 +10680,7 @@ } }, "traits": { - "smithy.api#documentation": "

The type used for enabling software token MFA at the user level. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking \n is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive \n Authentication for the user pool.

" + "smithy.api#documentation": "

The type used for enabling software token MFA at the user level. If an MFA type is\n activated for a user, the user will be prompted for MFA during all sign-in attempts,\n unless device tracking is turned on and the device has been trusted. If you want MFA to\n be applied selectively based on the assessed risk level of sign-in attempts, deactivate\n MFA for users and turn on Adaptive Authentication for the user pool.

" } }, "com.amazonaws.cognitoidentityprovider#StartUserImportJob": { @@ -10697,7 +10748,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server to the request to start the user import job.

" + "smithy.api#documentation": "

Represents the response from the server to the request to start the user import\n job.

" } }, "com.amazonaws.cognitoidentityprovider#StatusType": { @@ -10753,7 +10804,7 @@ "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The user pool ID for the user pool that the users are being imported\n into.

", + "smithy.api#documentation": "

The user pool ID for the user pool that the users are being imported into.

", "smithy.api#required": {} } }, @@ -10780,7 +10831,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server to the request to stop the user import job.

" + "smithy.api#documentation": "

Represents the response from the server to the request to stop the user import\n job.

" } }, "com.amazonaws.cognitoidentityprovider#StringAttributeConstraintsType": { @@ -10847,7 +10898,7 @@ } ], "traits": { - "smithy.api#documentation": "

Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.

\n

Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, \n one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for \n one user pool, and Production for the other.

\n

Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with \n your user pools. In an Identity and Access Management policy, you can constrain permissions for user pools based on specific tags or tag values.

\n

You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags.

" + "smithy.api#documentation": "

Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to\n categorize and manage user pools in different ways, such as by purpose, owner,\n environment, or other criteria.

\n

Each tag consists of a key and value, both of which you define. A key is a general\n category for more specific values. For example, if you have two versions of a user pool,\n one for testing and another for production, you might assign an Environment\n tag key to both user pools. The value of this key might be Test for one\n user pool, and Production for the other.

\n

Tags are useful for cost tracking and access control. You can activate your tags so\n that they appear on the Billing and Cost Management console, where you can track the\n costs associated with your user pools. In an Identity and Access Management policy, you can constrain\n permissions for user pools based on specific tags or tag values.

\n

You can use this action up to 5 times per second, per account. A user pool can have as\n many as 50 tags.

" } }, "com.amazonaws.cognitoidentityprovider#TagResourceRequest": { @@ -10927,24 +10978,24 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TimeUnitsType", "traits": { - "smithy.api#documentation": "

A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in AccessTokenValidity, defaulting to hours.

" + "smithy.api#documentation": "

A time unit of seconds, minutes, hours, or\n days for the value that you set in the AccessTokenValidity\n parameter. The default AccessTokenValidity time unit is hours.

" } }, "IdToken": { "target": "com.amazonaws.cognitoidentityprovider#TimeUnitsType", "traits": { - "smithy.api#documentation": "

A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in IdTokenValidity, defaulting to hours.

" + "smithy.api#documentation": "

A time unit of seconds, minutes, hours, or\n days for the value that you set in the IdTokenValidity\n parameter. The default IdTokenValidity time unit is hours.

" } }, "RefreshToken": { "target": "com.amazonaws.cognitoidentityprovider#TimeUnitsType", "traits": { - "smithy.api#documentation": "

A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in RefreshTokenValidity, defaulting to days.

" + "smithy.api#documentation": "

A time unit of seconds, minutes, hours, or\n days for the value that you set in the\n RefreshTokenValidity parameter. The default\n RefreshTokenValidity time unit is days.

" } } }, "traits": { - "smithy.api#documentation": "

The data type for TokenValidityUnits that specifics the time measurements for token validity.

" + "smithy.api#documentation": "

The data type TokenValidityUnits specifies the time units you use when you set the\n duration of ID, access, and refresh tokens.

" } }, "com.amazonaws.cognitoidentityprovider#TooManyFailedAttemptsException": { @@ -10953,12 +11004,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when Amazon Cognito returns a TooManyFailedAttempts exception.

" + "smithy.api#documentation": "

The message returned when Amazon Cognito returns a TooManyFailedAttempts\n exception.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the user has made too many failed attempts for a given action, such as sign-in.

", + "smithy.api#documentation": "

This exception is thrown when the user has made too many failed attempts for a given\n action, such as sign-in.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -10969,12 +11020,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when the Amazon Cognito service returns a too many requests exception.

" + "smithy.api#documentation": "

The message returned when the Amazon Cognito service returns a too many requests\n exception.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the user has made too many requests for a given operation.

", + "smithy.api#documentation": "

This exception is thrown when the user has made too many requests for a given\n operation.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } @@ -11026,7 +11077,7 @@ } }, "traits": { - "smithy.api#documentation": "

A container for the UI customization information for a user pool's built-in app UI.

" + "smithy.api#documentation": "

A container for the UI customization information for a user pool's built-in app\n UI.

" } }, "com.amazonaws.cognitoidentityprovider#UnauthorizedException": { @@ -11037,7 +11088,7 @@ } }, "traits": { - "smithy.api#documentation": "

Exception that is thrown when the request isn't authorized. This can happen due to an invalid access token in the request.

", + "smithy.api#documentation": "

Exception that is thrown when the request isn't authorized. This can happen due to an\n invalid access token in the request.

", "smithy.api#error": "client", "smithy.api#httpError": 401 } @@ -11053,7 +11104,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when Amazon Cognito encounters an unexpected exception with Lambda.

", + "smithy.api#documentation": "

This exception is thrown when Amazon Cognito encounters an unexpected exception with\n Lambda.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -11079,7 +11130,7 @@ } }, "traits": { - "smithy.api#documentation": "

Exception that is thrown when you attempt to perform an operation that isn't enabled for the user pool client.

", + "smithy.api#documentation": "

Exception that is thrown when you attempt to perform an operation that isn't enabled\n for the user pool client.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -11139,7 +11190,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5 times per second, per account.

" + "smithy.api#documentation": "

Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5\n times per second, per account.

" } }, "com.amazonaws.cognitoidentityprovider#UntagResourceRequest": { @@ -11197,7 +11248,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides the feedback for an authentication event, whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part \n of Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Provides the feedback for an authentication event, whether it was from a valid user or\n not. This feedback is used for improving the risk evaluation decision for the user pool\n as part of Amazon Cognito advanced security.

" } }, "com.amazonaws.cognitoidentityprovider#UpdateAuthEventFeedbackRequest": { @@ -11291,7 +11342,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose device status you want to\n update.

", "smithy.api#required": {} } }, @@ -11375,13 +11426,13 @@ "RoleArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token.

" + "smithy.api#documentation": "

The new role Amazon Resource Name (ARN) for the group. This is used for setting the\n cognito:roles and cognito:preferred_role claims in the\n token.

" } }, "Precedence": { "target": "com.amazonaws.cognitoidentityprovider#PrecedenceType", "traits": { - "smithy.api#documentation": "

The new precedence value for the group. For more information about this parameter, \n see CreateGroup.

" + "smithy.api#documentation": "

The new precedence value for the group. For more information about this parameter, see\n CreateGroup.

" } } } @@ -11426,7 +11477,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates identity provider information for a user pool.

" + "smithy.api#documentation": "

Updates IdP information for a user pool.

" } }, "com.amazonaws.cognitoidentityprovider#UpdateIdentityProviderRequest": { @@ -11442,26 +11493,26 @@ "ProviderName": { "target": "com.amazonaws.cognitoidentityprovider#ProviderNameType", "traits": { - "smithy.api#documentation": "

The identity provider name.

", + "smithy.api#documentation": "

The IdP name.

", "smithy.api#required": {} } }, "ProviderDetails": { "target": "com.amazonaws.cognitoidentityprovider#ProviderDetailsType", "traits": { - "smithy.api#documentation": "

The identity provider details to be updated, such as MetadataURL and MetadataFile.

" + "smithy.api#documentation": "

The IdP details to be updated, such as MetadataURL and\n MetadataFile.

" } }, "AttributeMapping": { "target": "com.amazonaws.cognitoidentityprovider#AttributeMappingType", "traits": { - "smithy.api#documentation": "

The identity provider attribute mapping to be changed.

" + "smithy.api#documentation": "

The IdP attribute mapping to be changed.

" } }, "IdpIdentifiers": { "target": "com.amazonaws.cognitoidentityprovider#IdpIdentifiersListType", "traits": { - "smithy.api#documentation": "

A list of identity provider identifiers.

" + "smithy.api#documentation": "

A list of IdP identifiers.

" } } } @@ -11472,7 +11523,7 @@ "IdentityProvider": { "target": "com.amazonaws.cognitoidentityprovider#IdentityProviderType", "traits": { - "smithy.api#documentation": "

The identity provider object.

", + "smithy.api#documentation": "

The IdP object.

", "smithy.api#required": {} } } @@ -11504,7 +11555,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the name and scopes of resource server. All other fields are read-only.

\n \n

If you don't provide a value for an attribute, it is set to the default value.

\n
" + "smithy.api#documentation": "

Updates the name and scopes of resource server. All other fields are read-only.

\n \n

If you don't provide a value for an attribute, it is set to the default\n value.

\n
" } }, "com.amazonaws.cognitoidentityprovider#UpdateResourceServerRequest": { @@ -11627,21 +11678,21 @@ "UserAttributes": { "target": "com.amazonaws.cognitoidentityprovider#AttributeListType", "traits": { - "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the attribute name.

", + "smithy.api#documentation": "

An array of name-value pairs representing user attributes.

\n

For custom attributes, you must prepend the custom: prefix to the\n attribute name.

\n

If you have set an attribute to require verification before Amazon Cognito updates its value,\n this request doesn’t immediately update the value of that attribute. After your user\n receives and responds to a verification message to verify the new value, Amazon Cognito updates\n the attribute value. Your user can sign in and receive messages with the original \n attribute value until they verify the new value.

", "smithy.api#required": {} } }, "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token for the request to update user attributes.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose user attributes you want to\n update.

", "smithy.api#required": {} } }, "ClientMetadata": { "target": "com.amazonaws.cognitoidentityprovider#ClientMetadataType", "traits": { - "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows that this action initiates.

\n

You create custom workflows by assigning Lambda functions to user pool triggers. When\n you use the UpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned\n to the custom message trigger. When Amazon Cognito invokes this function, it\n passes a JSON payload, which the function receives as input. This payload contains a\n clientMetadata attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your UpdateUserAttributes request. In your function code\n in Lambda, you can process the clientMetadata value to enhance your workflow\n for your specific needs.

\n\n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:

\n \n
" + "smithy.api#documentation": "

A map of custom key-value pairs that you can provide as input for any custom workflows\n that this action initiates.

\n

You create custom workflows by assigning Lambda functions to user pool triggers. When\n you use the UpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned\n to the custom message trigger. When Amazon Cognito invokes this function, it\n passes a JSON payload, which the function receives as input. This payload contains a\n clientMetadata attribute, which provides the data that you assigned to\n the ClientMetadata parameter in your UpdateUserAttributes request. In your function code\n in Lambda, you can process the clientMetadata value to enhance your workflow\n for your specific needs.

\n \n

For more information, see \nCustomizing user pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.

\n\n \n

When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the\n following:

\n \n
" } } }, @@ -11655,12 +11706,12 @@ "CodeDeliveryDetailsList": { "target": "com.amazonaws.cognitoidentityprovider#CodeDeliveryDetailsListType", "traits": { - "smithy.api#documentation": "

The code delivery details list from the server for the request to update user attributes.

" + "smithy.api#documentation": "

The code delivery details list from the server for the request to update user\n attributes.

" } } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server for the request to update user attributes.

" + "smithy.api#documentation": "

Represents the response from the server for the request to update user\n attributes.

" } }, "com.amazonaws.cognitoidentityprovider#UpdateUserPool": { @@ -11707,7 +11758,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using \n DescribeUserPool. \n If you don't provide a value for an attribute, it will be set to the default value.

\n\n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
" + "smithy.api#documentation": "

Updates the specified user pool with the specified attributes. You can get a list of\n the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will be\n set to the default value.\n

\n \n \n

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers\n require you to register an origination phone number before you can send SMS messages\n to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a\n phone number with Amazon Pinpoint.\n Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must\n receive SMS messages might not be able to sign up, activate their accounts, or sign\n in.

\n

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service,\n Amazon Simple Notification Service might place your account in the SMS sandbox. In \n sandbox\n mode\n , you can send messages only to verified phone\n numbers. After you test your app while in the sandbox environment, you can move out\n of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito\n Developer Guide.

\n
" } }, "com.amazonaws.cognitoidentityprovider#UpdateUserPoolClient": { @@ -11745,7 +11796,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using \n DescribeUserPoolClient.

\n \n

If you don't provide a value for an attribute, it will be set to the default value.

\n
\n

You can also use this operation to enable token revocation for user pool clients. For more information about revoking tokens, \n see RevokeToken.

" + "smithy.api#documentation": "

Updates the specified user pool app client with the specified attributes. You can get\n a list of the current user pool app client settings using DescribeUserPoolClient.

\n \n

If you don't provide a value for an attribute, it will be set to the default\n value.

\n
\n

You can also use this operation to enable token revocation for user pool clients. For\n more information about revoking tokens, see RevokeToken.

" } }, "com.amazonaws.cognitoidentityprovider#UpdateUserPoolClientRequest": { @@ -11754,7 +11805,7 @@ "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The user pool ID for the user pool where you want to update the user pool client.

", + "smithy.api#documentation": "

The user pool ID for the user pool where you want to update the user pool\n client.

", "smithy.api#required": {} } }, @@ -11774,25 +11825,25 @@ "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit, in days, after which the refresh token is no longer valid and can't be used.

" + "smithy.api#documentation": "

The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.

\n

The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.

" } }, "AccessTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit after which the access token is no longer valid and can't be used.

" + "smithy.api#documentation": "

The access token time limit. After this limit expires, your user can't use \n their access token. To specify the time unit for AccessTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set AccessTokenValidity to 10 and\n TokenValidityUnits to hours, your user can authorize access with\n their access token for 10 hours.

\n

The default time unit for AccessTokenValidity in an API request is hours. \n Valid range is displayed below in seconds.

" } }, "IdTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#IdTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit after which the ID token is no longer valid and can't be used.

" + "smithy.api#documentation": "

The ID token time limit. After this limit expires, your user can't use \n their ID token. To specify the time unit for IdTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set IdTokenValidity as 10 and\n TokenValidityUnits as hours, your user can authenticate their \n session with their ID token for 10 hours.

\n

The default time unit for AccessTokenValidity in an API request is hours. \n Valid range is displayed below in seconds.

" } }, "TokenValidityUnits": { "target": "com.amazonaws.cognitoidentityprovider#TokenValidityUnitsType", "traits": { - "smithy.api#documentation": "

The units in which the validity times are represented. Default for RefreshToken is days, and default for ID and access tokens is hours.

" + "smithy.api#documentation": "

The units in which the validity times are represented. The default unit for\n RefreshToken is days, and the default for ID and access tokens is hours.

" } }, "ReadAttributes": { @@ -11810,67 +11861,73 @@ "ExplicitAuthFlows": { "target": "com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsListType", "traits": { - "smithy.api#documentation": "

The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are no longer supported in favor of new names with the \n ALLOW_ prefix. Note that values with ALLOW_ prefix must be used only along with values with the ALLOW_ prefix.

\n

Valid values include:

\n " + "smithy.api#documentation": "

The authentication flows that are supported by the user pool clients. Flow names\n without the ALLOW_ prefix are no longer supported in favor of new names\n with the ALLOW_ prefix. Note that values with ALLOW_ prefix\n must be used only along with values with the ALLOW_ prefix.

\n

Valid values include:

\n " } }, "SupportedIdentityProviders": { "target": "com.amazonaws.cognitoidentityprovider#SupportedIdentityProvidersListType", "traits": { - "smithy.api#documentation": "

A list of provider names for the identity providers that are supported on this client.

" + "smithy.api#documentation": "

A list of provider names for the IdPs that this client supports. The following are\n supported: COGNITO, Facebook, Google\n LoginWithAmazon, and the names of your own SAML and OIDC providers.

" } }, "CallbackURLs": { "target": "com.amazonaws.cognitoidentityprovider#CallbackURLsListType", "traits": { - "smithy.api#documentation": "

A list of allowed redirect (callback) URLs for the identity providers.

\n

A redirect URI must:

\n \n

See OAuth 2.0 - Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.

\n

App callback URLs such as myapp://example are also supported.

" + "smithy.api#documentation": "

A list of allowed redirect (callback) URLs for the IdPs.

\n

A redirect URI must:

\n \n

See OAuth 2.0 -\n Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes\n only.

\n

App callback URLs such as myapp://example are also supported.

" } }, "LogoutURLs": { "target": "com.amazonaws.cognitoidentityprovider#LogoutURLsListType", "traits": { - "smithy.api#documentation": "

A list of allowed logout URLs for the identity providers.

" + "smithy.api#documentation": "

A list of allowed logout URLs for the IdPs.

" } }, "DefaultRedirectURI": { "target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType", "traits": { - "smithy.api#documentation": "

The default redirect URI. Must be in the CallbackURLs list.

\n

A redirect URI must:

\n \n

See OAuth 2.0 - Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.

\n

App callback URLs such as myapp://example are also supported.

" + "smithy.api#documentation": "

The default redirect URI. Must be in the CallbackURLs list.

\n

A redirect URI must:

\n \n

See OAuth 2.0 -\n Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing\n purposes only.

\n

App callback URLs such as myapp://example are also supported.

" } }, "AllowedOAuthFlows": { "target": "com.amazonaws.cognitoidentityprovider#OAuthFlowsType", "traits": { - "smithy.api#documentation": "

The allowed OAuth flows.

\n

Set to code to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint.

\n

Set to implicit to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.

\n

Set to client_credentials to specify that the client should get the access token (and, optionally, ID token, based on scopes) from the token endpoint using a combination \n of client and client_secret.

" + "smithy.api#documentation": "

The allowed OAuth flows.

\n
\n
code
\n
\n

Use a code grant flow, which provides an authorization code as the\n response. This code can be exchanged for access tokens with the\n /oauth2/token endpoint.

\n
\n
implicit
\n
\n

Issue the access token (and, optionally, ID token, based on scopes)\n directly to your user.

\n
\n
client_credentials
\n
\n

Issue the access token from the /oauth2/token endpoint\n directly to a non-person user using a combination of the client ID and\n client secret.

\n
\n
" } }, "AllowedOAuthScopes": { "target": "com.amazonaws.cognitoidentityprovider#ScopeListType", "traits": { - "smithy.api#documentation": "

The allowed OAuth scopes. Possible values provided by OAuth are: phone, \n email, openid, and profile. Possible values provided by Amazon Web Services are: aws.cognito.signin.user.admin. Custom scopes created \n in Resource Servers are also supported.

" + "smithy.api#documentation": "

The allowed OAuth scopes. Possible values provided by OAuth are phone,\n email, openid, and profile. Possible values\n provided by Amazon Web Services are aws.cognito.signin.user.admin. Custom scopes created\n in Resource Servers are also supported.

" } }, "AllowedOAuthFlowsUserPoolClient": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting with Amazon Cognito user pools.

" + "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.

" } }, "AnalyticsConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsConfigurationType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.

\n \n

In Amazon Web Services Regions where Amazon Pinpoint isn't available, user pools only support sending events to Amazon Pinpoint\n projects in us-east-1. In Regions where Amazon Pinpoint is available, user pools support\n sending events to Amazon Pinpoint projects within that same Region.

\n
" + "smithy.api#documentation": "

The Amazon Pinpoint analytics configuration necessary to collect metrics for this user\n pool.

\n \n

In Amazon Web Services Regions where Amazon Pinpoint isn't available, user pools only support sending\n events to Amazon Pinpoint projects in us-east-1. In Regions where Amazon Pinpoint is available, user\n pools support sending events to Amazon Pinpoint projects within that same Region.

\n
" } }, "PreventUserExistenceErrors": { "target": "com.amazonaws.cognitoidentityprovider#PreventUserExistenceErrorTypes", "traits": { - "smithy.api#documentation": "

Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the \n user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. \n Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs \n return a UserNotFoundException exception if the user doesn't exist in the user pool.

\n

Valid values include:

\n " + "smithy.api#documentation": "

Errors and responses that you want Amazon Cognito APIs to return during authentication, account\n confirmation, and password recovery when the user doesn't exist in the user pool. When\n set to ENABLED and the user doesn't exist, authentication returns an error\n indicating either the username or password was incorrect. Account confirmation and\n password recovery return a response indicating a code was sent to a simulated\n destination. When set to LEGACY, those APIs return a\n UserNotFoundException exception if the user doesn't exist in the user\n pool.

\n

Valid values include:

\n " } }, "EnableTokenRevocation": { "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", "traits": { - "smithy.api#documentation": "

Activates or deactivates token revocation. For more information about revoking tokens, \n see RevokeToken.

" + "smithy.api#documentation": "

Activates or deactivates token revocation. For more information about revoking tokens,\n see RevokeToken.

" + } + }, + "EnablePropagateAdditionalUserContextData": { + "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", + "traits": { + "smithy.api#documentation": "

Activates the propagation of additional user context data. For more information about\n propagation of user context data, see Adding advanced security to a user pool. If you don’t include this\n parameter, you can't send device fingerprint information, including source IP address,\n to Amazon Cognito advanced security. You can only activate\n EnablePropagateAdditionalUserContextData in an app client that has a\n client secret.

" } } }, @@ -11884,12 +11941,12 @@ "UserPoolClient": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolClientType", "traits": { - "smithy.api#documentation": "

The user pool client value from the response from the server when you request to update the user pool client.

" + "smithy.api#documentation": "

The user pool client value from the response from the server when you request to\n update the user pool client.

" } } }, "traits": { - "smithy.api#documentation": "

Represents the response from the server to the request to update the user pool client.

" + "smithy.api#documentation": "

Represents the response from the server to the request to update the user pool\n client.

" } }, "com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomain": { @@ -11918,7 +11975,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool.

\n

You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You can't use it to change the domain for a user pool.

\n

A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you \n manage with Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain.

\n

Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, \n and your custom domain uses the new certificate automatically.

\n

However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide \n this ARN to Amazon Cognito.

\n

When you add your new certificate in ACM, you must choose US East (N. Virginia) as the Amazon Web Services Region.

\n

After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain.

\n

For more information about adding a custom domain to your user pool, \n see Using Your Own Domain for the Hosted UI.

" + "smithy.api#documentation": "

Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user\n pool.

\n

You can use this operation to provide the Amazon Resource Name (ARN) of a new\n certificate to Amazon Cognito. You can't use it to change the domain for a user pool.

\n

A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and\n sign-in pages for your application. When you set up a custom domain, you provide a\n certificate that you manage with Certificate Manager (ACM). When necessary, you can use this\n operation to change the certificate that you applied to your custom domain.

\n

Usually, this is unnecessary following routine certificate renewal with ACM. When\n you renew your existing certificate in ACM, the ARN for your certificate remains the\n same, and your custom domain uses the new certificate automatically.

\n

However, if you replace your existing certificate with a new one, ACM gives the new\n certificate a new ARN. To apply the new certificate to your custom domain, you must\n provide this ARN to Amazon Cognito.

\n

When you add your new certificate in ACM, you must choose US East (N. Virginia) as\n the Amazon Web Services Region.

\n

After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new\n certificate to your custom domain.

\n

For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

" } }, "com.amazonaws.cognitoidentityprovider#UpdateUserPoolDomainRequest": { @@ -11927,21 +11984,21 @@ "Domain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.com.

\n

This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.

", + "smithy.api#documentation": "

The domain name for the custom domain that hosts the sign-up and sign-in pages for\n your application. One example might be auth.example.com.

\n

This string can include only lowercase letters, numbers, and hyphens. Don't use a\n hyphen for the first or last character. Use periods to separate subdomain names.

", "smithy.api#required": {} } }, "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The ID of the user pool that is associated with the custom domain whose certificate you're updating.

", + "smithy.api#documentation": "

The ID of the user pool that is associated with the custom domain whose certificate\n you're updating.

", "smithy.api#required": {} } }, "CustomDomainConfig": { "target": "com.amazonaws.cognitoidentityprovider#CustomDomainConfigType", "traits": { - "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.

", + "smithy.api#documentation": "

The configuration for a custom domain that hosts the sign-up and sign-in pages for\n your application. Use this object to specify an SSL certificate that is managed by\n ACM.

", "smithy.api#required": {} } } @@ -11956,7 +12013,7 @@ "CloudFrontDomain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user pool.

" + "smithy.api#documentation": "

The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user\n pool.

" } } }, @@ -11989,7 +12046,7 @@ "AutoVerifiedAttributes": { "target": "com.amazonaws.cognitoidentityprovider#VerifiedAttributesListType", "traits": { - "smithy.api#documentation": "

The attributes that are automatically verified when Amazon Cognito requests to update user pools.

" + "smithy.api#documentation": "

The attributes that are automatically verified when Amazon Cognito requests to update user\n pools.

" } }, "SmsVerificationMessage": { @@ -12022,10 +12079,16 @@ "smithy.api#documentation": "

The contents of the SMS authentication message.

" } }, + "UserAttributeUpdateSettings": { + "target": "com.amazonaws.cognitoidentityprovider#UserAttributeUpdateSettingsType", + "traits": { + "smithy.api#documentation": "

The settings for updates to user attributes. These settings include the property AttributesRequireVerificationBeforeUpdate,\na user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For\nmore information, see \nVerifying updates to to email addresses and phone numbers.

" + } + }, "MfaConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType", "traits": { - "smithy.api#documentation": "

Can be one of the following values:

\n \n " + "smithy.api#documentation": "

Possible values include:

\n " } }, "DeviceConfiguration": { @@ -12049,7 +12112,7 @@ "UserPoolTags": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType", "traits": { - "smithy.api#documentation": "

The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, \n or other criteria.

" + "smithy.api#documentation": "

The tag keys and values to assign to the user pool. A tag is a label that you can use\n to categorize and manage user pools in different ways, such as by purpose, owner,\n environment, or other criteria.

" } }, "AdminCreateUserConfig": { @@ -12061,13 +12124,13 @@ "UserPoolAddOns": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolAddOnsType", "traits": { - "smithy.api#documentation": "

Enables advanced security risk detection. Set the key AdvancedSecurityMode to the value \"AUDIT\".

" + "smithy.api#documentation": "

Enables advanced security risk detection. Set the key\n AdvancedSecurityMode to the value \"AUDIT\".

" } }, "AccountRecoverySetting": { "target": "com.amazonaws.cognitoidentityprovider#AccountRecoverySettingType", "traits": { - "smithy.api#documentation": "

The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a \n preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user \n also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method \n where SMS is preferred through email.

" + "smithy.api#documentation": "

The available verified method a user can use to recover their password when they call\n ForgotPassword. You can use this setting to define a preferred method\n when a user has more than one method available. With this setting, SMS doesn't qualify\n for a valid password recovery mechanism if the user also has SMS multi-factor\n authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy\n behavior to determine the recovery method where SMS is preferred through email.

" } } }, @@ -12079,21 +12142,41 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Represents the response from the server when you make a request to update the user pool.

" + "smithy.api#documentation": "

Represents the response from the server when you make a request to update the user\n pool.

" + } + }, + "com.amazonaws.cognitoidentityprovider#UserAttributeUpdateSettingsType": { + "type": "structure", + "members": { + "AttributesRequireVerificationBeforeUpdate": { + "target": "com.amazonaws.cognitoidentityprovider#AttributesRequireVerificationBeforeUpdateType", + "traits": { + "smithy.api#documentation": "

Requires that your user verifies their email address, phone number, or both before \n Amazon Cognito updates the value of that attribute. When you update a user attribute that has \n this option activated, Amazon Cognito sends a verification message to the new phone number or \n email address. Amazon Cognito doesn’t change the value of the attribute until your user responds \n to the verification message and confirms the new value.

\n

You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified or\n phone_number_verified to true.

\n

When AttributesRequireVerificationBeforeUpdate is false, your user pool\n doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a\n user pool where AttributesRequireVerificationBeforeUpdate is false, API\n operations that change attribute values can immediately update a user’s\n email or phone_number attribute.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The settings for updates to user attributes. These settings include the property AttributesRequireVerificationBeforeUpdate,\na user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For\nmore information, see \nVerifying updates to to email addresses and phone numbers.

" } }, "com.amazonaws.cognitoidentityprovider#UserContextDataType": { "type": "structure", "members": { + "IpAddress": { + "target": "com.amazonaws.cognitoidentityprovider#StringType", + "traits": { + "smithy.api#documentation": "

The source IP address of your user's device.

" + } + }, "EncodedData": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Encoded device-fingerprint details that your app collected with the Amazon Cognito\n context data collection library. For more information, see Adding user device and session data to API requests.

" } } }, "traits": { - "smithy.api#documentation": "

Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

" + "smithy.api#documentation": "

Contextual data, such as the user's device fingerprint, IP address, or location, used\n for evaluating the risk of an unexpected event by Amazon Cognito advanced\n security.

" } }, "com.amazonaws.cognitoidentityprovider#UserFilterType": { @@ -12116,7 +12199,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when you're trying to modify a user pool while a user import job is in progress for that pool.

", + "smithy.api#documentation": "

This exception is thrown when you're trying to modify a user pool while a user import\n job is in progress for that pool.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -12198,7 +12281,7 @@ "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The user pool ID for the user pool that the users are being imported\n into.

" + "smithy.api#documentation": "

The user pool ID for the user pool that the users are being imported into.

" } }, "PreSignedUrl": { @@ -12228,13 +12311,13 @@ "Status": { "target": "com.amazonaws.cognitoidentityprovider#UserImportJobStatusType", "traits": { - "smithy.api#documentation": "

The status of the user import job. One of the following:

\n \n " + "smithy.api#documentation": "

The status of the user import job. One of the following:

\n " } }, "CloudWatchLogsRoleArn": { "target": "com.amazonaws.cognitoidentityprovider#ArnType", "traits": { - "smithy.api#documentation": "

The role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import job. For more information, see \"Creating the CloudWatch Logs IAM Role\" in the Amazon Cognito Developer Guide.

" + "smithy.api#documentation": "

The role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import\n job. For more information, see \"Creating the CloudWatch Logs IAM Role\" in the Amazon Cognito Developer\n Guide.

" } }, "ImportedUsers": { @@ -12284,12 +12367,12 @@ "message": { "target": "com.amazonaws.cognitoidentityprovider#MessageType", "traits": { - "smithy.api#documentation": "

The message returned when the Amazon Cognito service returns a user validation exception with the Lambda service.

" + "smithy.api#documentation": "

The message returned when the Amazon Cognito service returns a user validation exception with\n the Lambda service.

" } } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when the Amazon Cognito service encounters a user validation exception with the Lambda service.

", + "smithy.api#documentation": "

This exception is thrown when the Amazon Cognito service encounters a user validation exception\n with the Lambda service.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -12372,7 +12455,7 @@ "UserPoolId": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolIdType", "traits": { - "smithy.api#documentation": "

The user pool ID for the user pool where you want to describe the user pool client.

" + "smithy.api#documentation": "

The user pool ID for the user pool where you want to describe the user pool\n client.

" } }, "ClientName": { @@ -12434,25 +12517,25 @@ "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit, in days, after which the refresh token is no longer valid and can't be used.

" + "smithy.api#documentation": "

The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.

\n

The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.

" } }, "AccessTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit, specified by tokenValidityUnits, defaulting to hours, after which the access token is no longer valid and can't be used.

" + "smithy.api#documentation": "

The access token time limit. After this limit expires, your user can't use \n their access token. To specify the time unit for AccessTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set AccessTokenValidity to 10 and\n TokenValidityUnits to hours, your user can authorize access with\n their access token for 10 hours.

\n

The default time unit for AccessTokenValidity in an API request is hours. \n Valid range is displayed below in seconds.

" } }, "IdTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#IdTokenValidityType", "traits": { - "smithy.api#documentation": "

The time limit specified by tokenValidityUnits, defaulting to hours, after which the refresh token is no longer valid and can't be used.

" + "smithy.api#documentation": "

The ID token time limit. After this limit expires, your user can't use \n their ID token. To specify the time unit for IdTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set IdTokenValidity as 10 and\n TokenValidityUnits as hours, your user can authenticate their \n session with their ID token for 10 hours.

\n

The default time unit for AccessTokenValidity in an API request is hours. \n Valid range is displayed below in seconds.

" } }, "TokenValidityUnits": { "target": "com.amazonaws.cognitoidentityprovider#TokenValidityUnitsType", "traits": { - "smithy.api#documentation": "

The time units used to specify the token validity times of their respective token.

" + "smithy.api#documentation": "

The time units used to specify the token validity times of each token type: ID,\n access, and refresh.

" } }, "ReadAttributes": { @@ -12470,68 +12553,74 @@ "ExplicitAuthFlows": { "target": "com.amazonaws.cognitoidentityprovider#ExplicitAuthFlowsListType", "traits": { - "smithy.api#documentation": "

The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are no longer supported in favor of new names with the \n ALLOW_ prefix. Note that values with ALLOW_ prefix must be used only along with values including the ALLOW_ prefix.

\n

Valid values include:

\n \n " + "smithy.api#documentation": "

The authentication flows that are supported by the user pool clients. Flow names\n without the ALLOW_ prefix are no longer supported in favor of new names\n with the ALLOW_ prefix. Note that values with ALLOW_ prefix\n must be used only along with values including the ALLOW_ prefix.

\n

Valid values include:

\n " } }, "SupportedIdentityProviders": { "target": "com.amazonaws.cognitoidentityprovider#SupportedIdentityProvidersListType", "traits": { - "smithy.api#documentation": "

A list of provider names for the identity providers that are supported on this client.

" + "smithy.api#documentation": "

A list of provider names for the IdPs that this client supports. The following are\n supported: COGNITO, Facebook, Google\n LoginWithAmazon, and the names of your own SAML and OIDC providers.

" } }, "CallbackURLs": { "target": "com.amazonaws.cognitoidentityprovider#CallbackURLsListType", "traits": { - "smithy.api#documentation": "

A list of allowed redirect (callback) URLs for the identity providers.

\n

A redirect URI must:

\n \n

See OAuth 2.0 - Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.

\n

App callback URLs such as myapp://example are also supported.

" + "smithy.api#documentation": "

A list of allowed redirect (callback) URLs for the IdPs.

\n

A redirect URI must:

\n \n

See OAuth 2.0 -\n Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes\n only.

\n

App callback URLs such as myapp://example are also supported.

" } }, "LogoutURLs": { "target": "com.amazonaws.cognitoidentityprovider#LogoutURLsListType", "traits": { - "smithy.api#documentation": "

A list of allowed logout URLs for the identity providers.

" + "smithy.api#documentation": "

A list of allowed logout URLs for the IdPs.

" } }, "DefaultRedirectURI": { "target": "com.amazonaws.cognitoidentityprovider#RedirectUrlType", "traits": { - "smithy.api#documentation": "

The default redirect URI. Must be in the CallbackURLs list.

\n

A redirect URI must:

\n \n

See OAuth 2.0 - Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.

\n

App callback URLs such as myapp://example are also supported.

" + "smithy.api#documentation": "

The default redirect URI. Must be in the CallbackURLs list.

\n

A redirect URI must:

\n \n

See OAuth 2.0 -\n Redirection Endpoint.

\n

Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes\n only.

\n

App callback URLs such as myapp://example are also supported.

" } }, "AllowedOAuthFlows": { "target": "com.amazonaws.cognitoidentityprovider#OAuthFlowsType", "traits": { - "smithy.api#documentation": "

The allowed OAuth flows.

\n

Set to code to initiate a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the token endpoint.

\n

Set to implicit to specify that the client should get the access token (and, optionally, ID token, based on scopes) directly.

\n

Set to client_credentials to specify that the client should get the access token (and, optionally, ID token, based on scopes) from the token endpoint using a combination \n of client and client_secret.

" + "smithy.api#documentation": "

The allowed OAuth flows.

\n
\n
code
\n
\n

Use a code grant flow, which provides an authorization code as the\n response. This code can be exchanged for access tokens with the\n /oauth2/token endpoint.

\n
\n
implicit
\n
\n

Issue the access token (and, optionally, ID token, based on scopes)\n directly to your user.

\n
\n
client_credentials
\n
\n

Issue the access token from the /oauth2/token endpoint\n directly to a non-person user using a combination of the client ID and\n client secret.

\n
\n
" } }, "AllowedOAuthScopes": { "target": "com.amazonaws.cognitoidentityprovider#ScopeListType", "traits": { - "smithy.api#documentation": "

The allowed OAuth scopes. Possible values provided by OAuth are: \n phone, email, openid, and profile. Possible values provided by Amazon Web Services are: aws.cognito.signin.user.admin. \n Custom scopes created in Resource Servers are also supported.

" + "smithy.api#documentation": "

The OAuth scopes that your app client supports. Possible values that OAuth provides\n are phone, email, openid, and\n profile. Possible values that Amazon Web Services provides are\n aws.cognito.signin.user.admin. Amazon Cognito also supports custom scopes that\n you create in Resource Servers.

" } }, "AllowedOAuthFlowsUserPoolClient": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting with Amazon Cognito user pools.

" + "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.

" } }, "AnalyticsConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#AnalyticsConfigurationType", "traits": { - "smithy.api#documentation": "

The Amazon Pinpoint analytics configuration for the user pool client.

\n \n

Amazon Cognito user pools only support sending events to Amazon Pinpoint projects in the US East (N.\n Virginia) us-east-1 Region, regardless of the Region where the user pool\n resides.

\n
" + "smithy.api#documentation": "

The Amazon Pinpoint analytics configuration for the user pool client.

\n \n

Amazon Cognito user pools only support sending events to Amazon Pinpoint projects in the US East\n (N. Virginia) us-east-1 Region, regardless of the Region where the user pool\n resides.

\n
" } }, "PreventUserExistenceErrors": { "target": "com.amazonaws.cognitoidentityprovider#PreventUserExistenceErrorTypes", "traits": { - "smithy.api#documentation": "

Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist \n in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password \n was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to \n LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool.

\n

Valid values include:

\n \n " + "smithy.api#documentation": "

Errors and responses that you want Amazon Cognito APIs to return during authentication, account\n confirmation, and password recovery when the user doesn't exist in the user pool. When\n set to ENABLED and the user doesn't exist, authentication returns an error\n indicating either the username or password was incorrect. Account confirmation and\n password recovery return a response indicating a code was sent to a simulated\n destination. When set to LEGACY, those APIs return a\n UserNotFoundException exception if the user doesn't exist in the user\n pool.

\n

Valid values include:

\n " } }, "EnableTokenRevocation": { "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", "traits": { - "smithy.api#documentation": "

Indicates whether token revocation is activated for the user pool client. When you create a new user pool client, token revocation is activated by default. For more information about \n revoking tokens, see RevokeToken.

" + "smithy.api#documentation": "

Indicates whether token revocation is activated for the user pool client. When you\n create a new user pool client, token revocation is activated by default. For more\n information about revoking tokens, see RevokeToken.

" + } + }, + "EnablePropagateAdditionalUserContextData": { + "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", + "traits": { + "smithy.api#documentation": "

When EnablePropagateAdditionalUserContextData is true, Amazon Cognito accepts an\n IpAddress value that you send in the UserContextData\n parameter. The UserContextData parameter sends information to Amazon Cognito\n advanced security for risk analysis. You can send UserContextData when you\n sign in Amazon Cognito native users with the InitiateAuth and\n RespondToAuthChallenge API operations.

\n

When EnablePropagateAdditionalUserContextData is false, you can't send\n your user's source IP address to Amazon Cognito advanced security with unauthenticated API\n operations. EnablePropagateAdditionalUserContextData doesn't affect whether\n you can send a source IP address in a ContextData parameter with the\n authenticated API operations AdminInitiateAuth and\n AdminRespondToAuthChallenge.

\n

You can only activate EnablePropagateAdditionalUserContextData in an app\n client that has a client secret. For more information about propagation of user context\n data, see Adding user device and session data to API requests.

" } } }, @@ -12736,7 +12825,7 @@ "UsernameAttributes": { "target": "com.amazonaws.cognitoidentityprovider#UsernameAttributesListType", "traits": { - "smithy.api#documentation": "

Specifies whether a user can use an email address or phone number as a username when they sign up.

" + "smithy.api#documentation": "

Specifies whether a user can use an email address or phone number as a username when\n they sign up.

" } }, "SmsVerificationMessage": { @@ -12769,10 +12858,16 @@ "smithy.api#documentation": "

The contents of the SMS authentication message.

" } }, + "UserAttributeUpdateSettings": { + "target": "com.amazonaws.cognitoidentityprovider#UserAttributeUpdateSettingsType", + "traits": { + "smithy.api#documentation": "

The settings for updates to user attributes. These settings include the property AttributesRequireVerificationBeforeUpdate,\na user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For\nmore information, see \nVerifying updates to to email addresses and phone numbers.

" + } + }, "MfaConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolMfaType", "traits": { - "smithy.api#documentation": "

Can be one of the following values:

\n \n " + "smithy.api#documentation": "

Can be one of the following values:

\n " } }, "DeviceConfiguration": { @@ -12802,7 +12897,7 @@ "UserPoolTags": { "target": "com.amazonaws.cognitoidentityprovider#UserPoolTagsType", "traits": { - "smithy.api#documentation": "

The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, \n or other criteria.

" + "smithy.api#documentation": "

The tags that are assigned to the user pool. A tag is a label that you can apply to\n user pools to categorize and manage them in different ways, such as by purpose, owner,\n environment, or other criteria.

" } }, "SmsConfigurationFailure": { @@ -12814,7 +12909,7 @@ "EmailConfigurationFailure": { "target": "com.amazonaws.cognitoidentityprovider#StringType", "traits": { - "smithy.api#documentation": "

Deprecated. Review error codes from API requests with\n EventSource:cognito-idp.amazonaws.com in CloudTrail for\n information about problems with user pool email configuration.

" + "smithy.api#documentation": "

Deprecated. Review error codes from API requests with\n EventSource:cognito-idp.amazonaws.com in CloudTrail for\n information about problems with user pool email configuration.

" } }, "Domain": { @@ -12826,7 +12921,7 @@ "CustomDomain": { "target": "com.amazonaws.cognitoidentityprovider#DomainType", "traits": { - "smithy.api#documentation": "

A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An \n example of a custom domain name might be auth.example.com.

\n

For more information about adding a custom domain to your user pool, \n see Using Your Own Domain for the Hosted UI.

" + "smithy.api#documentation": "

A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use\n a custom domain to host the sign-up and sign-in pages for your application. An example\n of a custom domain name might be auth.example.com.

\n

For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

" } }, "AdminCreateUserConfig": { @@ -12844,7 +12939,7 @@ "UsernameConfiguration": { "target": "com.amazonaws.cognitoidentityprovider#UsernameConfigurationType", "traits": { - "smithy.api#documentation": "

Case sensitivity of the username input for the selected sign-in option. For example, when case sensitivity is set to False, users can sign in using either \"username\" \n or \"Username\". This configuration is immutable once it has been set. For more information, \n see UsernameConfigurationType.

" + "smithy.api#documentation": "

Case sensitivity of the username input for the selected sign-in option. For example,\n when case sensitivity is set to False, users can sign in using either\n \"username\" or \"Username\". This configuration is immutable once it has been set. For more\n information, see UsernameConfigurationType.

" } }, "Arn": { @@ -12856,7 +12951,7 @@ "AccountRecoverySetting": { "target": "com.amazonaws.cognitoidentityprovider#AccountRecoverySettingType", "traits": { - "smithy.api#documentation": "

The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a \n preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user \n also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method \n where SMS is preferred through email.

" + "smithy.api#documentation": "

The available verified method a user can use to recover their password when they call\n ForgotPassword. You can use this setting to define a preferred method\n when a user has more than one method available. With this setting, SMS doesn't qualify\n for a valid password recovery mechanism if the user also has SMS multi-factor\n authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy\n behavior to determine the recovery method where SMS is preferred through email.

" } } }, @@ -12935,7 +13030,7 @@ "UserStatus": { "target": "com.amazonaws.cognitoidentityprovider#UserStatusType", "traits": { - "smithy.api#documentation": "

The user status. This can be one of the following:

\n \n " + "smithy.api#documentation": "

The user status. This can be one of the following:

\n " } }, "MFAOptions": { @@ -12946,7 +13041,7 @@ } }, "traits": { - "smithy.api#documentation": "

The user type.

" + "smithy.api#documentation": "

A user profile in a Amazon Cognito user pool.

" } }, "com.amazonaws.cognitoidentityprovider#UsernameAttributeType": { @@ -12976,7 +13071,7 @@ "CaseSensitive": { "target": "com.amazonaws.cognitoidentityprovider#WrappedBooleanType", "traits": { - "smithy.api#documentation": "

Specifies whether username case sensitivity will be applied for all users in the user\n pool through Amazon Cognito APIs.

\n

Valid values include:

\n
\n
True
\n
\n

Enables case sensitivity for all username input. When this option is set\n to True, users must sign in using the exact capitalization of\n their given username, such as “UserName”. This is the default value.

\n
\n
False
\n
\n

Enables case insensitivity for all username input. For example, when this\n option is set to False, users can sign in using either\n \"username\" or \"Username\". This option also enables both\n preferred_username and email alias to be case\n insensitive, in addition to the username attribute.

\n
\n
", + "smithy.api#documentation": "

Specifies whether user name case sensitivity will be applied for all users in the user\n pool through Amazon Cognito APIs.

\n

Valid values include:

\n
\n
True
\n
\n

Enables case sensitivity for all username input. When this option is set\n to True, users must sign in using the exact capitalization of\n their given username, such as “UserName”. This is the default value.

\n
\n
False
\n
\n

Enables case insensitivity for all username input. For example, when this\n option is set to False, users can sign in using either\n \"username\" or \"Username\". This option also enables both\n preferred_username and email alias to be case\n insensitive, in addition to the username attribute.

\n
\n
", "smithy.api#required": {} } } @@ -12996,7 +13091,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.

", + "smithy.api#documentation": "

This exception is thrown when Amazon Cognito encounters a user name that already\n exists in the user pool.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -13024,31 +13119,31 @@ "SmsMessage": { "target": "com.amazonaws.cognitoidentityprovider#SmsVerificationMessageType", "traits": { - "smithy.api#documentation": "

The SMS message template.

" + "smithy.api#documentation": "

The template for SMS messages that Amazon Cognito sends to your users.

" } }, "EmailMessage": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageType", "traits": { - "smithy.api#documentation": "

The email message template. EmailMessage is allowed only if \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

The template for email messages that Amazon Cognito sends to your users. You can set an\n EmailMessage template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email\n messages with your own Amazon SES configuration.

" } }, "EmailSubject": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectType", "traits": { - "smithy.api#documentation": "

The subject line for the email message template. EmailSubject is allowed only if \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

The subject line for the email message template. You can set an\n EmailSubject template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email\n messages with your own Amazon SES configuration.

" } }, "EmailMessageByLink": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationMessageByLinkType", "traits": { - "smithy.api#documentation": "

The email message template for sending a confirmation link to the user. EmailMessageByLink is allowed only if \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

The email message template for sending a confirmation link to the user. You can set an\n EmailMessageByLink template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email\n messages with your own Amazon SES configuration.

" } }, "EmailSubjectByLink": { "target": "com.amazonaws.cognitoidentityprovider#EmailVerificationSubjectByLinkType", "traits": { - "smithy.api#documentation": "

The subject line for the email message template for sending a confirmation link to the user. EmailSubjectByLink is allowed only \n EmailSendingAccount is DEVELOPER.

" + "smithy.api#documentation": "

The subject line for the email message template for sending a confirmation link to the\n user. You can set an EmailSubjectByLink template only if the value of\n EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email\n messages with your own Amazon SES configuration.

" } }, "DefaultEmailOption": { @@ -13130,7 +13225,7 @@ } ], "traits": { - "smithy.api#documentation": "

Use this API to register a user's entered time-based one-time password (TOTP) code and mark the user's software token MFA status as \"verified\" if successful. The request takes an access \n token or a session string, but not both.

" + "smithy.api#documentation": "

Use this API to register a user's entered time-based one-time password (TOTP) code and\n mark the user's software token MFA status as \"verified\" if successful. The request takes\n an access token or a session string, but not both.

" } }, "com.amazonaws.cognitoidentityprovider#VerifySoftwareTokenRequest": { @@ -13139,19 +13234,19 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token.

" + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose software token you want to\n verify.

" } }, "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service.

" } }, "UserCode": { "target": "com.amazonaws.cognitoidentityprovider#SoftwareTokenMFAUserCodeType", "traits": { - "smithy.api#documentation": "

The one- time password computed using the secret code returned by \n AssociateSoftwareToken.

", + "smithy.api#documentation": "

The one- time password computed using the secret code returned by AssociateSoftwareToken.

", "smithy.api#required": {} } }, @@ -13175,7 +13270,7 @@ "Session": { "target": "com.amazonaws.cognitoidentityprovider#SessionType", "traits": { - "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the service.

" + "smithy.api#documentation": "

The session that should be passed both ways in challenge-response calls to the\n service.

" } } } @@ -13204,6 +13299,9 @@ "target": "com.amazonaws.cognitoidentityprovider#VerifyUserAttributeResponse" }, "errors": [ + { + "target": "com.amazonaws.cognitoidentityprovider#AliasExistsException" + }, { "target": "com.amazonaws.cognitoidentityprovider#CodeMismatchException" }, @@ -13240,7 +13338,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Verifies the specified user attributes in the user pool.

", + "smithy.api#documentation": "

Verifies the specified user attributes in the user pool.

\n

\n If your user pool requires verification before Amazon Cognito updates the attribute value, \n VerifyUserAttribute updates the affected attribute to its pending value. For more information, \n see \n UserAttributeUpdateSettingsType.\n

", "smithy.api#optionalAuth": {} } }, @@ -13250,7 +13348,7 @@ "AccessToken": { "target": "com.amazonaws.cognitoidentityprovider#TokenModelType", "traits": { - "smithy.api#documentation": "

The access token of the request to verify user attributes.

", + "smithy.api#documentation": "

A valid access token that Amazon Cognito issued to the user whose user attributes you want to\n verify.

", "smithy.api#required": {} } }, @@ -13277,7 +13375,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

A container representing the response from the server from the request to verify user attributes.

" + "smithy.api#documentation": "

A container representing the response from the server from the request to verify user\n attributes.

" } }, "com.amazonaws.cognitoidentityprovider#WrappedBooleanType": { diff --git a/codegen/sdk-codegen/aws-models/comprehend.json b/codegen/sdk-codegen/aws-models/comprehend.json index a63ca42840d..84047f72b94 100644 --- a/codegen/sdk-codegen/aws-models/comprehend.json +++ b/codegen/sdk-codegen/aws-models/comprehend.json @@ -334,7 +334,7 @@ "TextList": { "target": "com.amazonaws.comprehend#CustomerInputStringList", "traits": { - "smithy.api#documentation": "

A list containing the text of the input documents. The list can contain a maximum of 25\n documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded\n characters.

", + "smithy.api#documentation": "

A list containing the text of the input documents. The list can contain a maximum of 25\n documents. Each document must contain fewer than 5,000 bytes of UTF-8 encoded\n characters.

", "smithy.api#required": {} } }, @@ -728,7 +728,7 @@ "EndpointArn": { "target": "com.amazonaws.comprehend#DocumentClassifierEndpointArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the endpoint.

", + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the endpoint. For information about endpoints, see Managing endpoints.

", "smithy.api#required": {} } } @@ -1100,7 +1100,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the input documents.

", + "smithy.api#documentation": "

The language of the input documents. Currently, English is the only valid language.

", "smithy.api#required": {} } } @@ -1289,7 +1289,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a model-specific endpoint for synchronous inference for a previously trained\n custom model

" + "smithy.api#documentation": "

Creates a model-specific endpoint for synchronous inference for a previously trained\n custom model \n For information about endpoints, see Managing endpoints.

" } }, "com.amazonaws.comprehend#CreateEndpointRequest": { @@ -1445,7 +1445,7 @@ "VpcConfig": { "target": "com.amazonaws.comprehend#VpcConfig", "traits": { - "smithy.api#documentation": "

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing\n the resources you are using for your custom entity recognizer. For more information, see\n Amazon\n VPC.

" + "smithy.api#documentation": "

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing\n the resources you are using for your custom entity recognizer. For more information, see\n Amazon\n VPC.

" } }, "ModelKmsKeyId": { @@ -1488,6 +1488,9 @@ "target": "com.amazonaws.comprehend#CustomerInputString" }, "traits": { + "smithy.api#length": { + "min": 1 + }, "smithy.api#sensitive": {} } }, @@ -1565,7 +1568,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a model-specific endpoint for a previously-trained custom model. All endpoints\n must be deleted in order for the model to be deleted.

" + "smithy.api#documentation": "

Deletes a model-specific endpoint for a previously-trained custom model. All endpoints\n must be deleted in order for the model to be deleted.\n For information about endpoints, see Managing endpoints.

" } }, "com.amazonaws.comprehend#DeleteEndpointRequest": { @@ -1847,7 +1850,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the properties associated with a specific endpoint. Use this operation to get the\n status of an endpoint.

" + "smithy.api#documentation": "

Gets the properties associated with a specific endpoint. Use this operation to get the\n status of an endpoint.\n For information about endpoints, see Managing endpoints.

" } }, "com.amazonaws.comprehend#DescribeEndpointRequest": { @@ -2423,7 +2426,7 @@ "EndpointArn": { "target": "com.amazonaws.comprehend#EntityRecognizerEndpointArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name of an endpoint that is associated with a custom entity\n recognition model. Provide an endpoint if you want to detect entities by using your own custom\n model instead of the default model that is used by Amazon Comprehend.

\n

If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and\n it ignores any language code that you provide in your request.

" + "smithy.api#documentation": "

The Amazon Resource Name of an endpoint that is associated with a custom entity\n recognition model. Provide an endpoint if you want to detect entities by using your own custom\n model instead of the default model that is used by Amazon Comprehend.

\n

If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and\n it ignores any language code that you provide in your request.

\n

For information about endpoints, see Managing endpoints.

" } } } @@ -2540,7 +2543,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the input documents.

", + "smithy.api#documentation": "

The language of the input documents. Currently, English is the only valid language.

", "smithy.api#required": {} } } @@ -2811,7 +2814,7 @@ "VpcConfig": { "target": "com.amazonaws.comprehend#VpcConfig", "traits": { - "smithy.api#documentation": "

Configuration parameters for a private Virtual Private Cloud (VPC) containing the\n resources you are using for your document classification job. For more information, see Amazon\n VPC.

" + "smithy.api#documentation": "

Configuration parameters for a private Virtual Private Cloud (VPC) containing the\n resources you are using for your document classification job. For more information, see Amazon\n VPC.

" } } }, @@ -2933,7 +2936,7 @@ } }, "traits": { - "smithy.api#documentation": "

The input properties for training a document classifier.

\n

For more information on how the input file is formatted, see how-document-classification-training-data.

" + "smithy.api#documentation": "

The input properties for training a document classifier.

\n

For more information on how the input file is formatted, see prep-classifier-data.

" } }, "com.amazonaws.comprehend#DocumentClassifierMode": { @@ -3055,7 +3058,7 @@ "VpcConfig": { "target": "com.amazonaws.comprehend#VpcConfig", "traits": { - "smithy.api#documentation": "

Configuration parameters for a private Virtual Private Cloud (VPC) containing the\n resources you are using for your custom classifier. For more information, see Amazon\n VPC.

" + "smithy.api#documentation": "

Configuration parameters for a private Virtual Private Cloud (VPC) containing the\n resources you are using for your custom classifier. For more information, see Amazon\n VPC.

" } }, "Mode": { @@ -3354,7 +3357,7 @@ "VpcConfig": { "target": "com.amazonaws.comprehend#VpcConfig", "traits": { - "smithy.api#documentation": "

Configuration parameters for a private Virtual Private Cloud (VPC) containing the\n resources you are using for your dominant language detection job. For more information, see\n Amazon\n VPC.

" + "smithy.api#documentation": "

Configuration parameters for a private Virtual Private Cloud (VPC) containing the\n resources you are using for your dominant language detection job. For more information, see\n Amazon\n VPC.

" } } }, @@ -3477,7 +3480,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies information about the specified endpoint.

" + "smithy.api#documentation": "

Specifies information about the specified endpoint.\n For information about endpoints, see Managing endpoints.

" } }, "com.amazonaws.comprehend#EndpointPropertiesList": { @@ -5164,7 +5167,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets a list of all existing endpoints that you've created.

" + "smithy.api#documentation": "

Gets a list of all existing endpoints that you've created.\n For information about endpoints, see Managing endpoints.

" } }, "com.amazonaws.comprehend#ListEndpointsRequest": { @@ -6446,6 +6449,62 @@ { "value": "ALL", "name": "ALL" + }, + { + "value": "LICENSE_PLATE", + "name": "LICENSE_PLATE" + }, + { + "value": "VEHICLE_IDENTIFICATION_NUMBER", + "name": "VEHICLE_IDENTIFICATION_NUMBER" + }, + { + "value": "UK_NATIONAL_INSURANCE_NUMBER", + "name": "UK_NATIONAL_INSURANCE_NUMBER" + }, + { + "value": "CA_SOCIAL_INSURANCE_NUMBER", + "name": "CA_SOCIAL_INSURANCE_NUMBER" + }, + { + "value": "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER", + "name": "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" + }, + { + "value": "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER", + "name": "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" + }, + { + "value": "IN_PERMANENT_ACCOUNT_NUMBER", + "name": "IN_PERMANENT_ACCOUNT_NUMBER" + }, + { + "value": "IN_NREGA", + "name": "IN_NREGA" + }, + { + "value": "INTERNATIONAL_BANK_ACCOUNT_NUMBER", + "name": "INTERNATIONAL_BANK_ACCOUNT_NUMBER" + }, + { + "value": "SWIFT_CODE", + "name": "SWIFT_CODE" + }, + { + "value": "UK_NATIONAL_HEALTH_SERVICE_NUMBER", + "name": "UK_NATIONAL_HEALTH_SERVICE_NUMBER" + }, + { + "value": "CA_HEALTH_NUMBER", + "name": "CA_HEALTH_NUMBER" + }, + { + "value": "IN_AADHAAR", + "name": "IN_AADHAAR" + }, + { + "value": "IN_VOTER_NUMBER", + "name": "IN_VOTER_NUMBER" } ] } @@ -6942,7 +7001,7 @@ "VpcConfig": { "target": "com.amazonaws.comprehend#VpcConfig", "traits": { - "smithy.api#documentation": "

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing\n the resources you are using for your document classification job. For more information, see\n Amazon\n VPC.

" + "smithy.api#documentation": "

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing\n the resources you are using for your document classification job. For more information, see\n Amazon\n VPC.

" } }, "Tags": { @@ -7406,7 +7465,7 @@ "VpcConfig": { "target": "com.amazonaws.comprehend#VpcConfig", "traits": { - "smithy.api#documentation": "

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing\n the resources you are using for your key phrases detection job. For more information, see\n Amazon\n VPC.

" + "smithy.api#documentation": "

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing\n the resources you are using for your key phrases detection job. For more information, see\n Amazon\n VPC.

" } }, "Tags": { @@ -7515,7 +7574,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the input documents.

", + "smithy.api#documentation": "

The language of the input documents. Currently, English is the only valid language.

", "smithy.api#required": {} } }, @@ -7734,7 +7793,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the input documents. You can specify any of the primary languages\n supported by Amazon Comprehend. All documents must be in the same language.

", + "smithy.api#documentation": "

The language of the input documents. Currently, English is the only valid language.

", "smithy.api#required": {} } }, @@ -8180,7 +8239,7 @@ } ], "traits": { - "smithy.api#documentation": "

Stops a sentiment detection job in progress.

\n

If the job state is IN_PROGRESS the job is marked for termination and put\n into the STOP_REQUESTED state. If the job completes before it can be stopped, it\n is put into the COMPLETED state; otherwise the job is be stopped and put into the\n STOPPED state.

\n

If the job is in the COMPLETED or FAILED state when you call the\n StopDominantLanguageDetectionJob operation, the operation returns a 400\n Internal Request Exception.

\n

When a job is stopped, any documents already processed are written to the output\n location.

" + "smithy.api#documentation": "

Stops a sentiment detection job in progress.

\n

If the job state is IN_PROGRESS, the job is marked for termination and put\n into the STOP_REQUESTED state. If the job completes before it can be stopped, it\n is put into the COMPLETED state; otherwise the job is be stopped and put into the\n STOPPED state.

\n

If the job is in the COMPLETED or FAILED state when you call the\n StopDominantLanguageDetectionJob operation, the operation returns a 400\n Internal Request Exception.

\n

When a job is stopped, any documents already processed are written to the output\n location.

" } }, "com.amazonaws.comprehend#StopSentimentDetectionJobRequest": { @@ -8232,7 +8291,7 @@ } ], "traits": { - "smithy.api#documentation": "

Stops a targeted sentiment detection job in progress.

\n

If the job state is IN_PROGRESS the job is marked for termination and put\n into the STOP_REQUESTED state. If the job completes before it can be stopped, it\n is put into the COMPLETED state; otherwise the job is be stopped and put into the\n STOPPED state.

\n

If the job is in the COMPLETED or FAILED state when you call the\n StopDominantLanguageDetectionJob operation, the operation returns a 400\n Internal Request Exception.

\n

When a job is stopped, any documents already processed are written to the output\n location.

" + "smithy.api#documentation": "

Stops a targeted sentiment detection job in progress.

\n

If the job state is IN_PROGRESS, the job is marked for termination and put\n into the STOP_REQUESTED state. If the job completes before it can be stopped, it\n is put into the COMPLETED state; otherwise the job is be stopped and put into the\n STOPPED state.

\n

If the job is in the COMPLETED or FAILED state when you call the\n StopDominantLanguageDetectionJob operation, the operation returns a 400\n Internal Request Exception.

\n

When a job is stopped, any documents already processed are written to the output\n location.

" } }, "com.amazonaws.comprehend#StopTargetedSentimentDetectionJobRequest": { @@ -8952,7 +9011,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates information about the specified endpoint.

" + "smithy.api#documentation": "

Updates information about the specified endpoint.\n For information about endpoints, see Managing endpoints.

" } }, "com.amazonaws.comprehend#UpdateEndpointRequest": { diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index 54edb3855d0..bff22160421 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -57,6 +57,59 @@ } } }, + "com.amazonaws.connect#AgentContactReference": { + "type": "structure", + "members": { + "ContactId": { + "target": "com.amazonaws.connect#ContactId", + "traits": { + "smithy.api#documentation": "

The identifier of the contact in this instance of Amazon Connect.

" + } + }, + "Channel": { + "target": "com.amazonaws.connect#Channel", + "traits": { + "smithy.api#documentation": "

The channel of the contact.

" + } + }, + "InitiationMethod": { + "target": "com.amazonaws.connect#ContactInitiationMethod", + "traits": { + "smithy.api#documentation": "

How the contact was initiated.

" + } + }, + "AgentContactState": { + "target": "com.amazonaws.connect#ContactState", + "traits": { + "smithy.api#documentation": "

The state of the contact.

" + } + }, + "StateStartTimestamp": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The epoch timestamp when the contact state started.

" + } + }, + "ConnectedToAgentTimestamp": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The time at which the contact was connected to an agent.

" + } + }, + "Queue": { + "target": "com.amazonaws.connect#QueueReference" + } + }, + "traits": { + "smithy.api#documentation": "

Information about the contact associated to the\n user.

" + } + }, + "com.amazonaws.connect#AgentContactReferenceList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#AgentContactReference" + } + }, "com.amazonaws.connect#AgentFirstName": { "type": "string", "traits": { @@ -191,6 +244,26 @@ } } }, + "com.amazonaws.connect#AgentStatusReference": { + "type": "structure", + "members": { + "StatusStartTimestamp": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The start timestamp of the agent's status.

" + } + }, + "StatusArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agent's status.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the agent's status.

" + } + }, "com.amazonaws.connect#AgentStatusState": { "type": "string", "traits": { @@ -375,6 +448,9 @@ { "target": "com.amazonaws.connect#CreateSecurityProfile" }, + { + "target": "com.amazonaws.connect#CreateTaskTemplate" + }, { "target": "com.amazonaws.connect#CreateUseCase" }, @@ -408,6 +484,9 @@ { "target": "com.amazonaws.connect#DeleteSecurityProfile" }, + { + "target": "com.amazonaws.connect#DeleteTaskTemplate" + }, { "target": "com.amazonaws.connect#DeleteUseCase" }, @@ -504,12 +583,18 @@ { "target": "com.amazonaws.connect#GetCurrentMetricData" }, + { + "target": "com.amazonaws.connect#GetCurrentUserData" + }, { "target": "com.amazonaws.connect#GetFederationToken" }, { "target": "com.amazonaws.connect#GetMetricData" }, + { + "target": "com.amazonaws.connect#GetTaskTemplate" + }, { "target": "com.amazonaws.connect#ListAgentStatuses" }, @@ -588,6 +673,9 @@ { "target": "com.amazonaws.connect#ListTagsForResource" }, + { + "target": "com.amazonaws.connect#ListTaskTemplates" + }, { "target": "com.amazonaws.connect#ListUseCases" }, @@ -645,6 +733,9 @@ { "target": "com.amazonaws.connect#TagResource" }, + { + "target": "com.amazonaws.connect#TransferContact" + }, { "target": "com.amazonaws.connect#UntagResource" }, @@ -723,6 +814,9 @@ { "target": "com.amazonaws.connect#UpdateSecurityProfile" }, + { + "target": "com.amazonaws.connect#UpdateTaskTemplate" + }, { "target": "com.amazonaws.connect#UpdateUserHierarchy" }, @@ -920,7 +1014,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language.

", + "smithy.api#documentation": "

Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call\n and real-time analysis sessions for the given language.

", "smithy.api#http": { "method": "PUT", "uri": "/default-vocabulary/{InstanceId}/{LanguageCode}", @@ -1434,18 +1528,18 @@ "Value": { "target": "com.amazonaws.connect#ReferenceValue", "traits": { - "smithy.api#documentation": "

Contains the location path of the attachment reference.

" + "smithy.api#documentation": "

The location path of the attachment reference.

" } }, "Status": { "target": "com.amazonaws.connect#ReferenceStatus", "traits": { - "smithy.api#documentation": "

Status of an attachment reference type.

" + "smithy.api#documentation": "

Status of the attachment reference type.

" } } }, "traits": { - "smithy.api#documentation": "

Information about the attachment reference if the referenceType is\n ATTACHMENT. Otherwise, null.

" + "smithy.api#documentation": "

Information about a reference when the referenceType is\n ATTACHMENT. Otherwise, null.

" } }, "com.amazonaws.connect#Attribute": { @@ -1585,6 +1679,15 @@ ] } }, + "com.amazonaws.connect#ChannelToCountMap": { + "type": "map", + "key": { + "target": "com.amazonaws.connect#Channel" + }, + "value": { + "target": "com.amazonaws.connect#IntegerCount" + } + }, "com.amazonaws.connect#Channels": { "type": "list", "member": { @@ -1721,7 +1824,7 @@ "PhoneNumber": { "target": "com.amazonaws.connect#PhoneNumber", "traits": { - "smithy.api#documentation": "

The phone number you want to claim. Phone numbers are formatted [+] [country code] [subscriber number including area code].

", + "smithy.api#documentation": "

The phone number you want to claim. Phone numbers are formatted [+] [country code]\n [subscriber number including area code].

", "smithy.api#required": {} } }, @@ -1955,6 +2058,20 @@ "smithy.api#documentation": "

Contains information about a contact.

" } }, + "com.amazonaws.connect#ContactFilter": { + "type": "structure", + "members": { + "ContactStates": { + "target": "com.amazonaws.connect#ContactStates", + "traits": { + "smithy.api#documentation": "

A list of up to 9 contact states.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Filters user data based on the contact information that is associated to\n the users. It contains a list of contact states.

" + } + }, "com.amazonaws.connect#ContactFlow": { "type": "structure", "members": { @@ -2392,19 +2509,74 @@ "target": "com.amazonaws.connect#Reference" } }, + "com.amazonaws.connect#ContactState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INCOMING", + "name": "INCOMING" + }, + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "CONNECTING", + "name": "CONNECTING" + }, + { + "value": "CONNECTED", + "name": "CONNECTED" + }, + { + "value": "CONNECTED_ONHOLD", + "name": "CONNECTED_ONHOLD" + }, + { + "value": "MISSED", + "name": "MISSED" + }, + { + "value": "ERROR", + "name": "ERROR" + }, + { + "value": "ENDED", + "name": "ENDED" + }, + { + "value": "REJECTED", + "name": "REJECTED" + } + ] + } + }, + "com.amazonaws.connect#ContactStates": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#ContactState" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 9 + } + } + }, "com.amazonaws.connect#ControlPlaneTagFilter": { "type": "structure", "members": { "OrConditions": { "target": "com.amazonaws.connect#TagOrConditionList", "traits": { - "smithy.api#documentation": "

A list of conditions which would be applied together with an OR condition.

" + "smithy.api#documentation": "

A list of conditions which would be applied together with an OR condition.\n

" } }, "AndConditions": { "target": "com.amazonaws.connect#TagAndConditionList", "traits": { - "smithy.api#documentation": "

A list of conditions which would be applied together with an AND condition.

" + "smithy.api#documentation": "

A list of conditions which would be applied together with an AND\n condition.

" } }, "TagCondition": { @@ -2415,7 +2587,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an\n OR of AND (List of List) input where:

\n " + "smithy.api#documentation": "

An object that can be used to specify Tag conditions inside the SearchFilter.\n This accepts an OR of AND (List of List) input where:

\n " } }, "com.amazonaws.connect#CreateAgentStatus": { @@ -3455,6 +3627,126 @@ } } }, + "com.amazonaws.connect#CreateTaskTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#CreateTaskTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connect#CreateTaskTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#PropertyValidationException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a new task template in the specified Amazon Connect instance.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/instance/{InstanceId}/task/template", + "code": 200 + } + } + }, + "com.amazonaws.connect#CreateTaskTemplateRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.connect#TaskTemplateName", + "traits": { + "smithy.api#documentation": "

The name of the task template.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.connect#TaskTemplateDescription", + "traits": { + "smithy.api#documentation": "

The description of the task template.

" + } + }, + "ContactFlowId": { + "target": "com.amazonaws.connect#ContactFlowId", + "traits": { + "smithy.api#documentation": "

The identifier of the flow that runs by default when a task is created by referencing this template.

" + } + }, + "Constraints": { + "target": "com.amazonaws.connect#TaskTemplateConstraints", + "traits": { + "smithy.api#documentation": "

Constraints that are applicable to the fields listed.

" + } + }, + "Defaults": { + "target": "com.amazonaws.connect#TaskTemplateDefaults", + "traits": { + "smithy.api#documentation": "

The default values for fields when a task is created by referencing this template.

" + } + }, + "Status": { + "target": "com.amazonaws.connect#TaskTemplateStatus", + "traits": { + "smithy.api#documentation": "

Marks a template as ACTIVE or INACTIVE for a task to refer to it. \nTasks can only be created from ACTIVE templates.\nIf a template is marked as INACTIVE, then a task that refers to this template cannot be created.

" + } + }, + "Fields": { + "target": "com.amazonaws.connect#TaskTemplateFields", + "traits": { + "smithy.api#documentation": "

Fields that are part of the template.

", + "smithy.api#required": {} + } + }, + "ClientToken": { + "target": "com.amazonaws.connect#ClientToken", + "traits": { + "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.connect#CreateTaskTemplateResponse": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#TaskTemplateId", + "traits": { + "smithy.api#documentation": "

The identifier of the task template resource.

", + "smithy.api#required": {} + } + }, + "Arn": { + "target": "com.amazonaws.connect#TaskTemplateArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the task template resource.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.connect#CreateUseCase": { "type": "operation", "input": { @@ -3832,7 +4124,7 @@ "Content": { "target": "com.amazonaws.connect#VocabularyContent", "traits": { - "smithy.api#documentation": "

The content of the custom vocabulary in plain-text format with a table of values. Each row\n in the table represents a word or a phrase, described with Phrase, IPA,\n SoundsLike, and DisplayAs fields. Separate the fields with TAB\n characters. The size limit is 50KB. For more information, see Create a custom\n vocabulary using a table.

", + "smithy.api#documentation": "

The content of the custom vocabulary in plain-text format with a table of values. Each row\n in the table represents a word or a phrase, described with Phrase, IPA,\n SoundsLike, and DisplayAs fields. Separate the fields with TAB\n characters. The size limit is 50KB. For more information, see Create a custom\n vocabulary using a table.

", "smithy.api#required": {} } }, @@ -4041,6 +4333,26 @@ "target": "com.amazonaws.connect#CurrentMetric" } }, + "com.amazonaws.connect#DateReference": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.connect#ReferenceKey", + "traits": { + "smithy.api#documentation": "

Identifier of the date reference.

" + } + }, + "Value": { + "target": "com.amazonaws.connect#ReferenceValue", + "traits": { + "smithy.api#documentation": "

A valid date.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is DATE.\n Otherwise, null.

" + } + }, "com.amazonaws.connect#DefaultVocabulary": { "type": "structure", "members": { @@ -4476,18 +4788,21 @@ } } }, - "com.amazonaws.connect#DeleteUseCase": { + "com.amazonaws.connect#DeleteTaskTemplate": { "type": "operation", "input": { - "target": "com.amazonaws.connect#DeleteUseCaseRequest" + "target": "com.amazonaws.connect#DeleteTaskTemplateRequest" }, "output": { - "target": "smithy.api#Unit" + "target": "com.amazonaws.connect#DeleteTaskTemplateResponse" }, "errors": [ { "target": "com.amazonaws.connect#InternalServiceException" }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, { "target": "com.amazonaws.connect#InvalidRequestException" }, @@ -4499,15 +4814,15 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a use case from an integration association.

", + "smithy.api#documentation": "

Deletes the task template.

", "smithy.api#http": { "method": "DELETE", - "uri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}", + "uri": "/instance/{InstanceId}/task/template/{TaskTemplateId}", "code": 200 } } }, - "com.amazonaws.connect#DeleteUseCaseRequest": { + "com.amazonaws.connect#DeleteTaskTemplateRequest": { "type": "structure", "members": { "InstanceId": { @@ -4518,28 +4833,24 @@ "smithy.api#required": {} } }, - "IntegrationAssociationId": { - "target": "com.amazonaws.connect#IntegrationAssociationId", - "traits": { - "smithy.api#documentation": "

The identifier for the integration association.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "UseCaseId": { - "target": "com.amazonaws.connect#UseCaseId", + "TaskTemplateId": { + "target": "com.amazonaws.connect#TaskTemplateId", "traits": { - "smithy.api#documentation": "

The identifier for the use case.

", + "smithy.api#documentation": "

A unique identifier for the task template.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, - "com.amazonaws.connect#DeleteUser": { + "com.amazonaws.connect#DeleteTaskTemplateResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connect#DeleteUseCase": { "type": "operation", "input": { - "target": "com.amazonaws.connect#DeleteUserRequest" + "target": "com.amazonaws.connect#DeleteUseCaseRequest" }, "output": { "target": "smithy.api#Unit" @@ -4548,9 +4859,69 @@ { "target": "com.amazonaws.connect#InternalServiceException" }, - { - "target": "com.amazonaws.connect#InvalidParameterException" - }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a use case from an integration association.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}", + "code": 200 + } + } + }, + "com.amazonaws.connect#DeleteUseCaseRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "IntegrationAssociationId": { + "target": "com.amazonaws.connect#IntegrationAssociationId", + "traits": { + "smithy.api#documentation": "

The identifier for the integration association.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "UseCaseId": { + "target": "com.amazonaws.connect#UseCaseId", + "traits": { + "smithy.api#documentation": "

The identifier for the use case.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connect#DeleteUser": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#DeleteUserRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, { "target": "com.amazonaws.connect#InvalidRequestException" }, @@ -5834,7 +6205,7 @@ "Vocabulary": { "target": "com.amazonaws.connect#Vocabulary", "traits": { - "smithy.api#documentation": "

A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They\n are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or\n proper nouns.

", + "smithy.api#documentation": "

A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are\n generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper\n nouns.

", "smithy.api#required": {} } } @@ -6247,7 +6618,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes the contact flow association from a phone number claimed to your Amazon Connect instance, if a contact flow association exists.

", + "smithy.api#documentation": "

Removes the contact flow association from a phone number claimed to your Amazon Connect instance, if\n a contact flow association exists.

", "smithy.api#http": { "method": "DELETE", "uri": "/phone-number/{PhoneNumberId}/contact-flow", @@ -6480,6 +6851,26 @@ "com.amazonaws.connect#Email": { "type": "string" }, + "com.amazonaws.connect#EmailReference": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.connect#ReferenceKey", + "traits": { + "smithy.api#documentation": "

Identifier of the email reference.

" + } + }, + "Value": { + "target": "com.amazonaws.connect#ReferenceValue", + "traits": { + "smithy.api#documentation": "

A valid email address.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is EMAIL.\n Otherwise, null.

" + } + }, "com.amazonaws.connect#EncryptionConfig": { "type": "structure", "members": { @@ -6716,6 +7107,95 @@ } } }, + "com.amazonaws.connect#GetCurrentUserData": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#GetCurrentUserDataRequest" + }, + "output": { + "target": "com.amazonaws.connect#GetCurrentUserDataResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets the real-time active user data from the specified Amazon Connect instance.

", + "smithy.api#http": { + "method": "POST", + "uri": "/metrics/userdata/{InstanceId}", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.connect#GetCurrentUserDataRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Filters": { + "target": "com.amazonaws.connect#UserDataFilters", + "traits": { + "smithy.api#documentation": "

Filters up to 100 Queues, or up to 9 ContactStates. The user data is retrieved only for those users who are associated with\n the queues and have contacts that are in the specified ContactState.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.connect#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.connect#MaxResult100", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of results to return per page.

" + } + } + } + }, + "com.amazonaws.connect#GetCurrentUserDataResponse": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.connect#NextToken", + "traits": { + "smithy.api#documentation": "

If there are additional results, this is the token for the next set of results.

" + } + }, + "UserDataList": { + "target": "com.amazonaws.connect#UserDataList", + "traits": { + "smithy.api#documentation": "

A list of the user data that is returned.

" + } + } + } + }, "com.amazonaws.connect#GetFederationToken": { "type": "operation", "input": { @@ -6893,79 +7373,227 @@ } } }, - "com.amazonaws.connect#Grouping": { - "type": "string", + "com.amazonaws.connect#GetTaskTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#GetTaskTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connect#GetTaskTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], "traits": { - "smithy.api#enum": [ - { - "value": "QUEUE", - "name": "QUEUE" - }, - { - "value": "CHANNEL", - "name": "CHANNEL" - } - ] + "smithy.api#documentation": "

Gets details about a specific task template in the specified Amazon Connect instance.

", + "smithy.api#http": { + "method": "GET", + "uri": "/instance/{InstanceId}/task/template/{TaskTemplateId}", + "code": 200 + } } }, - "com.amazonaws.connect#Groupings": { - "type": "list", - "member": { - "target": "com.amazonaws.connect#Grouping" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 2 + "com.amazonaws.connect#GetTaskTemplateRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "TaskTemplateId": { + "target": "com.amazonaws.connect#TaskTemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the task template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "SnapshotVersion": { + "target": "com.amazonaws.connect#SnapshotVersion", + "traits": { + "smithy.api#documentation": "

The system generated version of a task template that is associated with a task, when the\n task is created.

", + "smithy.api#httpQuery": "snapshotVersion" + } } } }, - "com.amazonaws.connect#HierarchyGroup": { + "com.amazonaws.connect#GetTaskTemplateResponse": { "type": "structure", "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

" + } + }, "Id": { - "target": "com.amazonaws.connect#HierarchyGroupId", + "target": "com.amazonaws.connect#TaskTemplateId", "traits": { - "smithy.api#documentation": "

The identifier of the hierarchy group.

" + "smithy.api#documentation": "

A unique identifier for the task template.

", + "smithy.api#required": {} } }, "Arn": { - "target": "com.amazonaws.connect#ARN", + "target": "com.amazonaws.connect#TaskTemplateArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hierarchy group.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN).

", + "smithy.api#required": {} } }, "Name": { - "target": "com.amazonaws.connect#HierarchyGroupName", + "target": "com.amazonaws.connect#TaskTemplateName", "traits": { - "smithy.api#documentation": "

The name of the hierarchy group.

" + "smithy.api#documentation": "

The name of the task template.

", + "smithy.api#required": {} } }, - "LevelId": { - "target": "com.amazonaws.connect#HierarchyLevelId", + "Description": { + "target": "com.amazonaws.connect#TaskTemplateDescription", "traits": { - "smithy.api#documentation": "

The identifier of the level in the hierarchy group.

" + "smithy.api#documentation": "

The description of the task template.

" } }, - "HierarchyPath": { - "target": "com.amazonaws.connect#HierarchyPath", + "ContactFlowId": { + "target": "com.amazonaws.connect#ContactFlowId", "traits": { - "smithy.api#documentation": "

Information about the levels in the hierarchy group.

" + "smithy.api#documentation": "

The identifier of the flow that runs by default when a task is created by referencing this template.

" } }, - "Tags": { - "target": "com.amazonaws.connect#TagMap", + "Constraints": { + "target": "com.amazonaws.connect#TaskTemplateConstraints", "traits": { - "smithy.api#documentation": "

The tags used to organize, track, or control access for this resource.

" + "smithy.api#documentation": "

Constraints that are applicable to the fields listed.

" } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about a hierarchy group.

" - } - }, - "com.amazonaws.connect#HierarchyGroupCondition": { - "type": "structure", + }, + "Defaults": { + "target": "com.amazonaws.connect#TaskTemplateDefaults", + "traits": { + "smithy.api#documentation": "

The default values for fields when a task is created by referencing this template.

" + } + }, + "Fields": { + "target": "com.amazonaws.connect#TaskTemplateFields", + "traits": { + "smithy.api#documentation": "

Fields that are part of the template.

" + } + }, + "Status": { + "target": "com.amazonaws.connect#TaskTemplateStatus", + "traits": { + "smithy.api#documentation": "

Marks a template as ACTIVE or INACTIVE for a task to refer to it. \nTasks can only be created from ACTIVE templates.\nIf a template is marked as INACTIVE, then a task that refers to this template cannot be created.

" + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the task template was last modified.

" + } + }, + "CreatedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the task template was created.

" + } + }, + "Tags": { + "target": "com.amazonaws.connect#TagMap", + "traits": { + "smithy.api#documentation": "

The tags used to organize, track, or control access for this resource.

" + } + } + } + }, + "com.amazonaws.connect#Grouping": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "QUEUE", + "name": "QUEUE" + }, + { + "value": "CHANNEL", + "name": "CHANNEL" + } + ] + } + }, + "com.amazonaws.connect#Groupings": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#Grouping" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 2 + } + } + }, + "com.amazonaws.connect#HierarchyGroup": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#HierarchyGroupId", + "traits": { + "smithy.api#documentation": "

The identifier of the hierarchy group.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hierarchy group.

" + } + }, + "Name": { + "target": "com.amazonaws.connect#HierarchyGroupName", + "traits": { + "smithy.api#documentation": "

The name of the hierarchy group.

" + } + }, + "LevelId": { + "target": "com.amazonaws.connect#HierarchyLevelId", + "traits": { + "smithy.api#documentation": "

The identifier of the level in the hierarchy group.

" + } + }, + "HierarchyPath": { + "target": "com.amazonaws.connect#HierarchyPath", + "traits": { + "smithy.api#documentation": "

Information about the levels in the hierarchy group.

" + } + }, + "Tags": { + "target": "com.amazonaws.connect#TagMap", + "traits": { + "smithy.api#documentation": "

The tags used to organize, track, or control access for this resource.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about a hierarchy group.

" + } + }, + "com.amazonaws.connect#HierarchyGroupCondition": { + "type": "structure", "members": { "Value": { "target": "com.amazonaws.connect#String", @@ -7037,6 +7665,26 @@ "target": "com.amazonaws.connect#HierarchyGroupSummary" } }, + "com.amazonaws.connect#HierarchyGroupSummaryReference": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#HierarchyGroupId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the hierarchy group.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the hierarchy group.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the hierarchy group.

" + } + }, "com.amazonaws.connect#HierarchyLevel": { "type": "structure", "members": { @@ -7122,6 +7770,44 @@ "smithy.api#documentation": "

Contains information about the levels of a hierarchy group.

" } }, + "com.amazonaws.connect#HierarchyPathReference": { + "type": "structure", + "members": { + "LevelOne": { + "target": "com.amazonaws.connect#HierarchyGroupSummaryReference", + "traits": { + "smithy.api#documentation": "

Information about level one.

" + } + }, + "LevelTwo": { + "target": "com.amazonaws.connect#HierarchyGroupSummaryReference", + "traits": { + "smithy.api#documentation": "

Information about level two.

" + } + }, + "LevelThree": { + "target": "com.amazonaws.connect#HierarchyGroupSummaryReference", + "traits": { + "smithy.api#documentation": "

Information about level three.

" + } + }, + "LevelFour": { + "target": "com.amazonaws.connect#HierarchyGroupSummaryReference", + "traits": { + "smithy.api#documentation": "

Information about level four.

" + } + }, + "LevelFive": { + "target": "com.amazonaws.connect#HierarchyGroupSummaryReference", + "traits": { + "smithy.api#documentation": "

Information about level five.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the levels in the hierarchy group.

" + } + }, "com.amazonaws.connect#HierarchyStructure": { "type": "structure", "members": { @@ -7943,6 +8629,15 @@ "target": "com.amazonaws.connect#InstanceSummary" } }, + "com.amazonaws.connect#IntegerCount": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0 + } + } + }, "com.amazonaws.connect#IntegrationAssociationId": { "type": "string", "traits": { @@ -8118,6 +8813,26 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.connect#InvisibleFieldInfo": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#TaskTemplateFieldIdentifier", + "traits": { + "smithy.api#documentation": "

Identifier of the invisible field.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A field that is invisible to an agent.

" + } + }, + "com.amazonaws.connect#InvisibleTaskTemplateFields": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#InvisibleFieldInfo" + } + }, "com.amazonaws.connect#KeyId": { "type": "string", "traits": { @@ -9696,7 +10411,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists phone numbers claimed to your Amazon Connect instance.

\n

For more information about phone numbers, see Set Up Phone Numbers for Your\n Contact Center in the Amazon Connect Administrator Guide.

", + "smithy.api#documentation": "

Lists phone numbers claimed to your Amazon Connect instance.

\n

For more information about phone numbers, see Set Up Phone Numbers for Your\n Contact Center in the Amazon Connect Administrator Guide.

", "smithy.api#http": { "method": "POST", "uri": "/phone-number/list", @@ -9716,7 +10431,7 @@ "TargetArn": { "target": "com.amazonaws.connect#ARN", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If TargetArn input is not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If TargetArn input is not provided, this API lists numbers claimed\n to all the Amazon Connect instances belonging to your account.

" } }, "MaxResults": { @@ -10629,6 +11344,105 @@ } } }, + "com.amazonaws.connect#ListTaskTemplates": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#ListTaskTemplatesRequest" + }, + "output": { + "target": "com.amazonaws.connect#ListTaskTemplatesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists task templates for the specified Amazon Connect instance.

", + "smithy.api#http": { + "method": "GET", + "uri": "/instance/{InstanceId}/task/template", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "TaskTemplates", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.connect#ListTaskTemplatesRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.connect#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

\n \n

It is not expected that you set this because the value returned in the previous response is\n always null.

\n
", + "smithy.api#httpQuery": "nextToken" + } + }, + "MaxResults": { + "target": "com.amazonaws.connect#MaxResult100", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of results to return per page.

\n \n

It is not expected that you set this.

\n
", + "smithy.api#httpQuery": "maxResults" + } + }, + "Status": { + "target": "com.amazonaws.connect#TaskTemplateStatus", + "traits": { + "smithy.api#documentation": "

Marks a template as ACTIVE or INACTIVE for a task to refer to it. \nTasks can only be created from ACTIVE templates.\nIf a template is marked as INACTIVE, then a task that refers to this template cannot be created.

", + "smithy.api#httpQuery": "status" + } + }, + "Name": { + "target": "com.amazonaws.connect#TaskTemplateName", + "traits": { + "smithy.api#documentation": "

The name of the task template.

", + "smithy.api#httpQuery": "name" + } + } + } + }, + "com.amazonaws.connect#ListTaskTemplatesResponse": { + "type": "structure", + "members": { + "TaskTemplates": { + "target": "com.amazonaws.connect#TaskTemplateList", + "traits": { + "smithy.api#documentation": "

Provides details about a list of task templates belonging to an instance.

" + } + }, + "NextToken": { + "target": "com.amazonaws.connect#NextToken", + "traits": { + "smithy.api#documentation": "

If there are additional results, this is the token for the next set of results.

\n \n

This is always returned as a null in the response.

\n
" + } + } + } + }, "com.amazonaws.connect#ListUseCases": { "type": "operation", "input": { @@ -11007,12 +11821,32 @@ } } }, - "com.amazonaws.connect#Origin": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 267 + "com.amazonaws.connect#NumberReference": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.connect#ReferenceKey", + "traits": { + "smithy.api#documentation": "

Identifier of the number reference.

" + } + }, + "Value": { + "target": "com.amazonaws.connect#ReferenceValue", + "traits": { + "smithy.api#documentation": "

A valid number.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is NUMBER.\n Otherwise, null.

" + } + }, + "com.amazonaws.connect#Origin": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 267 } } }, @@ -12388,6 +13222,91 @@ "target": "com.amazonaws.connect#PromptSummary" } }, + "com.amazonaws.connect#PropertyValidationException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.connect#Message", + "traits": { + "smithy.api#required": {} + } + }, + "PropertyList": { + "target": "com.amazonaws.connect#PropertyValidationExceptionPropertyList" + } + }, + "traits": { + "smithy.api#documentation": "

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.connect#PropertyValidationExceptionProperty": { + "type": "structure", + "members": { + "PropertyPath": { + "target": "com.amazonaws.connect#String", + "traits": { + "smithy.api#documentation": "

The full property path.

", + "smithy.api#required": {} + } + }, + "Reason": { + "target": "com.amazonaws.connect#PropertyValidationExceptionReason", + "traits": { + "smithy.api#documentation": "

Why the property is not valid.

", + "smithy.api#required": {} + } + }, + "Message": { + "target": "com.amazonaws.connect#Message", + "traits": { + "smithy.api#documentation": "

A message describing why the property is not valid.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about why a property is not valid.

" + } + }, + "com.amazonaws.connect#PropertyValidationExceptionPropertyList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#PropertyValidationExceptionProperty" + } + }, + "com.amazonaws.connect#PropertyValidationExceptionReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INVALID_FORMAT", + "name": "INVALID_FORMAT" + }, + { + "value": "UNIQUE_CONSTRAINT_VIOLATED", + "name": "UNIQUE_CONSTRAINT_VIOLATED" + }, + { + "value": "REFERENCED_RESOURCE_NOT_FOUND", + "name": "REFERENCED_RESOURCE_NOT_FOUND" + }, + { + "value": "RESOURCE_NAME_ALREADY_EXISTS", + "name": "RESOURCE_NAME_ALREADY_EXISTS" + }, + { + "value": "REQUIRED_PROPERTY_MISSING", + "name": "REQUIRED_PROPERTY_MISSING" + }, + { + "value": "NOT_SUPPORTED", + "name": "NOT_SUPPORTED" + } + ] + } + }, "com.amazonaws.connect#PutUserStatus": { "type": "operation", "input": { @@ -12417,7 +13336,7 @@ } ], "traits": { - "smithy.api#documentation": "

Changes the current status of a user or agent in Amazon Connect.\n If the agent is currently handling a contact, this sets the agent's next status.

\n

For more information, see Agent status \n and Set your next status\n in the Amazon Connect Administrator Guide.

", + "smithy.api#documentation": "

Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a\n contact, this sets the agent's next status.

\n

For more information, see Agent status and Set your next\n status in the Amazon Connect Administrator Guide.

", "smithy.api#http": { "method": "PUT", "uri": "/users/{InstanceId}/{UserId}/status", @@ -12882,6 +13801,26 @@ } } }, + "com.amazonaws.connect#ReadOnlyFieldInfo": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#TaskTemplateFieldIdentifier", + "traits": { + "smithy.api#documentation": "

Identifier of the read-only field.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates a field that is read-only to an agent.

" + } + }, + "com.amazonaws.connect#ReadOnlyTaskTemplateFields": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#ReadOnlyFieldInfo" + } + }, "com.amazonaws.connect#Reference": { "type": "structure", "members": { @@ -12895,13 +13834,13 @@ "Type": { "target": "com.amazonaws.connect#ReferenceType", "traits": { - "smithy.api#documentation": "

The type of the reference. Only URL type can be added or updated on a\n contact.

", + "smithy.api#documentation": "

The type of the reference.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A link that an agent selects to complete a given task. You can have up to 4,096 UTF-8 bytes\n across all references for a contact.

" + "smithy.api#documentation": "

Well-formed data on a contact, used by agents to complete a contact request. You can have up\n to 4,096 UTF-8 bytes across all references for a contact.

" } }, "com.amazonaws.connect#ReferenceKey": { @@ -12934,13 +13873,37 @@ "Url": { "target": "com.amazonaws.connect#UrlReference", "traits": { - "smithy.api#documentation": "

Information about the URL reference if the referenceType is URL.\n Otherwise, null.

" + "smithy.api#documentation": "

Information about the reference when the referenceType is URL.\n Otherwise, null.

" } }, "Attachment": { "target": "com.amazonaws.connect#AttachmentReference", "traits": { - "smithy.api#documentation": "

Information about the attachment reference if the referenceType is\n ATTACHMENT. Otherwise, null.

" + "smithy.api#documentation": "

Information about the reference when the referenceType is\n ATTACHMENT. Otherwise, null.

" + } + }, + "String": { + "target": "com.amazonaws.connect#StringReference", + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is STRING.\n Otherwise, null.

" + } + }, + "Number": { + "target": "com.amazonaws.connect#NumberReference", + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is NUMBER.\n Otherwise, null.

" + } + }, + "Date": { + "target": "com.amazonaws.connect#DateReference", + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is DATE.\n Otherwise, null.

" + } + }, + "Email": { + "target": "com.amazonaws.connect#EmailReference", + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is EMAIL.\n Otherwise, null.

" } } }, @@ -12965,6 +13928,22 @@ { "value": "ATTACHMENT", "name": "ATTACHMENT" + }, + { + "value": "NUMBER", + "name": "NUMBER" + }, + { + "value": "STRING", + "name": "STRING" + }, + { + "value": "DATE", + "name": "DATE" + }, + { + "value": "EMAIL", + "name": "EMAIL" } ] } @@ -12977,7 +13956,7 @@ "traits": { "smithy.api#length": { "min": 0, - "max": 2 + "max": 6 } } }, @@ -13051,6 +14030,26 @@ } } }, + "com.amazonaws.connect#RequiredFieldInfo": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#TaskTemplateFieldIdentifier", + "traits": { + "smithy.api#documentation": "

The unique identifier for the field.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a required field.

" + } + }, + "com.amazonaws.connect#RequiredTaskTemplateFields": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#RequiredFieldInfo" + } + }, "com.amazonaws.connect#ResourceConflictException": { "type": "structure", "members": { @@ -13402,6 +14401,26 @@ "target": "com.amazonaws.connect#RoutingProfileQueueReference" } }, + "com.amazonaws.connect#RoutingProfileReference": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#RoutingProfileId", + "traits": { + "smithy.api#documentation": "

The identifier of the routing profile.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the routing profile.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the routing profile assigned to the user.

" + } + }, "com.amazonaws.connect#RoutingProfileSummary": { "type": "structure", "members": { @@ -13680,7 +14699,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "POST", "uri": "/vocabulary-summary/{InstanceId}", @@ -13917,6 +14936,15 @@ "smithy.api#httpError": 402 } }, + "com.amazonaws.connect#SingleSelectOptions": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#TaskTemplateSingleSelectOption" + } + }, + "com.amazonaws.connect#SnapshotVersion": { + "type": "string" + }, "com.amazonaws.connect#SourceApplicationName": { "type": "string", "traits": { @@ -13968,7 +14996,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

\n\n

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

\n\n

A 429 error occurs in the following situations:

\n \n

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

\n\n

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

", + "smithy.api#documentation": "

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

\n\n

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

\n\n

A 429 error occurs in the following situations:

\n \n

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

\n\n

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

", "smithy.api#http": { "method": "PUT", "uri": "/contact/chat", @@ -14022,13 +15050,13 @@ "ChatDurationInMinutes": { "target": "com.amazonaws.connect#ChatDurationInMinutes", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } }, "SupportedMessagingContentTypes": { "target": "com.amazonaws.connect#SupportedMessagingContentTypes", "traits": { - "smithy.api#documentation": "

The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.

" + "smithy.api#documentation": "

The supported chat message content types. Content types can be text/plain or both text/plain\n and text/markdown.

" } } } @@ -14079,7 +15107,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts recording the contact:

\n \n \n

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

\n

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

\n

Only voice recordings are supported at this time.

", + "smithy.api#documentation": "

Starts recording the contact:

\n \n\n

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

\n

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

\n

Only voice recordings are supported at this time.

", "smithy.api#http": { "method": "POST", "uri": "/contact/start-recording", @@ -14380,8 +15408,7 @@ "ContactFlowId": { "target": "com.amazonaws.connect#ContactFlowId", "traits": { - "smithy.api#documentation": "

The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the\n Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On\n the contact flow page, under the name of the contact flow, choose Show\n additional flow information. The ContactFlowId is the last part of the ARN, shown\n here in bold:

\n

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx\n

", - "smithy.api#required": {} + "smithy.api#documentation": "

The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the\n Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On\n the contact flow page, under the name of the contact flow, choose Show\n additional flow information. The ContactFlowId is the last part of the ARN, shown\n here in bold:

\n

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx\n

" } }, "Attributes": { @@ -14421,6 +15448,18 @@ "traits": { "smithy.api#documentation": "

The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.

" } + }, + "TaskTemplateId": { + "target": "com.amazonaws.connect#TaskTemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the task template.

" + } + }, + "QuickConnectId": { + "target": "com.amazonaws.connect#QuickConnectId", + "traits": { + "smithy.api#documentation": "

The identifier for the quick connect.

" + } } } }, @@ -14480,7 +15519,7 @@ } ], "traits": { - "smithy.api#documentation": "

Ends the specified contact. This call does not work for the following initiation methods:

\n ", + "smithy.api#documentation": "

Ends the specified contact. This call does not work for the following initiation\n methods:

\n \n ", "smithy.api#http": { "method": "POST", "uri": "/contact/stop", @@ -14707,7 +15746,27 @@ } }, "traits": { - "smithy.api#documentation": "

A leaf node condition which can be used to specify a string condition, for example,\n username = 'abc'.

" + "smithy.api#documentation": "

A leaf node condition which can be used to specify a string condition, for example,\n username = 'abc'.

" + } + }, + "com.amazonaws.connect#StringReference": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.connect#ReferenceKey", + "traits": { + "smithy.api#documentation": "

Identifier of the string reference.

" + } + }, + "Value": { + "target": "com.amazonaws.connect#ReferenceValue", + "traits": { + "smithy.api#documentation": "

A valid string.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a reference when the referenceType is STRING.\n Otherwise, null.

" } }, "com.amazonaws.connect#SupportedMessagingContentType": { @@ -14806,7 +15865,7 @@ } }, "traits": { - "smithy.api#documentation": "

A leaf node condition which can be used to specify a tag condition, for example, HAVE\n BPO = 123.

" + "smithy.api#documentation": "

A leaf node condition which can be used to specify a tag condition, for example, HAVE\n BPO = 123.

" } }, "com.amazonaws.connect#TagKey": { @@ -14878,7 +15937,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds the specified tags to the specified resource.

\n

The supported resource types are users, routing profiles, queues, quick connects, contact\n flows, agent status, hours of operation, and phone number.

\n

For sample policies that use tags, see Amazon Connect Identity-Based\n Policy Examples in the Amazon Connect Administrator Guide.

", + "smithy.api#documentation": "

Adds the specified tags to the specified resource.

\n

The supported resource types are users, routing profiles, queues, quick connects, contact\n flows, agent status, hours of operation, phone number, security profiles, and task\n templates.

\n

For sample policies that use tags, see Amazon Connect Identity-Based\n Policy Examples in the Amazon Connect Administrator Guide.

", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}", @@ -14915,69 +15974,488 @@ } } }, - "com.amazonaws.connect#Threshold": { + "com.amazonaws.connect#TaskTemplateArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connect#TaskTemplateConstraints": { "type": "structure", "members": { - "Comparison": { - "target": "com.amazonaws.connect#Comparison", + "RequiredFields": { + "target": "com.amazonaws.connect#RequiredTaskTemplateFields", + "traits": { + "smithy.api#documentation": "

Lists the fields that are required to be filled by agents.

" + } + }, + "ReadOnlyFields": { + "target": "com.amazonaws.connect#ReadOnlyTaskTemplateFields", + "traits": { + "smithy.api#documentation": "

Lists the fields that are read-only to agents, and cannot be edited.

" + } + }, + "InvisibleFields": { + "target": "com.amazonaws.connect#InvisibleTaskTemplateFields", + "traits": { + "smithy.api#documentation": "

Lists the fields that are invisible to agents.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes constraints that apply to the template fields.

" + } + }, + "com.amazonaws.connect#TaskTemplateDefaultFieldValue": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#TaskTemplateFieldIdentifier", + "traits": { + "smithy.api#documentation": "

Identifier of a field.

" + } + }, + "DefaultValue": { + "target": "com.amazonaws.connect#TaskTemplateFieldValue", + "traits": { + "smithy.api#documentation": "

Default value for the field.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes a default field and its corresponding value.

" + } + }, + "com.amazonaws.connect#TaskTemplateDefaultFieldValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#TaskTemplateDefaultFieldValue" + } + }, + "com.amazonaws.connect#TaskTemplateDefaults": { + "type": "structure", + "members": { + "DefaultFieldValues": { + "target": "com.amazonaws.connect#TaskTemplateDefaultFieldValueList", + "traits": { + "smithy.api#documentation": "

Default value for the field.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes default values for fields on a template.

" + } + }, + "com.amazonaws.connect#TaskTemplateDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.connect#TaskTemplateField": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#TaskTemplateFieldIdentifier", + "traits": { + "smithy.api#documentation": "

The unique identifier for the field.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.connect#TaskTemplateFieldDescription", + "traits": { + "smithy.api#documentation": "

The description of the field.

" + } + }, + "Type": { + "target": "com.amazonaws.connect#TaskTemplateFieldType", + "traits": { + "smithy.api#documentation": "

Indicates the type of field.

" + } + }, + "SingleSelectOptions": { + "target": "com.amazonaws.connect#SingleSelectOptions", + "traits": { + "smithy.api#documentation": "

A list of options for a single select field.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes a single task template field.

" + } + }, + "com.amazonaws.connect#TaskTemplateFieldDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.connect#TaskTemplateFieldIdentifier": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.connect#TaskTemplateFieldName", + "traits": { + "smithy.api#documentation": "

The name of the task template field.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The identifier of the task template field.

" + } + }, + "com.amazonaws.connect#TaskTemplateFieldName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connect#TaskTemplateFieldType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NAME", + "name": "NAME" + }, + { + "value": "DESCRIPTION", + "name": "DESCRIPTION" + }, + { + "value": "SCHEDULED_TIME", + "name": "SCHEDULED_TIME" + }, + { + "value": "QUICK_CONNECT", + "name": "QUICK_CONNECT" + }, + { + "value": "URL", + "name": "URL" + }, + { + "value": "NUMBER", + "name": "NUMBER" + }, + { + "value": "TEXT", + "name": "TEXT" + }, + { + "value": "TEXT_AREA", + "name": "TEXT_AREA" + }, + { + "value": "DATE_TIME", + "name": "DATE_TIME" + }, + { + "value": "BOOLEAN", + "name": "BOOLEAN" + }, + { + "value": "SINGLE_SELECT", + "name": "SINGLE_SELECT" + }, + { + "value": "EMAIL", + "name": "EMAIL" + } + ] + } + }, + "com.amazonaws.connect#TaskTemplateFieldValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 4096 + } + } + }, + "com.amazonaws.connect#TaskTemplateFields": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#TaskTemplateField" + } + }, + "com.amazonaws.connect#TaskTemplateId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connect#TaskTemplateList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#TaskTemplateMetadata" + } + }, + "com.amazonaws.connect#TaskTemplateMetadata": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#TaskTemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the task template.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#TaskTemplateArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task template.

" + } + }, + "Name": { + "target": "com.amazonaws.connect#TaskTemplateName", + "traits": { + "smithy.api#documentation": "

The name of the task template.

" + } + }, + "Description": { + "target": "com.amazonaws.connect#TaskTemplateDescription", + "traits": { + "smithy.api#documentation": "

The description of the task template.

" + } + }, + "Status": { + "target": "com.amazonaws.connect#TaskTemplateStatus", + "traits": { + "smithy.api#documentation": "

Marks a template as ACTIVE or INACTIVE for a task to refer to it. \nTasks can only be created from ACTIVE templates.\nIf a template is marked as INACTIVE, then a task that refers to this template cannot be created.

" + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the task template was last modified.

" + } + }, + "CreatedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the task template was created.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains summary information about the task template.

" + } + }, + "com.amazonaws.connect#TaskTemplateName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connect#TaskTemplateSingleSelectOption": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connect#TaskTemplateStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "INACTIVE", + "name": "INACTIVE" + } + ] + } + }, + "com.amazonaws.connect#Threshold": { + "type": "structure", + "members": { + "Comparison": { + "target": "com.amazonaws.connect#Comparison", + "traits": { + "smithy.api#documentation": "

The type of comparison. Only \"less than\" (LT) comparisons are supported.

" + } + }, + "ThresholdValue": { + "target": "com.amazonaws.connect#ThresholdValue", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The threshold value to compare.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the threshold for service level metrics.

" + } + }, + "com.amazonaws.connect#ThresholdValue": { + "type": "double", + "traits": { + "smithy.api#box": {} + } + }, + "com.amazonaws.connect#ThrottlingException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.connect#Message" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "ThrottlingException", + "httpResponseCode": 429 + }, + "smithy.api#documentation": "

The throttling limit has been exceeded.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.connect#TimeZone": { + "type": "string" + }, + "com.amazonaws.connect#Timestamp": { + "type": "timestamp" + }, + "com.amazonaws.connect#TrafficType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "GENERAL", + "name": "GENERAL" + }, + { + "value": "CAMPAIGN", + "name": "CAMPAIGN" + } + ] + } + }, + "com.amazonaws.connect#TransferContact": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#TransferContactRequest" + }, + "output": { + "target": "com.amazonaws.connect#TransferContactResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#AccessDeniedException" + }, + { + "target": "com.amazonaws.connect#IdempotencyException" + }, + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Transfers contacts from one agent or queue to another agent or queue at any point after a\n contact is created. You can transfer a contact to another queue by providing the contact flow\n which orchestrates the contact to the destination queue. This gives you more control over contact\n handling and helps you adhere to the service level agreement (SLA) guaranteed to your\n customers.

\n

Note the following requirements:

\n ", + "smithy.api#http": { + "method": "POST", + "uri": "/contact/transfer", + "code": 200 + } + } + }, + "com.amazonaws.connect#TransferContactRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "smithy.api#required": {} + } + }, + "ContactId": { + "target": "com.amazonaws.connect#ContactId", + "traits": { + "smithy.api#documentation": "

The identifier of the contact in this instance of Amazon Connect.

", + "smithy.api#required": {} + } + }, + "QueueId": { + "target": "com.amazonaws.connect#QueueId", + "traits": { + "smithy.api#documentation": "

The identifier for the queue.

" + } + }, + "UserId": { + "target": "com.amazonaws.connect#AgentResourceId", + "traits": { + "smithy.api#documentation": "

The identifier for the user.

" + } + }, + "ContactFlowId": { + "target": "com.amazonaws.connect#ContactFlowId", "traits": { - "smithy.api#documentation": "

The type of comparison. Only \"less than\" (LT) comparisons are supported.

" + "smithy.api#documentation": "

The identifier of the contact flow.

", + "smithy.api#required": {} } }, - "ThresholdValue": { - "target": "com.amazonaws.connect#ThresholdValue", + "ClientToken": { + "target": "com.amazonaws.connect#ClientToken", "traits": { - "smithy.api#box": {}, - "smithy.api#documentation": "

The threshold value to compare.

" + "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", + "smithy.api#idempotencyToken": {} } } - }, - "traits": { - "smithy.api#documentation": "

Contains information about the threshold for service level metrics.

" - } - }, - "com.amazonaws.connect#ThresholdValue": { - "type": "double", - "traits": { - "smithy.api#box": {} } }, - "com.amazonaws.connect#ThrottlingException": { + "com.amazonaws.connect#TransferContactResponse": { "type": "structure", "members": { - "Message": { - "target": "com.amazonaws.connect#Message" - } - }, - "traits": { - "aws.protocols#awsQueryError": { - "code": "ThrottlingException", - "httpResponseCode": 429 + "ContactId": { + "target": "com.amazonaws.connect#ContactId", + "traits": { + "smithy.api#documentation": "

The identifier of the contact in this instance of Amazon Connect.

" + } }, - "smithy.api#documentation": "

The throttling limit has been exceeded.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } - }, - "com.amazonaws.connect#TimeZone": { - "type": "string" - }, - "com.amazonaws.connect#Timestamp": { - "type": "timestamp" - }, - "com.amazonaws.connect#TrafficType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GENERAL", - "name": "GENERAL" - }, - { - "value": "CAMPAIGN", - "name": "CAMPAIGN" + "ContactArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the contact.

" } - ] + } } }, "com.amazonaws.connect#URI": { @@ -15656,7 +17134,7 @@ "References": { "target": "com.amazonaws.connect#ContactReferences", "traits": { - "smithy.api#documentation": "

A formatted URL that is shown to an agent in the Contact Control Panel (CCP).

" + "smithy.api#documentation": "

Well-formed data on contact, shown to agents on Contact Control Panel (CCP).

" } } } @@ -15986,7 +17464,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance in the same Region.

", + "smithy.api#documentation": "

Updates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance\n in the same Region.

", "smithy.api#http": { "method": "PUT", "uri": "/phone-number/{PhoneNumberId}", @@ -16817,6 +18295,183 @@ } } }, + "com.amazonaws.connect#UpdateTaskTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#UpdateTaskTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connect#UpdateTaskTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#PropertyValidationException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates details about a specific task template in the specified Amazon Connect instance. This\n operation does not support partial updates. Instead it does a full update of template\n content.

", + "smithy.api#http": { + "method": "POST", + "uri": "/instance/{InstanceId}/task/template/{TaskTemplateId}", + "code": 200 + } + } + }, + "com.amazonaws.connect#UpdateTaskTemplateRequest": { + "type": "structure", + "members": { + "TaskTemplateId": { + "target": "com.amazonaws.connect#TaskTemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the task template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.connect#TaskTemplateName", + "traits": { + "smithy.api#documentation": "

The name of the task template.

" + } + }, + "Description": { + "target": "com.amazonaws.connect#TaskTemplateDescription", + "traits": { + "smithy.api#documentation": "

The description of the task template.

" + } + }, + "ContactFlowId": { + "target": "com.amazonaws.connect#ContactFlowId", + "traits": { + "smithy.api#documentation": "

The identifier of the flow that runs by default when a task is created by referencing this template.

" + } + }, + "Constraints": { + "target": "com.amazonaws.connect#TaskTemplateConstraints", + "traits": { + "smithy.api#documentation": "

Constraints that are applicable to the fields listed.

" + } + }, + "Defaults": { + "target": "com.amazonaws.connect#TaskTemplateDefaults", + "traits": { + "smithy.api#documentation": "

The default values for fields when a task is created by referencing this template.

" + } + }, + "Status": { + "target": "com.amazonaws.connect#TaskTemplateStatus", + "traits": { + "smithy.api#documentation": "

Marks a template as ACTIVE or INACTIVE for a task to refer to it. \nTasks can only be created from ACTIVE templates.\nIf a template is marked as INACTIVE, then a task that refers to this template cannot be created.

" + } + }, + "Fields": { + "target": "com.amazonaws.connect#TaskTemplateFields", + "traits": { + "smithy.api#documentation": "

Fields that are part of the template.

" + } + } + } + }, + "com.amazonaws.connect#UpdateTaskTemplateResponse": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

" + } + }, + "Id": { + "target": "com.amazonaws.connect#TaskTemplateId", + "traits": { + "smithy.api#documentation": "

The identifier of the task template resource.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#TaskTemplateArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the task template resource.

" + } + }, + "Name": { + "target": "com.amazonaws.connect#TaskTemplateName", + "traits": { + "smithy.api#documentation": "

The name of the task template.

" + } + }, + "Description": { + "target": "com.amazonaws.connect#TaskTemplateDescription", + "traits": { + "smithy.api#documentation": "

The description of the task template.

" + } + }, + "ContactFlowId": { + "target": "com.amazonaws.connect#ContactFlowId", + "traits": { + "smithy.api#documentation": "

The identifier of the flow that runs by default when a task is created by referencing this template.

" + } + }, + "Constraints": { + "target": "com.amazonaws.connect#TaskTemplateConstraints", + "traits": { + "smithy.api#documentation": "

Constraints that are applicable to the fields listed.

" + } + }, + "Defaults": { + "target": "com.amazonaws.connect#TaskTemplateDefaults", + "traits": { + "smithy.api#documentation": "

The default values for fields when a task is created by referencing this template.

" + } + }, + "Fields": { + "target": "com.amazonaws.connect#TaskTemplateFields", + "traits": { + "smithy.api#documentation": "

Fields that are part of the template.

" + } + }, + "Status": { + "target": "com.amazonaws.connect#TaskTemplateStatus", + "traits": { + "smithy.api#documentation": "

Marks a template as ACTIVE or INACTIVE for a task to refer to it. \nTasks can only be created from ACTIVE templates.\nIf a template is marked as INACTIVE, then a task that refers to this template cannot be created.

" + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the task template was last modified.

" + } + }, + "CreatedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the task template was created.

" + } + } + } + }, "com.amazonaws.connect#UpdateUserHierarchy": { "type": "operation", "input": { @@ -17392,6 +19047,88 @@ "smithy.api#documentation": "

Contains information about a user account for a Amazon Connect instance.

" } }, + "com.amazonaws.connect#UserData": { + "type": "structure", + "members": { + "User": { + "target": "com.amazonaws.connect#UserReference", + "traits": { + "smithy.api#documentation": "

Information about the user for the data that is returned. It contains resourceId and ARN of\n the user.

" + } + }, + "RoutingProfile": { + "target": "com.amazonaws.connect#RoutingProfileReference", + "traits": { + "smithy.api#documentation": "

Information about the routing profile that is assigned to the user.

" + } + }, + "HierarchyPath": { + "target": "com.amazonaws.connect#HierarchyPathReference", + "traits": { + "smithy.api#documentation": "

Contains information about the levels of a hierarchy group assigned to a user.

" + } + }, + "Status": { + "target": "com.amazonaws.connect#AgentStatusReference", + "traits": { + "smithy.api#documentation": "

The status of the agent that they manually set in their Contact Control Panel (CCP), or that\n the supervisor manually changes in the real-time metrics report.

" + } + }, + "AvailableSlotsByChannel": { + "target": "com.amazonaws.connect#ChannelToCountMap", + "traits": { + "smithy.api#documentation": "

A map of available slots by channel. The key is a channel name. The value is an integer: the\n available number of slots.

" + } + }, + "MaxSlotsByChannel": { + "target": "com.amazonaws.connect#ChannelToCountMap", + "traits": { + "smithy.api#documentation": "

A map of maximum slots by channel. The key is a channel name. The value is an integer: the\n maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile assigned to the agent.

" + } + }, + "ActiveSlotsByChannel": { + "target": "com.amazonaws.connect#ChannelToCountMap", + "traits": { + "smithy.api#documentation": "

A map of active slots by channel. The key is a channel name. The value is an integer: the\n number of active slots.

" + } + }, + "Contacts": { + "target": "com.amazonaws.connect#AgentContactReferenceList", + "traits": { + "smithy.api#documentation": "

A list of contact reference information.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Data for a user.

" + } + }, + "com.amazonaws.connect#UserDataFilters": { + "type": "structure", + "members": { + "Queues": { + "target": "com.amazonaws.connect#Queues", + "traits": { + "smithy.api#documentation": "

Contains information about a queue resource for which metrics are returned.

" + } + }, + "ContactFilter": { + "target": "com.amazonaws.connect#ContactFilter", + "traits": { + "smithy.api#documentation": "

A filter for the user data based on the contact information that is associated to the user. It\n contains a list of contact states.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A filter for the user data.

" + } + }, + "com.amazonaws.connect#UserDataList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#UserData" + } + }, "com.amazonaws.connect#UserId": { "type": "string" }, @@ -17509,6 +19246,26 @@ "smithy.api#documentation": "

Contains information about the quick connect configuration settings for a user. The contact\n flow must be of type Transfer to Agent.

" } }, + "com.amazonaws.connect#UserReference": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#UserId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the user.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the user.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the user.

" + } + }, "com.amazonaws.connect#UserSearchConditionList": { "type": "list", "member": { @@ -17521,13 +19278,13 @@ "OrConditions": { "target": "com.amazonaws.connect#UserSearchConditionList", "traits": { - "smithy.api#documentation": "

A list of conditions which would be applied together with an OR condition.

" + "smithy.api#documentation": "

A list of conditions which would be applied together with an OR\n condition.

" } }, "AndConditions": { "target": "com.amazonaws.connect#UserSearchConditionList", "traits": { - "smithy.api#documentation": "

A list of conditions which would be applied together with an AND condition.

" + "smithy.api#documentation": "

A list of conditions which would be applied together with an AND condition.\n

" } }, "StringCondition": { diff --git a/codegen/sdk-codegen/aws-models/cost-explorer.json b/codegen/sdk-codegen/aws-models/cost-explorer.json index 9d0feb5615f..edde716aa17 100644 --- a/codegen/sdk-codegen/aws-models/cost-explorer.json +++ b/codegen/sdk-codegen/aws-models/cost-explorer.json @@ -123,6 +123,9 @@ { "target": "com.amazonaws.costexplorer#GetUsageForecast" }, + { + "target": "com.amazonaws.costexplorer#ListCostAllocationTags" + }, { "target": "com.amazonaws.costexplorer#ListCostCategoryDefinitions" }, @@ -144,6 +147,9 @@ { "target": "com.amazonaws.costexplorer#UpdateAnomalySubscription" }, + { + "target": "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatus" + }, { "target": "com.amazonaws.costexplorer#UpdateCostCategoryDefinition" } @@ -201,7 +207,7 @@ "DimensionValue": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The dimension for the anomaly (for example, an Amazon Web Services service in a service\n monitor).

" + "smithy.api#documentation": "

The dimension for the anomaly (for example, an Amazon Web Service in a service\n monitor).

" } }, "RootCauses": { @@ -507,6 +513,132 @@ ] } }, + "com.amazonaws.costexplorer#CostAllocationTag": { + "type": "structure", + "members": { + "TagKey": { + "target": "com.amazonaws.costexplorer#TagKey", + "traits": { + "smithy.api#documentation": "

The key for the cost allocation tag.

", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.costexplorer#CostAllocationTagType", + "traits": { + "smithy.api#documentation": "

The type of cost allocation tag. You can use AWSGenerated or\n UserDefined type tags. AWSGenerated type tags are tags\n that Amazon Web Services defines and applies to support Amazon Web Services resources for\n cost allocation purposes. UserDefined type tags are tags that you define,\n create, and apply to resources.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.costexplorer#CostAllocationTagStatus", + "traits": { + "smithy.api#documentation": "

The status of a cost allocation tag.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The cost allocation tag structure. This includes detailed metadata for the\n CostAllocationTag object.

" + } + }, + "com.amazonaws.costexplorer#CostAllocationTagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.costexplorer#CostAllocationTagList": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#CostAllocationTag" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.costexplorer#CostAllocationTagStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Active", + "name": "ACTIVE" + }, + { + "value": "Inactive", + "name": "INACTIVE" + } + ] + } + }, + "com.amazonaws.costexplorer#CostAllocationTagStatusEntry": { + "type": "structure", + "members": { + "TagKey": { + "target": "com.amazonaws.costexplorer#TagKey", + "traits": { + "smithy.api#documentation": "

The key for the cost allocation tag.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.costexplorer#CostAllocationTagStatus", + "traits": { + "smithy.api#documentation": "

The status of a cost allocation tag.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The cost allocation tag status. The status of a key can either be active or inactive.

" + } + }, + "com.amazonaws.costexplorer#CostAllocationTagStatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#CostAllocationTagStatusEntry" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.costexplorer#CostAllocationTagType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWSGenerated", + "name": "AWS_GENERATED" + }, + { + "value": "UserDefined", + "name": "USER_DEFINED" + } + ] + } + }, + "com.amazonaws.costexplorer#CostAllocationTagsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 1000 + } + } + }, "com.amazonaws.costexplorer#CostCategory": { "type": "structure", "members": { @@ -527,7 +659,7 @@ "EffectiveEnd": { "target": "com.amazonaws.costexplorer#ZonedDateTime", "traits": { - "smithy.api#documentation": "

The effective end data of your Cost Category.

" + "smithy.api#documentation": "

The effective end data of your Cost Category.

" } }, "Name": { @@ -575,7 +707,7 @@ "DimensionName": { "target": "com.amazonaws.costexplorer#CostCategoryInheritedValueDimensionName", "traits": { - "smithy.api#documentation": "

The name of the dimension that's used to group costs.

\n

If you specify LINKED_ACCOUNT_NAME, the cost category value is based on\n account name. If you specify TAG, the cost category value will be based on\n the value of the specified tag key.

" + "smithy.api#documentation": "

The name of the dimension that's used to group costs.

\n

If you specify LINKED_ACCOUNT_NAME, the cost category value is based on\n account name. If you specify TAG, the cost category value is based on the\n value of the specified tag key.

" } }, "DimensionKey": { @@ -586,7 +718,7 @@ } }, "traits": { - "smithy.api#documentation": "

When creating or updating a cost category, you can define the\n CostCategoryRule rule type as INHERITED_VALUE. This rule\n type adds the flexibility of defining a rule that dynamically inherits the cost category\n value from the dimension value defined by\n CostCategoryInheritedValueDimension. For example, if you want to\n dynamically group costs that are based on the value of a specific tag key, first choose\n an inherited value rule type, then choose the tag dimension and specify the tag key to\n use.

" + "smithy.api#documentation": "

When you create or update a cost category, you can define the\n CostCategoryRule rule type as INHERITED_VALUE. This rule\n type adds the flexibility to define a rule that dynamically inherits the cost category\n value from the dimension value that's defined by\n CostCategoryInheritedValueDimension. For example, suppose that you want\n to dynamically group costs that are based on the value of a specific tag key. First,\n choose an inherited value rule type, and then choose the tag dimension and specify the\n tag key to use.

" } }, "com.amazonaws.costexplorer#CostCategoryInheritedValueDimensionName": { @@ -733,7 +865,7 @@ "Type": { "target": "com.amazonaws.costexplorer#CostCategoryRuleType", "traits": { - "smithy.api#documentation": "

You can define the CostCategoryRule rule type as either\n REGULAR or INHERITED_VALUE. The\n INHERITED_VALUE rule type adds the flexibility of defining a rule that\n dynamically inherits the cost category value from the dimension value defined by\n CostCategoryInheritedValueDimension. For example, if you want to\n dynamically group costs based on the value of a specific tag key, first choose an\n inherited value rule type, then choose the tag dimension and specify the tag key to\n use.

" + "smithy.api#documentation": "

You can define the CostCategoryRule rule type as either\n REGULAR or INHERITED_VALUE. The\n INHERITED_VALUE rule type adds the flexibility to define a rule that\n dynamically inherits the cost category value. This value is from the dimension value\n that's defined by CostCategoryInheritedValueDimension. For example, suppose\n that you want to costs to be dynamically grouped based on the value of a specific tag\n key. First, choose an inherited value rule type, and then choose the tag dimension and\n specify the tag key to use.

" } } }, @@ -1153,7 +1285,7 @@ "ResourceTags": { "target": "com.amazonaws.costexplorer#ResourceTagList", "traits": { - "smithy.api#documentation": "

\n An optional list of tags to associate with the specified \n AnomalyMonitor\n . You can use resource tags to control access to your monitor using IAM policies.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n " + "smithy.api#documentation": "

An optional list of tags to associate with the specified \n AnomalyMonitor\n . You can use resource tags to control access to your\n monitor using IAM policies.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n " } } } @@ -1203,7 +1335,7 @@ "ResourceTags": { "target": "com.amazonaws.costexplorer#ResourceTagList", "traits": { - "smithy.api#documentation": "

\n An optional list of tags to associate with the specified \n AnomalySubscription\n . You can use resource tags to control access to your subscription using IAM policies.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n " + "smithy.api#documentation": "

An optional list of tags to associate with the specified \n AnomalySubscription\n . You can use resource tags to control access to\n your subscription using IAM policies.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n " } } } @@ -1274,7 +1406,7 @@ "ResourceTags": { "target": "com.amazonaws.costexplorer#ResourceTagList", "traits": { - "smithy.api#documentation": "

\n An optional list of tags to associate with the specified \n CostCategory\n . You can use resource tags to control access to your cost category using IAM policies.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n " + "smithy.api#documentation": "

An optional list of tags to associate with the specified \n CostCategory\n . You can use resource tags to control access to your\n cost category using IAM policies.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n " } } } @@ -1285,13 +1417,13 @@ "CostCategoryArn": { "target": "com.amazonaws.costexplorer#Arn", "traits": { - "smithy.api#documentation": "

\n The unique identifier for your newly created Cost Category.\n

" + "smithy.api#documentation": "

The unique identifier for your newly created Cost Category.

" } }, "EffectiveStart": { "target": "com.amazonaws.costexplorer#ZonedDateTime", "traits": { - "smithy.api#documentation": "

\n The Cost Category's effective start date.\n

" + "smithy.api#documentation": "

The Cost Category's effective start date.

" } } } @@ -1332,7 +1464,7 @@ "ReservationCoveredHoursInLookbackPeriod": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The number of hours during the lookback period that's covered by reservations.

" + "smithy.api#documentation": "

The number of hours during the lookback period that's covered by reservations.

" } }, "SavingsPlansCoveredHoursInLookbackPeriod": { @@ -1344,7 +1476,7 @@ "OnDemandHoursInLookbackPeriod": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The number of hours during the lookback period that's billed at On-Demand\n rates.

" + "smithy.api#documentation": "

The number of hours during the lookback period that's billed at On-Demand\n rates.

" } }, "TotalRunningHoursInLookbackPeriod": { @@ -1362,7 +1494,7 @@ "CurrencyCode": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The currency code that Amazon Web Services used to calculate the costs for this\n instance.

" + "smithy.api#documentation": "

The currency code that Amazon Web Services used to calculate the costs for this\n instance.

" } } }, @@ -1502,7 +1634,7 @@ "CostCategoryArn": { "target": "com.amazonaws.costexplorer#Arn", "traits": { - "smithy.api#documentation": "

\n The unique identifier for your Cost Category.\n

", + "smithy.api#documentation": "

The unique identifier for your Cost Category.

", "smithy.api#required": {} } } @@ -1514,13 +1646,13 @@ "CostCategoryArn": { "target": "com.amazonaws.costexplorer#Arn", "traits": { - "smithy.api#documentation": "

\n The unique identifier for your Cost Category.\n

" + "smithy.api#documentation": "

The unique identifier for your Cost Category.

" } }, "EffectiveEnd": { "target": "com.amazonaws.costexplorer#ZonedDateTime", "traits": { - "smithy.api#documentation": "

\n The effective end date of the Cost Category as a result of deleting it. No costs after this date will be categorized by the deleted Cost Category.\n

" + "smithy.api#documentation": "

The effective end date of the Cost Category as a result of deleting it. No costs after\n this date is categorized by the deleted Cost Category.

" } } } @@ -1542,7 +1674,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account.

\n

You have the option to use EffectiveOn to return a Cost Category that is active on a specific date. If there is no EffectiveOn specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response.

" + "smithy.api#documentation": "

Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates of a\n Cost Category that's defined in the account.

\n

You have the option to use EffectiveOn to return a Cost Category that's\n active on a specific date. If there's no EffectiveOn specified, you see a Cost\n Category that's effective on the current date. If Cost Category is still effective,\n EffectiveEnd is omitted in the response.

" } }, "com.amazonaws.costexplorer#DescribeCostCategoryDefinitionRequest": { @@ -1551,14 +1683,14 @@ "CostCategoryArn": { "target": "com.amazonaws.costexplorer#Arn", "traits": { - "smithy.api#documentation": "

\n The unique identifier for your Cost Category.\n

", + "smithy.api#documentation": "

The unique identifier for your Cost Category.

", "smithy.api#required": {} } }, "EffectiveOn": { "target": "com.amazonaws.costexplorer#ZonedDateTime", "traits": { - "smithy.api#documentation": "

\n The date when the Cost Category was effective.\n

" + "smithy.api#documentation": "

The date when the Cost Category was effective.

" } } } @@ -1764,30 +1896,30 @@ "DiskReadOpsPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The maximum number of read operations per second.

" + "smithy.api#documentation": "

The maximum number of read operations per second.

" } }, "DiskWriteOpsPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The maximum number of write operations per second.

" + "smithy.api#documentation": "

The maximum number of write operations per second.

" } }, "DiskReadBytesPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The maximum read throughput operations per second.

" + "smithy.api#documentation": "

The maximum read throughput operations per second.

" } }, "DiskWriteBytesPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The maximum write throughput operations per second.

" + "smithy.api#documentation": "

The maximum write throughput operations per second.

" } } }, "traits": { - "smithy.api#documentation": "

The field that contains a list of disk (local storage) metrics that are associated\n with the current instance.

" + "smithy.api#documentation": "

The field that contains a list of disk (local storage) metrics that are associated\n with the current instance.

" } }, "com.amazonaws.costexplorer#EBSResourceUtilization": { @@ -1932,7 +2064,7 @@ "Vcpu": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The number of VCPU cores in the Amazon Web Services instance type.

" + "smithy.api#documentation": "

The number of VCPU cores in the Amazon Web Services instance type.

" } } }, @@ -1946,19 +2078,19 @@ "MaxCpuUtilizationPercentage": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The maximum observed or expected CPU utilization of the instance.

" + "smithy.api#documentation": "

The maximum observed or expected CPU utilization of the instance.

" } }, "MaxMemoryUtilizationPercentage": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The maximum observed or expected memory utilization of the instance.

" + "smithy.api#documentation": "

The maximum observed or expected memory utilization of the instance.

" } }, "MaxStorageUtilizationPercentage": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The maximum observed or expected storage utilization of the instance. This doesn't\n include EBS storage.

" + "smithy.api#documentation": "

The maximum observed or expected storage utilization of the instance. This doesn't\n include EBS storage.

" } }, "EBSResourceUtilization": { @@ -1970,18 +2102,18 @@ "DiskResourceUtilization": { "target": "com.amazonaws.costexplorer#DiskResourceUtilization", "traits": { - "smithy.api#documentation": "

The field that contains a list of disk (local storage) metrics that are associated\n with the current instance.

" + "smithy.api#documentation": "

The field that contains a list of disk (local storage) metrics that are associated\n with the current instance.

" } }, "NetworkResourceUtilization": { "target": "com.amazonaws.costexplorer#NetworkResourceUtilization", "traits": { - "smithy.api#documentation": "

The network field that contains a list of network metrics that are associated with\n the current instance.

" + "smithy.api#documentation": "

The network field that contains a list of network metrics that are associated with the\n current instance.

" } } }, "traits": { - "smithy.api#documentation": "

Utilization metrics of the instance.

" + "smithy.api#documentation": "

Utilization metrics for the instance.

" } }, "com.amazonaws.costexplorer#EC2Specification": { @@ -2612,7 +2744,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves cost and usage metrics with resources for your account. You can specify which cost and\n\t usage-related metric, such as BlendedCosts or UsageQuantity, that\n\t you want the request to return. You can also filter and group your data by various dimensions,\n\t such as SERVICE or AZ, in a specific time range. For a complete list\n\t of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only.

\n\t \n

This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer in the Billing and Cost Management User Guide.

\n
" + "smithy.api#documentation": "

Retrieves cost and usage metrics with resources for your account. You can specify which cost and\n\t usage-related metric, such as BlendedCosts or UsageQuantity, that\n\t you want the request to return. You can also filter and group your data by various dimensions,\n\t such as SERVICE or AZ, in a specific time range. For a complete list\n\t of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only.

\n\t \n

This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings\n page. For information about how to access the Settings page, see Controlling Access for Cost\n Explorer in the Billing and Cost Management User Guide.

\n
" } }, "com.amazonaws.costexplorer#GetCostAndUsageWithResourcesRequest": { @@ -2642,7 +2774,7 @@ "Metrics": { "target": "com.amazonaws.costexplorer#MetricNames", "traits": { - "smithy.api#documentation": "

Which metrics are returned in the query. For more information about blended and\n unblended rates, see Why does\n the \"blended\" annotation appear on some line items in my bill?.

\n

Valid values are AmortizedCost, BlendedCost,\n NetAmortizedCost, NetUnblendedCost,\n NormalizedUsageAmount, UnblendedCost, and\n UsageQuantity.

\n \n

If you return the UsageQuantity metric, the service aggregates all usage\n numbers without taking the units into account. For example, if you aggregate\n usageQuantity across all of Amazon EC2, the results aren't meaningful because\n Amazon EC2 compute hours and data transfer are measured in different units (for example, hours\n vs. GB). To get more meaningful UsageQuantity metrics, filter by\n UsageType or UsageTypeGroups.

\n
\n

\n Metrics is required for GetCostAndUsageWithResources requests.

" + "smithy.api#documentation": "

Which metrics are returned in the query. For more information about blended and\n unblended rates, see Why does\n the \"blended\" annotation appear on some line items in my bill?.

\n

Valid values are AmortizedCost, BlendedCost,\n NetAmortizedCost, NetUnblendedCost,\n NormalizedUsageAmount, UnblendedCost, and\n UsageQuantity.

\n \n

If you return the UsageQuantity metric, the service aggregates all usage\n numbers without taking the units into account. For example, if you aggregate\n usageQuantity across all of Amazon EC2, the results aren't meaningful because\n Amazon EC2 compute hours and data transfer are measured in different units (for example,\n hour or GB). To get more meaningful UsageQuantity metrics, filter by\n UsageType or UsageTypeGroups.

\n
\n

\n Metrics is required for GetCostAndUsageWithResources requests.

" } }, "GroupBy": { @@ -2677,7 +2809,7 @@ "ResultsByTime": { "target": "com.amazonaws.costexplorer#ResultsByTime", "traits": { - "smithy.api#documentation": "

The time period that is covered by the results in the response.

" + "smithy.api#documentation": "

The time period that's covered by the results in the response.

" } }, "DimensionValueAttributes": { @@ -2723,7 +2855,7 @@ "SearchString": { "target": "com.amazonaws.costexplorer#SearchString", "traits": { - "smithy.api#documentation": "

The value that you want to search the filter values for.

\n

If you do not specify a CostCategoryName, SearchString will be used to filter Cost Category names that match the SearchString pattern. If you do specifiy a CostCategoryName, SearchString will be used to filter Cost Category values that match the SearchString pattern.

" + "smithy.api#documentation": "

The value that you want to search the filter values for.

\n

If you don't specify a CostCategoryName, SearchString is used to\n filter Cost Category names that match the SearchString pattern. If you specify a\n CostCategoryName, SearchString is used to filter Cost Category\n values that match the SearchString pattern.

" } }, "TimePeriod": { @@ -2741,19 +2873,19 @@ "SortBy": { "target": "com.amazonaws.costexplorer#SortDefinitions", "traits": { - "smithy.api#documentation": "

The value by which you want to sort the data.

\n

The key represents cost and usage metrics. The following values are supported:

\n \n

Supported values for SortOrder are ASCENDING or DESCENDING.

\n

When using SortBy, NextPageToken and SearchString are not supported.

" + "smithy.api#documentation": "

The value that you sort the data by.

\n

The key represents the cost and usage metrics. The following values are supported:

\n \n

The supported key values for the SortOrder value are ASCENDING\n and DESCENDING.

\n

When you use the SortBy value, the NextPageToken and\n SearchString key values aren't supported.

" } }, "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#documentation": "

This field is only used when SortBy is provided in the request.

\n

The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter.

\n

For GetCostCategories, MaxResults has an upper limit of 1000.

" + "smithy.api#documentation": "

This field is only used when the SortBy value is provided in the\n request.

\n

The maximum number of objects that are returned for this request. If\n MaxResults isn't specified with the SortBy value, the request\n returns 1000 results as the default value for this parameter.

\n

For GetCostCategories, MaxResults has an upper quota of 1000.

" } }, "NextPageToken": { "target": "com.amazonaws.costexplorer#NextPageToken", "traits": { - "smithy.api#documentation": "

If the number of objects that are still available for retrieval exceeds the limit, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request.

" + "smithy.api#documentation": "

If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of\n objects, provide the NextPageToken from the previous call in your next request.

" } } } @@ -2764,7 +2896,7 @@ "NextPageToken": { "target": "com.amazonaws.costexplorer#NextPageToken", "traits": { - "smithy.api#documentation": "

If the number of objects that are still available for retrieval exceeds the limit, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

" + "smithy.api#documentation": "

If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of\n objects, provide the marker from the prior call in your next request.

" } }, "CostCategoryNames": { @@ -2776,13 +2908,13 @@ "CostCategoryValues": { "target": "com.amazonaws.costexplorer#CostCategoryValuesList", "traits": { - "smithy.api#documentation": "

The Cost Category values.

\n

\n CostCategoryValues are not returned if CostCategoryName is not specified in the request.

" + "smithy.api#documentation": "

The Cost Category values.

\n

If the CostCategoryName key isn't specified in the request, the\n CostCategoryValues fields aren't returned.

" } }, "ReturnSize": { "target": "com.amazonaws.costexplorer#PageSize", "traits": { - "smithy.api#documentation": "

The number of objects returned.

", + "smithy.api#documentation": "

The number of objects that are returned.

", "smithy.api#required": {} } }, @@ -2925,7 +3057,7 @@ "Context": { "target": "com.amazonaws.costexplorer#Context", "traits": { - "smithy.api#documentation": "

The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. \n\t\t\tThe default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values \n\t\t\tcan be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, \n\t\t\tthe resulting dimension values can be used in the GetCostAndUsage operation.

\n\t\t

If you set the context to COST_AND_USAGE, you can use the following \n dimensions for searching:

\n \n

If you set the context to RESERVATIONS, you can use the following \n dimensions for searching:

\n \n

If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:

\n " + "smithy.api#documentation": "

The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. \n\t\t\tThe default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values \n\t\t\tcan be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, \n\t\t\tthe resulting dimension values can be used in the GetCostAndUsage operation.

\n\t\t

If you set the context to COST_AND_USAGE, you can use the following \n dimensions for searching:

\n \n

If you set the context to RESERVATIONS, you can use the following \n dimensions for searching:

\n \n

If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:

\n " } }, "Filter": { @@ -2934,13 +3066,13 @@ "SortBy": { "target": "com.amazonaws.costexplorer#SortDefinitions", "traits": { - "smithy.api#documentation": "

The value by which you want to sort the data.

\n

The key represents cost and usage metrics. The following values are supported:

\n \n

Supported values for SortOrder are ASCENDING or DESCENDING.

\n

When you specify a SortBy paramater, the context must be COST_AND_USAGE. Further, when using SortBy, NextPageToken and SearchString are not supported.

" + "smithy.api#documentation": "

The value that you want to sort the data by.

\n

The key represents cost and usage metrics. The following values are supported:

\n \n

The supported values for the SortOrder key are ASCENDING or\n DESCENDING.

\n

When you specify a SortBy paramater, the context must be\n COST_AND_USAGE. Further, when using SortBy,\n NextPageToken and SearchString aren't supported.

" } }, "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#documentation": "

This field is only used when SortBy is provided in the request. The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter.

\n

For GetDimensionValues, MaxResults has an upper limit of 1000.

" + "smithy.api#documentation": "

This field is only used when SortBy is provided in the request. The maximum number of\n objects that are returned for this request. If MaxResults isn't specified with SortBy, the\n request returns 1000 results as the default value for this parameter.

\n

For GetDimensionValues, MaxResults has an upper limit of 1000.

" } }, "NextPageToken": { @@ -2957,7 +3089,7 @@ "DimensionValues": { "target": "com.amazonaws.costexplorer#DimensionValuesWithAttributesList", "traits": { - "smithy.api#documentation": "

The filters that you used to filter your request. Some dimensions are available only for a specific context.

\n\t\t

If you set the context to COST_AND_USAGE, you can use the following \n dimensions for searching:

\n \n

If you set the context to RESERVATIONS, you can use the following \n dimensions for searching:

\n \n

If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:

\n ", + "smithy.api#documentation": "

The filters that you used to filter your request. Some dimensions are available only for a specific context.

\n\t\t

If you set the context to COST_AND_USAGE, you can use the following \n dimensions for searching:

\n \n

If you set the context to RESERVATIONS, you can use the following \n dimensions for searching:

\n \n

If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:

\n ", "smithy.api#required": {} } }, @@ -3003,7 +3135,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the reservation coverage for your account. This enables you to see how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or \n\t\t Amazon Redshift usage is covered by a reservation. An organization's management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions.\n\t\t\tFor any time period, you can filter data about reservation usage by the following dimensions:

\n\t\t \n\t\t

To determine valid values for a dimension, use the GetDimensionValues operation.

" + "smithy.api#documentation": "

Retrieves the reservation coverage for your account, which you can use to see how much of\n your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or\n Amazon Redshift usage is covered by a reservation. An organization's management account can\n see the coverage of the associated member accounts. This supports dimensions, Cost Categories,\n and nested expressions. For any time period, you can filter data about reservation usage by\n the following dimensions:

\n\t\t \n\t\t

To determine valid values for a dimension, use the GetDimensionValues operation.

" } }, "com.amazonaws.costexplorer#GetReservationCoverageRequest": { @@ -3056,7 +3188,7 @@ "target": "com.amazonaws.costexplorer#MaxResults", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of objects that you returned for this request. If more objects are available, in the response, Amazon Web Services provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

" + "smithy.api#documentation": "

The maximum number of objects that you returned for this request. If more objects are\n available, in the response, Amazon Web Services provides a NextPageToken value that you can use\n in a subsequent call to get the next batch of objects.

" } } }, @@ -3108,7 +3240,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs. \n\t\t\tReservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.

\n\t\t

Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage \n\t\t\tinto categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations \n\t\t\tin each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings.

\n\t\t

For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region \n\t\t\tand recommends that you buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services recommends the smallest size instance \n\t\t\tin an instance family. This makes it easier to purchase a size-flexible RI. Amazon Web Services also shows the equal number of normalized units \n\t\t\tso that you can purchase any instance size that you want. For this example, your RI recommendation would be for c4.large \n\t\t\tbecause that is the smallest size instance in the c4 instance family.

" + "smithy.api#documentation": "

Gets recommendations for reservation purchases. These recommendations might help you to\n reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to\n On-Demand pricing.

\n\t\t

Amazon Web Services generates your recommendations by identifying your On-Demand usage\n during a specific time period and collecting your usage into categories that are eligible for\n a reservation. After Amazon Web Services has these categories, it simulates every combination\n of reservations in each category of usage to identify the best number of each type of Reserved\n Instance (RI) to purchase to maximize your estimated savings.

\n\t\t

For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared\n tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy\n size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services\n recommends the smallest size instance in an instance family. This makes it easier to purchase\n a size-flexible Reserved Instance (RI). Amazon Web Services also shows the equal number of\n normalized units. This way, you can purchase any instance size that you want. For this\n example, your RI recommendation is for c4.large because that is the smallest size\n instance in the c4 instance family.

" } }, "com.amazonaws.costexplorer#GetReservationPurchaseRecommendationRequest": { @@ -3117,7 +3249,7 @@ "AccountId": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The account ID that is associated with the recommendation.

" + "smithy.api#documentation": "

The account ID that's associated with the recommendation.

" } }, "Service": { @@ -3226,7 +3358,7 @@ "TimePeriod": { "target": "com.amazonaws.costexplorer#DateInterval", "traits": { - "smithy.api#documentation": "

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is \n retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

", + "smithy.api#documentation": "

Sets the start and end dates for retrieving Reserved Instance (RI) utilization. The start\n date is inclusive, but the end date is exclusive. For example, if start is\n 2017-01-01 and end is 2017-05-01, then the cost and\n usage data is retrieved from 2017-01-01 up to and including\n 2017-04-30 but not including 2017-05-01.

", "smithy.api#required": {} } }, @@ -3251,7 +3383,7 @@ "SortBy": { "target": "com.amazonaws.costexplorer#SortDefinition", "traits": { - "smithy.api#documentation": "

The value by which you want to sort the data.

\n \n

The following values are supported for Key:

\n \n \n

Supported values for SortOrder are ASCENDING or DESCENDING.

" + "smithy.api#documentation": "

The value that you want to sort the data by.

\n \n

The following values are supported for Key:

\n \n \n

The supported values for SortOrder are ASCENDING and\n DESCENDING.

" } }, "NextPageToken": { @@ -3264,7 +3396,7 @@ "target": "com.amazonaws.costexplorer#MaxResults", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

The maximum number of objects that you returned for this request. If more objects are available, in the response, Amazon Web Services provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

" + "smithy.api#documentation": "

The maximum number of objects that you returned for this request. If more objects are\n available, in the response, Amazon Web Services provides a NextPageToken value that you can use\n in a subsequent call to get the next batch of objects.

" } } } @@ -3275,14 +3407,14 @@ "UtilizationsByTime": { "target": "com.amazonaws.costexplorer#UtilizationsByTime", "traits": { - "smithy.api#documentation": "

The amount of time that you used your RIs.

", + "smithy.api#documentation": "

The amount of time that you used your Reserved Instances (RIs).

", "smithy.api#required": {} } }, "Total": { "target": "com.amazonaws.costexplorer#ReservationAggregates", "traits": { - "smithy.api#documentation": "

The total amount of time that you used your RIs.

" + "smithy.api#documentation": "

The total amount of time that you used your Reserved Instances (RIs).

" } }, "NextPageToken": { @@ -3310,7 +3442,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates recommendations that\n help you save cost\n by identifying idle and underutilized Amazon EC2 instances.

\n

Recommendations are generated to either downsize or terminate instances, along with\n providing savings detail and metrics. For details on calculation and function, see\n Optimizing\n Your Cost with Rightsizing\n Recommendations\n in the Billing and Cost Management User\n Guide.

" + "smithy.api#documentation": "

Creates recommendations that\n help you save cost\n by identifying idle and underutilized Amazon EC2 instances.

\n

Recommendations are generated to either downsize or terminate instances, along with\n providing savings detail and metrics. For more information about calculation and function, see\n Optimizing Your Cost with Rightsizing Recommendations in the Billing and Cost Management User Guide.

" } }, "com.amazonaws.costexplorer#GetRightsizingRecommendationRequest": { @@ -3322,7 +3454,7 @@ "Configuration": { "target": "com.amazonaws.costexplorer#RightsizingRecommendationConfiguration", "traits": { - "smithy.api#documentation": "

Enables you to customize recommendations across two attributes. You can choose to view\n recommendations for instances within the same instance families or across different instance\n families. You can also choose to view your estimated savings associated with recommendations\n with consideration of existing Savings Plans or RI benefits, or\n neither.

" + "smithy.api#documentation": "

You can use Configuration to customize recommendations across two attributes. You can\n choose to view recommendations for instances within the same instance families or across\n different instance families. You can also choose to view your estimated savings that are\n associated with recommendations with consideration of existing Savings Plans or RI benefits,\n or neither.

" } }, "Service": { @@ -3376,7 +3508,7 @@ "Configuration": { "target": "com.amazonaws.costexplorer#RightsizingRecommendationConfiguration", "traits": { - "smithy.api#documentation": "

Enables you to customize recommendations across two attributes. You can choose to view\n recommendations for instances within the same instance families or across different instance\n families. You can also choose to view your estimated savings associated with recommendations\n with consideration of existing Savings Plans or RI benefits, or\n neither.

" + "smithy.api#documentation": "

You can use Configuration to customize recommendations across two attributes. You can\n choose to view recommendations for instances within the same instance families or across\n different instance families. You can also choose to view your estimated savings that are\n associated with recommendations with consideration of existing Savings Plans or RI benefits,\n or neither.

" } } } @@ -3446,7 +3578,7 @@ "NextToken": { "target": "com.amazonaws.costexplorer#NextPageToken", "traits": { - "smithy.api#documentation": "

The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

" + "smithy.api#documentation": "

The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has\n more results than the maximum page size.

" } }, "MaxResults": { @@ -3459,7 +3591,7 @@ "SortBy": { "target": "com.amazonaws.costexplorer#SortDefinition", "traits": { - "smithy.api#documentation": "

The value by which you want to sort the data.

\n

The following values are supported for Key:

\n \n \n

Supported values for SortOrder are ASCENDING or DESCENDING.

" + "smithy.api#documentation": "

The value that you want to sort the data by.

\n

The following values are supported for Key:

\n \n \n

The supported values for SortOrder are ASCENDING and\n DESCENDING.

" } } } @@ -3508,21 +3640,21 @@ "SavingsPlansType": { "target": "com.amazonaws.costexplorer#SupportedSavingsPlansType", "traits": { - "smithy.api#documentation": "

The Savings Plans recommendation type requested.

", + "smithy.api#documentation": "

The Savings Plans recommendation type that's requested.

", "smithy.api#required": {} } }, "TermInYears": { "target": "com.amazonaws.costexplorer#TermInYears", "traits": { - "smithy.api#documentation": "

The savings plan recommendation term used to\n generate these\n recommendations.

", + "smithy.api#documentation": "

The savings plan recommendation term that's used to generate these recommendations.

", "smithy.api#required": {} } }, "PaymentOption": { "target": "com.amazonaws.costexplorer#PaymentOption", "traits": { - "smithy.api#documentation": "

The payment option used to generate these recommendations.

", + "smithy.api#documentation": "

The payment option that's used to generate these recommendations.

", "smithy.api#required": {} } }, @@ -3547,14 +3679,14 @@ "LookbackPeriodInDays": { "target": "com.amazonaws.costexplorer#LookbackPeriodInDays", "traits": { - "smithy.api#documentation": "

The lookback period used to generate the recommendation.

", + "smithy.api#documentation": "

The lookback period that's used to generate the recommendation.

", "smithy.api#required": {} } }, "Filter": { "target": "com.amazonaws.costexplorer#Expression", "traits": { - "smithy.api#documentation": "

You can filter your recommendations by Account ID with the LINKED_ACCOUNT\n dimension. To filter your recommendations by Account ID, specify Key as\n LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) for\n which you want to see Savings Plans purchase recommendations.

\n

For GetSavingsPlansPurchaseRecommendation, the Filter does not include\n CostCategories or Tags. It only includes Dimensions.\n With Dimensions, Key must be LINKED_ACCOUNT and\n Value can be a single Account ID or multiple comma-separated Account IDs for\n which you want to see Savings Plans Purchase Recommendations. AND and\n OR operators are not supported.

" + "smithy.api#documentation": "

You can filter your recommendations by Account ID with the LINKED_ACCOUNT\n dimension. To filter your recommendations by Account ID, specify Key as\n LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) that\n you want to see Savings Plans purchase recommendations for.

\n

For GetSavingsPlansPurchaseRecommendation, the Filter doesn't include\n CostCategories or Tags. It only includes Dimensions.\n With Dimensions, Key must be LINKED_ACCOUNT and\n Value can be a single Account ID or multiple comma-separated Account IDs that\n you want to see Savings Plans Purchase Recommendations for. AND and\n OR operators are not supported.

" } } } @@ -3565,7 +3697,7 @@ "Metadata": { "target": "com.amazonaws.costexplorer#SavingsPlansPurchaseRecommendationMetadata", "traits": { - "smithy.api#documentation": "

Information regarding this specific recommendation set.

" + "smithy.api#documentation": "

Information that regards this specific recommendation set.

" } }, "SavingsPlansPurchaseRecommendation": { @@ -3599,7 +3731,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

\n\t \n

You cannot group by any dimension values for GetSavingsPlansUtilization.

\n
" + "smithy.api#documentation": "

Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

\n\t \n

You can't group by any dimension values for GetSavingsPlansUtilization.

\n
" } }, "com.amazonaws.costexplorer#GetSavingsPlansUtilizationDetails": { @@ -3668,7 +3800,7 @@ "SortBy": { "target": "com.amazonaws.costexplorer#SortDefinition", "traits": { - "smithy.api#documentation": "

The value by which you want to sort the data.

\n \n

The following values are supported for Key:

\n \n \n

Supported values for SortOrder are ASCENDING or DESCENDING.

" + "smithy.api#documentation": "

The value that you want to sort the data by.

\n \n

The following values are supported for Key:

\n \n \n

The supported values for SortOrder are ASCENDING and\n DESCENDING.

" } } } @@ -3728,7 +3860,7 @@ "SortBy": { "target": "com.amazonaws.costexplorer#SortDefinition", "traits": { - "smithy.api#documentation": "

The value by which you want to sort the data.

\n

The following values are supported for Key:

\n \n \n

Supported values for SortOrder are ASCENDING or DESCENDING.

" + "smithy.api#documentation": "

The value that you want to sort the data by.

\n

The following values are supported for Key:

\n \n \n

The supported values for SortOrder are ASCENDING and\n DESCENDING.

" } } } @@ -3739,13 +3871,13 @@ "SavingsPlansUtilizationsByTime": { "target": "com.amazonaws.costexplorer#SavingsPlansUtilizationsByTime", "traits": { - "smithy.api#documentation": "

The amount of cost/commitment you used your Savings Plans. This allows you to specify date ranges.

" + "smithy.api#documentation": "

The amount of cost/commitment that you used your Savings Plans. You can use it to specify\n date ranges.

" } }, "Total": { "target": "com.amazonaws.costexplorer#SavingsPlansUtilizationAggregates", "traits": { - "smithy.api#documentation": "

The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.

", + "smithy.api#documentation": "

The total amount of cost/commitment that you used your Savings Plans, regardless of date\n ranges.

", "smithy.api#required": {} } } @@ -3808,13 +3940,13 @@ "SortBy": { "target": "com.amazonaws.costexplorer#SortDefinitions", "traits": { - "smithy.api#documentation": "

The value by which you want to sort the data.

\n

The key represents cost and usage metrics. The following values are supported:

\n \n

Supported values for SortOrder are ASCENDING or DESCENDING.

\n

When using SortBy, NextPageToken and SearchString are not supported.

" + "smithy.api#documentation": "

The value that you want to sort the data by.

\n

The key represents cost and usage metrics. The following values are supported:

\n \n

The supported values for SortOrder are ASCENDING and\n DESCENDING.

\n

When you use SortBy, NextPageToken and SearchString\n aren't supported.

" } }, "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#documentation": "

This field is only used when SortBy is provided in the request. The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter.

\n

For GetTags, MaxResults has an upper limit of 1000.

" + "smithy.api#documentation": "

This field is only used when SortBy is provided in the request. The maximum number of\n objects that are returned for this request. If MaxResults isn't specified with SortBy, the\n request returns 1000 results as the default value for this parameter.

\n

For GetTags, MaxResults has an upper quota of 1000.

" } }, "NextPageToken": { @@ -3886,7 +4018,7 @@ "TimePeriod": { "target": "com.amazonaws.costexplorer#DateInterval", "traits": { - "smithy.api#documentation": "

The start and end dates of the period that you want to retrieve usage forecast for. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is \n\t\t retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. The start date must be equal to or later than the current date to avoid a validation error.

", + "smithy.api#documentation": "

The start and end dates of the period that you want to retrieve usage forecast for. The\n start date is included in the period, but the end date isn't included in the period. For\n example, if start is 2017-01-01 and end is\n 2017-05-01, then the cost and usage data is retrieved from\n 2017-01-01 up to and including 2017-04-30 but not including\n 2017-05-01. The start date must be equal to or later than the current date to\n avoid a validation error.

", "smithy.api#required": {} } }, @@ -3913,7 +4045,7 @@ "PredictionIntervalLevel": { "target": "com.amazonaws.costexplorer#PredictionIntervalLevel", "traits": { - "smithy.api#documentation": "

Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean \n\t\t\tby specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value \n\t\t\tfalling in the prediction interval. Higher confidence levels result in wider prediction intervals.

" + "smithy.api#documentation": "

Amazon Web Services Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean \n\t\t\tby specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value \n\t\t\tfalling in the prediction interval. Higher confidence levels result in wider prediction intervals.

" } } } @@ -4127,6 +4259,84 @@ "smithy.api#error": "client" } }, + "com.amazonaws.costexplorer#ListCostAllocationTags": { + "type": "operation", + "input": { + "target": "com.amazonaws.costexplorer#ListCostAllocationTagsRequest" + }, + "output": { + "target": "com.amazonaws.costexplorer#ListCostAllocationTagsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.costexplorer#InvalidNextTokenException" + }, + { + "target": "com.amazonaws.costexplorer#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

Get a list of cost allocation tags. All inputs in the API are optional and serve as\n filters. By default, all cost allocation tags are returned.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.costexplorer#ListCostAllocationTagsRequest": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.costexplorer#CostAllocationTagStatus", + "traits": { + "smithy.api#documentation": "

The status of cost allocation tag keys that are returned for this request.

" + } + }, + "TagKeys": { + "target": "com.amazonaws.costexplorer#CostAllocationTagKeyList", + "traits": { + "smithy.api#documentation": "

The list of cost allocation tag keys that are returned for this request.

" + } + }, + "Type": { + "target": "com.amazonaws.costexplorer#CostAllocationTagType", + "traits": { + "smithy.api#documentation": "

The type of CostAllocationTag object that are returned for this request. The\n AWSGenerated type tags are tags that Amazon Web Services defines and applies to\n support Amazon Web Services resources for cost allocation purposes. The\n UserDefined type tags are tags that you define, create, and apply to resources.

" + } + }, + "NextToken": { + "target": "com.amazonaws.costexplorer#NextPageToken", + "traits": { + "smithy.api#documentation": "

The token to retrieve the next set of results. Amazon Web Services provides the token when\n the response from a previous call has more results than the maximum page size.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.costexplorer#CostAllocationTagsMaxResults", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of objects that are returned for this request. By default, the request\n returns 100 results.

" + } + } + } + }, + "com.amazonaws.costexplorer#ListCostAllocationTagsResponse": { + "type": "structure", + "members": { + "CostAllocationTags": { + "target": "com.amazonaws.costexplorer#CostAllocationTagList", + "traits": { + "smithy.api#documentation": "

A list of cost allocation tags that includes the detailed metadata for each one.

" + } + }, + "NextToken": { + "target": "com.amazonaws.costexplorer#NextPageToken", + "traits": { + "smithy.api#documentation": "

The token to retrieve the next set of results. Amazon Web Services provides the token when\n the response from a previous call has more results than the maximum page size.

" + } + } + } + }, "com.amazonaws.costexplorer#ListCostCategoryDefinitions": { "type": "operation", "input": { @@ -4141,7 +4351,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the name, ARN, NumberOfRules and effective dates of all Cost Categories defined in the account. You have the option to use EffectiveOn to return a list of Cost Categories that were active on a specific date. If there is no EffectiveOn specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. ListCostCategoryDefinitions supports pagination. The request can have a MaxResults range up to 100.

", + "smithy.api#documentation": "

Returns the name, Amazon Resource Name (ARN), NumberOfRules and effective\n dates of all Cost Categories defined in the account. You have the option to use\n EffectiveOn to return a list of Cost Categories that were active on a specific\n date. If there is no EffectiveOn specified, you’ll see Cost Categories that are\n effective on the current date. If Cost Category is still effective, EffectiveEnd\n is omitted in the response. ListCostCategoryDefinitions supports pagination. The\n request can have a MaxResults range up to 100.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4155,20 +4365,20 @@ "EffectiveOn": { "target": "com.amazonaws.costexplorer#ZonedDateTime", "traits": { - "smithy.api#documentation": "

\n The date when the Cost Category was effective.\n

" + "smithy.api#documentation": "

The date when the Cost Category was effective.

" } }, "NextToken": { "target": "com.amazonaws.costexplorer#NextPageToken", "traits": { - "smithy.api#documentation": "

\n The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.\n

" + "smithy.api#documentation": "

The token to retrieve the next set of results. Amazon Web Services provides the token\n when the response from a previous call has more results than the maximum page size.

" } }, "MaxResults": { "target": "com.amazonaws.costexplorer#CostCategoryMaxResults", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

The number of entries a paginated response contains.

" + "smithy.api#documentation": "

The number of entries a paginated response contains.

" } } } @@ -4179,13 +4389,13 @@ "CostCategoryReferences": { "target": "com.amazonaws.costexplorer#CostCategoryReferencesList", "traits": { - "smithy.api#documentation": "

\n A reference to a Cost Category containing enough information to identify the Cost Category.\n

" + "smithy.api#documentation": "

A reference to a Cost Category that contains enough information to identify the Cost\n Category.

" } }, "NextToken": { "target": "com.amazonaws.costexplorer#NextPageToken", "traits": { - "smithy.api#documentation": "

\n The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.\n

" + "smithy.api#documentation": "

The token to retrieve the next set of results. Amazon Web Services provides the token when\n the response from a previous call has more results than the maximum page size.

" } } } @@ -4228,7 +4438,7 @@ "ResourceTags": { "target": "com.amazonaws.costexplorer#ResourceTagList", "traits": { - "smithy.api#documentation": "

A list of tag key value pairs that are associated with the response.\n

" + "smithy.api#documentation": "

A list of tag key value pairs that are associated with the resource.\n

" } } } @@ -4398,7 +4608,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details on the modification recommendation.

" + "smithy.api#documentation": "

Details for the modification recommendation.

" } }, "com.amazonaws.costexplorer#MonitorArnList": { @@ -4442,30 +4652,30 @@ "NetworkInBytesPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The network inbound throughput utilization measured in Bytes per second.

" + "smithy.api#documentation": "

The network inbound throughput utilization measured in Bytes per second (Bps).

" } }, "NetworkOutBytesPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The network outbound throughput utilization measured in Bytes per second.

" + "smithy.api#documentation": "

The network outbound throughput utilization measured in Bytes per second (Bps).

" } }, "NetworkPacketsInPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The network ingress packets that are measured in packets per second.

" + "smithy.api#documentation": "

The network inbound packets that are measured in packets per second.

" } }, "NetworkPacketsOutPerSecond": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The network outgress packets that are measured in packets per second.

" + "smithy.api#documentation": "

The network outbound packets that are measured in packets per second.

" } } }, "traits": { - "smithy.api#documentation": "

The network field that contains a list of network metrics that are associated with\n the current instance.

" + "smithy.api#documentation": "

The network field that contains a list of network metrics that are associated with the\n current instance.

" } }, "com.amazonaws.costexplorer#NextPageToken": { @@ -5018,7 +5228,7 @@ "AccountId": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The account that this RI recommendation is for.

" + "smithy.api#documentation": "

The account that this Reserved Instance (RI) recommendation is for.

" } }, "InstanceDetails": { @@ -5096,13 +5306,13 @@ "EstimatedMonthlySavingsAmount": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

How much Amazon Web Services estimates that this specific recommendation could save you\n in a month.

" + "smithy.api#documentation": "

How much Amazon Web Services estimates that this specific recommendation might save you\n in a month.

" } }, "EstimatedMonthlySavingsPercentage": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

How much Amazon Web Services estimates that this specific recommendation could save you\n in a month, as a percentage of your overall costs.

" + "smithy.api#documentation": "

How much Amazon Web Services estimates that this specific recommendation might save you\n in a month, as a percentage of your overall costs.

" } }, "EstimatedMonthlyOnDemandCost": { @@ -5114,7 +5324,7 @@ "EstimatedReservationCostForLookbackPeriod": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

How much Amazon Web Services estimates that you would have spent for all usage during\n the specified historical period if you had a reservation.

" + "smithy.api#documentation": "

How much Amazon Web Services estimates that you might spend for all usage during the\n specified historical period if you had a reservation.

" } }, "UpfrontCost": { @@ -5242,12 +5452,12 @@ "EC2ResourceDetails": { "target": "com.amazonaws.costexplorer#EC2ResourceDetails", "traits": { - "smithy.api#documentation": "

Details on the Amazon EC2 resource.

" + "smithy.api#documentation": "

Details for the Amazon EC2 resource.

" } } }, "traits": { - "smithy.api#documentation": "

Details on the resource.

" + "smithy.api#documentation": "

Details for the resource.

" } }, "com.amazonaws.costexplorer#ResourceNotFoundException": { @@ -5272,20 +5482,20 @@ "Key": { "target": "com.amazonaws.costexplorer#ResourceTagKey", "traits": { - "smithy.api#documentation": "

\n The key that is associated with the tag.\n

", + "smithy.api#documentation": "

The key that's associated with the tag.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.costexplorer#ResourceTagValue", "traits": { - "smithy.api#documentation": "

\n The value that is associated with the tag.\n

", + "smithy.api#documentation": "

The value that's associated with the tag.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n The tag structure that contains a tag key and value. \n

\n \n

Tagging is supported only for the following Cost Explorer resource types: \n AnomalyMonitor\n , \n AnomalySubscription\n , \n CostCategory\n .

\n
" + "smithy.api#documentation": "

The tag structure that contains a tag key and value.

\n \n

Tagging is supported only for the following Cost Explorer resource types: \n AnomalyMonitor\n , \n AnomalySubscription\n , \n CostCategory\n .

\n
" } }, "com.amazonaws.costexplorer#ResourceTagKey": { @@ -5396,7 +5606,7 @@ "CurrentInstance": { "target": "com.amazonaws.costexplorer#CurrentInstance", "traits": { - "smithy.api#documentation": "

Context regarding the current instance.

" + "smithy.api#documentation": "

Context\n regarding the current instance.

" } }, "RightsizingType": { @@ -5420,7 +5630,7 @@ "FindingReasonCodes": { "target": "com.amazonaws.costexplorer#FindingReasonCodes", "traits": { - "smithy.api#documentation": "

The list of possible reasons why the recommendation is generated such as under or\n over utilization of specific metrics (for example, CPU, Memory, Network).

" + "smithy.api#documentation": "

The list of possible reasons why the recommendation is generated, such as under- or\n over-utilization of specific metrics (for example, CPU, Memory, Network).

" } } }, @@ -5447,7 +5657,7 @@ } }, "traits": { - "smithy.api#documentation": "

You can use RightsizingRecommendationConfiguration to customize\n recommendations across two attributes. You can choose to view recommendations for\n instances within the same instance families or across different instance families. You\n can also choose to view your estimated savings that are associated with recommendations\n with consideration of existing Savings Plans or RI benefits, or neither.

" + "smithy.api#documentation": "

You can use RightsizingRecommendationConfiguration to customize\n recommendations across two attributes. You can choose to view recommendations for\n instances within the same instance families or across different instance families. You\n can also choose to view your estimated savings that are associated with recommendations\n with consideration of existing Savings Plans or Reserved Instance (RI) benefits, or\n neither.

" } }, "com.amazonaws.costexplorer#RightsizingRecommendationList": { @@ -5541,7 +5751,7 @@ "Service": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The Amazon Web Services service name that's associated with the cost anomaly.

" + "smithy.api#documentation": "

The Amazon Web Service name that's associated with the cost anomaly.

" } }, "Region": { @@ -5564,7 +5774,7 @@ } }, "traits": { - "smithy.api#documentation": "

The combination of Amazon Web Services service, linked account, Region, and usage type\n where a cost anomaly is observed.

" + "smithy.api#documentation": "

The combination of Amazon Web Service, linked account, Region, and usage type\n where a cost anomaly is observed.

" } }, "com.amazonaws.costexplorer#RootCauses": { @@ -5622,7 +5832,7 @@ } }, "traits": { - "smithy.api#documentation": "

The amount of Savings Plans eligible usage that is covered by Savings Plans. All\n calculations consider the On-Demand equivalent of your Savings Plans usage.

" + "smithy.api#documentation": "

The amount of Savings Plans eligible usage that's covered by Savings Plans. All\n calculations consider the On-Demand equivalent of your Savings Plans usage.

" } }, "com.amazonaws.costexplorer#SavingsPlansCoverageData": { @@ -5631,7 +5841,7 @@ "SpendCoveredBySavingsPlans": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The amount of your Amazon Web Services usage that is covered by a Savings Plans.

" + "smithy.api#documentation": "

The amount of your Amazon Web Services usage that's covered by a Savings Plans.

" } }, "OnDemandCost": { @@ -5742,19 +5952,19 @@ "PaymentOption": { "target": "com.amazonaws.costexplorer#PaymentOption", "traits": { - "smithy.api#documentation": "

The payment option used to generate the recommendation.

" + "smithy.api#documentation": "

The payment option that's used to generate the recommendation.

" } }, "LookbackPeriodInDays": { "target": "com.amazonaws.costexplorer#LookbackPeriodInDays", "traits": { - "smithy.api#documentation": "

The lookback period in days, used to generate the recommendation.

" + "smithy.api#documentation": "

The lookback period in days that's used to generate the recommendation.

" } }, "SavingsPlansPurchaseRecommendationDetails": { "target": "com.amazonaws.costexplorer#SavingsPlansPurchaseRecommendationDetailList", "traits": { - "smithy.api#documentation": "

Details for the Savings Plans we recommend that you purchase to cover existing Savings\n Plans eligible workloads.

" + "smithy.api#documentation": "

Details for the Savings Plans that we recommend that you purchase to cover existing\n Savings Plans eligible workloads.

" } }, "SavingsPlansPurchaseRecommendationSummary": { @@ -5816,7 +6026,7 @@ "EstimatedOnDemandCostWithCurrentCommitment": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The estimated On-Demand costs you would expect with no additional commitment, based\n on your usage of the selected time period and the Savings Plans you own.

" + "smithy.api#documentation": "

The estimated On-Demand costs you expect with no additional commitment, based on your\n usage of the selected time period and the Savings Plans you own.

" } }, "EstimatedSavingsAmount": { @@ -5890,7 +6100,7 @@ "GenerationTimestamp": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The timestamp showing when the recommendations were generated.

" + "smithy.api#documentation": "

The timestamp that shows when the recommendations were generated.

" } }, "AdditionalMetadata": { @@ -5970,7 +6180,7 @@ "EstimatedOnDemandCostWithCurrentCommitment": { "target": "com.amazonaws.costexplorer#GenericString", "traits": { - "smithy.api#documentation": "

The estimated On-Demand costs you would expect with no additional commitment. It's\n based on your usage of the selected time period and the Savings Plans you own.

" + "smithy.api#documentation": "

The estimated On-Demand costs you expect with no additional commitment. It's based on\n your usage of the selected time period and the Savings Plans you own.

" } } }, @@ -6043,7 +6253,7 @@ "Savings": { "target": "com.amazonaws.costexplorer#SavingsPlansSavings", "traits": { - "smithy.api#documentation": "

The amount saved by using existing Savings Plans. Savings returns both net savings\n from Savings Plans, as well as the onDemandCostEquivalent of the Savings\n Plans when considering the utilization rate.

" + "smithy.api#documentation": "

The amount that's saved by using existing Savings Plans. Savings returns both net\n savings from Savings Plans and also the onDemandCostEquivalent of the\n Savings Plans when considering the utilization rate.

" } }, "AmortizedCommitment": { @@ -6076,7 +6286,7 @@ "Savings": { "target": "com.amazonaws.costexplorer#SavingsPlansSavings", "traits": { - "smithy.api#documentation": "

The amount saved by using existing Savings Plans. Savings returns both net savings\n from Savings Plans as well as the onDemandCostEquivalent of the Savings\n Plans when considering the utilization rate.

" + "smithy.api#documentation": "

The amount that's saved by using existing Savings Plans. Savings returns both net\n savings from Savings Plans and also the onDemandCostEquivalent of the\n Savings Plans when considering the utilization rate.

" } }, "AmortizedCommitment": { @@ -6087,7 +6297,7 @@ } }, "traits": { - "smithy.api#documentation": "

The amount of Savings Plans utilization, in hours.

" + "smithy.api#documentation": "

The amount of Savings Plans utilization (in hours).

" } }, "com.amazonaws.costexplorer#SavingsPlansUtilizationDetail": { @@ -6114,7 +6324,7 @@ "Savings": { "target": "com.amazonaws.costexplorer#SavingsPlansSavings", "traits": { - "smithy.api#documentation": "

The amount saved by using existing Savings Plans. Savings returns both net savings\n from savings plans as well as the onDemandCostEquivalent of the Savings\n Plans when considering the utilization rate.

" + "smithy.api#documentation": "

The amount saved by using existing Savings Plans. Savings returns both net savings\n from savings plans and also the onDemandCostEquivalent of the Savings Plans\n when considering the utilization rate.

" } }, "AmortizedCommitment": { @@ -6125,7 +6335,7 @@ } }, "traits": { - "smithy.api#documentation": "

A single daily or monthly Savings Plans utilization rate, and details for your\n account. A management account in an organization have access to member accounts. You can\n use GetDimensionValues to determine the possible dimension values.

" + "smithy.api#documentation": "

A single daily or monthly Savings Plans utilization rate and details for your account.\n A management account in an organization have access to member accounts. You can use\n GetDimensionValues to determine the possible dimension values.

" } }, "com.amazonaws.costexplorer#SavingsPlansUtilizationDetails": { @@ -6195,7 +6405,7 @@ } }, "traits": { - "smithy.api#documentation": "

The details of how to sort the data.

" + "smithy.api#documentation": "

The details for how to sort the data.

" } }, "com.amazonaws.costexplorer#SortDefinitionKey": { @@ -6356,7 +6566,7 @@ } ], "traits": { - "smithy.api#documentation": "

An API operation for adding one or more tags (key-value pairs) to a resource.

\n

You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value you specify replaces the previous value for that tag.

\n

\n Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

" + "smithy.api#documentation": "

An API operation for adding one or more tags (key-value pairs) to a resource.

\n

You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value you specify replaces the previous value for that tag.

\n

Although the maximum number of array members is 200, user-tag maximum is 50. The remaining\n are reserved for Amazon Web Services use.

" } }, "com.amazonaws.costexplorer#TagResourceRequest": { @@ -6372,7 +6582,7 @@ "ResourceTags": { "target": "com.amazonaws.costexplorer#ResourceTagList", "traits": { - "smithy.api#documentation": "

\n A list of tag key-value pairs to be added to the resource.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n ", + "smithy.api#documentation": "

\n A list of tag key-value pairs to be added to the resource.

\n

Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:

\n ", "smithy.api#required": {} } } @@ -6456,7 +6666,7 @@ "PlatformDifferences": { "target": "com.amazonaws.costexplorer#PlatformDifferences", "traits": { - "smithy.api#documentation": "

Explains the actions you might need to take in order to successfully migrate your\n workloads from the current instance type to the recommended instance type.

" + "smithy.api#documentation": "

Explains the actions that you might need to take to successfully migrate your\n workloads from the current instance type to the recommended instance type.

" } } }, @@ -6625,7 +6835,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Removes one or more tags from a resource. Specify only tag key(s) in your request. Do not specify the value. \n

" + "smithy.api#documentation": "

Removes one or more tags from a resource. Specify only tag keys in your request. Don't\n specify the value.

" } }, "com.amazonaws.costexplorer#UntagResourceRequest": { @@ -6634,14 +6844,14 @@ "ResourceArn": { "target": "com.amazonaws.costexplorer#Arn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.\n

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see\n ResourceTag.

", "smithy.api#required": {} } }, "ResourceTagKeys": { "target": "com.amazonaws.costexplorer#ResourceTagKeyList", "traits": { - "smithy.api#documentation": "

\n A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that does not exist, it is ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.\n

", + "smithy.api#documentation": "

A list of tag keys associated with tags that need to be removed from the resource. If you\n specify a tag key that doesn't exist, it's ignored. Although the maximum number of array\n members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.

", "smithy.api#required": {} } } @@ -6784,6 +6994,84 @@ } } }, + "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusRequest" + }, + "output": { + "target": "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.costexplorer#LimitExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates status for cost allocation tags in bulk, with maximum batch size of 20. If the tag\n status that's updated is the same as the existing tag status, the request doesn't fail.\n Instead, it doesn't have any effect on the tag status (for example, activating the active\n tag).

" + } + }, + "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusError": { + "type": "structure", + "members": { + "TagKey": { + "target": "com.amazonaws.costexplorer#TagKey", + "traits": { + "smithy.api#documentation": "

The key for the cost allocation tag.

" + } + }, + "Code": { + "target": "com.amazonaws.costexplorer#GenericString", + "traits": { + "smithy.api#documentation": "

An error code representing why the action failed on this entry.

" + } + }, + "Message": { + "target": "com.amazonaws.costexplorer#ErrorMessage", + "traits": { + "smithy.api#documentation": "

A message explaining why the action failed on this entry.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Gives a detailed description of the result of an action. It's on each cost allocation\n tag entry in the request.

" + } + }, + "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusErrors": { + "type": "list", + "member": { + "target": "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusError" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 20 + } + } + }, + "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusRequest": { + "type": "structure", + "members": { + "CostAllocationTagsStatus": { + "target": "com.amazonaws.costexplorer#CostAllocationTagStatusList", + "traits": { + "smithy.api#documentation": "

The list of CostAllocationTagStatusEntry objects that are used to update cost\n allocation tags status for this request.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusResponse": { + "type": "structure", + "members": { + "Errors": { + "target": "com.amazonaws.costexplorer#UpdateCostAllocationTagsStatusErrors", + "traits": { + "smithy.api#documentation": "

A list of UpdateCostAllocationTagsStatusError objects with error details\n about each cost allocation tag that can't be updated. If there's no failure, an empty array\n returns.

" + } + } + } + }, "com.amazonaws.costexplorer#UpdateCostCategoryDefinition": { "type": "operation", "input": { @@ -6847,13 +7135,13 @@ "CostCategoryArn": { "target": "com.amazonaws.costexplorer#Arn", "traits": { - "smithy.api#documentation": "

\n The unique identifier for your Cost Category.\n

" + "smithy.api#documentation": "

The unique identifier for your Cost Category.

" } }, "EffectiveStart": { "target": "com.amazonaws.costexplorer#ZonedDateTime", "traits": { - "smithy.api#documentation": "

\n The Cost Category's effective start date.\n

" + "smithy.api#documentation": "

The Cost Category's effective start date.

" } } } @@ -6925,7 +7213,7 @@ "com.amazonaws.costexplorer#ZonedDateTime": { "type": "string", "traits": { - "smithy.api#documentation": "

The time period that you want the usage and costs for.

", + "smithy.api#documentation": "

The period of time that you want the usage and costs for.

", "smithy.api#length": { "min": 20, "max": 25 diff --git a/codegen/sdk-codegen/aws-models/datasync.json b/codegen/sdk-codegen/aws-models/datasync.json index dc4bc0a1a1f..574346b0ef6 100644 --- a/codegen/sdk-codegen/aws-models/datasync.json +++ b/codegen/sdk-codegen/aws-models/datasync.json @@ -267,7 +267,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an endpoint for an Amazon EFS file system.

" + "smithy.api#documentation": "

Creates an endpoint for an Amazon EFS file system that DataSync\n can access for a transfer. For more information, see Creating a location for Amazon EFS.

" } }, "com.amazonaws.datasync#CreateLocationEfsRequest": { @@ -276,27 +276,45 @@ "Subdirectory": { "target": "com.amazonaws.datasync#EfsSubdirectory", "traits": { - "smithy.api#documentation": "

A subdirectory in the location’s path. This subdirectory in the EFS file system is used\n to read data from the EFS source location or write data to the EFS destination. By default,\n DataSync uses the root directory.

\n \n

\n Subdirectory must be specified with forward slashes. For example,\n /path/to/folder.

\n
" + "smithy.api#documentation": "

Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

\n \n

You must specify a value with forward slashes (for example,\n /path/to/folder).

\n
" } }, "EfsFilesystemArn": { "target": "com.amazonaws.datasync#EfsFilesystemArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Amazon EFS file system.

", + "smithy.api#documentation": "

Specifies the ARN for the Amazon EFS file system.

", "smithy.api#required": {} } }, "Ec2Config": { "target": "com.amazonaws.datasync#Ec2Config", "traits": { - "smithy.api#documentation": "

The subnet and security group that the Amazon EFS file system uses. The security group\n that you provide needs to be able to communicate with the security group on the mount target\n in the subnet specified.

\n

The exact relationship between security group M (of the mount target) and security\n group S (which you provide for DataSync to use at this stage) is as follows:

\n ", + "smithy.api#documentation": "

Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.datasync#InputTagList", "traits": { - "smithy.api#documentation": "

The key-value pair that represents a tag that you want to add to the resource. The\n value can be an empty string. This value helps you manage, filter, and search for your\n resources. We recommend that you create a name tag for your location.

" + "smithy.api#documentation": "

Specifies the key-value pair that represents a tag that you want to add to the\n resource. The value can be an empty string. This value helps you manage, filter, and search\n for your resources. We recommend that you create a name tag for your location.

" + } + }, + "AccessPointArn": { + "target": "com.amazonaws.datasync#EfsAccessPointArn", + "traits": { + "smithy.api#documentation": "

Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

" + } + }, + "FileSystemAccessRoleArn": { + "target": "com.amazonaws.datasync#IamRoleArn", + "traits": { + "smithy.api#documentation": "

Specifies an Identity and Access Management (IAM) role that DataSync\n assumes when mounting the Amazon EFS file system.

" + } + }, + "InTransitEncryption": { + "target": "com.amazonaws.datasync#EfsInTransitEncryption", + "traits": { + "smithy.api#documentation": "

Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system.

\n

If you specify an access point using AccessPointArn or an IAM\n role using FileSystemAccessRoleArn, you must set this parameter to\n TLS1_2.

" } } }, @@ -310,7 +328,7 @@ "LocationArn": { "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon EFS file system location that is\n created.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon EFS file system location that you\n create.

" } } }, @@ -1313,7 +1331,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns metadata, such as the path information about an Amazon EFS location.

" + "smithy.api#documentation": "

Returns metadata about your DataSync location for an Amazon EFS file system.

" } }, "com.amazonaws.datasync#DescribeLocationEfsRequest": { @@ -1322,7 +1340,7 @@ "LocationArn": { "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the EFS location to describe.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon EFS file system location that you want information about.

", "smithy.api#required": {} } } @@ -1337,13 +1355,13 @@ "LocationArn": { "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the EFS location that was described.

" + "smithy.api#documentation": "

The ARN of the Amazon EFS file system location.

" } }, "LocationUri": { "target": "com.amazonaws.datasync#LocationUri", "traits": { - "smithy.api#documentation": "

The URL of the EFS location that was described.

" + "smithy.api#documentation": "

The URL of the Amazon EFS file system location.

" } }, "Ec2Config": { @@ -1352,7 +1370,25 @@ "CreationTime": { "target": "com.amazonaws.datasync#Time", "traits": { - "smithy.api#documentation": "

The time that the EFS location was created.

" + "smithy.api#documentation": "

The time that the location was created.

" + } + }, + "AccessPointArn": { + "target": "com.amazonaws.datasync#EfsAccessPointArn", + "traits": { + "smithy.api#documentation": "

The ARN of the access point that DataSync uses to access the Amazon EFS file system.

" + } + }, + "FileSystemAccessRoleArn": { + "target": "com.amazonaws.datasync#IamRoleArn", + "traits": { + "smithy.api#documentation": "

The Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

" + } + }, + "InTransitEncryption": { + "target": "com.amazonaws.datasync#EfsInTransitEncryption", + "traits": { + "smithy.api#documentation": "

Whether DataSync uses TLS encryption when transferring data to or from your Amazon EFS file system.

" } } }, @@ -2258,20 +2294,20 @@ "SubnetArn": { "target": "com.amazonaws.datasync#Ec2SubnetArn", "traits": { - "smithy.api#documentation": "

The ARN of the subnet that DataSync uses to access the target EFS file\n system.

", + "smithy.api#documentation": "

Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

\n

The subnet must be located:

\n \n \n

You don't need to specify a subnet that includes a file system mount target.

\n
", "smithy.api#required": {} } }, "SecurityGroupArns": { "target": "com.amazonaws.datasync#Ec2SecurityGroupArnList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the\n Amazon EC2 resource.

", + "smithy.api#documentation": "

Specifies the Amazon Resource Names (ARNs) of the security groups associated with an\n Amazon EFS file system's mount target.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The subnet that DataSync uses to access target EFS file system. The\n subnet must have at least one mount target for that file system. The security group that you\n provide needs to be able to communicate with the security group on the mount target in the\n subnet specified.

" + "smithy.api#documentation": "

The subnet and security groups that DataSync uses to access your Amazon EFS file system.

" } }, "com.amazonaws.datasync#Ec2SecurityGroupArn": { @@ -2306,6 +2342,16 @@ "smithy.api#pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:subnet/.*$" } }, + "com.amazonaws.datasync#EfsAccessPointArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 128 + }, + "smithy.api#pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\\-0-9]+:[0-9]{12}:access-point/fsap-[0-9a-f]{8,40}$" + } + }, "com.amazonaws.datasync#EfsFilesystemArn": { "type": "string", "traits": { @@ -2316,6 +2362,21 @@ "smithy.api#pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\\-0-9]*:[0-9]{12}:file-system/fs-.*$" } }, + "com.amazonaws.datasync#EfsInTransitEncryption": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NONE", + "name": "NONE" + }, + { + "value": "TLS1_2", + "name": "TLS1_2" + } + ] + } + }, "com.amazonaws.datasync#EfsSubdirectory": { "type": "string", "traits": { @@ -2932,6 +2993,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Agents", "pageSize": "MaxResults" } } @@ -2997,6 +3059,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Locations", "pageSize": "MaxResults" } } @@ -3068,6 +3131,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Tags", "pageSize": "MaxResults" } } @@ -3140,6 +3204,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "TaskExecutions", "pageSize": "MaxResults" } } @@ -3211,6 +3276,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Tasks", "pageSize": "MaxResults" } } diff --git a/codegen/sdk-codegen/aws-models/drs.json b/codegen/sdk-codegen/aws-models/drs.json index afabb4dfece..bcb66f85403 100644 --- a/codegen/sdk-codegen/aws-models/drs.json +++ b/codegen/sdk-codegen/aws-models/drs.json @@ -22,11 +22,25 @@ } }, "traits": { - "smithy.api#documentation": "

TYou do not have sufficient access to perform this action.

", + "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, + "com.amazonaws.drs#Account": { + "type": "structure", + "members": { + "accountID": { + "target": "com.amazonaws.drs#AccountID", + "traits": { + "smithy.api#documentation": "

Account ID of AWS account.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

AWS account.

" + } + }, "com.amazonaws.drs#AccountID": { "type": "string", "traits": { @@ -37,6 +51,18 @@ "smithy.api#pattern": "[0-9]{12,}" } }, + "com.amazonaws.drs#AccountIDs": { + "type": "list", + "member": { + "target": "com.amazonaws.drs#AccountID" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, "com.amazonaws.drs#AccountResource": { "type": "resource", "identifiers": { @@ -48,6 +74,18 @@ "aws.iam#disableConditionKeyInference": {} } }, + "com.amazonaws.drs#Accounts": { + "type": "list", + "member": { + "target": "com.amazonaws.drs#Account" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, "com.amazonaws.drs#BoundedString": { "type": "string", "traits": { @@ -105,6 +143,53 @@ "smithy.api#httpError": 409 } }, + "com.amazonaws.drs#ConversionMap": { + "type": "map", + "key": { + "target": "com.amazonaws.drs#ebsSnapshot" + }, + "value": { + "target": "com.amazonaws.drs#ebsSnapshot" + } + }, + "com.amazonaws.drs#ConversionProperties": { + "type": "structure", + "members": { + "volumeToConversionMap": { + "target": "com.amazonaws.drs#VolumeToConversionMap", + "traits": { + "smithy.api#documentation": "

A mapping between the volumes being converted and the converted snapshot ids

" + } + }, + "rootVolumeName": { + "target": "com.amazonaws.drs#LargeBoundedString", + "traits": { + "smithy.api#documentation": "

The root volume name of a conversion job

" + } + }, + "forceUefi": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Whether the volume being converted uses UEFI or not

" + } + }, + "dataTimestamp": { + "target": "com.amazonaws.drs#LargeBoundedString", + "traits": { + "smithy.api#documentation": "

The timestamp of when the snapshot being converted was taken

" + } + }, + "volumeToVolumeSize": { + "target": "com.amazonaws.drs#VolumeToSizeMap", + "traits": { + "smithy.api#documentation": "

A mapping between the volumes and their sizes

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Properties of a conversion job

" + } + }, "com.amazonaws.drs#Cpus": { "type": "list", "member": { @@ -117,6 +202,75 @@ } } }, + "com.amazonaws.drs#CreateExtendedSourceServer": { + "type": "operation", + "input": { + "target": "com.amazonaws.drs#CreateExtendedSourceServerRequest" + }, + "output": { + "target": "com.amazonaws.drs#CreateExtendedSourceServerResponse" + }, + "errors": [ + { + "target": "com.amazonaws.drs#AccessDeniedException" + }, + { + "target": "com.amazonaws.drs#InternalServerException" + }, + { + "target": "com.amazonaws.drs#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.drs#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.drs#ThrottlingException" + }, + { + "target": "com.amazonaws.drs#UninitializedAccountException" + }, + { + "target": "com.amazonaws.drs#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Create an extended source server in the target Account based on the source server in staging account.

", + "smithy.api#http": { + "uri": "/CreateExtendedSourceServer", + "method": "POST", + "code": 201 + } + } + }, + "com.amazonaws.drs#CreateExtendedSourceServerRequest": { + "type": "structure", + "members": { + "sourceServerArn": { + "target": "com.amazonaws.drs#SourceServerARN", + "traits": { + "smithy.api#documentation": "

This defines the ARN of the source server in staging Account based on which you want to create an extended source server.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.drs#TagsMap", + "traits": { + "smithy.api#documentation": "

A list of tags associated with the extended source server.

" + } + } + } + }, + "com.amazonaws.drs#CreateExtendedSourceServerResponse": { + "type": "structure", + "members": { + "sourceServer": { + "target": "com.amazonaws.drs#SourceServer", + "traits": { + "smithy.api#documentation": "

Created extended source server.

" + } + } + } + }, "com.amazonaws.drs#CreateReplicationConfigurationTemplate": { "type": "operation", "input": { @@ -148,8 +302,8 @@ "traits": { "smithy.api#documentation": "

Creates a new ReplicationConfigurationTemplate.

", "smithy.api#http": { - "method": "POST", "uri": "/CreateReplicationConfigurationTemplate", + "method": "POST", "code": 201 } } @@ -280,60 +434,60 @@ "traits": { "smithy.api#enum": [ { - "value": "AGENT_NOT_SEEN", - "name": "AGENT_NOT_SEEN" + "name": "AGENT_NOT_SEEN", + "value": "AGENT_NOT_SEEN" }, { - "value": "SNAPSHOTS_FAILURE", - "name": "SNAPSHOTS_FAILURE" + "name": "SNAPSHOTS_FAILURE", + "value": "SNAPSHOTS_FAILURE" }, { - "value": "NOT_CONVERGING", - "name": "NOT_CONVERGING" + "name": "NOT_CONVERGING", + "value": "NOT_CONVERGING" }, { - "value": "UNSTABLE_NETWORK", - "name": "UNSTABLE_NETWORK" + "name": "UNSTABLE_NETWORK", + "value": "UNSTABLE_NETWORK" }, { - "value": "FAILED_TO_CREATE_SECURITY_GROUP", - "name": "FAILED_TO_CREATE_SECURITY_GROUP" + "name": "FAILED_TO_CREATE_SECURITY_GROUP", + "value": "FAILED_TO_CREATE_SECURITY_GROUP" }, { - "value": "FAILED_TO_LAUNCH_REPLICATION_SERVER", - "name": "FAILED_TO_LAUNCH_REPLICATION_SERVER" + "name": "FAILED_TO_LAUNCH_REPLICATION_SERVER", + "value": "FAILED_TO_LAUNCH_REPLICATION_SERVER" }, { - "value": "FAILED_TO_BOOT_REPLICATION_SERVER", - "name": "FAILED_TO_BOOT_REPLICATION_SERVER" + "name": "FAILED_TO_BOOT_REPLICATION_SERVER", + "value": "FAILED_TO_BOOT_REPLICATION_SERVER" }, { - "value": "FAILED_TO_AUTHENTICATE_WITH_SERVICE", - "name": "FAILED_TO_AUTHENTICATE_WITH_SERVICE" + "name": "FAILED_TO_AUTHENTICATE_WITH_SERVICE", + "value": "FAILED_TO_AUTHENTICATE_WITH_SERVICE" }, { - "value": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", - "name": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE" + "name": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE", + "value": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE" }, { - "value": "FAILED_TO_CREATE_STAGING_DISKS", - "name": "FAILED_TO_CREATE_STAGING_DISKS" + "name": "FAILED_TO_CREATE_STAGING_DISKS", + "value": "FAILED_TO_CREATE_STAGING_DISKS" }, { - "value": "FAILED_TO_ATTACH_STAGING_DISKS", - "name": "FAILED_TO_ATTACH_STAGING_DISKS" + "name": "FAILED_TO_ATTACH_STAGING_DISKS", + "value": "FAILED_TO_ATTACH_STAGING_DISKS" }, { - "value": "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", - "name": "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT" + "name": "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", + "value": "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT" }, { - "value": "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", - "name": "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER" + "name": "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", + "value": "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER" }, { - "value": "FAILED_TO_START_DATA_TRANSFER", - "name": "FAILED_TO_START_DATA_TRANSFER" + "name": "FAILED_TO_START_DATA_TRANSFER", + "value": "FAILED_TO_START_DATA_TRANSFER" } ] } @@ -534,24 +688,24 @@ "traits": { "smithy.api#enum": [ { - "value": "NOT_STARTED", - "name": "NOT_STARTED" + "name": "NOT_STARTED", + "value": "NOT_STARTED" }, { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" + "name": "IN_PROGRESS", + "value": "IN_PROGRESS" }, { - "value": "SUCCEEDED", - "name": "SUCCEEDED" + "name": "SUCCEEDED", + "value": "SUCCEEDED" }, { - "value": "FAILED", - "name": "FAILED" + "name": "FAILED", + "value": "FAILED" }, { - "value": "SKIPPED", - "name": "SKIPPED" + "name": "SKIPPED", + "value": "SKIPPED" } ] } @@ -567,44 +721,44 @@ "traits": { "smithy.api#enum": [ { - "value": "STOPPED", - "name": "STOPPED" + "name": "STOPPED", + "value": "STOPPED" }, { - "value": "INITIATING", - "name": "INITIATING" + "name": "INITIATING", + "value": "INITIATING" }, { - "value": "INITIAL_SYNC", - "name": "INITIAL_SYNC" + "name": "INITIAL_SYNC", + "value": "INITIAL_SYNC" }, { - "value": "BACKLOG", - "name": "BACKLOG" + "name": "BACKLOG", + "value": "BACKLOG" }, { - "value": "CREATING_SNAPSHOT", - "name": "CREATING_SNAPSHOT" + "name": "CREATING_SNAPSHOT", + "value": "CREATING_SNAPSHOT" }, { - "value": "CONTINUOUS", - "name": "CONTINUOUS" + "name": "CONTINUOUS", + "value": "CONTINUOUS" }, { - "value": "PAUSED", - "name": "PAUSED" + "name": "PAUSED", + "value": "PAUSED" }, { - "value": "RESCAN", - "name": "RESCAN" + "name": "RESCAN", + "value": "RESCAN" }, { - "value": "STALLED", - "name": "STALLED" + "name": "STALLED", + "value": "STALLED" }, { - "value": "DISCONNECTED", - "name": "DISCONNECTED" + "name": "DISCONNECTED", + "value": "DISCONNECTED" } ] } @@ -637,8 +791,8 @@ "traits": { "smithy.api#documentation": "

Deletes a single Job by ID.

", "smithy.api#http": { - "method": "POST", "uri": "/DeleteJob", + "method": "POST", "code": 204 }, "smithy.api#idempotent": {} @@ -665,6 +819,9 @@ "input": { "target": "com.amazonaws.drs#DeleteRecoveryInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.drs#AccessDeniedException" @@ -685,8 +842,8 @@ "traits": { "smithy.api#documentation": "

Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.

", "smithy.api#http": { - "method": "POST", "uri": "/DeleteRecoveryInstance", + "method": "POST", "code": 200 } } @@ -731,8 +888,8 @@ "traits": { "smithy.api#documentation": "

Deletes a single Replication Configuration Template by ID

", "smithy.api#http": { - "method": "POST", "uri": "/DeleteReplicationConfigurationTemplate", + "method": "POST", "code": 204 }, "smithy.api#idempotent": {} @@ -782,8 +939,8 @@ "traits": { "smithy.api#documentation": "

Deletes a single Source Server by ID. The Source Server must be disconnected first.

", "smithy.api#http": { - "method": "POST", "uri": "/DeleteSourceServer", + "method": "POST", "code": 204 }, "smithy.api#idempotent": {} @@ -830,15 +987,15 @@ "traits": { "smithy.api#documentation": "

Retrieves a detailed Job log with pagination.

", "smithy.api#http": { - "method": "POST", "uri": "/DescribeJobLogItems", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "items", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "items" }, "smithy.api#readonly": {} } @@ -909,15 +1066,15 @@ "traits": { "smithy.api#documentation": "

Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.

", "smithy.api#http": { - "method": "POST", "uri": "/DescribeJobs", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "items", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "items" }, "smithy.api#readonly": {} } @@ -928,8 +1085,7 @@ "filters": { "target": "com.amazonaws.drs#DescribeJobsRequestFilters", "traits": { - "smithy.api#documentation": "

A set of filters by which to return Jobs.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A set of filters by which to return Jobs.

" } }, "maxResults": { @@ -1029,15 +1185,15 @@ ], "smithy.api#documentation": "

Lists all Recovery Instances or multiple Recovery Instances by ID.

", "smithy.api#http": { - "method": "POST", "uri": "/DescribeRecoveryInstances", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "items", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "items" }, "smithy.api#readonly": {} } @@ -1054,8 +1210,7 @@ "filters": { "target": "com.amazonaws.drs#DescribeRecoveryInstancesRequestFilters", "traits": { - "smithy.api#documentation": "

A set of filters by which to return Recovery Instances.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A set of filters by which to return Recovery Instances.

" } }, "maxResults": { @@ -1137,15 +1292,15 @@ "traits": { "smithy.api#documentation": "

Lists all Recovery Snapshots for a single Source Server.

", "smithy.api#http": { - "method": "POST", "uri": "/DescribeRecoverySnapshots", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "items", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "items" }, "smithy.api#readonly": {} } @@ -1251,15 +1406,15 @@ "traits": { "smithy.api#documentation": "

Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.

", "smithy.api#http": { - "method": "POST", "uri": "/DescribeReplicationConfigurationTemplates", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "items", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "items" }, "smithy.api#readonly": {} } @@ -1270,8 +1425,7 @@ "replicationConfigurationTemplateIDs": { "target": "com.amazonaws.drs#ReplicationConfigurationTemplateIDs", "traits": { - "smithy.api#documentation": "

The IDs of the Replication Configuration Templates to retrieve. An empty list means all Replication Configuration Templates.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The IDs of the Replication Configuration Templates to retrieve. An empty list means all Replication Configuration Templates.

" } }, "maxResults": { @@ -1330,15 +1484,15 @@ "traits": { "smithy.api#documentation": "

Lists all Source Servers or multiple Source Servers filtered by ID.

", "smithy.api#http": { - "method": "POST", "uri": "/DescribeSourceServers", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "items", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "items" }, "smithy.api#readonly": {} } @@ -1349,8 +1503,7 @@ "filters": { "target": "com.amazonaws.drs#DescribeSourceServersRequestFilters", "traits": { - "smithy.api#documentation": "

A set of filters by which to return Source Servers.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A set of filters by which to return Source Servers.

" } }, "maxResults": { @@ -1381,6 +1534,12 @@ "traits": { "smithy.api#documentation": "

An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid or a mac address.

" } + }, + "stagingAccountIDs": { + "target": "com.amazonaws.drs#AccountIDs", + "traits": { + "smithy.api#documentation": "

An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.

" + } } }, "traits": { @@ -1421,6 +1580,9 @@ "input": { "target": "com.amazonaws.drs#DisconnectRecoveryInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.drs#AccessDeniedException" @@ -1444,8 +1606,8 @@ "traits": { "smithy.api#documentation": "

Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.

", "smithy.api#http": { - "method": "POST", "uri": "/DisconnectRecoveryInstance", + "method": "POST", "code": 200 } } @@ -1490,8 +1652,8 @@ "traits": { "smithy.api#documentation": "

Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.

", "smithy.api#http": { - "method": "POST", "uri": "/DisconnectSourceServer", + "method": "POST", "code": 200 } } @@ -1555,32 +1717,32 @@ "traits": { "smithy.api#enum": [ { - "value": "PENDING", - "name": "PENDING" + "name": "PENDING", + "value": "PENDING" }, { - "value": "RUNNING", - "name": "RUNNING" + "name": "RUNNING", + "value": "RUNNING" }, { - "value": "STOPPING", - "name": "STOPPING" + "name": "STOPPING", + "value": "STOPPING" }, { - "value": "STOPPED", - "name": "STOPPED" + "name": "STOPPED", + "value": "STOPPED" }, { - "value": "SHUTTING-DOWN", - "name": "SHUTTING_DOWN" + "name": "SHUTTING_DOWN", + "value": "SHUTTING-DOWN" }, { - "value": "TERMINATED", - "name": "TERMINATED" + "name": "TERMINATED", + "value": "TERMINATED" }, { - "value": "NOT_FOUND", - "name": "NOT_FOUND" + "name": "NOT_FOUND", + "value": "NOT_FOUND" } ] } @@ -1616,9 +1778,8 @@ "aws.api#service": { "sdkId": "drs", "arnNamespace": "drs", - "cloudFormationName": "ElasticDisasterRecoveryService", - "cloudTrailEventSource": "drs.amazonaws.com", - "endpointPrefix": "drs" + "awsProductName": "drs", + "cloudTrailEventSource": "drs.amazonaws.com" }, "aws.auth#sigv4": { "name": "drs" @@ -1632,10 +1793,10 @@ "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ - "X-Amz-Content-Sha256", - "X-Amzn-Trace-Id", "Content-Type", - "X-Amz-User-Agent" + "X-Amz-Content-Sha256", + "X-Amz-User-Agent", + "X-Amzn-Trace-Id" ], "additionalExposedHeaders": [ "X-Amzn-Errortype", @@ -1649,9 +1810,18 @@ }, "version": "2020-02-26", "operations": [ + { + "target": "com.amazonaws.drs#CreateExtendedSourceServer" + }, { "target": "com.amazonaws.drs#InitializeService" }, + { + "target": "com.amazonaws.drs#ListExtensibleSourceServers" + }, + { + "target": "com.amazonaws.drs#ListStagingAccounts" + }, { "target": "com.amazonaws.drs#ListTagsForResource" }, @@ -1680,45 +1850,64 @@ } ] }, + "com.amazonaws.drs#ExtensionStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "EXTENDED", + "value": "EXTENDED" + }, + { + "name": "EXTENSION_ERROR", + "value": "EXTENSION_ERROR" + }, + { + "name": "NOT_EXTENDED", + "value": "NOT_EXTENDED" + } + ] + } + }, "com.amazonaws.drs#FailbackReplicationError": { "type": "string", "traits": { "smithy.api#enum": [ { - "value": "AGENT_NOT_SEEN", - "name": "AGENT_NOT_SEEN" + "name": "AGENT_NOT_SEEN", + "value": "AGENT_NOT_SEEN" }, { - "value": "FAILBACK_CLIENT_NOT_SEEN", - "name": "FAILBACK_CLIENT_NOT_SEEN" + "name": "FAILBACK_CLIENT_NOT_SEEN", + "value": "FAILBACK_CLIENT_NOT_SEEN" }, { - "value": "NOT_CONVERGING", - "name": "NOT_CONVERGING" + "name": "NOT_CONVERGING", + "value": "NOT_CONVERGING" }, { - "value": "UNSTABLE_NETWORK", - "name": "UNSTABLE_NETWORK" + "name": "UNSTABLE_NETWORK", + "value": "UNSTABLE_NETWORK" }, { - "value": "FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION", - "name": "FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION" + "name": "FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION", + "value": "FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION" }, { - "value": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT", - "name": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT" + "name": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT", + "value": "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT" }, { - "value": "FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE", - "name": "FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE" + "name": "FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE", + "value": "FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE" }, { - "value": "FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE", - "name": "FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE" + "name": "FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE", + "value": "FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE" }, { - "value": "FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION", - "name": "FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION" + "name": "FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION", + "value": "FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION" } ] } @@ -1728,24 +1917,24 @@ "traits": { "smithy.api#enum": [ { - "value": "FAILBACK_NOT_STARTED", - "name": "FAILBACK_NOT_STARTED" + "name": "FAILBACK_NOT_STARTED", + "value": "FAILBACK_NOT_STARTED" }, { - "value": "FAILBACK_IN_PROGRESS", - "name": "FAILBACK_IN_PROGRESS" + "name": "FAILBACK_IN_PROGRESS", + "value": "FAILBACK_IN_PROGRESS" }, { - "value": "FAILBACK_READY_FOR_LAUNCH", - "name": "FAILBACK_READY_FOR_LAUNCH" + "name": "FAILBACK_READY_FOR_LAUNCH", + "value": "FAILBACK_READY_FOR_LAUNCH" }, { - "value": "FAILBACK_COMPLETED", - "name": "FAILBACK_COMPLETED" + "name": "FAILBACK_COMPLETED", + "value": "FAILBACK_COMPLETED" }, { - "value": "FAILBACK_ERROR", - "name": "FAILBACK_ERROR" + "name": "FAILBACK_ERROR", + "value": "FAILBACK_ERROR" } ] } @@ -1775,8 +1964,8 @@ "traits": { "smithy.api#documentation": "

Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.

", "smithy.api#http": { - "method": "POST", "uri": "/GetFailbackReplicationConfiguration", + "method": "POST", "code": 200 }, "smithy.api#readonly": {} @@ -1849,8 +2038,8 @@ "traits": { "smithy.api#documentation": "

Gets a LaunchConfiguration, filtered by Source Server IDs.

", "smithy.api#http": { - "method": "POST", "uri": "/GetLaunchConfiguration", + "method": "POST", "code": 200 }, "smithy.api#readonly": {} @@ -1877,6 +2066,9 @@ "target": "com.amazonaws.drs#ReplicationConfiguration" }, "errors": [ + { + "target": "com.amazonaws.drs#AccessDeniedException" + }, { "target": "com.amazonaws.drs#InternalServerException" }, @@ -1893,8 +2085,8 @@ "traits": { "smithy.api#documentation": "

Gets a ReplicationConfiguration, filtered by Source Server ID.

", "smithy.api#http": { - "method": "POST", "uri": "/GetReplicationConfiguration", + "method": "POST", "code": 200 }, "smithy.api#readonly": {} @@ -1991,8 +2183,8 @@ ], "smithy.api#documentation": "

Initialize Elastic Disaster Recovery.

", "smithy.api#http": { - "method": "POST", "uri": "/InitializeService", + "method": "POST", "code": 204 } } @@ -2028,6 +2220,10 @@ { "value": "TERMINATE_RECOVERY_INSTANCES", "name": "TERMINATE_RECOVERY_INSTANCES" + }, + { + "value": "TARGET_ACCOUNT", + "name": "TARGET_ACCOUNT" } ] } @@ -2159,72 +2355,72 @@ "traits": { "smithy.api#enum": [ { - "value": "JOB_START", - "name": "JOB_START" + "name": "JOB_START", + "value": "JOB_START" }, { - "value": "SERVER_SKIPPED", - "name": "SERVER_SKIPPED" + "name": "SERVER_SKIPPED", + "value": "SERVER_SKIPPED" }, { - "value": "CLEANUP_START", - "name": "CLEANUP_START" + "name": "CLEANUP_START", + "value": "CLEANUP_START" }, { - "value": "CLEANUP_END", - "name": "CLEANUP_END" + "name": "CLEANUP_END", + "value": "CLEANUP_END" }, { - "value": "CLEANUP_FAIL", - "name": "CLEANUP_FAIL" + "name": "CLEANUP_FAIL", + "value": "CLEANUP_FAIL" }, { - "value": "SNAPSHOT_START", - "name": "SNAPSHOT_START" + "name": "SNAPSHOT_START", + "value": "SNAPSHOT_START" }, { - "value": "SNAPSHOT_END", - "name": "SNAPSHOT_END" + "name": "SNAPSHOT_END", + "value": "SNAPSHOT_END" }, { - "value": "SNAPSHOT_FAIL", - "name": "SNAPSHOT_FAIL" + "name": "SNAPSHOT_FAIL", + "value": "SNAPSHOT_FAIL" }, { - "value": "USING_PREVIOUS_SNAPSHOT", - "name": "USING_PREVIOUS_SNAPSHOT" + "name": "USING_PREVIOUS_SNAPSHOT", + "value": "USING_PREVIOUS_SNAPSHOT" }, { - "value": "USING_PREVIOUS_SNAPSHOT_FAILED", - "name": "USING_PREVIOUS_SNAPSHOT_FAILED" + "name": "USING_PREVIOUS_SNAPSHOT_FAILED", + "value": "USING_PREVIOUS_SNAPSHOT_FAILED" }, { - "value": "CONVERSION_START", - "name": "CONVERSION_START" + "name": "CONVERSION_START", + "value": "CONVERSION_START" }, { - "value": "CONVERSION_END", - "name": "CONVERSION_END" + "name": "CONVERSION_END", + "value": "CONVERSION_END" }, { - "value": "CONVERSION_FAIL", - "name": "CONVERSION_FAIL" + "name": "CONVERSION_FAIL", + "value": "CONVERSION_FAIL" }, { - "value": "LAUNCH_START", - "name": "LAUNCH_START" + "name": "LAUNCH_START", + "value": "LAUNCH_START" }, { - "value": "LAUNCH_FAILED", - "name": "LAUNCH_FAILED" + "name": "LAUNCH_FAILED", + "value": "LAUNCH_FAILED" }, { - "value": "JOB_CANCEL", - "name": "JOB_CANCEL" + "name": "JOB_CANCEL", + "value": "JOB_CANCEL" }, { - "value": "JOB_END", - "name": "JOB_END" + "name": "JOB_END", + "value": "JOB_END" } ] } @@ -2255,6 +2451,12 @@ "traits": { "smithy.api#documentation": "

A string representing a job error.

" } + }, + "conversionProperties": { + "target": "com.amazonaws.drs#ConversionProperties", + "traits": { + "smithy.api#documentation": "

Properties of a conversion job

" + } } }, "traits": { @@ -2287,10 +2489,7 @@ ], "traits": { "aws.api#arn": { - "template": "job/{jobID}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "job/{jobID}" }, "aws.iam#conditionKeys": [ "aws:ResourceTag" @@ -2328,6 +2527,10 @@ { "value": "TERMINATE", "name": "TERMINATE" + }, + { + "value": "CREATE_CONVERTED_SNAPSHOT", + "name": "CREATE_CONVERTED_SNAPSHOT" } ] } @@ -2352,20 +2555,20 @@ "traits": { "smithy.api#enum": [ { - "value": "NOT_STARTED", - "name": "NOT_STARTED" + "name": "NOT_STARTED", + "value": "NOT_STARTED" }, { - "value": "PENDING", - "name": "PENDING" + "name": "PENDING", + "value": "PENDING" }, { - "value": "SUCCEEDED", - "name": "SUCCEEDED" + "name": "SUCCEEDED", + "value": "SUCCEEDED" }, { - "value": "FAILED", - "name": "FAILED" + "name": "FAILED", + "value": "FAILED" } ] } @@ -2375,12 +2578,12 @@ "traits": { "smithy.api#enum": [ { - "value": "RECOVERY", - "name": "RECOVERY" + "name": "RECOVERY", + "value": "RECOVERY" }, { - "value": "DRILL", - "name": "DRILL" + "name": "DRILL", + "value": "DRILL" } ] } @@ -2443,12 +2646,12 @@ "traits": { "smithy.api#enum": [ { - "value": "STOPPED", - "name": "STOPPED" + "name": "STOPPED", + "value": "STOPPED" }, { - "value": "STARTED", - "name": "STARTED" + "name": "STARTED", + "value": "STARTED" } ] } @@ -2572,6 +2775,169 @@ "smithy.api#documentation": "

An object containing information regarding the initiation of the last launch of a Source Server.

" } }, + "com.amazonaws.drs#ListExtensibleSourceServers": { + "type": "operation", + "input": { + "target": "com.amazonaws.drs#ListExtensibleSourceServersRequest" + }, + "output": { + "target": "com.amazonaws.drs#ListExtensibleSourceServersResponse" + }, + "errors": [ + { + "target": "com.amazonaws.drs#AccessDeniedException" + }, + { + "target": "com.amazonaws.drs#InternalServerException" + }, + { + "target": "com.amazonaws.drs#ThrottlingException" + }, + { + "target": "com.amazonaws.drs#UninitializedAccountException" + }, + { + "target": "com.amazonaws.drs#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of source servers on a staging account that are extensible, which means that:\n a. The source server is not already extended into this Account.\n b. The source server on the Account we’re reading from is not an extension of another source server.\n

", + "smithy.api#http": { + "uri": "/ListExtensibleSourceServers", + "method": "POST", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "items" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.drs#ListExtensibleSourceServersRequest": { + "type": "structure", + "members": { + "stagingAccountID": { + "target": "com.amazonaws.drs#AccountID", + "traits": { + "smithy.api#documentation": "

The Id of the staging Account to retrieve extensible source servers from.

", + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.drs#MaxResultsReplicatingSourceServers", + "traits": { + "smithy.api#documentation": "

The maximum number of extensible source servers to retrieve.

" + } + }, + "nextToken": { + "target": "com.amazonaws.drs#PaginationToken", + "traits": { + "smithy.api#documentation": "

The token of the next extensible source server to retrieve.

" + } + } + } + }, + "com.amazonaws.drs#ListExtensibleSourceServersResponse": { + "type": "structure", + "members": { + "items": { + "target": "com.amazonaws.drs#StagingSourceServersList", + "traits": { + "smithy.api#documentation": "

A list of source servers on a staging Account that are extensible.

" + } + }, + "nextToken": { + "target": "com.amazonaws.drs#PaginationToken", + "traits": { + "smithy.api#documentation": "

The token of the next extensible source server to retrieve.

" + } + } + } + }, + "com.amazonaws.drs#ListStagingAccounts": { + "type": "operation", + "input": { + "target": "com.amazonaws.drs#ListStagingAccountsRequest" + }, + "output": { + "target": "com.amazonaws.drs#ListStagingAccountsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.drs#AccessDeniedException" + }, + { + "target": "com.amazonaws.drs#InternalServerException" + }, + { + "target": "com.amazonaws.drs#ThrottlingException" + }, + { + "target": "com.amazonaws.drs#UninitializedAccountException" + }, + { + "target": "com.amazonaws.drs#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns an array of staging accounts for existing extended source servers.

", + "smithy.api#http": { + "uri": "/ListStagingAccounts", + "method": "GET", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "accounts" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.drs#ListStagingAccountsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum number of staging Accounts to retrieve.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "nextToken": { + "target": "com.amazonaws.drs#PaginationToken", + "traits": { + "smithy.api#documentation": "

The token of the next staging Account to retrieve.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.drs#ListStagingAccountsResponse": { + "type": "structure", + "members": { + "accounts": { + "target": "com.amazonaws.drs#Accounts", + "traits": { + "smithy.api#documentation": "

An array of staging AWS Accounts.

" + } + }, + "nextToken": { + "target": "com.amazonaws.drs#PaginationToken", + "traits": { + "smithy.api#documentation": "

The token of the next staging Account to retrieve.

" + } + } + } + }, "com.amazonaws.drs#ListTagsForResource": { "type": "operation", "input": { @@ -2601,8 +2967,7 @@ "smithy.api#documentation": "

List all tags for your Elastic Disaster Recovery resources.

", "smithy.api#http": { "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#readonly": {} } @@ -2631,6 +2996,15 @@ } } }, + "com.amazonaws.drs#MaxResultsReplicatingSourceServers": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 300 + } + } + }, "com.amazonaws.drs#NetworkInterface": { "type": "structure", "members": { @@ -3043,32 +3417,32 @@ "traits": { "smithy.api#enum": [ { - "value": "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE", - "name": "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE" + "name": "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE", + "value": "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE" }, { - "value": "COMPLETE_VOLUME_MAPPING", - "name": "COMPLETE_VOLUME_MAPPING" + "name": "COMPLETE_VOLUME_MAPPING", + "value": "COMPLETE_VOLUME_MAPPING" }, { - "value": "ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION", - "name": "ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION" + "name": "ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION", + "value": "ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION" }, { - "value": "DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT", - "name": "DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT" + "name": "DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT", + "value": "DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT" }, { - "value": "CONFIGURE_REPLICATION_SOFTWARE", - "name": "CONFIGURE_REPLICATION_SOFTWARE" + "name": "CONFIGURE_REPLICATION_SOFTWARE", + "value": "CONFIGURE_REPLICATION_SOFTWARE" }, { - "value": "PAIR_AGENT_WITH_REPLICATION_SOFTWARE", - "name": "PAIR_AGENT_WITH_REPLICATION_SOFTWARE" + "name": "PAIR_AGENT_WITH_REPLICATION_SOFTWARE", + "value": "PAIR_AGENT_WITH_REPLICATION_SOFTWARE" }, { - "value": "ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION", - "name": "ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION" + "name": "ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION", + "value": "ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION" } ] } @@ -3078,24 +3452,24 @@ "traits": { "smithy.api#enum": [ { - "value": "NOT_STARTED", - "name": "NOT_STARTED" + "name": "NOT_STARTED", + "value": "NOT_STARTED" }, { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" + "name": "IN_PROGRESS", + "value": "IN_PROGRESS" }, { - "value": "SUCCEEDED", - "name": "SUCCEEDED" + "name": "SUCCEEDED", + "value": "SUCCEEDED" }, { - "value": "FAILED", - "name": "FAILED" + "name": "FAILED", + "value": "FAILED" }, { - "value": "SKIPPED", - "name": "SKIPPED" + "name": "SKIPPED", + "value": "SKIPPED" } ] } @@ -3111,44 +3485,44 @@ "traits": { "smithy.api#enum": [ { - "value": "STOPPED", - "name": "STOPPED" + "name": "STOPPED", + "value": "STOPPED" }, { - "value": "INITIATING", - "name": "INITIATING" + "name": "INITIATING", + "value": "INITIATING" }, { - "value": "INITIAL_SYNC", - "name": "INITIAL_SYNC" + "name": "INITIAL_SYNC", + "value": "INITIAL_SYNC" }, { - "value": "BACKLOG", - "name": "BACKLOG" + "name": "BACKLOG", + "value": "BACKLOG" }, { - "value": "CREATING_SNAPSHOT", - "name": "CREATING_SNAPSHOT" + "name": "CREATING_SNAPSHOT", + "value": "CREATING_SNAPSHOT" }, { - "value": "CONTINUOUS", - "name": "CONTINUOUS" + "name": "CONTINUOUS", + "value": "CONTINUOUS" }, { - "value": "PAUSED", - "name": "PAUSED" + "name": "PAUSED", + "value": "PAUSED" }, { - "value": "RESCAN", - "name": "RESCAN" + "name": "RESCAN", + "value": "RESCAN" }, { - "value": "STALLED", - "name": "STALLED" + "name": "STALLED", + "value": "STALLED" }, { - "value": "DISCONNECTED", - "name": "DISCONNECTED" + "name": "DISCONNECTED", + "value": "DISCONNECTED" } ] } @@ -3362,10 +3736,7 @@ ], "traits": { "aws.api#arn": { - "template": "recovery-instance/{recoveryInstanceID}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "recovery-instance/{recoveryInstanceID}" }, "aws.iam#conditionKeys": [ "drs:EC2InstanceARN", @@ -3448,12 +3819,12 @@ "traits": { "smithy.api#enum": [ { - "value": "ASC", - "name": "ASC" + "name": "ASC", + "value": "ASC" }, { - "value": "DESC", - "name": "DESC" + "name": "DESC", + "value": "DESC" } ] } @@ -3838,10 +4209,7 @@ }, "traits": { "aws.api#arn": { - "template": "replication-configuration-template/{replicationConfigurationTemplateID}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "replication-configuration-template/{replicationConfigurationTemplateID}" }, "aws.iam#conditionKeys": [ "aws:ResourceTag" @@ -3923,8 +4291,8 @@ "traits": { "smithy.api#documentation": "

Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.

", "smithy.api#http": { - "method": "POST", "uri": "/RetryDataReplication", + "method": "POST", "code": 200 } } @@ -4106,6 +4474,12 @@ "traits": { "smithy.api#documentation": "

The source properties of the Source Server.

" } + }, + "stagingArea": { + "target": "com.amazonaws.drs#StagingArea", + "traits": { + "smithy.api#documentation": "

The staging area of the source server.

" + } } }, "traits": { @@ -4116,6 +4490,16 @@ ] } }, + "com.amazonaws.drs#SourceServerARN": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(?:[0-9a-zA-Z_-]+:){3}([0-9]{12,}):source-server/(s-[0-9a-zA-Z]{17})$" + } + }, "com.amazonaws.drs#SourceServerID": { "type": "string", "traits": { @@ -4175,10 +4559,7 @@ ], "traits": { "aws.api#arn": { - "template": "source-server/{sourceServerID}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "source-server/{sourceServerID}" }, "aws.iam#conditionKeys": [ "aws:ResourceTag" @@ -4192,6 +4573,70 @@ "target": "com.amazonaws.drs#SourceServer" } }, + "com.amazonaws.drs#StagingArea": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.drs#ExtensionStatus", + "traits": { + "smithy.api#documentation": "

Status of Source server extension. Possible values:\n (a) NOT_EXTENDED - This is a source server that is replicating in the current account.\n (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account.\n (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.

" + } + }, + "stagingAccountID": { + "target": "com.amazonaws.drs#AccountID", + "traits": { + "smithy.api#documentation": "

Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.

" + } + }, + "stagingSourceServerArn": { + "target": "com.amazonaws.drs#ARN", + "traits": { + "smithy.api#documentation": "

Arn of the staging source server if this source server is extended

" + } + }, + "errorMessage": { + "target": "com.amazonaws.drs#LargeBoundedString", + "traits": { + "smithy.api#documentation": "

Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Staging information related to source server.

" + } + }, + "com.amazonaws.drs#StagingSourceServer": { + "type": "structure", + "members": { + "hostname": { + "target": "com.amazonaws.drs#BoundedString", + "traits": { + "smithy.api#documentation": "

Hostname of staging source server.

" + } + }, + "arn": { + "target": "com.amazonaws.drs#SourceServerARN", + "traits": { + "smithy.api#documentation": "

The ARN of the source server.

" + } + }, + "tags": { + "target": "com.amazonaws.drs#TagsMap", + "traits": { + "smithy.api#documentation": "

A list of tags associated with the staging source server.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Source server in staging account that extended source server connected to.

" + } + }, + "com.amazonaws.drs#StagingSourceServersList": { + "type": "list", + "member": { + "target": "com.amazonaws.drs#StagingSourceServer" + } + }, "com.amazonaws.drs#StartFailbackLaunch": { "type": "operation", "input": { @@ -4223,8 +4668,8 @@ "traits": { "smithy.api#documentation": "

Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.

", "smithy.api#http": { - "method": "POST", "uri": "/StartFailbackLaunch", + "method": "POST", "code": 200 } } @@ -4335,8 +4780,8 @@ ], "smithy.api#documentation": "

Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.

", "smithy.api#http": { - "method": "POST", "uri": "/StartRecovery", + "method": "POST", "code": 202 } } @@ -4414,6 +4859,9 @@ "input": { "target": "com.amazonaws.drs#StopFailbackRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.drs#InternalServerException" @@ -4431,8 +4879,8 @@ "traits": { "smithy.api#documentation": "

Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.

", "smithy.api#http": { - "method": "POST", "uri": "/StopFailback", + "method": "POST", "code": 200 } } @@ -4490,6 +4938,9 @@ "input": { "target": "com.amazonaws.drs#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.drs#AccessDeniedException" @@ -4511,8 +4962,7 @@ "smithy.api#documentation": "

Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.

", "smithy.api#http": { "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -4563,12 +5013,12 @@ "traits": { "smithy.api#enum": [ { - "value": "NONE", - "name": "NONE" + "name": "NONE", + "value": "NONE" }, { - "value": "BASIC", - "name": "BASIC" + "name": "BASIC", + "value": "BASIC" } ] } @@ -4607,8 +5057,8 @@ ], "smithy.api#documentation": "

Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.

", "smithy.api#http": { - "method": "POST", "uri": "/TerminateRecoveryInstances", + "method": "POST", "code": 200 } } @@ -4692,6 +5142,9 @@ "input": { "target": "com.amazonaws.drs#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.drs#AccessDeniedException" @@ -4713,8 +5166,7 @@ "smithy.api#documentation": "

Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.

", "smithy.api#http": { "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -4745,6 +5197,9 @@ "input": { "target": "com.amazonaws.drs#UpdateFailbackReplicationConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.drs#AccessDeniedException" @@ -4765,8 +5220,8 @@ "traits": { "smithy.api#documentation": "

Allows you to update the failback replication configuration of a Recovery Instance by ID.

", "smithy.api#http": { - "method": "POST", "uri": "/UpdateFailbackReplicationConfiguration", + "method": "POST", "code": 200 } } @@ -4832,8 +5287,8 @@ "traits": { "smithy.api#documentation": "

Updates a LaunchConfiguration by Source Server ID.

", "smithy.api#http": { - "method": "POST", "uri": "/UpdateLaunchConfiguration", + "method": "POST", "code": 200 }, "smithy.api#idempotent": {} @@ -4921,8 +5376,8 @@ "traits": { "smithy.api#documentation": "

Allows you to update a ReplicationConfiguration by Source Server ID.

", "smithy.api#http": { - "method": "POST", "uri": "/UpdateReplicationConfiguration", + "method": "POST", "code": 200 }, "smithy.api#idempotent": {} @@ -5061,8 +5516,8 @@ "traits": { "smithy.api#documentation": "

Updates a ReplicationConfigurationTemplate by ID.

", "smithy.api#http": { - "method": "POST", "uri": "/UpdateReplicationConfigurationTemplate", + "method": "POST", "code": 200 } } @@ -5240,6 +5695,24 @@ ] } }, + "com.amazonaws.drs#VolumeToConversionMap": { + "type": "map", + "key": { + "target": "com.amazonaws.drs#LargeBoundedString" + }, + "value": { + "target": "com.amazonaws.drs#ConversionMap" + } + }, + "com.amazonaws.drs#VolumeToSizeMap": { + "type": "map", + "key": { + "target": "com.amazonaws.drs#LargeBoundedString" + }, + "value": { + "target": "com.amazonaws.drs#PositiveInteger" + } + }, "com.amazonaws.drs#ebsSnapshot": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 3544917128c..3ba777c8494 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -11811,7 +11811,7 @@ "target": "com.amazonaws.ec2#CreateLaunchTemplateResult" }, "traits": { - "smithy.api#documentation": "

Creates a launch template.

\n

A launch template contains the parameters to launch an\n instance. When you launch an instance using RunInstances, you can\n specify a launch template instead of providing the launch parameters in the request. For\n more information, see Launching an instance from a\n launch template in the Amazon Elastic Compute Cloud User Guide.

\n

If you want to clone an existing launch template as the basis for creating a new\n launch template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support\n cloning a template. For more information, see Create a launch template from an existing launch template in the\n Amazon Elastic Compute Cloud User Guide.

" + "smithy.api#documentation": "

Creates a launch template.

\n

A launch template contains the parameters to launch an\n instance. When you launch an instance using RunInstances, you can\n specify a launch template instead of providing the launch parameters in the request. For\n more information, see Launch an instance from a\n launch template in the Amazon Elastic Compute Cloud User Guide.

\n

If you want to clone an existing launch template as the basis for creating a new\n launch template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support\n cloning a template. For more information, see Create a launch template from an existing launch template in the\n Amazon Elastic Compute Cloud User Guide.

" } }, "com.amazonaws.ec2#CreateLaunchTemplateRequest": { @@ -11826,7 +11826,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the\n request. For more information, see Ensuring\n Idempotency.

\n

Constraint: Maximum 128 ASCII characters.

" + "smithy.api#documentation": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the\n request. For more information, see Ensuring\n idempotency.

\n

Constraint: Maximum 128 ASCII characters.

" } }, "LaunchTemplateName": { @@ -11888,7 +11888,7 @@ "target": "com.amazonaws.ec2#CreateLaunchTemplateVersionResult" }, "traits": { - "smithy.api#documentation": "

Creates a new version for a launch template. You can specify an existing version of\n launch template from which to base the new version.

\n

Launch template versions are numbered in the order in which they are created. You\n cannot specify, change, or replace the numbering of launch template versions.

\n

For more information, see Managing launch template versionsin the\n Amazon Elastic Compute Cloud User Guide.

" + "smithy.api#documentation": "

Creates a new version for a launch template. You can specify an existing version of\n launch template from which to base the new version.

\n

Launch template versions are numbered in the order in which they are created. You\n cannot specify, change, or replace the numbering of launch template versions.

\n

Launch templates are immutable; after you create a launch template, you can't modify it. \n Instead, you can create a new version of the launch template that includes any changes you require.

\n

For more information, see Modify a launch template (manage launch template versions)in the\n Amazon Elastic Compute Cloud User Guide.

" } }, "com.amazonaws.ec2#CreateLaunchTemplateVersionRequest": { @@ -11903,7 +11903,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the\n request. For more information, see Ensuring\n Idempotency.

\n

Constraint: Maximum 128 ASCII characters.

" + "smithy.api#documentation": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the\n request. For more information, see Ensuring\n idempotency.

\n

Constraint: Maximum 128 ASCII characters.

" } }, "LaunchTemplateId": { @@ -43203,6 +43203,14 @@ "smithy.api#documentation": "

The user data.

", "smithy.api#xmlName": "userData" } + }, + "DisableApiStop": { + "target": "com.amazonaws.ec2#AttributeBooleanValue", + "traits": { + "aws.protocols#ec2QueryName": "DisableApiStop", + "smithy.api#documentation": "

To enable the instance for Amazon Web Services Stop Protection, set this parameter to\n true; otherwise, set it to false.

", + "smithy.api#xmlName": "disableApiStop" + } } }, "traits": { @@ -43272,6 +43280,10 @@ { "value": "enclaveOptions", "name": "enclaveOptions" + }, + { + "value": "disableApiStop", + "name": "disableApiStop" } ] } @@ -47638,6 +47650,50 @@ { "value": "i4i.32xlarge", "name": "i4i_32xlarge" + }, + { + "value": "i4i.metal", + "name": "i4i_metal" + }, + { + "value": "x2idn.metal", + "name": "x2idn_metal" + }, + { + "value": "x2iedn.metal", + "name": "x2iedn_metal" + }, + { + "value": "c7g.medium", + "name": "c7g_medium" + }, + { + "value": "c7g.large", + "name": "c7g_large" + }, + { + "value": "c7g.xlarge", + "name": "c7g_xlarge" + }, + { + "value": "c7g.2xlarge", + "name": "c7g_2xlarge" + }, + { + "value": "c7g.4xlarge", + "name": "c7g_4xlarge" + }, + { + "value": "c7g.8xlarge", + "name": "c7g_8xlarge" + }, + { + "value": "c7g.12xlarge", + "name": "c7g_12xlarge" + }, + { + "value": "c7g.16xlarge", + "name": "c7g_16xlarge" } ] } @@ -50880,7 +50936,7 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more\n information, see What is Amazon Web Services Nitro Enclaves?\n in the Amazon Web Services Nitro Enclaves User Guide.

" + "smithy.api#documentation": "

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more\n information, see What is Amazon Web Services Nitro Enclaves?\n in the Amazon Web Services Nitro Enclaves User Guide.

" } }, "com.amazonaws.ec2#LaunchTemplateErrorCode": { @@ -50941,7 +50997,7 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates whether the instance is configured for hibernation. This parameter is valid\n only if the instance meets the hibernation\n prerequisites.

" + "smithy.api#documentation": "

Indicates whether the instance is configured for hibernation. This parameter is valid\n only if the instance meets the hibernation\n prerequisites.

" } }, "com.amazonaws.ec2#LaunchTemplateHttpTokensState": { @@ -54540,6 +54596,12 @@ "smithy.api#documentation": "

A new value for the attribute. Use only with the kernel,\n ramdisk, userData, disableApiTermination, or\n instanceInitiatedShutdownBehavior attribute.

", "smithy.api#xmlName": "value" } + }, + "DisableApiStop": { + "target": "com.amazonaws.ec2#AttributeBooleanValue", + "traits": { + "smithy.api#documentation": "

Indicates whether an instance is enabled for stop protection. \n For more information, see Stop Protection.

\n

" + } } } }, @@ -55293,7 +55355,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the\n request. For more information, see Ensuring\n Idempotency.

\n

Constraint: Maximum 128 ASCII characters.

" + "smithy.api#documentation": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the\n request. For more information, see Ensuring\n idempotency.

\n

Constraint: Maximum 128 ASCII characters.

" } }, "LaunchTemplateId": { @@ -64271,7 +64333,7 @@ "KernelId": { "target": "com.amazonaws.ec2#KernelId", "traits": { - "smithy.api#documentation": "

The ID of the kernel.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User Provided\n Kernels in the Amazon Elastic Compute Cloud User\n Guide.

\n
" + "smithy.api#documentation": "

The ID of the kernel.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User provided\n kernels in the Amazon Elastic Compute Cloud User Guide.

\n
" } }, "EbsOptimized": { @@ -64309,7 +64371,7 @@ "InstanceType": { "target": "com.amazonaws.ec2#InstanceType", "traits": { - "smithy.api#documentation": "

The instance type. For more information, see Instance Types in the\n Amazon Elastic Compute Cloud User Guide.

\n

If you specify InstanceTypes, you can't specify\n InstanceRequirements.

" + "smithy.api#documentation": "

The instance type. For more information, see Instance types in the\n Amazon Elastic Compute Cloud User Guide.

\n

If you specify InstanceTypes, you can't specify\n InstanceRequirements.

" } }, "KeyName": { @@ -64333,7 +64395,7 @@ "RamDiskId": { "target": "com.amazonaws.ec2#RamdiskId", "traits": { - "smithy.api#documentation": "

The ID of the RAM disk.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User Provided\n Kernels in the Amazon Elastic Compute Cloud User\n Guide.

\n
" + "smithy.api#documentation": "

The ID of the RAM disk.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User provided\n kernels in the Amazon Elastic Compute Cloud User Guide.

\n
" } }, "DisableApiTermination": { @@ -64351,7 +64413,7 @@ "UserData": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

The user data to make available to the instance. You must provide base64-encoded text.\n User data is limited to 16 KB. For more information, see Running Commands on Your Linux Instance\n at Launch (Linux) or Adding User Data (Windows).

\n\n

If you are creating the launch template for use with Batch, the user\n data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

" + "smithy.api#documentation": "

The user data to make available to the instance. You must provide base64-encoded text.\n User data is limited to 16 KB. For more information, see Run commands on your Linux instance\n at launch (Linux) or Work with instance user data (Windows) in the Amazon Elastic Compute Cloud User Guide.

\n\n

If you are creating the launch template for use with Batch, the user\n data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the Batch User Guide.

" } }, "TagSpecifications": { @@ -64423,7 +64485,7 @@ "HibernationOptions": { "target": "com.amazonaws.ec2#LaunchTemplateHibernationOptionsRequest", "traits": { - "smithy.api#documentation": "

Indicates whether an instance is enabled for hibernation. This parameter is valid only\n if the instance meets the hibernation\n prerequisites. For more information, see Hibernate your instance in the\n Amazon Elastic Compute Cloud User Guide.

" + "smithy.api#documentation": "

Indicates whether an instance is enabled for hibernation. This parameter is valid only\n if the instance meets the hibernation\n prerequisites. For more information, see Hibernate your instance in the\n Amazon Elastic Compute Cloud User Guide.

" } }, "MetadataOptions": { @@ -64455,6 +64517,12 @@ "traits": { "smithy.api#documentation": "

The maintenance options for the instance.

" } + }, + "DisableApiStop": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether to enable the instance for stop protection. For more information,\n see Stop\n Protection.

" + } } }, "traits": { @@ -66659,6 +66727,14 @@ "smithy.api#documentation": "

The maintenance options for your instance.

", "smithy.api#xmlName": "maintenanceOptions" } + }, + "DisableApiStop": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "aws.protocols#ec2QueryName": "DisableApiStop", + "smithy.api#documentation": "

Indicates whether the instance is enabled for stop protection. \n For more information, see Stop Protection.

", + "smithy.api#xmlName": "disableApiStop" + } } }, "traits": { @@ -68040,6 +68116,12 @@ "traits": { "smithy.api#documentation": "

The maintenance and recovery options for the instance.

" } + }, + "DisableApiStop": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether an instance is enabled for stop protection. For more information,\n see Stop\n Protection.\n

" + } } } }, @@ -77819,7 +77901,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "Code", - "smithy.api#documentation": "

The error code that indicates why the parameter or parameter combination is not valid.\n For more information about error codes, see Error\n Codes.

", + "smithy.api#documentation": "

The error code that indicates why the parameter or parameter combination is not valid.\n For more information about error codes, see Error\n codes.

", "smithy.api#xmlName": "code" } }, @@ -77827,7 +77909,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "Message", - "smithy.api#documentation": "

The error message that describes why the parameter or parameter combination is not\n valid. For more information about error messages, see Error\n Codes.

", + "smithy.api#documentation": "

The error message that describes why the parameter or parameter combination is not\n valid. For more information about error messages, see Error\n codes.

", "smithy.api#xmlName": "message" } } diff --git a/codegen/sdk-codegen/aws-models/elasticache.json b/codegen/sdk-codegen/aws-models/elasticache.json index 0d34cdf7178..fee4e6ef348 100644 --- a/codegen/sdk-codegen/aws-models/elasticache.json +++ b/codegen/sdk-codegen/aws-models/elasticache.json @@ -727,7 +727,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The name of the compute and memory capacity node type for the cluster.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The name of the compute and memory capacity node type for the cluster.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "Engine": { @@ -1083,7 +1083,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents an individual cache node within a cluster. Each cache node runs its own\n instance of the cluster's protocol-compliant caching software - either Memcached or\n Redis.

\n\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

Represents an individual cache node within a cluster. Each cache node runs its own\n instance of the cluster's protocol-compliant caching software - either Memcached or\n Redis.

\n\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "com.amazonaws.elasticache#CacheNodeIdsList": { @@ -2081,7 +2081,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The compute and memory capacity of the nodes in the node group (shard).

\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The compute and memory capacity of the nodes in the node group (shard).

\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "Engine": { @@ -2203,6 +2203,12 @@ "traits": { "smithy.api#documentation": "

Specifies the destination, format and type of the logs.

" } + }, + "TransitEncryptionEnabled": { + "target": "com.amazonaws.elasticache#BooleanOptional", + "traits": { + "smithy.api#documentation": "

A flag that enables in-transit encryption when set to true.\n \n You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled to true when you create a cluster.

\n \n

\n Required:\n Only available when creating a cache cluster in an Amazon VPC using Memcached version 1.6.12 or later.

" + } } }, "traits": { @@ -2639,7 +2645,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The compute and memory capacity of the nodes in the node group (shard).

\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The compute and memory capacity of the nodes in the node group (shard).

\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "Engine": { @@ -4571,7 +4577,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The cache node type filter value. \n Use this parameter to show only those reservations matching the specified cache node type.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The cache node type filter value. \n Use this parameter to show only those reservations matching the specified cache node type.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "Duration": { @@ -4650,7 +4656,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The cache node type filter value. \n Use this parameter to show only the available offerings matching the specified cache node type.

\n\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The cache node type filter value. \n Use this parameter to show only the available offerings matching the specified cache node type.

\n\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "Duration": { @@ -8724,7 +8730,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The cache node type for the reserved cache nodes.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The cache node type for the reserved cache nodes.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "StartTime": { @@ -8884,7 +8890,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The cache node type for the reserved cache node.

\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The cache node type for the reserved cache node.

\n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "Duration": { @@ -9454,7 +9460,7 @@ "CacheNodeType": { "target": "com.amazonaws.elasticache#String", "traits": { - "smithy.api#documentation": "

The name of the compute and memory capacity node type for the source cluster.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " + "smithy.api#documentation": "

The name of the compute and memory capacity node type for the source cluster.

\n \n

The following node types are supported by ElastiCache. \n\t\t\t\tGenerally speaking, the current generation types provide more memory and computational power\n\t\t\tat lower cost when compared to their equivalent previous generation counterparts.

\n\t\t \n\t\t\t\t\n\t\t

\n Additional node type info\n

\n\t\t " } }, "Engine": { diff --git a/codegen/sdk-codegen/aws-models/emr-serverless.json b/codegen/sdk-codegen/aws-models/emr-serverless.json new file mode 100644 index 00000000000..cdd869bc8c1 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/emr-serverless.json @@ -0,0 +1,2468 @@ +{ + "smithy": "1.0", + "shapes": { + "com.amazonaws.emrserverless#Application": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "name": { + "target": "com.amazonaws.emrserverless#ApplicationName", + "traits": { + "smithy.api#documentation": "

The name of the application.

" + } + }, + "arn": { + "target": "com.amazonaws.emrserverless#ApplicationArn", + "traits": { + "smithy.api#documentation": "

The ARN of the application.

", + "smithy.api#required": {} + } + }, + "releaseLabel": { + "target": "com.amazonaws.emrserverless#ReleaseLabel", + "traits": { + "smithy.api#documentation": "

The EMR release version associated with the application.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.emrserverless#EngineType", + "traits": { + "smithy.api#documentation": "

The type of application, such as Spark or Hive.

", + "smithy.api#required": {} + } + }, + "state": { + "target": "com.amazonaws.emrserverless#ApplicationState", + "traits": { + "smithy.api#documentation": "

The state of the application.

", + "smithy.api#required": {} + } + }, + "stateDetails": { + "target": "com.amazonaws.emrserverless#String256", + "traits": { + "smithy.api#documentation": "

The state details of the application.

" + } + }, + "initialCapacity": { + "target": "com.amazonaws.emrserverless#InitialCapacityConfigMap", + "traits": { + "smithy.api#documentation": "

The initial capacity of the application.

" + } + }, + "maximumCapacity": { + "target": "com.amazonaws.emrserverless#MaximumAllowedResources", + "traits": { + "smithy.api#documentation": "

The maximum capacity of the application. This is cumulative across all workers at any\n given point in time during the lifespan of the application is created. No new resources\n will be created once any one of the defined limits is hit.

" + } + }, + "createdAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the application run was created.

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the application run was last updated.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.emrserverless#TagMap", + "traits": { + "smithy.api#documentation": "

The tags assigned to the application.

" + } + }, + "autoStartConfiguration": { + "target": "com.amazonaws.emrserverless#AutoStartConfig", + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically start on job submission.

" + } + }, + "autoStopConfiguration": { + "target": "com.amazonaws.emrserverless#AutoStopConfig", + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + } + }, + "networkConfiguration": { + "target": "com.amazonaws.emrserverless#NetworkConfiguration", + "traits": { + "smithy.api#documentation": "

The network configuration for customer VPC connectivity for the application.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about an application. EMR Serverless uses applications to run jobs.

" + } + }, + "com.amazonaws.emrserverless#ApplicationArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 60, + "max": 1024 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+$" + } + }, + "com.amazonaws.emrserverless#ApplicationId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[0-9a-z]+$" + } + }, + "com.amazonaws.emrserverless#ApplicationList": { + "type": "list", + "member": { + "target": "com.amazonaws.emrserverless#ApplicationSummary" + } + }, + "com.amazonaws.emrserverless#ApplicationName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9._/#-]+$" + } + }, + "com.amazonaws.emrserverless#ApplicationResource": { + "type": "resource", + "identifiers": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId" + } + }, + "create": { + "target": "com.amazonaws.emrserverless#CreateApplication" + }, + "read": { + "target": "com.amazonaws.emrserverless#GetApplication" + }, + "update": { + "target": "com.amazonaws.emrserverless#UpdateApplication" + }, + "delete": { + "target": "com.amazonaws.emrserverless#DeleteApplication" + }, + "list": { + "target": "com.amazonaws.emrserverless#ListApplications" + }, + "operations": [ + { + "target": "com.amazonaws.emrserverless#StartApplication" + }, + { + "target": "com.amazonaws.emrserverless#StopApplication" + } + ] + }, + "com.amazonaws.emrserverless#ApplicationState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATING", + "name": "CREATING" + }, + { + "value": "CREATED", + "name": "CREATED" + }, + { + "value": "STARTING", + "name": "STARTING" + }, + { + "value": "STARTED", + "name": "STARTED" + }, + { + "value": "STOPPING", + "name": "STOPPING" + }, + { + "value": "STOPPED", + "name": "STOPPED" + }, + { + "value": "TERMINATED", + "name": "TERMINATED" + } + ] + } + }, + "com.amazonaws.emrserverless#ApplicationStateSet": { + "type": "set", + "member": { + "target": "com.amazonaws.emrserverless#ApplicationState" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 7 + } + } + }, + "com.amazonaws.emrserverless#ApplicationSummary": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "name": { + "target": "com.amazonaws.emrserverless#ApplicationName", + "traits": { + "smithy.api#documentation": "

The name of the application.

" + } + }, + "arn": { + "target": "com.amazonaws.emrserverless#ApplicationArn", + "traits": { + "smithy.api#documentation": "

The ARN of the application.

", + "smithy.api#required": {} + } + }, + "releaseLabel": { + "target": "com.amazonaws.emrserverless#ReleaseLabel", + "traits": { + "smithy.api#documentation": "

The EMR release version associated with the application.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.emrserverless#EngineType", + "traits": { + "smithy.api#documentation": "

The type of application, such as Spark or Hive.

", + "smithy.api#required": {} + } + }, + "state": { + "target": "com.amazonaws.emrserverless#ApplicationState", + "traits": { + "smithy.api#documentation": "

The state of the application.

", + "smithy.api#required": {} + } + }, + "stateDetails": { + "target": "com.amazonaws.emrserverless#String256", + "traits": { + "smithy.api#documentation": "

The state details of the application.

" + } + }, + "createdAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the application was created.

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the application was last updated.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of attributes associated with an application.

" + } + }, + "com.amazonaws.emrserverless#AutoStartConfig": { + "type": "structure", + "members": { + "enabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Enables the application to automatically start on job submission. Defaults to true.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically start on job submission.

" + } + }, + "com.amazonaws.emrserverless#AutoStopConfig": { + "type": "structure", + "members": { + "enabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.

" + } + }, + "idleTimeoutMinutes": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.

", + "smithy.api#range": { + "min": 1, + "max": 10080 + } + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + } + }, + "com.amazonaws.emrserverless#AwsToledoWebService": { + "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "EMR Serverless", + "arnNamespace": "emr-serverless" + }, + "aws.auth#sigv4": { + "name": "emr-serverless" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "*", + "Authorization", + "Date", + "X-Amz-Date", + "X-Amz-Security-Token", + "X-Amz-Target", + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id", + "x-amzn-trace-id" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + "x-amz-apigw-id" + ] + }, + "smithy.api#documentation": "

Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides\n a serverless runtime environment that simplifies running analytics applications using the\n latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,\n you don’t have to configure, optimize, secure, or operate clusters to run applications with\n these frameworks.

\n

The API reference to Amazon EMR Serverless is emr-serverless. The\n emr-serverless prefix is used in the following scenarios:

\n ", + "smithy.api#title": "EMR Serverless" + }, + "version": "2021-07-13", + "operations": [ + { + "target": "com.amazonaws.emrserverless#ListTagsForResource" + }, + { + "target": "com.amazonaws.emrserverless#TagResource" + }, + { + "target": "com.amazonaws.emrserverless#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.emrserverless#ApplicationResource" + }, + { + "target": "com.amazonaws.emrserverless#JobRunResource" + } + ] + }, + "com.amazonaws.emrserverless#CancelJobRun": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#CancelJobRunRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#CancelJobRunResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Cancels a job run.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/applications/{applicationId}/jobruns/{jobRunId}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.emrserverless#CancelJobRunRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application on which the job run will be canceled.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "jobRunId": { + "target": "com.amazonaws.emrserverless#JobRunId", + "traits": { + "smithy.api#documentation": "

The ID of the job run to cancel.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "jobRunId" + } + } + } + }, + "com.amazonaws.emrserverless#CancelJobRunResponse": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The output contains the application ID on which the job run is cancelled.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "jobRunId": { + "target": "com.amazonaws.emrserverless#JobRunId", + "traits": { + "smithy.api#documentation": "

The output contains the ID of the cancelled job run.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "jobRunId" + } + } + } + }, + "com.amazonaws.emrserverless#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9._-]+$" + } + }, + "com.amazonaws.emrserverless#Configuration": { + "type": "structure", + "members": { + "classification": { + "target": "com.amazonaws.emrserverless#String1024", + "traits": { + "smithy.api#documentation": "

The classification within a configuration.

", + "smithy.api#required": {} + } + }, + "properties": { + "target": "com.amazonaws.emrserverless#SensitivePropertiesMap", + "traits": { + "smithy.api#documentation": "

A set of properties specified within a configuration classification.

" + } + }, + "configurations": { + "target": "com.amazonaws.emrserverless#ConfigurationList", + "traits": { + "smithy.api#documentation": "

A list of additional configurations to apply within a configuration object.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A configuration specification to be used when provisioning an application. A\n configuration consists of a classification, properties, and optional nested configurations.\n A classification refers to an application-specific configuration file. Properties are the\n settings you want to change in that file.

" + } + }, + "com.amazonaws.emrserverless#ConfigurationList": { + "type": "list", + "member": { + "target": "com.amazonaws.emrserverless#Configuration" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.emrserverless#ConfigurationOverrides": { + "type": "structure", + "members": { + "applicationConfiguration": { + "target": "com.amazonaws.emrserverless#ConfigurationList", + "traits": { + "smithy.api#documentation": "

The override configurations for the application.

" + } + }, + "monitoringConfiguration": { + "target": "com.amazonaws.emrserverless#MonitoringConfiguration", + "traits": { + "smithy.api#documentation": "

The override configurations for monitoring.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A configuration specification to be used to override existing configurations.

" + } + }, + "com.amazonaws.emrserverless#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.emrserverless#String1024", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The request could not be processed because of conflict in the current state of the\n resource.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.emrserverless#CpuSize": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 15 + }, + "smithy.api#pattern": "^[1-9][0-9]*(\\s)?(vCPU|vcpu|VCPU)?$" + } + }, + "com.amazonaws.emrserverless#CreateApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#CreateApplicationRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#CreateApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#ConflictException" + }, + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates an application.

", + "smithy.api#http": { + "method": "POST", + "uri": "/applications" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.emrserverless#CreateApplicationRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.emrserverless#ApplicationName", + "traits": { + "smithy.api#documentation": "

The name of the application.

" + } + }, + "releaseLabel": { + "target": "com.amazonaws.emrserverless#ReleaseLabel", + "traits": { + "smithy.api#documentation": "

The EMR release version associated with the application.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.emrserverless#EngineType", + "traits": { + "smithy.api#documentation": "

The type of application you want to start, such as Spark or Hive.

", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.emrserverless#ClientToken", + "traits": { + "smithy.api#documentation": "

The client idempotency token of the application to create. Its value must be unique for\n each request.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "initialCapacity": { + "target": "com.amazonaws.emrserverless#InitialCapacityConfigMap", + "traits": { + "smithy.api#documentation": "

The capacity to initialize when the application is created.

" + } + }, + "maximumCapacity": { + "target": "com.amazonaws.emrserverless#MaximumAllowedResources", + "traits": { + "smithy.api#documentation": "

The maximum capacity to allocate when the application is created. This is cumulative\n across all workers at any given point in time, not just when an application is created. No\n new resources will be created once any one of the defined limits is hit.

" + } + }, + "tags": { + "target": "com.amazonaws.emrserverless#TagMap", + "traits": { + "smithy.api#documentation": "

The tags assigned to the application.

" + } + }, + "autoStartConfiguration": { + "target": "com.amazonaws.emrserverless#AutoStartConfig", + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically start on job submission.

" + } + }, + "autoStopConfiguration": { + "target": "com.amazonaws.emrserverless#AutoStopConfig", + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + } + }, + "networkConfiguration": { + "target": "com.amazonaws.emrserverless#NetworkConfiguration", + "traits": { + "smithy.api#documentation": "

The network configuration for customer VPC connectivity.

" + } + } + } + }, + "com.amazonaws.emrserverless#CreateApplicationResponse": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The output contains the application ID.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "name": { + "target": "com.amazonaws.emrserverless#ApplicationName", + "traits": { + "smithy.api#documentation": "

The output contains the name of the application.

" + } + }, + "arn": { + "target": "com.amazonaws.emrserverless#ApplicationArn", + "traits": { + "smithy.api#documentation": "

The output contains the ARN of the application.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#Date": { + "type": "timestamp" + }, + "com.amazonaws.emrserverless#DeleteApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#DeleteApplicationRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#DeleteApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes an application. An application has to be in a stopped or created state in order\n to be deleted.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/applications/{applicationId}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.emrserverless#DeleteApplicationRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application that will be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + } + } + }, + "com.amazonaws.emrserverless#DeleteApplicationResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.emrserverless#DiskSize": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 15 + }, + "smithy.api#pattern": "^[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)$" + } + }, + "com.amazonaws.emrserverless#Duration": { + "type": "long", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 1000000 + } + } + }, + "com.amazonaws.emrserverless#EncryptionKeyArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):kms:[a-zA-Z0-9\\-]*:(\\d{12})?:key\\/[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.emrserverless#EngineType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.emrserverless#EntryPointArgument": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10280 + }, + "smithy.api#pattern": ".*\\S.*", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.emrserverless#EntryPointArguments": { + "type": "list", + "member": { + "target": "com.amazonaws.emrserverless#EntryPointArgument" + } + }, + "com.amazonaws.emrserverless#EntryPointPath": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": ".*\\S.*", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.emrserverless#GetApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#GetApplicationRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#GetApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Displays detailed information about a specified application.

", + "smithy.api#http": { + "method": "GET", + "uri": "/applications/{applicationId}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.emrserverless#GetApplicationRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application that will be described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + } + } + }, + "com.amazonaws.emrserverless#GetApplicationResponse": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.emrserverless#Application", + "traits": { + "smithy.api#documentation": "

The output displays information about the specified application.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#GetJobRun": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#GetJobRunRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#GetJobRunResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Displays detailed information about a job run.

", + "smithy.api#http": { + "method": "GET", + "uri": "/applications/{applicationId}/jobruns/{jobRunId}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.emrserverless#GetJobRunRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application on which the job run is submitted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "jobRunId": { + "target": "com.amazonaws.emrserverless#JobRunId", + "traits": { + "smithy.api#documentation": "

The ID of the job run.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "jobRunId" + } + } + } + }, + "com.amazonaws.emrserverless#GetJobRunResponse": { + "type": "structure", + "members": { + "jobRun": { + "target": "com.amazonaws.emrserverless#JobRun", + "traits": { + "smithy.api#documentation": "

The output displays information about the job run.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#Hive": { + "type": "structure", + "members": { + "query": { + "target": "com.amazonaws.emrserverless#Query", + "traits": { + "smithy.api#documentation": "

The query for the Hive job run.

", + "smithy.api#required": {} + } + }, + "initQueryFile": { + "target": "com.amazonaws.emrserverless#InitScriptPath", + "traits": { + "smithy.api#documentation": "

The query file for the Hive job run.

" + } + }, + "parameters": { + "target": "com.amazonaws.emrserverless#HiveCliParameters", + "traits": { + "smithy.api#documentation": "

The parameters for the Hive job run.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configurations for the Hive job driver.

" + } + }, + "com.amazonaws.emrserverless#HiveCliParameters": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 102400 + }, + "smithy.api#pattern": ".*\\S.*", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.emrserverless#IAMRoleArn": { + "type": "string", + "traits": { + "aws.api#arnReference": { + "type": "AWS::IAM::Role" + }, + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):iam::(\\d{12})?:(role((\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F))[\\w+=,.@-]+)$" + } + }, + "com.amazonaws.emrserverless#InitScriptPath": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": ".*\\S.*", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.emrserverless#InitialCapacityConfig": { + "type": "structure", + "members": { + "workerCount": { + "target": "com.amazonaws.emrserverless#WorkerCounts", + "traits": { + "smithy.api#documentation": "

The number of workers in the initial capacity configuration.

", + "smithy.api#required": {} + } + }, + "workerConfiguration": { + "target": "com.amazonaws.emrserverless#WorkerResourceConfig", + "traits": { + "smithy.api#documentation": "

The resource configuration of the initial capacity configuration.

", + "smithy.api#recommended": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The initial capacity configuration per worker.

" + } + }, + "com.amazonaws.emrserverless#InitialCapacityConfigMap": { + "type": "map", + "key": { + "target": "com.amazonaws.emrserverless#WorkerTypeString" + }, + "value": { + "target": "com.amazonaws.emrserverless#InitialCapacityConfig" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.emrserverless#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.emrserverless#String1024", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Request processing failed because of an error or failure with the service.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.emrserverless#JobArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 60, + "max": 1024 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+\\/jobruns\\/[0-9a-zA-Z]+$" + } + }, + "com.amazonaws.emrserverless#JobDriver": { + "type": "union", + "members": { + "sparkSubmit": { + "target": "com.amazonaws.emrserverless#SparkSubmit", + "traits": { + "smithy.api#documentation": "

The job driver parameters specified for Spark.

" + } + }, + "hive": { + "target": "com.amazonaws.emrserverless#Hive", + "traits": { + "smithy.api#documentation": "

The job driver parameters specified for Hive.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The driver that the job runs on.

" + } + }, + "com.amazonaws.emrserverless#JobRun": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application the job is running on.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "jobRunId": { + "target": "com.amazonaws.emrserverless#JobRunId", + "traits": { + "smithy.api#documentation": "

The ID of the job run.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "jobRunId" + } + }, + "name": { + "target": "com.amazonaws.emrserverless#String256", + "traits": { + "smithy.api#documentation": "

The optional job run name. This doesn't have to be unique.

" + } + }, + "arn": { + "target": "com.amazonaws.emrserverless#JobArn", + "traits": { + "smithy.api#documentation": "

The execution role ARN of the job run.

", + "smithy.api#required": {} + } + }, + "createdBy": { + "target": "com.amazonaws.emrserverless#RequestIdentityUserArn", + "traits": { + "smithy.api#documentation": "

The user who created the job run.

", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the job run was created.

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the job run was updated.

", + "smithy.api#required": {} + } + }, + "executionRole": { + "target": "com.amazonaws.emrserverless#IAMRoleArn", + "traits": { + "smithy.api#documentation": "

The execution role ARN of the job run.

", + "smithy.api#required": {} + } + }, + "state": { + "target": "com.amazonaws.emrserverless#JobRunState", + "traits": { + "smithy.api#documentation": "

The state of the job run.

", + "smithy.api#required": {} + } + }, + "stateDetails": { + "target": "com.amazonaws.emrserverless#String256", + "traits": { + "smithy.api#documentation": "

The state details of the job run.

", + "smithy.api#required": {} + } + }, + "releaseLabel": { + "target": "com.amazonaws.emrserverless#ReleaseLabel", + "traits": { + "smithy.api#documentation": "

The EMR release version associated with the application your job is running on.

", + "smithy.api#required": {} + } + }, + "configurationOverrides": { + "target": "com.amazonaws.emrserverless#ConfigurationOverrides", + "traits": { + "smithy.api#documentation": "

The configuration settings that are used to override default configuration.

" + } + }, + "jobDriver": { + "target": "com.amazonaws.emrserverless#JobDriver", + "traits": { + "smithy.api#documentation": "

The job driver for the job run.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.emrserverless#TagMap", + "traits": { + "smithy.api#documentation": "

The tags assigned to the job run.

" + } + }, + "totalResourceUtilization": { + "target": "com.amazonaws.emrserverless#TotalResourceUtilization", + "traits": { + "smithy.api#documentation": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated,\n rounded up to the nearest second.

" + } + }, + "networkConfiguration": { + "target": "com.amazonaws.emrserverless#NetworkConfiguration" + }, + "totalExecutionDurationSeconds": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The job run total execution duration in seconds. This field is only available for job runs in a COMPLETED, FAILED, or CANCELLED state.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive\n query, or SparkSQL query, that you submit to an EMR Serverless application.

" + } + }, + "com.amazonaws.emrserverless#JobRunId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[0-9a-z]+$" + } + }, + "com.amazonaws.emrserverless#JobRunResource": { + "type": "resource", + "identifiers": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId" + }, + "jobRunId": { + "target": "com.amazonaws.emrserverless#JobRunId" + } + }, + "create": { + "target": "com.amazonaws.emrserverless#StartJobRun" + }, + "read": { + "target": "com.amazonaws.emrserverless#GetJobRun" + }, + "delete": { + "target": "com.amazonaws.emrserverless#CancelJobRun" + }, + "list": { + "target": "com.amazonaws.emrserverless#ListJobRuns" + } + }, + "com.amazonaws.emrserverless#JobRunState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUBMITTED", + "name": "SUBMITTED" + }, + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "SCHEDULED", + "name": "SCHEDULED" + }, + { + "value": "RUNNING", + "name": "RUNNING" + }, + { + "value": "SUCCESS", + "name": "SUCCESS" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "CANCELLING", + "name": "CANCELLING" + }, + { + "value": "CANCELLED", + "name": "CANCELLED" + } + ] + } + }, + "com.amazonaws.emrserverless#JobRunStateSet": { + "type": "set", + "member": { + "target": "com.amazonaws.emrserverless#JobRunState" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 8 + } + } + }, + "com.amazonaws.emrserverless#JobRunSummary": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application the job is running on.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "id": { + "target": "com.amazonaws.emrserverless#JobRunId", + "traits": { + "smithy.api#documentation": "

The ID of the job run.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "jobRunId" + } + }, + "name": { + "target": "com.amazonaws.emrserverless#String256", + "traits": { + "smithy.api#documentation": "

The optional job run name. This doesn't have to be unique.

" + } + }, + "arn": { + "target": "com.amazonaws.emrserverless#JobArn", + "traits": { + "smithy.api#documentation": "

The ARN of the job run.

", + "smithy.api#required": {} + } + }, + "createdBy": { + "target": "com.amazonaws.emrserverless#RequestIdentityUserArn", + "traits": { + "smithy.api#documentation": "

The user who created the job run.

", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the job run was created.

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The date and time when the job run was last updated.

", + "smithy.api#required": {} + } + }, + "executionRole": { + "target": "com.amazonaws.emrserverless#IAMRoleArn", + "traits": { + "smithy.api#documentation": "

The execution role ARN of the job run.

", + "smithy.api#required": {} + } + }, + "state": { + "target": "com.amazonaws.emrserverless#JobRunState", + "traits": { + "smithy.api#documentation": "

The state of the job run.

", + "smithy.api#required": {} + } + }, + "stateDetails": { + "target": "com.amazonaws.emrserverless#String256", + "traits": { + "smithy.api#documentation": "

The state details of the job run.

", + "smithy.api#required": {} + } + }, + "releaseLabel": { + "target": "com.amazonaws.emrserverless#ReleaseLabel", + "traits": { + "smithy.api#documentation": "

The EMR release version associated with the application your job is running on.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.emrserverless#JobRunType", + "traits": { + "smithy.api#documentation": "

The type of job run, such as Spark or Hive.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of attributes associated with a job run.

" + } + }, + "com.amazonaws.emrserverless#JobRunType": { + "type": "string" + }, + "com.amazonaws.emrserverless#JobRuns": { + "type": "list", + "member": { + "target": "com.amazonaws.emrserverless#JobRunSummary" + } + }, + "com.amazonaws.emrserverless#ListApplications": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#ListApplicationsRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#ListApplicationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists applications based on a set of parameters.

", + "smithy.api#http": { + "method": "GET", + "uri": "/applications" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "applications" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.emrserverless#ListApplicationsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.emrserverless#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of application results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of applications that can be listed.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "states": { + "target": "com.amazonaws.emrserverless#ApplicationStateSet", + "traits": { + "smithy.api#documentation": "

An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

", + "smithy.api#httpQuery": "states" + } + } + } + }, + "com.amazonaws.emrserverless#ListApplicationsResponse": { + "type": "structure", + "members": { + "applications": { + "target": "com.amazonaws.emrserverless#ApplicationList", + "traits": { + "smithy.api#documentation": "

The output lists the specified applications.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.emrserverless#NextToken", + "traits": { + "smithy.api#documentation": "

The output displays the token for the next set of application results. This is required\n for pagination and is available as a response of the previous request.

" + } + } + } + }, + "com.amazonaws.emrserverless#ListJobRuns": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#ListJobRunsRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#ListJobRunsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists job runs based on a set of parameters.

", + "smithy.api#http": { + "method": "GET", + "uri": "/applications/{applicationId}/jobruns" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "jobRuns" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.emrserverless#ListJobRunsRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application for which to list the job run.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "nextToken": { + "target": "com.amazonaws.emrserverless#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of job run results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum number of job runs that can be listed.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "createdAtAfter": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The lower bound of the option to filter by creation date and time.

", + "smithy.api#httpQuery": "createdAtAfter" + } + }, + "createdAtBefore": { + "target": "com.amazonaws.emrserverless#Date", + "traits": { + "smithy.api#documentation": "

The upper bound of the option to filter by creation date and time.

", + "smithy.api#httpQuery": "createdAtBefore" + } + }, + "states": { + "target": "com.amazonaws.emrserverless#JobRunStateSet", + "traits": { + "smithy.api#documentation": "

An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

", + "smithy.api#httpQuery": "states" + } + } + } + }, + "com.amazonaws.emrserverless#ListJobRunsResponse": { + "type": "structure", + "members": { + "jobRuns": { + "target": "com.amazonaws.emrserverless#JobRuns", + "traits": { + "smithy.api#documentation": "

The output lists information about the specified job runs.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.emrserverless#NextToken", + "traits": { + "smithy.api#documentation": "

The output displays the token for the next set of job run results. This is required for\n pagination and is available as a response of the previous request.

" + } + } + } + }, + "com.amazonaws.emrserverless#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the tags assigned to the resources.

", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{resourceArn}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.emrserverless#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.emrserverless#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.emrserverless#TagMap", + "traits": { + "smithy.api#documentation": "

The tags for the resource.

" + } + } + } + }, + "com.amazonaws.emrserverless#ManagedPersistenceMonitoringConfiguration": { + "type": "structure", + "members": { + "enabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Enables managed logging and defaults to true. If set to false, managed logging will be turned off.

" + } + }, + "encryptionKeyArn": { + "target": "com.amazonaws.emrserverless#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The KMS key ARN to encrypt the logs stored in managed log persistence.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The managed log persistence configuration for a job run.

" + } + }, + "com.amazonaws.emrserverless#MaximumAllowedResources": { + "type": "structure", + "members": { + "cpu": { + "target": "com.amazonaws.emrserverless#CpuSize", + "traits": { + "smithy.api#documentation": "

The maximum allowed CPU for an application.

", + "smithy.api#required": {} + } + }, + "memory": { + "target": "com.amazonaws.emrserverless#MemorySize", + "traits": { + "smithy.api#documentation": "

The maximum allowed resources for an application.

", + "smithy.api#required": {} + } + }, + "disk": { + "target": "com.amazonaws.emrserverless#DiskSize", + "traits": { + "smithy.api#documentation": "

The maximum allowed disk for an application.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The maximum allowed cumulative resources for an application. No new resources will be\n created once the limit is hit.

" + } + }, + "com.amazonaws.emrserverless#MemorySize": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 15 + }, + "smithy.api#pattern": "^[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)?$" + } + }, + "com.amazonaws.emrserverless#MonitoringConfiguration": { + "type": "structure", + "members": { + "s3MonitoringConfiguration": { + "target": "com.amazonaws.emrserverless#S3MonitoringConfiguration", + "traits": { + "smithy.api#documentation": "

The Amazon S3 configuration for monitoring log publishing.

" + } + }, + "managedPersistenceMonitoringConfiguration": { + "target": "com.amazonaws.emrserverless#ManagedPersistenceMonitoringConfiguration", + "traits": { + "smithy.api#documentation": "

The managed log persistence configuration for a job run.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration setting for monitoring.

" + } + }, + "com.amazonaws.emrserverless#NetworkConfiguration": { + "type": "structure", + "members": { + "subnetIds": { + "target": "com.amazonaws.emrserverless#SubnetIds", + "traits": { + "smithy.api#documentation": "

The array of subnet Ids for customer VPC connectivity.

" + } + }, + "securityGroupIds": { + "target": "com.amazonaws.emrserverless#SecurityGroupIds", + "traits": { + "smithy.api#documentation": "

The array of security group Ids for customer VPC connectivity.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The network configuration for customer VPC connectivity.

" + } + }, + "com.amazonaws.emrserverless#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#pattern": "^[A-Za-z0-9_=-]+$" + } + }, + "com.amazonaws.emrserverless#Query": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10280 + }, + "smithy.api#pattern": ".*\\S.*", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.emrserverless#ReleaseLabel": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9._/-]+$" + } + }, + "com.amazonaws.emrserverless#RequestIdentityUserArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):(iam|sts)::(\\d{12})?:[\\w/+=,.@-]+$" + } + }, + "com.amazonaws.emrserverless#ResourceArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 60, + "max": 1024 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+(\\/jobruns\\/[0-9a-zA-Z]+)?$" + } + }, + "com.amazonaws.emrserverless#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.emrserverless#String1024", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The specified resource was not found.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.emrserverless#S3MonitoringConfiguration": { + "type": "structure", + "members": { + "logUri": { + "target": "com.amazonaws.emrserverless#UriString", + "traits": { + "smithy.api#documentation": "

The Amazon S3 destination URI for log publishing.

" + } + }, + "encryptionKeyArn": { + "target": "com.amazonaws.emrserverless#EncryptionKeyArn", + "traits": { + "smithy.api#documentation": "

The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Amazon S3 configuration for monitoring log publishing. You can configure your jobs\n to send log information to Amazon S3.

" + } + }, + "com.amazonaws.emrserverless#SecurityGroupIds": { + "type": "list", + "member": { + "target": "com.amazonaws.emrserverless#SecurityGroupString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, + "com.amazonaws.emrserverless#SecurityGroupString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + }, + "smithy.api#pattern": "^[-0-9a-zA-Z]+" + } + }, + "com.amazonaws.emrserverless#SensitivePropertiesMap": { + "type": "map", + "key": { + "target": "com.amazonaws.emrserverless#String1024" + }, + "value": { + "target": "com.amazonaws.emrserverless#String1024" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.emrserverless#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.emrserverless#String1024", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The maximum number of resources per account has been reached.

", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.emrserverless#SparkSubmit": { + "type": "structure", + "members": { + "entryPoint": { + "target": "com.amazonaws.emrserverless#EntryPointPath", + "traits": { + "smithy.api#documentation": "

The entry point for the Spark submit job run.

", + "smithy.api#required": {} + } + }, + "entryPointArguments": { + "target": "com.amazonaws.emrserverless#EntryPointArguments", + "traits": { + "smithy.api#documentation": "

The arguments for the Spark submit job run.

" + } + }, + "sparkSubmitParameters": { + "target": "com.amazonaws.emrserverless#SparkSubmitParameters", + "traits": { + "smithy.api#documentation": "

The parameters for the Spark submit job run.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configurations for the Spark submit job driver.

" + } + }, + "com.amazonaws.emrserverless#SparkSubmitParameters": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 102400 + }, + "smithy.api#pattern": ".*\\S.*", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.emrserverless#StartApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#StartApplicationRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#StartApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Starts a specified application and initializes initial capacity if configured.

", + "smithy.api#http": { + "method": "POST", + "uri": "/applications/{applicationId}/start" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.emrserverless#StartApplicationRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application to start.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + } + } + }, + "com.amazonaws.emrserverless#StartApplicationResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.emrserverless#StartJobRun": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#StartJobRunRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#StartJobRunResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#ConflictException" + }, + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Starts a job run.

", + "smithy.api#http": { + "method": "POST", + "uri": "/applications/{applicationId}/jobruns" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.emrserverless#StartJobRunRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application on which to run the job.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "clientToken": { + "target": "com.amazonaws.emrserverless#ClientToken", + "traits": { + "smithy.api#documentation": "

The client idempotency token of the job run to start. Its value must be unique for each\n request.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "executionRoleArn": { + "target": "com.amazonaws.emrserverless#IAMRoleArn", + "traits": { + "smithy.api#documentation": "

The execution role ARN for the job run.

", + "smithy.api#required": {} + } + }, + "jobDriver": { + "target": "com.amazonaws.emrserverless#JobDriver", + "traits": { + "smithy.api#documentation": "

The job driver for the job run.

" + } + }, + "configurationOverrides": { + "target": "com.amazonaws.emrserverless#ConfigurationOverrides", + "traits": { + "smithy.api#documentation": "

The configuration overrides for the job run.

" + } + }, + "tags": { + "target": "com.amazonaws.emrserverless#TagMap", + "traits": { + "smithy.api#documentation": "

The tags assigned to the job run.

" + } + }, + "executionTimeoutMinutes": { + "target": "com.amazonaws.emrserverless#Duration", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "

The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

" + } + }, + "name": { + "target": "com.amazonaws.emrserverless#String256", + "traits": { + "smithy.api#documentation": "

The optional job run name. This doesn't have to be unique.

" + } + } + } + }, + "com.amazonaws.emrserverless#StartJobRunResponse": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

This output displays the application ID on which the job run was submitted.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "jobRunId": { + "target": "com.amazonaws.emrserverless#JobRunId", + "traits": { + "smithy.api#documentation": "

The output contains the ID of the started job run.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "jobRunId" + } + }, + "arn": { + "target": "com.amazonaws.emrserverless#JobArn", + "traits": { + "smithy.api#documentation": "

The output lists the execution role ARN of the job run.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#StopApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#StopApplicationRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#StopApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Stops a specified application and releases initial capacity if configured. All scheduled\n and running jobs must be completed or cancelled before stopping an application.

", + "smithy.api#http": { + "method": "POST", + "uri": "/applications/{applicationId}/stop" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.emrserverless#StopApplicationRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application to stop.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + } + } + }, + "com.amazonaws.emrserverless#StopApplicationResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.emrserverless#String1024": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#pattern": ".*\\S.*" + } + }, + "com.amazonaws.emrserverless#String256": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": ".*\\S.*" + } + }, + "com.amazonaws.emrserverless#SubnetIds": { + "type": "list", + "member": { + "target": "com.amazonaws.emrserverless#SubnetString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 16 + } + } + }, + "com.amazonaws.emrserverless#SubnetString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + }, + "smithy.api#pattern": "^[-0-9a-zA-Z]+" + } + }, + "com.amazonaws.emrserverless#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[A-Za-z0-9 /_.:=+@-]+$" + } + }, + "com.amazonaws.emrserverless#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.emrserverless#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.emrserverless#TagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.emrserverless#TagKey" + }, + "value": { + "target": "com.amazonaws.emrserverless#TagValue" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.emrserverless#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag\n consists of a key and an optional value, both of which you define. Tags enable you to\n categorize your AWS resources by attributes such as purpose, owner, or environment. When\n you have many resources of the same type, you can quickly identify a specific resource\n based on the tags you've assigned to it.

", + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{resourceArn}" + } + } + }, + "com.amazonaws.emrserverless#TagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.emrserverless#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.emrserverless#TagMap", + "traits": { + "smithy.api#documentation": "

The tags to add to the resource. A tag is an array of key-value pairs.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.emrserverless#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^[A-Za-z0-9 /_.:=+@-]*$" + } + }, + "com.amazonaws.emrserverless#TotalResourceUtilization": { + "type": "structure", + "members": { + "vCPUHour": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The aggregated vCPU used per hour from the time job start executing till the time job is terminated.

" + } + }, + "memoryGBHour": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The aggregated memory used per hour from the time job start executing till the time job is terminated.

" + } + }, + "storageGBHour": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The aggregated storage used per hour from the time job start executing till the time job is terminated.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated,\n rounded up to the nearest second.

" + } + }, + "com.amazonaws.emrserverless#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Removes tags from resources.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{resourceArn}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.emrserverless#UntagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.emrserverless#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.emrserverless#TagKeyList", + "traits": { + "smithy.api#documentation": "

The keys of the tags to be removed.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.emrserverless#UpdateApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.emrserverless#UpdateApplicationRequest" + }, + "output": { + "target": "com.amazonaws.emrserverless#UpdateApplicationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.emrserverless#InternalServerException" + }, + { + "target": "com.amazonaws.emrserverless#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.emrserverless#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a specified application. An application has to be in a stopped or created state\n in order to be updated.

", + "smithy.api#http": { + "method": "PATCH", + "uri": "/applications/{applicationId}" + } + } + }, + "com.amazonaws.emrserverless#UpdateApplicationRequest": { + "type": "structure", + "members": { + "applicationId": { + "target": "com.amazonaws.emrserverless#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application to update.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "applicationId" + } + }, + "clientToken": { + "target": "com.amazonaws.emrserverless#ClientToken", + "traits": { + "smithy.api#documentation": "

The client idempotency token of the application to update. Its value must be unique for\n each request.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "initialCapacity": { + "target": "com.amazonaws.emrserverless#InitialCapacityConfigMap", + "traits": { + "smithy.api#documentation": "

The capacity to initialize when the application is updated.

" + } + }, + "maximumCapacity": { + "target": "com.amazonaws.emrserverless#MaximumAllowedResources", + "traits": { + "smithy.api#documentation": "

The maximum capacity to allocate when the application is updated. This is cumulative\n across all workers at any given point in time during the lifespan of the application. No\n new resources will be created once any one of the defined limits is hit.

" + } + }, + "autoStartConfiguration": { + "target": "com.amazonaws.emrserverless#AutoStartConfig", + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically start on job submission.

" + } + }, + "autoStopConfiguration": { + "target": "com.amazonaws.emrserverless#AutoStopConfig", + "traits": { + "smithy.api#documentation": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + } + }, + "networkConfiguration": { + "target": "com.amazonaws.emrserverless#NetworkConfiguration" + } + } + }, + "com.amazonaws.emrserverless#UpdateApplicationResponse": { + "type": "structure", + "members": { + "application": { + "target": "com.amazonaws.emrserverless#Application", + "traits": { + "smithy.api#documentation": "

Information about the updated application.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.emrserverless#UriString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10280 + }, + "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\r\\n\\t]*" + } + }, + "com.amazonaws.emrserverless#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.emrserverless#String1024", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The input fails to satisfy the constraints specified by an AWS service.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.emrserverless#WorkerCounts": { + "type": "long", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 1000000 + } + } + }, + "com.amazonaws.emrserverless#WorkerResourceConfig": { + "type": "structure", + "members": { + "cpu": { + "target": "com.amazonaws.emrserverless#CpuSize", + "traits": { + "smithy.api#documentation": "

The CPU requirements for every worker instance of the worker type.

", + "smithy.api#required": {} + } + }, + "memory": { + "target": "com.amazonaws.emrserverless#MemorySize", + "traits": { + "smithy.api#documentation": "

The memory requirements for every worker instance of the worker type.

", + "smithy.api#required": {} + } + }, + "disk": { + "target": "com.amazonaws.emrserverless#DiskSize", + "traits": { + "smithy.api#documentation": "

The disk requirements for every worker instance of the worker type.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The cumulative configuration requirements for every worker instance of the worker\n type.

" + } + }, + "com.amazonaws.emrserverless#WorkerTypeString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + }, + "smithy.api#pattern": "^[a-zA-Z]+[-_]*[a-zA-Z]+$" + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/forecast.json b/codegen/sdk-codegen/aws-models/forecast.json index 50182d1a4b6..6a28c7c60c5 100644 --- a/codegen/sdk-codegen/aws-models/forecast.json +++ b/codegen/sdk-codegen/aws-models/forecast.json @@ -42,12 +42,12 @@ "Configuration": { "target": "com.amazonaws.forecast#Configuration", "traits": { - "smithy.api#documentation": "

\n Weather Index\n

\n

To enable the Weather Index, do not specify a value for\n Configuration.

\n

\n Holidays\n

\n

To enable Holidays, set CountryCode to one of the following two-letter country\n codes:

\n " + "smithy.api#documentation": "

\n Weather Index\n

\n

To enable the Weather Index, do not specify a value for\n Configuration.

\n

\n Holidays\n

\n\n

\n Holidays\n

\n

To enable Holidays, set CountryCode to one of the following two-letter\n country codes:

\n " } } }, "traits": { - "smithy.api#documentation": "

Describes an additional dataset. This object is part of the DataConfig object. Forecast supports the Weather Index and Holidays additional datasets.

\n

\n Weather Index\n

\n

The Amazon Forecast Weather Index is a built-in dataset that incorporates historical and\n projected weather information into your model. The Weather Index supplements your\n datasets with over two years of historical weather data and up to 14 days of projected\n weather data. For more information, see Amazon Forecast\n Weather Index.

\n

\n Holidays\n

\n

Holidays is a built-in dataset that incorporates national holiday information into\n your model. It provides native support for the holiday calendars of 66 countries. To\n view the holiday calendars, refer to the Jollyday library. For more\n information, see Holidays\n Featurization.

" + "smithy.api#documentation": "

Describes an additional dataset. This object is part of the DataConfig object. Forecast supports the Weather Index and Holidays additional datasets.

\n

\n Weather Index\n

\n

The Amazon Forecast Weather Index is a built-in dataset that incorporates historical and\n projected weather information into your model. The Weather Index supplements your\n datasets with over two years of historical weather data and up to 14 days of projected\n weather data. For more information, see Amazon Forecast\n Weather Index.

\n

\n Holidays\n

\n

Holidays is a built-in dataset that incorporates national holiday information into\n your model. It provides native support for the holiday calendars of 66 countries. To\n view the holiday calendars, refer to the Jollyday library. For more\n information, see Holidays\n Featurization.

" } }, "com.amazonaws.forecast#AdditionalDatasets": { @@ -105,6 +105,9 @@ { "target": "com.amazonaws.forecast#CreateForecastExportJob" }, + { + "target": "com.amazonaws.forecast#CreateMonitor" + }, { "target": "com.amazonaws.forecast#CreatePredictor" }, @@ -132,6 +135,9 @@ { "target": "com.amazonaws.forecast#DeleteForecastExportJob" }, + { + "target": "com.amazonaws.forecast#DeleteMonitor" + }, { "target": "com.amazonaws.forecast#DeletePredictor" }, @@ -165,6 +171,9 @@ { "target": "com.amazonaws.forecast#DescribeForecastExportJob" }, + { + "target": "com.amazonaws.forecast#DescribeMonitor" + }, { "target": "com.amazonaws.forecast#DescribePredictor" }, @@ -195,6 +204,12 @@ { "target": "com.amazonaws.forecast#ListForecasts" }, + { + "target": "com.amazonaws.forecast#ListMonitorEvaluations" + }, + { + "target": "com.amazonaws.forecast#ListMonitors" + }, { "target": "com.amazonaws.forecast#ListPredictorBacktestExportJobs" }, @@ -204,6 +219,9 @@ { "target": "com.amazonaws.forecast#ListTagsForResource" }, + { + "target": "com.amazonaws.forecast#ResumeResource" + }, { "target": "com.amazonaws.forecast#StopResource" }, @@ -253,7 +271,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides information about the method used to transform attributes.

\n

The following is an example using the RETAIL domain:

\n

\n {\n

\n

\n \"AttributeName\": \"demand\",\n

\n

\n \"Transformations\": {\"aggregation\": \"sum\", \"middlefill\": \"zero\", \"backfill\":\n \"zero\"}\n

\n

\n }\n

" + "smithy.api#documentation": "

Provides information about the method used to transform attributes.

\n

The following is an example using the RETAIL domain:

\n

\n {\n

\n

\n \"AttributeName\": \"demand\",\n

\n

\n \"Transformations\": {\"aggregation\": \"sum\", \"middlefill\": \"zero\", \"backfill\":\n \"zero\"}\n

\n

\n }\n

" } }, "com.amazonaws.forecast#AttributeConfigs": { @@ -310,6 +328,46 @@ ] } }, + "com.amazonaws.forecast#Baseline": { + "type": "structure", + "members": { + "PredictorBaseline": { + "target": "com.amazonaws.forecast#PredictorBaseline", + "traits": { + "smithy.api#documentation": "

The initial accuracy metrics for the predictor you are monitoring. Use these metrics as a baseline for comparison purposes as you\n use your predictor and the metrics change.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Metrics you can use as a baseline for comparison purposes. Use these metrics when you interpret monitoring results for an auto predictor.

" + } + }, + "com.amazonaws.forecast#BaselineMetric": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.forecast#Name", + "traits": { + "smithy.api#documentation": "

The name of the metric.

" + } + }, + "Value": { + "target": "com.amazonaws.forecast#Double", + "traits": { + "smithy.api#documentation": "

The value for the metric.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An individual metric that you can use for comparison as you evaluate your monitoring results.

" + } + }, + "com.amazonaws.forecast#BaselineMetrics": { + "type": "list", + "member": { + "target": "com.amazonaws.forecast#BaselineMetric" + } + }, "com.amazonaws.forecast#Boolean": { "type": "boolean", "traits": { @@ -432,7 +490,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Amazon Forecast predictor.

\n

Amazon Forecast creates predictors with AutoPredictor, which involves applying the\n optimal combination of algorithms to each time series in your datasets. You can use\n CreateAutoPredictor to create new predictors or upgrade/retrain existing\n predictors.

\n

\n Creating new predictors\n

\n

The following parameters are required when creating a new predictor:

\n \n

When creating a new predictor, do not specify a value for\n ReferencePredictorArn.

\n

\n Upgrading and retraining predictors\n

\n

The following parameters are required when retraining or upgrading a predictor:

\n \n

When upgrading or retraining a predictor, only specify values for the\n ReferencePredictorArn and PredictorName.

" + "smithy.api#documentation": "

Creates an Amazon Forecast predictor.

\n

Amazon Forecast creates predictors with AutoPredictor, which involves applying the\n optimal combination of algorithms to each time series in your datasets. You can use\n CreateAutoPredictor to create new predictors or upgrade/retrain\n existing predictors.

\n\n

\n Creating new predictors\n

\n\n

The following parameters are required when creating a new predictor:

\n \n

When creating a new predictor, do not specify a value for\n ReferencePredictorArn.

\n

\n Upgrading and retraining predictors\n

\n

The following parameters are required when retraining or upgrading a predictor:

\n \n

When upgrading or retraining a predictor, only specify values for the\n ReferencePredictorArn and PredictorName.

" } }, "com.amazonaws.forecast#CreateAutoPredictorRequest": { @@ -448,7 +506,7 @@ "ForecastHorizon": { "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

The number of time-steps that the model predicts. The forecast horizon is also called\n the prediction length.

" + "smithy.api#documentation": "

The number of time-steps that the model predicts. The forecast horizon is also called\n the prediction length.

\n

The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the\n TARGET_TIME_SERIES dataset length. If you are retraining an existing AutoPredictor, then\n the maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the\n TARGET_TIME_SERIES dataset length.

\n

If you are upgrading to an AutoPredictor or retraining an existing AutoPredictor, you\n cannot update the forecast horizon parameter. You can meet this requirement by providing\n longer time-series in the dataset.

" } }, "ForecastTypes": { @@ -501,6 +559,18 @@ "traits": { "smithy.api#documentation": "

Optional metadata to help you categorize and organize your predictors. Each tag\n consists of a key and an optional value, both of which you define. Tag keys and values\n are case sensitive.

\n

The following restrictions apply to tags:

\n " } + }, + "MonitorConfig": { + "target": "com.amazonaws.forecast#MonitorConfig", + "traits": { + "smithy.api#documentation": "

The configuration details for predictor monitoring. Provide a name for the monitor resource to enable predictor monitoring.

\n

Predictor monitoring allows you to see how your predictor's performance changes over time.\n For more information, see Predictor Monitoring.

" + } + }, + "TimeAlignmentBoundary": { + "target": "com.amazonaws.forecast#TimeAlignmentBoundary", + "traits": { + "smithy.api#documentation": "

The time boundary Forecast uses to align and aggregate any data that doesn't align with your forecast frequency. Provide the unit of time and the time boundary as a key value pair. \n For more information on specifying a time boundary, see Specifying a Time Boundary.\n If you\n don't provide a time boundary, Forecast uses a set of Default Time Boundaries.

" + } } } }, @@ -535,7 +605,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Amazon Forecast dataset. The information about the dataset that you provide helps\n Forecast understand how to consume the data for model training. This includes the\n following:

\n \n

After creating a dataset, you import your training data into it and add the dataset to a\n dataset group. You use the dataset group to create a predictor. For more information, see\n howitworks-datasets-groups.

\n

To get a list of all your datasets, use the ListDatasets\n operation.

\n

For example Forecast datasets, see the Amazon Forecast Sample GitHub\n repository.

\n \n

The Status of a dataset must be ACTIVE before you can import\n training data. Use the DescribeDataset operation to get the status.

\n
" + "smithy.api#documentation": "

Creates an Amazon Forecast dataset. The information about the dataset that you provide helps\n Forecast understand how to consume the data for model training. This includes the\n following:

\n \n

After creating a dataset, you import your training data into it and add the dataset to a\n dataset group. You use the dataset group to create a predictor. For more information, see\n Importing datasets.

\n

To get a list of all your datasets, use the ListDatasets operation.

\n

For example Forecast datasets, see the Amazon Forecast Sample GitHub\n repository.

\n \n

The Status of a dataset must be ACTIVE before you can import\n training data. Use the DescribeDataset operation to get\n the status.

\n
" } }, "com.amazonaws.forecast#CreateDatasetGroup": { @@ -564,7 +634,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a dataset group, which holds a collection of related datasets. You can add\n datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation.

\n

After creating a dataset group and adding datasets, you use the dataset group when you\n create a predictor. For more information, see howitworks-datasets-groups.

\n

To get a list of all your datasets groups, use the ListDatasetGroups\n operation.

\n \n

The Status of a dataset group must be ACTIVE before you can\n use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.

\n
" + "smithy.api#documentation": "

Creates a dataset group, which holds a collection of related datasets. You can add\n datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation.

\n

After creating a dataset group and adding datasets, you use the dataset group when you\n create a predictor. For more information, see Dataset groups.

\n

To get a list of all your datasets groups, use the ListDatasetGroups\n operation.

\n \n

The Status of a dataset group must be ACTIVE before you can\n use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.

\n
" } }, "com.amazonaws.forecast#CreateDatasetGroupRequest": { @@ -580,7 +650,7 @@ "Domain": { "target": "com.amazonaws.forecast#Domain", "traits": { - "smithy.api#documentation": "

The domain associated with the dataset group. When you add a dataset to a dataset group,\n this value and the value specified for the Domain parameter of the CreateDataset operation must match.

\n

The Domain and DatasetType that you choose determine the fields\n that must be present in training data that you import to a dataset. For example, if you choose\n the RETAIL domain and TARGET_TIME_SERIES as the\n DatasetType, Amazon Forecast requires that item_id,\n timestamp, and demand fields are present in your data. For more\n information, see howitworks-datasets-groups.

", + "smithy.api#documentation": "

The domain associated with the dataset group. When you add a dataset to a dataset group,\n this value and the value specified for the Domain parameter of the CreateDataset\n operation must match.

\n

The Domain and DatasetType that you choose determine the fields\n that must be present in training data that you import to a dataset. For example, if you choose\n the RETAIL domain and TARGET_TIME_SERIES as the\n DatasetType, Amazon Forecast requires that item_id,\n timestamp, and demand fields are present in your data. For more\n information, see Dataset groups.

", "smithy.api#required": {} } }, @@ -635,7 +705,7 @@ } ], "traits": { - "smithy.api#documentation": "

Imports your training data to an Amazon Forecast dataset. You provide the location of your\n training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset\n that you want to import the data to.

\n

You must specify a DataSource object that includes an AWS Identity and Access Management (IAM)\n role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy of your data and\n processes it in an internal AWS system. For more information, see aws-forecast-iam-roles.

\n

The training data must be in CSV format. The delimiter must be a comma (,).

\n

You can specify the path to a specific CSV file, the S3 bucket, or to a folder in the S3\n bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000\n files.

\n\n\n

Because dataset imports are not aggregated, your most recent dataset import is the one\n that is used when training a predictor or generating a forecast. Make sure that your most\n recent dataset import contains all of the data you want to model off of, and not just the new\n data collected since the previous import.

\n\n\n

To get a list of all your dataset import jobs, filtered by specified criteria, use the\n ListDatasetImportJobs operation.

" + "smithy.api#documentation": "

Imports your training data to an Amazon Forecast dataset. You provide the location of your\n training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset\n that you want to import the data to.

\n

You must specify a DataSource object that includes an\n AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy\n of your data and processes it in an internal AWS system. For more information, see Set up\n permissions.

\n

The training data must be in CSV or Parquet format. The delimiter must be a comma (,).

\n

You can specify the path to a specific file, the S3 bucket, or to a folder in the S3\n bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000\n files.

\n

Because dataset imports are not aggregated, your most recent dataset import is the one\n that is used when training a predictor or generating a forecast. Make sure that your most\n recent dataset import contains all of the data you want to model off of, and not just the new\n data collected since the previous import.

\n

To get a list of all your dataset import jobs, filtered by specified criteria, use the\n ListDatasetImportJobs operation.

" } }, "com.amazonaws.forecast#CreateDatasetImportJobRequest": { @@ -658,7 +728,7 @@ "DataSource": { "target": "com.amazonaws.forecast#DataSource", "traits": { - "smithy.api#documentation": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast\n can assume to access the data. The training data must be stored in an Amazon S3 bucket.

\n

If encryption is used, DataSource must include an AWS Key Management Service (KMS) key and the\n IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must\n match those specified in the EncryptionConfig parameter of the CreateDataset operation.

", + "smithy.api#documentation": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast\n can assume to access the data. The training data must be stored in an Amazon S3 bucket.

\n

If encryption is used, DataSource must include an AWS Key Management Service (KMS) key and the\n IAM role must allow Amazon Forecast permission to access the key. The KMS key and IAM role must\n match those specified in the EncryptionConfig parameter of the CreateDataset\n operation.

", "smithy.api#required": {} } }, @@ -691,6 +761,12 @@ "traits": { "smithy.api#documentation": "

The optional metadata that you apply to the dataset import job to help you categorize and\n organize them. Each tag consists of a key and an optional value, both of which you\n define.

\n

The following basic restrictions apply to tags:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the imported data, CSV or PARQUET. The default value is CSV.

" + } } } }, @@ -718,7 +794,7 @@ "Domain": { "target": "com.amazonaws.forecast#Domain", "traits": { - "smithy.api#documentation": "

The domain associated with the dataset. When you add a dataset to a dataset group, this\n value and the value specified for the Domain parameter of the CreateDatasetGroup operation must match.

\n

The Domain and DatasetType that you choose determine the fields\n that must be present in the training data that you import to the dataset. For example, if you\n choose the RETAIL domain and TARGET_TIME_SERIES as the\n DatasetType, Amazon Forecast requires item_id, timestamp,\n and demand fields to be present in your data. For more information, see howitworks-datasets-groups.

", + "smithy.api#documentation": "

The domain associated with the dataset. When you add a dataset to a dataset group, this\n value and the value specified for the Domain parameter of the CreateDatasetGroup operation must match.

\n

The Domain and DatasetType that you choose determine the fields\n that must be present in the training data that you import to the dataset. For example, if you\n choose the RETAIL domain and TARGET_TIME_SERIES as the\n DatasetType, Amazon Forecast requires item_id, timestamp,\n and demand fields to be present in your data. For more information, see Importing\n datasets.

", "smithy.api#required": {} } }, @@ -738,7 +814,7 @@ "Schema": { "target": "com.amazonaws.forecast#Schema", "traits": { - "smithy.api#documentation": "

The schema for the dataset. The schema attributes and their order must match the fields in\n your data. The dataset Domain and DatasetType that you choose\n determine the minimum required fields in your training data. For information about the\n required fields for a specific dataset domain and type, see howitworks-domains-ds-types.

", + "smithy.api#documentation": "

The schema for the dataset. The schema attributes and their order must match the fields in\n your data. The dataset Domain and DatasetType that you choose\n determine the minimum required fields in your training data. For information about the\n required fields for a specific dataset domain and type, see Dataset Domains and Dataset\n Types.

", "smithy.api#required": {} } }, @@ -793,7 +869,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

Explainability is only available for Forecasts and Predictors generated from an\n AutoPredictor (CreateAutoPredictor)

\n
\n

Creates an Amazon Forecast Explainability.

\n

Explainability helps you better understand how the attributes in your datasets impact\n forecast. Amazon Forecast uses a metric called Impact scores to quantify the relative\n impact of each attribute and determine whether they increase or decrease forecast\n values.

\n

To enable Forecast Explainability, your predictor must include at least one of the\n following: related time series, item metadata, or additional datasets like Holidays and\n the Weather Index.

\n

CreateExplainability accepts either a Predictor ARN or Forecast ARN. To receive\n aggregated Impact scores for all time series and time points in your datasets, provide a\n Predictor ARN. To receive Impact scores for specific time series and time points,\n provide a Forecast ARN.

\n

\n CreateExplainability with a Predictor ARN\n

\n \n

You can only have one Explainability resource per predictor. If you already\n enabled ExplainPredictor in CreateAutoPredictor, that\n predictor already has an Explainability resource.

\n
\n

The following parameters are required when providing a Predictor ARN:

\n \n

Do not specify a value for the following parameters:

\n \n

\n CreateExplainability with a Forecast ARN\n

\n \n

You can specify a maximum of 50 time series and 500 time points.

\n
\n

The following parameters are required when providing a Predictor ARN:

\n \n

If you set TimeSeriesGranularity to “SPECIFIC”, you must also provide the\n following:

\n \n

If you set TimePointGranularity to “SPECIFIC”, you must also provide the\n following:

\n " + "smithy.api#documentation": "\n

Explainability is only available for Forecasts and Predictors generated from an\n AutoPredictor (CreateAutoPredictor)

\n
\n

Creates an Amazon Forecast Explainability.

\n

Explainability helps you better understand how the attributes in your datasets impact\n forecast. Amazon Forecast uses a metric called Impact scores to quantify the relative\n impact of each attribute and determine whether they increase or decrease forecast\n values.

\n

To enable Forecast Explainability, your predictor must include at least one of the\n following: related time series, item metadata, or additional datasets like Holidays and\n the Weather Index.

\n

CreateExplainability accepts either a Predictor ARN or Forecast ARN. To receive\n aggregated Impact scores for all time series and time points in your datasets, provide a\n Predictor ARN. To receive Impact scores for specific time series and time points,\n provide a Forecast ARN.

\n

\n CreateExplainability with a Predictor ARN\n

\n \n

You can only have one Explainability resource per predictor. If you already\n enabled ExplainPredictor in CreateAutoPredictor, that\n predictor already has an Explainability resource.

\n
\n

The following parameters are required when providing a Predictor ARN:

\n \n

Do not specify a value for the following parameters:

\n \n

\n CreateExplainability with a Forecast ARN\n

\n \n

You can specify a maximum of 50 time series and 500 time points.

\n
\n

The following parameters are required when providing a Predictor ARN:

\n \n

If you set TimeSeriesGranularity to “SPECIFIC”, you must also provide the\n following:

\n \n

If you set TimePointGranularity to “SPECIFIC”, you must also provide the\n following:

\n " } }, "com.amazonaws.forecast#CreateExplainabilityExport": { @@ -853,6 +929,12 @@ "traits": { "smithy.api#documentation": "

Optional metadata to help you categorize and organize your resources. Each tag\n consists of a key and an optional value, both of which you define. Tag keys and values\n are case sensitive.

\n

The following restrictions apply to tags:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the exported data, CSV or PARQUET.

" + } } } }, @@ -900,19 +982,19 @@ "EnableVisualization": { "target": "com.amazonaws.forecast#Boolean", "traits": { - "smithy.api#documentation": "

Create an Expainability visualization that is viewable within the AWS console.

" + "smithy.api#documentation": "

Create an Explainability visualization that is viewable within the AWS console.

" } }, "StartDateTime": { "target": "com.amazonaws.forecast#LocalDateTime", "traits": { - "smithy.api#documentation": "

If TimePointGranularity is set to SPECIFIC, define the first\n point for the Explainability.

\n

Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)

" + "smithy.api#documentation": "

If TimePointGranularity is set to SPECIFIC, define the first\n point for the Explainability.

\n

Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example:\n 2015-01-01T20:00:00)

" } }, "EndDateTime": { "target": "com.amazonaws.forecast#LocalDateTime", "traits": { - "smithy.api#documentation": "

If TimePointGranularity is set to SPECIFIC, define the last\n time point for the Explainability.

\n

Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)

" + "smithy.api#documentation": "

If TimePointGranularity is set to SPECIFIC, define the last\n time point for the Explainability.

\n

Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example:\n 2015-01-01T20:00:00)

" } }, "Tags": { @@ -960,7 +1042,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was\n used to train the predictor. This is known as inference. To retrieve the forecast for a single\n item at low latency, use the operation. To\n export the complete forecast into your Amazon Simple Storage Service (Amazon S3) bucket, use the CreateForecastExportJob operation.

\n

The range of the forecast is determined by the ForecastHorizon value, which\n you specify in the CreatePredictor request. When you query a forecast, you\n can request a specific date range within the forecast.

\n

To get a list of all your forecasts, use the ListForecasts\n operation.

\n \n

The forecasts generated by Amazon Forecast are in the same time zone as the dataset that was\n used to create the predictor.

\n
\n

For more information, see howitworks-forecast.

\n \n

The Status of the forecast must be ACTIVE before you can query\n or export the forecast. Use the DescribeForecast operation to get the\n status.

\n
" + "smithy.api#documentation": "

Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was\n used to train the predictor. This is known as inference. To retrieve the forecast for a single\n item at low latency, use the operation. To\n export the complete forecast into your Amazon Simple Storage Service (Amazon S3) bucket, use the CreateForecastExportJob operation.

\n

The range of the forecast is determined by the ForecastHorizon value, which\n you specify in the CreatePredictor request. When you query a forecast, you\n can request a specific date range within the forecast.

\n

To get a list of all your forecasts, use the ListForecasts\n operation.

\n \n

The forecasts generated by Amazon Forecast are in the same time zone as the dataset that was\n used to create the predictor.

\n
\n

For more information, see howitworks-forecast.

\n \n

The Status of the forecast must be ACTIVE before you can query\n or export the forecast. Use the DescribeForecast operation to get the\n status.

\n
\n

By default, a forecast includes predictions for every item (item_id) in the dataset group that was used to train the predictor.\n However, you can use the TimeSeriesSelector object to generate a forecast on a subset of time series. Forecast creation is skipped for any time series that you specify that are not in the input dataset. The forecast export file will not contain these time series or their forecasted values.

" } }, "com.amazonaws.forecast#CreateForecastExportJob": { @@ -1021,6 +1103,12 @@ "traits": { "smithy.api#documentation": "

The optional metadata that you apply to the forecast export job to help you categorize and\n organize them. Each tag consists of a key and an optional value, both of which you\n define.

\n

The following basic restrictions apply to tags:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the exported data, CSV or PARQUET. The default value is CSV.

" + } } } }, @@ -1055,7 +1143,7 @@ "ForecastTypes": { "target": "com.amazonaws.forecast#ForecastTypes", "traits": { - "smithy.api#documentation": "

The quantiles at which probabilistic forecasts are generated. You\n can currently specify up to 5 quantiles per forecast. Accepted values include\n 0.01 to 0.99 (increments of .01 only) and mean. The mean forecast\n is different from the median (0.50) when the distribution is not symmetric (for example, Beta\n and Negative Binomial). The default value is [\"0.1\", \"0.5\", \"0.9\"].

" + "smithy.api#documentation": "

The quantiles at which probabilistic forecasts are generated. You\n can currently specify up to 5 quantiles per forecast. Accepted values include\n 0.01 to 0.99 (increments of .01 only) and mean. The mean forecast\n is different from the median (0.50) when the distribution is not symmetric (for example, Beta\n and Negative Binomial).\n

\n

The default quantiles are the quantiles you specified during predictor creation.\n If you didn't specify quantiles, the default values are [\"0.1\", \"0.5\", \"0.9\"].\n

" } }, "Tags": { @@ -1063,6 +1151,12 @@ "traits": { "smithy.api#documentation": "

The optional metadata that you apply to the forecast to help you categorize and organize\n them. Each tag consists of a key and an optional value, both of which you define.

\n

The following basic restrictions apply to tags:

\n " } + }, + "TimeSeriesSelector": { + "target": "com.amazonaws.forecast#TimeSeriesSelector", + "traits": { + "smithy.api#documentation": "

Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers object.

\n

The TimeSeriesIdentifiers object needs the following information:

\n " + } } } }, @@ -1077,6 +1171,71 @@ } } }, + "com.amazonaws.forecast#CreateMonitor": { + "type": "operation", + "input": { + "target": "com.amazonaws.forecast#CreateMonitorRequest" + }, + "output": { + "target": "com.amazonaws.forecast#CreateMonitorResponse" + }, + "errors": [ + { + "target": "com.amazonaws.forecast#InvalidInputException" + }, + { + "target": "com.amazonaws.forecast#LimitExceededException" + }, + { + "target": "com.amazonaws.forecast#ResourceAlreadyExistsException" + }, + { + "target": "com.amazonaws.forecast#ResourceInUseException" + }, + { + "target": "com.amazonaws.forecast#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a predictor monitor resource for an existing auto predictor. Predictor monitoring allows you to see how your predictor's performance changes over time.\n For more information, see Predictor Monitoring.\n

" + } + }, + "com.amazonaws.forecast#CreateMonitorRequest": { + "type": "structure", + "members": { + "MonitorName": { + "target": "com.amazonaws.forecast#Name", + "traits": { + "smithy.api#documentation": "

The name of the monitor resource.

", + "smithy.api#required": {} + } + }, + "ResourceArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor to monitor.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.forecast#Tags", + "traits": { + "smithy.api#documentation": "

A list of tags to apply to the monitor resource.

" + } + } + } + }, + "com.amazonaws.forecast#CreateMonitorResponse": { + "type": "structure", + "members": { + "MonitorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource.

" + } + } + } + }, "com.amazonaws.forecast#CreatePredictor": { "type": "operation", "input": { @@ -1132,7 +1291,7 @@ } ], "traits": { - "smithy.api#documentation": "

Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations. Two\n folders containing CSV files are exported to your specified S3 bucket.

\n

The export file names will match the following conventions:

\n

\n __.csv\n

\n

The component is in Java SimpleDate format\n (yyyy-MM-ddTHH-mm-ssZ).

\n

You must specify a DataDestination object that includes an Amazon S3\n bucket and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3\n bucket. For more information, see aws-forecast-iam-roles.

\n \n

The Status of the export job must be ACTIVE before you\n can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.

\n
" + "smithy.api#documentation": "

Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations. Two\n folders containing CSV or Parquet files are exported to your specified S3 bucket.

\n

The export file names will match the following conventions:

\n

\n __.csv\n

\n

The component is in Java SimpleDate format\n (yyyy-MM-ddTHH-mm-ssZ).

\n

You must specify a DataDestination object that includes an Amazon S3\n bucket and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3\n bucket. For more information, see aws-forecast-iam-roles.

\n \n

The Status of the export job must be ACTIVE before you\n can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.

\n
" } }, "com.amazonaws.forecast#CreatePredictorBacktestExportJobRequest": { @@ -1163,6 +1322,12 @@ "traits": { "smithy.api#documentation": "

Optional metadata to help you categorize and organize your backtests. Each tag\n consists of a key and an optional value, both of which you define. Tag keys and values\n are case sensitive.

\n

The following restrictions apply to tags:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the exported data, CSV or PARQUET. The default value is CSV.

" + } } } }, @@ -1368,12 +1533,12 @@ "LastModificationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated,\n LastModificationTime is the current time of the ListDatasetGroups\n call.

" + "smithy.api#documentation": "

When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated,\n LastModificationTime is the current time of the ListDatasetGroups\n call.

" } } }, "traits": { - "smithy.api#documentation": "

Provides a summary of the dataset group properties used in the ListDatasetGroups operation. To get the complete set of properties, call the\n DescribeDatasetGroup operation, and provide the\n DatasetGroupArn.

" + "smithy.api#documentation": "

Provides a summary of the dataset group properties used in the ListDatasetGroups operation. To\n get the complete set of properties, call the DescribeDatasetGroup\n operation, and provide the DatasetGroupArn.

" } }, "com.amazonaws.forecast#DatasetGroups": { @@ -1429,7 +1594,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides a summary of the dataset import job properties used in the ListDatasetImportJobs operation. To get the complete set of properties, call the\n DescribeDatasetImportJob operation, and provide the\n DatasetImportJobArn.

" + "smithy.api#documentation": "

Provides a summary of the dataset import job properties used in the ListDatasetImportJobs operation. To get the complete set of properties, call the\n DescribeDatasetImportJob operation, and provide the\n DatasetImportJobArn.

" } }, "com.amazonaws.forecast#DatasetImportJobs": { @@ -1474,12 +1639,12 @@ "LastModificationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the ListDatasets call.\n After a CreateDatasetImportJob operation has finished,\n LastModificationTime is when the import job completed or failed.

" + "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the ListDatasets call.\n After a CreateDatasetImportJob operation has finished, LastModificationTime is\n when the import job completed or failed.

" } } }, "traits": { - "smithy.api#documentation": "

Provides a summary of the dataset properties used in the ListDatasets\n operation. To get the complete set of properties, call the DescribeDataset\n operation, and provide the DatasetArn.

" + "smithy.api#documentation": "

Provides a summary of the dataset properties used in the ListDatasets operation. To get the\n complete set of properties, call the DescribeDataset operation, and\n provide the DatasetArn.

" } }, "com.amazonaws.forecast#DatasetType": { @@ -1507,11 +1672,59 @@ "target": "com.amazonaws.forecast#DatasetSummary" } }, + "com.amazonaws.forecast#DayOfMonth": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 28 + } + } + }, + "com.amazonaws.forecast#DayOfWeek": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MONDAY", + "name": "MONDAY" + }, + { + "value": "TUESDAY", + "name": "TUESDAY" + }, + { + "value": "WEDNESDAY", + "name": "WEDNESDAY" + }, + { + "value": "THURSDAY", + "name": "THURSDAY" + }, + { + "value": "FRIDAY", + "name": "FRIDAY" + }, + { + "value": "SATURDAY", + "name": "SATURDAY" + }, + { + "value": "SUNDAY", + "name": "SUNDAY" + } + ] + } + }, "com.amazonaws.forecast#DeleteDataset": { "type": "operation", "input": { "target": "com.amazonaws.forecast#DeleteDatasetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1524,7 +1737,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an Amazon Forecast dataset that was created using the CreateDataset\n operation. You can only delete datasets that have a status of ACTIVE or\n CREATE_FAILED. To get the status use the DescribeDataset\n operation.

\n \n

Forecast does not automatically update any dataset groups that contain the deleted dataset.\n In order to update the dataset group, use the \n operation, omitting the deleted dataset's ARN.

\n
", + "smithy.api#documentation": "

Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can\n only delete datasets that have a status of ACTIVE or CREATE_FAILED.\n To get the status use the DescribeDataset operation.

\n \n

Forecast does not automatically update any dataset groups that contain the deleted dataset.\n In order to update the dataset group, use the UpdateDatasetGroup operation,\n omitting the deleted dataset's ARN.

\n
", "smithy.api#idempotent": {} } }, @@ -1533,6 +1746,9 @@ "input": { "target": "com.amazonaws.forecast#DeleteDatasetGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1545,7 +1761,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a dataset group created using the CreateDatasetGroup operation.\n You can only delete dataset groups that have a status of ACTIVE,\n CREATE_FAILED, or UPDATE_FAILED. To get the status, use the DescribeDatasetGroup operation.

\n

This operation deletes only the dataset group, not the datasets in the group.

", + "smithy.api#documentation": "

Deletes a dataset group created using the CreateDatasetGroup operation.\n You can only delete dataset groups that have a status of ACTIVE,\n CREATE_FAILED, or UPDATE_FAILED. To get the status, use the DescribeDatasetGroup operation.

\n

This operation deletes only the dataset group, not the datasets in the group.

", "smithy.api#idempotent": {} } }, @@ -1566,6 +1782,9 @@ "input": { "target": "com.amazonaws.forecast#DeleteDatasetImportJobRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1578,7 +1797,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a dataset import job created using the CreateDatasetImportJob\n operation. You can delete only dataset import jobs that have a status of ACTIVE\n or CREATE_FAILED. To get the status, use the DescribeDatasetImportJob operation.

", + "smithy.api#documentation": "

Deletes a dataset import job created using the CreateDatasetImportJob\n operation. You can delete only dataset import jobs that have a status of ACTIVE\n or CREATE_FAILED. To get the status, use the DescribeDatasetImportJob\n operation.

", "smithy.api#idempotent": {} } }, @@ -1611,6 +1830,9 @@ "input": { "target": "com.amazonaws.forecast#DeleteExplainabilityRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1632,6 +1854,9 @@ "input": { "target": "com.amazonaws.forecast#DeleteExplainabilityExportRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1677,6 +1902,9 @@ "input": { "target": "com.amazonaws.forecast#DeleteForecastRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1698,6 +1926,9 @@ "input": { "target": "com.amazonaws.forecast#DeleteForecastExportJobRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1738,11 +1969,50 @@ } } }, + "com.amazonaws.forecast#DeleteMonitor": { + "type": "operation", + "input": { + "target": "com.amazonaws.forecast#DeleteMonitorRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.forecast#InvalidInputException" + }, + { + "target": "com.amazonaws.forecast#ResourceInUseException" + }, + { + "target": "com.amazonaws.forecast#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a monitor resource. You can only delete a monitor resource with a status of ACTIVE, ACTIVE_STOPPED, CREATE_FAILED, or CREATE_STOPPED.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.forecast#DeleteMonitorRequest": { + "type": "structure", + "members": { + "MonitorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource to delete.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.forecast#DeletePredictor": { "type": "operation", "input": { "target": "com.amazonaws.forecast#DeletePredictorRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1764,6 +2034,9 @@ "input": { "target": "com.amazonaws.forecast#DeletePredictorBacktestExportJobRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1809,6 +2082,9 @@ "input": { "target": "com.amazonaws.forecast#DeleteResourceTreeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -1906,7 +2182,7 @@ "ForecastDimensions": { "target": "com.amazonaws.forecast#ForecastDimensions", "traits": { - "smithy.api#documentation": "

An array of dimension (field) names that specify the attributes used to group your time series.

" + "smithy.api#documentation": "

An array of dimension (field) names that specify the attributes used to group your\n time series.

" } }, "DatasetImportJobArns": { @@ -1939,7 +2215,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the predictor. States include:

\n " + "smithy.api#documentation": "

The status of the predictor. States include:

\n " } }, "Message": { @@ -1971,6 +2247,18 @@ "traits": { "smithy.api#documentation": "

Provides the status and ARN of the Predictor Explainability.

" } + }, + "MonitorInfo": { + "target": "com.amazonaws.forecast#MonitorInfo", + "traits": { + "smithy.api#documentation": "

A object with the Amazon Resource Name (ARN) and status of the monitor resource.

" + } + }, + "TimeAlignmentBoundary": { + "target": "com.amazonaws.forecast#TimeAlignmentBoundary", + "traits": { + "smithy.api#documentation": "

The time boundary Forecast uses when aggregating data.

" + } } } }, @@ -1991,7 +2279,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes an Amazon Forecast dataset created using the CreateDataset\n operation.

\n

In addition to listing the parameters specified in the CreateDataset request,\n this operation includes the following dataset properties:

\n ", + "smithy.api#documentation": "

Describes an Amazon Forecast dataset created using the CreateDataset operation.

\n

In addition to listing the parameters specified in the CreateDataset request,\n this operation includes the following dataset properties:

\n ", "smithy.api#idempotent": {} } }, @@ -2012,7 +2300,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a dataset group created using the CreateDatasetGroup\n operation.

\n

In addition to listing the parameters provided in the CreateDatasetGroup\n request, this operation includes the following properties:

\n ", + "smithy.api#documentation": "

Describes a dataset group created using the CreateDatasetGroup\n operation.

\n

In addition to listing the parameters provided in the CreateDatasetGroup\n request, this operation includes the following properties:

\n ", "smithy.api#idempotent": {} } }, @@ -2058,7 +2346,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the dataset group. States include:

\n \n

The UPDATE states apply when you call the UpdateDatasetGroup operation.

\n \n

The Status of the dataset group must be ACTIVE before you can\n use the dataset group to create a predictor.

\n
" + "smithy.api#documentation": "

The status of the dataset group. States include:

\n \n

The UPDATE states apply when you call the UpdateDatasetGroup\n operation.

\n \n

The Status of the dataset group must be ACTIVE before you can\n use the dataset group to create a predictor.

\n
" } }, "CreationTime": { @@ -2070,7 +2358,7 @@ "LastModificationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated,\n LastModificationTime is the current time of the\n DescribeDatasetGroup call.

" + "smithy.api#documentation": "

When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated,\n LastModificationTime is the current time of the\n DescribeDatasetGroup call.

" } } } @@ -2092,7 +2380,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a dataset import job created using the CreateDatasetImportJob\n operation.

\n

In addition to listing the parameters provided in the CreateDatasetImportJob\n request, this operation includes the following properties:

\n ", + "smithy.api#documentation": "

Describes a dataset import job created using the CreateDatasetImportJob\n operation.

\n

In addition to listing the parameters provided in the CreateDatasetImportJob\n request, this operation includes the following properties:

\n ", "smithy.api#idempotent": {} } }, @@ -2200,6 +2488,12 @@ "traits": { "smithy.api#documentation": "

The last time the resource was modified. The timestamp depends on the status of the\n job:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the imported data, CSV or PARQUET.

" + } } } }, @@ -2263,7 +2557,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the dataset. States include:

\n \n

The UPDATE states apply while data is imported to the dataset from a call to\n the CreateDatasetImportJob operation and reflect the status of the dataset\n import job. For example, when the import job status is CREATE_IN_PROGRESS, the\n status of the dataset is UPDATE_IN_PROGRESS.

\n \n

The Status of the dataset must be ACTIVE before you can import\n training data.

\n
" + "smithy.api#documentation": "

The status of the dataset. States include:

\n \n

The UPDATE states apply while data is imported to the dataset from a call to\n the CreateDatasetImportJob operation and reflect the status of the dataset import job.\n For example, when the import job status is CREATE_IN_PROGRESS, the status of the\n dataset is UPDATE_IN_PROGRESS.

\n \n

The Status of the dataset must be ACTIVE before you can import\n training data.

\n
" } }, "CreationTime": { @@ -2275,7 +2569,7 @@ "LastModificationTime": { "target": "com.amazonaws.forecast#Timestamp", "traits": { - "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the DescribeDataset\n call. After a CreateDatasetImportJob operation has finished,\n LastModificationTime is when the import job completed or failed.

" + "smithy.api#documentation": "

When you create a dataset, LastModificationTime is the same as\n CreationTime. While data is being imported to the dataset,\n LastModificationTime is the current time of the DescribeDataset\n call. After a CreateDatasetImportJob\n operation has finished, LastModificationTime is when the import job completed or\n failed.

" } } } @@ -2352,7 +2646,7 @@ "ExplainabilityArn": { "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Explainability.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Explainability export.

" } }, "Destination": { @@ -2367,7 +2661,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the Explainability export. States include:

\n " + "smithy.api#documentation": "

The status of the Explainability export. States include:

\n " } }, "CreationTime": { @@ -2381,6 +2675,12 @@ "traits": { "smithy.api#documentation": "

The last time the resource was modified. The timestamp depends on the status of the\n job:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the exported data, CSV or PARQUET.

" + } } } }, @@ -2462,7 +2762,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the Explainability resource. States include:

\n " + "smithy.api#documentation": "

The status of the Explainability resource. States include:

\n " } }, "CreationTime": { @@ -2583,6 +2883,12 @@ "traits": { "smithy.api#documentation": "

The last time the resource was modified. The timestamp depends on the status of the job:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the exported data, CSV or PARQUET.

" + } } } }, @@ -2660,37 +2966,22 @@ "traits": { "smithy.api#documentation": "

The last time the resource was modified. The timestamp depends on the status of the job:

\n " } - } - } - }, - "com.amazonaws.forecast#DescribePredictor": { - "type": "operation", - "input": { - "target": "com.amazonaws.forecast#DescribePredictorRequest" - }, - "output": { - "target": "com.amazonaws.forecast#DescribePredictorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.forecast#InvalidInputException" }, - { - "target": "com.amazonaws.forecast#ResourceNotFoundException" + "TimeSeriesSelector": { + "target": "com.amazonaws.forecast#TimeSeriesSelector", + "traits": { + "smithy.api#documentation": "

The time series to include in the forecast.

" + } } - ], - "traits": { - "smithy.api#documentation": "\n

This operation is only valid for legacy predictors created with CreatePredictor. If you\n are not using a legacy predictor, use DescribeAutoPredictor.

\n
\n

Describes a predictor created using the CreatePredictor\n operation.

\n

In addition to listing the properties provided in the CreatePredictor\n request, this operation lists the following properties:

\n ", - "smithy.api#idempotent": {} } }, - "com.amazonaws.forecast#DescribePredictorBacktestExportJob": { + "com.amazonaws.forecast#DescribeMonitor": { "type": "operation", "input": { - "target": "com.amazonaws.forecast#DescribePredictorBacktestExportJobRequest" + "target": "com.amazonaws.forecast#DescribeMonitorRequest" }, "output": { - "target": "com.amazonaws.forecast#DescribePredictorBacktestExportJobResponse" + "target": "com.amazonaws.forecast#DescribeMonitorResponse" }, "errors": [ { @@ -2701,48 +2992,173 @@ } ], "traits": { - "smithy.api#documentation": "

Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.

\n

In addition to listing the properties provided by the user in the\n CreatePredictorBacktestExportJob request, this operation lists the\n following properties:

\n ", + "smithy.api#documentation": "

Describes a monitor resource. In addition to listing the properties provided in the CreateMonitor request, this operation lists the following properties:

\n ", "smithy.api#idempotent": {} } }, - "com.amazonaws.forecast#DescribePredictorBacktestExportJobRequest": { + "com.amazonaws.forecast#DescribeMonitorRequest": { "type": "structure", "members": { - "PredictorBacktestExportJobArn": { + "MonitorArn": { "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor backtest export job.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource to describe.

", "smithy.api#required": {} } } } }, - "com.amazonaws.forecast#DescribePredictorBacktestExportJobResponse": { + "com.amazonaws.forecast#DescribeMonitorResponse": { "type": "structure", "members": { - "PredictorBacktestExportJobArn": { - "target": "com.amazonaws.forecast#Arn", + "MonitorName": { + "target": "com.amazonaws.forecast#Name", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor backtest export job.

" + "smithy.api#documentation": "

The name of the monitor.

" } }, - "PredictorBacktestExportJobName": { - "target": "com.amazonaws.forecast#Name", + "MonitorArn": { + "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The name of the predictor backtest export job.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource described.

" } }, - "PredictorArn": { + "ResourceArn": { "target": "com.amazonaws.forecast#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the auto predictor being monitored.

" } }, - "Destination": { - "target": "com.amazonaws.forecast#DataDestination" - }, - "Message": { - "target": "com.amazonaws.forecast#Message", + "Status": { + "target": "com.amazonaws.forecast#Status", + "traits": { + "smithy.api#documentation": "

The status of the monitor resource.

" + } + }, + "LastEvaluationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of the latest evaluation completed by the monitor.

" + } + }, + "LastEvaluationState": { + "target": "com.amazonaws.forecast#EvaluationState", + "traits": { + "smithy.api#documentation": "

The state of the monitor's latest evaluation.

" + } + }, + "Baseline": { + "target": "com.amazonaws.forecast#Baseline", + "traits": { + "smithy.api#documentation": "

Metrics you can use as a baseline for comparison purposes. Use these values you interpret monitoring results for an auto predictor.

" + } + }, + "Message": { + "target": "com.amazonaws.forecast#Message", + "traits": { + "smithy.api#documentation": "

An error message, if any, for the monitor.

" + } + }, + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp for when the monitor resource was created.

" + } + }, + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of the latest modification to the monitor.

" + } + }, + "EstimatedEvaluationTimeRemainingInMinutes": { + "target": "com.amazonaws.forecast#Long", + "traits": { + "smithy.api#documentation": "

The estimated number of minutes remaining before the monitor resource finishes its current evaluation.

" + } + } + } + }, + "com.amazonaws.forecast#DescribePredictor": { + "type": "operation", + "input": { + "target": "com.amazonaws.forecast#DescribePredictorRequest" + }, + "output": { + "target": "com.amazonaws.forecast#DescribePredictorResponse" + }, + "errors": [ + { + "target": "com.amazonaws.forecast#InvalidInputException" + }, + { + "target": "com.amazonaws.forecast#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "\n

This operation is only valid for legacy predictors created with CreatePredictor. If you\n are not using a legacy predictor, use DescribeAutoPredictor.

\n
\n

Describes a predictor created using the CreatePredictor\n operation.

\n

In addition to listing the properties provided in the CreatePredictor\n request, this operation lists the following properties:

\n ", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.forecast#DescribePredictorBacktestExportJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.forecast#DescribePredictorBacktestExportJobRequest" + }, + "output": { + "target": "com.amazonaws.forecast#DescribePredictorBacktestExportJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.forecast#InvalidInputException" + }, + { + "target": "com.amazonaws.forecast#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.

\n

In addition to listing the properties provided by the user in the\n CreatePredictorBacktestExportJob request, this operation lists the\n following properties:

\n ", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.forecast#DescribePredictorBacktestExportJobRequest": { + "type": "structure", + "members": { + "PredictorBacktestExportJobArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor backtest export job.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.forecast#DescribePredictorBacktestExportJobResponse": { + "type": "structure", + "members": { + "PredictorBacktestExportJobArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor backtest export job.

" + } + }, + "PredictorBacktestExportJobName": { + "target": "com.amazonaws.forecast#Name", + "traits": { + "smithy.api#documentation": "

The name of the predictor backtest export job.

" + } + }, + "PredictorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor.

" + } + }, + "Destination": { + "target": "com.amazonaws.forecast#DataDestination" + }, + "Message": { + "target": "com.amazonaws.forecast#Message", "traits": { "smithy.api#documentation": "

Information about any errors that may have occurred during the backtest export.

" } @@ -2764,6 +3180,12 @@ "traits": { "smithy.api#documentation": "

The last time the resource was modified. The timestamp depends on the status of the\n job:

\n " } + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the exported data, CSV or PARQUET.

" + } } } }, @@ -2928,6 +3350,15 @@ } } }, + "com.amazonaws.forecast#Detail": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, "com.amazonaws.forecast#Domain": { "type": "string", "traits": { @@ -3078,6 +3509,15 @@ "smithy.api#documentation": "

The results of evaluating an algorithm. Returned as part of the GetAccuracyMetrics response.

" } }, + "com.amazonaws.forecast#EvaluationState": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, "com.amazonaws.forecast#EvaluationType": { "type": "string", "traits": { @@ -3105,7 +3545,7 @@ "TimeSeriesGranularity": { "target": "com.amazonaws.forecast#TimeSeriesGranularity", "traits": { - "smithy.api#documentation": "

To create an Explainability for all time series in your datasets, use\n ALL. To create an Explainability for specific time series in your datasets,\n use SPECIFIC.

\n

Specify time series by uploading a CSV file to an Amazon S3 bucket and set the location\n within the DataDestination data type.

", + "smithy.api#documentation": "

To create an Explainability for all time series in your datasets, use\n ALL. To create an Explainability for specific time series in your datasets,\n use SPECIFIC.

\n

Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and set the location\n within the DataDestination data type.

", "smithy.api#required": {} } }, @@ -3118,7 +3558,7 @@ } }, "traits": { - "smithy.api#documentation": "

The ExplainabilityConfig data type defines the number of time series and time points\n included in CreateExplainability.

\n

If you provide a predictor ARN for ResourceArn, you must set both\n TimePointGranularity and TimeSeriesGranularity to “ALL”.\n When creating Predictor Explainability, Amazon Forecast considers all time series and\n time points.

\n

If you provide a forecast ARN for ResourceArn, you can set TimePointGranularity and\n TimeSeriesGranularity to either “ALL” or “Specific”.

" + "smithy.api#documentation": "

The ExplainabilityConfig data type defines the number of time series and time points\n included in CreateExplainability.

\n

If you provide a predictor ARN for ResourceArn, you must set both\n TimePointGranularity and TimeSeriesGranularity to “ALL”.\n When creating Predictor Explainability, Amazon Forecast considers all time series and\n time points.

\n

If you provide a forecast ARN for ResourceArn, you can set\n TimePointGranularity and TimeSeriesGranularity to either\n “ALL” or “Specific”.

" } }, "com.amazonaws.forecast#ExplainabilityExportSummary": { @@ -3142,7 +3582,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the Explainability export. States include:

\n " + "smithy.api#documentation": "

The status of the Explainability export. States include:

\n " } }, "Message": { @@ -3186,7 +3626,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the Explainability. States include:

\n " + "smithy.api#documentation": "

The status of the Explainability. States include:

\n " } } }, @@ -3224,7 +3664,7 @@ "Status": { "target": "com.amazonaws.forecast#Status", "traits": { - "smithy.api#documentation": "

The status of the Explainability. States include:

\n " + "smithy.api#documentation": "

The status of the Explainability. States include:

\n " } }, "Message": { @@ -3586,6 +4026,16 @@ "target": "com.amazonaws.forecast#ForecastSummary" } }, + "com.amazonaws.forecast#Format": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 7 + }, + "smithy.api#pattern": "^CSV|PARQUET$" + } + }, "com.amazonaws.forecast#Frequency": { "type": "string", "traits": { @@ -3671,6 +4121,16 @@ } } }, + "com.amazonaws.forecast#Hour": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0, + "max": 23 + } + } + }, "com.amazonaws.forecast#HyperParameterTuningJobConfig": { "type": "structure", "members": { @@ -3822,7 +4282,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of dataset groups created using the CreateDatasetGroup\n operation. For each dataset group, this operation returns a summary of its properties,\n including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by\n using the dataset group ARN with the DescribeDatasetGroup operation.

", + "smithy.api#documentation": "

Returns a list of dataset groups created using the CreateDatasetGroup operation.\n For each dataset group, this operation returns a summary of its properties, including its\n Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the\n dataset group ARN with the DescribeDatasetGroup\n operation.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -3883,7 +4343,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of dataset import jobs created using the CreateDatasetImportJob operation. For each import job, this operation returns a\n summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the\n complete set of properties by using the ARN with the DescribeDatasetImportJob operation. You can filter the list by providing an array of Filter\n objects.

", + "smithy.api#documentation": "

Returns a list of dataset import jobs created using the CreateDatasetImportJob\n operation. For each import job, this operation returns a summary of its properties, including\n its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the\n ARN with the DescribeDatasetImportJob\n operation. You can filter the list by providing an array of Filter objects.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -3911,7 +4371,7 @@ "Filters": { "target": "com.amazonaws.forecast#Filters", "traits": { - "smithy.api#documentation": "

An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to include\n or exclude the datasets that match the statement from the list, respectively. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all dataset import jobs whose status is ACTIVE, you specify the\n following filter:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" }\n ]\n

" + "smithy.api#documentation": "

An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to include\n or exclude the datasets that match the statement from the list, respectively. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all dataset import jobs whose status is ACTIVE, you specify the\n following filter:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" } ]\n

" } } } @@ -3947,7 +4407,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of datasets created using the CreateDataset operation.\n For each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is\n returned. To retrieve the complete set of properties, use the ARN with the DescribeDataset operation.

", + "smithy.api#documentation": "

Returns a list of datasets created using the CreateDataset operation. For each\n dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned.\n To retrieve the complete set of properties, use the ARN with the DescribeDataset operation.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -4009,7 +4469,13 @@ ], "traits": { "smithy.api#documentation": "

Returns a list of Explainability resources created using the CreateExplainability operation. This operation returns a summary for\n each Explainability. You can filter the list using an array of Filter\n objects.

\n

To retrieve the complete set of properties for a particular Explainability resource,\n use the ARN with the DescribeExplainability operation.

", - "smithy.api#idempotent": {} + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Explainabilities", + "pageSize": "MaxResults" + } } }, "com.amazonaws.forecast#ListExplainabilitiesRequest": { @@ -4070,7 +4536,13 @@ ], "traits": { "smithy.api#documentation": "

Returns a list of Explainability exports created using the CreateExplainabilityExport operation. This operation returns a summary\n for each Explainability export. You can filter the list using an array of Filter objects.

\n

To retrieve the complete set of properties for a particular Explainability export, use\n the ARN with the DescribeExplainability operation.

", - "smithy.api#idempotent": {} + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "ExplainabilityExports", + "pageSize": "MaxResults" + } } }, "com.amazonaws.forecast#ListExplainabilityExportsRequest": { @@ -4247,13 +4719,13 @@ } } }, - "com.amazonaws.forecast#ListPredictorBacktestExportJobs": { + "com.amazonaws.forecast#ListMonitorEvaluations": { "type": "operation", "input": { - "target": "com.amazonaws.forecast#ListPredictorBacktestExportJobsRequest" + "target": "com.amazonaws.forecast#ListMonitorEvaluationsRequest" }, "output": { - "target": "com.amazonaws.forecast#ListPredictorBacktestExportJobsResponse" + "target": "com.amazonaws.forecast#ListMonitorEvaluationsResponse" }, "errors": [ { @@ -4261,66 +4733,76 @@ }, { "target": "com.amazonaws.forecast#InvalidNextTokenException" + }, + { + "target": "com.amazonaws.forecast#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "

Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation. This operation returns a\n summary for each backtest export job. You can filter the list using an array of Filter objects.

\n

To retrieve the complete set of properties for a particular backtest export job, use\n the ARN with the DescribePredictorBacktestExportJob operation.

", + "smithy.api#documentation": "

Returns a list of the monitoring evaluation results and predictor events collected by\n the monitor resource during different windows of time.

\n

For information about monitoring see predictor-monitoring. For\n more information about retrieving monitoring results see Viewing Monitoring Results.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", - "items": "PredictorBacktestExportJobs", + "items": "PredictorMonitorEvaluations", "pageSize": "MaxResults" } } }, - "com.amazonaws.forecast#ListPredictorBacktestExportJobsRequest": { + "com.amazonaws.forecast#ListMonitorEvaluationsRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.forecast#NextToken", "traits": { - "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next request.\n Tokens expire after 24 hours.

" + "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" } }, "MaxResults": { "target": "com.amazonaws.forecast#MaxResults", "traits": { - "smithy.api#documentation": "

The number of items to return in the response.

" + "smithy.api#documentation": "

The maximum number of monitoring results to return.

" + } + }, + "MonitorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource to get results from.

", + "smithy.api#required": {} } }, "Filters": { "target": "com.amazonaws.forecast#Filters", "traits": { - "smithy.api#documentation": "

An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to\n include or exclude the predictor backtest export jobs that match the statement from the\n list. The match statement consists of a key and a value.

\n

\n Filter properties\n

\n " + "smithy.api#documentation": "

An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to\n include or exclude the resources that match the statement from the list. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list only successful monitor evaluations, you would specify:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"EvaluationState\", \"Value\": \"SUCCESS\" } ]\n

" } } } }, - "com.amazonaws.forecast#ListPredictorBacktestExportJobsResponse": { + "com.amazonaws.forecast#ListMonitorEvaluationsResponse": { "type": "structure", "members": { - "PredictorBacktestExportJobs": { - "target": "com.amazonaws.forecast#PredictorBacktestExportJobs", + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", "traits": { - "smithy.api#documentation": "

An array of objects that summarize the properties of each predictor backtest export\n job.

" + "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request. Tokens expire after 24 hours.

" } }, - "NextToken": { - "target": "com.amazonaws.forecast#NextToken", + "PredictorMonitorEvaluations": { + "target": "com.amazonaws.forecast#PredictorMonitorEvaluations", "traits": { - "smithy.api#documentation": "

Returns this token if the response is truncated. To retrieve the next set of results,\n use the token in the next request.

" + "smithy.api#documentation": "

The monitoring results and predictor events collected by the monitor resource during different windows of time.

\n

For information about monitoring see Viewing Monitoring Results. For more information about retrieving monitoring results see Viewing Monitoring Results.

" } } } }, - "com.amazonaws.forecast#ListPredictors": { + "com.amazonaws.forecast#ListMonitors": { "type": "operation", "input": { - "target": "com.amazonaws.forecast#ListPredictorsRequest" + "target": "com.amazonaws.forecast#ListMonitorsRequest" }, "output": { - "target": "com.amazonaws.forecast#ListPredictorsResponse" + "target": "com.amazonaws.forecast#ListMonitorsResponse" }, "errors": [ { @@ -4331,95 +4813,229 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of predictors created using the CreateAutoPredictor or\n CreatePredictor operations. For each predictor, this operation returns a\n summary of its properties, including its Amazon Resource Name (ARN).

\n

You can retrieve the complete set of properties by using the ARN with the DescribeAutoPredictor and DescribePredictor operations. You\n can filter the list using an array of Filter objects.

", + "smithy.api#documentation": "

Returns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation. For each monitor resource, this operation returns of a summary of its properties, including its Amazon Resource Name (ARN). You\n can retrieve a complete set of properties of a monitor resource by specify the monitor's ARN in the DescribeMonitor operation.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", - "items": "Predictors", + "items": "Monitors", "pageSize": "MaxResults" } } }, - "com.amazonaws.forecast#ListPredictorsRequest": { + "com.amazonaws.forecast#ListMonitorsRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.forecast#NextToken", "traits": { - "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" + "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" } }, "MaxResults": { "target": "com.amazonaws.forecast#MaxResults", "traits": { - "smithy.api#documentation": "

The number of items to return in the response.

" + "smithy.api#documentation": "

The maximum number of monitors to include in the response.

" } }, "Filters": { "target": "com.amazonaws.forecast#Filters", "traits": { - "smithy.api#documentation": "

An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to include\n or exclude the predictors that match the statement from the list, respectively. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all predictors whose status is ACTIVE, you would specify:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" }\n ]\n

" + "smithy.api#documentation": "

An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to\n include or exclude the resources that match the statement from the list. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all monitors who's status is ACTIVE, you would specify:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" } ]\n

" } } } }, - "com.amazonaws.forecast#ListPredictorsResponse": { + "com.amazonaws.forecast#ListMonitorsResponse": { "type": "structure", "members": { - "Predictors": { - "target": "com.amazonaws.forecast#Predictors", + "Monitors": { + "target": "com.amazonaws.forecast#Monitors", "traits": { - "smithy.api#documentation": "

An array of objects that summarize each predictor's properties.

" + "smithy.api#documentation": "

An array of objects that summarize each monitor's properties.

" } }, "NextToken": { "target": "com.amazonaws.forecast#NextToken", "traits": { - "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.

" + "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.

" } } } }, - "com.amazonaws.forecast#ListTagsForResource": { + "com.amazonaws.forecast#ListPredictorBacktestExportJobs": { "type": "operation", "input": { - "target": "com.amazonaws.forecast#ListTagsForResourceRequest" + "target": "com.amazonaws.forecast#ListPredictorBacktestExportJobsRequest" }, "output": { - "target": "com.amazonaws.forecast#ListTagsForResourceResponse" + "target": "com.amazonaws.forecast#ListPredictorBacktestExportJobsResponse" }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" }, { - "target": "com.amazonaws.forecast#ResourceNotFoundException" + "target": "com.amazonaws.forecast#InvalidNextTokenException" } ], "traits": { - "smithy.api#documentation": "

Lists the tags for an Amazon Forecast resource.

" + "smithy.api#documentation": "

Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation. This operation returns a\n summary for each backtest export job. You can filter the list using an array of Filter objects.

\n

To retrieve the complete set of properties for a particular backtest export job, use\n the ARN with the DescribePredictorBacktestExportJob operation.

", + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "PredictorBacktestExportJobs", + "pageSize": "MaxResults" + } } }, - "com.amazonaws.forecast#ListTagsForResourceRequest": { + "com.amazonaws.forecast#ListPredictorBacktestExportJobsRequest": { "type": "structure", "members": { - "ResourceArn": { - "target": "com.amazonaws.forecast#Arn", + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.\n

", - "smithy.api#required": {} + "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next request.\n Tokens expire after 24 hours.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.forecast#MaxResults", + "traits": { + "smithy.api#documentation": "

The number of items to return in the response.

" + } + }, + "Filters": { + "target": "com.amazonaws.forecast#Filters", + "traits": { + "smithy.api#documentation": "

An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to\n include or exclude the predictor backtest export jobs that match the statement from the\n list. The match statement consists of a key and a value.

\n

\n Filter properties\n

\n " } } } }, - "com.amazonaws.forecast#ListTagsForResourceResponse": { + "com.amazonaws.forecast#ListPredictorBacktestExportJobsResponse": { "type": "structure", "members": { - "Tags": { - "target": "com.amazonaws.forecast#Tags", + "PredictorBacktestExportJobs": { + "target": "com.amazonaws.forecast#PredictorBacktestExportJobs", "traits": { - "smithy.api#documentation": "

The tags for the resource.

" + "smithy.api#documentation": "

An array of objects that summarize the properties of each predictor backtest export\n job.

" + } + }, + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", + "traits": { + "smithy.api#documentation": "

Returns this token if the response is truncated. To retrieve the next set of results,\n use the token in the next request.

" + } + } + } + }, + "com.amazonaws.forecast#ListPredictors": { + "type": "operation", + "input": { + "target": "com.amazonaws.forecast#ListPredictorsRequest" + }, + "output": { + "target": "com.amazonaws.forecast#ListPredictorsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.forecast#InvalidInputException" + }, + { + "target": "com.amazonaws.forecast#InvalidNextTokenException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of predictors created using the CreateAutoPredictor or\n CreatePredictor operations. For each predictor, this operation returns a\n summary of its properties, including its Amazon Resource Name (ARN).

\n

You can retrieve the complete set of properties by using the ARN with the DescribeAutoPredictor and DescribePredictor operations. You\n can filter the list using an array of Filter objects.

", + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Predictors", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.forecast#ListPredictorsRequest": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", + "traits": { + "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.forecast#MaxResults", + "traits": { + "smithy.api#documentation": "

The number of items to return in the response.

" + } + }, + "Filters": { + "target": "com.amazonaws.forecast#Filters", + "traits": { + "smithy.api#documentation": "

An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS or IS_NOT, which specifies whether to include\n or exclude the predictors that match the statement from the list, respectively. The match\n statement consists of a key and a value.

\n

\n Filter properties\n

\n \n

For example, to list all predictors whose status is ACTIVE, you would specify:

\n

\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" }\n ]\n

" + } + } + } + }, + "com.amazonaws.forecast#ListPredictorsResponse": { + "type": "structure", + "members": { + "Predictors": { + "target": "com.amazonaws.forecast#Predictors", + "traits": { + "smithy.api#documentation": "

An array of objects that summarize each predictor's properties.

" + } + }, + "NextToken": { + "target": "com.amazonaws.forecast#NextToken", + "traits": { + "smithy.api#documentation": "

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.

" + } + } + } + }, + "com.amazonaws.forecast#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.forecast#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.forecast#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.forecast#InvalidInputException" + }, + { + "target": "com.amazonaws.forecast#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the tags for an Amazon Forecast resource.

" + } + }, + "com.amazonaws.forecast#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.\n

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.forecast#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.forecast#Tags", + "traits": { + "smithy.api#documentation": "

The tags for the resource.

" } } } @@ -4453,6 +5069,41 @@ "com.amazonaws.forecast#Message": { "type": "string" }, + "com.amazonaws.forecast#MetricName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, + "com.amazonaws.forecast#MetricResult": { + "type": "structure", + "members": { + "MetricName": { + "target": "com.amazonaws.forecast#MetricName", + "traits": { + "smithy.api#documentation": "

The name of the metric.

" + } + }, + "MetricValue": { + "target": "com.amazonaws.forecast#Double", + "traits": { + "smithy.api#documentation": "

The value for the metric.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An individual metric Forecast calculated when monitoring predictor usage. You can compare the value for this metric to the metric's value in the Baseline to see how your predictor's performance is changing.

\n

For more information about metrics generated by Forecast see Evaluating Predictor Accuracy\n

" + } + }, + "com.amazonaws.forecast#MetricResults": { + "type": "list", + "member": { + "target": "com.amazonaws.forecast#MetricResult" + } + }, "com.amazonaws.forecast#Metrics": { "type": "structure", "members": { @@ -4488,6 +5139,172 @@ "smithy.api#documentation": "

Provides metrics that are used to evaluate the performance of a predictor. This object is\n part of the WindowSummary object.

" } }, + "com.amazonaws.forecast#MonitorConfig": { + "type": "structure", + "members": { + "MonitorName": { + "target": "com.amazonaws.forecast#Name", + "traits": { + "smithy.api#documentation": "

The name of the monitor resource.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration details for the predictor monitor.

" + } + }, + "com.amazonaws.forecast#MonitorDataSource": { + "type": "structure", + "members": { + "DatasetImportJobArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the dataset import job used to import the data that initiated the monitor evaluation.

" + } + }, + "ForecastArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the forecast the monitor used during the evaluation.

" + } + }, + "PredictorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor resource you are monitoring.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The source of the data the monitor used during the evaluation.

" + } + }, + "com.amazonaws.forecast#MonitorInfo": { + "type": "structure", + "members": { + "MonitorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource.

" + } + }, + "Status": { + "target": "com.amazonaws.forecast#Status", + "traits": { + "smithy.api#documentation": "

The status of the monitor. States include:

\n " + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides information about the monitor resource.

" + } + }, + "com.amazonaws.forecast#MonitorSummary": { + "type": "structure", + "members": { + "MonitorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource.

" + } + }, + "MonitorName": { + "target": "com.amazonaws.forecast#Name", + "traits": { + "smithy.api#documentation": "

The name of the monitor resource.

" + } + }, + "ResourceArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the predictor being monitored.

" + } + }, + "Status": { + "target": "com.amazonaws.forecast#Status", + "traits": { + "smithy.api#documentation": "

The status of the monitor. States include:

\n " + } + }, + "CreationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

When the monitor resource was created.

" + } + }, + "LastModificationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The last time the monitor resource was modified. The timestamp depends on the status of the\n job:

\n " + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides a summary of the monitor properties used in the ListMonitors operation. To get a complete set of properties,\n call the DescribeMonitor operation, and provide the listed\n MonitorArn.

" + } + }, + "com.amazonaws.forecast#Monitors": { + "type": "list", + "member": { + "target": "com.amazonaws.forecast#MonitorSummary" + } + }, + "com.amazonaws.forecast#Month": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "JANUARY", + "name": "JANUARY" + }, + { + "value": "FEBRUARY", + "name": "FEBRUARY" + }, + { + "value": "MARCH", + "name": "MARCH" + }, + { + "value": "APRIL", + "name": "APRIL" + }, + { + "value": "MAY", + "name": "MAY" + }, + { + "value": "JUNE", + "name": "JUNE" + }, + { + "value": "JULY", + "name": "JULY" + }, + { + "value": "AUGUST", + "name": "AUGUST" + }, + { + "value": "SEPTEMBER", + "name": "SEPTEMBER" + }, + { + "value": "OCTOBER", + "name": "OCTOBER" + }, + { + "value": "NOVEMBER", + "name": "NOVEMBER" + }, + { + "value": "DECEMBER", + "name": "DECEMBER" + } + ] + } + }, "com.amazonaws.forecast#Name": { "type": "string", "traits": { @@ -4634,12 +5451,46 @@ "target": "com.amazonaws.forecast#PredictorBacktestExportJobSummary" } }, + "com.amazonaws.forecast#PredictorBaseline": { + "type": "structure", + "members": { + "BaselineMetrics": { + "target": "com.amazonaws.forecast#BaselineMetrics", + "traits": { + "smithy.api#documentation": "

The initial accuracy metrics for the predictor. Use these metrics as a baseline for comparison purposes as you\n use your predictor and the metrics change.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Metrics you can use as a baseline for comparison purposes. Use these metrics when you interpret monitoring results for an auto predictor.

" + } + }, "com.amazonaws.forecast#PredictorEvaluationResults": { "type": "list", "member": { "target": "com.amazonaws.forecast#EvaluationResult" } }, + "com.amazonaws.forecast#PredictorEvent": { + "type": "structure", + "members": { + "Detail": { + "target": "com.amazonaws.forecast#Detail", + "traits": { + "smithy.api#documentation": "

The type of event. For example, Retrain. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime are from the previous predictor. Any new metrics are for the newly retrained predictor.

" + } + }, + "Datetime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp for when the event occurred.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides details about a predictor event, such as a retraining.

" + } + }, "com.amazonaws.forecast#PredictorExecution": { "type": "structure", "members": { @@ -4686,6 +5537,86 @@ } } }, + "com.amazonaws.forecast#PredictorMonitorEvaluation": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to monitor.

" + } + }, + "MonitorArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource.

" + } + }, + "EvaluationTime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp that indicates when the monitor evaluation was started.

" + } + }, + "EvaluationState": { + "target": "com.amazonaws.forecast#EvaluationState", + "traits": { + "smithy.api#documentation": "

The status of the monitor evaluation. The state can be SUCCESS or FAILURE.

" + } + }, + "WindowStartDatetime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp that indicates the start of the window that is used for monitor evaluation.

" + } + }, + "WindowEndDatetime": { + "target": "com.amazonaws.forecast#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp that indicates the end of the window that is used for monitor evaluation.

" + } + }, + "PredictorEvent": { + "target": "com.amazonaws.forecast#PredictorEvent", + "traits": { + "smithy.api#documentation": "

Provides details about a predictor event, such as a retraining.

" + } + }, + "MonitorDataSource": { + "target": "com.amazonaws.forecast#MonitorDataSource", + "traits": { + "smithy.api#documentation": "

The source of the data the monitor resource used during the evaluation.

" + } + }, + "MetricResults": { + "target": "com.amazonaws.forecast#MetricResults", + "traits": { + "smithy.api#documentation": "

A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing.

" + } + }, + "NumItemsEvaluated": { + "target": "com.amazonaws.forecast#Long", + "traits": { + "smithy.api#documentation": "

The number of items considered during the evaluation.

" + } + }, + "Message": { + "target": "com.amazonaws.forecast#Message", + "traits": { + "smithy.api#documentation": "

Information about any errors that may have occurred during the monitor evaluation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the results of a monitor evaluation.

" + } + }, + "com.amazonaws.forecast#PredictorMonitorEvaluations": { + "type": "list", + "member": { + "target": "com.amazonaws.forecast#PredictorMonitorEvaluation" + } + }, "com.amazonaws.forecast#PredictorSummary": { "type": "structure", "members": { @@ -4813,6 +5744,45 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.forecast#ResumeResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.forecast#ResumeResourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.forecast#InvalidInputException" + }, + { + "target": "com.amazonaws.forecast#LimitExceededException" + }, + { + "target": "com.amazonaws.forecast#ResourceInUseException" + }, + { + "target": "com.amazonaws.forecast#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Resumes a stopped monitor resource.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.forecast#ResumeResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.forecast#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitor resource to resume.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.forecast#S3Config": { "type": "structure", "members": { @@ -4900,12 +5870,12 @@ "AttributeType": { "target": "com.amazonaws.forecast#AttributeType", "traits": { - "smithy.api#documentation": "

The data type of the field.

" + "smithy.api#documentation": "

The data type of the field.

\n

For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).

" } } }, "traits": { - "smithy.api#documentation": "

An attribute of a schema, which defines a dataset field. A schema attribute is required\n for every field in a dataset. The Schema object contains an array of\n SchemaAttribute objects.

" + "smithy.api#documentation": "

An attribute of a schema, which defines a dataset field. A schema attribute is required\n for every field in a dataset. The Schema object contains an array of\n SchemaAttribute objects.

" } }, "com.amazonaws.forecast#SchemaAttributes": { @@ -4947,19 +5917,19 @@ "CountDistinct": { "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

The number of distinct values in the field. If the response value is -1, refer to\n CountDistinctLong.

" + "smithy.api#documentation": "

The number of distinct values in the field. If the response value is -1, refer to\n CountDistinctLong.

" } }, "CountNull": { "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

The number of null values in the field. If the response value is -1, refer to\n CountNullLong.

" + "smithy.api#documentation": "

The number of null values in the field. If the response value is -1, refer to\n CountNullLong.

" } }, "CountNan": { "target": "com.amazonaws.forecast#Integer", "traits": { - "smithy.api#documentation": "

The number of NAN (not a number) values in the field. If the response value is -1, refer to\n CountNanLong.

" + "smithy.api#documentation": "

The number of NAN (not a number) values in the field. If the response value is -1, refer\n to CountNanLong.

" } }, "Min": { @@ -5012,7 +5982,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides statistics for each data field imported into to an Amazon Forecast dataset with\n the CreateDatasetImportJob operation.

" + "smithy.api#documentation": "

Provides statistics for each data field imported into to an Amazon Forecast dataset with\n the CreateDatasetImportJob operation.

" } }, "com.amazonaws.forecast#Status": { @@ -5029,6 +5999,9 @@ "input": { "target": "com.amazonaws.forecast#StopResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.forecast#InvalidInputException" @@ -5259,6 +6232,38 @@ "target": "com.amazonaws.forecast#WindowSummary" } }, + "com.amazonaws.forecast#TimeAlignmentBoundary": { + "type": "structure", + "members": { + "Month": { + "target": "com.amazonaws.forecast#Month", + "traits": { + "smithy.api#documentation": "

The month to use for time alignment during aggregation. The month must be in uppercase.

" + } + }, + "DayOfMonth": { + "target": "com.amazonaws.forecast#DayOfMonth", + "traits": { + "smithy.api#documentation": "

The day of the month to use for time alignment during aggregation.

" + } + }, + "DayOfWeek": { + "target": "com.amazonaws.forecast#DayOfWeek", + "traits": { + "smithy.api#documentation": "

The day of week to use for time alignment during aggregation. The day must be in uppercase.

" + } + }, + "Hour": { + "target": "com.amazonaws.forecast#Hour", + "traits": { + "smithy.api#documentation": "

The hour of day to use for time alignment during aggregation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The time boundary Forecast uses to align and aggregate your data to match your forecast frequency. Provide the unit of time and the time boundary as a key value pair. If you\n don't provide a time boundary, Forecast uses a set of Default Time Boundaries.\n

\n\n

For more information about aggregation,\n see Data Aggregation for Different Forecast Frequencies.\n For more information setting a custom time boundary,\n see Specifying a Time Boundary.\n \n

" + } + }, "com.amazonaws.forecast#TimePointGranularity": { "type": "string", "traits": { @@ -5289,6 +6294,40 @@ ] } }, + "com.amazonaws.forecast#TimeSeriesIdentifiers": { + "type": "structure", + "members": { + "DataSource": { + "target": "com.amazonaws.forecast#DataSource" + }, + "Schema": { + "target": "com.amazonaws.forecast#Schema" + }, + "Format": { + "target": "com.amazonaws.forecast#Format", + "traits": { + "smithy.api#documentation": "

The format of the data, either CSV or PARQUET.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the import file that contains the time series for which you want to create forecasts.

" + } + }, + "com.amazonaws.forecast#TimeSeriesSelector": { + "type": "structure", + "members": { + "TimeSeriesIdentifiers": { + "target": "com.amazonaws.forecast#TimeSeriesIdentifiers", + "traits": { + "smithy.api#documentation": "

Details about the import file that contains the time series for which you want to create forecasts.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers object.

\n

The TimeSeriesIdentifiers object needs the following information:

\n " + } + }, "com.amazonaws.forecast#TimeZone": { "type": "string", "traits": { @@ -5405,7 +6444,7 @@ } ], "traits": { - "smithy.api#documentation": "

Replaces the datasets in a dataset group with the specified datasets.

\n \n

The Status of the dataset group must be ACTIVE before you can\n use the dataset group to create a predictor. Use the DescribeDatasetGroup\n operation to get the status.

\n
", + "smithy.api#documentation": "

Replaces the datasets in a dataset group with the specified datasets.

\n \n

The Status of the dataset group must be ACTIVE before you can\n use the dataset group to create a predictor. Use the DescribeDatasetGroup\n operation to get the status.

\n
", "smithy.api#idempotent": {} } }, diff --git a/codegen/sdk-codegen/aws-models/fsx.json b/codegen/sdk-codegen/aws-models/fsx.json index 95d1d84a198..a30a82df47d 100644 --- a/codegen/sdk-codegen/aws-models/fsx.json +++ b/codegen/sdk-codegen/aws-models/fsx.json @@ -1387,7 +1387,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new, empty Amazon FSx file system. You can create the following supported \n Amazon FSx file systems using the CreateFileSystem API operation:

\n \n

This operation requires a client request token in the request that Amazon FSx uses\n to ensure idempotent creation. This means that calling the operation multiple times with\n the same client request token has no effect. By using the idempotent operation, you can\n retry a CreateFileSystem operation without the risk of creating an extra\n file system. This approach can be useful when an initial call fails in a way that makes\n it unclear whether a file system was created. Examples are if a transport level timeout\n occurred, or your connection was reset. If you use the same client request token and the\n initial call created a file system, the client receives success as long as the\n parameters are the same.

\n

If a file system with the specified client request token exists and the parameters\n match, CreateFileSystem returns the description of the existing file\n system. If a file system with the specified client request token exists and the\n parameters don't match, this call returns IncompatibleParameterError. If a\n file system with the specified client request token doesn't exist,\n CreateFileSystem does the following:

\n \n\n

This operation requires a client request token in the request that Amazon FSx\n uses to ensure idempotent creation. This means that calling the operation multiple times\n with the same client request token has no effect. By using the idempotent operation, you\n can retry a CreateFileSystem operation without the risk of creating an\n extra file system. This approach can be useful when an initial call fails in a way that\n makes it unclear whether a file system was created. Examples are if a transport-level\n timeout occurred, or your connection was reset. If you use the same client request token\n and the initial call created a file system, the client receives a success message as\n long as the parameters are the same.

\n \n

The CreateFileSystem call returns while the file system's lifecycle\n state is still CREATING. You can check the file-system creation status\n by calling the DescribeFileSystems operation, which returns the file system state\n along with other information.

\n
" + "smithy.api#documentation": "

Creates a new, empty Amazon FSx file system. You can create the following supported \n Amazon FSx file systems using the CreateFileSystem API operation:

\n \n

This operation requires a client request token in the request that Amazon FSx uses\n to ensure idempotent creation. This means that calling the operation multiple times with\n the same client request token has no effect. By using the idempotent operation, you can\n retry a CreateFileSystem operation without the risk of creating an extra\n file system. This approach can be useful when an initial call fails in a way that makes\n it unclear whether a file system was created. Examples are if a transport level timeout\n occurred, or your connection was reset. If you use the same client request token and the\n initial call created a file system, the client receives success as long as the\n parameters are the same.

\n

If a file system with the specified client request token exists and the parameters\n match, CreateFileSystem returns the description of the existing file\n system. If a file system with the specified client request token exists and the\n parameters don't match, this call returns IncompatibleParameterError. If a\n file system with the specified client request token doesn't exist,\n CreateFileSystem does the following:

\n \n\n

This operation requires a client request token in the request that Amazon FSx\n uses to ensure idempotent creation. This means that calling the operation multiple times\n with the same client request token has no effect. By using the idempotent operation, you\n can retry a CreateFileSystem operation without the risk of creating an\n extra file system. This approach can be useful when an initial call fails in a way that\n makes it unclear whether a file system was created. Examples are if a transport-level\n timeout occurred, or your connection was reset. If you use the same client request token\n and the initial call created a file system, the client receives a success message as\n long as the parameters are the same.

\n \n

The CreateFileSystem call returns while the file system's lifecycle\n state is still CREATING. You can check the file-system creation status\n by calling the DescribeFileSystems operation, which returns the file system state\n along with other information.

\n
" } }, "com.amazonaws.fsx#CreateFileSystemFromBackup": { @@ -1589,6 +1589,12 @@ "traits": { "smithy.api#documentation": "

The Lustre logging configuration used when creating an Amazon FSx for Lustre\n file system. When logging is enabled, Lustre logs error and warning events for data repositories\n associated with your file system to Amazon CloudWatch Logs.

" } + }, + "RootSquashConfiguration": { + "target": "com.amazonaws.fsx#LustreRootSquashConfiguration", + "traits": { + "smithy.api#documentation": "

The Lustre root squash configuration used when creating an Amazon FSx for Lustre\n file system. When enabled, root squash restricts root-level access from clients that\n try to access your file system as a root user.

" + } } }, "traits": { @@ -1607,7 +1613,7 @@ "DeploymentType": { "target": "com.amazonaws.fsx#OntapDeploymentType", "traits": { - "smithy.api#documentation": "

Specifies the FSx for ONTAP file system deployment type to use in creating\n the file system.

\n \n

For information about the use cases for Multi-AZ and Single-AZ deployments, refer to\n Choosing Multi-AZ or\n Single-AZ file system deployment.

", + "smithy.api#documentation": "

Specifies the FSx for ONTAP file system deployment type to use in creating\n the file system.

\n \n

For information about the use cases for Multi-AZ and Single-AZ deployments, refer to\n Choosing a file system deployment type.

", "smithy.api#required": {} } }, @@ -4043,6 +4049,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "StorageVirtualMachines", "pageSize": "MaxResults" } } @@ -4108,6 +4115,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Volumes", "pageSize": "MaxResults" } } @@ -5212,7 +5220,7 @@ "WeeklyMaintenanceStartTime": { "target": "com.amazonaws.fsx#WeeklyTime", "traits": { - "smithy.api#documentation": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone. Here, d is the weekday number, from 1 through 7, beginning with Monday and\n ending with Sunday.

" + "smithy.api#documentation": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC\n time zone. Here, d is the weekday number, from 1 through 7, beginning with Monday and\n ending with Sunday.

" } }, "DataRepositoryConfiguration": { @@ -5265,6 +5273,12 @@ "traits": { "smithy.api#documentation": "

The Lustre logging configuration. Lustre logging writes the enabled log\n events for your file system to Amazon CloudWatch Logs.

" } + }, + "RootSquashConfiguration": { + "target": "com.amazonaws.fsx#LustreRootSquashConfiguration", + "traits": { + "smithy.api#documentation": "

The Lustre root squash configuration for an Amazon FSx for Lustre\n file system. When enabled, root squash restricts root-level access from clients that\n try to access your file system as a root user.

" + } } }, "traits": { @@ -5323,6 +5337,58 @@ "smithy.api#documentation": "

The Lustre logging configuration used when creating or updating an\n Amazon FSx for Lustre file system. Lustre logging writes the enabled\n logging events for your file system to Amazon CloudWatch Logs.

\n

Error and warning events can be logged from the following data\n repository operations:

\n \n

To learn more about Lustre logging, see \n Logging to Amazon CloudWatch Logs.

" } }, + "com.amazonaws.fsx#LustreNoSquashNid": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 11, + "max": 43 + }, + "smithy.api#pattern": "^([0-9\\[\\]\\-]*\\.){3}([0-9\\[\\]\\-]*)@tcp$" + } + }, + "com.amazonaws.fsx#LustreNoSquashNids": { + "type": "list", + "member": { + "target": "com.amazonaws.fsx#LustreNoSquashNid" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 64 + } + } + }, + "com.amazonaws.fsx#LustreRootSquash": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 21 + }, + "smithy.api#pattern": "^([0-9]{1,10}):([0-9]{1,10})$" + } + }, + "com.amazonaws.fsx#LustreRootSquashConfiguration": { + "type": "structure", + "members": { + "RootSquash": { + "target": "com.amazonaws.fsx#LustreRootSquash", + "traits": { + "smithy.api#documentation": "

You enable root squash by setting a user ID (UID) and group ID (GID) for the file\n system in the format UID:GID (for example, 365534:65534).\n The UID and GID values can range from 0 to 4294967294:

\n \n

When root squash is enabled, the user ID and group ID of a root user accessing\n the file system are re-mapped to the UID and GID you provide.

" + } + }, + "NoSquashNids": { + "target": "com.amazonaws.fsx#LustreNoSquashNids", + "traits": { + "smithy.api#documentation": "

When root squash is enabled, you can optionally specify an array of NIDs of clients\n for which root squash does not apply. A client NID is a Lustre Network Identifier used\n to uniquely identify a client. You can specify the NID as either a single address or a\n range of addresses:

\n " + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for Lustre root squash used to restrict root-level access\n from clients that try to access your FSx for Lustre file system as root.\n Use the RootSquash parameter to enable root squash. To learn more\n about Lustre root squash,\n see Lustre root squash.

\n

You can also use the NoSquashNids parameter to provide an array of clients\n who are not affected by the root squash setting. These clients will access the file system as root,\n with unrestricted privileges.

" + } + }, "com.amazonaws.fsx#MaxResults": { "type": "integer", "traits": { @@ -7586,7 +7652,7 @@ } ], "traits": { - "smithy.api#documentation": "

Use this operation to update the configuration of an existing Amazon FSx file\n system. You can update multiple properties in a single request.

\n

For Amazon FSx for Windows File Server file systems, you can update the following\n properties:

\n \n

For Amazon FSx for Lustre file systems, you can update the following\n properties:

\n \n

For Amazon FSx for NetApp ONTAP file systems, you can update the following\n properties:

\n \n

For the Amazon FSx for OpenZFS file systems, you can update the following\n properties:

\n " + "smithy.api#documentation": "

Use this operation to update the configuration of an existing Amazon FSx file\n system. You can update multiple properties in a single request.

\n

For Amazon FSx for Windows File Server file systems, you can update the following\n properties:

\n \n

For Amazon FSx for Lustre file systems, you can update the following\n properties:

\n \n

For Amazon FSx for NetApp ONTAP file systems, you can update the following\n properties:

\n \n

For the Amazon FSx for OpenZFS file systems, you can update the following\n properties:

\n " } }, "com.amazonaws.fsx#UpdateFileSystemLustreConfiguration": { @@ -7621,6 +7687,12 @@ "traits": { "smithy.api#documentation": "

The Lustre logging configuration used when updating an Amazon FSx for Lustre\n file system. When logging is enabled, Lustre logs error and warning events for\n data repositories associated with your file system to Amazon CloudWatch Logs.

" } + }, + "RootSquashConfiguration": { + "target": "com.amazonaws.fsx#LustreRootSquashConfiguration", + "traits": { + "smithy.api#documentation": "

The Lustre root squash configuration used when updating an Amazon FSx for Lustre\n file system. When enabled, root squash restricts root-level access from clients that\n try to access your file system as a root user.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/gamesparks.json b/codegen/sdk-codegen/aws-models/gamesparks.json index eb79af4c1aa..9ac550b6b21 100644 --- a/codegen/sdk-codegen/aws-models/gamesparks.json +++ b/codegen/sdk-codegen/aws-models/gamesparks.json @@ -481,6 +481,26 @@ "smithy.api#pattern": "^\\S(.*\\S)?$" } }, + "com.amazonaws.gamesparks#DeploymentResult": { + "type": "structure", + "members": { + "ResultCode": { + "target": "com.amazonaws.gamesparks#ResultCode", + "traits": { + "smithy.api#documentation": "

The type of deployment result.

" + } + }, + "Message": { + "target": "com.amazonaws.gamesparks#Message", + "traits": { + "smithy.api#documentation": "

Details about the deployment result.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The result of the deployment.

" + } + }, "com.amazonaws.gamesparks#DeploymentState": { "type": "string", "traits": { @@ -2589,6 +2609,9 @@ } } }, + "com.amazonaws.gamesparks#Message": { + "type": "string" + }, "com.amazonaws.gamesparks#NextToken": { "type": "string", "traits": { @@ -2670,6 +2693,25 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.gamesparks#ResultCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUCCESS", + "name": "SUCCESS" + }, + { + "value": "INVALID_ROLE_FAILURE", + "name": "INVALID_ROLE_FAILURE" + }, + { + "value": "UNSPECIFIED_FAILURE", + "name": "UNSPECIFIED_FAILURE" + } + ] + } + }, "com.amazonaws.gamesparks#RoleARN": { "type": "string", "traits": { @@ -2941,6 +2983,12 @@ "traits": { "smithy.api#documentation": "

The timestamp of when the deployment was last updated.

" } + }, + "DeploymentResult": { + "target": "com.amazonaws.gamesparks#DeploymentResult", + "traits": { + "smithy.api#documentation": "

The result of the deployment.

" + } } }, "traits": { @@ -2985,6 +3033,12 @@ "traits": { "smithy.api#documentation": "

The timestamp of when the deployment was last updated.

" } + }, + "DeploymentResult": { + "target": "com.amazonaws.gamesparks#DeploymentResult", + "traits": { + "smithy.api#documentation": "

The result of the deployment.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/greengrassv2.json b/codegen/sdk-codegen/aws-models/greengrassv2.json index be660326920..1913fa941ab 100644 --- a/codegen/sdk-codegen/aws-models/greengrassv2.json +++ b/codegen/sdk-codegen/aws-models/greengrassv2.json @@ -105,7 +105,7 @@ }, "traits": { "smithy.api#length": { - "min": 1, + "min": 0, "max": 100 } } @@ -432,24 +432,36 @@ "componentState": { "target": "com.amazonaws.greengrassv2#CloudComponentState", "traits": { - "smithy.api#documentation": "

The state of the component.

" + "smithy.api#documentation": "

The state of the component version.

" } }, "message": { "target": "com.amazonaws.greengrassv2#NonEmptyString", "traits": { - "smithy.api#documentation": "

A message that communicates details, such as errors, about the status of the component.

" + "smithy.api#documentation": "

A message that communicates details, such as errors, about the status of the component\n version.

" } }, "errors": { "target": "com.amazonaws.greengrassv2#StringMap", "traits": { - "smithy.api#documentation": "

A dictionary of errors that communicate why the component is in an error state. For\n example, if IoT Greengrass can't access an artifact for the component, then errors contains\n the artifact's URI as a key, and the error message as the value for that key.

" + "smithy.api#documentation": "

A dictionary of errors that communicate why the component version is in an error state.\n For example, if IoT Greengrass can't access an artifact for the component version, then\n errors contains the artifact's URI as a key, and the error message as the value\n for that key.

" + } + }, + "vendorGuidance": { + "target": "com.amazonaws.greengrassv2#VendorGuidance", + "traits": { + "smithy.api#documentation": "

The vendor guidance state for the component version. This state indicates whether\n the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

\n " + } + }, + "vendorGuidanceMessage": { + "target": "com.amazonaws.greengrassv2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

A message that communicates details about the vendor guidance state\n of the component version. This message communicates why a component version is discontinued or deleted.

" } } }, "traits": { - "smithy.api#documentation": "

Contains the status of a component in the IoT Greengrass service.

" + "smithy.api#documentation": "

Contains the status of a component version in the IoT Greengrass service.

" } }, "com.amazonaws.greengrassv2#Component": { @@ -481,7 +493,7 @@ "com.amazonaws.greengrassv2#ComponentARN": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:greengrass:[^:]+:(aws|[0-9]+):components:[^:]+$" + "smithy.api#pattern": "^arn:[^:]*:greengrass:[^:]*:(aws|[0-9]+):components:[^:]+$" } }, "com.amazonaws.greengrassv2#ComponentCandidate": { @@ -536,7 +548,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 65536 + "max": 10485760 } } }, @@ -695,8 +707,7 @@ "smithy.api#length": { "min": 1, "max": 128 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_.]+$" + } } }, "com.amazonaws.greengrassv2#ComponentPlatform": { @@ -754,7 +765,7 @@ "com.amazonaws.greengrassv2#ComponentVersionARN": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:greengrass:[^:]+:(aws|[0-9]+):components:[^:]+:versions:[^:]+$" + "smithy.api#pattern": "^arn:[^:]*:greengrass:[^:]*:(aws|[0-9]+):components:[^:]+:versions:[^:]+$" } }, "com.amazonaws.greengrassv2#ComponentVersionList": { @@ -804,8 +815,7 @@ "smithy.api#length": { "min": 1, "max": 64 - }, - "smithy.api#pattern": "^[0-9a-zA-Z-.+]+$" + } } }, "com.amazonaws.greengrassv2#ComponentVisibilityScope": { @@ -995,7 +1005,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a component. Components are software that run on Greengrass core devices. After you\n develop and test a component on your core device, you can use this operation to upload your\n component to IoT Greengrass. Then, you can deploy the component to other core devices.

\n

You can use this operation to do the following:

\n ", + "smithy.api#documentation": "

Creates a component. Components are software that run on Greengrass core devices. After you\n develop and test a component on your core device, you can use this operation to upload your\n component to IoT Greengrass. Then, you can deploy the component to other core devices.

\n

You can use this operation to do the following:

\n ", "smithy.api#http": { "method": "POST", "uri": "/greengrass/v2/createComponentVersion", @@ -1084,6 +1094,9 @@ { "target": "com.amazonaws.greengrassv2#AccessDeniedException" }, + { + "target": "com.amazonaws.greengrassv2#ConflictException" + }, { "target": "com.amazonaws.greengrassv2#InternalServerException" }, @@ -1195,6 +1208,9 @@ "input": { "target": "com.amazonaws.greengrassv2#DeleteComponentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.greengrassv2#AccessDeniedException" @@ -1242,6 +1258,9 @@ "input": { "target": "com.amazonaws.greengrassv2#DeleteCoreDeviceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.greengrassv2#AccessDeniedException" @@ -1284,6 +1303,56 @@ } } }, + "com.amazonaws.greengrassv2#DeleteDeployment": { + "type": "operation", + "input": { + "target": "com.amazonaws.greengrassv2#DeleteDeploymentRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.greengrassv2#AccessDeniedException" + }, + { + "target": "com.amazonaws.greengrassv2#ConflictException" + }, + { + "target": "com.amazonaws.greengrassv2#InternalServerException" + }, + { + "target": "com.amazonaws.greengrassv2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.greengrassv2#ThrottlingException" + }, + { + "target": "com.amazonaws.greengrassv2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a deployment. To delete an active deployment, you must first cancel it. For more\n information, see CancelDeployment.

\n

Deleting a deployment doesn't affect core devices that run that deployment, because core\n devices store the deployment's configuration on the device. Additionally, core devices can\n roll back to a previous deployment that has been deleted.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/greengrass/v2/deployments/{deploymentId}", + "code": 204 + } + } + }, + "com.amazonaws.greengrassv2#DeleteDeploymentRequest": { + "type": "structure", + "members": { + "deploymentId": { + "target": "com.amazonaws.greengrassv2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ID of the deployment.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.greengrassv2#Deployment": { "type": "structure", "members": { @@ -1684,7 +1753,7 @@ }, "traits": { "smithy.api#length": { - "min": 1, + "min": 0, "max": 100 } } @@ -1857,7 +1926,7 @@ "com.amazonaws.greengrassv2#GenericV2ARN": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:greengrass:[^:]+:(aws|[0-9]+):(components|deployments|coreDevices):.+$" + "smithy.api#pattern": "^arn:[^:]*:greengrass:[^:]*:(aws|[0-9]+):(components|deployments|coreDevices):" } }, "com.amazonaws.greengrassv2#GetComponent": { @@ -1965,7 +2034,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the pre-signed URL to download a public component artifact. Core devices call this\n operation to identify the URL that they can use to download an artifact to install.

", + "smithy.api#documentation": "

Gets the pre-signed URL to download a public or a Lambda component artifact. Core devices call this\n operation to identify the URL that they can use to download an artifact to install.

", "smithy.api#http": { "method": "GET", "uri": "/greengrass/v2/components/{arn}/artifacts/{artifactName+}", @@ -1979,7 +2048,7 @@ "arn": { "target": "com.amazonaws.greengrassv2#ComponentVersionARN", "traits": { - "smithy.api#documentation": "

The ARN of the component version. Specify the ARN of a public component version.

", + "smithy.api#documentation": "

The ARN of the component version. Specify the ARN of a public or a Lambda component version.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2089,7 +2158,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves metadata for a Greengrass core device.

", + "smithy.api#documentation": "

Retrieves metadata for a Greengrass core device.

\n \n

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.

\n

Core devices send status updates at the following times:

\n \n
", "smithy.api#http": { "method": "GET", "uri": "/greengrass/v2/coreDevices/{coreDeviceThingName}", @@ -2375,6 +2444,9 @@ { "target": "com.amazonaws.greengrassv2#DeleteCoreDevice" }, + { + "target": "com.amazonaws.greengrassv2#DeleteDeployment" + }, { "target": "com.amazonaws.greengrassv2#DescribeComponent" }, @@ -2546,7 +2618,7 @@ "com.amazonaws.greengrassv2#IoTJobARN": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:iot:[^:]+:[0-9]+:job/.+$" + "smithy.api#pattern": "^arn:[^:]*:iot:[^:]+:[0-9]+:job/.+$" } }, "com.amazonaws.greengrassv2#IoTJobAbortAction": { @@ -3037,7 +3109,7 @@ "com.amazonaws.greengrassv2#LambdaFunctionARNWithVersionNumber": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:lambda:[^:]+:[0-9]+:function:[a-zA-Z0-9-_]+:[0-9]+$" + "smithy.api#pattern": "^arn:[^:]*:lambda:[^:]+:[0-9]+:function:[a-zA-Z0-9-_]+:[0-9]+$" } }, "com.amazonaws.greengrassv2#LambdaFunctionRecipeSource": { @@ -3220,6 +3292,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "associatedClientDevices", "pageSize": "maxResults" } } @@ -3304,6 +3377,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "componentVersions", "pageSize": "maxResults" } } @@ -3314,7 +3388,7 @@ "arn": { "target": "com.amazonaws.greengrassv2#ComponentARN", "traits": { - "smithy.api#documentation": "

The ARN of the component version.

", + "smithy.api#documentation": "

The ARN of the component.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3368,6 +3442,9 @@ { "target": "com.amazonaws.greengrassv2#InternalServerException" }, + { + "target": "com.amazonaws.greengrassv2#ResourceNotFoundException" + }, { "target": "com.amazonaws.greengrassv2#ThrottlingException" }, @@ -3385,6 +3462,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "components", "pageSize": "maxResults" } } @@ -3456,7 +3534,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a paginated list of Greengrass core devices.

", + "smithy.api#documentation": "

Retrieves a paginated list of Greengrass core devices.

\n \n

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.

\n

Core devices send status updates at the following times:

\n \n
", "smithy.api#http": { "method": "GET", "uri": "/greengrass/v2/coreDevices", @@ -3465,6 +3543,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "coreDevices", "pageSize": "maxResults" } } @@ -3475,7 +3554,7 @@ "thingGroupArn": { "target": "com.amazonaws.greengrassv2#ThingGroupARN", "traits": { - "smithy.api#documentation": "

The ARN of the IoT thing group by which to filter. If you specify this parameter, the\n list includes only core devices that are members of this thing group.

", + "smithy.api#documentation": "

The ARN of the IoT thing group by which to filter. If you specify this parameter,\n the list includes only core devices that have successfully deployed a deployment that targets\n the thing group. When you remove a core device from a thing group, the list continues to\n include that core device.

", "smithy.api#httpQuery": "thingGroupArn" } }, @@ -3552,6 +3631,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "deployments", "pageSize": "maxResults" } } @@ -3642,6 +3722,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "effectiveDeployments", "pageSize": "maxResults" } } @@ -3717,7 +3798,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a paginated list of the components that a Greengrass core device runs.

", + "smithy.api#documentation": "

Retrieves a paginated list of the components that a Greengrass core device runs.\n This list doesn't include components that are deployed from local deployments or\n components that are deployed as dependencies of other components.

\n \n

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core\n software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then\n the reported status of that device might not reflect its current status. The status timestamp\n indicates when the device status was last updated.

\n

Core devices send status updates at the following times:

\n \n
", "smithy.api#http": { "method": "GET", "uri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents", @@ -3726,6 +3807,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "installedComponents", "pageSize": "maxResults" } } @@ -3957,15 +4039,13 @@ "platform": { "target": "com.amazonaws.greengrassv2#ComponentPlatform", "traits": { - "smithy.api#documentation": "

The platform to use to resolve compatible components.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The platform to use to resolve compatible components.

" } }, "componentCandidates": { "target": "com.amazonaws.greengrassv2#ComponentCandidateList", "traits": { - "smithy.api#documentation": "

The list of components to resolve.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The list of components to resolve.

" } } } @@ -4007,6 +4087,18 @@ "traits": { "smithy.api#documentation": "

The recipe of the component version.

" } + }, + "vendorGuidance": { + "target": "com.amazonaws.greengrassv2#VendorGuidance", + "traits": { + "smithy.api#documentation": "

The vendor guidance state for the component version. This state indicates whether\n the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

\n " + } + }, + "message": { + "target": "com.amazonaws.greengrassv2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

A message that communicates details about the vendor guidance state\n of the component version. This message communicates why a component version is discontinued or deleted.

" + } } }, "traits": { @@ -4132,8 +4224,7 @@ "smithy.api#length": { "min": 1, "max": 128 - }, - "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } } }, "com.amazonaws.greengrassv2#TagKeyList": { @@ -4144,7 +4235,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 50 + "max": 200 } } }, @@ -4159,7 +4250,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 50 + "max": 200 } } }, @@ -4227,13 +4318,13 @@ "com.amazonaws.greengrassv2#TargetARN": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:iot:[^:]+:[0-9]+:(thing|thinggroup)/.+$" + "smithy.api#pattern": "^arn:[^:]*:iot:[^:]*:[0-9]+:(thing|thinggroup)/.+$" } }, "com.amazonaws.greengrassv2#ThingGroupARN": { "type": "string", "traits": { - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:iot:[^:]+:[0-9]+:thinggroup/.+$" + "smithy.api#pattern": "^arn:[^:]*:iot:[^:]*:[0-9]+:thinggroup/.+$" } }, "com.amazonaws.greengrassv2#ThrottlingException": { @@ -4475,6 +4566,25 @@ ] } }, + "com.amazonaws.greengrassv2#VendorGuidance": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "DISCONTINUED", + "name": "DISCONTINUED" + }, + { + "value": "DELETED", + "name": "DELETED" + } + ] + } + }, "com.amazonaws.greengrassv2#connectivityInfoList": { "type": "list", "member": { diff --git a/codegen/sdk-codegen/aws-models/iot-events-data.json b/codegen/sdk-codegen/aws-models/iot-events-data.json index c92b999a362..d85a489a769 100644 --- a/codegen/sdk-codegen/aws-models/iot-events-data.json +++ b/codegen/sdk-codegen/aws-models/iot-events-data.json @@ -356,6 +356,92 @@ "smithy.api#documentation": "

Contains error messages associated with one of the following requests:

\n " } }, + "com.amazonaws.ioteventsdata#BatchDeleteDetector": { + "type": "operation", + "input": { + "target": "com.amazonaws.ioteventsdata#BatchDeleteDetectorRequest" + }, + "output": { + "target": "com.amazonaws.ioteventsdata#BatchDeleteDetectorResponse" + }, + "errors": [ + { + "target": "com.amazonaws.ioteventsdata#InternalFailureException" + }, + { + "target": "com.amazonaws.ioteventsdata#InvalidRequestException" + }, + { + "target": "com.amazonaws.ioteventsdata#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.ioteventsdata#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the ListDetectors API call.

", + "smithy.api#http": { + "method": "POST", + "uri": "/detectors/delete", + "code": 200 + } + } + }, + "com.amazonaws.ioteventsdata#BatchDeleteDetectorErrorEntries": { + "type": "list", + "member": { + "target": "com.amazonaws.ioteventsdata#BatchDeleteDetectorErrorEntry" + } + }, + "com.amazonaws.ioteventsdata#BatchDeleteDetectorErrorEntry": { + "type": "structure", + "members": { + "messageId": { + "target": "com.amazonaws.ioteventsdata#MessageId", + "traits": { + "smithy.api#documentation": "

The ID of the message that caused the error. (See the value of the \"messageId\" in the detectors object of the DeleteDetectorRequest.)

" + } + }, + "errorCode": { + "target": "com.amazonaws.ioteventsdata#ErrorCode", + "traits": { + "smithy.api#documentation": "

The error code.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.ioteventsdata#ErrorMessage", + "traits": { + "smithy.api#documentation": "

A message that describes the error.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains error messages associated with the deletion request.

" + } + }, + "com.amazonaws.ioteventsdata#BatchDeleteDetectorRequest": { + "type": "structure", + "members": { + "detectors": { + "target": "com.amazonaws.ioteventsdata#DeleteDetectorRequests", + "traits": { + "smithy.api#documentation": "

The list of one or more detectors to be deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ioteventsdata#BatchDeleteDetectorResponse": { + "type": "structure", + "members": { + "batchDeleteDetectorErrorEntries": { + "target": "com.amazonaws.ioteventsdata#BatchDeleteDetectorErrorEntries", + "traits": { + "smithy.api#documentation": "

A list of errors associated with the request, or an empty array ([]) if there are no errors. Each error entry contains a messageId that helps you identify the entry that failed.

" + } + } + } + }, "com.amazonaws.ioteventsdata#BatchDisableAlarm": { "type": "operation", "input": { @@ -846,6 +932,45 @@ ] } }, + "com.amazonaws.ioteventsdata#DeleteDetectorRequest": { + "type": "structure", + "members": { + "messageId": { + "target": "com.amazonaws.ioteventsdata#MessageId", + "traits": { + "smithy.api#documentation": "

The ID to assign to the DeleteDetectorRequest. Each \"messageId\" must be unique within each batch sent.

", + "smithy.api#required": {} + } + }, + "detectorModelName": { + "target": "com.amazonaws.ioteventsdata#DetectorModelName", + "traits": { + "smithy.api#documentation": "

The name of the detector model that was used to create the detector instance.

", + "smithy.api#required": {} + } + }, + "keyValue": { + "target": "com.amazonaws.ioteventsdata#KeyValue", + "traits": { + "smithy.api#documentation": "

The value of the key used to identify the detector.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information used to delete the detector model.

" + } + }, + "com.amazonaws.ioteventsdata#DeleteDetectorRequests": { + "type": "list", + "member": { + "target": "com.amazonaws.ioteventsdata#DeleteDetectorRequest" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, "com.amazonaws.ioteventsdata#DescribeAlarm": { "type": "operation", "input": { @@ -1397,6 +1522,9 @@ { "target": "com.amazonaws.ioteventsdata#BatchAcknowledgeAlarm" }, + { + "target": "com.amazonaws.ioteventsdata#BatchDeleteDetector" + }, { "target": "com.amazonaws.ioteventsdata#BatchDisableAlarm" }, diff --git a/codegen/sdk-codegen/aws-models/iotsitewise.json b/codegen/sdk-codegen/aws-models/iotsitewise.json index 2e92f0002a4..242b15219d4 100644 --- a/codegen/sdk-codegen/aws-models/iotsitewise.json +++ b/codegen/sdk-codegen/aws-models/iotsitewise.json @@ -1227,6 +1227,12 @@ "smithy.api#documentation": "

A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

", "smithy.api#required": {} } + }, + "description": { + "target": "com.amazonaws.iotsitewise#Description", + "traits": { + "smithy.api#documentation": "

A description for the asset.

" + } } }, "traits": { @@ -1444,6 +1450,12 @@ "smithy.api#documentation": "

A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

", "smithy.api#required": {} } + }, + "description": { + "target": "com.amazonaws.iotsitewise#Description", + "traits": { + "smithy.api#documentation": "

A description for the asset.

" + } } }, "traits": { @@ -3194,6 +3206,12 @@ "traits": { "smithy.api#documentation": "

A list of key-value pairs that contain metadata for the asset. For more information, see\n Tagging your IoT SiteWise\n resources in the IoT SiteWise User Guide.

" } + }, + "assetDescription": { + "target": "com.amazonaws.iotsitewise#Description", + "traits": { + "smithy.api#documentation": "

A description for the asset.

" + } } } }, @@ -4746,6 +4764,12 @@ "smithy.api#documentation": "

The current status of the asset, which contains a state and any error message.

", "smithy.api#required": {} } + }, + "assetDescription": { + "target": "com.amazonaws.iotsitewise#Description", + "traits": { + "smithy.api#documentation": "

A description for the asset.

" + } } } }, @@ -5483,7 +5507,7 @@ "storageType": { "target": "com.amazonaws.iotsitewise#StorageType", "traits": { - "smithy.api#documentation": "

The storage tier that you specified for your data. \n The storageType parameter can be one of the following values:

\n ", + "smithy.api#documentation": "

The storage tier that you specified for your data. \n The storageType parameter can be one of the following values:

\n ", "smithy.api#required": {} } }, @@ -8922,7 +8946,7 @@ "storageType": { "target": "com.amazonaws.iotsitewise#StorageType", "traits": { - "smithy.api#documentation": "

The storage tier that you specified for your data. \n The storageType parameter can be one of the following values:

\n ", + "smithy.api#documentation": "

The storage tier that you specified for your data. \n The storageType parameter can be one of the following values:

\n ", "smithy.api#required": {} } }, @@ -8949,7 +8973,7 @@ "storageType": { "target": "com.amazonaws.iotsitewise#StorageType", "traits": { - "smithy.api#documentation": "

The storage tier that you specified for your data. \n The storageType parameter can be one of the following values:

\n ", + "smithy.api#documentation": "

The storage tier that you specified for your data. \n The storageType parameter can be one of the following values:

\n ", "smithy.api#required": {} } }, @@ -9954,6 +9978,12 @@ "smithy.api#documentation": "

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

", "smithy.api#idempotencyToken": {} } + }, + "assetDescription": { + "target": "com.amazonaws.iotsitewise#Description", + "traits": { + "smithy.api#documentation": "

A description for the asset.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/ivschat.json b/codegen/sdk-codegen/aws-models/ivschat.json index 5d58cc8c4c4..46f456bacdc 100644 --- a/codegen/sdk-codegen/aws-models/ivschat.json +++ b/codegen/sdk-codegen/aws-models/ivschat.json @@ -888,7 +888,7 @@ "fallbackResult": { "target": "com.amazonaws.ivschat#FallbackResult", "traits": { - "smithy.api#documentation": "

Specifies the fallback behavior (whether the message is allowed or denied) if the handler\n does not return a valid response, encounters an error or times out. If allowed, the message is\n delivered with returned content to all users connected to the room. If denied, the message is\n not delivered to any user. Default: ALLOW.

" + "smithy.api#documentation": "

Specifies the fallback behavior (whether the message is allowed or denied) if the handler\n does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is\n delivered with returned content to all users connected to the room. If denied, the message is\n not delivered to any user. Default: ALLOW.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/kendra.json b/codegen/sdk-codegen/aws-models/kendra.json index 77759625425..79f5e7958d4 100644 --- a/codegen/sdk-codegen/aws-models/kendra.json +++ b/codegen/sdk-codegen/aws-models/kendra.json @@ -2675,6 +2675,12 @@ "traits": { "smithy.api#documentation": "

Provides the configuration information to connect to Jira as your \n data source.

" } + }, + "GitHubConfiguration": { + "target": "com.amazonaws.kendra#GitHubConfiguration", + "traits": { + "smithy.api#documentation": "

Provides the configuration information to connect to GitHub as \n your data source.

" + } } }, "traits": { @@ -3144,6 +3150,10 @@ { "value": "JIRA", "name": "JIRA" + }, + { + "value": "GITHUB", + "name": "GITHUB" } ] } @@ -4748,7 +4758,7 @@ "Id": { "target": "com.amazonaws.kendra#DocumentId", "traits": { - "smithy.api#documentation": "

A unique identifier of the document in the index.

", + "smithy.api#documentation": "

A unique identifier of the document in the index.

\n

Note, each document ID must be unique per index. You cannot create a data source \n to index your documents with their unique IDs and then use the \n BatchPutDocument API to index the same documents, or vice versa. You \n can delete a data source and then use the BatchPutDocument API to index \n the same documents, or vice versa.

", "smithy.api#required": {} } }, @@ -6156,6 +6166,197 @@ } } }, + "com.amazonaws.kendra#GitHubConfiguration": { + "type": "structure", + "members": { + "SaaSConfiguration": { + "target": "com.amazonaws.kendra#SaaSConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information to connect to GitHub Enterprise Cloud (SaaS).

" + } + }, + "OnPremiseConfiguration": { + "target": "com.amazonaws.kendra#OnPremiseConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information to connect to GitHub Enterprise Server (on premises).

" + } + }, + "Type": { + "target": "com.amazonaws.kendra#Type", + "traits": { + "smithy.api#documentation": "

The type of GitHub service you want to connect to—GitHub Enterprise\n Cloud (SaaS) or GitHub Enterprise Server (on premises).

" + } + }, + "SecretArn": { + "target": "com.amazonaws.kendra#SecretArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains\n the key-value pairs required to connect to your GitHub. The secret must contain\n a JSON structure with the following keys:

\n ", + "smithy.api#required": {} + } + }, + "UseChangeLog": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to use the GitHub change log to determine which documents require\n updating in the index. Depending on the GitHub change log's size, it may take longer\n for Amazon Kendra to use the change log than to scan all of your documents in\n GitHub.

" + } + }, + "GitHubDocumentCrawlProperties": { + "target": "com.amazonaws.kendra#GitHubDocumentCrawlProperties", + "traits": { + "smithy.api#documentation": "

Configuration information to include certain types of GitHub content. You can\n configure to index repository files only, or also include issues and pull requests,\n comments, and comment attachments.

" + } + }, + "RepositoryFilter": { + "target": "com.amazonaws.kendra#RepositoryNames", + "traits": { + "smithy.api#documentation": "

A list of names of the specific repositories you want to index.

" + } + }, + "InclusionFolderNamePatterns": { + "target": "com.amazonaws.kendra#StringList", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to include certain folder names in your\n GitHub repository or repositories. Folder names that match the patterns are\n included in the index. Folder names that don't match the patterns are excluded\n from the index. If a folder matches both an inclusion and exclusion pattern, the\n exclusion pattern takes precedence and the folder isn't included in the index.

" + } + }, + "InclusionFileTypePatterns": { + "target": "com.amazonaws.kendra#StringList", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to include certain file types in your\n GitHub repository or repositories. File types that match the patterns are\n included in the index. File types that don't match the patterns are excluded\n from the index. If a file matches both an inclusion and exclusion pattern, the\n exclusion pattern takes precedence and the file isn't included in the index.

" + } + }, + "InclusionFileNamePatterns": { + "target": "com.amazonaws.kendra#StringList", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to include certain file names in your\n GitHub repository or repositories. File names that match the patterns are\n included in the index. File names that don't match the patterns are excluded\n from the index. If a file matches both an inclusion and exclusion pattern, the\n exclusion pattern takes precedence and the file isn't included in the index.

" + } + }, + "ExclusionFolderNamePatterns": { + "target": "com.amazonaws.kendra#StringList", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to exclude certain folder names in your\n GitHub repository or repositories. Folder names that match the patterns are excluded\n from the index. Folder names that don't match the patterns are included in the index.\n If a folder matches both an exclusion and inclusion pattern, the exclusion pattern\n takes precedence and the folder isn't included in the index.

" + } + }, + "ExclusionFileTypePatterns": { + "target": "com.amazonaws.kendra#StringList", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to exclude certain file types in your\n GitHub repository or repositories. File types that match the patterns are excluded\n from the index. File types that don't match the patterns are included in the index.\n If a file matches both an exclusion and inclusion pattern, the exclusion pattern\n takes precedence and the file isn't included in the index.

" + } + }, + "ExclusionFileNamePatterns": { + "target": "com.amazonaws.kendra#StringList", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to exclude certain file names in your\n GitHub repository or repositories. File names that match the patterns are excluded\n from the index. File names that don't match the patterns are included in the index.\n If a file matches both an exclusion and inclusion pattern, the exclusion pattern\n takes precedence and the file isn't included in the index.

" + } + }, + "VpcConfiguration": { + "target": "com.amazonaws.kendra#DataSourceVpcConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information of an Amazon Virtual Private Cloud to connect to your\n GitHub. For more information, see Configuring a VPC.

" + } + }, + "GitHubRepositoryConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map GitHub\n repository attributes or field names to Amazon Kendra index field names.\n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + }, + "GitHubCommitConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes\n or field names of GitHub commits to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + }, + "GitHubIssueDocumentConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes\n or field names of GitHub issues to Amazon Kendra index field names.\n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + }, + "GitHubIssueCommentConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes\n or field names of GitHub issue comments to Amazon Kendra index field names.\n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + }, + "GitHubIssueAttachmentConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes\n or field names of GitHub issue attachments to Amazon Kendra index field names.\n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + }, + "GitHubPullRequestCommentConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes\n or field names of GitHub pull request comments to Amazon Kendra index field names.\n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + }, + "GitHubPullRequestDocumentConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes\n or field names of GitHub pull requests to Amazon Kendra index field names.\n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + }, + "GitHubPullRequestDocumentAttachmentConfigurationFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes\n or field names of GitHub pull request attachments to Amazon Kendra index field names.\n To create custom fields, use the UpdateIndex API before you map to\n GitHub fields. For more information, see Mapping data source fields.\n The GitHub data source field names must exist in your GitHub custom metadata.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides the configuration information to connect to GitHub\n as your data source.

" + } + }, + "com.amazonaws.kendra#GitHubDocumentCrawlProperties": { + "type": "structure", + "members": { + "CrawlRepositoryDocuments": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to index all files with a repository.

" + } + }, + "CrawlIssue": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to index all issues within a repository.

" + } + }, + "CrawlIssueComment": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to index all comments on issues.

" + } + }, + "CrawlIssueCommentAttachment": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to include all comment attachments for issues.

" + } + }, + "CrawlPullRequest": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to index all pull requests within a repository.

" + } + }, + "CrawlPullRequestComment": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to index all comments on pull requests.

" + } + }, + "CrawlPullRequestCommentAttachment": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to include all comment attachments for pull requests.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides the configuration information to include certain types of GitHub content. You can\n configure to index repository files only, or also include issues and pull requests,\n comments, and comment attachments.

" + } + }, "com.amazonaws.kendra#GoogleDriveConfiguration": { "type": "structure", "members": { @@ -6822,7 +7023,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that \n contains the key-value pairs required to connect to your Jira \n data source. The secret must \n contain a JSON structure with the following keys:

\n ", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that \n contains the key-value pairs required to connect to your Jira \n data source. The secret must \n contain a JSON structure with the following keys:

\n ", "smithy.api#required": {} } }, @@ -6904,6 +7105,9 @@ "smithy.api#documentation": "

Configuration information for an \n Amazon Virtual Private Cloud to connect to your Jira. Your Jira \n account must reside inside your VPC.

" } } + }, + "traits": { + "smithy.api#documentation": "

Provides the configuration information to connect to Jira as your \n data source.

" } }, "com.amazonaws.kendra#JiraStatus": { @@ -8178,6 +8382,35 @@ "smithy.api#box": {} } }, + "com.amazonaws.kendra#OnPremiseConfiguration": { + "type": "structure", + "members": { + "HostUrl": { + "target": "com.amazonaws.kendra#Url", + "traits": { + "smithy.api#documentation": "

The GitHub host URL or API endpoint URL. For example,\n https://on-prem-host-url/api/v3/\n

", + "smithy.api#required": {} + } + }, + "OrganizationName": { + "target": "com.amazonaws.kendra#OrganizationName", + "traits": { + "smithy.api#documentation": "

The name of the organization of the GitHub Enterprise Server (in-premise) account you want\n to connect to. You can find your organization name by logging into GitHub desktop and\n selecting Your organizations under your profile picture dropdown.

", + "smithy.api#required": {} + } + }, + "SslCertificateS3Path": { + "target": "com.amazonaws.kendra#S3Path", + "traits": { + "smithy.api#documentation": "

Information required to find a specific file in an Amazon S3 bucket.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides the configuration information to connect to GitHub Enterprise Server (on premises).

" + } + }, "com.amazonaws.kendra#OneDriveConfiguration": { "type": "structure", "members": { @@ -8298,6 +8531,16 @@ "smithy.api#pattern": "^d-[0-9a-fA-F]{10}$" } }, + "com.amazonaws.kendra#OrganizationName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 60 + }, + "smithy.api#pattern": "^[A-Za-z0-9_.-]+$" + } + }, "com.amazonaws.kendra#Persona": { "type": "string", "traits": { @@ -9188,6 +9431,22 @@ ] } }, + "com.amazonaws.kendra#RepositoryName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[A-Za-z0-9_.-]+$" + } + }, + "com.amazonaws.kendra#RepositoryNames": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#RepositoryName" + } + }, "com.amazonaws.kendra#ResourceAlreadyExistException": { "type": "structure", "members": { @@ -9342,6 +9601,28 @@ "smithy.api#documentation": "

Information required to find a specific file in an Amazon S3\n bucket.

" } }, + "com.amazonaws.kendra#SaaSConfiguration": { + "type": "structure", + "members": { + "OrganizationName": { + "target": "com.amazonaws.kendra#OrganizationName", + "traits": { + "smithy.api#documentation": "

The name of the organization of the GitHub Enterprise Cloud (SaaS) account you want\n to connect to. You can find your organization name by logging into GitHub desktop and\n selecting Your organizations under your profile picture dropdown.

", + "smithy.api#required": {} + } + }, + "HostUrl": { + "target": "com.amazonaws.kendra#Url", + "traits": { + "smithy.api#documentation": "

The GitHub host URL or API endpoint URL. For example, \n https://api.github.com.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides the configuration information to connect to GitHub Enterprise Cloud (SaaS).

" + } + }, "com.amazonaws.kendra#SalesforceChatterFeedConfiguration": { "type": "structure", "members": { @@ -9896,12 +10177,12 @@ "KmsKeyId": { "target": "com.amazonaws.kendra#KmsKeyId", "traits": { - "smithy.api#documentation": "

The identifier of the KMScustomer master key (CMK). Amazon Kendra\n doesn't support asymmetric CMKs.

" + "smithy.api#documentation": "

The identifier of the KMS key. Amazon Kendra\n doesn't support asymmetric keys.

" } } }, "traits": { - "smithy.api#documentation": "

Provides the identifier of the KMScustomer master key (CMK)\n used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support\n asymmetric CMKs.

" + "smithy.api#documentation": "

Provides the identifier of the KMS key used to \n encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't \n support asymmetric keys.

" } }, "com.amazonaws.kendra#ServiceNowAuthenticationType": { @@ -10679,6 +10960,12 @@ } } }, + "com.amazonaws.kendra#StringList": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#String" + } + }, "com.amazonaws.kendra#SubmitFeedback": { "type": "operation", "input": { @@ -11206,6 +11493,21 @@ } } }, + "com.amazonaws.kendra#Type": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SAAS", + "name": "SAAS" + }, + { + "value": "ON_PREMISE", + "name": "ON_PREMISE" + } + ] + } + }, "com.amazonaws.kendra#UntagResource": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/lightsail.json b/codegen/sdk-codegen/aws-models/lightsail.json index f17b211494a..a048a8afa8c 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.json +++ b/codegen/sdk-codegen/aws-models/lightsail.json @@ -2344,6 +2344,12 @@ "traits": { "smithy.api#documentation": "

The publicly accessible URL of the container service.

\n\n

If no public endpoint is specified in the currentDeployment, this URL returns\n a 404 response.

" } + }, + "privateRegistryAccess": { + "target": "com.amazonaws.lightsail#PrivateRegistryAccess", + "traits": { + "smithy.api#documentation": "

An object that describes the configuration for the container service to access private\n container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private\n repositories.

\n\n

For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

" + } } }, "traits": { @@ -2437,6 +2443,40 @@ ] } }, + "com.amazonaws.lightsail#ContainerServiceECRImagePullerRole": { + "type": "structure", + "members": { + "isActive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

A Boolean value that indicates whether the role is activated.

" + } + }, + "principalArn": { + "target": "com.amazonaws.lightsail#string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role, if it is activated.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the activation status of the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR)\n private repositories.

\n\n

When activated, Lightsail creates an Identity and Access Management (IAM) role\n for the specified Lightsail container service. You can use the ARN of the role to create a\n trust relationship between your Lightsail container service and an Amazon ECR private repository in your Amazon Web Services account. This allows your container\n service to pull images from Amazon ECR private repositories. For more information, see\n Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

" + } + }, + "com.amazonaws.lightsail#ContainerServiceECRImagePullerRoleRequest": { + "type": "structure", + "members": { + "isActive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

A Boolean value that indicates whether to activate the role.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes a request to activate or deactivate the role that you can use to grant an\n Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.

\n\n

When activated, Lightsail creates an Identity and Access Management (IAM) role\n for the specified Lightsail container service. You can use the ARN of the role to create a\n trust relationship between your Lightsail container service and an Amazon ECR private repository in your Amazon Web Services account. This allows your container\n service to pull images from Amazon ECR private repositories. For more information, see\n Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

" + } + }, "com.amazonaws.lightsail#ContainerServiceEndpoint": { "type": "structure", "members": { @@ -3511,6 +3551,12 @@ "traits": { "smithy.api#documentation": "

An object that describes a deployment for the container service.

\n\n

A deployment specifies the containers that will be launched on the container service and\n their settings, such as the ports to open, the environment variables to apply, and the launch\n command to run. It also specifies the container that will serve as the public endpoint of the\n deployment and its settings, such as the HTTP or HTTPS port to use, and the health check\n configuration.

" } + }, + "privateRegistryAccess": { + "target": "com.amazonaws.lightsail#PrivateRegistryAccessRequest", + "traits": { + "smithy.api#documentation": "

An object to describe the configuration for the container service to access private\n container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private\n repositories.

\n\n

For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

" + } } } }, @@ -16015,6 +16061,34 @@ ] } }, + "com.amazonaws.lightsail#PrivateRegistryAccess": { + "type": "structure", + "members": { + "ecrImagePullerRole": { + "target": "com.amazonaws.lightsail#ContainerServiceECRImagePullerRole", + "traits": { + "smithy.api#documentation": "

An object that describes the activation status of the role that you can use to grant a\n Lightsail container service access to Amazon ECR private\n repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also\n listed.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the configuration for an Amazon Lightsail container service to\n access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories.

\n\n

For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

" + } + }, + "com.amazonaws.lightsail#PrivateRegistryAccessRequest": { + "type": "structure", + "members": { + "ecrImagePullerRole": { + "target": "com.amazonaws.lightsail#ContainerServiceECRImagePullerRoleRequest", + "traits": { + "smithy.api#documentation": "

An object to describe a request to activate or deactivate the role that you can use to\n grant an Amazon Lightsail container service access to Amazon Elastic Container Registry\n (Amazon ECR) private repositories.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes a request to configure an Amazon Lightsail container service to\n access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories.

\n\n

For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

" + } + }, "com.amazonaws.lightsail#PutAlarm": { "type": "operation", "input": { @@ -18736,6 +18810,12 @@ "traits": { "smithy.api#documentation": "

The public domain names to use with the container service, such as\n example.com and www.example.com.

\n\n

You can specify up to four public domain names for a container service. The domain names\n that you specify are used when you create a deployment with a container configured as the\n public endpoint of your container service.

\n\n

If you don't specify public domain names, then you can use the default domain of the\n container service.

\n\n \n

You must create and validate an SSL/TLS certificate before you can use public domain\n names with your container service. Use the CreateCertificate action to create a\n certificate for the public domain names you want to use with your container service.

\n
\n\n

You can specify public domain names using a string to array map as shown in the example\n later on this page.

" } + }, + "privateRegistryAccess": { + "target": "com.amazonaws.lightsail#PrivateRegistryAccessRequest", + "traits": { + "smithy.api#documentation": "

An object to describe the configuration for the container service to access private\n container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private\n repositories.

\n\n

For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/lookoutmetrics.json b/codegen/sdk-codegen/aws-models/lookoutmetrics.json index adcc54b2102..631775c3efb 100644 --- a/codegen/sdk-codegen/aws-models/lookoutmetrics.json +++ b/codegen/sdk-codegen/aws-models/lookoutmetrics.json @@ -728,6 +728,106 @@ "smithy.api#pattern": "^arn:([a-z\\d-]+):.*:.*:.*:.+$" } }, + "com.amazonaws.lookoutmetrics#AthenaDataCatalog": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" + } + }, + "com.amazonaws.lookoutmetrics#AthenaDatabaseName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_]+$" + } + }, + "com.amazonaws.lookoutmetrics#AthenaS3ResultsPath": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + }, + "smithy.api#pattern": "^s3://[a-z0-9].+$" + } + }, + "com.amazonaws.lookoutmetrics#AthenaSourceConfig": { + "type": "structure", + "members": { + "RoleArn": { + "target": "com.amazonaws.lookoutmetrics#Arn", + "traits": { + "smithy.api#documentation": "

An IAM role that gives Amazon Lookout for Metrics permission to access the data.

" + } + }, + "DatabaseName": { + "target": "com.amazonaws.lookoutmetrics#AthenaDatabaseName", + "traits": { + "smithy.api#documentation": "

The database's name.

" + } + }, + "DataCatalog": { + "target": "com.amazonaws.lookoutmetrics#AthenaDataCatalog", + "traits": { + "smithy.api#documentation": "

The database's data catalog.

" + } + }, + "TableName": { + "target": "com.amazonaws.lookoutmetrics#AthenaTableName", + "traits": { + "smithy.api#documentation": "

The database's table name.

" + } + }, + "WorkGroupName": { + "target": "com.amazonaws.lookoutmetrics#AthenaWorkGroupName", + "traits": { + "smithy.api#documentation": "

The database's work group name.

" + } + }, + "S3ResultsPath": { + "target": "com.amazonaws.lookoutmetrics#AthenaS3ResultsPath", + "traits": { + "smithy.api#documentation": "

The database's results path.

" + } + }, + "BackTestConfiguration": { + "target": "com.amazonaws.lookoutmetrics#BackTestConfiguration", + "traits": { + "smithy.api#documentation": "

Settings for backtest mode.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about an Amazon Athena datasource.

" + } + }, + "com.amazonaws.lookoutmetrics#AthenaTableName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_]+$" + } + }, + "com.amazonaws.lookoutmetrics#AthenaWorkGroupName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[a-zA-Z0-9._-]{1,128}$" + } + }, "com.amazonaws.lookoutmetrics#AttributeValue": { "type": "structure", "members": { @@ -856,6 +956,21 @@ "type": "structure", "members": {} }, + "com.amazonaws.lookoutmetrics#BackTestConfiguration": { + "type": "structure", + "members": { + "RunBackTestMode": { + "target": "com.amazonaws.lookoutmetrics#Boolean", + "traits": { + "smithy.api#documentation": "

Run a backtest instead of monitoring new data.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Settings for backtest mode.

" + } + }, "com.amazonaws.lookoutmetrics#BinaryAttributeValue": { "type": "string" }, @@ -904,6 +1019,12 @@ "traits": { "smithy.api#documentation": "

An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch.

" } + }, + "BackTestConfiguration": { + "target": "com.amazonaws.lookoutmetrics#BackTestConfiguration", + "traits": { + "smithy.api#documentation": "

Settings for backtest mode.

" + } } }, "traits": { @@ -3618,30 +3739,36 @@ "AppFlowConfig": { "target": "com.amazonaws.lookoutmetrics#AppFlowConfig", "traits": { - "smithy.api#documentation": "

An object containing information about the AppFlow configuration.

" + "smithy.api#documentation": "

Details about an AppFlow datasource.

" } }, "CloudWatchConfig": { "target": "com.amazonaws.lookoutmetrics#CloudWatchConfig", "traits": { - "smithy.api#documentation": "

An object containing information about the Amazon CloudWatch monitoring configuration.

" + "smithy.api#documentation": "

Details about an Amazon CloudWatch monitoring datasource.

" } }, "RDSSourceConfig": { "target": "com.amazonaws.lookoutmetrics#RDSSourceConfig", "traits": { - "smithy.api#documentation": "

An object containing information about the Amazon Relational Database Service (RDS) configuration.

" + "smithy.api#documentation": "

Details about an Amazon Relational Database Service (RDS) datasource.

" } }, "RedshiftSourceConfig": { "target": "com.amazonaws.lookoutmetrics#RedshiftSourceConfig", "traits": { - "smithy.api#documentation": "

An object containing information about the Amazon Redshift database configuration.

" + "smithy.api#documentation": "

Details about an Amazon Redshift database datasource.

" + } + }, + "AthenaSourceConfig": { + "target": "com.amazonaws.lookoutmetrics#AthenaSourceConfig", + "traits": { + "smithy.api#documentation": "

Details about an Amazon Athena datasource.

" } } }, "traits": { - "smithy.api#documentation": "

Contains information about source data used to generate a metric.

" + "smithy.api#documentation": "

Contains information about source data used to generate metrics.

" } }, "com.amazonaws.lookoutmetrics#MetricValue": { @@ -4025,6 +4152,12 @@ "smithy.api#documentation": "

The ARN of the target SNS topic.

", "smithy.api#required": {} } + }, + "SnsFormat": { + "target": "com.amazonaws.lookoutmetrics#SnsFormat", + "traits": { + "smithy.api#documentation": "

The format of the SNS topic.

" + } } }, "traits": { @@ -4154,6 +4287,25 @@ "smithy.api#httpError": 402 } }, + "com.amazonaws.lookoutmetrics#SnsFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "LONG_TEXT", + "name": "LONG_TEXT" + }, + { + "value": "SHORT_TEXT", + "name": "SHORT_TEXT" + }, + { + "value": "JSON", + "name": "JSON" + } + ] + } + }, "com.amazonaws.lookoutmetrics#StringAttributeValue": { "type": "string" }, diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.json b/codegen/sdk-codegen/aws-models/mediaconvert.json index ff375cb30b3..9c476617857 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.json @@ -599,6 +599,35 @@ "smithy.api#documentation": "Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF." } }, + "com.amazonaws.mediaconvert#AllowedRenditionSize": { + "type": "structure", + "members": { + "Height": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", + "smithy.api#jsonName": "height" + } + }, + "Required": { + "target": "com.amazonaws.mediaconvert#RequiredFlag", + "traits": { + "smithy.api#documentation": "Set to ENABLED to force a rendition to be included.", + "smithy.api#jsonName": "required" + } + }, + "Width": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", + "smithy.api#jsonName": "width" + } + } + }, + "traits": { + "smithy.api#documentation": "Use Allowed renditions to specify a list of possible resolutions in your ABR stack. * MediaConvert will create an ABR stack exclusively from the list of resolutions that you specify. * Some resolutions in the Allowed renditions list may not be included, however you can force a resolution to be included by setting Required to ENABLED. * You must specify at least one resolution that is greater than or equal to any resolutions that you specify in Min top rendition size or Min bottom rendition size. * If you specify Allowed renditions, you must not specify a separate rule for Force include renditions." + } + }, "com.amazonaws.mediaconvert#AlphaBehavior": { "type": "string", "traits": { @@ -1345,6 +1374,49 @@ ] } }, + "com.amazonaws.mediaconvert#AutomatedAbrRule": { + "type": "structure", + "members": { + "AllowedRenditions": { + "target": "com.amazonaws.mediaconvert#__listOfAllowedRenditionSize", + "traits": { + "smithy.api#documentation": "When customer adds the allowed renditions rule for auto ABR ladder, they are required to add at leat one rendition to allowedRenditions list", + "smithy.api#jsonName": "allowedRenditions" + } + }, + "ForceIncludeRenditions": { + "target": "com.amazonaws.mediaconvert#__listOfForceIncludeRenditionSize", + "traits": { + "smithy.api#documentation": "When customer adds the force include renditions rule for auto ABR ladder, they are required to add at leat one rendition to forceIncludeRenditions list", + "smithy.api#jsonName": "forceIncludeRenditions" + } + }, + "MinBottomRenditionSize": { + "target": "com.amazonaws.mediaconvert#MinBottomRenditionSize", + "traits": { + "smithy.api#documentation": "Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack. * The lowest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 640x360 the lowest resolution in your ABR stack will be equal to or greater than to 640x360. * If you specify a Min top rendition size rule, the value that you specify for Min bottom rendition size must be less than, or equal to, Min top rendition size.", + "smithy.api#jsonName": "minBottomRenditionSize" + } + }, + "MinTopRenditionSize": { + "target": "com.amazonaws.mediaconvert#MinTopRenditionSize", + "traits": { + "smithy.api#documentation": "Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack. * The highest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 1280x720 the highest resolution in your ABR stack will be equal to or greater than 1280x720. * If you specify a value for Max resolution, the value that you specify for Min top rendition size must be less than, or equal to, Max resolution.", + "smithy.api#jsonName": "minTopRenditionSize" + } + }, + "Type": { + "target": "com.amazonaws.mediaconvert#RuleType", + "traits": { + "smithy.api#documentation": "Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack. * The highest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 1280x720 the highest resolution in your ABR stack will be equal to or greater than 1280x720. * If you specify a value for Max resolution, the value that you specify for Min top rendition size must be less than, or equal to, Max resolution. Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack. * The lowest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 640x360 the lowest resolution in your ABR stack will be equal to or greater than to 640x360. * If you specify a Min top rendition size rule, the value that you specify for Min bottom rendition size must be less than, or equal to, Min top rendition size. Use Force include renditions to specify one or more resolutions to include your ABR stack. * (Recommended) To optimize automated ABR, specify as few resolutions as possible. * (Required) The number of resolutions that you specify must be equal to, or less than, the Max renditions setting. * If you specify a Min top rendition size rule, specify at least one resolution that is equal to, or greater than, Min top rendition size. * If you specify a Min bottom rendition size rule, only specify resolutions that are equal to, or greater than, Min bottom rendition size. * If you specify a Force include renditions rule, do not specify a separate rule for Allowed renditions. * Note: The ABR stack may include other resolutions that you do not specify here, depending on the Max renditions setting. Use Allowed renditions to specify a list of possible resolutions in your ABR stack. * (Required) The number of resolutions that you specify must be equal to, or greater than, the Max renditions setting. * MediaConvert will create an ABR stack exclusively from the list of resolutions that you specify. * Some resolutions in the Allowed renditions list may not be included, however you can force a resolution to be included by setting Required to ENABLED. * You must specify at least one resolution that is greater than or equal to any resolutions that you specify in Min top rendition size or Min bottom rendition size. * If you specify Allowed renditions, you must not specify a separate rule for Force include renditions.", + "smithy.api#jsonName": "type" + } + } + }, + "traits": { + "smithy.api#documentation": "Specify one or more Automated ABR rule types. Note: Force include and Allowed renditions are mutually exclusive." + } + }, "com.amazonaws.mediaconvert#AutomatedAbrSettings": { "type": "structure", "members": { @@ -1368,6 +1440,13 @@ "smithy.api#documentation": "Optional. The minimum target bitrate used in your automated ABR stack. Use this value to set a lower limit on the bitrate of video delivered to viewers with slow internet connections. If you don't specify a value, MediaConvert uses 600,000 (600 kb/s) by default.", "smithy.api#jsonName": "minAbrBitrate" } + }, + "Rules": { + "target": "com.amazonaws.mediaconvert#__listOfAutomatedAbrRule", + "traits": { + "smithy.api#documentation": "Optional. Use Automated ABR rules to specify restrictions for the rendition sizes MediaConvert will create in your ABR stack. You can use these rules if your ABR workflow has specific rendition size requirements, but you still want MediaConvert to optimize for video quality and overall file size.", + "smithy.api#jsonName": "rules" + } } }, "traits": { @@ -1492,7 +1571,7 @@ } }, "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode)." + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the AV1 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode)." } }, "com.amazonaws.mediaconvert#Av1RateControlMode": { @@ -3427,7 +3506,7 @@ "com.amazonaws.mediaconvert#CmfcKlvMetadata": { "type": "string", "traits": { - "smithy.api#documentation": "Applies to CMAF outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.", + "smithy.api#documentation": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.", "smithy.api#enum": [ { "value": "PASSTHROUGH", @@ -3520,7 +3599,7 @@ "KlvMetadata": { "target": "com.amazonaws.mediaconvert#CmfcKlvMetadata", "traits": { - "smithy.api#documentation": "Applies to CMAF outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.", + "smithy.api#documentation": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.", "smithy.api#jsonName": "klvMetadata" } }, @@ -5248,20 +5327,20 @@ "Mapping": { "target": "com.amazonaws.mediaconvert#DolbyVisionMapping", "traits": { - "smithy.api#documentation": "Required when you set Dolby Vision Profile (Profile) to Profile 8.1 (PROFILE_8_1). When you set Content mapping (Mapping) to None (HDR10_NOMAP), content mapping is not applied to the HDR10-compatible signal. Depending on the source peak nit level, clipping might occur on HDR devices without Dolby Vision. When you set Content mapping to Static (HDR10_1000), the transcoder creates a 1,000 nits peak HDR10-compatible signal by applying static content mapping to the source. This mode is speed-optimized for PQ10 sources with metadata that is created from analysis. For graded Dolby Vision content, be aware that creative intent might not be guaranteed with extreme 1,000 nits trims.", + "smithy.api#documentation": "Required when you set Dolby Vision Profile to Profile 8.1. When you set Content mapping to None, content mapping is not applied to the HDR10-compatible signal. Depending on the source peak nit level, clipping might occur on HDR devices without Dolby Vision. When you set Content mapping to HDR10 1000, the transcoder creates a 1,000 nits peak HDR10-compatible signal by applying static content mapping to the source. This mode is speed-optimized for PQ10 sources with metadata that is created from analysis. For graded Dolby Vision content, be aware that creative intent might not be guaranteed with extreme 1,000 nits trims.", "smithy.api#jsonName": "mapping" } }, "Profile": { "target": "com.amazonaws.mediaconvert#DolbyVisionProfile", "traits": { - "smithy.api#documentation": "Required when you use Dolby Vision (DolbyVision) processing. Set Profile (DolbyVisionProfile) to Profile 5 (Profile_5) to only include frame-interleaved Dolby Vision metadata in your output. Set Profile to Profile 8.1 (Profile_8_1) to include both frame-interleaved Dolby Vision metadata and HDR10 metadata in your output.", + "smithy.api#documentation": "Required when you use Dolby Vision processing. Set Profile to Profile 5 to only include frame-interleaved Dolby Vision metadata in your output. Set Profile to Profile 8.1 to include both frame-interleaved Dolby Vision metadata and HDR10 metadata in your output.", "smithy.api#jsonName": "profile" } } }, "traits": { - "smithy.api#documentation": "With AWS Elemental MediaConvert, you can create profile 5 Dolby Vision outputs from MXF and IMF sources that contain mastering information as frame-interleaved Dolby Vision metadata." + "smithy.api#documentation": "With AWS Elemental MediaConvert, you can create profile 5 or 8.1 Dolby Vision outputs from MXF and IMF sources." } }, "com.amazonaws.mediaconvert#DolbyVisionLevel6Metadata": { @@ -5309,7 +5388,7 @@ "com.amazonaws.mediaconvert#DolbyVisionMapping": { "type": "string", "traits": { - "smithy.api#documentation": "Required when you set Dolby Vision Profile (Profile) to Profile 8.1 (PROFILE_8_1). When you set Content mapping (Mapping) to None (HDR10_NOMAP), content mapping is not applied to the HDR10-compatible signal. Depending on the source peak nit level, clipping might occur on HDR devices without Dolby Vision. When you set Content mapping to Static (HDR10_1000), the transcoder creates a 1,000 nits peak HDR10-compatible signal by applying static content mapping to the source. This mode is speed-optimized for PQ10 sources with metadata that is created from analysis. For graded Dolby Vision content, be aware that creative intent might not be guaranteed with extreme 1,000 nits trims.", + "smithy.api#documentation": "Required when you set Dolby Vision Profile to Profile 8.1. When you set Content mapping to None, content mapping is not applied to the HDR10-compatible signal. Depending on the source peak nit level, clipping might occur on HDR devices without Dolby Vision. When you set Content mapping to HDR10 1000, the transcoder creates a 1,000 nits peak HDR10-compatible signal by applying static content mapping to the source. This mode is speed-optimized for PQ10 sources with metadata that is created from analysis. For graded Dolby Vision content, be aware that creative intent might not be guaranteed with extreme 1,000 nits trims.", "smithy.api#enum": [ { "value": "HDR10_NOMAP", @@ -5325,7 +5404,7 @@ "com.amazonaws.mediaconvert#DolbyVisionProfile": { "type": "string", "traits": { - "smithy.api#documentation": "Required when you use Dolby Vision (DolbyVision) processing. Set Profile (DolbyVisionProfile) to Profile 5 (Profile_5) to only include frame-interleaved Dolby Vision metadata in your output. Set Profile to Profile 8.1 (Profile_8_1) to include both frame-interleaved Dolby Vision metadata and HDR10 metadata in your output.", + "smithy.api#documentation": "Required when you use Dolby Vision processing. Set Profile to Profile 5 to only include frame-interleaved Dolby Vision metadata in your output. Set Profile to Profile 8.1 to include both frame-interleaved Dolby Vision metadata and HDR10 metadata in your output.", "smithy.api#enum": [ { "value": "PROFILE_5", @@ -7062,6 +7141,28 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.mediaconvert#ForceIncludeRenditionSize": { + "type": "structure", + "members": { + "Height": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", + "smithy.api#jsonName": "height" + } + }, + "Width": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", + "smithy.api#jsonName": "width" + } + } + }, + "traits": { + "smithy.api#documentation": "Use Force include renditions to specify one or more resolutions to include your ABR stack. * (Recommended) To optimize automated ABR, specify as few resolutions as possible. * (Required) The number of resolutions that you specify must be equal to, or less than, the Max renditions setting. * If you specify a Min top rendition size rule, specify at least one resolution that is equal to, or greater than, Min top rendition size. * If you specify a Min bottom rendition size rule, only specify resolutions that are equal to, or greater than, Min bottom rendition size. * If you specify a Force include renditions rule, do not specify a separate rule for Allowed renditions. * Note: The ABR stack may include other resolutions that you do not specify here, depending on the Max renditions setting." + } + }, "com.amazonaws.mediaconvert#FrameCaptureSettings": { "type": "structure", "members": { @@ -7773,7 +7874,7 @@ } }, "traits": { - "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode)." + "smithy.api#documentation": "Settings for quality-defined variable bitrate encoding with the H.264 codec. Use these settings only when you set QVBR for Rate control mode (RateControlMode)." } }, "com.amazonaws.mediaconvert#H264RateControlMode": { @@ -10183,7 +10284,7 @@ "com.amazonaws.mediaconvert#ImscAccessibilitySubs": { "type": "string", "traits": { - "smithy.api#documentation": "Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", + "smithy.api#documentation": "Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled, if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", "smithy.api#enum": [ { "value": "DISABLED", @@ -10202,7 +10303,7 @@ "Accessibility": { "target": "com.amazonaws.mediaconvert#ImscAccessibilitySubs", "traits": { - "smithy.api#documentation": "Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", + "smithy.api#documentation": "Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled, if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", "smithy.api#jsonName": "accessibility" } }, @@ -12901,7 +13002,7 @@ "com.amazonaws.mediaconvert#M2tsKlvMetadata": { "type": "string", "traits": { - "smithy.api#documentation": "Applies to MPEG-TS outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.", + "smithy.api#documentation": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and passes it through to the output transport stream. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.", "smithy.api#enum": [ { "value": "PASSTHROUGH", @@ -13166,7 +13267,7 @@ "KlvMetadata": { "target": "com.amazonaws.mediaconvert#M2tsKlvMetadata", "traits": { - "smithy.api#documentation": "Applies to MPEG-TS outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.", + "smithy.api#documentation": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and passes it through to the output transport stream. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.", "smithy.api#jsonName": "klvMetadata" } }, @@ -13299,7 +13400,7 @@ "TimedMetadataPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { - "smithy.api#documentation": "Specify the packet identifier (PID) for timed metadata in this output. Default is 502.", + "smithy.api#documentation": "Packet Identifier (PID) of the ID3 metadata stream in the transport stream.", "smithy.api#jsonName": "timedMetadataPid" } }, @@ -13648,6 +13749,50 @@ } ] }, + "com.amazonaws.mediaconvert#MinBottomRenditionSize": { + "type": "structure", + "members": { + "Height": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", + "smithy.api#jsonName": "height" + } + }, + "Width": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", + "smithy.api#jsonName": "width" + } + } + }, + "traits": { + "smithy.api#documentation": "Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack. * The lowest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 640x360 the lowest resolution in your ABR stack will be equal to or greater than to 640x360. * If you specify a Min top rendition size rule, the value that you specify for Min bottom rendition size must be less than, or equal to, Min top rendition size." + } + }, + "com.amazonaws.mediaconvert#MinTopRenditionSize": { + "type": "structure", + "members": { + "Height": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", + "smithy.api#jsonName": "height" + } + }, + "Width": { + "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", + "traits": { + "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", + "smithy.api#jsonName": "width" + } + } + }, + "traits": { + "smithy.api#documentation": "Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack. * The highest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 1280x720 the highest resolution in your ABR stack will be equal to or greater than 1280x720. * If you specify a value for Max resolution, the value that you specify for Min top rendition size must be less than, or equal to, Max resolution." + } + }, "com.amazonaws.mediaconvert#MotionImageInserter": { "type": "structure", "members": { @@ -14134,7 +14279,7 @@ "com.amazonaws.mediaconvert#MpdKlvMetadata": { "type": "string", "traits": { - "smithy.api#documentation": "Applies to DASH ISO outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.", + "smithy.api#documentation": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.", "smithy.api#enum": [ { "value": "NONE", @@ -14206,7 +14351,7 @@ "KlvMetadata": { "target": "com.amazonaws.mediaconvert#MpdKlvMetadata", "traits": { - "smithy.api#documentation": "Applies to DASH ISO outputs. Use this setting to specify whether the service inserts the KLV metadata from the input in this output.", + "smithy.api#documentation": "To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.", "smithy.api#jsonName": "klvMetadata" } }, @@ -16601,6 +16746,22 @@ ] } }, + "com.amazonaws.mediaconvert#RequiredFlag": { + "type": "string", + "traits": { + "smithy.api#documentation": "Set to ENABLED to force a rendition to be included.", + "smithy.api#enum": [ + { + "value": "ENABLED", + "name": "ENABLED" + }, + { + "value": "DISABLED", + "name": "DISABLED" + } + ] + } + }, "com.amazonaws.mediaconvert#ReservationPlan": { "type": "structure", "members": { @@ -16741,6 +16902,30 @@ ] } }, + "com.amazonaws.mediaconvert#RuleType": { + "type": "string", + "traits": { + "smithy.api#documentation": "Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack. * The highest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 1280x720 the highest resolution in your ABR stack will be equal to or greater than 1280x720. * If you specify a value for Max resolution, the value that you specify for Min top rendition size must be less than, or equal to, Max resolution. Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack. * The lowest resolution in your ABR stack will be equal to or greater than the value that you enter. For example: If you specify 640x360 the lowest resolution in your ABR stack will be equal to or greater than to 640x360. * If you specify a Min top rendition size rule, the value that you specify for Min bottom rendition size must be less than, or equal to, Min top rendition size. Use Force include renditions to specify one or more resolutions to include your ABR stack. * (Recommended) To optimize automated ABR, specify as few resolutions as possible. * (Required) The number of resolutions that you specify must be equal to, or less than, the Max renditions setting. * If you specify a Min top rendition size rule, specify at least one resolution that is equal to, or greater than, Min top rendition size. * If you specify a Min bottom rendition size rule, only specify resolutions that are equal to, or greater than, Min bottom rendition size. * If you specify a Force include renditions rule, do not specify a separate rule for Allowed renditions. * Note: The ABR stack may include other resolutions that you do not specify here, depending on the Max renditions setting. Use Allowed renditions to specify a list of possible resolutions in your ABR stack. * (Required) The number of resolutions that you specify must be equal to, or greater than, the Max renditions setting. * MediaConvert will create an ABR stack exclusively from the list of resolutions that you specify. * Some resolutions in the Allowed renditions list may not be included, however you can force a resolution to be included by setting Required to ENABLED. * You must specify at least one resolution that is greater than or equal to any resolutions that you specify in Min top rendition size or Min bottom rendition size. * If you specify Allowed renditions, you must not specify a separate rule for Force include renditions.", + "smithy.api#enum": [ + { + "value": "MIN_TOP_RENDITION_SIZE", + "name": "MIN_TOP_RENDITION_SIZE" + }, + { + "value": "MIN_BOTTOM_RENDITION_SIZE", + "name": "MIN_BOTTOM_RENDITION_SIZE" + }, + { + "value": "FORCE_INCLUDE_RENDITIONS", + "name": "FORCE_INCLUDE_RENDITIONS" + }, + { + "value": "ALLOWED_RENDITIONS", + "name": "ALLOWED_RENDITIONS" + } + ] + } + }, "com.amazonaws.mediaconvert#S3DestinationAccessControl": { "type": "structure", "members": { @@ -19004,7 +19189,7 @@ "com.amazonaws.mediaconvert#WebvttAccessibilitySubs": { "type": "string", "traits": { - "smithy.api#documentation": "Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", + "smithy.api#documentation": "Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled, if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", "smithy.api#enum": [ { "value": "DISABLED", @@ -19023,7 +19208,7 @@ "Accessibility": { "target": "com.amazonaws.mediaconvert#WebvttAccessibilitySubs", "traits": { - "smithy.api#documentation": "Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled (DISABLED), if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", + "smithy.api#documentation": "Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing. When you enable this feature, MediaConvert adds the following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this track: CHARACTERISTICS=\"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound\" and AUTOSELECT=\"YES\". Keep the default value, Disabled, if the captions track is not intended to provide such accessibility. MediaConvert will not add the above attributes.", "smithy.api#jsonName": "accessibility" } }, @@ -20652,12 +20837,24 @@ } } }, + "com.amazonaws.mediaconvert#__listOfAllowedRenditionSize": { + "type": "list", + "member": { + "target": "com.amazonaws.mediaconvert#AllowedRenditionSize" + } + }, "com.amazonaws.mediaconvert#__listOfAudioDescription": { "type": "list", "member": { "target": "com.amazonaws.mediaconvert#AudioDescription" } }, + "com.amazonaws.mediaconvert#__listOfAutomatedAbrRule": { + "type": "list", + "member": { + "target": "com.amazonaws.mediaconvert#AutomatedAbrRule" + } + }, "com.amazonaws.mediaconvert#__listOfCaptionDescription": { "type": "list", "member": { @@ -20688,6 +20885,12 @@ "target": "com.amazonaws.mediaconvert#Endpoint" } }, + "com.amazonaws.mediaconvert#__listOfForceIncludeRenditionSize": { + "type": "list", + "member": { + "target": "com.amazonaws.mediaconvert#ForceIncludeRenditionSize" + } + }, "com.amazonaws.mediaconvert#__listOfHlsAdMarkers": { "type": "list", "member": { diff --git a/codegen/sdk-codegen/aws-models/networkmanager.json b/codegen/sdk-codegen/aws-models/networkmanager.json index 8577ac57744..109dd30698d 100644 --- a/codegen/sdk-codegen/aws-models/networkmanager.json +++ b/codegen/sdk-codegen/aws-models/networkmanager.json @@ -35,7 +35,8 @@ "smithy.api#length": { "min": 12, "max": 12 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#AWSLocation": { @@ -135,6 +136,41 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.networkmanager#AccountId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.networkmanager#AccountStatus": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.networkmanager#AccountId" + }, + "SLRDeploymentStatus": { + "target": "com.amazonaws.networkmanager#SLRDeploymentStatus" + } + } + }, + "com.amazonaws.networkmanager#AccountStatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.networkmanager#AccountStatus" + } + }, + "com.amazonaws.networkmanager#Action": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, "com.amazonaws.networkmanager#AssociateConnectPeer": { "type": "operation", "input": { @@ -251,7 +287,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates a customer gateway with a device and optionally, with a link. If you\n specify a link, it must be associated with the specified device.

\n

You can only associate customer gateways that are connected to a VPN attachment on a\n transit gateway. The transit gateway must be registered in your global network. When\n you register a transit gateway, customer gateways that are connected to the transit\n gateway are automatically included in the global network. To list customer gateways\n that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by\n transit-gateway-id.

\n

You cannot associate a customer gateway with more than one device and link.

", + "smithy.api#documentation": "

Associates a customer gateway with a device and optionally, with a link. If you\n specify a link, it must be associated with the specified device.

\n

You can only associate customer gateways that are connected to a VPN attachment on a\n transit gateway or core network registered in your global network. When you register a\n transit gateway or core network, customer gateways that are connected to the transit\n gateway are automatically included in the global network. To list customer gateways\n that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by\n transit-gateway-id.

\n

You cannot associate a customer gateway with more than one device and link.

", "smithy.api#http": { "method": "POST", "uri": "/global-networks/{GlobalNetworkId}/customer-gateway-associations", @@ -755,7 +791,8 @@ "smithy.api#length": { "min": 0, "max": 256 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#ConflictException": { @@ -1202,7 +1239,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#ConnectionHealth": { @@ -1237,7 +1275,8 @@ "smithy.api#length": { "min": 0, "max": 50 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#ConnectionIdList": { @@ -1311,7 +1350,8 @@ "smithy.api#length": { "min": 0, "max": 256 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#ConstrainedStringList": { @@ -1388,7 +1428,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#CoreNetworkChange": { @@ -1599,7 +1640,14 @@ } }, "com.amazonaws.networkmanager#CoreNetworkPolicyDocument": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } }, "com.amazonaws.networkmanager#CoreNetworkPolicyError": { "type": "structure", @@ -1967,7 +2015,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a core network connect peer for a specified core network connect attachment between a core network and an appliance.\n The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

", + "smithy.api#documentation": "

Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.\n The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

", "smithy.api#http": { "method": "POST", "uri": "/connect-peers", @@ -2620,7 +2668,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a site-to-site VPN attachment on an edge location of a core network.

", + "smithy.api#documentation": "

Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.

", "smithy.api#http": { "method": "POST", "uri": "/site-to-site-vpn-attachments", @@ -2770,7 +2818,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#CustomerGatewayArnList": { @@ -3268,7 +3317,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an existing global network. You must first delete all global network objects\n (devices, links, and sites) and deregister all transit gateways.

", + "smithy.api#documentation": "

Deletes an existing global network. You must first delete all global network objects\n (devices, links, and sites), deregister all transit gateways, and delete any core networks.

", "smithy.api#http": { "method": "DELETE", "uri": "/global-networks/{GlobalNetworkId}", @@ -3738,7 +3787,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#DeviceId": { @@ -3747,7 +3797,8 @@ "smithy.api#length": { "min": 0, "max": 50 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#DeviceIdList": { @@ -4152,7 +4203,8 @@ "smithy.api#length": { "min": 1, "max": 63 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#ExternalRegionCodeList": { @@ -4528,7 +4580,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about a core network. By default it returns the LIVE policy.

", + "smithy.api#documentation": "

Returns information about the LIVE policy for a core network.

", "smithy.api#http": { "method": "GET", "uri": "/core-networks/{CoreNetworkId}", @@ -6271,7 +6323,7 @@ } }, "traits": { - "smithy.api#documentation": "

Describes a global network. This is a single private network acting as a high-level container for your network objects, including an Amazon Web Services-manged Core Network.

" + "smithy.api#documentation": "

Describes a global network. This is a single private network acting as a high-level container for your network objects, including an Amazon Web Services-managed Core Network.

" } }, "com.amazonaws.networkmanager#GlobalNetworkArn": { @@ -6280,7 +6332,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#GlobalNetworkId": { @@ -6289,7 +6342,8 @@ "smithy.api#length": { "min": 0, "max": 50 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#GlobalNetworkIdList": { @@ -6333,7 +6387,8 @@ "smithy.api#length": { "min": 1, "max": 50 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#Integer": { @@ -6445,7 +6500,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#LinkAssociation": { @@ -6515,7 +6571,8 @@ "smithy.api#length": { "min": 0, "max": 50 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#LinkIdList": { @@ -6894,6 +6951,50 @@ } } }, + "com.amazonaws.networkmanager#ListOrganizationServiceAccessStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.networkmanager#ListOrganizationServiceAccessStatusRequest" + }, + "output": { + "target": "com.amazonaws.networkmanager#ListOrganizationServiceAccessStatusResponse" + }, + "traits": { + "smithy.api#http": { + "method": "GET", + "uri": "/organizations/service-access", + "code": 200 + } + } + }, + "com.amazonaws.networkmanager#ListOrganizationServiceAccessStatusRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.networkmanager#MaxResults", + "traits": { + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.networkmanager#NextToken", + "traits": { + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.networkmanager#ListOrganizationServiceAccessStatusResponse": { + "type": "structure", + "members": { + "OrganizationStatus": { + "target": "com.amazonaws.networkmanager#OrganizationStatus" + }, + "NextToken": { + "target": "com.amazonaws.networkmanager#NextToken" + } + } + }, "com.amazonaws.networkmanager#ListTagsForResource": { "type": "operation", "input": { @@ -7009,7 +7110,7 @@ "name": "networkmanager" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your\n Amazon Web Services and on-premises networks that are built around transit gateways.

", + "smithy.api#documentation": "

Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.

", "smithy.api#title": "AWS Network Manager" }, "version": "2019-07-05", @@ -7191,6 +7292,9 @@ { "target": "com.amazonaws.networkmanager#ListCoreNetworks" }, + { + "target": "com.amazonaws.networkmanager#ListOrganizationServiceAccessStatus" + }, { "target": "com.amazonaws.networkmanager#ListTagsForResource" }, @@ -7209,6 +7313,9 @@ { "target": "com.amazonaws.networkmanager#RestoreCoreNetworkPolicyVersion" }, + { + "target": "com.amazonaws.networkmanager#StartOrganizationServiceAccessUpdate" + }, { "target": "com.amazonaws.networkmanager#StartRouteAnalysis" }, @@ -7571,6 +7678,46 @@ "smithy.api#length": { "min": 0, "max": 2048 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } + }, + "com.amazonaws.networkmanager#OrganizationAwsServiceAccessStatus": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.networkmanager#OrganizationId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + }, + "smithy.api#pattern": "^o-([0-9a-f]{8,17})$" + } + }, + "com.amazonaws.networkmanager#OrganizationStatus": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.networkmanager#OrganizationId" + }, + "OrganizationAwsServiceAccessStatus": { + "target": "com.amazonaws.networkmanager#OrganizationAwsServiceAccessStatus" + }, + "SLRDeploymentStatus": { + "target": "com.amazonaws.networkmanager#SLRDeploymentStatus" + }, + "AccountStatusList": { + "target": "com.amazonaws.networkmanager#AccountStatusList", + "traits": { + "smithy.api#xmlName": "OrganizationStatus" + } } } }, @@ -7784,7 +7931,14 @@ "members": {} }, "com.amazonaws.networkmanager#ReasonContextKey": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } }, "com.amazonaws.networkmanager#ReasonContextMap": { "type": "map", @@ -7796,7 +7950,14 @@ } }, "com.amazonaws.networkmanager#ReasonContextValue": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } }, "com.amazonaws.networkmanager#RegisterTransitGateway": { "type": "operation", @@ -7959,7 +8120,8 @@ "smithy.api#length": { "min": 0, "max": 1500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#ResourceNotFoundException": { @@ -8401,8 +8563,24 @@ "target": "com.amazonaws.networkmanager#RouteType" } }, + "com.amazonaws.networkmanager#SLRDeploymentStatus": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, "com.amazonaws.networkmanager#ServerSideString": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } }, "com.amazonaws.networkmanager#ServiceQuotaExceededException": { "type": "structure", @@ -8509,7 +8687,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#SiteId": { @@ -8518,7 +8697,8 @@ "smithy.api#length": { "min": 0, "max": 50 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#SiteIdList": { @@ -8576,6 +8756,61 @@ "smithy.api#documentation": "

Creates a site-to-site VPN attachment.

" } }, + "com.amazonaws.networkmanager#StartOrganizationServiceAccessUpdate": { + "type": "operation", + "input": { + "target": "com.amazonaws.networkmanager#StartOrganizationServiceAccessUpdateRequest" + }, + "output": { + "target": "com.amazonaws.networkmanager#StartOrganizationServiceAccessUpdateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.networkmanager#AccessDeniedException" + }, + { + "target": "com.amazonaws.networkmanager#ConflictException" + }, + { + "target": "com.amazonaws.networkmanager#InternalServerException" + }, + { + "target": "com.amazonaws.networkmanager#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.networkmanager#ThrottlingException" + }, + { + "target": "com.amazonaws.networkmanager#ValidationException" + } + ], + "traits": { + "smithy.api#http": { + "method": "POST", + "uri": "/organizations/service-access", + "code": 200 + } + } + }, + "com.amazonaws.networkmanager#StartOrganizationServiceAccessUpdateRequest": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.networkmanager#Action", + "traits": { + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.networkmanager#StartOrganizationServiceAccessUpdateResponse": { + "type": "structure", + "members": { + "OrganizationStatus": { + "target": "com.amazonaws.networkmanager#OrganizationStatus" + } + } + }, "com.amazonaws.networkmanager#StartRouteAnalysis": { "type": "operation", "input": { @@ -8670,7 +8905,7 @@ "min": 0, "max": 500 }, - "smithy.api#pattern": "^arn:[^:]{1,63}:ec2:[^:]{0,63}:[^:]{0,63}:subnet\\/subnet-[0-9a-f]{8,17}$" + "smithy.api#pattern": "^arn:[^:]{1,63}:ec2:[^:]{0,63}:[^:]{0,63}:subnet\\/subnet-[0-9a-f]{8,17}$|^$" } }, "com.amazonaws.networkmanager#SubnetArnList": { @@ -8682,13 +8917,23 @@ "com.amazonaws.networkmanager#SynthesizedJsonCoreNetworkPolicyDocument": { "type": "string", "traits": { - "smithy.api#mediaType": "application/json" + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#mediaType": "application/json", + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#SynthesizedJsonResourcePolicyDocument": { "type": "string", "traits": { - "smithy.api#mediaType": "application/json" + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#mediaType": "application/json", + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#Tag": { @@ -8712,7 +8957,14 @@ } }, "com.amazonaws.networkmanager#TagKey": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } }, "com.amazonaws.networkmanager#TagKeyList": { "type": "list", @@ -8791,7 +9043,14 @@ "members": {} }, "com.amazonaws.networkmanager#TagValue": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000000 + }, + "smithy.api#pattern": "^[\\s\\S]*$" + } }, "com.amazonaws.networkmanager#ThrottlingException": { "type": "structure", @@ -8822,7 +9081,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#TransitGatewayArnList": { @@ -8837,7 +9097,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#TransitGatewayAttachmentId": { @@ -8846,7 +9107,8 @@ "smithy.api#length": { "min": 0, "max": 50 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#TransitGatewayConnectPeerArn": { @@ -8855,7 +9117,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#TransitGatewayConnectPeerArnList": { @@ -9016,7 +9279,8 @@ "smithy.api#length": { "min": 0, "max": 500 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkmanager#TunnelProtocol": { diff --git a/codegen/sdk-codegen/aws-models/personalize.json b/codegen/sdk-codegen/aws-models/personalize.json index d83c69b6779..7e2e23f7cc6 100644 --- a/codegen/sdk-codegen/aws-models/personalize.json +++ b/codegen/sdk-codegen/aws-models/personalize.json @@ -1837,6 +1837,9 @@ { "target": "com.amazonaws.personalize#ResourceAlreadyExistsException" }, + { + "target": "com.amazonaws.personalize#ResourceInUseException" + }, { "target": "com.amazonaws.personalize#ResourceNotFoundException" }, @@ -1845,7 +1848,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a recommender with the recipe (a Domain dataset group use case) you specify. \n You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a\n GetRecommendations\n request.\n

\n \n

\n Minimum recommendation requests per second\n

\n \n

When you create a recommender, you can configure the recommender's minimum recommendation requests per second. The minimum recommendation requests per second\n (minRecommendationRequestsPerSecond) specifies the baseline recommendation request throughput provisioned by\n Amazon Personalize. The default minRecommendationRequestsPerSecond is 1. A recommendation request is a single GetRecommendations operation.\n Request throughput is measured in requests per second and Amazon Personalize uses your requests per second to derive\n your requests per hour and the price of your recommender usage.\n

\n

\n If your requests per second increases beyond\n minRecommendationRequestsPerSecond, Amazon Personalize auto-scales the provisioned capacity up and down,\n but never below minRecommendationRequestsPerSecond.\n There's a short time delay while the capacity is increased that might cause loss of\n requests.

\n

\n Your bill is the greater of either the minimum requests per hour (based on minRecommendationRequestsPerSecond)\n or the actual number of requests. The actual request throughput used is calculated as the average requests/second within a one-hour window.\n \n We recommend starting with the default minRecommendationRequestsPerSecond, track\n your usage using Amazon CloudWatch metrics, and then increase the minRecommendationRequestsPerSecond\n as necessary.\n

\n \n

\n Status\n

\n

A recommender can be in one of the following states:

\n \n

To get the recommender status, call DescribeRecommender.

\n \n

Wait until the status of the recommender\n is ACTIVE before asking the recommender for recommendations.

\n
\n

\n Related APIs\n

\n ", + "smithy.api#documentation": "

Creates a recommender with the recipe (a Domain dataset group use case) you specify. \n You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a\n GetRecommendations\n request.\n

\n \n

\n Minimum recommendation requests per second\n

\n \n

When you create a recommender, you can configure the recommender's minimum recommendation requests per second. The minimum recommendation requests per second\n (minRecommendationRequestsPerSecond) specifies the baseline recommendation request throughput provisioned by\n Amazon Personalize. The default minRecommendationRequestsPerSecond is 1. A recommendation request is a single GetRecommendations operation.\n Request throughput is measured in requests per second and Amazon Personalize uses your requests per second to derive\n your requests per hour and the price of your recommender usage.\n

\n

\n If your requests per second increases beyond\n minRecommendationRequestsPerSecond, Amazon Personalize auto-scales the provisioned capacity up and down,\n but never below minRecommendationRequestsPerSecond.\n There's a short time delay while the capacity is increased that might cause loss of\n requests.

\n

\n Your bill is the greater of either the minimum requests per hour (based on minRecommendationRequestsPerSecond)\n or the actual number of requests. The actual request throughput used is calculated as the average requests/second within a one-hour window.\n \n We recommend starting with the default minRecommendationRequestsPerSecond, track\n your usage using Amazon CloudWatch metrics, and then increase the minRecommendationRequestsPerSecond\n as necessary.\n

\n \n

\n Status\n

\n

A recommender can be in one of the following states:

\n \n

To get the recommender status, call DescribeRecommender.

\n \n

Wait until the status of the recommender\n is ACTIVE before asking the recommender for recommendations.

\n
\n

\n Related APIs\n

\n ", "smithy.api#idempotent": {} } }, @@ -3704,7 +3707,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the given recommender, including its status.

\n

A recommender can be in one of the following states:

\n \n

When the status is CREATE FAILED, the response includes the\n failureReason key, which describes why.

\n

For more information on recommenders, see CreateRecommender.

", + "smithy.api#documentation": "

Describes the given recommender, including its status.

\n

A recommender can be in one of the following states:

\n \n

When the status is CREATE FAILED, the response includes the\n failureReason key, which describes why.

\n

The modelMetrics key is null when\n the recommender is being created or deleted.

\n

For more information on recommenders, see CreateRecommender.

", "smithy.api#idempotent": {} } }, @@ -4269,7 +4272,7 @@ "metrics": { "target": "com.amazonaws.personalize#Metrics", "traits": { - "smithy.api#documentation": "

The metrics for the solution version.

" + "smithy.api#documentation": "

The metrics for the solution version. For more information, see\n \n Evaluating a solution version with metrics\n .

" } } } @@ -5835,7 +5838,7 @@ "status": { "target": "com.amazonaws.personalize#Status", "traits": { - "smithy.api#documentation": "

The status of the recommender.

\n

A recommender can be in one of the following states:

\n " + "smithy.api#documentation": "

The status of the recommender.

\n

A recommender can be in one of the following states:

\n " } }, "failureReason": { @@ -5849,6 +5852,12 @@ "traits": { "smithy.api#documentation": "

Provides a summary of the latest updates to the recommender.

" } + }, + "modelMetrics": { + "target": "com.amazonaws.personalize#Metrics", + "traits": { + "smithy.api#documentation": "

Provides evaluation metrics that help you determine the performance\n of a recommender. For more information, see\n \n Evaluating a recommender.

" + } } }, "traits": { @@ -5911,7 +5920,7 @@ "status": { "target": "com.amazonaws.personalize#Status", "traits": { - "smithy.api#documentation": "

The status of the recommender. A recommender can be in one of the following states:

\n " + "smithy.api#documentation": "

The status of the recommender. A recommender can be in one of the following states:

\n " } }, "creationDateTime": { @@ -5955,7 +5964,7 @@ "status": { "target": "com.amazonaws.personalize#Status", "traits": { - "smithy.api#documentation": "

The status of the recommender update.

\n

A recommender can be in one of the following states:

\n " + "smithy.api#documentation": "

The status of the recommender update.

\n

A recommender can be in one of the following states:

\n " } }, "failureReason": { diff --git a/codegen/sdk-codegen/aws-models/proton.json b/codegen/sdk-codegen/aws-models/proton.json index 3d60114fa08..1a78e09c426 100644 --- a/codegen/sdk-codegen/aws-models/proton.json +++ b/codegen/sdk-codegen/aws-models/proton.json @@ -144,6 +144,9 @@ }, "version": "2020-07-20", "operations": [ + { + "target": "com.amazonaws.proton#CancelComponentDeployment" + }, { "target": "com.amazonaws.proton#CancelEnvironmentDeployment" }, @@ -179,6 +182,15 @@ { "target": "com.amazonaws.proton#AccountSettingsResource" }, + { + "target": "com.amazonaws.proton#ComponentOutputResource" + }, + { + "target": "com.amazonaws.proton#ComponentProvisionedResourceResource" + }, + { + "target": "com.amazonaws.proton#ComponentResource" + }, { "target": "com.amazonaws.proton#EnvironmentAccountConnectionResource" }, @@ -232,6 +244,72 @@ } ] }, + "com.amazonaws.proton#CancelComponentDeployment": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#CancelComponentDeploymentInput" + }, + "output": { + "target": "com.amazonaws.proton#CancelComponentDeploymentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#ConflictException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status).

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } + }, + "com.amazonaws.proton#CancelComponentDeploymentInput": { + "type": "structure", + "members": { + "componentName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the component with the deployment to cancel.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#references": [ + { + "resource": "com.amazonaws.proton#ComponentResource", + "ids": { + "name": "componentName" + } + } + ] + } + }, + "com.amazonaws.proton#CancelComponentDeploymentOutput": { + "type": "structure", + "members": { + "component": { + "target": "com.amazonaws.proton#Component", + "traits": { + "smithy.api#documentation": "

The detailed data of the component with the deployment that is being canceled.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.proton#CancelEnvironmentDeployment": { "type": "operation", "input": { @@ -436,93 +514,464 @@ "smithy.api#required": {} } } - } - }, - "com.amazonaws.proton#ClientToken": { - "type": "string", + } + }, + "com.amazonaws.proton#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 64 + }, + "smithy.api#pattern": "^[!-~]*$" + } + }, + "com.amazonaws.proton#CompatibleEnvironmentTemplate": { + "type": "structure", + "members": { + "templateName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The compatible environment template name.

", + "smithy.api#required": {} + } + }, + "majorVersion": { + "target": "com.amazonaws.proton#TemplateVersionPart", + "traits": { + "smithy.api#documentation": "

The major version of the compatible environment template.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Compatible environment template data.

" + } + }, + "com.amazonaws.proton#CompatibleEnvironmentTemplateInput": { + "type": "structure", + "members": { + "templateName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The compatible environment template name.

", + "smithy.api#required": {} + } + }, + "majorVersion": { + "target": "com.amazonaws.proton#TemplateVersionPart", + "traits": { + "smithy.api#documentation": "

The major version of the compatible environment template.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Compatible environment template data.

" + } + }, + "com.amazonaws.proton#CompatibleEnvironmentTemplateInputList": { + "type": "list", + "member": { + "target": "com.amazonaws.proton#CompatibleEnvironmentTemplateInput" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.proton#CompatibleEnvironmentTemplateList": { + "type": "list", + "member": { + "target": "com.amazonaws.proton#CompatibleEnvironmentTemplate" + } + }, + "com.amazonaws.proton#Component": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the component.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.proton#Description", + "traits": { + "smithy.api#documentation": "

A description of the component.

" + } + }, + "arn": { + "target": "com.amazonaws.proton#ComponentArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the component.

", + "smithy.api#required": {} + } + }, + "environmentName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Proton environment that this component is associated with.

", + "smithy.api#required": {} + } + }, + "serviceName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.

" + } + }, + "serviceInstanceName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.

" + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the component was created.

", + "smithy.api#required": {} + } + }, + "lastModifiedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the component was last modified.

", + "smithy.api#required": {} + } + }, + "lastDeploymentAttemptedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when a deployment of the component was last attempted.

" + } + }, + "lastDeploymentSucceededAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the component was last deployed successfully.

" + } + }, + "deploymentStatus": { + "target": "com.amazonaws.proton#DeploymentStatus", + "traits": { + "smithy.api#documentation": "

The component deployment status.

", + "smithy.api#required": {} + } + }, + "deploymentStatusMessage": { + "target": "com.amazonaws.proton#StatusMessage", + "traits": { + "smithy.api#documentation": "

The message associated with the component deployment status.

" + } + }, + "serviceSpec": { + "target": "com.amazonaws.proton#SpecContents", + "traits": { + "smithy.api#documentation": "

The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Detailed data of an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } + }, + "com.amazonaws.proton#ComponentArn": { + "type": "string", + "traits": { + "aws.api#arnReference": { + "resource": "com.amazonaws.proton#ComponentResource" + } + } + }, + "com.amazonaws.proton#ComponentDeploymentUpdateType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NONE", + "name": "NONE" + }, + { + "value": "CURRENT_VERSION", + "name": "CURRENT_VERSION" + } + ] + } + }, + "com.amazonaws.proton#ComponentOutputResource": { + "type": "resource", + "identifiers": { + "componentName": { + "target": "com.amazonaws.proton#ResourceName" + }, + "key": { + "target": "com.amazonaws.proton#OutputKey" + } + }, + "list": { + "target": "com.amazonaws.proton#ListComponentOutputs" + } + }, + "com.amazonaws.proton#ComponentProvisionedResourceResource": { + "type": "resource", + "identifiers": { + "componentName": { + "target": "com.amazonaws.proton#ResourceName" + }, + "name": { + "target": "com.amazonaws.proton#ProvisionedResourceName" + } + }, + "list": { + "target": "com.amazonaws.proton#ListComponentProvisionedResources" + } + }, + "com.amazonaws.proton#ComponentResource": { + "type": "resource", + "identifiers": { + "name": { + "target": "com.amazonaws.proton#ResourceName" + } + }, + "put": { + "target": "com.amazonaws.proton#CreateComponent" + }, + "read": { + "target": "com.amazonaws.proton#GetComponent" + }, + "update": { + "target": "com.amazonaws.proton#UpdateComponent" + }, + "delete": { + "target": "com.amazonaws.proton#DeleteComponent" + }, + "list": { + "target": "com.amazonaws.proton#ListComponents" + }, + "traits": { + "aws.api#arn": { + "template": "component/{name}", + "absolute": false, + "noAccount": false, + "noRegion": false + }, + "smithy.api#noReplace": {} + } + }, + "com.amazonaws.proton#ComponentSummary": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the component.

", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.proton#ComponentArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the component.

", + "smithy.api#required": {} + } + }, + "environmentName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Proton environment that this component is associated with.

", + "smithy.api#required": {} + } + }, + "serviceName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.

" + } + }, + "serviceInstanceName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.

" + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the component was created.

", + "smithy.api#required": {} + } + }, + "lastModifiedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the component was last modified.

", + "smithy.api#required": {} + } + }, + "lastDeploymentAttemptedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when a deployment of the component was last attempted.

" + } + }, + "lastDeploymentSucceededAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the component was last deployed successfully.

" + } + }, + "deploymentStatus": { + "target": "com.amazonaws.proton#DeploymentStatus", + "traits": { + "smithy.api#documentation": "

The component deployment status.

", + "smithy.api#required": {} + } + }, + "deploymentStatusMessage": { + "target": "com.amazonaws.proton#StatusMessage", + "traits": { + "smithy.api#documentation": "

The message associated with the component deployment status.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Summary data of an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } + }, + "com.amazonaws.proton#ComponentSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.proton#ComponentSummary" + } + }, + "com.amazonaws.proton#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.proton#ErrorMessage", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The request couldn't be made due to a conflicting operation or resource.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.proton#CreateComponent": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#CreateComponentInput" + }, + "output": { + "target": "com.amazonaws.proton#CreateComponentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#ConflictException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], "traits": { - "smithy.api#length": { - "max": 64 - }, - "smithy.api#pattern": "^[!-~]*$" + "smithy.api#documentation": "

Create an Proton component. A component is an infrastructure extension for a service instance.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

", + "smithy.api#idempotent": {} } }, - "com.amazonaws.proton#CompatibleEnvironmentTemplate": { + "com.amazonaws.proton#CreateComponentInput": { "type": "structure", "members": { - "templateName": { + "name": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The compatible environment template name.

", + "smithy.api#documentation": "

The customer-provided name of the component.

", "smithy.api#required": {} } }, - "majorVersion": { - "target": "com.amazonaws.proton#TemplateVersionPart", + "description": { + "target": "com.amazonaws.proton#Description", "traits": { - "smithy.api#documentation": "

The major version of the compatible environment template.

", - "smithy.api#required": {} + "smithy.api#documentation": "

An optional customer-provided description of the component.

" } - } - }, - "traits": { - "smithy.api#documentation": "

Compatible environment template data.

" - } - }, - "com.amazonaws.proton#CompatibleEnvironmentTemplateInput": { - "type": "structure", - "members": { - "templateName": { + }, + "serviceName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The compatible environment template name.

", + "smithy.api#documentation": "

The name of the service that serviceInstanceName is associated with. If you don't specify this, the component isn't attached to any\n service instance. Specify both serviceInstanceName and serviceName or neither of them.

" + } + }, + "serviceInstanceName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the service instance that you want to attach this component to. If you don't specify this, the component isn't attached to any service\n instance. Specify both serviceInstanceName and serviceName or neither of them.

" + } + }, + "environmentName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Proton environment that you want to associate this component with. You must specify this when you don't specify\n serviceInstanceName and serviceName.

" + } + }, + "templateFile": { + "target": "com.amazonaws.proton#TemplateFileContents", + "traits": { + "smithy.api#documentation": "

A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.

\n \n

Components support a single IaC file, even if you use Terraform as your template language.

\n
", "smithy.api#required": {} } }, - "majorVersion": { - "target": "com.amazonaws.proton#TemplateVersionPart", + "manifest": { + "target": "com.amazonaws.proton#TemplateManifestContents", "traits": { - "smithy.api#documentation": "

The major version of the compatible environment template.

", + "smithy.api#documentation": "

A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering engine for infrastructure that a custom\n component provisions.

", "smithy.api#required": {} } + }, + "serviceSpec": { + "target": "com.amazonaws.proton#SpecContents", + "traits": { + "smithy.api#documentation": "

The service spec that you want the component to use to access service inputs. Set this only when you attach the component to a service\n instance.

" + } + }, + "tags": { + "target": "com.amazonaws.proton#TagList", + "traits": { + "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" + } } - }, - "traits": { - "smithy.api#documentation": "

Compatible environment template data.

" - } - }, - "com.amazonaws.proton#CompatibleEnvironmentTemplateInputList": { - "type": "list", - "member": { - "target": "com.amazonaws.proton#CompatibleEnvironmentTemplateInput" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.proton#CompatibleEnvironmentTemplateList": { - "type": "list", - "member": { - "target": "com.amazonaws.proton#CompatibleEnvironmentTemplate" } }, - "com.amazonaws.proton#ConflictException": { + "com.amazonaws.proton#CreateComponentOutput": { "type": "structure", "members": { - "message": { - "target": "com.amazonaws.proton#ErrorMessage", + "component": { + "target": "com.amazonaws.proton#Component", "traits": { + "smithy.api#documentation": "

The detailed data of the created component.

", "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "

The request couldn't be made due to a conflicting operation or resource.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 } }, "com.amazonaws.proton#CreateEnvironment": { @@ -630,6 +1079,12 @@ "traits": { "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the\n Proton Administrator Guide.

" } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

You must specify componentRoleArn to allow directly defined components to be associated with any environments running in this\n account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } } }, @@ -711,6 +1166,12 @@ "traits": { "smithy.api#documentation": "

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

\n

To use self-managed provisioning for the environment, specify this parameter and omit the environmentAccountConnectionId and\n protonServiceRoleArn parameters.

" } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

You must specify componentRoleArn to allow directly defined components to be associated with this environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } } }, @@ -1267,7 +1728,7 @@ "compatibleEnvironmentTemplates": { "target": "com.amazonaws.proton#CompatibleEnvironmentTemplateInputList", "traits": { - "smithy.api#documentation": "

An array of compatible environment template objects for the new version of a service template.

", + "smithy.api#documentation": "

An array of environment template objects that are compatible with the new service template version. A service instance based on this service template\n version can run in environments based on compatible templates.

", "smithy.api#required": {} } }, @@ -1276,6 +1737,12 @@ "traits": { "smithy.api#documentation": "

An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.

\n

For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.

" } + }, + "supportedComponentSources": { + "target": "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceInputList", + "traits": { + "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } } }, @@ -1381,6 +1848,69 @@ } } }, + "com.amazonaws.proton#DeleteComponent": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#DeleteComponentInput" + }, + "output": { + "target": "com.amazonaws.proton#DeleteComponentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#ConflictException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Delete an Proton component resource.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.proton#DeleteComponentInput": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the component to delete.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#references": [ + { + "resource": "com.amazonaws.proton#ComponentResource" + } + ] + } + }, + "com.amazonaws.proton#DeleteComponentOutput": { + "type": "structure", + "members": { + "component": { + "target": "com.amazonaws.proton#Component", + "traits": { + "smithy.api#documentation": "

The detailed data of the component being deleted.

" + } + } + } + }, "com.amazonaws.proton#DeleteEnvironment": { "type": "operation", "input": { @@ -1472,7 +2002,7 @@ "environmentAccountConnection": { "target": "com.amazonaws.proton#EnvironmentAccountConnection", "traits": { - "smithy.api#documentation": "

The environment account connection detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the environment account connection being deleted.

" } } } @@ -1502,7 +2032,7 @@ "environment": { "target": "com.amazonaws.proton#Environment", "traits": { - "smithy.api#documentation": "

The environment detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the environment being deleted.

" } } } @@ -1565,7 +2095,7 @@ "environmentTemplate": { "target": "com.amazonaws.proton#EnvironmentTemplate", "traits": { - "smithy.api#documentation": "

The environment template detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the environment template being deleted.

" } } } @@ -1642,7 +2172,7 @@ "environmentTemplateVersion": { "target": "com.amazonaws.proton#EnvironmentTemplateVersion", "traits": { - "smithy.api#documentation": "

The environment template version detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the environment template version being deleted.

" } } } @@ -1746,7 +2276,7 @@ } ], "traits": { - "smithy.api#documentation": "

Delete a service.

", + "smithy.api#documentation": "

Delete a service, with its instances and pipeline.

\n \n

You can't delete a service if it has any service instances that have components attached to them.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

\n
", "smithy.api#idempotent": {} } }, @@ -1775,7 +2305,7 @@ "service": { "target": "com.amazonaws.proton#Service", "traits": { - "smithy.api#documentation": "

The service detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the service being deleted.

" } } } @@ -1838,7 +2368,7 @@ "serviceTemplate": { "target": "com.amazonaws.proton#ServiceTemplate", "traits": { - "smithy.api#documentation": "

The service template detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the service template being deleted.

" } } } @@ -1915,7 +2445,7 @@ "serviceTemplateVersion": { "target": "com.amazonaws.proton#ServiceTemplateVersion", "traits": { - "smithy.api#documentation": "

The service template version detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the service template version being deleted.

" } } } @@ -2193,10 +2723,16 @@ "traits": { "smithy.api#documentation": "

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

" } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } }, "traits": { - "smithy.api#documentation": "

The environment detail data. An Proton environment is a set resources shared across an Proton service.

" + "smithy.api#documentation": "

Detailed data of an Proton environment resource. An Proton environment is a set of resources shared across Proton services.

" } }, "com.amazonaws.proton#EnvironmentAccountConnection": { @@ -2264,10 +2800,16 @@ "smithy.api#documentation": "

The status of the environment account connection.

", "smithy.api#required": {} } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } }, "traits": { - "smithy.api#documentation": "

The environment account connection detail data.

" + "smithy.api#documentation": "

Detailed data of an Proton environment account connection resource.

" } }, "com.amazonaws.proton#EnvironmentAccountConnectionArn": { @@ -2428,10 +2970,16 @@ "smithy.api#documentation": "

The status of the environment account connection.

", "smithy.api#required": {} } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } }, "traits": { - "smithy.api#documentation": "

A summary of the environment account connection detail data.

" + "smithy.api#documentation": "

Summary data of an Proton environment account connection resource.

" } }, "com.amazonaws.proton#EnvironmentAccountConnectionSummaryList": { @@ -2609,10 +3157,16 @@ "traits": { "smithy.api#documentation": "

When included, indicates that the environment template is for customer provisioned and managed infrastructure.

" } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } }, "traits": { - "smithy.api#documentation": "

A summary of the environment detail data.

" + "smithy.api#documentation": "

Summary data of an Proton environment resource. An Proton environment is a set of resources shared across Proton services.

" } }, "com.amazonaws.proton#EnvironmentSummaryList": { @@ -3068,23 +3622,135 @@ { "target": "com.amazonaws.proton#ValidationException" } - ], - "traits": { - "smithy.api#documentation": "

Get detail data for the Proton pipeline service role.

", - "smithy.api#readonly": {} + ], + "traits": { + "smithy.api#documentation": "

Get detail data for the Proton pipeline service role.

", + "smithy.api#readonly": {} + } + }, + "com.amazonaws.proton#GetAccountSettingsInput": { + "type": "structure", + "members": {} + }, + "com.amazonaws.proton#GetAccountSettingsOutput": { + "type": "structure", + "members": { + "accountSettings": { + "target": "com.amazonaws.proton#AccountSettings", + "traits": { + "smithy.api#documentation": "

The Proton pipeline service role detail data that's returned by Proton.

" + } + } + } + }, + "com.amazonaws.proton#GetComponent": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#GetComponentInput" + }, + "output": { + "target": "com.amazonaws.proton#GetComponentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get detailed data for a component.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

", + "smithy.api#readonly": {}, + "smithy.waiters#waitable": { + "ComponentDeployed": { + "documentation": "Wait until a Component is deployed. Use this after invoking CreateComponent or UpdateComponent", + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "component.deploymentStatus", + "expected": "SUCCEEDED", + "comparator": "stringEquals" + } + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "component.deploymentStatus", + "expected": "FAILED", + "comparator": "stringEquals" + } + } + } + ], + "minDelay": 5, + "maxDelay": 4999 + }, + "ComponentDeleted": { + "documentation": "Wait until a Component is deleted. Use this after invoking DeleteComponent", + "acceptors": [ + { + "state": "success", + "matcher": { + "errorType": "ResourceNotFoundException" + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "component.deploymentStatus", + "expected": "DELETE_FAILED", + "comparator": "stringEquals" + } + } + } + ], + "minDelay": 5, + "maxDelay": 4999 + } + } } }, - "com.amazonaws.proton#GetAccountSettingsInput": { + "com.amazonaws.proton#GetComponentInput": { "type": "structure", - "members": {} + "members": { + "name": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the component that you want to get the detailed data for.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#references": [ + { + "resource": "com.amazonaws.proton#ComponentResource" + } + ] + } }, - "com.amazonaws.proton#GetAccountSettingsOutput": { + "com.amazonaws.proton#GetComponentOutput": { "type": "structure", "members": { - "accountSettings": { - "target": "com.amazonaws.proton#AccountSettings", + "component": { + "target": "com.amazonaws.proton#Component", "traits": { - "smithy.api#documentation": "

The Proton pipeline service role detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the requested component.

" } } } @@ -3115,7 +3781,7 @@ } ], "traits": { - "smithy.api#documentation": "

Get detail data for an environment.

", + "smithy.api#documentation": "

Get detailed data for an environment.

", "smithy.api#readonly": {}, "smithy.waiters#waitable": { "EnvironmentDeployed": { @@ -3174,7 +3840,7 @@ } ], "traits": { - "smithy.api#documentation": "

In an environment account, view the detail data for an environment account connection.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

", + "smithy.api#documentation": "

In an environment account, get the detailed data for an environment account connection.

\n

For more information, see Environment account\n connections in the Proton Administrator guide.

", "smithy.api#readonly": {} } }, @@ -3184,7 +3850,7 @@ "id": { "target": "com.amazonaws.proton#EnvironmentAccountConnectionId", "traits": { - "smithy.api#documentation": "

The ID of the environment account connection.

", + "smithy.api#documentation": "

The ID of the environment account connection that you want to get the detailed data for.

", "smithy.api#required": {} } } @@ -3203,7 +3869,7 @@ "environmentAccountConnection": { "target": "com.amazonaws.proton#EnvironmentAccountConnection", "traits": { - "smithy.api#documentation": "

The environment account connection detail data that's returned by Proton.

", + "smithy.api#documentation": "

The detailed data of the requested environment account connection.

", "smithy.api#required": {} } } @@ -3215,7 +3881,7 @@ "name": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the environment that you want to get the detail data for.

", + "smithy.api#documentation": "

The name of the environment that you want to get the detailed data for.

", "smithy.api#required": {} } } @@ -3234,7 +3900,7 @@ "environment": { "target": "com.amazonaws.proton#Environment", "traits": { - "smithy.api#documentation": "

The environment detail data that's returned by Proton.

", + "smithy.api#documentation": "

The detailed data of the requested environment.

", "smithy.api#required": {} } } @@ -3266,7 +3932,7 @@ } ], "traits": { - "smithy.api#documentation": "

Get detail data for an environment template.

", + "smithy.api#documentation": "

Get detailed data for an environment template.

", "smithy.api#readonly": {} } }, @@ -3276,7 +3942,7 @@ "name": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the environment template that you want to get the detail data for.

", + "smithy.api#documentation": "

The name of the environment template that you want to get the detailed data for.

", "smithy.api#required": {} } } @@ -3288,7 +3954,7 @@ "environmentTemplate": { "target": "com.amazonaws.proton#EnvironmentTemplate", "traits": { - "smithy.api#documentation": "

The environment template detail data that's returned by Proton.

", + "smithy.api#documentation": "

The detailed data of the requested environment template.

", "smithy.api#required": {} } } @@ -3320,7 +3986,7 @@ } ], "traits": { - "smithy.api#documentation": "

View detail data for a major or minor version of an environment template.

", + "smithy.api#documentation": "

Get detailed data for a major or minor version of an environment template.

", "smithy.api#readonly": {}, "smithy.waiters#waitable": { "EnvironmentTemplateVersionRegistered": { @@ -3368,21 +4034,21 @@ "templateName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the environment template.

", + "smithy.api#documentation": "

The name of the environment template a version of which you want to get detailed data for..

", "smithy.api#required": {} } }, "majorVersion": { "target": "com.amazonaws.proton#TemplateVersionPart", "traits": { - "smithy.api#documentation": "

To view environment template major version detail data, include major Version.

", + "smithy.api#documentation": "

To get environment template major version detail data, include major Version.

", "smithy.api#required": {} } }, "minorVersion": { "target": "com.amazonaws.proton#TemplateVersionPart", "traits": { - "smithy.api#documentation": "

To view environment template minor version detail data, include minorVersion.

", + "smithy.api#documentation": "

To get environment template minor version detail data, include minorVersion.

", "smithy.api#required": {} } } @@ -3401,7 +4067,7 @@ "environmentTemplateVersion": { "target": "com.amazonaws.proton#EnvironmentTemplateVersion", "traits": { - "smithy.api#documentation": "

The environment template version detail data that's returned by Proton.

", + "smithy.api#documentation": "

The detailed data of the requested environment template version.

", "smithy.api#required": {} } } @@ -3574,7 +4240,7 @@ } ], "traits": { - "smithy.api#documentation": "

Get detail data for a service.

", + "smithy.api#documentation": "

Get detailed data for a service.

", "smithy.api#readonly": {}, "smithy.waiters#waitable": { "ServiceCreated": { @@ -3740,7 +4406,7 @@ "name": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the service that you want to get the detail data for.

", + "smithy.api#documentation": "

The name of the service that you want to get the detailed data for.

", "smithy.api#required": {} } } @@ -3779,7 +4445,7 @@ } ], "traits": { - "smithy.api#documentation": "

Get detail data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.

", + "smithy.api#documentation": "

Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.

", "smithy.api#readonly": {}, "smithy.waiters#waitable": { "ServiceInstanceDeployed": { @@ -3818,7 +4484,7 @@ "name": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of a service instance that you want to get the detail data for.

", + "smithy.api#documentation": "

The name of a service instance that you want to get the detailed data for.

", "smithy.api#required": {} } }, @@ -3844,7 +4510,7 @@ "serviceInstance": { "target": "com.amazonaws.proton#ServiceInstance", "traits": { - "smithy.api#documentation": "

The service instance detail data that's returned by Proton.

", + "smithy.api#documentation": "

The detailed data of the requested service instance.

", "smithy.api#required": {} } } @@ -3856,7 +4522,7 @@ "service": { "target": "com.amazonaws.proton#Service", "traits": { - "smithy.api#documentation": "

The service detail data that's returned by Proton.

" + "smithy.api#documentation": "

The detailed data of the requested service.

" } } } @@ -3887,7 +4553,7 @@ } ], "traits": { - "smithy.api#documentation": "

Get detail data for a service template.

", + "smithy.api#documentation": "

Get detailed data for a service template.

", "smithy.api#readonly": {} } }, @@ -3897,7 +4563,7 @@ "name": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the service template that you want to get detail data for.

", + "smithy.api#documentation": "

The name of the service template that you want to get detailed data for.

", "smithy.api#required": {} } } @@ -3916,7 +4582,7 @@ "serviceTemplate": { "target": "com.amazonaws.proton#ServiceTemplate", "traits": { - "smithy.api#documentation": "

The service template detail data that's returned by Proton.

", + "smithy.api#documentation": "

The detailed data of the requested service template.

", "smithy.api#required": {} } } @@ -3948,7 +4614,7 @@ } ], "traits": { - "smithy.api#documentation": "

View detail data for a major or minor version of a service template.

", + "smithy.api#documentation": "

Get detailed data for a major or minor version of a service template.

", "smithy.api#readonly": {}, "smithy.waiters#waitable": { "ServiceTemplateVersionRegistered": { @@ -3996,21 +4662,21 @@ "templateName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the service template.

", + "smithy.api#documentation": "

The name of the service template a version of which you want to get detailed data for.

", "smithy.api#required": {} } }, "majorVersion": { "target": "com.amazonaws.proton#TemplateVersionPart", "traits": { - "smithy.api#documentation": "

To view service template major version detail data, include major Version.

", + "smithy.api#documentation": "

To get service template major version detail data, include major Version.

", "smithy.api#required": {} } }, "minorVersion": { "target": "com.amazonaws.proton#TemplateVersionPart", "traits": { - "smithy.api#documentation": "

To view service template minor version detail data, include minorVersion.

", + "smithy.api#documentation": "

To get service template minor version detail data, include minorVersion.

", "smithy.api#required": {} } } @@ -4029,19 +4695,254 @@ "serviceTemplateVersion": { "target": "com.amazonaws.proton#ServiceTemplateVersion", "traits": { - "smithy.api#documentation": "

The service template version detail data that's returned by Proton.

", + "smithy.api#documentation": "

The detailed data of the requested service template version.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.proton#GetTemplateSyncConfig": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#GetTemplateSyncConfigInput" + }, + "output": { + "target": "com.amazonaws.proton#GetTemplateSyncConfigOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get detail data for a template sync configuration.

", + "smithy.api#readonly": {} + } + }, + "com.amazonaws.proton#GetTemplateSyncConfigInput": { + "type": "structure", + "members": { + "templateName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The template name.

", + "smithy.api#required": {} + } + }, + "templateType": { + "target": "com.amazonaws.proton#TemplateType", + "traits": { + "smithy.api#documentation": "

The template type.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.proton#GetTemplateSyncConfigOutput": { + "type": "structure", + "members": { + "templateSyncConfig": { + "target": "com.amazonaws.proton#TemplateSyncConfig", + "traits": { + "smithy.api#documentation": "

The template sync configuration detail data that's returned by Proton.

" + } + } + } + }, + "com.amazonaws.proton#GetTemplateSyncStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#GetTemplateSyncStatusInput" + }, + "output": { + "target": "com.amazonaws.proton#GetTemplateSyncStatusOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get the status of a template sync.

" + } + }, + "com.amazonaws.proton#GetTemplateSyncStatusInput": { + "type": "structure", + "members": { + "templateName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The template name.

", + "smithy.api#required": {} + } + }, + "templateType": { + "target": "com.amazonaws.proton#TemplateType", + "traits": { + "smithy.api#documentation": "

The template type.

", + "smithy.api#required": {} + } + }, + "templateVersion": { + "target": "com.amazonaws.proton#TemplateVersionPart", + "traits": { + "smithy.api#documentation": "

The template major version.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.proton#GetTemplateSyncStatusOutput": { + "type": "structure", + "members": { + "latestSync": { + "target": "com.amazonaws.proton#ResourceSyncAttempt", + "traits": { + "smithy.api#documentation": "

The details of the last sync that's returned by Proton.

" + } + }, + "latestSuccessfulSync": { + "target": "com.amazonaws.proton#ResourceSyncAttempt", + "traits": { + "smithy.api#documentation": "

The details of the last successful sync that's returned by Proton.

" + } + }, + "desiredState": { + "target": "com.amazonaws.proton#Revision", + "traits": { + "smithy.api#documentation": "

The template sync desired state that's returned by Proton.

" + } + } + } + }, + "com.amazonaws.proton#GitBranchName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.proton#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.proton#ErrorMessage", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The request failed to register with the service.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.proton#ListComponentOutputs": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#ListComponentOutputsInput" + }, + "output": { + "target": "com.amazonaws.proton#ListComponentOutputsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get a list of component Infrastructure as Code (IaC) outputs.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "outputs" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.proton#ListComponentOutputsInput": { + "type": "structure", + "members": { + "componentName": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the component whose outputs you want.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.proton#EmptyNextToken", + "traits": { + "smithy.api#documentation": "

A token that indicates the location of the next output in the array of outputs, after the list of outputs that was previously requested.

" + } + } + } + }, + "com.amazonaws.proton#ListComponentOutputsOutput": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.proton#EmptyNextToken", + "traits": { + "smithy.api#documentation": "

A token that indicates the location of the next output in the array of outputs, after the list of outputs that was previously requested.

" + } + }, + "outputs": { + "target": "com.amazonaws.proton#OutputsList", + "traits": { + "smithy.api#documentation": "

An array of component Infrastructure as Code (IaC) outputs.

", "smithy.api#required": {} } } } }, - "com.amazonaws.proton#GetTemplateSyncConfig": { + "com.amazonaws.proton#ListComponentProvisionedResources": { "type": "operation", "input": { - "target": "com.amazonaws.proton#GetTemplateSyncConfigInput" + "target": "com.amazonaws.proton#ListComponentProvisionedResourcesInput" }, "output": { - "target": "com.amazonaws.proton#GetTemplateSyncConfigOutput" + "target": "com.amazonaws.proton#ListComponentProvisionedResourcesOutput" }, "errors": [ { @@ -4061,47 +4962,58 @@ } ], "traits": { - "smithy.api#documentation": "

Get detail data for a template sync configuration.

", + "smithy.api#documentation": "

List provisioned resources for a component with details.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "provisionedResources" + }, "smithy.api#readonly": {} } }, - "com.amazonaws.proton#GetTemplateSyncConfigInput": { + "com.amazonaws.proton#ListComponentProvisionedResourcesInput": { "type": "structure", "members": { - "templateName": { + "componentName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The template name.

", + "smithy.api#documentation": "

The name of the component whose provisioned resources you want.

", "smithy.api#required": {} } }, - "templateType": { - "target": "com.amazonaws.proton#TemplateType", + "nextToken": { + "target": "com.amazonaws.proton#EmptyNextToken", "traits": { - "smithy.api#documentation": "

The template type.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the list of provisioned resources\n that was previously requested.

" } } } }, - "com.amazonaws.proton#GetTemplateSyncConfigOutput": { + "com.amazonaws.proton#ListComponentProvisionedResourcesOutput": { "type": "structure", "members": { - "templateSyncConfig": { - "target": "com.amazonaws.proton#TemplateSyncConfig", + "nextToken": { + "target": "com.amazonaws.proton#EmptyNextToken", "traits": { - "smithy.api#documentation": "

The template sync configuration detail data that's returned by Proton.

" + "smithy.api#documentation": "

A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the current requested list of\n provisioned resources.

" + } + }, + "provisionedResources": { + "target": "com.amazonaws.proton#ProvisionedResourceList", + "traits": { + "smithy.api#documentation": "

An array of provisioned resources for a component.

", + "smithy.api#required": {} } } } }, - "com.amazonaws.proton#GetTemplateSyncStatus": { + "com.amazonaws.proton#ListComponents": { "type": "operation", "input": { - "target": "com.amazonaws.proton#GetTemplateSyncStatusInput" + "target": "com.amazonaws.proton#ListComponentsInput" }, "output": { - "target": "com.amazonaws.proton#GetTemplateSyncStatusOutput" + "target": "com.amazonaws.proton#ListComponentsOutput" }, "errors": [ { @@ -4110,9 +5022,6 @@ { "target": "com.amazonaws.proton#InternalServerException" }, - { - "target": "com.amazonaws.proton#ResourceNotFoundException" - }, { "target": "com.amazonaws.proton#ThrottlingException" }, @@ -4121,82 +5030,67 @@ } ], "traits": { - "smithy.api#documentation": "

Get the status of a template sync.

" + "smithy.api#documentation": "

List components with summary data. You can filter the result list by environment, service, or a single service instance.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "components", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} } }, - "com.amazonaws.proton#GetTemplateSyncStatusInput": { + "com.amazonaws.proton#ListComponentsInput": { "type": "structure", "members": { - "templateName": { - "target": "com.amazonaws.proton#ResourceName", + "nextToken": { + "target": "com.amazonaws.proton#NextToken", "traits": { - "smithy.api#documentation": "

The template name.

", - "smithy.api#required": {} + "smithy.api#documentation": "

A token that indicates the location of the next component in the array of components, after the list of components that was previously\n requested.

" } }, - "templateType": { - "target": "com.amazonaws.proton#TemplateType", + "environmentName": { + "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The template type.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances\n running in it.

" } }, - "templateVersion": { - "target": "com.amazonaws.proton#TemplateVersionPart", - "traits": { - "smithy.api#documentation": "

The template major version.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.proton#GetTemplateSyncStatusOutput": { - "type": "structure", - "members": { - "latestSync": { - "target": "com.amazonaws.proton#ResourceSyncAttempt", + "serviceName": { + "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The details of the last sync that's returned by Proton.

" + "smithy.api#documentation": "

The name of a service for result list filtering. Proton returns components attached to service instances of the service.

" } }, - "latestSuccessfulSync": { - "target": "com.amazonaws.proton#ResourceSyncAttempt", + "serviceInstanceName": { + "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The details of the last successful sync that's returned by Proton.

" + "smithy.api#documentation": "

The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.

" } }, - "desiredState": { - "target": "com.amazonaws.proton#Revision", + "maxResults": { + "target": "com.amazonaws.proton#MaxPageResults", "traits": { - "smithy.api#documentation": "

The template sync desired state that's returned by Proton.

" + "smithy.api#documentation": "

The maximum number of components to list.

" } } } }, - "com.amazonaws.proton#GitBranchName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 200 - } - } - }, - "com.amazonaws.proton#InternalServerException": { + "com.amazonaws.proton#ListComponentsOutput": { "type": "structure", "members": { - "message": { - "target": "com.amazonaws.proton#ErrorMessage", + "nextToken": { + "target": "com.amazonaws.proton#NextToken", + "traits": { + "smithy.api#documentation": "

A token that indicates the location of the next component in the array of components, after the current requested list of components.

" + } + }, + "components": { + "target": "com.amazonaws.proton#ComponentSummaryList", "traits": { + "smithy.api#documentation": "

An array of components with summary data.

", "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "

The request failed to register with the service.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} } }, "com.amazonaws.proton#ListEnvironmentAccountConnections": { @@ -4836,7 +5730,7 @@ } ], "traits": { - "smithy.api#documentation": "

View a list service instance infrastructure as code outputs with detail data.

", + "smithy.api#documentation": "

Get a list service of instance Infrastructure as Code (IaC) outputs.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4851,14 +5745,14 @@ "serviceInstanceName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The service instance name.

", + "smithy.api#documentation": "

The name of the service instance whose outputs you want.

", "smithy.api#required": {} } }, "serviceName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The service name.

", + "smithy.api#documentation": "

The name of the service that serviceInstanceName is associated to.

", "smithy.api#required": {} } }, @@ -4882,7 +5776,7 @@ "outputs": { "target": "com.amazonaws.proton#OutputsList", "traits": { - "smithy.api#documentation": "

An array of service instance infrastructure as code outputs.

", + "smithy.api#documentation": "

An array of service instance Infrastructure as Code (IaC) outputs.

", "smithy.api#required": {} } } @@ -4929,14 +5823,14 @@ "serviceName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The service name.

", + "smithy.api#documentation": "

The name of the service that serviceInstanceName is associated to.

", "smithy.api#required": {} } }, "serviceInstanceName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The service instance name.

", + "smithy.api#documentation": "

The name of the service instance whose provisioned resources you want.

", "smithy.api#required": {} } }, @@ -4992,7 +5886,7 @@ } ], "traits": { - "smithy.api#documentation": "

List service instances with summaries of detail data.

", + "smithy.api#documentation": "

List service instances with summary data.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5037,7 +5931,7 @@ "serviceInstances": { "target": "com.amazonaws.proton#ServiceInstanceSummaryList", "traits": { - "smithy.api#documentation": "

An array of service instances with summaries of detail data.

", + "smithy.api#documentation": "

An array of service instances with summary data.

", "smithy.api#required": {} } } @@ -5069,7 +5963,7 @@ } ], "traits": { - "smithy.api#documentation": "

View a list service pipeline infrastructure as code outputs with detail.

", + "smithy.api#documentation": "

Get a list of service pipeline Infrastructure as Code (IaC) outputs.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5084,7 +5978,7 @@ "serviceName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The service name.

", + "smithy.api#documentation": "

The name of the service whose pipeline's outputs you want.

", "smithy.api#required": {} } }, @@ -5108,7 +6002,7 @@ "outputs": { "target": "com.amazonaws.proton#OutputsList", "traits": { - "smithy.api#documentation": "

An array of outputs.

", + "smithy.api#documentation": "

An array of service pipeline Infrastructure as Code (IaC) outputs.

", "smithy.api#required": {} } } @@ -5155,7 +6049,7 @@ "serviceName": { "target": "com.amazonaws.proton#ResourceName", "traits": { - "smithy.api#documentation": "

The service name.

", + "smithy.api#documentation": "

The name of the service whose pipeline's provisioned resources you want.

", "smithy.api#required": {} } }, @@ -5571,14 +6465,13 @@ } }, "statusMessage": { - "target": "smithy.api#String", + "target": "com.amazonaws.proton#StatusMessage", "traits": { "smithy.api#documentation": "

The deployment status message for your provisioned resource.

", "smithy.api#length": { "min": 0, "max": 5000 - }, - "smithy.api#sensitive": {} + } } } } @@ -5822,7 +6715,7 @@ } }, "traits": { - "smithy.api#documentation": "

Detail date for a repository that has been registered with Proton.

" + "smithy.api#documentation": "

Detailed data of a repository that has been registered with Proton.

" } }, "com.amazonaws.proton#RepositoryArn": { @@ -5994,7 +6887,7 @@ } }, "traits": { - "smithy.api#documentation": "

A summary of detail data for a registered repository.

" + "smithy.api#documentation": "

Summary data of a repository that has been registered with Proton.

" } }, "com.amazonaws.proton#RepositorySummaryList": { @@ -6177,6 +7070,16 @@ "smithy.api#pattern": "^[0-9A-Za-z]+[0-9A-Za-z_\\-]*$" } }, + "com.amazonaws.proton#ResourceNameOrEmpty": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + }, + "smithy.api#pattern": "(^$)|^[0-9A-Za-z]+[0-9A-Za-z_\\-]*$" + } + }, "com.amazonaws.proton#ResourceNotFoundException": { "type": "structure", "members": { @@ -6417,7 +7320,7 @@ "description": { "target": "com.amazonaws.proton#Description", "traits": { - "smithy.api#documentation": "

A description of a service.

" + "smithy.api#documentation": "

A description of the service.

" } }, "arn": { @@ -6494,7 +7397,7 @@ } }, "traits": { - "smithy.api#documentation": "

The service detail data.

" + "smithy.api#documentation": "

Detailed data of an Proton service resource.

" } }, "com.amazonaws.proton#ServiceArn": { @@ -6588,7 +7491,7 @@ "deploymentStatusMessage": { "target": "com.amazonaws.proton#StatusMessage", "traits": { - "smithy.api#documentation": "

A service instance deployment status message.

" + "smithy.api#documentation": "

The message associated with the service instance deployment status.

" } }, "spec": { @@ -6599,7 +7502,7 @@ } }, "traits": { - "smithy.api#documentation": "

The service instance detail data.

", + "smithy.api#documentation": "

Detailed data of an Proton service instance resource.

", "smithy.api#references": [ { "resource": "com.amazonaws.proton#ServiceResource" @@ -6765,7 +7668,7 @@ } }, "traits": { - "smithy.api#documentation": "

A summary of the service instance detail data.

", + "smithy.api#documentation": "

Summary data of an Proton service instance resource.

", "smithy.api#references": [ { "resource": "com.amazonaws.proton#ServiceResource" @@ -6852,7 +7755,7 @@ } }, "traits": { - "smithy.api#documentation": "

The service pipeline detail data.

" + "smithy.api#documentation": "

Detailed data of an Proton service instance pipeline resource.

" } }, "com.amazonaws.proton#ServicePipelineOutputResource": { @@ -7064,7 +7967,7 @@ } }, "traits": { - "smithy.api#documentation": "

A summary of the service detail data.

" + "smithy.api#documentation": "

Summary data of an Proton service resource.

" } }, "com.amazonaws.proton#ServiceSummaryList": { @@ -7136,7 +8039,7 @@ } }, "traits": { - "smithy.api#documentation": "

The service template detail data.

" + "smithy.api#documentation": "

Detailed data of an Proton service template resource.

" } }, "com.amazonaws.proton#ServiceTemplateArn": { @@ -7236,7 +8139,7 @@ } }, "traits": { - "smithy.api#documentation": "

The service template summary data.

" + "smithy.api#documentation": "

Summary data of an Proton service template resource.

" } }, "com.amazonaws.proton#ServiceTemplateSummaryList": { @@ -7245,6 +8148,23 @@ "target": "com.amazonaws.proton#ServiceTemplateSummary" } }, + "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceInputList": { + "type": "list", + "member": { + "target": "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceType" + } + }, + "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "DIRECTLY_DEFINED", + "name": "DIRECTLY_DEFINED" + } + ] + } + }, "com.amazonaws.proton#ServiceTemplateVersion": { "type": "structure", "members": { @@ -7327,10 +8247,16 @@ "traits": { "smithy.api#documentation": "

The schema of the version of a service template.

" } + }, + "supportedComponentSources": { + "target": "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceInputList", + "traits": { + "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } }, "traits": { - "smithy.api#documentation": "

The version of a service template detail data.

" + "smithy.api#documentation": "

Detailed data of an Proton service template version resource.

" } }, "com.amazonaws.proton#ServiceTemplateVersionArn": { @@ -7450,7 +8376,7 @@ } }, "traits": { - "smithy.api#documentation": "

A summary of the service template version detail data.

" + "smithy.api#documentation": "

Summary data of an Proton service template version resource.

" } }, "com.amazonaws.proton#ServiceTemplateVersionSummaryList": { @@ -7617,6 +8543,28 @@ } } }, + "com.amazonaws.proton#TemplateFileContents": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 51200 + }, + "smithy.api#mediaType": "application/yaml", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.proton#TemplateManifestContents": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#mediaType": "application/yaml", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.proton#TemplateSchema": { "type": "string", "traits": { @@ -7888,6 +8836,109 @@ } } }, + "com.amazonaws.proton#UpdateComponent": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#UpdateComponentInput" + }, + "output": { + "target": "com.amazonaws.proton#UpdateComponentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#ConflictException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.proton#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Update a component.

\n

There are a few modes for updating a component. The deploymentType field defines the mode.

\n \n

You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is\n IN_PROGRESS.

\n
\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } + }, + "com.amazonaws.proton#UpdateComponentInput": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.proton#ResourceName", + "traits": { + "smithy.api#documentation": "

The name of the component to update.

", + "smithy.api#required": {} + } + }, + "deploymentType": { + "target": "com.amazonaws.proton#ComponentDeploymentUpdateType", + "traits": { + "smithy.api#documentation": "

The deployment type. It defines the mode for updating a component, as follows:

\n
\n
\n
\n

\n NONE\n

\n

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can only specify\n description in this mode.

\n
\n
\n
\n

\n CURRENT_VERSION\n

\n

In this mode, the component is deployed and updated with the new serviceSpec, templateSource, and/or type\n that you provide. Only requested parameters are updated.

\n
\n
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.proton#Description", + "traits": { + "smithy.api#documentation": "

An optional customer-provided description of the component.

" + } + }, + "serviceName": { + "target": "com.amazonaws.proton#ResourceNameOrEmpty", + "traits": { + "smithy.api#documentation": "

The name of the service that serviceInstanceName is associated with. Don't specify to keep the component's current service instance\n attachment. Specify an empty string to detach the component from the service instance it's attached to. Specify non-empty values for both\n serviceInstanceName and serviceName or for neither of them.

" + } + }, + "serviceInstanceName": { + "target": "com.amazonaws.proton#ResourceNameOrEmpty", + "traits": { + "smithy.api#documentation": "

The name of the service instance that you want to attach this component to. Don't specify to keep the component's current service instance attachment.\n Specify an empty string to detach the component from the service instance it's attached to. Specify non-empty values for both\n serviceInstanceName and serviceName or for neither of them.

" + } + }, + "serviceSpec": { + "target": "com.amazonaws.proton#SpecContents", + "traits": { + "smithy.api#documentation": "

The service spec that you want the component to use to access service inputs. Set this only when the component is attached to a service\n instance.

" + } + }, + "templateFile": { + "target": "com.amazonaws.proton#TemplateFileContents", + "traits": { + "smithy.api#documentation": "

A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.

\n \n

Components support a single IaC file, even if you use Terraform as your template language.

\n
" + } + } + }, + "traits": { + "smithy.api#references": [ + { + "resource": "com.amazonaws.proton#ComponentResource" + } + ] + } + }, + "com.amazonaws.proton#UpdateComponentOutput": { + "type": "structure", + "members": { + "component": { + "target": "com.amazonaws.proton#Component", + "traits": { + "smithy.api#documentation": "

The detailed data of the updated component.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.proton#UpdateEnvironment": { "type": "operation", "input": { @@ -7966,8 +9017,13 @@ "roleArn": { "target": "com.amazonaws.proton#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.

" + } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated\n environment account. It determines the scope of infrastructure that a component can provision in the account.

\n

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any\n environments running in the account.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" } } }, @@ -8049,6 +9105,12 @@ "traits": { "smithy.api#documentation": "

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

" } + }, + "componentRoleArn": { + "target": "com.amazonaws.proton#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It\n determines the scope of infrastructure that a component can provision.

\n

The environment must have a componentRoleArn to allow directly defined components to be associated with the environment.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" + } } }, "traits": { @@ -8267,7 +9329,7 @@ } ], "traits": { - "smithy.api#documentation": "

Edit a service description or use a spec to add and delete service instances.

\n \n

Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.

\n
\n

Use the description parameter to modify the description.

\n

Edit the spec parameter to add or delete instances.

" + "smithy.api#documentation": "

Edit a service description or use a spec to add and delete service instances.

\n \n

Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.

\n
\n

Use the description parameter to modify the description.

\n

Edit the spec parameter to add or delete instances.

\n \n

You can't delete a service instance (remove it from the spec) if it has an attached component.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

\n
" } }, "com.amazonaws.proton#UpdateServiceInput": { @@ -8330,7 +9392,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update a service instance.

\n

There are four modes for updating a service instance. The deploymentType field defines the mode.

\n
\n
\n
\n

\n NONE\n

\n

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

\n
\n
\n
\n

\n CURRENT_VERSION\n

\n

In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated.\n Don’t include minor or major version parameters when you use this deployment-type.

\n
\n
\n
\n

\n MINOR_VERSION\n

\n

In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version\n in use, by default. You can also specify a different minor version of the current major version in use.

\n
\n
\n
\n

\n MAJOR_VERSION\n

\n

In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current\n template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.

\n
\n
" + "smithy.api#documentation": "

Update a service instance.

\n

There are a few modes for updating a service instance. The deploymentType field defines the mode.

\n \n

You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is\n IN_PROGRESS.

\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

\n
" } }, "com.amazonaws.proton#UpdateServiceInstanceInput": { @@ -8353,7 +9415,7 @@ "deploymentType": { "target": "com.amazonaws.proton#DeploymentUpdateType", "traits": { - "smithy.api#documentation": "

The deployment type.

\n

There are four modes for updating a service instance. The deploymentType field defines the mode.

\n
\n
\n
\n

\n NONE\n

\n

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

\n
\n
\n
\n

\n CURRENT_VERSION\n

\n

In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated.\n Don’t include major or minor version parameters when you use this deployment-type.

\n
\n
\n
\n

\n MINOR_VERSION\n

\n

In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version\n in use, by default. You can also specify a different minor version of the current major version in use.

\n
\n
\n
\n

\n MAJOR_VERSION\n

\n

In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current\n template, by default. You can specify a different major version that's higher than the major version in use and a minor version.

\n
\n
", + "smithy.api#documentation": "

The deployment type. It defines the mode for updating a service instance, as follows:

\n
\n
\n
\n

\n NONE\n

\n

In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.

\n
\n
\n
\n

\n CURRENT_VERSION\n

\n

In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated.\n Don’t include major or minor version parameters when you use this deployment type.

\n
\n
\n
\n

\n MINOR_VERSION\n

\n

In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version\n in use, by default. You can also specify a different minor version of the current major version in use.

\n
\n
\n
\n

\n MAJOR_VERSION\n

\n

In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current\n template, by default. You can specify a different major version that's higher than the major version in use and a minor version.

\n
\n
", "smithy.api#required": {} } }, @@ -8646,7 +9708,13 @@ "compatibleEnvironmentTemplates": { "target": "com.amazonaws.proton#CompatibleEnvironmentTemplateInputList", "traits": { - "smithy.api#documentation": "

An array of compatible environment names for a service template major or minor version to update.

" + "smithy.api#documentation": "

An array of environment template objects that are compatible with this service template version. A service instance based on this service template\n version can run in environments based on compatible templates.

" + } + }, + "supportedComponentSources": { + "target": "com.amazonaws.proton#ServiceTemplateSupportedComponentSourceInputList", + "traits": { + "smithy.api#documentation": "

An array of supported component sources. Components with supported sources can be attached to service instances based on this service template\n version.

\n \n

A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A\n change only affects later associations.

\n
\n

For more information about components, see\n Proton components in the\n Proton Administrator Guide.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index 958e2b406ee..72f3cd20e83 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -94,6 +94,12 @@ "traits": { "smithy.api#documentation": "

The main notification email for your Amazon QuickSight subscription.

" } + }, + "PublicSharingEnabled": { + "target": "com.amazonaws.quicksight#Boolean", + "traits": { + "smithy.api#documentation": "

A boolean that indicates whether or not public sharing is enabled on an Amazon QuickSight account. For more information about enabling public sharing, see UpdatePublicSharingSettings.

" + } } }, "traits": { @@ -9137,7 +9143,7 @@ } ], "traits": { - "smithy.api#documentation": "

Generates an embed URL that you can use to embed an Amazon QuickSight dashboard in your website, without having to register any reader users. Before you use this action, make sure that you have configured the dashboards and permissions.

\n

The following rules apply to the generated URL:

\n \n

For more information, see Embedded Analytics in the Amazon QuickSight User\n Guide.

\n

For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.

", + "smithy.api#documentation": "

Generates an embed URL that you can use to embed an Amazon QuickSight dashboard in your website, without having to register any reader users. Before you use this action, make sure that you have configured the dashboards and permissions.

\n

The following rules apply to the generated URL:

\n \n

For more information, see Embedded Analytics in the Amazon QuickSight User\n Guide.

\n

For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.

", "smithy.api#http": { "method": "POST", "uri": "/accounts/{AwsAccountId}/embed-url/anonymous-user", @@ -9178,7 +9184,7 @@ "AuthorizedResourceArns": { "target": "com.amazonaws.quicksight#ArnList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Names for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session. If you choose Dashboard embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view.

", + "smithy.api#documentation": "

The Amazon Resource Names for the Amazon QuickSight resources that the user is authorized to access during the lifetime of the session. If you choose Dashboard embedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view. Currently, you can pass up to 25 dashboard ARNs in each API call.

", "smithy.api#required": {} } }, @@ -9256,7 +9262,7 @@ } ], "traits": { - "smithy.api#documentation": "

Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user registered in an Amazon QuickSight account. Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.

\n

The following rules apply to the generated URL:

\n \n

For more information, see Embedded Analytics in the Amazon QuickSight User\n Guide.

\n

For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.

", + "smithy.api#documentation": "

Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user registered in an Amazon QuickSight account. Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.

\n

The following rules apply to the generated URL:

\n \n

For more information, see Embedded Analytics in the Amazon QuickSight User\n Guide.

\n

For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.

", "smithy.api#http": { "method": "POST", "uri": "/accounts/{AwsAccountId}/embed-url/registered-user", @@ -10722,6 +10728,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "AnalysisSummaryList", "pageSize": "MaxResults" } } @@ -10822,6 +10829,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "DashboardVersionSummaryList", "pageSize": "MaxResults" } } @@ -10924,6 +10932,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "DashboardSummaryList", "pageSize": "MaxResults" } } @@ -11021,6 +11030,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "DataSetSummaries", "pageSize": "MaxResults" } } @@ -11118,6 +11128,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "DataSources", "pageSize": "MaxResults" } } @@ -11874,6 +11885,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Ingestions", "pageSize": "MaxResults" } } @@ -11988,6 +12000,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Namespaces", "pageSize": "MaxResults" } } @@ -12156,6 +12169,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "TemplateAliasList", "pageSize": "MaxResults" } } @@ -12264,6 +12278,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "TemplateVersionSummaryList", "pageSize": "MaxResults" } } @@ -12372,6 +12387,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "TemplateSummaryList", "pageSize": "MaxResults" } } @@ -12581,6 +12597,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "ThemeVersionSummaryList", "pageSize": "MaxResults" } } @@ -12692,6 +12709,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "ThemeSummaryList", "pageSize": "MaxResults" } } @@ -14082,6 +14100,9 @@ { "target": "com.amazonaws.quicksight#UpdateIpRestriction" }, + { + "target": "com.amazonaws.quicksight#UpdatePublicSharingSettings" + }, { "target": "com.amazonaws.quicksight#UpdateTemplate" }, @@ -15037,6 +15058,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "AnalysisSummaryList", "pageSize": "MaxResults" } } @@ -15142,6 +15164,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "DashboardSummaryList", "pageSize": "MaxResults" } } @@ -18882,6 +18905,80 @@ } } }, + "com.amazonaws.quicksight#UpdatePublicSharingSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.quicksight#UpdatePublicSharingSettingsRequest" + }, + "output": { + "target": "com.amazonaws.quicksight#UpdatePublicSharingSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.quicksight#AccessDeniedException" + }, + { + "target": "com.amazonaws.quicksight#InternalFailureException" + }, + { + "target": "com.amazonaws.quicksight#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.quicksight#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.quicksight#ThrottlingException" + }, + { + "target": "com.amazonaws.quicksight#UnsupportedPricingPlanException" + } + ], + "traits": { + "smithy.api#documentation": "

Use the UpdatePublicSharingSettings operation to enable or disable the public sharing settings of an Amazon QuickSight dashboard.

\n

To use this operation, enable session capacity pricing on your Amazon QuickSight account.

\n

Before you can enable public sharing on your account, you need to allow public sharing permissions to an administrative user in the IAM console. For more information on using IAM with Amazon QuickSight, see Using Amazon QuickSight with IAM.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/accounts/{AwsAccountId}/public-sharing-settings", + "code": 200 + } + } + }, + "com.amazonaws.quicksight#UpdatePublicSharingSettingsRequest": { + "type": "structure", + "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID associated with your Amazon QuickSight subscription.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "PublicSharingEnabled": { + "target": "com.amazonaws.quicksight#Boolean", + "traits": { + "smithy.api#documentation": "

A boolean that indicates whether or not public sharing is enabled on a Amazon QuickSight account.

" + } + } + } + }, + "com.amazonaws.quicksight#UpdatePublicSharingSettingsResponse": { + "type": "structure", + "members": { + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services request ID for this operation.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + } + } + }, "com.amazonaws.quicksight#UpdateResourcePermissionList": { "type": "list", "member": { diff --git a/codegen/sdk-codegen/aws-models/route-53.json b/codegen/sdk-codegen/aws-models/route-53.json index 946527ccaf4..e0f2cf39a86 100644 --- a/codegen/sdk-codegen/aws-models/route-53.json +++ b/codegen/sdk-codegen/aws-models/route-53.json @@ -29,6 +29,16 @@ ] }, "shapes": { + "com.amazonaws.route53#ARN": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "\\S" + } + }, "com.amazonaws.route53#AWSAccountID": { "type": "string" }, @@ -46,7 +56,7 @@ "name": "route53" }, "aws.protocols#restXml": {}, - "smithy.api#documentation": "

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.

", + "smithy.api#documentation": "

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web\n\t\t\tservice.

", "smithy.api#title": "Amazon Route 53", "smithy.api#xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" @@ -60,12 +70,18 @@ { "target": "com.amazonaws.route53#AssociateVPCWithHostedZone" }, + { + "target": "com.amazonaws.route53#ChangeCidrCollection" + }, { "target": "com.amazonaws.route53#ChangeResourceRecordSets" }, { "target": "com.amazonaws.route53#ChangeTagsForResource" }, + { + "target": "com.amazonaws.route53#CreateCidrCollection" + }, { "target": "com.amazonaws.route53#CreateHealthCheck" }, @@ -96,6 +112,9 @@ { "target": "com.amazonaws.route53#DeactivateKeySigningKey" }, + { + "target": "com.amazonaws.route53#DeleteCidrCollection" + }, { "target": "com.amazonaws.route53#DeleteHealthCheck" }, @@ -183,6 +202,15 @@ { "target": "com.amazonaws.route53#GetTrafficPolicyInstanceCount" }, + { + "target": "com.amazonaws.route53#ListCidrBlocks" + }, + { + "target": "com.amazonaws.route53#ListCidrCollections" + }, + { + "target": "com.amazonaws.route53#ListCidrLocations" + }, { "target": "com.amazonaws.route53#ListGeoLocations" }, @@ -254,20 +282,20 @@ "Type": { "target": "com.amazonaws.route53#AccountLimitType", "traits": { - "smithy.api#documentation": "

The limit that you requested. Valid values include the following:

\n\t\t ", + "smithy.api#documentation": "

The limit that you requested. Valid values include the following:

\n\t\t ", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { - "smithy.api#documentation": "

The current value for the limit that is specified by \n\t\t\tType.

", + "smithy.api#documentation": "

The current value for the limit that is specified by Type.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the type of limit that you specified in the request and the current value for that limit.

" + "smithy.api#documentation": "

A complex type that contains the type of limit that you specified in the request and\n\t\t\tthe current value for that limit.

" } }, "com.amazonaws.route53#AccountLimitType": { @@ -326,7 +354,7 @@ } ], "traits": { - "smithy.api#documentation": "

Activates a key-signing key (KSK) so that it can be used for signing by DNSSEC. This operation changes the \n\t\t\tKSK status to ACTIVE.

", + "smithy.api#documentation": "

Activates a key-signing key (KSK) so that it can be used for signing by DNSSEC. This\n\t\t\toperation changes the KSK status to ACTIVE.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/activate", @@ -348,7 +376,7 @@ "Name": { "target": "com.amazonaws.route53#SigningKeyName", "traits": { - "smithy.api#documentation": "

A string used to identify a key-signing key (KSK). Name can include numbers, letters, and underscores (_). Name must be unique for each key-signing key in the same \n\t\t\thosted zone.

", + "smithy.api#documentation": "

A string used to identify a key-signing key (KSK). Name can include\n\t\t\tnumbers, letters, and underscores (_). Name must be unique for each\n\t\t\tkey-signing key in the same hosted zone.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -372,20 +400,20 @@ "Region": { "target": "com.amazonaws.route53#CloudWatchRegion", "traits": { - "smithy.api#documentation": "

For the CloudWatch alarm that you want Route 53 health checkers to use to determine whether this health check is healthy, \n\t\t\tthe region that the alarm was created in.

\n\t

For the current list of CloudWatch regions, see Amazon CloudWatch endpoints and quotas in \n\t\t\tthe Amazon Web Services General Reference.

", + "smithy.api#documentation": "

For the CloudWatch alarm that you want Route 53 health checkers to use to determine\n\t\t\twhether this health check is healthy, the region that the alarm was created in.

\n\t\t

For the current list of CloudWatch regions, see Amazon CloudWatch endpoints and\n\t\t\t\tquotas in the Amazon Web Services General\n\t\t\tReference.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.route53#AlarmName", "traits": { - "smithy.api#documentation": "

The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy.

\n\t\t \n

Route 53 supports CloudWatch alarms with the following features:

\n\t\t\t \n\t\t
", + "smithy.api#documentation": "

The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use\n\t\t\tto determine whether this health check is healthy.

\n\t\t \n\t\t\t

Route 53 supports CloudWatch alarms with the following features:

\n\t\t\t \n\t\t
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether \n\t\t\tthe specified health check is healthy.

" + "smithy.api#documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53\n\t\t\thealth checkers to use to determine whether the specified health check is\n\t\t\thealthy.

" } }, "com.amazonaws.route53#AlarmName": { @@ -406,27 +434,27 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

\n Alias resource records sets only: The value used depends on where you want to route traffic:

\n\t\t
\n
Amazon API Gateway custom regional APIs and edge-optimized APIs
\n
\n

Specify the hosted zone ID for your API. You can get the applicable value using the CLI command \n\t\t\t\t\tget-domain-names:

\n\t\t\t\t\t \n\t\t\t\t
\n
Amazon Virtual Private Cloud interface VPC endpoint
\n
\n

Specify the hosted zone ID for your interface endpoint. You can get the value of HostedZoneId \n\t\t\t\t\tusing the CLI command \n\t\t\t\t\tdescribe-vpc-endpoints.

\n\t\t\t\t
\n
CloudFront distribution
\n
\n\t\t\t\t\t

Specify Z2FDTNDATAQYW2.

\n\t\t\t\t\t \n\t\t\t\t\t\t

Alias resource record sets for CloudFront can't be created in a private zone.

\n\t\t\t\t\t
\n\t\t\t\t
\n
Elastic Beanstalk environment
\n
\n\t\t\t\t\t

Specify the hosted zone ID for the region that you created the environment in. The environment \n\t\t\t\t\t\tmust have a regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see \n\t\t\t\t\t Elastic Beanstalk endpoints and quotas in the \n\t\t\t\t\t\t the Amazon Web Services General Reference.

\n\t\t\t\t
\n
ELB load balancer
\n
\n\t\t\t\t\t

Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the \n\t\t\t\t\t\thosted zone ID:

\n\t\t\t\t\t \n\t\t\t\t
\n
Global Accelerator accelerator
\n
\n

Specify Z2BJ6XQ5FK7U4H.

\n
\n
An Amazon S3 bucket configured as a static website
\n
\n\t\t\t\t\t

Specify the hosted zone ID for the region that you created the bucket in. For more information about \n\t\t\t\t\t\tvalid values, see the table \n\t\t\t\t\t\tAmazon S3 Website Endpoints \n\t\t\t\t\t\tin the Amazon Web Services General Reference.

\n\t\t\t\t
\n
Another Route 53 resource record set in your hosted zone
\n
\n\t\t\t\t\t

Specify the hosted zone ID of your hosted zone. (An alias resource record set\n\t\t\t\t\t\tcan't reference a resource record set in a different hosted zone.)

\n\t\t\t\t
\n
", + "smithy.api#documentation": "

\n Alias resource records sets only: The value used depends on where\n\t\t\tyou want to route traffic:

\n\t\t
\n
Amazon API Gateway custom regional APIs and edge-optimized APIs
\n
\n\t\t\t\t\t

Specify the hosted zone ID for your API. You can get the applicable value\n\t\t\t\t\t\tusing the CLI command get-domain-names:

\n\t\t\t\t\t \n\t\t\t\t
\n
Amazon Virtual Private Cloud interface VPC endpoint
\n
\n\t\t\t\t\t

Specify the hosted zone ID for your interface endpoint. You can get the\n\t\t\t\t\t\tvalue of HostedZoneId using the CLI command\n\t\t\t\t\t\t\tdescribe-vpc-endpoints.

\n\t\t\t\t
\n
CloudFront distribution
\n
\n\t\t\t\t\t

Specify Z2FDTNDATAQYW2.

\n\t\t\t\t\t \n\t\t\t\t\t\t

Alias resource record sets for CloudFront can't be created in a\n\t\t\t\t\t\t\tprivate zone.

\n\t\t\t\t\t
\n\t\t\t\t
\n
Elastic Beanstalk environment
\n
\n\t\t\t\t\t

Specify the hosted zone ID for the region that you created the environment\n\t\t\t\t\t\tin. The environment must have a regionalized subdomain. For a list of\n\t\t\t\t\t\tregions and the corresponding hosted zone IDs, see Elastic Beanstalk endpoints and quotas in the the\n\t\t\t\t\t\t\tAmazon Web Services General Reference.

\n\t\t\t\t
\n
ELB load balancer
\n
\n\t\t\t\t\t

Specify the value of the hosted zone ID for the load balancer. Use the\n\t\t\t\t\t\tfollowing methods to get the hosted zone ID:

\n\t\t\t\t\t \n\t\t\t\t
\n
Global Accelerator accelerator
\n
\n\t\t\t\t\t

Specify Z2BJ6XQ5FK7U4H.

\n\t\t\t\t
\n
An Amazon S3 bucket configured as a static website
\n
\n\t\t\t\t\t

Specify the hosted zone ID for the region that you created the bucket in.\n\t\t\t\t\t\tFor more information about valid values, see the table Amazon S3\n\t\t\t\t\t\t\tWebsite Endpoints in the Amazon Web Services General\n\t\t\t\t\t\t\tReference.

\n\t\t\t\t
\n
Another Route 53 resource record set in your hosted zone
\n
\n\t\t\t\t\t

Specify the hosted zone ID of your hosted zone. (An alias resource record\n\t\t\t\t\t\tset can't reference a resource record set in a different hosted\n\t\t\t\t\t\tzone.)

\n\t\t\t\t
\n
", "smithy.api#required": {} } }, "DNSName": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

\n Alias resource record sets only: The value that you specify depends on where you want to route queries:

\n\t\t
\n
Amazon API Gateway custom regional APIs and edge-optimized APIs
\n
\n

Specify the applicable domain name for your API. You can get the applicable value using the CLI command \n\t\t\t\t\tget-domain-names:

\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t

The name of the record that you're creating must match a custom domain name for your API, such as \n\t\t\t\t\t\t\tapi.example.com.

\n\t\t\t\t\t
\n\t\t\t\t
\n
Amazon Virtual Private Cloud interface VPC endpoint
\n
\n

Enter the API endpoint for the interface endpoint, such as \n\t\t\t\t\tvpce-123456789abcdef01-example-us-east-1a.elasticloadbalancing.us-east-1.vpce.amazonaws.com. For edge-optimized APIs, \n\t\t\t\t\tthis is the domain name for the corresponding CloudFront distribution. You can get the value of DnsName using the CLI command \n\t\t\t\t\tdescribe-vpc-endpoints.

\n\t\t\t\t
\n
CloudFront distribution
\n
\n

Specify the domain name that CloudFront assigned when you created your distribution.

\n\t\t\t\t\t

Your CloudFront distribution must include an alternate domain name that matches the name of the resource record set. \n\t\t\t\t\t\tFor example, if the name of the resource record set is acme.example.com, your CloudFront distribution must \n\t\t\t\t\t\tinclude acme.example.com as one of the alternate domain names. For more information, see \n\t\t\t\t\t\tUsing Alternate Domain Names (CNAMEs) in the \n\t\t\t\t\t\tAmazon CloudFront Developer Guide.

\n\t\t\t\t\t

You can't create a resource record set in a private hosted zone to route traffic to a CloudFront distribution.

\n\t\t\t\t\t \n

For failover alias records, you can't specify a CloudFront distribution for both the primary and secondary records. \n\t\t\t\t\t\tA distribution must include an alternate domain name that matches the name of the record. However, the primary and secondary records \n\t\t\t\t\t\thave the same name, and you can't include the same alternate domain name in more than one distribution.

\n
\n\t\t\t\t
\n
Elastic Beanstalk environment
\n
\n\t\t\t\t\t

If the domain name for your Elastic Beanstalk environment includes the region that you deployed the environment in, \n\t\t\t\t\t\tyou can create an alias record that routes traffic to the environment. For example, the domain name \n\t\t\t\t\t\tmy-environment.us-west-2.elasticbeanstalk.com is a regionalized domain name.

\n\t\t\t\t\t \n\t\t\t\t\t\t

For environments that were created before early 2016, the domain name doesn't include the region. To route traffic \n\t\t\t\t\t\t\tto these environments, you must create a CNAME record instead of an alias record. Note that you can't create a \n\t\t\t\t\t\t\tCNAME record for the root domain name. For example, if your domain name is example.com, you can create a record \n\t\t\t\t\t\t\tthat routes traffic for acme.example.com to your Elastic Beanstalk environment, but you can't create a record \n\t\t\t\t\t\t\tthat routes traffic for example.com to your Elastic Beanstalk environment.

\n\t\t\t\t\t
\n\t\t\t\t\t

For Elastic Beanstalk environments that have regionalized subdomains, specify the CNAME attribute for the environment. \n\t\t\t\t\t\tYou can use the following methods to get the value of the CNAME attribute:

\n\t\t\t\t\t \n\t\t\t\t
\n
ELB load balancer
\n
\n

Specify the DNS name that is associated with the load balancer. Get the DNS name by using the Amazon Web Services Management Console, \n\t\t\t\t\tthe ELB API, or the CLI.

\n\t\t\t\t\t \n\t\t\t\t
\n
Global Accelerator accelerator
\n
\n

Specify the DNS name for your accelerator:

\n\t\t\t\t\t \n\t\t\t\t
\n
Amazon S3 bucket that is configured as a static website
\n
\n

Specify the domain name of the Amazon S3 website endpoint that you created the bucket in, for example, \n\t\t\t\t\ts3-website.us-east-2.amazonaws.com. For more information about valid values, see the table \n\t\t\t\t\tAmazon S3 Website Endpoints \n\t\t\t\t\tin the Amazon Web Services General Reference. For more information about using S3 buckets for websites, \n\t\t\t\t\tsee Getting Started with Amazon Route 53 \n\t\t\t\t\tin the Amazon Route 53 Developer Guide.\n

\n
\n
Another Route 53 resource record set
\n
\n

Specify the value of the Name element for a resource record set in the current hosted zone.

\n\t\t\t\t\t \n

If you're creating an alias record that has the same name as the hosted zone (known as the zone apex), \n\t\t\t\t\t\tyou can't specify the domain name for a record for which the value of Type is CNAME. This is because \n\t\t\t\t\t\tthe alias record must have the same type as the record that you're routing traffic to, and creating a CNAME record for the \n\t\t\t\t\t\tzone apex isn't supported even for an alias record.

\n
\n\t\t\t\t
\n
", + "smithy.api#documentation": "

\n Alias resource record sets only: The value that you specify\n\t\t\tdepends on where you want to route queries:

\n\t\t
\n
Amazon API Gateway custom regional APIs and edge-optimized APIs
\n
\n\t\t\t\t\t

Specify the applicable domain name for your API. You can get the\n\t\t\t\t\t\tapplicable value using the CLI command get-domain-names:

\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t

The name of the record that you're creating must match a custom domain\n\t\t\t\t\t\t\tname for your API, such as api.example.com.

\n\t\t\t\t\t
\n\t\t\t\t
\n
Amazon Virtual Private Cloud interface VPC endpoint
\n
\n\t\t\t\t\t

Enter the API endpoint for the interface endpoint, such as\n\t\t\t\t\t\t\tvpce-123456789abcdef01-example-us-east-1a.elasticloadbalancing.us-east-1.vpce.amazonaws.com.\n\t\t\t\t\t\tFor edge-optimized APIs, this is the domain name for the corresponding\n\t\t\t\t\t\tCloudFront distribution. You can get the value of DnsName using\n\t\t\t\t\t\tthe CLI command describe-vpc-endpoints.

\n\t\t\t\t
\n
CloudFront distribution
\n
\n\t\t\t\t\t

Specify the domain name that CloudFront assigned when you created your\n\t\t\t\t\t\tdistribution.

\n\t\t\t\t\t

Your CloudFront distribution must include an alternate domain name that\n\t\t\t\t\t\tmatches the name of the resource record set. For example, if the name of the\n\t\t\t\t\t\tresource record set is acme.example.com, your\n\t\t\t\t\t\tCloudFront distribution must include acme.example.com\n\t\t\t\t\t\tas one of the alternate domain names. For more information, see Using Alternate\n\t\t\t\t\t\t\tDomain Names (CNAMEs) in the Amazon CloudFront\n\t\t\t\t\t\t\tDeveloper Guide.

\n\t\t\t\t\t

You can't create a resource record set in a private hosted zone to route\n\t\t\t\t\t\ttraffic to a CloudFront distribution.

\n\t\t\t\t\t \n\t\t\t\t\t\t

For failover alias records, you can't specify a CloudFront\n\t\t\t\t\t\t\tdistribution for both the primary and secondary records. A distribution\n\t\t\t\t\t\t\tmust include an alternate domain name that matches the name of the\n\t\t\t\t\t\t\trecord. However, the primary and secondary records have the same name,\n\t\t\t\t\t\t\tand you can't include the same alternate domain name in more than one\n\t\t\t\t\t\t\tdistribution.

\n\t\t\t\t\t
\n\t\t\t\t
\n
Elastic Beanstalk environment
\n
\n\t\t\t\t\t

If the domain name for your Elastic Beanstalk environment includes the\n\t\t\t\t\t\tregion that you deployed the environment in, you can create an alias record\n\t\t\t\t\t\tthat routes traffic to the environment. For example, the domain name\n\t\t\t\t\t\t\t\tmy-environment.us-west-2.elasticbeanstalk.com\n\t\t\t\t\t\tis a regionalized domain name.

\n\t\t\t\t\t \n\t\t\t\t\t\t

For environments that were created before early 2016, the domain name\n\t\t\t\t\t\t\tdoesn't include the region. To route traffic to these environments, you\n\t\t\t\t\t\t\tmust create a CNAME record instead of an alias record. Note that you\n\t\t\t\t\t\t\tcan't create a CNAME record for the root domain name. For example, if\n\t\t\t\t\t\t\tyour domain name is example.com, you can create a record that routes\n\t\t\t\t\t\t\ttraffic for acme.example.com to your Elastic Beanstalk environment, but\n\t\t\t\t\t\t\tyou can't create a record that routes traffic for example.com to your\n\t\t\t\t\t\t\tElastic Beanstalk environment.

\n\t\t\t\t\t
\n\t\t\t\t\t

For Elastic Beanstalk environments that have regionalized subdomains,\n\t\t\t\t\t\tspecify the CNAME attribute for the environment. You can use\n\t\t\t\t\t\tthe following methods to get the value of the CNAME attribute:

\n\t\t\t\t\t \n\t\t\t\t
\n
ELB load balancer
\n
\n\t\t\t\t\t

Specify the DNS name that is associated with the load balancer. Get the\n\t\t\t\t\t\tDNS name by using the Amazon Web Services Management Console, the ELB API, or the CLI.

\n\t\t\t\t\t \n\t\t\t\t
\n
Global Accelerator accelerator
\n
\n\t\t\t\t\t

Specify the DNS name for your accelerator:

\n\t\t\t\t\t \n\t\t\t\t
\n
Amazon S3 bucket that is configured as a static website
\n
\n\t\t\t\t\t

Specify the domain name of the Amazon S3 website endpoint that you created\n\t\t\t\t\t\tthe bucket in, for example, s3-website.us-east-2.amazonaws.com.\n\t\t\t\t\t\tFor more information about valid values, see the table Amazon S3\n\t\t\t\t\t\t\tWebsite Endpoints in the Amazon Web Services General\n\t\t\t\t\t\t\tReference. For more information about using S3 buckets for\n\t\t\t\t\t\twebsites, see Getting Started\n\t\t\t\t\t\t\twith Amazon Route 53 in the Amazon Route 53 Developer\n\t\t\t\t\t\t\tGuide.\n

\n\t\t\t\t
\n
Another Route 53 resource record set
\n
\n\t\t\t\t\t

Specify the value of the Name element for a resource record\n\t\t\t\t\t\tset in the current hosted zone.

\n\t\t\t\t\t \n\t\t\t\t\t\t

If you're creating an alias record that has the same name as the\n\t\t\t\t\t\t\thosted zone (known as the zone apex), you can't specify the domain name\n\t\t\t\t\t\t\tfor a record for which the value of Type is\n\t\t\t\t\t\t\t\tCNAME. This is because the alias record must have the\n\t\t\t\t\t\t\tsame type as the record that you're routing traffic to, and creating a\n\t\t\t\t\t\t\tCNAME record for the zone apex isn't supported even for an alias\n\t\t\t\t\t\t\trecord.

\n\t\t\t\t\t
\n\t\t\t\t
\n
", "smithy.api#required": {} } }, "EvaluateTargetHealth": { "target": "com.amazonaws.route53#AliasHealthEnabled", "traits": { - "smithy.api#documentation": "

\n Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets: \n\t\t\tWhen EvaluateTargetHealth is true, an alias resource record set inherits the health of the referenced Amazon Web Services resource, \n\t\t\tsuch as an ELB load balancer or another resource record set in the hosted zone.

\n\t\t

Note the following:

\n\n\t\t
\n
CloudFront distributions
\n
\n

You can't set EvaluateTargetHealth to true when the alias target is a \n\t\t\t\t\tCloudFront distribution.

\n
\n
Elastic Beanstalk environments that have regionalized subdomains
\n
\n

If you specify an Elastic Beanstalk environment in DNSName and the environment contains an ELB load balancer, \n\t\t\t\t\tElastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically \n\t\t\t\t\tcontains an ELB load balancer if it includes more than one Amazon EC2 instance.) If you set EvaluateTargetHealth to \n\t\t\t\t\ttrue and either no Amazon EC2 instances are healthy or the load balancer itself is unhealthy, \n\t\t\t\t\tRoute 53 routes queries to other available resources that are healthy, if any.

\n\t\t\t\t\t

If the environment contains a single Amazon EC2 instance, there are no special requirements.

\n
\n
ELB load balancers
\n
\n

Health checking behavior depends on the type of load balancer:

\n\t\t\t\t\t \n\t\t\t\t\t \n

When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they're not Route 53 health checks, but \n\t\t\t\t\t\tthey perform a similar function. Do not create Route 53 health checks for the EC2 instances that you register with an ELB load balancer.

\n
\n\t\t\t\t
\n
S3 buckets
\n
\n

There are no special requirements for setting EvaluateTargetHealth to true \n\t\t\t\t\twhen the alias target is an S3 bucket.

\n
\n
Other records in the same hosted zone
\n
\n

If the Amazon Web Services resource that you specify in DNSName is a record or a group of records \n\t\t\t\t\t(for example, a group of weighted records) but is not another alias record, we recommend that you associate a health check \n\t\t\t\t\twith all of the records in the alias target. For more information, see \n\t\t\t\t\tWhat Happens When You Omit Health Checks? \n\t\t\t\t\tin the Amazon Route 53 Developer Guide.

\n
\n
\n\t\t\n\t\t

For more information and examples, see \n\t\t\tAmazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.

", + "smithy.api#documentation": "

\n Applies only to alias, failover alias, geolocation alias, latency alias, and\n\t\t\t\tweighted alias resource record sets: When\n\t\t\t\tEvaluateTargetHealth is true, an alias resource record set\n\t\t\tinherits the health of the referenced Amazon Web Services resource, such as an ELB load\n\t\t\tbalancer or another resource record set in the hosted zone.

\n\t\t

Note the following:

\n\t\t
\n
CloudFront distributions
\n
\n\t\t\t\t\t

You can't set EvaluateTargetHealth to true when\n\t\t\t\t\t\tthe alias target is a CloudFront distribution.

\n\t\t\t\t
\n
Elastic Beanstalk environments that have regionalized subdomains
\n
\n\t\t\t\t\t

If you specify an Elastic Beanstalk environment in DNSName\n\t\t\t\t\t\tand the environment contains an ELB load balancer, Elastic Load Balancing\n\t\t\t\t\t\troutes queries only to the healthy Amazon EC2 instances that are registered\n\t\t\t\t\t\twith the load balancer. (An environment automatically contains an ELB load\n\t\t\t\t\t\tbalancer if it includes more than one Amazon EC2 instance.) If you set\n\t\t\t\t\t\t\tEvaluateTargetHealth to true and either no\n\t\t\t\t\t\tAmazon EC2 instances are healthy or the load balancer itself is unhealthy,\n\t\t\t\t\t\tRoute 53 routes queries to other available resources that are healthy, if\n\t\t\t\t\t\tany.

\n\t\t\t\t\t

If the environment contains a single Amazon EC2 instance, there are no\n\t\t\t\t\t\tspecial requirements.

\n\t\t\t\t
\n
ELB load balancers
\n
\n\t\t\t\t\t

Health checking behavior depends on the type of load balancer:

\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t

When you create a load balancer, you configure settings for Elastic\n\t\t\t\t\t\t\tLoad Balancing health checks; they're not Route 53 health checks, but\n\t\t\t\t\t\t\tthey perform a similar function. Do not create Route 53 health checks\n\t\t\t\t\t\t\tfor the EC2 instances that you register with an ELB load balancer.\n\t\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t
\n
S3 buckets
\n
\n\t\t\t\t\t

There are no special requirements for setting\n\t\t\t\t\t\t\tEvaluateTargetHealth to true when the alias\n\t\t\t\t\t\ttarget is an S3 bucket.

\n\t\t\t\t
\n
Other records in the same hosted zone
\n
\n\t\t\t\t\t

If the Amazon Web Services resource that you specify in\n\t\t\t\t\t\t\tDNSName is a record or a group of records (for example, a\n\t\t\t\t\t\tgroup of weighted records) but is not another alias record, we recommend\n\t\t\t\t\t\tthat you associate a health check with all of the records in the alias\n\t\t\t\t\t\ttarget. For more information, see What Happens When You Omit Health Checks? in the\n\t\t\t\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t\t\t
\n
\n\t\t

For more information and examples, see Amazon Route 53 Health Checks\n\t\t\t\tand DNS Failover in the Amazon Route 53 Developer\n\t\t\tGuide.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n Alias resource record sets only: Information about the Amazon Web Services resource, such as a CloudFront distribution or \n\t\t\tan Amazon S3 bucket, that you want to route traffic to.

\n\t\t

When creating resource record sets for a private hosted zone, note the following:

\n\t\t " + "smithy.api#documentation": "

\n Alias resource record sets only: Information about the Amazon Web Services resource, such as a CloudFront distribution or an Amazon S3 bucket, that\n\t\t\tyou want to route traffic to.

\n\t\t

When creating resource record sets for a private hosted zone, note the\n\t\t\tfollowing:

\n\t\t " } }, "com.amazonaws.route53#AssociateVPCComment": { @@ -467,7 +495,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates an Amazon VPC with a private hosted zone.

\n\t\t \n

To perform the association, the VPC and the private hosted zone must already exist. \n\t\t\tYou can't convert a public hosted zone into a private hosted zone.

\n
\n\t\t \n

If you want to associate a VPC that was created by using one Amazon Web Services account with a private hosted zone that was created \n\t\t\tby using a different account, the Amazon Web Services account that created the private hosted zone must first submit a \n\t\t\tCreateVPCAssociationAuthorization request. Then the account that created the VPC must submit an \n\t\t\tAssociateVPCWithHostedZone request.

\n
\n\t\t \n

When granting access, the hosted zone and the Amazon VPC must belong to the same partition. A\n\t\t\tpartition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one\n\t\t\tpartition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n
", + "smithy.api#documentation": "

Associates an Amazon VPC with a private hosted zone.

\n\t\t \n\t\t\t

To perform the association, the VPC and the private hosted zone must already\n\t\t\t\texist. You can't convert a public hosted zone into a private hosted zone.

\n\t\t
\n\t\t \n\t\t\t

If you want to associate a VPC that was created by using one Amazon Web Services account with a private hosted zone that was created by using a\n\t\t\t\tdifferent account, the Amazon Web Services account that created the private hosted\n\t\t\t\tzone must first submit a CreateVPCAssociationAuthorization request.\n\t\t\t\tThen the account that created the VPC must submit an\n\t\t\t\t\tAssociateVPCWithHostedZone request.

\n\t\t
\n\t\t \n\t\t\t

When granting access, the hosted zone and the Amazon VPC must belong to\n\t\t\t\tthe same partition. A partition is a group of Amazon Web Services Regions. Each\n\t\t\t\t\tAmazon Web Services account is scoped to one partition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n\t\t
", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/associatevpc", @@ -481,7 +509,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the private hosted zone that you want to associate an Amazon VPC with.

\n\t\t

Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.

", + "smithy.api#documentation": "

The ID of the private hosted zone that you want to associate an Amazon VPC\n\t\t\twith.

\n\t\t

Note that you can't associate a VPC with a hosted zone that doesn't have an existing\n\t\t\tVPC association.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -489,7 +517,7 @@ "VPC": { "target": "com.amazonaws.route53#VPC", "traits": { - "smithy.api#documentation": "

A complex type that contains information about the VPC that you want to associate with a private hosted zone.

", + "smithy.api#documentation": "

A complex type that contains information about the VPC that you want to associate with\n\t\t\ta private hosted zone.

", "smithy.api#required": {} } }, @@ -501,7 +529,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the request to associate a VPC with a private hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about the request to associate a VPC with a\n\t\t\tprivate hosted zone.

" } }, "com.amazonaws.route53#AssociateVPCWithHostedZoneResponse": { @@ -516,7 +544,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response information for the AssociateVPCWithHostedZone request.

" + "smithy.api#documentation": "

A complex type that contains the response information for the\n\t\t\t\tAssociateVPCWithHostedZone request.

" } }, "com.amazonaws.route53#Change": { @@ -525,7 +553,7 @@ "Action": { "target": "com.amazonaws.route53#ChangeAction", "traits": { - "smithy.api#documentation": "

The action to perform:

\n\t\t ", + "smithy.api#documentation": "

The action to perform:

\n\t\t ", "smithy.api#required": {} } }, @@ -581,13 +609,97 @@ "smithy.api#documentation": "

The information for a change request.

" } }, + "com.amazonaws.route53#ChangeCidrCollection": { + "type": "operation", + "input": { + "target": "com.amazonaws.route53#ChangeCidrCollectionRequest" + }, + "output": { + "target": "com.amazonaws.route53#ChangeCidrCollectionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.route53#CidrBlockInUseException" + }, + { + "target": "com.amazonaws.route53#CidrCollectionVersionMismatchException" + }, + { + "target": "com.amazonaws.route53#ConcurrentModification" + }, + { + "target": "com.amazonaws.route53#InvalidInput" + }, + { + "target": "com.amazonaws.route53#LimitsExceeded" + }, + { + "target": "com.amazonaws.route53#NoSuchCidrCollectionException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates, changes, or deletes CIDR blocks within a collection. Contains authoritative\n\t\t\tIP information mapping blocks to one or multiple locations.

\n\t\t

A change request can update multiple locations in a collection at a time, which is\n\t\t\thelpful if you want to move one or more CIDR blocks from one location to another in one\n\t\t\ttransaction, without downtime.

\n\t\t

\n Limits\n

\n\t\t

The max number of CIDR blocks included in the request is\n\t\t\t1000.\n\t\t\tAs a result, big updates require multiple API calls.

\n\t\t

\n PUT and DELETE_IF_EXISTS\n

\n\t\t

Use ChangeCidrCollection to perform the following actions:

\n\t\t ", + "smithy.api#http": { + "method": "POST", + "uri": "/2013-04-01/cidrcollection/{Id}", + "code": 200 + } + } + }, + "com.amazonaws.route53#ChangeCidrCollectionRequest": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.route53#UUID", + "traits": { + "smithy.api#documentation": "

The UUID of the CIDR collection to update.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "CollectionVersion": { + "target": "com.amazonaws.route53#CollectionVersion", + "traits": { + "smithy.api#documentation": "

A sequential counter that Amazon Route 53 sets to 1 when you create a\n\t\t\tcollection and increments it by 1 each time you update the collection.

\n\t\t

We recommend that you use ListCidrCollection to get the current value of\n\t\t\t\tCollectionVersion for the collection that you want to update, and then\n\t\t\tinclude that value with the change request. This prevents Route 53 from\n\t\t\toverwriting an intervening update:

\n\t\t " + } + }, + "Changes": { + "target": "com.amazonaws.route53#CidrCollectionChanges", + "traits": { + "smithy.api#documentation": "

Information about changes to a CIDR collection.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.route53#ChangeCidrCollectionResponse": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.route53#ChangeId", + "traits": { + "smithy.api#documentation": "

The ID that is returned by ChangeCidrCollection. You can use it as input to\n\t\t\t\tGetChange to see if a CIDR collection change has propagated or\n\t\t\tnot.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.route53#ChangeId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 6500 + } + } + }, "com.amazonaws.route53#ChangeInfo": { "type": "structure", "members": { "Id": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

This element contains an ID that you use when performing a \n\t\t\tGetChange \n\t\t\taction to get detailed information about the change.

", + "smithy.api#documentation": "

This element contains an ID that you use when performing a GetChange action to get\n\t\t\tdetailed information about the change.

", "smithy.api#required": {} } }, @@ -601,7 +713,7 @@ "SubmittedAt": { "target": "com.amazonaws.route53#TimeStamp", "traits": { - "smithy.api#documentation": "

The date and time that the change request was submitted in \n\t\t\tISO 8601 format and Coordinated Universal Time (UTC). \n\t\t\tFor example, the value 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 UTC.

", + "smithy.api#documentation": "

The date and time that the change request was submitted in ISO 8601 format and Coordinated\n\t\t\tUniversal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z\n\t\t\trepresents March 27, 2017 at 17:48:16.751 UTC.

", "smithy.api#required": {} } }, @@ -642,7 +754,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified \n\t\t\tdomain name or subdomain name. For example, you can use ChangeResourceRecordSets to create a resource record set that \n\t\t\troutes traffic for test.example.com to a web server that has an IP address of 192.0.2.44.

\n\t\t\n\t\t

\n Deleting Resource Record Sets\n

\n\t\t

To delete a resource record set, you must specify all the same values that you specified when you created it.

\n\n\t\t

\n Change Batches and Transactional Changes\n

\n\t\t

The request body must include a document with a ChangeResourceRecordSetsRequest element. \n\t\t\tThe request body contains a list of change items, known as a change batch. Change batches are considered transactional changes.\n\t\t\tRoute 53 validates the changes in the request and then either makes all or none of the changes in the change batch request. \n\t\t\tThis ensures that DNS routing isn't adversely affected by partial changes to the resource record sets in a hosted zone.

\n\t\t

For example, suppose a change batch request contains two changes: it deletes the CNAME resource record set for www.example.com and \n\t\t\tcreates an alias resource record set for www.example.com. If validation for both records succeeds, Route 53 deletes the first resource record set and \n\t\t\tcreates the second resource record set in a single operation. If validation for either the DELETE or the CREATE action fails, \n\t\t\tthen the request is canceled, and the original CNAME record continues to exist.

\n\t\t \n\t\t\t

If you try to delete the same resource record set more than once in a single change batch, Route 53 returns an InvalidChangeBatch error.

\n\t\t
\n\t\t\n\t\t

\n Traffic Flow\n

\n\t\t

To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the \n\t\t\tRoute 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, \n\t\t\tthen associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), \n\t\t\tin the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing \n\t\t\tas expected. For more information, see Using Traffic Flow to Route DNS Traffic \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t\n\t\t

\n Create, Delete, and Upsert\n

\n\t\t

Use ChangeResourceRecordsSetsRequest to perform the following actions:

\n\t\t\t \n\t\t\n\t\t

\n Syntaxes for Creating, Updating, and Deleting Resource Record Sets\n

\n\t\t

The syntax for a request depends on the type of resource record set that you want to create, delete, or update, such as \n\t\t\tweighted, alias, or failover. The XML elements in your request must appear in the order listed in the syntax.

\n\n\t\t\n\t\t

For an example for each type of resource record set, see \"Examples.\"

\n\t\t\n\t\t\n\t\t

Don't refer to the syntax in the \"Parameter Syntax\" section, which includes all of the elements for every kind of \n\t\t\tresource record set that you can create, delete, or update by using ChangeResourceRecordSets.

\n\t\t\n\t\t

\n Change Propagation to Route 53 DNS Servers\n

\n\t\t

When you submit a ChangeResourceRecordSets request, Route 53 propagates your changes to all of the \n\t\t\tRoute 53 authoritative DNS servers. While your changes are propagating, GetChange returns a status of \n\t\t\tPENDING. When propagation is complete, GetChange returns a status of INSYNC. \n\t\t\tChanges generally propagate to all Route 53 name servers within 60 seconds. For more information, see \n\t\t\tGetChange.

\n\n\t\t

\n Limits on ChangeResourceRecordSets Requests\n

\n\t\t

For information about the limits on a ChangeResourceRecordSets request, see \n\t\t\tLimits in the \n\t\t\tAmazon Route 53 Developer Guide.

", + "smithy.api#documentation": "

Creates, changes, or deletes a resource record set, which contains authoritative DNS\n\t\t\tinformation for a specified domain name or subdomain name. For example, you can use\n\t\t\t\tChangeResourceRecordSets to create a resource record set that routes\n\t\t\ttraffic for test.example.com to a web server that has an IP address of\n\t\t\t192.0.2.44.

\n\t\t

\n Deleting Resource Record Sets\n

\n\t\t

To delete a resource record set, you must specify all the same values that you\n\t\t\tspecified when you created it.

\n\t\t

\n Change Batches and Transactional Changes\n

\n\t\t

The request body must include a document with a\n\t\t\t\tChangeResourceRecordSetsRequest element. The request body contains a\n\t\t\tlist of change items, known as a change batch. Change batches are considered\n\t\t\ttransactional changes. Route 53 validates the changes in the request and then either\n\t\t\tmakes all or none of the changes in the change batch request. This ensures that DNS\n\t\t\trouting isn't adversely affected by partial changes to the resource record sets in a\n\t\t\thosted zone.

\n\t\t

For example, suppose a change batch request contains two changes: it deletes the\n\t\t\t\tCNAME resource record set for www.example.com and creates an alias\n\t\t\tresource record set for www.example.com. If validation for both records succeeds, Route\n\t\t\t53 deletes the first resource record set and creates the second resource record set in a\n\t\t\tsingle operation. If validation for either the DELETE or the\n\t\t\t\tCREATE action fails, then the request is canceled, and the original\n\t\t\t\tCNAME record continues to exist.

\n\t\t \n\t\t\t

If you try to delete the same resource record set more than once in a single\n\t\t\t\tchange batch, Route 53 returns an InvalidChangeBatch error.

\n\t\t
\n\t\t

\n Traffic Flow\n

\n\t\t

To create resource record sets for complex routing configurations, use either the\n\t\t\ttraffic flow visual editor in the Route 53 console or the API actions for traffic\n\t\t\tpolicies and traffic policy instances. Save the configuration as a traffic policy, then\n\t\t\tassociate the traffic policy with one or more domain names (such as example.com) or\n\t\t\tsubdomain names (such as www.example.com), in the same hosted zone or in multiple hosted\n\t\t\tzones. You can roll back the updates if the new configuration isn't performing as\n\t\t\texpected. For more information, see Using Traffic Flow to Route\n\t\t\t\tDNS Traffic in the Amazon Route 53 Developer\n\t\t\tGuide.

\n\t\t

\n Create, Delete, and Upsert\n

\n\t\t

Use ChangeResourceRecordsSetsRequest to perform the following\n\t\t\tactions:

\n\t\t \n\t\t

\n Syntaxes for Creating, Updating, and Deleting Resource Record\n\t\t\t\tSets\n

\n\t\t

The syntax for a request depends on the type of resource record set that you want to\n\t\t\tcreate, delete, or update, such as weighted, alias, or failover. The XML elements in\n\t\t\tyour request must appear in the order listed in the syntax.

\n\t\t\n\t\t

For an example for each type of resource record set, see \"Examples.\"

\n\t\t\n\t\t

Don't refer to the syntax in the \"Parameter Syntax\" section, which includes\n\t\t\tall of the elements for every kind of resource record set that you can create, delete,\n\t\t\tor update by using ChangeResourceRecordSets.

\n\t\t

\n Change Propagation to Route 53 DNS Servers\n

\n\t\t

When you submit a ChangeResourceRecordSets request, Route 53 propagates\n\t\t\tyour changes to all of the Route 53 authoritative DNS servers. While your changes are\n\t\t\tpropagating, GetChange returns a status of PENDING. When\n\t\t\tpropagation is complete, GetChange returns a status of INSYNC.\n\t\t\tChanges generally propagate to all Route 53 name servers within 60 seconds. For more\n\t\t\tinformation, see GetChange.

\n\t\t

\n Limits on ChangeResourceRecordSets Requests\n

\n\t\t

For information about the limits on a ChangeResourceRecordSets request,\n\t\t\tsee Limits in the Amazon Route 53 Developer Guide.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/rrset", @@ -656,7 +768,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the hosted zone that contains the resource record sets that you want to change.

", + "smithy.api#documentation": "

The ID of the hosted zone that contains the resource record sets that you want to\n\t\t\tchange.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -664,7 +776,7 @@ "ChangeBatch": { "target": "com.amazonaws.route53#ChangeBatch", "traits": { - "smithy.api#documentation": "

A complex type that contains an optional comment and the Changes element.

", + "smithy.api#documentation": "

A complex type that contains an optional comment and the Changes\n\t\t\telement.

", "smithy.api#required": {} } } @@ -679,7 +791,7 @@ "ChangeInfo": { "target": "com.amazonaws.route53#ChangeInfo", "traits": { - "smithy.api#documentation": "

A complex type that contains information about changes made to your hosted zone.

\n\t\t

This element contains an ID that you use when performing a \n\t\t\tGetChange \n\t\t\taction to get detailed information about the change.

", + "smithy.api#documentation": "

A complex type that contains information about changes made to your hosted\n\t\t\tzone.

\n\t\t

This element contains an ID that you use when performing a GetChange action to get\n\t\t\tdetailed information about the change.

", "smithy.api#required": {} } } @@ -729,7 +841,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds, edits, or deletes tags for a health check or a hosted zone.

\n\t\t

For information about using tags for cost allocation, see \n\t\t\tUsing Cost Allocation Tags \n\t\t\tin the Billing and Cost Management User Guide.

", + "smithy.api#documentation": "

Adds, edits, or deletes tags for a health check or a hosted zone.

\n\t\t

For information about using tags for cost allocation, see Using Cost Allocation\n\t\t\t\tTags in the Billing and Cost Management User Guide.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/tags/{ResourceType}/{ResourceId}", @@ -743,7 +855,7 @@ "ResourceType": { "target": "com.amazonaws.route53#TagResourceType", "traits": { - "smithy.api#documentation": "

The type of the resource.

\n\t\t ", + "smithy.api#documentation": "

The type of the resource.

\n\t\t ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -759,18 +871,18 @@ "AddTags": { "target": "com.amazonaws.route53#TagList", "traits": { - "smithy.api#documentation": "

A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags \n\t\t\tthat you want to edit Value for.

\n\t\t

You can add a maximum of 10 tags to a health check or a hosted zone.

" + "smithy.api#documentation": "

A complex type that contains a list of the tags that you want to add to the specified\n\t\t\thealth check or hosted zone and/or the tags that you want to edit Value\n\t\t\tfor.

\n\t\t

You can add a maximum of 10 tags to a health check or a hosted zone.

" } }, "RemoveTagKeys": { "target": "com.amazonaws.route53#TagKeyList", "traits": { - "smithy.api#documentation": "

A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. \n\t\t\tYou can specify up to 10 keys.

" + "smithy.api#documentation": "

A complex type that contains a list of the tags that you want to delete from the\n\t\t\tspecified health check or hosted zone. You can specify up to 10 keys.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the tags that you want to add, edit, or delete.

" + "smithy.api#documentation": "

A complex type that contains information about the tags that you want to add, edit, or\n\t\t\tdelete.

" } }, "com.amazonaws.route53#ChangeTagsForResourceResponse": { @@ -815,34 +927,276 @@ } } }, + "com.amazonaws.route53#Cidr": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + }, + "smithy.api#pattern": "\\S" + } + }, + "com.amazonaws.route53#CidrBlockInUseException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.route53#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

This CIDR block is already in use.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.route53#CidrBlockSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.route53#CidrBlockSummary" + } + }, + "com.amazonaws.route53#CidrBlockSummary": { + "type": "structure", + "members": { + "CidrBlock": { + "target": "com.amazonaws.route53#Cidr", + "traits": { + "smithy.api#documentation": "

Value for the CIDR block.

" + } + }, + "LocationName": { + "target": "com.amazonaws.route53#CidrLocationNameDefaultNotAllowed", + "traits": { + "smithy.api#documentation": "

The location name of the CIDR block.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A complex type that lists the CIDR blocks.

" + } + }, + "com.amazonaws.route53#CidrCollection": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.route53#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the collection. Can be used to reference the collection in IAM policy or in\n\t\t\tanother Amazon Web Services account.

" + } + }, + "Id": { + "target": "com.amazonaws.route53#UUID", + "traits": { + "smithy.api#documentation": "

The unique ID of the CIDR collection.

" + } + }, + "Name": { + "target": "com.amazonaws.route53#CollectionName", + "traits": { + "smithy.api#documentation": "

The name of a CIDR collection.

" + } + }, + "Version": { + "target": "com.amazonaws.route53#CollectionVersion", + "traits": { + "smithy.api#documentation": "

A sequential counter that Route 53 sets to 1 when you create a CIDR\n\t\t\tcollection and increments by 1 each time you update settings for the CIDR\n\t\t\tcollection.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A complex\n\t\t\ttype that\n\t\t\tidentifies a CIDR collection.

" + } + }, + "com.amazonaws.route53#CidrCollectionAlreadyExistsException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.route53#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

A CIDR collection with this name and a different caller reference already exists in this account.

", + "smithy.api#error": "client" + } + }, + "com.amazonaws.route53#CidrCollectionChange": { + "type": "structure", + "members": { + "LocationName": { + "target": "com.amazonaws.route53#CidrLocationNameDefaultNotAllowed", + "traits": { + "smithy.api#documentation": "

Name of the location that is associated with the CIDR\n\t\t\tcollection.

", + "smithy.api#required": {} + } + }, + "Action": { + "target": "com.amazonaws.route53#CidrCollectionChangeAction", + "traits": { + "smithy.api#documentation": "

CIDR collection change action.

", + "smithy.api#required": {} + } + }, + "CidrList": { + "target": "com.amazonaws.route53#CidrList", + "traits": { + "smithy.api#documentation": "

List of CIDR blocks.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A complex type that contains information about the CIDR collection change.

" + } + }, + "com.amazonaws.route53#CidrCollectionChangeAction": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PUT", + "name": "PUT" + }, + { + "value": "DELETE_IF_EXISTS", + "name": "DELETE_IF_EXISTS" + } + ] + } + }, + "com.amazonaws.route53#CidrCollectionChanges": { + "type": "list", + "member": { + "target": "com.amazonaws.route53#CidrCollectionChange" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.route53#CidrCollectionInUseException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.route53#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

This CIDR collection is in use, and isn't empty.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.route53#CidrCollectionVersionMismatchException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.route53#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The CIDR collection version you provided, doesn't match the one in the\n\t\t\t\tListCidrCollections operation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.route53#CidrList": { + "type": "list", + "member": { + "target": "com.amazonaws.route53#Cidr", + "traits": { + "smithy.api#xmlName": "Cidr" + } + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.route53#CidrLocationNameDefaultAllowed": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + }, + "smithy.api#pattern": "^[0-9A-Za-z_\\-\\*]+$" + } + }, + "com.amazonaws.route53#CidrLocationNameDefaultNotAllowed": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + }, + "smithy.api#pattern": "^[0-9A-Za-z_\\-]+$" + } + }, + "com.amazonaws.route53#CidrNonce": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^\\p{ASCII}+$" + } + }, + "com.amazonaws.route53#CidrRoutingConfig": { + "type": "structure", + "members": { + "CollectionId": { + "target": "com.amazonaws.route53#UUID", + "traits": { + "smithy.api#documentation": "

The CIDR collection ID.

", + "smithy.api#required": {} + } + }, + "LocationName": { + "target": "com.amazonaws.route53#CidrLocationNameDefaultAllowed", + "traits": { + "smithy.api#documentation": "

The CIDR collection location name.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The object that is specified in resource record set object when you are linking a\n\t\t\tresource record set to a CIDR location.

\n\t\t

A LocationName with an asterisk “*” can be used to create a default CIDR\n\t\t\trecord. CollectionId is still required for default record.

" + } + }, "com.amazonaws.route53#CloudWatchAlarmConfiguration": { "type": "structure", "members": { "EvaluationPeriods": { "target": "com.amazonaws.route53#EvaluationPeriods", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.

", + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the number of periods\n\t\t\tthat the metric is compared to the threshold.

", "smithy.api#required": {} } }, "Threshold": { "target": "com.amazonaws.route53#Threshold", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.

", + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the value the metric is\n\t\t\tcompared with.

", "smithy.api#required": {} } }, "ComparisonOperator": { "target": "com.amazonaws.route53#ComparisonOperator", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.

", + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the arithmetic operation\n\t\t\tthat is used for the comparison.

", "smithy.api#required": {} } }, "Period": { "target": "com.amazonaws.route53#Period", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.

", + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the duration of one\n\t\t\tevaluation period in seconds.

", "smithy.api#required": {} } }, @@ -856,26 +1210,26 @@ "Namespace": { "target": "com.amazonaws.route53#Namespace", "traits": { - "smithy.api#documentation": "

The namespace of the metric that the alarm is associated with. For more information, see \n\t\t\tAmazon CloudWatch Namespaces, Dimensions, and Metrics Reference \n\t\t\tin the Amazon CloudWatch User Guide.

", + "smithy.api#documentation": "

The namespace of the metric that the alarm is associated with. For more information,\n\t\t\tsee Amazon\n\t\t\t\tCloudWatch Namespaces, Dimensions, and Metrics Reference in the\n\t\t\t\tAmazon CloudWatch User Guide.

", "smithy.api#required": {} } }, "Statistic": { "target": "com.amazonaws.route53#Statistic", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.

", + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the statistic that is\n\t\t\tapplied to the metric.

", "smithy.api#required": {} } }, "Dimensions": { "target": "com.amazonaws.route53#DimensionList", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric. \n\t\t\tFor information, see \n\t\t\tAmazon CloudWatch Namespaces, Dimensions, and Metrics Reference \n\t\t\tin the Amazon CloudWatch User Guide.

" + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, a complex type that\n\t\t\tcontains information about the dimensions for the metric. For information, see Amazon\n\t\t\t\tCloudWatch Namespaces, Dimensions, and Metrics Reference in the\n\t\t\t\tAmazon CloudWatch User Guide.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

" + "smithy.api#documentation": "

A complex type that contains information about the CloudWatch alarm that Amazon Route\n\t\t\t53 is monitoring for this health check.

" } }, "com.amazonaws.route53#CloudWatchLogsLogGroupArn": { @@ -1008,6 +1362,63 @@ } } }, + "com.amazonaws.route53#CollectionName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[0-9A-Za-z_\\-]+$" + } + }, + "com.amazonaws.route53#CollectionSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.route53#CollectionSummary" + } + }, + "com.amazonaws.route53#CollectionSummary": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.route53#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the collection summary. Can be used to reference the collection in IAM\n\t\t\tpolicy or cross-account.

" + } + }, + "Id": { + "target": "com.amazonaws.route53#UUID", + "traits": { + "smithy.api#documentation": "

Unique ID for the CIDR collection.

" + } + }, + "Name": { + "target": "com.amazonaws.route53#CollectionName", + "traits": { + "smithy.api#documentation": "

The name of a CIDR collection.

" + } + }, + "Version": { + "target": "com.amazonaws.route53#CollectionVersion", + "traits": { + "smithy.api#documentation": "

A sequential counter that Route 53 sets to 1 when you create a CIDR\n\t\t\tcollection and increments by 1 each time you update settings for the CIDR\n\t\t\tcollection.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A complex type that is an entry in an CidrCollection\n\t\t\tarray.

" + } + }, + "com.amazonaws.route53#CollectionVersion": { + "type": "long", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1 + } + } + }, "com.amazonaws.route53#ComparisonOperator": { "type": "string", "traits": { @@ -1042,7 +1453,7 @@ } }, "traits": { - "smithy.api#documentation": "

Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.

", + "smithy.api#documentation": "

Another user submitted a request to create, update, or delete the object at the same\n\t\t\ttime that you did. Retry the request.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1055,7 +1466,7 @@ } }, "traits": { - "smithy.api#documentation": "

The cause of this error depends on the operation that you're performing:

\n\t\t ", + "smithy.api#documentation": "

The cause of this error depends on the operation that you're performing:

\n\t\t ", "smithy.api#error": "client" } }, @@ -1065,14 +1476,82 @@ "message": { "target": "com.amazonaws.route53#ErrorMessage", "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

" + } + } + }, + "traits": { + "smithy.api#documentation": "

You tried to update a traffic policy instance by using a traffic policy version that\n\t\t\thas a different DNS type than the current type for the instance. You specified the type\n\t\t\tin the JSON document in the CreateTrafficPolicy or\n\t\t\t\tCreateTrafficPolicyVersionrequest.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.route53#CreateCidrCollection": { + "type": "operation", + "input": { + "target": "com.amazonaws.route53#CreateCidrCollectionRequest" + }, + "output": { + "target": "com.amazonaws.route53#CreateCidrCollectionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.route53#CidrCollectionAlreadyExistsException" + }, + { + "target": "com.amazonaws.route53#ConcurrentModification" + }, + { + "target": "com.amazonaws.route53#InvalidInput" + }, + { + "target": "com.amazonaws.route53#LimitsExceeded" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a CIDR collection in the\n\t\t\tcurrent\n\t\t\t\tAmazon Web Services account.

", + "smithy.api#http": { + "method": "POST", + "uri": "/2013-04-01/cidrcollection", + "code": 201 + } + } + }, + "com.amazonaws.route53#CreateCidrCollectionRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.route53#CollectionName", + "traits": { + "smithy.api#documentation": "

A unique identifier for the account that can be used to reference the collection from\n\t\t\tother API calls.

", + "smithy.api#required": {} + } + }, + "CallerReference": { + "target": "com.amazonaws.route53#CidrNonce", + "traits": { + "smithy.api#documentation": "

A client-specific token that allows requests to be securely retried so that the\n\t\t\tintended outcome will only occur once, retries receive a similar response, and there are\n\t\t\tno additional edge cases to handle.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.route53#CreateCidrCollectionResponse": { + "type": "structure", + "members": { + "Collection": { + "target": "com.amazonaws.route53#CidrCollection", + "traits": { + "smithy.api#documentation": "

A complex type that contains information about the CIDR collection.

" + } + }, + "Location": { + "target": "com.amazonaws.route53#ResourceURI", + "traits": { + "smithy.api#documentation": "

A unique URL that represents the location for the CIDR collection.

", + "smithy.api#httpHeader": "Location" } } - }, - "traits": { - "smithy.api#documentation": "

You tried to update a traffic policy instance by using a traffic policy version that has a different DNS type \n\t\t\tthan the current type for the instance. You specified the type in the JSON document in the CreateTrafficPolicy or \n\t\t\tCreateTrafficPolicyVersionrequest.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 } }, "com.amazonaws.route53#CreateHealthCheck": { @@ -1095,7 +1574,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new health check.

\n\t\t

For information about adding health checks to resource record sets, see \n\t\t\tHealthCheckId \n\t\t\tin \n\t\t\tChangeResourceRecordSets.

\n\t\t\n\t\t

\n ELB Load Balancers\n

\n\t\t

If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the \n\t\t\tEC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a \n\t\t\tsimilar function to a Route 53 health check.

\n\t\t\n\t\t

\n Private Hosted Zones\n

\n\t\t

You can associate health checks with failover resource record sets in a private hosted zone. Note the following:

\n\t\t ", + "smithy.api#documentation": "

Creates a new health check.

\n\t\t

For information about adding health checks to resource record sets, see HealthCheckId in ChangeResourceRecordSets.

\n\t\t

\n ELB Load Balancers\n

\n\t\t

If you're registering EC2 instances with an Elastic Load Balancing (ELB) load\n\t\t\tbalancer, do not create Amazon Route 53 health checks for the EC2 instances. When you\n\t\t\tregister an EC2 instance with a load balancer, you configure settings for an ELB health\n\t\t\tcheck, which performs a similar function to a Route 53 health check.

\n\t\t

\n Private Hosted Zones\n

\n\t\t

You can associate health checks with failover resource record sets in a private hosted\n\t\t\tzone. Note the following:

\n\t\t ", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/healthcheck", @@ -1109,7 +1588,7 @@ "CallerReference": { "target": "com.amazonaws.route53#HealthCheckNonce", "traits": { - "smithy.api#documentation": "

A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck request \n\t\t\twithout the risk of creating two identical health checks:

\n\t\t ", + "smithy.api#documentation": "

A unique string that identifies the request and that allows you to retry a failed\n\t\t\t\tCreateHealthCheck request without the risk of creating two identical\n\t\t\thealth checks:

\n\t\t ", "smithy.api#required": {} } }, @@ -1186,7 +1665,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new public or private hosted zone. You create records in a public hosted zone to define how you want to route traffic \n\t\t\ton the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a \n\t\t\tprivate hosted zone to define how you want to route traffic for a domain and its subdomains within one or more \n\t\t\tAmazon Virtual Private Clouds (Amazon VPCs).

\n\t\t \n\t\t\t

You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone \n\t\t\t\twith the same name and create new resource record sets.

\n\t\t
\n\t\t

For more information about charges for hosted zones, see Amazon Route 53 Pricing.

\n\t\t

Note the following:

\n\t\t \n\t\t

When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING. \n\t\t\tFor public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the \n\t\t\tNS and SOA records are available, the status of the zone changes to INSYNC.

\n\t\t

The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.

\n\t\t \n

When creating private hosted zones, the Amazon VPC must belong to the same partition\n\t\t\t\twhere the hosted zone is created. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n
", + "smithy.api#documentation": "

Creates a new public or private hosted zone. You create records in a public hosted\n\t\t\tzone to define how you want to route traffic on the internet for a domain, such as\n\t\t\texample.com, and its subdomains (apex.example.com, acme.example.com). You create records\n\t\t\tin a private hosted zone to define how you want to route traffic for a domain and its\n\t\t\tsubdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).

\n\t\t \n\t\t\t

You can't convert a public hosted zone to a private hosted zone or vice versa.\n\t\t\t\tInstead, you must create a new hosted zone with the same name and create new\n\t\t\t\tresource record sets.

\n\t\t
\n\t\t

For more information about charges for hosted zones, see Amazon Route 53 Pricing.

\n\t\t

Note the following:

\n\t\t \n\t\t

When you submit a CreateHostedZone request, the initial status of the\n\t\t\thosted zone is PENDING. For public hosted zones, this means that the NS and\n\t\t\tSOA records are not yet available on all Route 53 DNS servers. When the NS and\n\t\t\tSOA records are available, the status of the zone changes to INSYNC.

\n\t\t

The CreateHostedZone request requires the caller to have an\n\t\t\t\tec2:DescribeVpcs permission.

\n\t\t \n\t\t\t

When creating private hosted zones, the Amazon VPC must belong to the same\n\t\t\t\tpartition where the hosted zone is created. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one\n\t\t\t\tpartition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n\t\t
", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/hostedzone", @@ -1200,38 +1679,38 @@ "Name": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

The name of the domain. Specify a fully qualified domain name, for example, www.example.com. \n\t\t\tThe trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats \n\t\t\twww.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

\n\t\t

If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name \n\t\t\tis registered with a registrar other than Route 53, change the name servers for your domain to the set of NameServers that \n\t\t\tCreateHostedZone returns in DelegationSet.

", + "smithy.api#documentation": "

The name of the domain. Specify a fully qualified domain name, for example,\n\t\t\t\twww.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that\n\t\t\t\tRoute 53 treats www.example.com (without a trailing\n\t\t\tdot) and www.example.com. (with a trailing dot) as\n\t\t\tidentical.

\n\t\t

If you're creating a public hosted zone, this is the name you have registered with\n\t\t\tyour DNS registrar. If your domain name is registered with a registrar other than\n\t\t\t\tRoute 53, change the name servers for your domain to the set of\n\t\t\t\tNameServers that CreateHostedZone returns in\n\t\t\t\tDelegationSet.

", "smithy.api#required": {} } }, "VPC": { "target": "com.amazonaws.route53#VPC", "traits": { - "smithy.api#documentation": "

(Private hosted zones only) A complex type that contains information about the Amazon VPC that you're associating with this hosted zone.

\n\t\t

You can specify only one Amazon VPC when you create a private hosted zone. If you are associating a VPC with a hosted zone with this request,\n\t\t\tthe paramaters \n\t\t\tVPCId and VPCRegion are also required.

\n\t\t

To associate additional Amazon VPCs with the hosted zone, \n\t\t\tuse AssociateVPCWithHostedZone\n\t\t\tafter you create a hosted zone.

" + "smithy.api#documentation": "

(Private hosted zones only) A complex type that contains information about the Amazon\n\t\t\tVPC that you're associating with this hosted zone.

\n\t\t

You can specify only one Amazon VPC when you create a private hosted zone. If you are\n\t\t\tassociating a VPC with a hosted zone with this request, the paramaters\n\t\t\t\tVPCId and VPCRegion are also required.

\n\t\t

To associate additional Amazon VPCs with the hosted zone, use AssociateVPCWithHostedZone after you create a hosted zone.

" } }, "CallerReference": { "target": "com.amazonaws.route53#Nonce", "traits": { - "smithy.api#documentation": "

A unique string that identifies the request and that allows failed CreateHostedZone requests to be retried without \n\t\t\tthe risk of executing the operation twice. You must use a unique CallerReference string every time you submit a \n\t\t\tCreateHostedZone request. CallerReference can be any unique string, for example, a date/time stamp.

", + "smithy.api#documentation": "

A unique string that identifies the request and that allows failed\n\t\t\t\tCreateHostedZone requests to be retried without the risk of executing\n\t\t\tthe operation twice. You must use a unique CallerReference string every\n\t\t\ttime you submit a CreateHostedZone request. CallerReference\n\t\t\tcan be any unique string, for example, a date/time stamp.

", "smithy.api#required": {} } }, "HostedZoneConfig": { "target": "com.amazonaws.route53#HostedZoneConfig", "traits": { - "smithy.api#documentation": "

(Optional) A complex type that contains the following optional values:

\n\t\t \n\t\t

If you don't specify a comment or the PrivateZone element, omit HostedZoneConfig and \n\t\t\tthe other elements.

" + "smithy.api#documentation": "

(Optional) A complex type that contains the following optional values:

\n\t\t \n\t\t

If you don't specify a comment or the PrivateZone element, omit\n\t\t\t\tHostedZoneConfig and the other elements.

" } }, "DelegationSetId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set \n\t\t\twhen you created it. For more information about reusable delegation sets, see \n\t\t\tCreateReusableDelegationSet.

" + "smithy.api#documentation": "

If you want to associate a reusable delegation set with this hosted zone, the ID that\n\t\t\t\tAmazon Route 53 assigned to the reusable delegation set when you created it.\n\t\t\tFor more information about reusable delegation sets, see CreateReusableDelegationSet.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the request to create a public or private hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about the request to create a public or\n\t\t\tprivate hosted zone.

" } }, "com.amazonaws.route53#CreateHostedZoneResponse": { @@ -1247,7 +1726,7 @@ "ChangeInfo": { "target": "com.amazonaws.route53#ChangeInfo", "traits": { - "smithy.api#documentation": "

A complex type that contains information about the CreateHostedZone request.

", + "smithy.api#documentation": "

A complex type that contains information about the CreateHostedZone\n\t\t\trequest.

", "smithy.api#required": {} } }, @@ -1261,7 +1740,7 @@ "VPC": { "target": "com.amazonaws.route53#VPC", "traits": { - "smithy.api#documentation": "

A complex type that contains information about an Amazon VPC that you associated with this hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about an Amazon VPC that you associated with\n\t\t\tthis hosted zone.

" } }, "Location": { @@ -1318,7 +1797,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new key-signing key (KSK) associated with a hosted zone. You can only have two KSKs per hosted zone.

", + "smithy.api#documentation": "

Creates a new key-signing key (KSK) associated with a hosted zone. You can only have\n\t\t\ttwo KSKs per hosted zone.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/keysigningkey", @@ -1346,21 +1825,21 @@ "KeyManagementServiceArn": { "target": "com.amazonaws.route53#SigningKeyString", "traits": { - "smithy.api#documentation": "

The Amazon resource name (ARN) for a customer managed key in Key Management Service (KMS).\n\t\t\tThe KeyManagementServiceArn must be unique for each key-signing key (KSK) in a single hosted zone. \n\t\t\tTo see an example of KeyManagementServiceArn that grants the correct permissions for DNSSEC, \n\t\t\tscroll down to Example.

\n\t\t

You must configure the customer managed customer managed key as follows:

\n\t\t
\n
Status
\n
\n

Enabled

\n
\n
Key spec
\n
\n

ECC_NIST_P256

\n
\n
Key usage
\n
\n

Sign and verify

\n
\n
Key policy
\n
\n

The key policy must give permission for the following actions:

\n\t\t\t\t\t \n\t\t\t\t\t

The key policy must also include the Amazon Route 53 service in the principal for your account. \n\t\t\t\t\t\tSpecify the following:

\n\t\t\t\t\t \n\t\t\t\t
\n
\n\t\t

For more information about working with a customer managed key in KMS, see \n\t\t\tKey Management Service concepts.

", + "smithy.api#documentation": "

The Amazon resource name (ARN) for a customer managed key in Key Management Service\n\t\t\t\t(KMS). The KeyManagementServiceArn must be unique for\n\t\t\teach key-signing key (KSK) in a single hosted zone. To see an example of\n\t\t\t\tKeyManagementServiceArn that grants the correct permissions for DNSSEC,\n\t\t\tscroll down to Example.

\n\t\t

You must configure the customer managed customer managed key as follows:

\n\t\t
\n
Status
\n
\n\t\t\t\t\t

Enabled

\n\t\t\t\t
\n
Key spec
\n
\n\t\t\t\t\t

ECC_NIST_P256

\n\t\t\t\t
\n
Key usage
\n
\n\t\t\t\t\t

Sign and verify

\n\t\t\t\t
\n
Key policy
\n
\n\t\t\t\t\t

The key policy must give permission for the following actions:

\n\t\t\t\t\t \n\t\t\t\t\t

The key policy must also include the Amazon Route 53 service in the\n\t\t\t\t\t\tprincipal for your account. Specify the following:

\n\t\t\t\t\t \n\t\t\t\t
\n
\n\t\t

For more information about working with a customer managed key in KMS, see Key Management Service concepts.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.route53#SigningKeyName", "traits": { - "smithy.api#documentation": "

A string used to identify a key-signing key (KSK). Name can include numbers, letters, and underscores (_). Name must be unique for each key-signing key in the same \n\t\t\thosted zone.

", + "smithy.api#documentation": "

A string used to identify a key-signing key (KSK). Name can include\n\t\t\tnumbers, letters, and underscores (_). Name must be unique for each\n\t\t\tkey-signing key in the same hosted zone.

", "smithy.api#required": {} } }, "Status": { "target": "com.amazonaws.route53#SigningKeyStatus", "traits": { - "smithy.api#documentation": "

A string specifying the initial status of the key-signing key (KSK). You can set the value to ACTIVE or INACTIVE.

", + "smithy.api#documentation": "

A string specifying the initial status of the key-signing key (KSK). You can set the\n\t\t\tvalue to ACTIVE or INACTIVE.

", "smithy.api#required": {} } } @@ -1421,7 +1900,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish \n\t\t\tlog data to an Amazon CloudWatch Logs log group.

\n\t\t

DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following:

\n\t\t \n\t\t\n\t\t
\n
Log Group and Resource Policy
\n
\n

Before you create a query logging configuration, perform the following operations.

\n\t\t\t\t\t \n

If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically.

\n
\n\t\t\t\t\t
    \n
  1. \n

    Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a \n\t\t\t\t\t\t\tquery logging configuration. Note the following:

    \n\t\t\t\t\t\t\t
      \n
    • \n

      You must create the log group in the us-east-1 region.

      \n
    • \n
    • \n

      You must use the same Amazon Web Services account to create the log group and the hosted zone that you want to \n\t\t\t\t\t\t\t\t\tconfigure query logging for.

      \n
    • \n
    • \n

      When you create log groups for query logging, we recommend that you use a consistent prefix, for example:

      \n\t\t\t\t\t\t\t\t\t

      \n /aws/route53/hosted zone name\n \n

      \n\t\t\t\t\t\t\t\t\t

      In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated \n\t\t\t\t\t\t\t\t\t\tAmazon Web Services resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so \n\t\t\t\t\t\t\t\t\t\twe recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create \n\t\t\t\t\t\t\t\t\t\tfor query logging.

      \n\t\t\t\t\t\t\t\t
    • \n
    \n\t\t\t\t\t\t
  2. \n
  3. \n

    Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to \n\t\t\t\t\t\t\tsend query logs to log streams. For the value of Resource, specify the ARN for the log group that you created \n\t\t\t\t\t\t\tin the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, \n\t\t\t\t\t\t\treplace the hosted zone name with *, for example:

    \n\t\t\t\t\t\t\t

    \n arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*\n

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    To avoid the confused deputy problem, a security issue where an entity without a\n\t\t\t\t\t\t\t\tpermission for an action can coerce a more-privileged entity to\n\t\t\t\t\t\t\t\tperform it, you can optionally limit the permissions that a service\n\t\t\t\t\t\t\t\thas to a resource in a resource-based policy by supplying the\n\t\t\t\t\t\t\t\tfollowing values:

    \n\t\t\t\t\t\t\t
      \n
    • \n

      For aws:SourceArn, supply the hosted zone ARN used in creating the query logging\n\t\t\t\t\t\t\t\t\t\tconfiguration. For example, aws:SourceArn:\n\t\t\t\t\t\t\t\t\t\t\tarn:aws:route53:::hostedzone/hosted zone\n\t\t\t\t\t\t\t\t\t\tID.

      \n
    • \n
    • \n

      For aws:SourceAccount, supply the account ID for the account that creates the\n\t\t\t\t\t\t\t\t\t\tquery logging configuration. For example,\n\t\t\t\t\t\t\t\t\t\t\taws:SourceAccount:111111111111.

      \n
    • \n
    \n\t\t\t\t\t\t\t

    For more information, see The confused\n\t\t\t\t\t\t\t\t\tdeputy problem in the Amazon Web Services\n\t\t\t\t\t\t\t\t\tIAM User Guide.

    \n\t\t\t\t\t\t\t \n

    You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the Amazon Web Services SDKs, \n\t\t\t\t\t\t\t\tor the CLI.

    \n
    \n\t\t\t\t\t\t
  4. \n
\n\t\t\t\t
\n
Log Streams and Edge Locations
\n
\n

When Route 53 finishes creating the configuration for DNS query logging, it does the following:

\n\t\t\t\t\t \n\t\t\t\t\t

The name of each log stream is in the following format:

\n\t\t\t\t\t

\n \n hosted zone ID/edge location code\n \n

\n\t\t\t\t\t

The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code \n\t\t\t\t\t\ttypically corresponds with the International Air Transport Association airport code for an airport near the edge location. \n\t\t\t\t\t\t(These abbreviations might change in the future.) For a list of edge locations, see \"The Route 53 Global Network\" on the \n\t\t\t\t\t\tRoute 53 Product Details page.

\n\t\t\t\t
\n
Queries That Are Logged
\n
\n

Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached \n\t\t\t\t\tthe response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return \n\t\t\t\t\tthe cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. \n\t\t\t\t\tDepending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, \n\t\t\t\t\tquery logs might contain information about only one query out of every several thousand queries that are submitted to DNS. \n\t\t\t\t\tFor more information about how DNS works, see \n\t\t\t\t\tRouting Internet Traffic to Your Website or Web Application\n\t\t\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t\t\t
\n
Log File Format
\n
\n

For a list of the values in each query log and the format of each value, see \n\t\t\t\t\tLogging DNS Queries in the \n\t\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t\t\t
\n
Pricing
\n
\n

For information about charges for query logs, see \n\t\t\t\t\tAmazon CloudWatch Pricing.

\n
\n
How to Stop Logging
\n
\n

If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see \n\t\t\t\t\tDeleteQueryLoggingConfig.

\n\t\t\t\t
\n
", + "smithy.api#documentation": "

Creates a configuration for DNS query logging. After you create a query logging\n\t\t\tconfiguration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs\n\t\t\tlog group.

\n\t\t

DNS query logs contain information about the queries that Route 53 receives for a\n\t\t\tspecified public hosted zone, such as the following:

\n\t\t \n\t\t
\n
Log Group and Resource Policy
\n
\n\t\t\t\t\t

Before you create a query logging configuration, perform the following\n\t\t\t\t\t\toperations.

\n\t\t\t\t\t \n\t\t\t\t\t\t

If you create a query logging configuration using the Route 53\n\t\t\t\t\t\t\tconsole, Route 53 performs these operations automatically.

\n\t\t\t\t\t
\n\t\t\t\t\t
    \n
  1. \n\t\t\t\t\t\t\t

    Create a CloudWatch Logs log group, and make note of the ARN,\n\t\t\t\t\t\t\t\twhich you specify when you create a query logging configuration.\n\t\t\t\t\t\t\t\tNote the following:

    \n\t\t\t\t\t\t\t
      \n
    • \n\t\t\t\t\t\t\t\t\t

      You must create the log group in the us-east-1\n\t\t\t\t\t\t\t\t\t\tregion.

      \n\t\t\t\t\t\t\t\t
    • \n
    • \n\t\t\t\t\t\t\t\t\t

      You must use the same Amazon Web Services account to create\n\t\t\t\t\t\t\t\t\t\tthe log group and the hosted zone that you want to configure\n\t\t\t\t\t\t\t\t\t\tquery logging for.

      \n\t\t\t\t\t\t\t\t
    • \n
    • \n\t\t\t\t\t\t\t\t\t

      When you create log groups for query logging, we recommend\n\t\t\t\t\t\t\t\t\t\tthat you use a consistent prefix, for example:

      \n\t\t\t\t\t\t\t\t\t

      \n /aws/route53/hosted zone\n\t\t\t\t\t\t\t\t\t\t\tname\n \n

      \n\t\t\t\t\t\t\t\t\t

      In the next step, you'll create a resource policy, which\n\t\t\t\t\t\t\t\t\t\tcontrols access to one or more log groups and the associated\n\t\t\t\t\t\t\t\t\t\t\tAmazon Web Services resources, such as Route 53 hosted\n\t\t\t\t\t\t\t\t\t\tzones. There's a limit on the number of resource policies\n\t\t\t\t\t\t\t\t\t\tthat you can create, so we recommend that you use a\n\t\t\t\t\t\t\t\t\t\tconsistent prefix so you can use the same resource policy\n\t\t\t\t\t\t\t\t\t\tfor all the log groups that you create for query\n\t\t\t\t\t\t\t\t\t\tlogging.

      \n\t\t\t\t\t\t\t\t
    • \n
    \n\t\t\t\t\t\t
  2. \n
  3. \n\t\t\t\t\t\t\t

    Create a CloudWatch Logs resource policy, and give it the\n\t\t\t\t\t\t\t\tpermissions that Route 53 needs to create log streams and to send\n\t\t\t\t\t\t\t\tquery logs to log streams. For the value of Resource,\n\t\t\t\t\t\t\t\tspecify the ARN for the log group that you created in the previous\n\t\t\t\t\t\t\t\tstep. To use the same resource policy for all the CloudWatch Logs\n\t\t\t\t\t\t\t\tlog groups that you created for query logging configurations,\n\t\t\t\t\t\t\t\treplace the hosted zone name with *, for\n\t\t\t\t\t\t\t\texample:

    \n\t\t\t\t\t\t\t

    \n arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*\n

    \n\t\t\t\t\t\t\t

    To avoid the confused deputy problem, a security issue where an\n\t\t\t\t\t\t\t\tentity without a permission for an action can coerce a\n\t\t\t\t\t\t\t\tmore-privileged entity to perform it, you can optionally limit the\n\t\t\t\t\t\t\t\tpermissions that a service has to a resource in a resource-based\n\t\t\t\t\t\t\t\tpolicy by supplying the following values:

    \n\t\t\t\t\t\t\t
      \n
    • \n\t\t\t\t\t\t\t\t\t

      For aws:SourceArn, supply the hosted zone ARN\n\t\t\t\t\t\t\t\t\t\tused in creating the query logging configuration. For\n\t\t\t\t\t\t\t\t\t\texample, aws:SourceArn:\n\t\t\t\t\t\t\t\t\t\t\tarn:aws:route53:::hostedzone/hosted zone\n\t\t\t\t\t\t\t\t\t\tID.

      \n\t\t\t\t\t\t\t\t
    • \n
    • \n\t\t\t\t\t\t\t\t\t

      For aws:SourceAccount, supply the account ID\n\t\t\t\t\t\t\t\t\t\tfor the account that creates the query logging\n\t\t\t\t\t\t\t\t\t\tconfiguration. For example,\n\t\t\t\t\t\t\t\t\t\t\taws:SourceAccount:111111111111.

      \n\t\t\t\t\t\t\t\t
    • \n
    \n\t\t\t\t\t\t\t

    For more information, see The confused\n\t\t\t\t\t\t\t\t\tdeputy problem in the Amazon Web Services\n\t\t\t\t\t\t\t\t\tIAM User Guide.

    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t

    You can't use the CloudWatch console to create or edit a\n\t\t\t\t\t\t\t\t\tresource policy. You must use the CloudWatch API, one of the\n\t\t\t\t\t\t\t\t\t\tAmazon Web Services SDKs, or the CLI.

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
  4. \n
\n\t\t\t\t
\n
Log Streams and Edge Locations
\n
\n\t\t\t\t\t

When Route 53 finishes creating the configuration for DNS query logging,\n\t\t\t\t\t\tit does the following:

\n\t\t\t\t\t \n\t\t\t\t\t

The name of each log stream is in the following format:

\n\t\t\t\t\t

\n \n hosted zone ID/edge location\n\t\t\t\t\t\t\t\tcode\n \n

\n\t\t\t\t\t

The edge location code is a three-letter code and an arbitrarily assigned\n\t\t\t\t\t\tnumber, for example, DFW3. The three-letter code typically corresponds with\n\t\t\t\t\t\tthe International Air Transport Association airport code for an airport near\n\t\t\t\t\t\tthe edge location. (These abbreviations might change in the future.) For a\n\t\t\t\t\t\tlist of edge locations, see \"The Route 53 Global Network\" on the Route 53 Product Details\n\t\t\t\t\t\tpage.

\n\t\t\t\t
\n
Queries That Are Logged
\n
\n\t\t\t\t\t

Query logs contain only the queries that DNS resolvers forward to Route\n\t\t\t\t\t\t53. If a DNS resolver has already cached the response to a query (such as\n\t\t\t\t\t\tthe IP address for a load balancer for example.com), the resolver will\n\t\t\t\t\t\tcontinue to return the cached response. It doesn't forward another query to\n\t\t\t\t\t\tRoute 53 until the TTL for the corresponding resource record set expires.\n\t\t\t\t\t\tDepending on how many DNS queries are submitted for a resource record set,\n\t\t\t\t\t\tand depending on the TTL for that resource record set, query logs might\n\t\t\t\t\t\tcontain information about only one query out of every several thousand\n\t\t\t\t\t\tqueries that are submitted to DNS. For more information about how DNS works,\n\t\t\t\t\t\tsee Routing\n\t\t\t\t\t\t\tInternet Traffic to Your Website or Web Application in the\n\t\t\t\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t\t\t
\n
Log File Format
\n
\n\t\t\t\t\t

For a list of the values in each query log and the format of each value,\n\t\t\t\t\t\tsee Logging DNS\n\t\t\t\t\t\t\tQueries in the Amazon Route 53 Developer\n\t\t\t\t\t\t\tGuide.

\n\t\t\t\t
\n
Pricing
\n
\n\t\t\t\t\t

For information about charges for query logs, see Amazon CloudWatch Pricing.

\n\t\t\t\t
\n
How to Stop Logging
\n
\n\t\t\t\t\t

If you want Route 53 to stop sending query logs to CloudWatch Logs, delete\n\t\t\t\t\t\tthe query logging configuration. For more information, see DeleteQueryLoggingConfig.

\n\t\t\t\t
\n
", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/queryloggingconfig", @@ -1435,14 +1914,14 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.

", + "smithy.api#documentation": "

The ID of the hosted zone that you want to log queries for. You can log queries only\n\t\t\tfor public hosted zones.

", "smithy.api#required": {} } }, "CloudWatchLogsLogGroupArn": { "target": "com.amazonaws.route53#CloudWatchLogsLogGroupArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format \n\t\t\tof the ARN:

\n\t\t\n\t\t

arn:aws:logs:region:account-id:log-group:log_group_name\n

\n\t\t\n\t\t

To get the ARN for a log group, you can use the CloudWatch console, the \n\t\t\tDescribeLogGroups API action, \n\t\t\tthe describe-log-groups command, \n\t\t\tor the applicable command in one of the Amazon Web Services SDKs.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to\n\t\t\tsend query logs to. This is the format of the ARN:

\n\t\t

arn:aws:logs:region:account-id:log-group:log_group_name\n

\n\t\t

To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups\n\t\t\tcommand, or the applicable command in one of the Amazon Web Services SDKs.

", "smithy.api#required": {} } } @@ -1454,7 +1933,7 @@ "QueryLoggingConfig": { "target": "com.amazonaws.route53#QueryLoggingConfig", "traits": { - "smithy.api#documentation": "

A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to \n\t\t\tlog queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.

", + "smithy.api#documentation": "

A complex type that contains the ID for a query logging configuration, the ID of the\n\t\t\thosted zone that you want to log queries for, and the ARN for the log group that you\n\t\t\twant Amazon Route 53 to send query logs to.

", "smithy.api#required": {} } }, @@ -1500,7 +1979,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones that were created by \n\t\t\tthe same Amazon Web Services account.

\n\t\t

You can also create a reusable delegation set that uses the four name servers that are associated \n\t\t\twith an existing hosted zone. Specify the hosted zone ID in the CreateReusableDelegationSet request.

\n\t\t \n\t\t\t

You can't associate a reusable delegation set with a private hosted zone.

\n\t\t
\n\t\t

For information about using a reusable delegation set to configure white label name servers, see \n\t\t\tConfiguring White Label Name Servers.

\n\t\t\n\t\t

The process for migrating existing hosted zones to use a reusable delegation set is comparable to the process for \n\t\t\tconfiguring white label name servers. You need to perform the following steps:

\n\t\t
    \n
  1. \n

    Create a reusable delegation set.

    \n
  2. \n
  3. \n

    Recreate hosted zones, and reduce the TTL to 60 seconds or less.

    \n
  4. \n
  5. \n

    Recreate resource record sets in the new hosted zones.

    \n
  6. \n
  7. \n

    Change the registrar's name servers to use the name servers for the new hosted zones.

    \n
  8. \n
  9. \n

    Monitor traffic for the website or application.

    \n
  10. \n
  11. \n

    Change TTLs back to their original values.

    \n
  12. \n
\n\t\t\n\t\t

If you want to migrate existing hosted zones to use a reusable delegation set, the existing hosted zones can't use \n\t\t\tany of the name servers that are assigned to the reusable delegation set. If one or more hosted zones do use one or more \n\t\t\tname servers that are assigned to the reusable delegation set, you can do one of the following:

\n\t\t ", + "smithy.api#documentation": "

Creates a delegation set (a group of four name servers) that can be reused by multiple\n\t\t\thosted zones that were created by the same Amazon Web Services account.

\n\t\t

You can also create a reusable delegation set that uses the four name servers that are\n\t\t\tassociated with an existing hosted zone. Specify the hosted zone ID in the\n\t\t\t\tCreateReusableDelegationSet request.

\n\t\t \n\t\t\t

You can't associate a reusable delegation set with a private hosted zone.

\n\t\t
\n\t\t

For information about using a reusable delegation set to configure white label name\n\t\t\tservers, see Configuring White\n\t\t\t\tLabel Name Servers.

\n\t\t

The process for migrating existing hosted zones to use a reusable delegation set is\n\t\t\tcomparable to the process for configuring white label name servers. You need to perform\n\t\t\tthe following steps:

\n\t\t
    \n
  1. \n\t\t\t\t

    Create a reusable delegation set.

    \n\t\t\t
  2. \n
  3. \n\t\t\t\t

    Recreate hosted zones, and reduce the TTL to 60 seconds or less.

    \n\t\t\t
  4. \n
  5. \n\t\t\t\t

    Recreate resource record sets in the new hosted zones.

    \n\t\t\t
  6. \n
  7. \n\t\t\t\t

    Change the registrar's name servers to use the name servers for the new hosted\n\t\t\t\t\tzones.

    \n\t\t\t
  8. \n
  9. \n\t\t\t\t

    Monitor traffic for the website or application.

    \n\t\t\t
  10. \n
  11. \n\t\t\t\t

    Change TTLs back to their original values.

    \n\t\t\t
  12. \n
\n\t\t

If you want to migrate existing hosted zones to use a reusable delegation set, the\n\t\t\texisting hosted zones can't use any of the name servers that are assigned to the\n\t\t\treusable delegation set. If one or more hosted zones do use one or more name servers\n\t\t\tthat are assigned to the reusable delegation set, you can do one of the\n\t\t\tfollowing:

\n\t\t ", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/delegationset", @@ -1514,7 +1993,7 @@ "CallerReference": { "target": "com.amazonaws.route53#Nonce", "traits": { - "smithy.api#documentation": "

A unique string that identifies the request, and that allows you to retry failed\n\t\t\tCreateReusableDelegationSet requests without the risk of executing the\n\t\t\toperation twice. You must use a unique CallerReference string every time you\n\t\t\tsubmit a CreateReusableDelegationSet request. CallerReference can be\n\t\t\tany unique string, for example a date/time stamp.

", + "smithy.api#documentation": "

A unique string that identifies the request, and that allows you to retry failed\n\t\t\t\tCreateReusableDelegationSet requests without the risk of executing the\n\t\t\toperation twice. You must use a unique CallerReference string every time\n\t\t\tyou submit a CreateReusableDelegationSet request.\n\t\t\t\tCallerReference can be any unique string, for example a date/time\n\t\t\tstamp.

", "smithy.api#required": {} } }, @@ -1569,7 +2048,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or \n\t\t\tone subdomain name (such as www.example.com).

", + "smithy.api#documentation": "

Creates a traffic policy, which you use to create multiple DNS resource record sets\n\t\t\tfor one domain name (such as example.com) or one subdomain name (such as\n\t\t\twww.example.com).

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/trafficpolicy", @@ -1603,7 +2082,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. \n\t\t\tIn addition, CreateTrafficPolicyInstance associates the resource record sets with a specified domain name (such as example.com) or \n\t\t\tsubdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets \n\t\t\tthat CreateTrafficPolicyInstance created.

", + "smithy.api#documentation": "

Creates resource record sets in a specified hosted zone based on the settings in a\n\t\t\tspecified traffic policy version. In addition, CreateTrafficPolicyInstance\n\t\t\tassociates the resource record sets with a specified domain name (such as example.com)\n\t\t\tor subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for\n\t\t\tthe domain or subdomain name by using the resource record sets that\n\t\t\t\tCreateTrafficPolicyInstance created.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/trafficpolicyinstance", @@ -1617,41 +2096,41 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.

", + "smithy.api#documentation": "

The ID of the hosted zone that you want Amazon Route 53 to create resource record sets\n\t\t\tin by using the configuration in a traffic policy.

", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using \n\t\t\tthe resource record sets that Route 53 creates for this traffic policy instance.

", + "smithy.api#documentation": "

The domain name (such as example.com) or subdomain name (such as www.example.com) for\n\t\t\twhich Amazon Route 53 responds to DNS queries by using the resource record sets that\n\t\t\tRoute 53 creates for this traffic policy instance.

", "smithy.api#required": {} } }, "TTL": { "target": "com.amazonaws.route53#TTL", "traits": { - "smithy.api#documentation": "

(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.

", + "smithy.api#documentation": "

(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource\n\t\t\trecord sets that it creates in the specified hosted zone.

", "smithy.api#required": {} } }, "TrafficPolicyId": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

", + "smithy.api#documentation": "

The ID of the traffic policy that you want to use to create resource record sets in\n\t\t\tthe specified hosted zone.

", "smithy.api#required": {} } }, "TrafficPolicyVersion": { "target": "com.amazonaws.route53#TrafficPolicyVersion", "traits": { - "smithy.api#documentation": "

The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

", + "smithy.api#documentation": "

The version of the traffic policy that you want to use to create resource record sets\n\t\t\tin the specified hosted zone.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy.

" + "smithy.api#documentation": "

A complex type that contains information about the resource record sets that you want\n\t\t\tto create based on a specified traffic policy.

" } }, "com.amazonaws.route53#CreateTrafficPolicyInstanceResponse": { @@ -1674,7 +2153,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response information for the CreateTrafficPolicyInstance request.

" + "smithy.api#documentation": "

A complex type that contains the response information for the\n\t\t\t\tCreateTrafficPolicyInstance request.

" } }, "com.amazonaws.route53#CreateTrafficPolicyRequest": { @@ -1690,7 +2169,7 @@ "Document": { "target": "com.amazonaws.route53#TrafficPolicyDocument", "traits": { - "smithy.api#documentation": "

The definition of this traffic policy in JSON format. For more information, see \n\t\t\tTraffic Policy Document Format.

", + "smithy.api#documentation": "

The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.

", "smithy.api#required": {} } }, @@ -1702,7 +2181,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the traffic policy that you want to create.

" + "smithy.api#documentation": "

A complex type that contains information about the traffic policy that you want to\n\t\t\tcreate.

" } }, "com.amazonaws.route53#CreateTrafficPolicyResponse": { @@ -1725,7 +2204,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response information for the CreateTrafficPolicy request.

" + "smithy.api#documentation": "

A complex type that contains the response information for the\n\t\t\t\tCreateTrafficPolicy request.

" } }, "com.amazonaws.route53#CreateTrafficPolicyVersion": { @@ -1754,7 +2233,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the \n\t\t\ttraffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create \n\t\t\tmultiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can \n\t\t\tcreate a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new \n\t\t\ttraffic policy.

", + "smithy.api#documentation": "

Creates a new version of an existing traffic policy. When you create a new version of\n\t\t\ta traffic policy, you specify the ID of the traffic policy that you want to update and a\n\t\t\tJSON-formatted document that describes the new version. You use traffic policies to\n\t\t\tcreate multiple DNS resource record sets for one domain name (such as example.com) or\n\t\t\tone subdomain name (such as www.example.com). You can create a maximum of 1000 versions\n\t\t\tof a traffic policy. If you reach the limit and need to create another version, you'll\n\t\t\tneed to start a new traffic policy.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/trafficpolicy/{Id}", @@ -1776,19 +2255,19 @@ "Document": { "target": "com.amazonaws.route53#TrafficPolicyDocument", "traits": { - "smithy.api#documentation": "

The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion \n\t\t\trequest. For more information about the JSON format, see \n\t\t\tCreateTrafficPolicy.

", + "smithy.api#documentation": "

The definition of this version of the traffic policy, in JSON format. You specified\n\t\t\tthe JSON in the CreateTrafficPolicyVersion request. For more information\n\t\t\tabout the JSON format, see CreateTrafficPolicy.

", "smithy.api#required": {} } }, "Comment": { "target": "com.amazonaws.route53#TrafficPolicyComment", "traits": { - "smithy.api#documentation": "

The comment that you specified in the CreateTrafficPolicyVersion request, if any.

" + "smithy.api#documentation": "

The comment that you specified in the CreateTrafficPolicyVersion request,\n\t\t\tif any.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the traffic policy that you want to create a new version for.

" + "smithy.api#documentation": "

A complex type that contains information about the traffic policy that you want to\n\t\t\tcreate a new version for.

" } }, "com.amazonaws.route53#CreateTrafficPolicyVersionResponse": { @@ -1797,7 +2276,7 @@ "TrafficPolicy": { "target": "com.amazonaws.route53#TrafficPolicy", "traits": { - "smithy.api#documentation": "

A complex type that contains settings for the new version of the traffic policy.

", + "smithy.api#documentation": "

A complex type that contains settings for the new version of the traffic\n\t\t\tpolicy.

", "smithy.api#required": {} } }, @@ -1811,7 +2290,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response information for the CreateTrafficPolicyVersion request.

" + "smithy.api#documentation": "

A complex type that contains the response information for the\n\t\t\t\tCreateTrafficPolicyVersion request.

" } }, "com.amazonaws.route53#CreateVPCAssociationAuthorization": { @@ -1840,7 +2319,7 @@ } ], "traits": { - "smithy.api#documentation": "

Authorizes the Amazon Web Services account that created a specified VPC to submit an AssociateVPCWithHostedZone \n\t\t\trequest to associate the VPC with a specified hosted zone that was created by a different account. \n\t\t\tTo submit a CreateVPCAssociationAuthorization request, you must use the account that created the \n\t\t\thosted zone. After you authorize the association, use the account that created the VPC to submit an \n\t\t\tAssociateVPCWithHostedZone request.

\n\t\t \n

If you want to associate multiple VPCs that you created by using one account with a hosted zone \n\t\t\tthat you created by using a different account, you must submit one authorization request for each VPC.

\n
", + "smithy.api#documentation": "

Authorizes the Amazon Web Services account that created a specified VPC to submit an\n\t\t\t\tAssociateVPCWithHostedZone request to associate the VPC with a\n\t\t\tspecified hosted zone that was created by a different account. To submit a\n\t\t\t\tCreateVPCAssociationAuthorization request, you must use the account\n\t\t\tthat created the hosted zone. After you authorize the association, use the account that\n\t\t\tcreated the VPC to submit an AssociateVPCWithHostedZone request.

\n\t\t \n\t\t\t

If you want to associate multiple VPCs that you created by using one account with\n\t\t\t\ta hosted zone that you created by using a different account, you must submit one\n\t\t\t\tauthorization request for each VPC.

\n\t\t
", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation", @@ -1854,7 +2333,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the private hosted zone that you want to authorize associating a VPC with.

", + "smithy.api#documentation": "

The ID of the private hosted zone that you want to authorize associating a VPC\n\t\t\twith.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1862,13 +2341,13 @@ "VPC": { "target": "com.amazonaws.route53#VPC", "traits": { - "smithy.api#documentation": "

A complex type that contains the VPC ID and region for the VPC that you want to authorize associating \n\t\t\twith your hosted zone.

", + "smithy.api#documentation": "

A complex type that contains the VPC ID and region for the VPC that you want to\n\t\t\tauthorize associating with your hosted zone.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the request to authorize associating a VPC with your private hosted zone. \n\t\t\tAuthorization is only required when a private hosted zone and a VPC were created by using different accounts.

" + "smithy.api#documentation": "

A complex type that contains information about the request to authorize associating a\n\t\t\tVPC with your private hosted zone. Authorization is only required when a private hosted\n\t\t\tzone and a VPC were created by using different accounts.

" } }, "com.amazonaws.route53#CreateVPCAssociationAuthorizationResponse": { @@ -1890,7 +2369,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response information from a CreateVPCAssociationAuthorization request.

" + "smithy.api#documentation": "

A complex type that contains the response information from a\n\t\t\t\tCreateVPCAssociationAuthorization request.

" } }, "com.amazonaws.route53#DNSName": { @@ -1924,13 +2403,13 @@ "ServeSignature": { "target": "com.amazonaws.route53#ServeSignature", "traits": { - "smithy.api#documentation": "

A string that represents the current hosted zone signing status.

\n\t\t

Status can have one of the following values:

\n\t\t
\n
SIGNING
\n
\n

DNSSEC signing is enabled for the hosted zone.

\n
\n
NOT_SIGNING
\n
\n

DNSSEC signing is not enabled for the hosted zone.

\n
\n
DELETING
\n
\n

DNSSEC signing is in the process of being removed for the hosted zone.

\n
\n
ACTION_NEEDED
\n
\n

There is a problem with signing in the hosted zone that requires you to take action to resolve.\n\t\t\t\t\tFor example, the customer managed key might have been deleted, or the\n\t\t\t\t\tpermissions for the customer managed key might have been changed.

\n
\n
INTERNAL_FAILURE
\n
\n

There was an error during a request. Before you can continue to work with DNSSEC\n\t\t\t\t\tsigning, including with key-signing keys (KSKs), you must correct the problem by enabling or \n\t\t\t\t\tdisabling DNSSEC signing for the hosted zone.

\n
\n
" + "smithy.api#documentation": "

A string that represents the current hosted zone signing status.

\n\t\t

Status can have one of the following values:

\n\t\t
\n
SIGNING
\n
\n\t\t\t\t\t

DNSSEC signing is enabled for the hosted zone.

\n\t\t\t\t
\n
NOT_SIGNING
\n
\n\t\t\t\t\t

DNSSEC signing is not enabled for the hosted zone.

\n\t\t\t\t
\n
DELETING
\n
\n\t\t\t\t\t

DNSSEC signing is in the process of being removed for the hosted\n\t\t\t\t\t\tzone.

\n\t\t\t\t
\n
ACTION_NEEDED
\n
\n\t\t\t\t\t

There is a problem with signing in the hosted zone that requires you to\n\t\t\t\t\t\ttake action to resolve. For example, the customer managed key might have\n\t\t\t\t\t\tbeen deleted, or the permissions for the customer managed key might have\n\t\t\t\t\t\tbeen changed.

\n\t\t\t\t
\n
INTERNAL_FAILURE
\n
\n\t\t\t\t\t

There was an error during a request. Before you can continue to work with\n\t\t\t\t\t\tDNSSEC signing, including with key-signing keys (KSKs), you must correct the\n\t\t\t\t\t\tproblem by enabling or disabling DNSSEC signing for the hosted zone.

\n\t\t\t\t
\n
" } }, "StatusMessage": { "target": "com.amazonaws.route53#SigningKeyStatusMessage", "traits": { - "smithy.api#documentation": "

The status message provided for the following DNSSEC signing status: INTERNAL_FAILURE. The status message \n\t\t\tincludes information about what the problem might be and steps that you can take to correct the issue.

" + "smithy.api#documentation": "

The status message provided for the following DNSSEC signing status:\n\t\t\t\tINTERNAL_FAILURE. The status message includes information about what\n\t\t\tthe problem might be and steps that you can take to correct the issue.

" } } }, @@ -1970,7 +2449,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deactivates a key-signing key (KSK) so that it will not be used for signing by DNSSEC. This operation changes the \n\t\t\tKSK status to INACTIVE.

", + "smithy.api#documentation": "

Deactivates a key-signing key (KSK) so that it will not be used for signing by DNSSEC.\n\t\t\tThis operation changes the KSK status to INACTIVE.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate", @@ -2022,19 +2501,19 @@ "CallerReference": { "target": "com.amazonaws.route53#Nonce", "traits": { - "smithy.api#documentation": "

The value that you specified for CallerReference when you created the reusable delegation set.

" + "smithy.api#documentation": "

The value that you specified for CallerReference when you created the\n\t\t\treusable delegation set.

" } }, "NameServers": { "target": "com.amazonaws.route53#DelegationSetNameServers", "traits": { - "smithy.api#documentation": "

A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.

", + "smithy.api#documentation": "

A complex type that contains a list of the authoritative name servers for a hosted\n\t\t\tzone or for a reusable delegation set.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that lists the name servers in a delegation set, as well as the CallerReference and the ID \n\t\t\tfor the delegation set.

" + "smithy.api#documentation": "

A complex type that lists the name servers in a delegation set, as well as the\n\t\t\t\tCallerReference and the ID for the delegation set.

" } }, "com.amazonaws.route53#DelegationSetAlreadyCreated": { @@ -2048,7 +2527,7 @@ } }, "traits": { - "smithy.api#documentation": "

A delegation set with the same owner and caller reference combination has already been created.

", + "smithy.api#documentation": "

A delegation set with the same owner and caller reference combination has already been\n\t\t\tcreated.

", "smithy.api#error": "client" } }, @@ -2078,7 +2557,7 @@ } }, "traits": { - "smithy.api#documentation": "

The specified delegation contains associated hosted zones which must be deleted before the reusable delegation set \n\t\t\tcan be deleted.

", + "smithy.api#documentation": "

The specified delegation contains associated hosted zones which must be deleted before\n\t\t\tthe reusable delegation set can be deleted.

", "smithy.api#error": "client" } }, @@ -2107,7 +2586,7 @@ } }, "traits": { - "smithy.api#documentation": "

You can create a hosted zone that has the same name as an existing hosted zone (example.com is common), but there is a \n\t\t\tlimit to the number of hosted zones that have the same name. If you get this error, Amazon Route 53 has reached that limit. If you own \n\t\t\tthe domain name and Route 53 generates this error, contact Customer Support.

", + "smithy.api#documentation": "

You can create a hosted zone that has the same name as an existing hosted zone\n\t\t\t(example.com is common), but there is a limit to the number of hosted zones that have\n\t\t\tthe same name. If you get this error, Amazon Route 53 has reached that limit. If you own\n\t\t\tthe domain name and Route 53 generates this error, contact Customer Support.

", "smithy.api#error": "client" } }, @@ -2135,6 +2614,54 @@ } } }, + "com.amazonaws.route53#DeleteCidrCollection": { + "type": "operation", + "input": { + "target": "com.amazonaws.route53#DeleteCidrCollectionRequest" + }, + "output": { + "target": "com.amazonaws.route53#DeleteCidrCollectionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.route53#CidrCollectionInUseException" + }, + { + "target": "com.amazonaws.route53#ConcurrentModification" + }, + { + "target": "com.amazonaws.route53#InvalidInput" + }, + { + "target": "com.amazonaws.route53#NoSuchCidrCollectionException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a CIDR collection in the current Amazon Web Services account. The collection\n\t\t\tmust be empty before it can be deleted.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/2013-04-01/cidrcollection/{Id}", + "code": 200 + } + } + }, + "com.amazonaws.route53#DeleteCidrCollectionRequest": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.route53#UUID", + "traits": { + "smithy.api#documentation": "

The UUID of the collection to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.route53#DeleteCidrCollectionResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.route53#DeleteHealthCheck": { "type": "operation", "input": { @@ -2155,7 +2682,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a health check.

\n\t\t \n\t\t\t

Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more \n\t\t\t\tresource record sets. If you delete a health check and you don't update the associated resource record sets, the future status \n\t\t\t\tof the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover \n\t\t\t\tconfiguration. For more information, see \n\t\t\t\tReplacing and Deleting Health Checks \n\t\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t
\n\t\t\n\t\t

If you're using Cloud Map and you configured Cloud Map to create a Route 53 health check when you register an instance, \n\t\t\tyou can't use the Route 53 DeleteHealthCheck command to delete the health check. The health check is deleted \n\t\t\tautomatically when you deregister the instance; there can be a delay of several hours before the health check is deleted \n\t\t\tfrom Route 53.

", + "smithy.api#documentation": "

Deletes a health check.

\n\t\t \n\t\t\t

Amazon Route 53 does not prevent you from deleting a health check even if the\n\t\t\t\thealth check is associated with one or more resource record sets. If you delete a\n\t\t\t\thealth check and you don't update the associated resource record sets, the future\n\t\t\t\tstatus of the health check can't be predicted and may change. This will affect the\n\t\t\t\trouting of DNS queries for your DNS failover configuration. For more information,\n\t\t\t\tsee Replacing and Deleting Health Checks in the Amazon Route 53\n\t\t\t\t\tDeveloper Guide.

\n\t\t
\n\t\t

If you're using Cloud Map and you configured Cloud Map to create a Route 53\n\t\t\thealth check when you register an instance, you can't use the Route 53\n\t\t\t\tDeleteHealthCheck command to delete the health check. The health check\n\t\t\tis deleted automatically when you deregister the instance; there can be a delay of\n\t\t\tseveral hours before the health check is deleted from Route 53.

", "smithy.api#http": { "method": "DELETE", "uri": "/2013-04-01/healthcheck/{HealthCheckId}", @@ -2212,7 +2739,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a hosted zone.

\n\t\t\n\t\t

If the hosted zone was created by another service, such as Cloud Map, see \n\t\t\tDeleting \n\t\t\tPublic Hosted Zones That Were Created by Another Service in the Amazon Route 53 Developer Guide for information about how to delete it. \n\t\t\t(The process is the same for public and private hosted zones that were created by another service.)

\n\t\t\n\t\t

If you want to keep your domain registration but you want to stop routing internet traffic to your website or web application, \n\t\t\twe recommend that you delete resource record sets in the hosted zone instead of deleting the hosted zone.

\n\t\t\n\t\t \n\t\t\t

If you delete a hosted zone, you can't undelete it. You must create a new hosted zone and update the name servers for your \n\t\t\t\tdomain registration, which can require up to 48 hours to take effect. (If you delegated responsibility for a subdomain to a hosted zone \n\t\t\t\tand you delete the child hosted zone, you must update the name servers in the parent hosted zone.) In addition, if you delete a hosted zone, \n\t\t\t\tsomeone could hijack the domain and route traffic to their own resources using your domain name.

\n\t\t
\n\t\t\n\t\t

If you want to avoid the monthly charge for the hosted zone, you can transfer DNS service for the domain to a free DNS service. \n\t\t\tWhen you transfer DNS service, you have to update the name servers for the domain registration. If the domain is registered with Route 53, \n\t\t\tsee UpdateDomainNameservers\n\t\t\tfor information about how to replace Route 53 name servers with name servers for the new DNS service. If the domain is registered with \n\t\t\tanother registrar, use the method provided by the registrar to update name servers for the domain registration. For more information, \n\t\t\tperform an internet search on \"free DNS service.\"

\n\n\t\t

You can delete a hosted zone only if it contains only the default SOA record and NS resource record sets. \n\t\t\tIf the hosted zone contains other resource record sets, you must delete them before you can delete the hosted zone. \n\t\t\tIf you try to delete a hosted zone that contains other resource record sets, the request fails, and Route 53 returns a \n\t\t\tHostedZoneNotEmpty error. For information about deleting records from your hosted zone, see \n\t\t\tChangeResourceRecordSets.

\n\t\t

To verify that the hosted zone has been deleted, do one of the following:

\n\t\t ", + "smithy.api#documentation": "

Deletes a hosted zone.

\n\t\t

If the hosted zone was created by another service, such as Cloud Map, see\n\t\t\t\tDeleting Public Hosted Zones That Were Created by Another Service in the\n\t\t\t\t\tAmazon Route 53 Developer Guide for information\n\t\t\tabout how to delete it. (The process is the same for public and private hosted zones\n\t\t\tthat were created by another service.)

\n\t\t

If you want to keep your domain registration but you want to stop routing internet\n\t\t\ttraffic to your website or web application, we recommend that you delete resource record\n\t\t\tsets in the hosted zone instead of deleting the hosted zone.

\n\t\t \n\t\t\t

If you delete a hosted zone, you can't undelete it. You must create a new hosted\n\t\t\t\tzone and update the name servers for your domain registration, which can require up\n\t\t\t\tto 48 hours to take effect. (If you delegated responsibility for a subdomain to a\n\t\t\t\thosted zone and you delete the child hosted zone, you must update the name servers\n\t\t\t\tin the parent hosted zone.) In addition, if you delete a hosted zone, someone could\n\t\t\t\thijack the domain and route traffic to their own resources using your domain\n\t\t\t\tname.

\n\t\t
\n\t\t

If you want to avoid the monthly charge for the hosted zone, you can transfer DNS\n\t\t\tservice for the domain to a free DNS service. When you transfer DNS service, you have to\n\t\t\tupdate the name servers for the domain registration. If the domain is registered with\n\t\t\t\tRoute 53, see UpdateDomainNameservers for information about how to replace Route 53 name servers with name servers for the new DNS service. If the domain is\n\t\t\tregistered with another registrar, use the method provided by the registrar to update\n\t\t\tname servers for the domain registration. For more information, perform an internet\n\t\t\tsearch on \"free DNS service.\"

\n\t\t

You can delete a hosted zone only if it contains only the default SOA record and NS\n\t\t\tresource record sets. If the hosted zone contains other resource record sets, you must\n\t\t\tdelete them before you can delete the hosted zone. If you try to delete a hosted zone\n\t\t\tthat contains other resource record sets, the request fails, and Route 53\n\t\t\treturns a HostedZoneNotEmpty error. For information about deleting records\n\t\t\tfrom your hosted zone, see ChangeResourceRecordSets.

\n\t\t

To verify that the hosted zone has been deleted, do one of the following:

\n\t\t ", "smithy.api#http": { "method": "DELETE", "uri": "/2013-04-01/hostedzone/{Id}", @@ -2242,13 +2769,13 @@ "ChangeInfo": { "target": "com.amazonaws.route53#ChangeInfo", "traits": { - "smithy.api#documentation": "

A complex type that contains the ID, the status, and the date and time of a request to delete a hosted zone.

", + "smithy.api#documentation": "

A complex type that contains the ID, the status, and the date and time of a request to\n\t\t\tdelete a hosted zone.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to a DeleteHostedZone request.

" + "smithy.api#documentation": "

A complex type that contains the response to a DeleteHostedZone\n\t\t\trequest.

" } }, "com.amazonaws.route53#DeleteKeySigningKey": { @@ -2280,7 +2807,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a key-signing key (KSK). Before you can delete a KSK, you must deactivate it. The KSK must be\n\t\tdeactivated before you can delete it regardless of whether the hosted zone is enabled for DNSSEC signing.

\n\t\t

You can use DeactivateKeySigningKey \n\t\t\tto deactivate the key before you delete it.

\n\t\t

Use GetDNSSEC to verify that the KSK is in an INACTIVE\n\t\t\tstatus.

", + "smithy.api#documentation": "

Deletes a key-signing key (KSK). Before you can delete a KSK, you must deactivate it.\n\t\t\tThe KSK must be deactivated before you can delete it regardless of whether the hosted\n\t\t\tzone is enabled for DNSSEC signing.

\n\t\t

You can use DeactivateKeySigningKey to deactivate the key before you delete it.

\n\t\t

Use GetDNSSEC to verify that the KSK is in an INACTIVE\n\t\t\tstatus.

", "smithy.api#http": { "method": "DELETE", "uri": "/2013-04-01/keysigningkey/{HostedZoneId}/{Name}", @@ -2340,7 +2867,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs. \n\t\t\tRoute 53 doesn't delete any logs that are already in CloudWatch Logs.

\n\t\t\n\t\t

For more information about DNS query logs, see \n\t\t\tCreateQueryLoggingConfig.

", + "smithy.api#documentation": "

Deletes a configuration for DNS query logging. If you delete a configuration, Amazon\n\t\t\tRoute 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs\n\t\t\tthat are already in CloudWatch Logs.

\n\t\t

For more information about DNS query logs, see CreateQueryLoggingConfig.

", "smithy.api#http": { "method": "DELETE", "uri": "/2013-04-01/queryloggingconfig/{Id}", @@ -2388,7 +2915,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a reusable delegation set.

\n\t\t \n\t\t\t

You can delete a reusable delegation set only if it isn't associated with any hosted zones.

\n\t\t
\n\t\t

To verify that the reusable delegation set is not associated with any hosted zones, submit a \n\t\t\tGetReusableDelegationSet \n\t\t\trequest and specify the ID of the reusable delegation set that you want to delete.

", + "smithy.api#documentation": "

Deletes a reusable delegation set.

\n\t\t \n\t\t\t

You can delete a reusable delegation set only if it isn't associated with any\n\t\t\t\thosted zones.

\n\t\t
\n\t\t

To verify that the reusable delegation set is not associated with any hosted zones,\n\t\t\tsubmit a GetReusableDelegationSet request and specify the ID of the reusable\n\t\t\tdelegation set that you want to delete.

", "smithy.api#http": { "method": "DELETE", "uri": "/2013-04-01/delegationset/{Id}", @@ -2442,7 +2969,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a traffic policy.

\n\t\t

When you delete a traffic policy, Route 53 sets a flag on the policy to indicate that it has been deleted. However, Route 53 never fully deletes \n\t\t\tthe traffic policy. Note the following:

\n\t\t ", + "smithy.api#documentation": "

Deletes a traffic policy.

\n\t\t

When you delete a traffic policy, Route 53 sets a flag on the policy to indicate that\n\t\t\tit has been deleted. However, Route 53 never fully deletes the traffic policy. Note the\n\t\t\tfollowing:

\n\t\t ", "smithy.api#http": { "method": "DELETE", "uri": "/2013-04-01/trafficpolicy/{Id}/{Version}", @@ -2470,7 +2997,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.

\n\t\t \n\t\t\t

In the Route 53 console, traffic policy instances are known as policy records.

\n\t\t
", + "smithy.api#documentation": "

Deletes a traffic policy instance and all of the resource record sets that Amazon\n\t\t\tRoute 53 created when you created the instance.

\n\t\t \n\t\t\t

In the Route 53 console, traffic policy instances are known as policy\n\t\t\t\trecords.

\n\t\t
", "smithy.api#http": { "method": "DELETE", "uri": "/2013-04-01/trafficpolicyinstance/{Id}", @@ -2484,7 +3011,7 @@ "Id": { "target": "com.amazonaws.route53#TrafficPolicyInstanceId", "traits": { - "smithy.api#documentation": "

The ID of the traffic policy instance that you want to delete.

\n\t\t \n\t\t\t

When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created \n\t\t\t\tthe traffic policy instance.

\n\t\t
", + "smithy.api#documentation": "

The ID of the traffic policy instance that you want to delete.

\n\t\t \n\t\t\t

When you delete a traffic policy instance, Amazon Route 53 also deletes all of the\n\t\t\t\tresource record sets that were created when you created the traffic policy\n\t\t\t\tinstance.

\n\t\t
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2558,7 +3085,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC \n\t\t\twith a hosted zone that was created by a different account. You must use the account that created the hosted zone \n\t\t\tto submit a DeleteVPCAssociationAuthorization request.

\n\t\t \n\t\t\t

Sending this request only prevents the Amazon Web Services account that created the VPC from associating the VPC \n\t\t\t\twith the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, \n\t\t\t\tDeleteVPCAssociationAuthorization won't disassociate the VPC from the hosted zone. \n\t\t\t\tIf you want to delete an existing association, use DisassociateVPCFromHostedZone.

\n\t\t
", + "smithy.api#documentation": "

Removes authorization to submit an AssociateVPCWithHostedZone request to\n\t\t\tassociate a specified VPC with a hosted zone that was created by a different account.\n\t\t\tYou must use the account that created the hosted zone to submit a\n\t\t\t\tDeleteVPCAssociationAuthorization request.

\n\t\t \n\t\t\t

Sending this request only prevents the Amazon Web Services account that created the\n\t\t\t\tVPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If\n\t\t\t\tthe VPC is already associated with the hosted zone,\n\t\t\t\t\tDeleteVPCAssociationAuthorization won't disassociate the VPC from\n\t\t\t\tthe hosted zone. If you want to delete an existing association, use\n\t\t\t\t\tDisassociateVPCFromHostedZone.

\n\t\t
", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/deauthorizevpcassociation", @@ -2572,7 +3099,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone \n\t\t\tthat was created with a different Amazon Web Services account, the ID of the hosted zone.

", + "smithy.api#documentation": "

When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, the ID of the hosted zone.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2580,13 +3107,13 @@ "VPC": { "target": "com.amazonaws.route53#VPC", "traits": { - "smithy.api#documentation": "

When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone \n\t\t\tthat was created with a different Amazon Web Services account, a complex type that includes the ID and region of the VPC.

", + "smithy.api#documentation": "

When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, a complex type that includes the ID and region of the\n\t\t\tVPC.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the request to remove authorization to associate a VPC \n\t\t\tthat was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account.

" + "smithy.api#documentation": "

A complex type that contains information about the request to remove authorization to\n\t\t\tassociate a VPC that was created by one Amazon Web Services account with a hosted zone\n\t\t\tthat was created with a different Amazon Web Services account.

" } }, "com.amazonaws.route53#DeleteVPCAssociationAuthorizationResponse": { @@ -2602,20 +3129,20 @@ "Name": { "target": "com.amazonaws.route53#DimensionField", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the name of one dimension.

", + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the name of one\n\t\t\tdimension.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.route53#DimensionField", "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the value of one dimension.

", + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, the value of one\n\t\t\tdimension.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension.

" + "smithy.api#documentation": "

For the metric that the CloudWatch alarm is associated with, a complex type that\n\t\t\tcontains information about one dimension.

" } }, "com.amazonaws.route53#DimensionField": { @@ -2677,7 +3204,7 @@ } ], "traits": { - "smithy.api#documentation": "

Disables DNSSEC signing in a specific hosted zone. This action does not deactivate any key-signing keys (KSKs)\n\t\tthat are active in the hosted zone.

", + "smithy.api#documentation": "

Disables DNSSEC signing in a specific hosted zone. This action does not deactivate any\n\t\t\tkey-signing keys (KSKs) that are active in the hosted zone.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/disable-dnssec", @@ -2744,7 +3271,7 @@ } ], "traits": { - "smithy.api#documentation": "

Disassociates an Amazon Virtual Private Cloud (Amazon VPC) from an Amazon Route 53 private hosted zone. Note the following:

\n\t\t \n\t\t \n

When revoking access, the hosted zone and the Amazon VPC must belong to the same\n\t\t\t\tpartition. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n
", + "smithy.api#documentation": "

Disassociates an Amazon Virtual Private Cloud (Amazon VPC) from an Amazon Route 53\n\t\t\tprivate hosted zone. Note the following:

\n\t\t \n\t\t \n\t\t\t

When revoking access, the hosted zone and the Amazon VPC must belong to\n\t\t\t\tthe same partition. A partition is a group of Amazon Web Services Regions. Each\n\t\t\t\t\tAmazon Web Services account is scoped to one partition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n\t\t
", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/disassociatevpc", @@ -2766,7 +3293,7 @@ "VPC": { "target": "com.amazonaws.route53#VPC", "traits": { - "smithy.api#documentation": "

A complex type that contains information about the VPC that you're disassociating\n\t\t\tfrom the specified hosted zone.

", + "smithy.api#documentation": "

A complex type that contains information about the VPC that you're disassociating from\n\t\t\tthe specified hosted zone.

", "smithy.api#required": {} } }, @@ -2778,7 +3305,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the VPC that you want to disassociate from a \n\t\t\tspecified private hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about the VPC that you want to disassociate\n\t\t\tfrom a specified private hosted zone.

" } }, "com.amazonaws.route53#DisassociateVPCFromHostedZoneResponse": { @@ -2787,13 +3314,13 @@ "ChangeInfo": { "target": "com.amazonaws.route53#ChangeInfo", "traits": { - "smithy.api#documentation": "

A complex type that describes the changes made to the specified private hosted zone.

", + "smithy.api#documentation": "

A complex type that describes the changes made to the specified private hosted\n\t\t\tzone.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response information for the disassociate request.

" + "smithy.api#documentation": "

A complex type that contains the response information for the disassociate\n\t\t\trequest.

" } }, "com.amazonaws.route53#EnableHostedZoneDNSSEC": { @@ -2918,19 +3445,19 @@ "ContinentCode": { "target": "com.amazonaws.route53#GeoLocationContinentCode", "traits": { - "smithy.api#documentation": "

The two-letter code for the continent.

\n\t\t

Amazon Route 53 supports the following continent codes:

\n\t\t \n\t\t

Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an \n\t\t\tInvalidInput error.

" + "smithy.api#documentation": "

The two-letter code for the continent.

\n\t\t

Amazon Route 53 supports the following continent codes:

\n\t\t \n\t\t

Constraint: Specifying ContinentCode with either CountryCode\n\t\t\tor SubdivisionCode returns an InvalidInput error.

" } }, "CountryCode": { "target": "com.amazonaws.route53#GeoLocationCountryCode", "traits": { - "smithy.api#documentation": "

For geolocation resource record sets, the two-letter code for a country.

\n\t\t

Amazon Route 53 uses the two-letter country codes that are specified in \n\t\t\tISO standard 3166-1 alpha-2.

" + "smithy.api#documentation": "

For geolocation resource record sets, the two-letter code for a country.

\n\t\t

Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1\n\t\t\t\talpha-2.

" } }, "SubdivisionCode": { "target": "com.amazonaws.route53#GeoLocationSubdivisionCode", "traits": { - "smithy.api#documentation": "

For geolocation resource record sets, the two-letter code for a state of the United States. \n\t\t\tRoute 53 doesn't support any other values for SubdivisionCode. For a list of state abbreviations, see \n\t\t\tAppendix B: Two–Letter State and Possession Abbreviations \n\t\t\ton the United States Postal Service website.

\n\t\t

If you specify subdivisioncode, you must also specify US for CountryCode.

" + "smithy.api#documentation": "

For geolocation resource record sets, the two-letter code for a state of the United\n\t\t\tStates. Route 53 doesn't support any other values for SubdivisionCode. For\n\t\t\ta list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United\n\t\t\tStates Postal Service website.

\n\t\t

If you specify subdivisioncode, you must also specify US for\n\t\t\t\tCountryCode.

" } } }, @@ -3004,18 +3531,18 @@ "SubdivisionCode": { "target": "com.amazonaws.route53#GeoLocationSubdivisionCode", "traits": { - "smithy.api#documentation": "

The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.

" + "smithy.api#documentation": "

The code for the subdivision, such as a particular state within the United States. For\n\t\t\ta list of US state abbreviations, see Appendix B: Two–Letter State and\n\t\t\t\tPossession Abbreviations on the United States Postal Service website. For a\n\t\t\tlist of all supported subdivision codes, use the ListGeoLocations\n\t\t\tAPI.

" } }, "SubdivisionName": { "target": "com.amazonaws.route53#GeoLocationSubdivisionName", "traits": { - "smithy.api#documentation": "

The full name of the subdivision. Route 53 currently supports only states in the United States.

" + "smithy.api#documentation": "

The full name of the subdivision. Route 53 currently supports only states in the\n\t\t\tUnited States.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.

" + "smithy.api#documentation": "

A complex type that contains the codes and full continent, country, and subdivision\n\t\t\tnames for the specified geolocation code.

" } }, "com.amazonaws.route53#GeoLocationDetailsList": { @@ -3059,7 +3586,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the specified limit for the current account, for example, the maximum number of health checks that you \n\t\t\tcan create using the account.

\n\t\t

For the default limit, see Limits \n\t\t\tin the Amazon Route 53 Developer Guide. To request a higher limit, \n\t\t\topen a case.

\n\t\t \n

You can also view account limits in Amazon Web Services Trusted Advisor. Sign in to the Amazon Web Services Management Console and open the Trusted Advisor console at \n\t\t\thttps://console.aws.amazon.com/trustedadvisor/. Then choose \n\t\t\tService limits in the navigation pane.

\n\t\t
", + "smithy.api#documentation": "

Gets the specified limit for the current account, for example, the maximum number of\n\t\t\thealth checks that you can create using the account.

\n\t\t

For the default limit, see Limits in the\n\t\t\t\tAmazon Route 53 Developer Guide. To request a higher limit,\n\t\t\t\topen a case.

\n\t\t \n\t\t\t

You can also view account limits in Amazon Web Services Trusted Advisor. Sign in to\n\t\t\t\tthe Amazon Web Services Management Console and open the Trusted Advisor console at https://console.aws.amazon.com/trustedadvisor/. Then choose Service limits in the navigation pane.

\n\t\t
", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/accountlimit/{Type}", @@ -3073,14 +3600,14 @@ "Type": { "target": "com.amazonaws.route53#AccountLimitType", "traits": { - "smithy.api#documentation": "

The limit that you want to get. Valid values include the following:

\n\t\t ", + "smithy.api#documentation": "

The limit that you want to get. Valid values include the following:

\n\t\t ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the request to create a hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about the request to create a hosted\n\t\t\tzone.

" } }, "com.amazonaws.route53#GetAccountLimitResponse": { @@ -3089,14 +3616,14 @@ "Limit": { "target": "com.amazonaws.route53#AccountLimit", "traits": { - "smithy.api#documentation": "

The current setting for the specified limit. For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of \n\t\t\tType in the request, the value of Limit is the maximum number of health checks that you can create \n\t\t\tusing the current account.

", + "smithy.api#documentation": "

The current setting for the specified limit. For example, if you specified\n\t\t\t\tMAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the\n\t\t\trequest, the value of Limit is the maximum number of health checks that you\n\t\t\tcan create using the current account.

", "smithy.api#required": {} } }, "Count": { "target": "com.amazonaws.route53#UsageCount", "traits": { - "smithy.api#documentation": "

The current number of entities that you have created of the specified type. For example, if you specified \n\t\t\tMAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value of Count \n\t\t\tis the current number of health checks that you have created using the current account.

", + "smithy.api#documentation": "

The current number of entities that you have created of the specified type. For\n\t\t\texample, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of\n\t\t\t\tType in the request, the value of Count is the current\n\t\t\tnumber of health checks that you have created using the current account.

", "smithy.api#required": {} } } @@ -3122,7 +3649,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the current status of a change batch request. The status is one of the\n\t\t\tfollowing values:

\n\t\t ", + "smithy.api#documentation": "

Returns the current status of a change batch request. The status is one of the\n\t\t\tfollowing values:

\n\t\t ", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/change/{Id}", @@ -3151,9 +3678,9 @@ "type": "structure", "members": { "Id": { - "target": "com.amazonaws.route53#ResourceId", + "target": "com.amazonaws.route53#ChangeId", "traits": { - "smithy.api#documentation": "

The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets \n\t\t\treturned in the Id element when you submitted the request.

", + "smithy.api#documentation": "

The ID of the change batch request. The value that you specify here is the value that\n\t\t\t\tChangeResourceRecordSets returned in the Id element when\n\t\t\tyou submitted the request.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3187,7 +3714,7 @@ "target": "com.amazonaws.route53#GetCheckerIpRangesResponse" }, "traits": { - "smithy.api#documentation": "

Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.

\n\t \n\t\t\t

\n GetCheckerIpRanges still works, but we recommend that you download \n\t\t\t\tip-ranges.json, which includes IP address ranges for all Amazon Web Services services. For more information, see \n\t\t\tIP Address Ranges of Amazon Route 53 Servers \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t
", + "smithy.api#documentation": "

Route 53 does not perform authorization for this API because it retrieves information\n\t\t\tthat is already available to the public.

\n\t\t \n\t\t\t

\n GetCheckerIpRanges still works, but we recommend that you download\n\t\t\t\tip-ranges.json, which includes IP address ranges for all Amazon Web Services\n\t\t\t\tservices. For more information, see IP Address Ranges\n\t\t\t\t\tof Amazon Route 53 Servers in the Amazon Route 53 Developer\n\t\t\t\t\tGuide.

\n\t\t
", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/checkeripranges", @@ -3208,7 +3735,7 @@ "CheckerIpRanges": { "target": "com.amazonaws.route53#CheckerIpRanges", "traits": { - "smithy.api#documentation": "

A complex type that contains sorted list of IP ranges in CIDR format for Amazon Route 53 health\n\t\t\tcheckers.

", + "smithy.api#documentation": "

A complex type that contains sorted list of IP ranges in CIDR format for Amazon Route\n\t\t\t53 health checkers.

", "smithy.api#required": {} } } @@ -3237,7 +3764,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about DNSSEC for a specific hosted zone, including the key-signing keys (KSKs) in the hosted zone.

", + "smithy.api#documentation": "

Returns information about DNSSEC for a specific hosted zone, including the key-signing\n\t\t\tkeys (KSKs) in the hosted zone.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/dnssec", @@ -3294,7 +3821,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about whether a specified geographic location is supported for Amazon Route 53 geolocation \n\t\t\tresource record sets.

\n\t

Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.

\n\t\t\n\t\t

Use the following syntax to determine whether a continent is supported for geolocation:

\n\t\t

\n GET /2013-04-01/geolocation?continentcode=two-letter abbreviation for a continent\n \n

\n\t\t\n\t\t

Use the following syntax to determine whether a country is supported for geolocation:

\n\t\t

\n GET /2013-04-01/geolocation?countrycode=two-character country code\n \n

\n\t\t\n\t\t

Use the following syntax to determine whether a subdivision of a country is supported for geolocation:

\n\t\t

\n GET /2013-04-01/geolocation?countrycode=two-character country code&subdivisioncode=subdivision code\n \n

", + "smithy.api#documentation": "

Gets information about whether a specified geographic location is supported for Amazon\n\t\t\tRoute 53 geolocation resource record sets.

\n\t\t

Route 53 does not perform authorization for this API because it retrieves information\n\t\t\tthat is already available to the public.

\n\t\t

Use the following syntax to determine whether a continent is supported for\n\t\t\tgeolocation:

\n\t\t

\n GET /2013-04-01/geolocation?continentcode=two-letter abbreviation for\n\t\t\t\t\ta continent\n \n

\n\t\t

Use the following syntax to determine whether a country is supported for\n\t\t\tgeolocation:

\n\t\t

\n GET /2013-04-01/geolocation?countrycode=two-character country\n\t\t\t\t\tcode\n \n

\n\t\t

Use the following syntax to determine whether a subdivision of a country is supported\n\t\t\tfor geolocation:

\n\t\t

\n GET /2013-04-01/geolocation?countrycode=two-character country\n\t\t\t\t\tcode&subdivisioncode=subdivision\n\t\t\tcode\n \n

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/geolocation", @@ -3308,27 +3835,27 @@ "ContinentCode": { "target": "com.amazonaws.route53#GeoLocationContinentCode", "traits": { - "smithy.api#documentation": "

For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:

\n\t\t ", + "smithy.api#documentation": "

For geolocation resource record sets, a two-letter abbreviation that identifies a\n\t\t\tcontinent. Amazon Route 53 supports the following continent codes:

\n\t\t ", "smithy.api#httpQuery": "continentcode" } }, "CountryCode": { "target": "com.amazonaws.route53#GeoLocationCountryCode", "traits": { - "smithy.api#documentation": "

Amazon Route 53 uses the two-letter country codes that are specified in \n\t\t\tISO standard 3166-1 alpha-2.

", + "smithy.api#documentation": "

Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1\n\t\t\t\talpha-2.

", "smithy.api#httpQuery": "countrycode" } }, "SubdivisionCode": { "target": "com.amazonaws.route53#GeoLocationSubdivisionCode", "traits": { - "smithy.api#documentation": "

The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.

", + "smithy.api#documentation": "

The code for the subdivision, such as a particular state within the United States. For\n\t\t\ta list of US state abbreviations, see Appendix B: Two–Letter State and\n\t\t\t\tPossession Abbreviations on the United States Postal Service website. For a\n\t\t\tlist of all supported subdivision codes, use the ListGeoLocations\n\t\t\tAPI.

", "smithy.api#httpQuery": "subdivisioncode" } } }, "traits": { - "smithy.api#documentation": "

A request for information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.

" + "smithy.api#documentation": "

A request for information about whether a specified geographic location is supported\n\t\t\tfor Amazon Route 53 geolocation resource record sets.

" } }, "com.amazonaws.route53#GetGeoLocationResponse": { @@ -3337,13 +3864,13 @@ "GeoLocationDetails": { "target": "com.amazonaws.route53#GeoLocationDetails", "traits": { - "smithy.api#documentation": "

A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.

", + "smithy.api#documentation": "

A complex type that contains the codes and full continent, country, and subdivision\n\t\t\tnames for the specified geolocation code.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response information for the specified geolocation code.

" + "smithy.api#documentation": "

A complex type that contains the response information for the specified geolocation\n\t\t\tcode.

" } }, "com.amazonaws.route53#GetHealthCheck": { @@ -3410,7 +3937,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to a GetHealthCheckCount request.

" + "smithy.api#documentation": "

A complex type that contains the response to a GetHealthCheckCount\n\t\t\trequest.

" } }, "com.amazonaws.route53#GetHealthCheckLastFailureReason": { @@ -3444,7 +3971,7 @@ "HealthCheckId": { "target": "com.amazonaws.route53#HealthCheckId", "traits": { - "smithy.api#documentation": "

The ID for the health check for which you want the last failure reason. When you created the health check, \n\t\t\tCreateHealthCheck returned the ID in the response, in the HealthCheckId element.

\n\t\t \n

If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53 console or the \n\t\t\tCloudWatch console. You can't use GetHealthCheckLastFailureReason for a calculated health check.

\n
", + "smithy.api#documentation": "

The ID for the health check for which you want the last failure reason. When you\n\t\t\tcreated the health check, CreateHealthCheck returned the ID in the\n\t\t\tresponse, in the HealthCheckId element.

\n\t\t \n\t\t\t

If you want to get the last failure reason for a calculated health check, you must\n\t\t\t\tuse the Amazon Route 53 console or the CloudWatch console. You can't use\n\t\t\t\t\tGetHealthCheckLastFailureReason for a calculated health\n\t\t\t\tcheck.

\n\t\t
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3460,13 +3987,13 @@ "HealthCheckObservations": { "target": "com.amazonaws.route53#HealthCheckObservations", "traits": { - "smithy.api#documentation": "

A list that contains one Observation element for each Amazon Route 53 health checker that is reporting a last failure reason.

", + "smithy.api#documentation": "

A list that contains one Observation element for each Amazon Route 53\n\t\t\thealth checker that is reporting a last failure reason.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to a GetHealthCheckLastFailureReason request.

" + "smithy.api#documentation": "

A complex type that contains the response to a\n\t\t\t\tGetHealthCheckLastFailureReason request.

" } }, "com.amazonaws.route53#GetHealthCheckRequest": { @@ -3475,7 +4002,7 @@ "HealthCheckId": { "target": "com.amazonaws.route53#HealthCheckId", "traits": { - "smithy.api#documentation": "

The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, \n\t\t\tyou use this value to specify which health check to use. The value can be up to 64 characters long.

", + "smithy.api#documentation": "

The identifier that Amazon Route 53 assigned to the health check when you created it.\n\t\t\tWhen you add or update a resource record set, you use this value to specify which health\n\t\t\tcheck to use. The value can be up to 64 characters long.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3491,13 +4018,13 @@ "HealthCheck": { "target": "com.amazonaws.route53#HealthCheck", "traits": { - "smithy.api#documentation": "

A complex type that contains information about one health check that is associated with\n\t\t\tthe current Amazon Web Services account.

", + "smithy.api#documentation": "

A complex type that contains information about one health check that is associated\n\t\t\twith the current Amazon Web Services account.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to a GetHealthCheck request.

" + "smithy.api#documentation": "

A complex type that contains the response to a GetHealthCheck\n\t\t\trequest.

" } }, "com.amazonaws.route53#GetHealthCheckStatus": { @@ -3517,7 +4044,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets status of a specified health check.

\n\t\t \n

This API is intended for use during development to diagnose behavior. It doesn’t support production use-cases with high query rates that require immediate and actionable responses.

\n
", + "smithy.api#documentation": "

Gets status of a specified health check.

\n\t\t \n\t\t\t

This API is intended for use during development to diagnose behavior. It doesn’t\n\t\t\t\tsupport production use-cases with high query rates that require immediate and\n\t\t\t\tactionable responses.

\n\t\t
", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/healthcheck/{HealthCheckId}/status", @@ -3531,7 +4058,7 @@ "HealthCheckId": { "target": "com.amazonaws.route53#HealthCheckId", "traits": { - "smithy.api#documentation": "

The ID for the health check that you want the current status for. When you created the health check, \n\t\t\tCreateHealthCheck returned the ID in the response, in the HealthCheckId element.

\n\t\t \n

If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. \n\t\t\tYou can't use GetHealthCheckStatus to get the status of a calculated health check.

\n
", + "smithy.api#documentation": "

The ID for the health check that you want the current status for. When you created the\n\t\t\thealth check, CreateHealthCheck returned the ID in the response, in the\n\t\t\t\tHealthCheckId element.

\n\t\t \n\t\t\t

If you want to check the status of a calculated health check, you must use the\n\t\t\t\tAmazon Route 53 console or the CloudWatch console. You can't use\n\t\t\t\t\tGetHealthCheckStatus to get the status of a calculated health\n\t\t\t\tcheck.

\n\t\t
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3547,7 +4074,7 @@ "HealthCheckObservations": { "target": "com.amazonaws.route53#HealthCheckObservations", "traits": { - "smithy.api#documentation": "

A list that contains one HealthCheckObservation element for each Amazon Route 53 health checker that is reporting a status \n\t\t\tabout the health check endpoint.

", + "smithy.api#documentation": "

A list that contains one HealthCheckObservation element for each Amazon\n\t\t\tRoute 53 health checker that is reporting a status about the health check\n\t\t\tendpoint.

", "smithy.api#required": {} } } @@ -3573,7 +4100,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.

", + "smithy.api#documentation": "

Gets information about a specified hosted zone including the four name servers\n\t\t\tassigned to the hosted zone.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzone/{Id}", @@ -3607,7 +4134,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

A request to retrieve a count of all the hosted zones that are associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

A request to retrieve a count of all the hosted zones that are associated with the\n\t\t\tcurrent Amazon Web Services account.

" } }, "com.amazonaws.route53#GetHostedZoneCountResponse": { @@ -3616,13 +4143,13 @@ "HostedZoneCount": { "target": "com.amazonaws.route53#HostedZoneCount", "traits": { - "smithy.api#documentation": "

The total number of public and private hosted zones that are associated with the current Amazon Web Services account.

", + "smithy.api#documentation": "

The total number of public and private hosted zones that are associated with the\n\t\t\tcurrent Amazon Web Services account.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to a GetHostedZoneCount request.

" + "smithy.api#documentation": "

A complex type that contains the response to a GetHostedZoneCount\n\t\t\trequest.

" } }, "com.amazonaws.route53#GetHostedZoneLimit": { @@ -3645,7 +4172,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the specified limit for a specified hosted zone, for example, the maximum number of records that you \n\t\t\tcan create in the hosted zone.

\n\t\t

For the default limit, see Limits \n\t\t\tin the Amazon Route 53 Developer Guide. To request a higher limit, \n\t\t\topen a case.

", + "smithy.api#documentation": "

Gets the specified limit for a specified hosted zone, for example, the maximum number\n\t\t\tof records that you can create in the hosted zone.

\n\t\t

For the default limit, see Limits in the\n\t\t\t\tAmazon Route 53 Developer Guide. To request a higher limit,\n\t\t\t\topen a case.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzonelimit/{HostedZoneId}/{Type}", @@ -3659,7 +4186,7 @@ "Type": { "target": "com.amazonaws.route53#HostedZoneLimitType", "traits": { - "smithy.api#documentation": "

The limit that you want to get. Valid values include the following:

\n\t\t ", + "smithy.api#documentation": "

The limit that you want to get. Valid values include the following:

\n\t\t ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3674,7 +4201,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the request to create a hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about the request to create a hosted\n\t\t\tzone.

" } }, "com.amazonaws.route53#GetHostedZoneLimitResponse": { @@ -3683,14 +4210,14 @@ "Limit": { "target": "com.amazonaws.route53#HostedZoneLimit", "traits": { - "smithy.api#documentation": "

The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of \n\t\t\tType in the request, the value of Limit is the maximum number of records that you can create \n\t\t\tin the specified hosted zone.

", + "smithy.api#documentation": "

The current setting for the specified limit. For example, if you specified\n\t\t\t\tMAX_RRSETS_BY_ZONE for the value of Type in the request,\n\t\t\tthe value of Limit is the maximum number of records that you can create in\n\t\t\tthe specified hosted zone.

", "smithy.api#required": {} } }, "Count": { "target": "com.amazonaws.route53#UsageCount", "traits": { - "smithy.api#documentation": "

The current number of entities that you have created of the specified type. For example, if you specified \n\t\t\tMAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count \n\t\t\tis the current number of records that you have created in the specified hosted zone.

", + "smithy.api#documentation": "

The current number of entities that you have created of the specified type. For\n\t\t\texample, if you specified MAX_RRSETS_BY_ZONE for the value of\n\t\t\t\tType in the request, the value of Count is the current\n\t\t\tnumber of records that you have created in the specified hosted zone.

", "smithy.api#required": {} } } @@ -3721,25 +4248,25 @@ "HostedZone": { "target": "com.amazonaws.route53#HostedZone", "traits": { - "smithy.api#documentation": "

A complex type that contains general information about the specified hosted zone.

", + "smithy.api#documentation": "

A complex type that contains general information about the specified hosted\n\t\t\tzone.

", "smithy.api#required": {} } }, "DelegationSet": { "target": "com.amazonaws.route53#DelegationSet", "traits": { - "smithy.api#documentation": "

A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.

" + "smithy.api#documentation": "

A complex type that lists the Amazon Route 53 name servers for the specified hosted\n\t\t\tzone.

" } }, "VPCs": { "target": "com.amazonaws.route53#VPCs", "traits": { - "smithy.api#documentation": "

A complex type that contains information about the VPCs that are associated with the specified hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about the VPCs that are associated with the\n\t\t\tspecified hosted zone.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contain the response to a GetHostedZone request.

" + "smithy.api#documentation": "

A complex type that contain the response to a GetHostedZone\n\t\t\trequest.

" } }, "com.amazonaws.route53#GetQueryLoggingConfig": { @@ -3759,7 +4286,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a specified configuration for DNS query logging.

\n\t\t\n\t\t

For more information about DNS query logs, see \n\t\t\tCreateQueryLoggingConfig\n\t\t\tand \n\t\t\tLogging DNS Queries.

", + "smithy.api#documentation": "

Gets information about a specified configuration for DNS query logging.

\n\t\t

For more information about DNS query logs, see CreateQueryLoggingConfig and Logging DNS\n\t\t\tQueries.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/queryloggingconfig/{Id}", @@ -3773,7 +4300,7 @@ "Id": { "target": "com.amazonaws.route53#QueryLoggingConfigId", "traits": { - "smithy.api#documentation": "

The ID of the configuration for DNS query logging that you want to get information about.

", + "smithy.api#documentation": "

The ID of the configuration for DNS query logging that you want to get information\n\t\t\tabout.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3786,7 +4313,7 @@ "QueryLoggingConfig": { "target": "com.amazonaws.route53#QueryLoggingConfig", "traits": { - "smithy.api#documentation": "

A complex type that contains information about the query logging configuration that you specified in a \n\t\t\tGetQueryLoggingConfig request.

", + "smithy.api#documentation": "

A complex type that contains information about the query logging configuration that\n\t\t\tyou specified in a GetQueryLoggingConfig request.

", "smithy.api#required": {} } } @@ -3812,7 +4339,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves information about a specified reusable delegation set, including the four name servers that are assigned \n\t\t\tto the delegation set.

", + "smithy.api#documentation": "

Retrieves information about a specified reusable delegation set, including the four\n\t\t\tname servers that are assigned to the delegation set.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/delegationset/{Id}", @@ -3837,7 +4364,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the maximum number of hosted zones that you can associate with the specified reusable delegation set.

\n\t\t

For the default limit, see Limits \n\t\t\tin the Amazon Route 53 Developer Guide. To request a higher limit, \n\t\t\topen a case.

", + "smithy.api#documentation": "

Gets the maximum number of hosted zones that you can associate with the specified\n\t\t\treusable delegation set.

\n\t\t

For the default limit, see Limits in the\n\t\t\t\tAmazon Route 53 Developer Guide. To request a higher limit,\n\t\t\t\topen a case.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/reusabledelegationsetlimit/{DelegationSetId}/{Type}", @@ -3851,7 +4378,7 @@ "Type": { "target": "com.amazonaws.route53#ReusableDelegationSetLimitType", "traits": { - "smithy.api#documentation": "

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum number of hosted zones that you can associate \n\t\t\twith the specified reusable delegation set.

", + "smithy.api#documentation": "

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum number of\n\t\t\thosted zones that you can associate with the specified reusable delegation set.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3866,7 +4393,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the request to create a hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about the request to create a hosted\n\t\t\tzone.

" } }, "com.amazonaws.route53#GetReusableDelegationSetLimitResponse": { @@ -3875,14 +4402,14 @@ "Limit": { "target": "com.amazonaws.route53#ReusableDelegationSetLimit", "traits": { - "smithy.api#documentation": "

The current setting for the limit on hosted zones that you can associate with the specified reusable delegation set.

", + "smithy.api#documentation": "

The current setting for the limit on hosted zones that you can associate with the\n\t\t\tspecified reusable delegation set.

", "smithy.api#required": {} } }, "Count": { "target": "com.amazonaws.route53#UsageCount", "traits": { - "smithy.api#documentation": "

The current number of hosted zones that you can associate with the specified reusable delegation set.

", + "smithy.api#documentation": "

The current number of hosted zones that you can associate with the specified reusable\n\t\t\tdelegation set.

", "smithy.api#required": {} } } @@ -3897,7 +4424,7 @@ "Id": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the reusable delegation set that you want to get a list of name servers for.

", + "smithy.api#documentation": "

The ID of the reusable delegation set that you want to get a list of name servers\n\t\t\tfor.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3919,7 +4446,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to the GetReusableDelegationSet request.

" + "smithy.api#documentation": "

A complex type that contains the response to the GetReusableDelegationSet\n\t\t\trequest.

" } }, "com.amazonaws.route53#GetTrafficPolicy": { @@ -3939,7 +4466,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a specific traffic policy version.

\n\t\t

For information about how of deleting a traffic policy affects the response from GetTrafficPolicy, see \n\t\t\tDeleteTrafficPolicy.\n\t\t

", + "smithy.api#documentation": "

Gets information about a specific traffic policy version.

\n\t\t

For information about how of deleting a traffic policy affects the response from\n\t\t\t\tGetTrafficPolicy, see DeleteTrafficPolicy.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicy/{Id}/{Version}", @@ -3964,7 +4491,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a specified traffic policy instance.

\n\t\t \n\t\t\t

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, \n\t\t\t\tthere's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For \n\t\t\t\tmore information, see the State response element.

\n\t\t
\n\t\t \n\t\t\t

In the Route 53 console, traffic policy instances are known as policy records.

\n\t\t
", + "smithy.api#documentation": "

Gets information about a specified traffic policy instance.

\n\t\t \n\t\t\t

After you submit a CreateTrafficPolicyInstance or an\n\t\t\t\t\tUpdateTrafficPolicyInstance request, there's a brief delay while\n\t\t\t\tAmazon Route 53 creates the resource record sets that are specified in the traffic\n\t\t\t\tpolicy definition. For more information, see the State response\n\t\t\t\telement.

\n\t\t
\n\t\t \n\t\t\t

In the Route 53 console, traffic policy instances are known as policy\n\t\t\t\trecords.

\n\t\t
", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicyinstance/{Id}", @@ -3981,7 +4508,7 @@ "target": "com.amazonaws.route53#GetTrafficPolicyInstanceCountResponse" }, "traits": { - "smithy.api#documentation": "

Gets the number of traffic policy instances that are associated with the current Amazon Web Services account.

", + "smithy.api#documentation": "

Gets the number of traffic policy instances that are associated with the current\n\t\t\t\tAmazon Web Services account.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicyinstancecount", @@ -3993,7 +4520,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Request to get the number of traffic policy instances that are associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

Request to get the number of traffic policy instances that are associated with the\n\t\t\tcurrent Amazon Web Services account.

" } }, "com.amazonaws.route53#GetTrafficPolicyInstanceCountResponse": { @@ -4008,7 +4535,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy.

" + "smithy.api#documentation": "

A complex type that contains information about the resource record sets that Amazon\n\t\t\tRoute 53 created based on a specified traffic policy.

" } }, "com.amazonaws.route53#GetTrafficPolicyInstanceRequest": { @@ -4039,7 +4566,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy.

" + "smithy.api#documentation": "

A complex type that contains information about the resource record sets that Amazon\n\t\t\tRoute 53 created based on a specified traffic policy.

" } }, "com.amazonaws.route53#GetTrafficPolicyRequest": { @@ -4056,7 +4583,7 @@ "Version": { "target": "com.amazonaws.route53#TrafficPolicyVersion", "traits": { - "smithy.api#documentation": "

The version number of the traffic policy that you want to get information about.

", + "smithy.api#documentation": "

The version number of the traffic policy that you want to get information\n\t\t\tabout.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4087,7 +4614,7 @@ "Id": { "target": "com.amazonaws.route53#HealthCheckId", "traits": { - "smithy.api#documentation": "

The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use \n\t\t\tthis value to specify which health check to use. The value can be up to 64 characters long.

", + "smithy.api#documentation": "

The identifier that Amazon Route 53 assigned to the health check when you created it.\n\t\t\tWhen you add or update a resource record set, you use this value to specify which health\n\t\t\tcheck to use. The value can be up to 64 characters long.

", "smithy.api#required": {} } }, @@ -4101,7 +4628,7 @@ "LinkedService": { "target": "com.amazonaws.route53#LinkedService", "traits": { - "smithy.api#documentation": "

If the health check was created by another service, the service that created the health check. When a health check is created \n\t\t\tby another service, you can't edit or delete it using Amazon Route 53.

" + "smithy.api#documentation": "

If the health check was created by another service, the service that created the\n\t\t\thealth check. When a health check is created by another service, you can't edit or\n\t\t\tdelete it using Amazon Route 53.

" } }, "HealthCheckConfig": { @@ -4114,19 +4641,19 @@ "HealthCheckVersion": { "target": "com.amazonaws.route53#HealthCheckVersion", "traits": { - "smithy.api#documentation": "

The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck to prevent overwriting \n\t\t\tanother change to the health check.

", + "smithy.api#documentation": "

The version of the health check. You can optionally pass this value in a call to\n\t\t\t\tUpdateHealthCheck to prevent overwriting another change to the health\n\t\t\tcheck.

", "smithy.api#required": {} } }, "CloudWatchAlarmConfiguration": { "target": "com.amazonaws.route53#CloudWatchAlarmConfiguration", "traits": { - "smithy.api#documentation": "

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

" + "smithy.api#documentation": "

A complex type that contains information about the CloudWatch alarm that Amazon Route\n\t\t\t53 is monitoring for this health check.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about one health check that is associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

A complex type that contains information about one health check that is associated\n\t\t\twith the current Amazon Web Services account.

" } }, "com.amazonaws.route53#HealthCheckAlreadyExists": { @@ -4140,7 +4667,7 @@ } }, "traits": { - "smithy.api#documentation": "

The health check you're attempting to create already exists. Amazon Route 53 returns this error when you submit a request that \n\t\t\thas the following values:

\n\t\t ", + "smithy.api#documentation": "

The health check you're attempting to create already exists. Amazon Route 53 returns\n\t\t\tthis error when you submit a request that has the following values:

\n\t\t ", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -4151,110 +4678,110 @@ "IPAddress": { "target": "com.amazonaws.route53#IPAddress", "traits": { - "smithy.api#documentation": "

The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for \n\t\t\tIPAddress, Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName \n\t\t\tat the interval that you specify in RequestInterval. Using an IP address returned by DNS, Route 53 then checks the health \n\t\t\tof the endpoint.

\n\n\t\t

Use one of the following formats for the value of IPAddress:

\n\t\t \n\t\t

If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and \n\t\t\tspecify the Elastic IP address for IPAddress. This ensures that the IP address of your instance will never change.

\n\t\t

For more information, see \n\t\t\tFullyQualifiedDomainName.\n\t\t

\n\t\t

Constraints: Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or \n\t\t\tmulticast ranges. For more information about IP addresses for which you can't create health checks, see the following \n\t\t\tdocuments:

\n\t\t \n\t\t

When the value of Type is CALCULATED or CLOUDWATCH_METRIC, omit IPAddress.

" + "smithy.api#documentation": "

The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform\n\t\t\thealth checks on. If you don't specify a value for IPAddress, Route 53\n\t\t\tsends a DNS request to resolve the domain name that you specify in\n\t\t\t\tFullyQualifiedDomainName at the interval that you specify in\n\t\t\t\tRequestInterval. Using an IP address returned by DNS, Route 53 then\n\t\t\tchecks the health of the endpoint.

\n\t\t

Use one of the following formats for the value of IPAddress:

\n\t\t \n\t\t

If the endpoint is an EC2 instance, we recommend that you create an Elastic IP\n\t\t\taddress, associate it with your EC2 instance, and specify the Elastic IP address for\n\t\t\t\tIPAddress. This ensures that the IP address of your instance will never\n\t\t\tchange.

\n\t\t

For more information, see FullyQualifiedDomainName.

\n\t\t

Constraints: Route 53 can't check the health of endpoints for which the IP address is\n\t\t\tin local, private, non-routable, or multicast ranges. For more information about IP\n\t\t\taddresses for which you can't create health checks, see the following documents:

\n\t\t \n\t\t

When the value of Type is CALCULATED or\n\t\t\t\tCLOUDWATCH_METRIC, omit IPAddress.

" } }, "Port": { "target": "com.amazonaws.route53#Port", "traits": { - "smithy.api#documentation": "

The port on the endpoint that you want Amazon Route 53 to perform health checks on.

\n\t\t \n\t\t\t

Don't specify a value for Port when you specify a value for Type of CLOUDWATCH_METRIC or \n\t\t\t\tCALCULATED.

\n\t\t
" + "smithy.api#documentation": "

The port on the endpoint that you want Amazon Route 53 to perform health checks\n\t\t\ton.

\n\t\t \n\t\t\t

Don't specify a value for Port when you specify a value for\n\t\t\t\t\tType of CLOUDWATCH_METRIC or\n\t\t\t\tCALCULATED.

\n\t\t
" } }, "Type": { "target": "com.amazonaws.route53#HealthCheckType", "traits": { - "smithy.api#documentation": "

The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy.

\n\t\t \n\t\t\t

You can't change the value of Type after you create a health check.

\n\t\t
\n\t\t

You can create the following types of health checks:

\n\t\t \n\t\t

For more information, see \n\t\t\tHow Route 53 \n\t\t\tDetermines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.

", + "smithy.api#documentation": "

The type of health check that you want to create, which indicates how Amazon Route 53\n\t\t\tdetermines whether an endpoint is healthy.

\n\t\t \n\t\t\t

You can't change the value of Type after you create a health\n\t\t\t\tcheck.

\n\t\t
\n\t\t

You can create the following types of health checks:

\n\t\t \n\t\t

For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the\n\t\t\t\tAmazon Route 53 Developer Guide.

", "smithy.api#required": {} } }, "ResourcePath": { "target": "com.amazonaws.route53#ResourcePath", "traits": { - "smithy.api#documentation": "

The path, if any, that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint \n\t\t\twill return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example, the file /docs/route53-health-check.html. \n\t\t\tYou can also include query string parameters, for example, /welcome.html?language=jp&login=y. \n\t\t

" + "smithy.api#documentation": "

The path, if any, that you want Amazon Route 53 to request when performing health\n\t\t\tchecks. The path can be any value for which your endpoint will return an HTTP status\n\t\t\tcode of 2xx or 3xx when the endpoint is healthy, for example, the file\n\t\t\t/docs/route53-health-check.html. You can also include query string parameters, for\n\t\t\texample, /welcome.html?language=jp&login=y.

" } }, "FullyQualifiedDomainName": { "target": "com.amazonaws.route53#FullyQualifiedDomainName", "traits": { - "smithy.api#documentation": "

Amazon Route 53 behavior depends on whether you specify a value for IPAddress.

\n\t\t\n\t\t

\n If you specify a value for \n IPAddress:

\n\t\t

Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of FullyQualifiedDomainName \n\t\t\tin the Host header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint \n\t\t\ton which you want Route 53 to perform health checks.

\n\t\t

When Route 53 checks the health of an endpoint, here is how it constructs the Host header:

\n\t\t \n\t\t

If you don't specify a value for FullyQualifiedDomainName, Route 53 substitutes the value of IPAddress in the \n\t\t\tHost header in each of the preceding cases.

\n\t\t\n\t\t

\n If you don't specify a value for \n IPAddress:

\n\t\t

Route 53 sends a DNS request to the domain that you specify for FullyQualifiedDomainName at the interval that you specify for \n\t\t\tRequestInterval. Using an IPv4 address that DNS returns, Route 53 then checks the health of the endpoint.

\n\t\t \n

If you don't specify a value for IPAddress, Route 53 uses only IPv4 to send health checks to the endpoint. If there's \n\t\t\tno resource record set with a type of A for the name that you specify for FullyQualifiedDomainName, the health check fails with a \n\t\t\t\"DNS resolution failed\" error.

\n
\n\t\t

If you want to check the health of weighted, latency, or failover resource record sets and you choose to specify the endpoint only by \n\t\t\tFullyQualifiedDomainName, we recommend that you create a separate health check for each endpoint. For example, create a \n\t\t\thealth check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, \n\t\t\tspecify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (www.example.com).

\n\t\t \n\t\t\t

In this configuration, if you create a health check for which the value of FullyQualifiedDomainName matches the name of the \n\t\t\t\tresource record sets and you then associate the health check with those resource record sets, health check results will be unpredictable.

\n\t\t
\n\t\t

In addition, if the value that you specify for Type is HTTP, HTTPS, HTTP_STR_MATCH, or \n\t\t\tHTTPS_STR_MATCH, Route 53 passes the value of FullyQualifiedDomainName in the Host header, as it does when you \n\t\t\tspecify a value for IPAddress. If the value of Type is TCP, Route 53 doesn't pass a Host header.

" + "smithy.api#documentation": "

Amazon Route 53 behavior depends on whether you specify a value for\n\t\t\t\tIPAddress.

\n\t\t

\n If you specify a value for\n\t\t\t IPAddress:

\n\t\t

Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and\n\t\t\tpasses the value of FullyQualifiedDomainName in the Host\n\t\t\theader for all health checks except TCP health checks. This is typically the fully\n\t\t\tqualified DNS name of the endpoint on which you want Route 53 to perform health\n\t\t\tchecks.

\n\t\t

When Route 53 checks the health of an endpoint, here is how it constructs the\n\t\t\t\tHost header:

\n\t\t \n\t\t

If you don't specify a value for FullyQualifiedDomainName, Route 53\n\t\t\tsubstitutes the value of IPAddress in the Host header in each\n\t\t\tof the preceding cases.

\n\t\t

\n If you don't specify a value for\n\t\t\t IPAddress:

\n\t\t

Route 53 sends a DNS request to the domain that you specify for\n\t\t\t\tFullyQualifiedDomainName at the interval that you specify for\n\t\t\t\tRequestInterval. Using an IPv4 address that DNS returns, Route 53 then\n\t\t\tchecks the health of the endpoint.

\n\t\t \n\t\t\t

If you don't specify a value for IPAddress, Route 53 uses only IPv4\n\t\t\t\tto send health checks to the endpoint. If there's no resource record set with a type\n\t\t\t\tof A for the name that you specify for FullyQualifiedDomainName, the\n\t\t\t\thealth check fails with a \"DNS resolution failed\" error.

\n\t\t
\n\t\t

If you want to check the health of weighted, latency, or failover resource record sets\n\t\t\tand you choose to specify the endpoint only by FullyQualifiedDomainName, we\n\t\t\trecommend that you create a separate health check for each endpoint. For example, create\n\t\t\ta health check for each HTTP server that is serving content for www.example.com. For the\n\t\t\tvalue of FullyQualifiedDomainName, specify the domain name of the server\n\t\t\t(such as us-east-2-www.example.com), not the name of the resource record sets\n\t\t\t(www.example.com).

\n\t\t \n\t\t\t

In this configuration, if you create a health check for which the value of\n\t\t\t\t\tFullyQualifiedDomainName matches the name of the resource record\n\t\t\t\tsets and you then associate the health check with those resource record sets, health\n\t\t\t\tcheck results will be unpredictable.

\n\t\t
\n\t\t

In addition, if the value that you specify for Type is HTTP,\n\t\t\t\tHTTPS, HTTP_STR_MATCH, or HTTPS_STR_MATCH,\n\t\t\tRoute 53 passes the value of FullyQualifiedDomainName in the\n\t\t\t\tHost header, as it does when you specify a value for\n\t\t\t\tIPAddress. If the value of Type is TCP, Route\n\t\t\t53 doesn't pass a Host header.

" } }, "SearchString": { "target": "com.amazonaws.route53#SearchString", "traits": { - "smithy.api#documentation": "

If the value of Type is HTTP_STR_MATCH or HTTPS_STR_MATCH, the string that you want Amazon Route 53 to search for in the \n\t\t\tresponse body from the specified resource. If the string appears in the response body, Route 53 considers the resource healthy.

\n\t\t

Route 53 considers case when searching for SearchString in the response body.

" + "smithy.api#documentation": "

If the value of Type is HTTP_STR_MATCH or HTTPS_STR_MATCH,\n\t\t\tthe string that you want Amazon Route 53 to search for in the response body from the\n\t\t\tspecified resource. If the string appears in the response body, Route 53 considers the\n\t\t\tresource healthy.

\n\t\t

Route 53 considers case when searching for SearchString in the response\n\t\t\tbody.

" } }, "RequestInterval": { "target": "com.amazonaws.route53#RequestInterval", "traits": { - "smithy.api#documentation": "

The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next \n\t\t\thealth check request. Each Route 53 health checker makes requests at this interval.

\n\t\t \n\t\t\t

You can't change the value of RequestInterval after you create a health check.

\n\t\t
\n\t\t

If you don't specify a value for RequestInterval, the default value is 30 seconds.

" + "smithy.api#documentation": "

The number of seconds between the time that Amazon Route 53 gets a response from your\n\t\t\tendpoint and the time that it sends the next health check request. Each Route 53 health\n\t\t\tchecker makes requests at this interval.

\n\t\t \n\t\t\t

You can't change the value of RequestInterval after you create a\n\t\t\t\thealth check.

\n\t\t
\n\t\t

If you don't specify a value for RequestInterval, the default value is\n\t\t\t\t30 seconds.

" } }, "FailureThreshold": { "target": "com.amazonaws.route53#FailureThreshold", "traits": { - "smithy.api#documentation": "

The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint \n\t\t\tfrom unhealthy to healthy or vice versa. For more information, see \n\t\t\tHow Amazon Route 53 Determines Whether an Endpoint Is Healthy \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

If you don't specify a value for FailureThreshold, the default value is three health checks.

" + "smithy.api#documentation": "

The number of consecutive health checks that an endpoint must pass or fail for Amazon\n\t\t\tRoute 53 to change the current status of the endpoint from unhealthy to healthy or vice\n\t\t\tversa. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the\n\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t

If you don't specify a value for FailureThreshold, the default value is\n\t\t\tthree health checks.

" } }, "MeasureLatency": { "target": "com.amazonaws.route53#MeasureLatency", "traits": { - "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to measure the latency between health checkers in multiple Amazon Web Services regions and your endpoint, and to \n\t\t\tdisplay CloudWatch latency graphs on the Health Checks page in the Route 53 console.

\n\t\t \n\t\t\t

You can't change the value of MeasureLatency after you create a health check.

\n\t\t
" + "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to measure the latency between health\n\t\t\tcheckers in multiple Amazon Web Services regions and your endpoint, and to display\n\t\t\tCloudWatch latency graphs on the Health Checks page in\n\t\t\tthe Route 53 console.

\n\t\t \n\t\t\t

You can't change the value of MeasureLatency after you create a\n\t\t\t\thealth check.

\n\t\t
" } }, "Inverted": { "target": "com.amazonaws.route53#Inverted", "traits": { - "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it \n\t\t\totherwise would be considered healthy.

" + "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to invert the status of a health check, for\n\t\t\texample, to consider a health check unhealthy when it otherwise would be considered\n\t\t\thealthy.

" } }, "Disabled": { "target": "com.amazonaws.route53#Disabled", "traits": { - "smithy.api#documentation": "

Stops Route 53 from performing health checks. When you disable a health check, here's what happens:

\n\t\t \n\t\t\n\t\t

After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, \n\t\t\tRoute 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of \n\t\t\tInverted.\n\t\t

\n\t\t\n\t\t

Charges for a health check still apply when the health check is disabled. For more information, see \n\t\t\tAmazon Route 53 Pricing.

" + "smithy.api#documentation": "

Stops Route 53 from performing health checks. When you disable a health check, here's\n\t\t\twhat happens:

\n\t\t \n\t\t

After you disable a health check, Route 53 considers the status of the health check to\n\t\t\talways be healthy. If you configured DNS failover, Route 53 continues to route traffic\n\t\t\tto the corresponding resources. If you want to stop routing traffic to a resource,\n\t\t\tchange the value of Inverted.

\n\t\t

Charges for a health check still apply when the health check is disabled. For more\n\t\t\tinformation, see Amazon Route 53\n\t\t\t\tPricing.

" } }, "HealthThreshold": { "target": "com.amazonaws.route53#HealthThreshold", "traits": { - "smithy.api#documentation": "

The number of child health checks that are associated with a CALCULATED health check that Amazon Route 53 must consider healthy for the \n\t\t\tCALCULATED health check to be considered healthy. To specify the child health checks that you want to associate with a \n\t\t\tCALCULATED health check, use the \n\t\t\tChildHealthChecks \n\t\t\telement.

\n\t\t

Note the following:

\n\t\t " + "smithy.api#documentation": "

The number of child health checks that are associated with a CALCULATED\n\t\t\thealth check that Amazon Route 53 must consider healthy for the CALCULATED\n\t\t\thealth check to be considered healthy. To specify the child health checks that you want\n\t\t\tto associate with a CALCULATED health check, use the ChildHealthChecks element.

\n\t\t

Note the following:

\n\t\t " } }, "ChildHealthChecks": { "target": "com.amazonaws.route53#ChildHealthCheckList", "traits": { - "smithy.api#documentation": "

(CALCULATED Health Checks Only) A complex type that contains one ChildHealthCheck element for each health check that \n\t\t\tyou want to associate with a CALCULATED health check.

" + "smithy.api#documentation": "

(CALCULATED Health Checks Only) A complex type that contains one\n\t\t\t\tChildHealthCheck element for each health check that you want to\n\t\t\tassociate with a CALCULATED health check.

" } }, "EnableSNI": { "target": "com.amazonaws.route53#EnableSNI", "traits": { - "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName to the endpoint in the client_hello\n\t\t\tmessage during TLS negotiation. This allows the endpoint to respond to HTTPS health check requests with the applicable \n\t\t\tSSL/TLS certificate.

\n\t\t

Some endpoints require that HTTPS requests include the host name in the client_hello message. If you don't \n\t\t\tenable SNI, the status of the health check will be SSL alert handshake_failure. A health check can also have that status for \n\t\t\tother reasons. If SNI is enabled and you're still getting the error, check the SSL/TLS configuration on your endpoint and confirm that \n\t\t\tyour certificate is valid.

\n\t\t

The SSL/TLS certificate on your endpoint includes a domain name in the Common Name field and possibly several more in the \n\t\t\tSubject Alternative Names field. One of the domain names in the certificate should match the value that you specify for \n\t\t\tFullyQualifiedDomainName. If the endpoint responds to the client_hello message with a certificate that does not \n\t\t\tinclude the domain name that you specified in FullyQualifiedDomainName, a health checker will retry the handshake. In the \n\t\t\tsecond attempt, the health checker will omit FullyQualifiedDomainName from the client_hello message.

" + "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to send the value of\n\t\t\t\tFullyQualifiedDomainName to the endpoint in the\n\t\t\t\tclient_hello message during TLS negotiation. This allows the endpoint\n\t\t\tto respond to HTTPS health check requests with the applicable SSL/TLS\n\t\t\tcertificate.

\n\t\t

Some endpoints require that HTTPS requests include the host name in the\n\t\t\t\tclient_hello message. If you don't enable SNI, the status of the health\n\t\t\tcheck will be SSL alert handshake_failure. A health check can also have\n\t\t\tthat status for other reasons. If SNI is enabled and you're still getting the error,\n\t\t\tcheck the SSL/TLS configuration on your endpoint and confirm that your certificate is\n\t\t\tvalid.

\n\t\t

The SSL/TLS certificate on your endpoint includes a domain name in the Common\n\t\t\t\tName field and possibly several more in the Subject Alternative\n\t\t\t\tNames field. One of the domain names in the certificate should match the\n\t\t\tvalue that you specify for FullyQualifiedDomainName. If the endpoint\n\t\t\tresponds to the client_hello message with a certificate that does not\n\t\t\tinclude the domain name that you specified in FullyQualifiedDomainName, a\n\t\t\thealth checker will retry the handshake. In the second attempt, the health checker will\n\t\t\tomit FullyQualifiedDomainName from the client_hello\n\t\t\tmessage.

" } }, "Regions": { "target": "com.amazonaws.route53#HealthCheckRegionList", "traits": { - "smithy.api#documentation": "

A complex type that contains one Region element for each region from which you want Amazon Route 53 health checkers to check the \n\t\t\tspecified endpoint.

\n\t\t

If you don't specify any regions, Route 53 health checkers automatically performs checks from all of the regions that are listed under \n\t\t\tValid Values.

\n\t\t

If you update a health check to remove a region that has been performing health checks, Route 53 will briefly continue to perform checks \n\t\t\tfrom that region to ensure that some health checkers are always checking the endpoint (for example, if you replace three regions with \n\t\t\tfour different regions).

" + "smithy.api#documentation": "

A complex type that contains one Region element for each region from\n\t\t\twhich you want Amazon Route 53 health checkers to check the specified endpoint.

\n\t\t

If you don't specify any regions, Route 53 health checkers automatically performs\n\t\t\tchecks from all of the regions that are listed under Valid\n\t\t\t\tValues.

\n\t\t

If you update a health check to remove a region that has been performing health\n\t\t\tchecks, Route 53 will briefly continue to perform checks from that region to ensure that\n\t\t\tsome health checkers are always checking the endpoint (for example, if you replace three\n\t\t\tregions with four different regions).

" } }, "AlarmIdentifier": { "target": "com.amazonaws.route53#AlarmIdentifier", "traits": { - "smithy.api#documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether \n\t\t\tthe specified health check is healthy.

" + "smithy.api#documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53\n\t\t\thealth checkers to use to determine whether the specified health check is\n\t\t\thealthy.

" } }, "InsufficientDataHealthStatus": { "target": "com.amazonaws.route53#InsufficientDataHealthStatus", "traits": { - "smithy.api#documentation": "

When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check:

\n\t\t " + "smithy.api#documentation": "

When CloudWatch has insufficient data about the metric to determine the alarm state,\n\t\t\tthe status that you want Amazon Route 53 to assign to the health check:

\n\t\t " } }, "RoutingControlArn": { "target": "com.amazonaws.route53#RoutingControlArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Route 53 Application Recovery Controller routing control.

\n\t\t

For more information about Route 53 Application Recovery Controller, see Route 53 Application Recovery Controller Developer Guide..

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Route 53 Application Recovery Controller\n\t\t\trouting control.

\n\t\t

For more information about Route 53 Application Recovery Controller, see Route 53 Application Recovery Controller Developer Guide..

" } } }, @@ -4309,24 +4836,24 @@ "Region": { "target": "com.amazonaws.route53#HealthCheckRegion", "traits": { - "smithy.api#documentation": "

The region of the Amazon Route 53 health checker that provided the status in StatusReport.

" + "smithy.api#documentation": "

The region of the Amazon Route 53 health checker that provided the status in\n\t\t\t\tStatusReport.

" } }, "IPAddress": { "target": "com.amazonaws.route53#IPAddress", "traits": { - "smithy.api#documentation": "

The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport.

" + "smithy.api#documentation": "

The IP address of the Amazon Route 53 health checker that provided the failure reason\n\t\t\tin StatusReport.

" } }, "StatusReport": { "target": "com.amazonaws.route53#StatusReport", "traits": { - "smithy.api#documentation": "

A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.

" + "smithy.api#documentation": "

A complex type that contains the last failure reason as reported by one Amazon Route\n\t\t\t53 health checker and the time of the failed health check.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker.

" + "smithy.api#documentation": "

A complex type that contains the last failure reason as reported by one Amazon Route\n\t\t\t53 health checker.

" } }, "com.amazonaws.route53#HealthCheckObservations": { @@ -4452,7 +4979,7 @@ } }, "traits": { - "smithy.api#documentation": "

The value of HealthCheckVersion in the request doesn't match the value of HealthCheckVersion \n\t\t\tin the health check.

", + "smithy.api#documentation": "

The value of HealthCheckVersion in the request doesn't match the value of\n\t\t\t\tHealthCheckVersion in the health check.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -4489,7 +5016,7 @@ "Name": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

The name of the domain. For public hosted zones, this is the name that you have\n\t\t\tregistered with your DNS registrar.

\n\t\t

For information about how to specify characters other than a-z,\n\t\t\t0-9, and - (hyphen) and how to specify internationalized domain names, see \n\t\t\tCreateHostedZone.

", + "smithy.api#documentation": "

The name of the domain. For public hosted zones, this is the name that you have\n\t\t\tregistered with your DNS registrar.

\n\t\t

For information about how to specify characters other than a-z,\n\t\t\t\t0-9, and - (hyphen) and how to specify internationalized\n\t\t\tdomain names, see CreateHostedZone.

", "smithy.api#required": {} } }, @@ -4503,7 +5030,7 @@ "Config": { "target": "com.amazonaws.route53#HostedZoneConfig", "traits": { - "smithy.api#documentation": "

A complex type that includes the Comment and PrivateZone\n\t\t\telements. If you omitted the HostedZoneConfig and Comment elements\n\t\t\tfrom the request, the Config and Comment elements don't appear in\n\t\t\tthe response.

" + "smithy.api#documentation": "

A complex type that includes the Comment and PrivateZone\n\t\t\telements. If you omitted the HostedZoneConfig and Comment\n\t\t\telements from the request, the Config and Comment elements\n\t\t\tdon't appear in the response.

" } }, "ResourceRecordSetCount": { @@ -4515,7 +5042,7 @@ "LinkedService": { "target": "com.amazonaws.route53#LinkedService", "traits": { - "smithy.api#documentation": "

If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created \n\t\t\tby another service, you can't edit or delete it using Route 53.

" + "smithy.api#documentation": "

If the hosted zone was created by another service, the service that created the hosted\n\t\t\tzone. When a hosted zone is created by another service, you can't edit or delete it\n\t\t\tusing Route 53.

" } } }, @@ -4534,7 +5061,7 @@ } }, "traits": { - "smithy.api#documentation": "

The hosted zone you're trying to create already exists. Amazon Route 53 returns this error when a hosted zone has already been created \n\t\t\twith the specified CallerReference.

", + "smithy.api#documentation": "

The hosted zone you're trying to create already exists. Amazon Route 53 returns this\n\t\t\terror when a hosted zone has already been created with the specified\n\t\t\t\tCallerReference.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -4556,7 +5083,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains an optional comment about your hosted zone. If you don't\n\t\t\twant to specify a comment, omit both the HostedZoneConfig and\n\t\t\tComment elements.

" + "smithy.api#documentation": "

A complex type that contains an optional comment about your hosted zone. If you don't\n\t\t\twant to specify a comment, omit both the HostedZoneConfig and\n\t\t\t\tComment elements.

" } }, "com.amazonaws.route53#HostedZoneCount": { @@ -4571,7 +5098,7 @@ "Type": { "target": "com.amazonaws.route53#HostedZoneLimitType", "traits": { - "smithy.api#documentation": "

The limit that you requested. Valid values include the following:

\n\t\t ", + "smithy.api#documentation": "

The limit that you requested. Valid values include the following:

\n\t\t ", "smithy.api#required": {} } }, @@ -4584,7 +5111,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the type of limit that you specified in the request and the current value for that limit.

" + "smithy.api#documentation": "

A complex type that contains the type of limit that you specified in the request and\n\t\t\tthe current value for that limit.

" } }, "com.amazonaws.route53#HostedZoneLimitType": { @@ -4654,18 +5181,18 @@ "OwningAccount": { "target": "com.amazonaws.route53#AWSAccountID", "traits": { - "smithy.api#documentation": "

If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web Services service that creates hosted zones using the current account, \n\t\t\tOwningAccount contains the account ID of that account. For example, when you use Cloud Map to create a hosted zone, Cloud Map \n\t\t\tcreates the hosted zone using the current Amazon Web Services account.

" + "smithy.api#documentation": "

If the hosted zone was created by an Amazon Web Services account, or was created by an\n\t\t\t\tAmazon Web Services service that creates hosted zones using the current account,\n\t\t\t\tOwningAccount contains the account ID of that account. For example,\n\t\t\twhen you use Cloud Map to create a hosted zone, Cloud Map creates the hosted\n\t\t\tzone using the current Amazon Web Services account.

" } }, "OwningService": { "target": "com.amazonaws.route53#HostedZoneOwningService", "traits": { - "smithy.api#documentation": "

If an Amazon Web Services service uses its own account to create a hosted zone and associate the specified VPC with that hosted zone, OwningService \n\t\t\tcontains an abbreviation that identifies the service. For example, if Amazon Elastic File System (Amazon EFS) created a hosted zone and \n\t\t\tassociated a VPC with the hosted zone, the value of OwningService is efs.amazonaws.com.

" + "smithy.api#documentation": "

If an Amazon Web Services service uses its own account to create a hosted zone and\n\t\t\tassociate the specified VPC with that hosted zone, OwningService contains\n\t\t\tan abbreviation that identifies the service. For example, if Amazon Elastic File System\n\t\t\t(Amazon EFS) created a hosted zone and associated a VPC with the hosted zone, the value\n\t\t\tof OwningService is efs.amazonaws.com.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that identifies a hosted zone that a specified Amazon VPC is associated with and the owner of the hosted zone. \n\t\t\tIf there is a value for OwningAccount, there is no value for OwningService, and vice versa.

" + "smithy.api#documentation": "

A complex type that identifies a hosted zone that a specified Amazon VPC is associated\n\t\t\twith and the owner of the hosted zone. If there is a value for\n\t\t\t\tOwningAccount, there is no value for OwningService, and\n\t\t\tvice versa.

" } }, "com.amazonaws.route53#HostedZoneOwningService": { @@ -4685,7 +5212,7 @@ } }, "traits": { - "smithy.api#documentation": "

The hosted zone nameservers don't match the parent nameservers. The hosted zone and parent must have the same nameservers.

", + "smithy.api#documentation": "

The hosted zone nameservers don't match the parent nameservers. The hosted zone and\n\t\t\tparent must have the same nameservers.

", "smithy.api#error": "client" } }, @@ -4710,7 +5237,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.

", + "smithy.api#documentation": "

The Route 53 hosted zone ID of a private hosted zone that the specified VPC is\n\t\t\tassociated with.

", "smithy.api#required": {} } }, @@ -4724,13 +5251,13 @@ "Owner": { "target": "com.amazonaws.route53#HostedZoneOwner", "traits": { - "smithy.api#documentation": "

The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or \n\t\t\tan Amazon Web Services service.

", + "smithy.api#documentation": "

The owner of a private hosted zone that the specified VPC is associated with. The\n\t\t\towner can be either an Amazon Web Services account or an Amazon Web Services\n\t\t\tservice.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

In the response to a ListHostedZonesByVPC request, the HostedZoneSummaries element contains one \n\t\t\tHostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. \n\t\t\tEach HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.

" + "smithy.api#documentation": "

In the response to a ListHostedZonesByVPC request, the\n\t\t\t\tHostedZoneSummaries element contains one HostedZoneSummary\n\t\t\telement for each hosted zone that the specified Amazon VPC is associated with. Each\n\t\t\t\tHostedZoneSummary element contains the hosted zone name and ID, and\n\t\t\tinformation about who owns the hosted zone.

" } }, "com.amazonaws.route53#HostedZones": { @@ -4763,7 +5290,7 @@ } }, "traits": { - "smithy.api#documentation": "

The resource you're trying to access is unsupported on this Amazon Route 53 endpoint.

", + "smithy.api#documentation": "

The resource you're trying to access is unsupported on this Amazon Route 53\n\t\t\tendpoint.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -4776,7 +5303,7 @@ } }, "traits": { - "smithy.api#documentation": "

Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes \n\t\t\tinclude the following:

\n\t\t ", + "smithy.api#documentation": "

Amazon Route 53 doesn't have the permissions required to create log streams and send\n\t\t\tquery logs to log streams. Possible causes include the following:

\n\t\t ", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -4829,7 +5356,7 @@ } }, "traits": { - "smithy.api#documentation": "

This exception contains a list of messages that might contain one or more error messages. Each error message indicates \n\t\t\tone error in the change batch.

", + "smithy.api#documentation": "

This exception contains a list of messages that might contain one or more error\n\t\t\tmessages. Each error message indicates one error in the change batch.

", "smithy.api#error": "client" } }, @@ -4873,7 +5400,7 @@ } }, "traits": { - "smithy.api#documentation": "

The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC signing.

", + "smithy.api#documentation": "

The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC\n\t\t\tsigning.

", "smithy.api#error": "client" } }, @@ -4898,7 +5425,7 @@ } }, "traits": { - "smithy.api#documentation": "

The key-signing key (KSK) status isn't valid or another KSK has the status INTERNAL_FAILURE.

", + "smithy.api#documentation": "

The key-signing key (KSK) status isn't valid or another KSK has the status\n\t\t\t\tINTERNAL_FAILURE.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -4911,7 +5438,7 @@ } }, "traits": { - "smithy.api#documentation": "

The value that you specified to get the second or subsequent page of results is invalid.

", + "smithy.api#documentation": "

The value that you specified to get the second or subsequent page of results is\n\t\t\tinvalid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -4924,7 +5451,7 @@ } }, "traits": { - "smithy.api#documentation": "

Your hosted zone status isn't valid for this operation. In the hosted zone, change the status to enable DNSSEC \n\t\t\tor disable DNSSEC.

", + "smithy.api#documentation": "

Your hosted zone status isn't valid for this operation. In the hosted zone, change the\n\t\t\tstatus to enable DNSSEC or disable DNSSEC.

", "smithy.api#error": "client" } }, @@ -4939,7 +5466,7 @@ } }, "traits": { - "smithy.api#documentation": "

The format of the traffic policy document that you specified in the Document element is not valid.

", + "smithy.api#documentation": "

The format of the traffic policy document that you specified in the\n\t\t\t\tDocument element is not valid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -4955,7 +5482,7 @@ } }, "traits": { - "smithy.api#documentation": "

The VPC ID that you specified either isn't a valid ID or the current account is not authorized to access this VPC.

", + "smithy.api#documentation": "

The VPC ID that you specified either isn't a valid ID or the current account is not\n\t\t\tauthorized to access this VPC.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -4975,61 +5502,61 @@ "Name": { "target": "com.amazonaws.route53#SigningKeyName", "traits": { - "smithy.api#documentation": "

A string used to identify a key-signing key (KSK). Name can include numbers, letters, and underscores (_). Name must be unique for each key-signing key in the same \n\t\t\thosted zone.

" + "smithy.api#documentation": "

A string used to identify a key-signing key (KSK). Name can include\n\t\t\tnumbers, letters, and underscores (_). Name must be unique for each\n\t\t\tkey-signing key in the same hosted zone.

" } }, "KmsArn": { "target": "com.amazonaws.route53#SigningKeyString", "traits": { - "smithy.api#documentation": "

The Amazon resource name (ARN) used to identify the customer managed key in Key Management Service (KMS).\n\t\t\tThe KmsArn must be unique for each key-signing key (KSK) in a single hosted zone.

\n\t\t

You must configure the customer managed key as follows:

\n\t\t
\n
Status
\n
\n

Enabled

\n
\n
Key spec
\n
\n

ECC_NIST_P256

\n
\n
Key usage
\n
\n

Sign and verify

\n
\n
Key policy
\n
\n

The key policy must give permission for the following actions:

\n\t\t\t\t \n\t\t\t\t\t

The key policy must also include the Amazon Route 53 service in the principal for your account. \n\t\t\t\t\t\tSpecify the following:

\n\t\t\t\t\t \n\t\t\t\t
\n
\n\t\t

For more information about working with the customer managed key in KMS, see \n\t\t\tKey Management Service concepts.

" + "smithy.api#documentation": "

The Amazon resource name (ARN) used to identify the customer managed key in Key Management Service (KMS). The KmsArn must be unique for each\n\t\t\tkey-signing key (KSK) in a single hosted zone.

\n\t\t

You must configure the customer managed key as follows:

\n\t\t
\n
Status
\n
\n\t\t\t\t\t

Enabled

\n\t\t\t\t
\n
Key spec
\n
\n\t\t\t\t\t

ECC_NIST_P256

\n\t\t\t\t
\n
Key usage
\n
\n\t\t\t\t\t

Sign and verify

\n\t\t\t\t
\n
Key policy
\n
\n\t\t\t\t\t

The key policy must give permission for the following actions:

\n\t\t\t\t\t \n\t\t\t\t\t

The key policy must also include the Amazon Route 53 service in the\n\t\t\t\t\t\tprincipal for your account. Specify the following:

\n\t\t\t\t\t \n\t\t\t\t
\n
\n\t\t

For more information about working with the customer managed key in KMS, see Key Management Service\n\t\t\t\tconcepts.

" } }, "Flag": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { - "smithy.api#documentation": "

An integer that specifies how the key is used. For key-signing key (KSK), this value is always 257.

" + "smithy.api#documentation": "

An integer that specifies how the key is used. For key-signing key (KSK), this value\n\t\t\tis always 257.

" } }, "SigningAlgorithmMnemonic": { "target": "com.amazonaws.route53#SigningKeyString", "traits": { - "smithy.api#documentation": "

A string used to represent the signing algorithm. This value must follow the guidelines provided by\n\t\t\tRFC-8624 Section 3.1.\n\t\t

" + "smithy.api#documentation": "

A string used to represent the signing algorithm. This value must follow the\n\t\t\tguidelines provided by RFC-8624 Section 3.1.

" } }, "SigningAlgorithmType": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { - "smithy.api#documentation": "

An integer used to represent the signing algorithm. This value must follow the guidelines provided by\n\t\t\tRFC-8624 Section 3.1.\n\t\t

" + "smithy.api#documentation": "

An integer used to represent the signing algorithm. This value must follow the\n\t\t\tguidelines provided by RFC-8624 Section 3.1.

" } }, "DigestAlgorithmMnemonic": { "target": "com.amazonaws.route53#SigningKeyString", "traits": { - "smithy.api#documentation": "

A string used to represent the delegation signer digest algorithm. This value must follow the guidelines provided by\n\t\t\tRFC-8624 Section 3.3.\n\t\t

" + "smithy.api#documentation": "

A string used to represent the delegation signer digest algorithm. This value must\n\t\t\tfollow the guidelines provided by RFC-8624 Section 3.3.\n\t\t

" } }, "DigestAlgorithmType": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { - "smithy.api#documentation": "

An integer used to represent the delegation signer digest algorithm. This value must follow the guidelines provided by\n\t\t\tRFC-8624 Section 3.3.

" + "smithy.api#documentation": "

An integer used to represent the delegation signer digest algorithm. This value must\n\t\t\tfollow the guidelines provided by RFC-8624 Section\n\t\t\t3.3.

" } }, "KeyTag": { "target": "com.amazonaws.route53#SigningKeyTag", "traits": { - "smithy.api#documentation": "

An integer used to identify the DNSSEC record for the domain name. The process used to calculate the value is described in\n\t\t\tRFC-4034 Appendix B.

" + "smithy.api#documentation": "

An integer used to identify the DNSSEC record for the domain name. The process used to\n\t\t\tcalculate the value is described in RFC-4034 Appendix B.

" } }, "DigestValue": { "target": "com.amazonaws.route53#SigningKeyString", "traits": { - "smithy.api#documentation": "

A cryptographic digest of a DNSKEY resource record (RR). DNSKEY records are used to publish the public key that resolvers \n\t\t\tcan use to verify DNSSEC signatures that are used to secure certain kinds of information provided by the DNS system.

" + "smithy.api#documentation": "

A cryptographic digest of a DNSKEY resource record (RR). DNSKEY records are used to\n\t\t\tpublish the public key that resolvers can use to verify DNSSEC signatures that are used\n\t\t\tto secure certain kinds of information provided by the DNS system.

" } }, "PublicKey": { "target": "com.amazonaws.route53#SigningKeyString", "traits": { - "smithy.api#documentation": "

The public key, represented as a Base64 encoding, as required by \n\t\t\tRFC-4034 Page 5.

" + "smithy.api#documentation": "

The public key, represented as a Base64 encoding, as required by RFC-4034 Page 5.

" } }, "DSRecord": { @@ -5047,13 +5574,13 @@ "Status": { "target": "com.amazonaws.route53#SigningKeyStatus", "traits": { - "smithy.api#documentation": "

A string that represents the current key-signing key (KSK) status.

\n\t\t

Status can have one of the following values:

\n\t\t
\n
ACTIVE
\n
\n

The KSK is being used for signing.

\n
\n
INACTIVE
\n
\n

The KSK is not being used for signing.

\n
\n
DELETING
\n
\n

The KSK is in the process of being deleted.

\n
\n
ACTION_NEEDED
\n
\n

There is a problem with the KSK that requires you to take action to resolve.\n\t\t\t\t\tFor example, the customer managed key might have been deleted, or the\n\t\t\t\t\tpermissions for the customer managed key might have been changed.

\n
\n
INTERNAL_FAILURE
\n
\n

There was an error during a request. Before you can continue to work with DNSSEC\n\t\t\t\t\tsigning, including actions that involve this KSK, you must correct the problem. For example,\n\t\t\t\t\tyou may need to activate or deactivate the KSK.

\n
\n
" + "smithy.api#documentation": "

A string that represents the current key-signing key (KSK) status.

\n\t\t

Status can have one of the following values:

\n\t\t
\n
ACTIVE
\n
\n\t\t\t\t\t

The KSK is being used for signing.

\n\t\t\t\t
\n
INACTIVE
\n
\n\t\t\t\t\t

The KSK is not being used for signing.

\n\t\t\t\t
\n
DELETING
\n
\n\t\t\t\t\t

The KSK is in the process of being deleted.

\n\t\t\t\t
\n
ACTION_NEEDED
\n
\n\t\t\t\t\t

There is a problem with the KSK that requires you to take action to\n\t\t\t\t\t\tresolve. For example, the customer managed key might have been deleted,\n\t\t\t\t\t\tor the permissions for the customer managed key might have been\n\t\t\t\t\t\tchanged.

\n\t\t\t\t
\n
INTERNAL_FAILURE
\n
\n\t\t\t\t\t

There was an error during a request. Before you can continue to work with\n\t\t\t\t\t\tDNSSEC signing, including actions that involve this KSK, you must correct\n\t\t\t\t\t\tthe problem. For example, you may need to activate or deactivate the\n\t\t\t\t\t\tKSK.

\n\t\t\t\t
\n
" } }, "StatusMessage": { "target": "com.amazonaws.route53#SigningKeyStatusMessage", "traits": { - "smithy.api#documentation": "

The status message provided for the following key-signing key (KSK) statuses: ACTION_NEEDED or \n\t\t\tINTERNAL_FAILURE. The status message includes information about what the problem might be and steps \n\t\t\tthat you can take to correct the issue.

" + "smithy.api#documentation": "

The status message provided for the following key-signing key (KSK) statuses:\n\t\t\t\tACTION_NEEDED or INTERNAL_FAILURE. The status message\n\t\t\tincludes information about what the problem might be and steps that you can take to\n\t\t\tcorrect the issue.

" } }, "CreatedDate": { @@ -5070,7 +5597,7 @@ } }, "traits": { - "smithy.api#documentation": "

A key-signing key (KSK) is a complex type that represents a public/private key pair. The private key is used to generate\n\t\ta digital signature for the zone signing key (ZSK). The public key is stored in the DNS and is used to authenticate the ZSK. \n\t\tA KSK is always associated with a hosted zone; it cannot exist by itself.

" + "smithy.api#documentation": "

A key-signing key (KSK) is a complex type that represents a public/private key pair.\n\t\t\tThe private key is used to generate a digital signature for the zone signing key (ZSK).\n\t\t\tThe public key is stored in the DNS and is used to authenticate the ZSK. A KSK is always\n\t\t\tassociated with a hosted zone; it cannot exist by itself.

" } }, "com.amazonaws.route53#KeySigningKeyAlreadyExists": { @@ -5107,7 +5634,7 @@ } }, "traits": { - "smithy.api#documentation": "

The key-signing key (KSK) that you specified can't be deactivated because it's the only KSK for a\n\t\tcurrently-enabled DNSSEC. Disable DNSSEC signing, or add or enable another KSK.

", + "smithy.api#documentation": "

The key-signing key (KSK) that you specified can't be deactivated because it's the\n\t\t\tonly KSK for a currently-enabled DNSSEC. Disable DNSSEC signing, or add or enable\n\t\t\tanother KSK.

", "smithy.api#error": "client" } }, @@ -5140,7 +5667,7 @@ } }, "traits": { - "smithy.api#documentation": "

The VPC that you're trying to disassociate from the private hosted zone is the last VPC that is associated with \n\t\t\tthe hosted zone. Amazon Route 53 doesn't support disassociating the last VPC from a hosted zone.

", + "smithy.api#documentation": "

The VPC that you're trying to disassociate from the private hosted zone is the last\n\t\t\tVPC that is associated with the hosted zone. Amazon Route 53 doesn't support\n\t\t\tdisassociating the last VPC from a hosted zone.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -5164,7 +5691,7 @@ } }, "traits": { - "smithy.api#documentation": "

This operation can't be completed either because the current account has reached the limit on reusable delegation sets \n\t\t\tthat it can create or because you've reached the limit on the number of Amazon VPCs that you can associate with a private hosted zone. \n\t\t\tTo get the current limit on the number of reusable delegation sets, see \n\t\t\tGetAccountLimit.\n\t\t\tTo get the current limit on the number of Amazon VPCs that you can associate with a private hosted zone, see \n\t\t\tGetHostedZoneLimit.\n\t\t\tTo request a higher limit, create a case with the Amazon Web Services Support Center.

", + "smithy.api#documentation": "

This operation can't be completed because the current account has reached the\n\t\t\tlimit on the resource you are trying to create. To request a higher limit, create a case with the Amazon Web Services Support\n\t\t\tCenter.

", "smithy.api#error": "client" } }, @@ -5174,18 +5701,242 @@ "ServicePrincipal": { "target": "com.amazonaws.route53#ServicePrincipal", "traits": { - "smithy.api#documentation": "

If the health check or hosted zone was created by another service, the service that created the resource. When a resource is created \n\t\t\tby another service, you can't edit or delete it using Amazon Route 53.

" + "smithy.api#documentation": "

If the health check or hosted zone was created by another service, the service that\n\t\t\tcreated the resource. When a resource is created by another service, you can't edit or\n\t\t\tdelete it using Amazon Route 53.

" } }, "Description": { "target": "com.amazonaws.route53#ResourceDescription", "traits": { - "smithy.api#documentation": "

If the health check or hosted zone was created by another service, an optional description that can be provided by the other service.\n\t\t\tWhen a resource is created by another service, you can't edit or delete it using Amazon Route 53.

" + "smithy.api#documentation": "

If the health check or hosted zone was created by another service, an optional\n\t\t\tdescription that can be provided by the other service. When a resource is created by\n\t\t\tanother service, you can't edit or delete it using Amazon Route 53.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

If a health check or hosted zone was created by another service,\n\t\t\t\tLinkedService is a complex type that describes the service that created\n\t\t\tthe resource. When a resource is created by another service, you can't edit or delete it\n\t\t\tusing Amazon Route 53.

" + } + }, + "com.amazonaws.route53#ListCidrBlocks": { + "type": "operation", + "input": { + "target": "com.amazonaws.route53#ListCidrBlocksRequest" + }, + "output": { + "target": "com.amazonaws.route53#ListCidrBlocksResponse" + }, + "errors": [ + { + "target": "com.amazonaws.route53#InvalidInput" + }, + { + "target": "com.amazonaws.route53#NoSuchCidrCollectionException" + }, + { + "target": "com.amazonaws.route53#NoSuchCidrLocationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a paginated list of location objects and their CIDR blocks.

", + "smithy.api#http": { + "method": "GET", + "uri": "/2013-04-01/cidrcollection/{CollectionId}/cidrblocks", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "CidrBlocks", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.route53#ListCidrBlocksRequest": { + "type": "structure", + "members": { + "CollectionId": { + "target": "com.amazonaws.route53#UUID", + "traits": { + "smithy.api#documentation": "

The UUID of the CIDR collection.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "LocationName": { + "target": "com.amazonaws.route53#CidrLocationNameDefaultNotAllowed", + "traits": { + "smithy.api#documentation": "

The name of the CIDR collection location.

", + "smithy.api#httpQuery": "location" + } + }, + "NextToken": { + "target": "com.amazonaws.route53#PaginationToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token to indicate where the service is to begin enumerating\n\t\t\tresults.

", + "smithy.api#httpQuery": "nexttoken" + } + }, + "MaxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

Maximum number of results you want returned.

", + "smithy.api#httpQuery": "maxresults" + } + } + } + }, + "com.amazonaws.route53#ListCidrBlocksResponse": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.route53#PaginationToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token to indicate where the service is to begin enumerating\n\t\t\tresults.

\n\t\t

If no value is provided, the listing of results starts from the beginning.

" + } + }, + "CidrBlocks": { + "target": "com.amazonaws.route53#CidrBlockSummaries", + "traits": { + "smithy.api#documentation": "

A complex type that contains information about the CIDR blocks.

" + } + } + } + }, + "com.amazonaws.route53#ListCidrCollections": { + "type": "operation", + "input": { + "target": "com.amazonaws.route53#ListCidrCollectionsRequest" + }, + "output": { + "target": "com.amazonaws.route53#ListCidrCollectionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.route53#InvalidInput" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a paginated list of CIDR collections in the Amazon Web Services account\n\t\t\t(metadata only).

", + "smithy.api#http": { + "method": "GET", + "uri": "/2013-04-01/cidrcollection", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "CidrCollections", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.route53#ListCidrCollectionsRequest": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.route53#PaginationToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token to indicate where the service is to begin enumerating\n\t\t\tresults.

\n\t\t

If no value is provided, the listing of results starts from the beginning.

", + "smithy.api#httpQuery": "nexttoken" + } + }, + "MaxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum number of CIDR collections to return in the response.

", + "smithy.api#httpQuery": "maxresults" + } + } + } + }, + "com.amazonaws.route53#ListCidrCollectionsResponse": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.route53#PaginationToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token to indicate where the service is to begin enumerating\n\t\t\tresults.

\n\t\t

If no value is provided, the listing of results starts from the beginning.

" + } + }, + "CidrCollections": { + "target": "com.amazonaws.route53#CollectionSummaries", + "traits": { + "smithy.api#documentation": "

A complex type with information about the CIDR collection.

" } } + } + }, + "com.amazonaws.route53#ListCidrLocations": { + "type": "operation", + "input": { + "target": "com.amazonaws.route53#ListCidrLocationsRequest" + }, + "output": { + "target": "com.amazonaws.route53#ListCidrLocationsResponse" }, + "errors": [ + { + "target": "com.amazonaws.route53#InvalidInput" + }, + { + "target": "com.amazonaws.route53#NoSuchCidrCollectionException" + } + ], "traits": { - "smithy.api#documentation": "

If a health check or hosted zone was created by another service, LinkedService is a complex type that \n\t\t\tdescribes the service that created the resource. When a resource is created by another service, you can't edit or delete it using Amazon Route 53.

" + "smithy.api#documentation": "

Returns a paginated list of CIDR locations for the given collection (metadata only,\n\t\t\tdoes not include CIDR blocks).

", + "smithy.api#http": { + "method": "GET", + "uri": "/2013-04-01/cidrcollection/{CollectionId}", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "CidrLocations", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.route53#ListCidrLocationsRequest": { + "type": "structure", + "members": { + "CollectionId": { + "target": "com.amazonaws.route53#UUID", + "traits": { + "smithy.api#documentation": "

The CIDR collection ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.route53#PaginationToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token to indicate where the service is to begin enumerating\n\t\t\tresults.

\n\t\t

If no value is provided, the listing of results starts from the beginning.

", + "smithy.api#httpQuery": "nexttoken" + } + }, + "MaxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum number of CIDR collection locations to return in the response.

", + "smithy.api#httpQuery": "maxresults" + } + } + } + }, + "com.amazonaws.route53#ListCidrLocationsResponse": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.route53#PaginationToken", + "traits": { + "smithy.api#documentation": "

An opaque\n\t\t\tpagination token to indicate where the service is to begin enumerating results.

\n\t\t

If no value is provided, the listing of results starts from the beginning.

" + } + }, + "CidrLocations": { + "target": "com.amazonaws.route53#LocationSummaries", + "traits": { + "smithy.api#documentation": "

A complex type that contains information about the list of CIDR locations.

" + } + } } }, "com.amazonaws.route53#ListGeoLocations": { @@ -5202,7 +5953,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a list of supported geographic locations.

\n\t\t

Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), \n\t\t\tthe subdivisions for that country are listed in alphabetical order immediately after the corresponding country.

\n\t

Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.

\n\t

For a list of supported geolocation codes, see the \n\t\t\tGeoLocation data type.

", + "smithy.api#documentation": "

Retrieves a list of supported geographic locations.

\n\t\t

Countries are listed first, and continents are listed last. If Amazon Route 53\n\t\t\tsupports subdivisions for a country (for example, states or provinces), the subdivisions\n\t\t\tfor that country are listed in alphabetical order immediately after the corresponding\n\t\t\tcountry.

\n\t\t

Route 53 does not perform authorization for this API because it retrieves information\n\t\t\tthat is already available to the public.

\n\t\t

For a list of supported geolocation codes, see the GeoLocation data\n\t\t\ttype.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/geolocations", @@ -5216,34 +5967,34 @@ "StartContinentCode": { "target": "com.amazonaws.route53#GeoLocationContinentCode", "traits": { - "smithy.api#documentation": "

The code for the continent with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already \n\t\t\treturned a page or more of results, if IsTruncated is true, and if NextContinentCode from the previous \n\t\t\tresponse has a value, enter that value in startcontinentcode to return the next page of results.

\n\t\t

Include startcontinentcode only if you want to list continents. Don't include startcontinentcode \n\t\t\twhen you're listing countries or countries with their subdivisions.

", + "smithy.api#documentation": "

The code for the continent with which you want to start listing locations that Amazon\n\t\t\tRoute 53 supports for geolocation. If Route 53 has already returned a page or more of\n\t\t\tresults, if IsTruncated is true, and if NextContinentCode from\n\t\t\tthe previous response has a value, enter that value in startcontinentcode\n\t\t\tto return the next page of results.

\n\t\t

Include startcontinentcode only if you want to list continents. Don't\n\t\t\tinclude startcontinentcode when you're listing countries or countries with\n\t\t\ttheir subdivisions.

", "smithy.api#httpQuery": "startcontinentcode" } }, "StartCountryCode": { "target": "com.amazonaws.route53#GeoLocationCountryCode", "traits": { - "smithy.api#documentation": "

The code for the country with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already \n\t\t\treturned a page or more of results, if IsTruncated is true, and if NextCountryCode from the \n\t\t\tprevious response has a value, enter that value in startcountrycode to return the next page of results.

", + "smithy.api#documentation": "

The code for the country with which you want to start listing locations that Amazon\n\t\t\tRoute 53 supports for geolocation. If Route 53 has already returned a page or more of\n\t\t\tresults, if IsTruncated is true, and if\n\t\t\t\tNextCountryCode from the previous response has a value, enter that\n\t\t\tvalue in startcountrycode to return the next page of results.

", "smithy.api#httpQuery": "startcountrycode" } }, "StartSubdivisionCode": { "target": "com.amazonaws.route53#GeoLocationSubdivisionCode", "traits": { - "smithy.api#documentation": "

The code for the state of the United States with which you want to start listing locations that Amazon Route 53 supports \n\t\t\tfor geolocation. If Route 53 has already returned a page or more of results, if IsTruncated is true, and if\n\t\t\tNextSubdivisionCode from the previous response has a value, enter that value in startsubdivisioncode \n\t\t\tto return the next page of results.

\n\t\t

To list subdivisions (U.S. states), you must include both startcountrycode and startsubdivisioncode.

", + "smithy.api#documentation": "

The code for the state of the United States with which you want to start listing\n\t\t\tlocations that Amazon Route 53 supports for geolocation. If Route 53 has already\n\t\t\treturned a page or more of results, if IsTruncated is true,\n\t\t\tand if NextSubdivisionCode from the previous response has a value, enter\n\t\t\tthat value in startsubdivisioncode to return the next page of\n\t\t\tresults.

\n\t\t

To list subdivisions (U.S. states), you must include both\n\t\t\t\tstartcountrycode and startsubdivisioncode.

", "smithy.api#httpQuery": "startsubdivisioncode" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

(Optional) The maximum number of geolocations to be included in the response body for this request. If more than maxitems \n\t\t\tgeolocations remain to be listed, then the value of the IsTruncated element in the response is true.

", + "smithy.api#documentation": "

(Optional) The maximum number of geolocations to be included in the response body for\n\t\t\tthis request. If more than maxitems geolocations remain to be listed, then\n\t\t\tthe value of the IsTruncated element in the response is\n\t\t\ttrue.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A request to get a list of geographic locations that Amazon Route 53 supports for geolocation resource record sets.

" + "smithy.api#documentation": "

A request to get a list of geographic locations that Amazon Route 53 supports for\n\t\t\tgeolocation resource record sets.

" } }, "com.amazonaws.route53#ListGeoLocationsResponse": { @@ -5252,33 +6003,33 @@ "GeoLocationDetailsList": { "target": "com.amazonaws.route53#GeoLocationDetailsList", "traits": { - "smithy.api#documentation": "

A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation.

", + "smithy.api#documentation": "

A complex type that contains one GeoLocationDetails element for each\n\t\t\tlocation that Amazon Route 53 supports for geolocation.

", "smithy.api#required": {} } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value of \n\t\t\tIsTruncated is true. To get more values, submit another request and include the values of NextContinentCode, \n\t\t\tNextCountryCode, and NextSubdivisionCode in the startcontinentcode, startcountrycode, and \n\t\t\tstartsubdivisioncode, as applicable.

", + "smithy.api#documentation": "

A value that indicates whether more locations remain to be listed after the last\n\t\t\tlocation in this response. If so, the value of IsTruncated is\n\t\t\t\ttrue. To get more values, submit another request and include the values\n\t\t\tof NextContinentCode, NextCountryCode, and\n\t\t\t\tNextSubdivisionCode in the startcontinentcode,\n\t\t\t\tstartcountrycode, and startsubdivisioncode, as\n\t\t\tapplicable.

", "smithy.api#required": {} } }, "NextContinentCode": { "target": "com.amazonaws.route53#GeoLocationContinentCode", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of \n\t\t\tNextContinentCode in the startcontinentcode parameter in another ListGeoLocations request.

" + "smithy.api#documentation": "

If IsTruncated is true, you can make a follow-up request to\n\t\t\tdisplay more locations. Enter the value of NextContinentCode in the\n\t\t\t\tstartcontinentcode parameter in another ListGeoLocations\n\t\t\trequest.

" } }, "NextCountryCode": { "target": "com.amazonaws.route53#GeoLocationCountryCode", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of \n\t\t\tNextCountryCode in the startcountrycode parameter in another ListGeoLocations request.

" + "smithy.api#documentation": "

If IsTruncated is true, you can make a follow-up request to\n\t\t\tdisplay more locations. Enter the value of NextCountryCode in the\n\t\t\t\tstartcountrycode parameter in another ListGeoLocations\n\t\t\trequest.

" } }, "NextSubdivisionCode": { "target": "com.amazonaws.route53#GeoLocationSubdivisionCode", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of \n\t\t\tNextSubdivisionCode in the startsubdivisioncode parameter in another ListGeoLocations request.

" + "smithy.api#documentation": "

If IsTruncated is true, you can make a follow-up request to\n\t\t\tdisplay more locations. Enter the value of NextSubdivisionCode in the\n\t\t\t\tstartsubdivisioncode parameter in another ListGeoLocations\n\t\t\trequest.

" } }, "MaxItems": { @@ -5330,20 +6081,20 @@ "Marker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more health checks. To get another group, \n\t\t\tsubmit another ListHealthChecks request.

\n\t\t

For the value of marker, specify the value of NextMarker from the previous response, \n\t\t\twhich is the ID of the first health check that Amazon Route 53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more health checks to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more health checks. To get another group, submit another\n\t\t\t\tListHealthChecks request.

\n\t\t

For the value of marker, specify the value of NextMarker\n\t\t\tfrom the previous response, which is the ID of the first health check that Amazon Route\n\t\t\t53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more health checks to get.

", "smithy.api#httpQuery": "marker" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of health checks that you want ListHealthChecks to return in response to the current request. \n\t\t\tAmazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Route 53 returns only the first 100 health checks.

", + "smithy.api#documentation": "

The maximum number of health checks that you want ListHealthChecks to\n\t\t\treturn in response to the current request. Amazon Route 53 returns a maximum of 100\n\t\t\titems. If you set MaxItems to a value greater than 100, Route 53 returns\n\t\t\tonly the first 100 health checks.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A request to retrieve a list of the health checks that are associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

A request to retrieve a list of the health checks that are associated with the current\n\t\t\t\tAmazon Web Services account.

" } }, "com.amazonaws.route53#ListHealthChecksResponse": { @@ -5352,40 +6103,40 @@ "HealthChecks": { "target": "com.amazonaws.route53#HealthChecks", "traits": { - "smithy.api#documentation": "

A complex type that contains one HealthCheck element for each health check that is associated with the current \n\t\t\tAmazon Web Services account.

", + "smithy.api#documentation": "

A complex type that contains one HealthCheck element for each health\n\t\t\tcheck that is associated with the current Amazon Web Services account.

", "smithy.api#required": {} } }, "Marker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

For the second and subsequent calls to ListHealthChecks, Marker is the value that you specified for the \n\t\t\tmarker parameter in the previous request.

", + "smithy.api#documentation": "

For the second and subsequent calls to ListHealthChecks,\n\t\t\t\tMarker is the value that you specified for the marker\n\t\t\tparameter in the previous request.

", "smithy.api#required": {} } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of \n\t\t\thealth checks by submitting another ListHealthChecks request and specifying the value of NextMarker in the \n\t\t\tmarker parameter.

", + "smithy.api#documentation": "

A flag that indicates whether there are more health checks to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of health checks by submitting\n\t\t\tanother ListHealthChecks request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.

", "smithy.api#required": {} } }, "NextMarker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, the value of NextMarker identifies the first health check that Amazon Route 53 \n\t\t\treturns if you submit another ListHealthChecks request and specify the value of NextMarker in \n\t\t\tthe marker parameter.

" + "smithy.api#documentation": "

If IsTruncated is true, the value of NextMarker\n\t\t\tidentifies the first health check that Amazon Route 53 returns if you submit another\n\t\t\t\tListHealthChecks request and specify the value of\n\t\t\t\tNextMarker in the marker parameter.

" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to ListHealthChecks that produced the \n\t\t\tcurrent response.

", + "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to\n\t\t\t\tListHealthChecks that produced the current response.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to a ListHealthChecks request.

" + "smithy.api#documentation": "

A complex type that contains the response to a ListHealthChecks\n\t\t\trequest.

" } }, "com.amazonaws.route53#ListHostedZones": { @@ -5408,7 +6159,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a list of the public and private hosted zones that are associated with the current Amazon Web Services account. The response \n\t\t\tincludes a HostedZones child element for each hosted zone.

\n\t\t

Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the \n\t\t\tmaxitems parameter to list them in groups of up to 100.

", + "smithy.api#documentation": "

Retrieves a list of the public and private hosted zones that are associated with the\n\t\t\tcurrent Amazon Web Services account. The response includes a HostedZones\n\t\t\tchild element for each hosted zone.

\n\t\t

Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of\n\t\t\thosted zones, you can use the maxitems parameter to list them in groups of\n\t\t\tup to 100.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzone", @@ -5439,7 +6190,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a list of your hosted zones in lexicographic order. The response includes a HostedZones child element \n\t\t\tfor each hosted zone created by the current Amazon Web Services account.

\n\t\t

\n ListHostedZonesByName sorts hosted zones by name with the labels reversed. For example:

\n\n\t\t

\n com.example.www.\n

\n\n\t\t

Note the trailing dot, which can change the sort order in some circumstances.

\n\t\t

If the domain name includes escape characters or Punycode, ListHostedZonesByName alphabetizes the domain name \n\t\t\tusing the escaped or Punycoded value, which is the format that Amazon Route 53 saves in its database. For example, to create a hosted zone \n\t\t\tfor exämple.com, you specify ex\\344mple.com for the domain name. ListHostedZonesByName alphabetizes it as:

\n\n\t\t

\n com.ex\\344mple.\n

\n\t\t\n\t\t

The labels are reversed and alphabetized using the escaped value. For more information about valid domain name formats, \n\t\t\tincluding internationalized domain names, see DNS Domain Name Format in the \n\t\t\tAmazon Route 53 Developer Guide.

\n\t\t

Route 53 returns up to 100 items in each response. If you have a lot of hosted zones, use the MaxItems parameter to list \n\t\t\tthem in groups of up to 100. The response includes values that help navigate from one group of MaxItems hosted zones to the next:

\n\t\t ", + "smithy.api#documentation": "

Retrieves a list of your hosted zones in lexicographic order. The response includes a\n\t\t\t\tHostedZones child element for each hosted zone created by the current\n\t\t\t\tAmazon Web Services account.

\n\t\t

\n ListHostedZonesByName sorts hosted zones by name with the labels\n\t\t\treversed. For example:

\n\t\t

\n com.example.www.\n

\n\t\t

Note the trailing dot, which can change the sort order in some circumstances.

\n\t\t

If the domain name includes escape characters or Punycode,\n\t\t\t\tListHostedZonesByName alphabetizes the domain name using the escaped or\n\t\t\tPunycoded value, which is the format that Amazon Route 53 saves in its database. For\n\t\t\texample, to create a hosted zone for exämple.com, you specify ex\\344mple.com for\n\t\t\tthe domain name. ListHostedZonesByName alphabetizes it as:

\n\t\t

\n com.ex\\344mple.\n

\n\t\t

The labels are reversed and alphabetized using the escaped value. For more information\n\t\t\tabout valid domain name formats, including internationalized domain names, see DNS\n\t\t\t\tDomain Name Format in the Amazon Route 53 Developer\n\t\t\t\tGuide.

\n\t\t

Route 53 returns up to 100 items in each response. If you have a lot of hosted zones,\n\t\t\tuse the MaxItems parameter to list them in groups of up to 100. The\n\t\t\tresponse includes values that help navigate from one group of MaxItems\n\t\t\thosted zones to the next:

\n\t\t ", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzonesbyname", @@ -5453,27 +6204,27 @@ "DNSName": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

(Optional) For your first request to ListHostedZonesByName, include the dnsname parameter only if you want to \n\t\t\tspecify the name of the first hosted zone in the response. If you don't include the dnsname parameter, Amazon Route 53 returns all of \n\t\t\tthe hosted zones that were created by the current Amazon Web Services account, in ASCII order. For subsequent requests, include both dnsname and \n\t\t\thostedzoneid parameters. For dnsname, specify the value of NextDNSName from the previous response.

", + "smithy.api#documentation": "

(Optional) For your first request to ListHostedZonesByName, include the\n\t\t\t\tdnsname parameter only if you want to specify the name of the first\n\t\t\thosted zone in the response. If you don't include the dnsname parameter,\n\t\t\tAmazon Route 53 returns all of the hosted zones that were created by the current Amazon Web Services account, in ASCII order. For subsequent requests, include both\n\t\t\t\tdnsname and hostedzoneid parameters. For\n\t\t\t\tdnsname, specify the value of NextDNSName from the\n\t\t\tprevious response.

", "smithy.api#httpQuery": "dnsname" } }, "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

(Optional) For your first request to ListHostedZonesByName, do not include the hostedzoneid parameter.

\n\t\t

If you have more hosted zones than the value of maxitems, ListHostedZonesByName returns only the first \n\t\t\tmaxitems hosted zones. To get the next group of maxitems hosted zones, submit another request to \n\t\t\tListHostedZonesByName and include both dnsname and hostedzoneid parameters. For the value of \n\t\t\thostedzoneid, specify the value of the NextHostedZoneId element from the previous response.

", + "smithy.api#documentation": "

(Optional) For your first request to ListHostedZonesByName, do not\n\t\t\tinclude the hostedzoneid parameter.

\n\t\t

If you have more hosted zones than the value of maxitems,\n\t\t\t\tListHostedZonesByName returns only the first maxitems\n\t\t\thosted zones. To get the next group of maxitems hosted zones, submit\n\t\t\tanother request to ListHostedZonesByName and include both\n\t\t\t\tdnsname and hostedzoneid parameters. For the value of\n\t\t\t\thostedzoneid, specify the value of the NextHostedZoneId\n\t\t\telement from the previous response.

", "smithy.api#httpQuery": "hostedzoneid" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of hosted zones to be included in the response body for this request. If you have more than maxitems \n\t\t\thosted zones, then the value of the IsTruncated element in the response is true, and the values of NextDNSName and \n\t\t\tNextHostedZoneId specify the first hosted zone in the next group of maxitems hosted zones.

", + "smithy.api#documentation": "

The maximum number of hosted zones to be included in the response body for this\n\t\t\trequest. If you have more than maxitems hosted zones, then the value of the\n\t\t\t\tIsTruncated element in the response is true, and the values of\n\t\t\t\tNextDNSName and NextHostedZoneId specify the first hosted\n\t\t\tzone in the next group of maxitems hosted zones.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

Retrieves a list of the public and private hosted zones that are associated with the current Amazon Web Services account in ASCII order by domain \n\t\t\tname.

" + "smithy.api#documentation": "

Retrieves a list of the public and private hosted zones that are associated with the\n\t\t\tcurrent Amazon Web Services account in ASCII order by domain name.

" } }, "com.amazonaws.route53#ListHostedZonesByNameResponse": { @@ -5489,7 +6240,7 @@ "DNSName": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

For the second and subsequent calls to ListHostedZonesByName, DNSName is the value that you specified for the \n\t\t\tdnsname parameter in the request that produced the current response.

" + "smithy.api#documentation": "

For the second and subsequent calls to ListHostedZonesByName,\n\t\t\t\tDNSName is the value that you specified for the dnsname\n\t\t\tparameter in the request that produced the current response.

" } }, "HostedZoneId": { @@ -5501,26 +6252,26 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of \n\t\t\tmaxitems hosted zones by calling ListHostedZonesByName again and specifying the values of NextDNSName and \n\t\t\tNextHostedZoneId elements in the dnsname and hostedzoneid parameters.

", + "smithy.api#documentation": "

A flag that indicates whether there are more hosted zones to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of maxitems hosted zones\n\t\t\tby calling ListHostedZonesByName again and specifying the values of\n\t\t\t\tNextDNSName and NextHostedZoneId elements in the\n\t\t\t\tdnsname and hostedzoneid parameters.

", "smithy.api#required": {} } }, "NextDNSName": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, the value of NextDNSName is the name of the first hosted zone in the next group of \n\t\t\tmaxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName \n\t\t\tand NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively.

\n\t\t

This element is present only if IsTruncated is true.

" + "smithy.api#documentation": "

If IsTruncated is true, the value of NextDNSName is the name\n\t\t\tof the first hosted zone in the next group of maxitems hosted zones. Call\n\t\t\t\tListHostedZonesByName again and specify the value of\n\t\t\t\tNextDNSName and NextHostedZoneId in the\n\t\t\t\tdnsname and hostedzoneid parameters, respectively.

\n\t\t

This element is present only if IsTruncated is true.

" } }, "NextHostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, the value of NextHostedZoneId identifies the first hosted zone in the \n\t\t\tnext group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName \n\t\t\tand NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively.

\n\t\t

This element is present only if IsTruncated is true.

" + "smithy.api#documentation": "

If IsTruncated is true, the value of\n\t\t\t\tNextHostedZoneId identifies the first hosted zone in the next group of\n\t\t\t\tmaxitems hosted zones. Call ListHostedZonesByName again\n\t\t\tand specify the value of NextDNSName and NextHostedZoneId in\n\t\t\tthe dnsname and hostedzoneid parameters, respectively.

\n\t\t

This element is present only if IsTruncated is true.

" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to ListHostedZonesByName that produced the \n\t\t\tcurrent response.

", + "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to\n\t\t\t\tListHostedZonesByName that produced the current response.

", "smithy.api#required": {} } } @@ -5546,7 +6297,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists all the private hosted zones that a specified VPC is associated with, regardless of which Amazon Web Services account or Amazon Web Services service owns the \n\t\t\thosted zones. The HostedZoneOwner structure in the response contains one of the following values:

\n\t\t \n\t\t \n

When listing private hosted zones, the hosted zone and the Amazon VPC must belong to\n\t\t\t\tthe same partition where the hosted zones were created. A partition is a group of\n\t\t\t\t\tAmazon Web Services Regions. Each Amazon Web Services account is scoped to one\n\t\t\t\tpartition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n
", + "smithy.api#documentation": "

Lists all the private hosted zones that a specified VPC is associated with, regardless\n\t\t\tof which Amazon Web Services account or Amazon Web Services service owns the hosted zones.\n\t\t\tThe HostedZoneOwner structure in the response contains one of the following\n\t\t\tvalues:

\n\t\t \n\t\t \n\t\t\t

When listing private hosted zones, the hosted zone and the Amazon VPC must\n\t\t\t\tbelong to the same partition where the hosted zones were created. A partition is a\n\t\t\t\tgroup of Amazon Web Services Regions. Each Amazon Web Services account is scoped to\n\t\t\t\tone partition.

\n\t\t\t

The following are the supported partitions:

\n\t\t\t \n\t\t\t

For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.

\n\t\t
", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzonesbyvpc", @@ -5568,7 +6319,7 @@ "VPCRegion": { "target": "com.amazonaws.route53#VPCRegion", "traits": { - "smithy.api#documentation": "

For the Amazon VPC that you specified for VPCId, the Amazon Web Services Region that you created the VPC in.

", + "smithy.api#documentation": "

For the Amazon VPC that you specified for VPCId, the Amazon Web Services\n\t\t\tRegion that you created the VPC in.

", "smithy.api#httpQuery": "vpcregion", "smithy.api#required": {} } @@ -5576,20 +6327,20 @@ "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If the specified VPC is associated with \n\t\t\tmore than MaxItems hosted zones, the response includes a NextToken element. NextToken contains \n\t\t\tan encrypted token that identifies the first hosted zone that Route 53 will return if you submit another request.

", + "smithy.api#documentation": "

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return.\n\t\t\tIf the specified VPC is associated with more than MaxItems hosted zones,\n\t\t\tthe response includes a NextToken element. NextToken contains\n\t\t\tan encrypted token that identifies the first hosted zone that Route 53 will return if\n\t\t\tyou submit another request.

", "smithy.api#httpQuery": "maxitems" } }, "NextToken": { "target": "com.amazonaws.route53#PaginationToken", "traits": { - "smithy.api#documentation": "

If the previous response included a NextToken element, the specified VPC is associated with more hosted zones. \n\t\t\tTo get more hosted zones, submit another ListHostedZonesByVPC request.

\n\t\t

For the value of NextToken, specify the value of NextToken from the previous response.

\n\t\t

If the previous response didn't include a NextToken element, there are no more hosted zones to get.

", + "smithy.api#documentation": "

If the previous response included a NextToken element, the specified VPC\n\t\t\tis associated with more hosted zones. To get more hosted zones, submit another\n\t\t\t\tListHostedZonesByVPC request.

\n\t\t

For the value of NextToken, specify the value of NextToken\n\t\t\tfrom the previous response.

\n\t\t

If the previous response didn't include a NextToken element, there are no\n\t\t\tmore hosted zones to get.

", "smithy.api#httpQuery": "nexttoken" } } }, "traits": { - "smithy.api#documentation": "

Lists all the private hosted zones that a specified VPC is associated with, regardless of which Amazon Web Services account created the hosted zones.

" + "smithy.api#documentation": "

Lists all the private hosted zones that a specified VPC is associated with, regardless\n\t\t\tof which Amazon Web Services account created the hosted zones.

" } }, "com.amazonaws.route53#ListHostedZonesByVPCResponse": { @@ -5598,21 +6349,21 @@ "HostedZoneSummaries": { "target": "com.amazonaws.route53#HostedZoneSummaries", "traits": { - "smithy.api#documentation": "

A list that contains one HostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. \n\t\t\tEach HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.

", + "smithy.api#documentation": "

A list that contains one HostedZoneSummary element for each hosted zone\n\t\t\tthat the specified Amazon VPC is associated with. Each HostedZoneSummary\n\t\t\telement contains the hosted zone name and ID, and information about who owns the hosted\n\t\t\tzone.

", "smithy.api#required": {} } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for MaxItems in the most recent ListHostedZonesByVPC request.

", + "smithy.api#documentation": "

The value that you specified for MaxItems in the most recent\n\t\t\t\tListHostedZonesByVPC request.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.route53#PaginationToken", "traits": { - "smithy.api#documentation": "

The value that you will use for NextToken in the next ListHostedZonesByVPC request.

" + "smithy.api#documentation": "

The value that you will use for NextToken in the next\n\t\t\t\tListHostedZonesByVPC request.

" } } } @@ -5623,27 +6374,27 @@ "Marker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more hosted zones. \n\t\t\tTo get more hosted zones, submit another ListHostedZones request.

\n\t\t

For the value of marker, specify the value of NextMarker from the previous response, \n\t\t\twhich is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more hosted zones to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more hosted zones. To get more hosted zones, submit\n\t\t\tanother ListHostedZones request.

\n\t\t

For the value of marker, specify the value of NextMarker\n\t\t\tfrom the previous response, which is the ID of the first hosted zone that Amazon Route\n\t\t\t53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more hosted zones to get.

", "smithy.api#httpQuery": "marker" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than maxitems \n\t\t\thosted zones, the value of IsTruncated in the response is true, and the value of NextMarker \n\t\t\tis the hosted zone ID of the first hosted zone that Route 53 will return if you submit another request.

", + "smithy.api#documentation": "

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return.\n\t\t\tIf you have more than maxitems hosted zones, the value of\n\t\t\t\tIsTruncated in the response is true, and the value of\n\t\t\t\tNextMarker is the hosted zone ID of the first hosted zone that Route 53\n\t\t\twill return if you submit another request.

", "smithy.api#httpQuery": "maxitems" } }, "DelegationSetId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

If you're using reusable delegation sets and you want to list all of the hosted zones that are associated \n\t\t\twith a reusable delegation set, specify the ID of that reusable delegation set.

", + "smithy.api#documentation": "

If you're using reusable delegation sets and you want to list all of the hosted zones\n\t\t\tthat are associated with a reusable delegation set, specify the ID of that reusable\n\t\t\tdelegation set.

", "smithy.api#httpQuery": "delegationsetid" } } }, "traits": { - "smithy.api#documentation": "

A request to retrieve a list of the public and private hosted zones that are associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

A request to retrieve a list of the public and private hosted zones that are\n\t\t\tassociated with the current Amazon Web Services account.

" } }, "com.amazonaws.route53#ListHostedZonesResponse": { @@ -5659,27 +6410,27 @@ "Marker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

For the second and subsequent calls to ListHostedZones, Marker is the value that you specified for the \n\t\t\tmarker parameter in the request that produced the current response.

", + "smithy.api#documentation": "

For the second and subsequent calls to ListHostedZones,\n\t\t\t\tMarker is the value that you specified for the marker\n\t\t\tparameter in the request that produced the current response.

", "smithy.api#required": {} } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag indicating whether there are more hosted zones to be listed. If the response was truncated, you can get more hosted zones \n\t\t\tby submitting another ListHostedZones request and specifying the value of NextMarker in the \n\t\t\tmarker parameter.

", + "smithy.api#documentation": "

A flag indicating whether there are more hosted zones to be listed. If the response\n\t\t\twas truncated, you can get more hosted zones by submitting another\n\t\t\t\tListHostedZones request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.

", "smithy.api#required": {} } }, "NextMarker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, the value of NextMarker identifies the first hosted zone in the next group \n\t\t\tof hosted zones. Submit another ListHostedZones request, and specify the value of NextMarker from the response in the \n\t\t\tmarker parameter.

\n\t\t

This element is present only if IsTruncated is true.

" + "smithy.api#documentation": "

If IsTruncated is true, the value of NextMarker\n\t\t\tidentifies the first hosted zone in the next group of hosted zones. Submit another\n\t\t\t\tListHostedZones request, and specify the value of\n\t\t\t\tNextMarker from the response in the marker\n\t\t\tparameter.

\n\t\t

This element is present only if IsTruncated is true.

" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to ListHostedZones that \n\t\t\tproduced the current response.

", + "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to\n\t\t\t\tListHostedZones that produced the current response.

", "smithy.api#required": {} } } @@ -5705,7 +6456,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the configurations for DNS query logging that are associated with the current Amazon Web Services account or the configuration \n\t\t\tthat is associated with a specified hosted zone.

\n\n\t\t

For more information about DNS query logs, see \n\t\t\tCreateQueryLoggingConfig. \n\t\t\tAdditional information, including the format of DNS query logs, appears in \n\t\t\tLogging DNS Queries \n\t\t\tin the Amazon Route 53 Developer Guide.

", + "smithy.api#documentation": "

Lists the configurations for DNS query logging that are associated with the current\n\t\t\t\tAmazon Web Services account or the configuration that is associated with a specified\n\t\t\thosted zone.

\n\t\t

For more information about DNS query logs, see CreateQueryLoggingConfig. Additional information, including the format of\n\t\t\tDNS query logs, appears in Logging DNS Queries in\n\t\t\tthe Amazon Route 53 Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/queryloggingconfig", @@ -5725,21 +6476,21 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

(Optional) If you want to list the query logging configuration that is associated with a hosted zone, specify the ID in \n\t\t\tHostedZoneId.

\n\t\t

If you don't specify a hosted zone ID, ListQueryLoggingConfigs returns all of the configurations \n\t\t\tthat are associated with the current Amazon Web Services account.

", + "smithy.api#documentation": "

(Optional) If you want to list the query logging configuration that is associated with\n\t\t\ta hosted zone, specify the ID in HostedZoneId.

\n\t\t

If you don't specify a hosted zone ID, ListQueryLoggingConfigs returns\n\t\t\tall of the configurations that are associated with the current Amazon Web Services account.

", "smithy.api#httpQuery": "hostedzoneid" } }, "NextToken": { "target": "com.amazonaws.route53#PaginationToken", "traits": { - "smithy.api#documentation": "

(Optional) If the current Amazon Web Services account has more than MaxResults query logging configurations, use NextToken \n\t\t\tto get the second and subsequent pages of results.

\n\t\t

For the first ListQueryLoggingConfigs request, omit this value.

\n\t\t

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value \n\t\t\tfor NextToken in the request.

", + "smithy.api#documentation": "

(Optional) If the current Amazon Web Services account has more than\n\t\t\t\tMaxResults query logging configurations, use NextToken to\n\t\t\tget the second and subsequent pages of results.

\n\t\t

For the first ListQueryLoggingConfigs request, omit this value.

\n\t\t

For the second and subsequent requests, get the value of NextToken from\n\t\t\tthe previous response and specify that value for NextToken in the\n\t\t\trequest.

", "smithy.api#httpQuery": "nexttoken" } }, "MaxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

(Optional) The maximum number of query logging configurations that you want Amazon Route 53 to return in response to the current request. \n\t\t\tIf the current Amazon Web Services account has more than MaxResults configurations, use the value of \n\t\t\tNextToken \n\t\t\tin the response to get the next page of results.

\n\t\t

If you don't specify a value for MaxResults, Route 53 returns up to 100 configurations.

", + "smithy.api#documentation": "

(Optional) The maximum number of query logging configurations that you want Amazon\n\t\t\tRoute 53 to return in response to the current request. If the current Amazon Web Services account has more than MaxResults configurations, use the\n\t\t\tvalue of NextToken in the response to get the next page of results.

\n\t\t

If you don't specify a value for MaxResults, Route 53 returns up to 100\n\t\t\tconfigurations.

", "smithy.api#httpQuery": "maxresults" } } @@ -5751,14 +6502,14 @@ "QueryLoggingConfigs": { "target": "com.amazonaws.route53#QueryLoggingConfigs", "traits": { - "smithy.api#documentation": "

An array that contains one \n\t\t\tQueryLoggingConfig element \n\t\t\tfor each configuration for DNS query logging that is associated with the current Amazon Web Services account.

", + "smithy.api#documentation": "

An array that contains one QueryLoggingConfig element for each configuration for DNS query logging\n\t\t\tthat is associated with the current Amazon Web Services account.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.route53#PaginationToken", "traits": { - "smithy.api#documentation": "

If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account, \n\t\t\tNextToken doesn't appear in the response.

\n\t\t

If a response doesn't include the last of the configurations, you can get more configurations by submitting another \n\t\t\tListQueryLoggingConfigs \n\t\t\trequest. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in \n\t\t\tNextToken in the next request.

" + "smithy.api#documentation": "

If a response includes the last of the query logging configurations that are\n\t\t\tassociated with the current Amazon Web Services account, NextToken doesn't\n\t\t\tappear in the response.

\n\t\t

If a response doesn't include the last of the configurations, you can get more\n\t\t\tconfigurations by submitting another ListQueryLoggingConfigs request. Get the value of NextToken\n\t\t\tthat Amazon Route 53 returned in the previous response and include it in\n\t\t\t\tNextToken in the next request.

" } } } @@ -5780,7 +6531,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the resource record sets in a specified hosted zone.

\n\t\t

\n ListResourceRecordSets returns up to 300 resource record sets at a time in ASCII order, \n\t\t\tbeginning at a position specified by the name and type elements.

\n\t\t\n\t\t

\n Sort order\n

\n\t\t\t

\n ListResourceRecordSets sorts results first by DNS name with the labels reversed, for example:

\n\t\t\t

\n com.example.www.\n

\n\t\t\t

Note the trailing dot, which can change the sort order when the record name contains characters that appear before \n\t\t\t\t. (decimal 46) in the ASCII table. These characters include the following: ! \" # $ % & ' ( ) * + , -\n

\n\t\t\t

When multiple records have the same DNS name, ListResourceRecordSets sorts results by the record type.

\n\t\t\n\t\t

\n Specifying where to start listing records\n

\n\t\t\t

You can use the name and type elements to specify the resource record set that the list begins with:

\n\t\t\t
\n
If you do not specify Name or Type
\n
\n

The results begin with the first resource record set that the hosted zone contains.

\n
\n
If you specify Name but not Type
\n
\n

The results begin with the first resource record set in the list whose name is greater than or equal to \n\t\t\t\t\t\tName.

\n
\n
If you specify Type but not Name
\n
\n

Amazon Route 53 returns the InvalidInput error.

\n
\n
If you specify both Name and Type
\n
\n

The results begin with the first resource record set in the list whose name is greater than or equal to \n\t\t\t\t\t\tName, and whose type is greater than or equal to Type.

\n
\n
\n\t\t\n\t\t

\n Resource record sets that are PENDING\n

\n\t\t\t

This action returns the most current version of the records. This includes records that are PENDING, \n\t\t\t\tand that are not yet available on all Route 53 DNS servers.

\n\t\t\n\t\t

\n Changing resource record sets\n

\n\t\t\t

To ensure that you get an accurate listing of the resource record sets for a hosted zone at a point in time, \n\t\t\t\tdo not submit a ChangeResourceRecordSets request while you're paging through the results of a \n\t\t\t\tListResourceRecordSets request. If you do, some pages may display results without the latest changes \n\t\t\t\twhile other pages display results with the latest changes.

\n\t\t\n\t\t

\n Displaying the next page of results\n

\n\t\t\t

If a ListResourceRecordSets command returns more than one page of results, the value of IsTruncated \n\t\t\t\tis true. To display the next page of results, get the values of NextRecordName, NextRecordType, \n\t\t\t\tand NextRecordIdentifier (if any) from the response. Then submit another ListResourceRecordSets request, and \n\t\t\t\tspecify those values for StartRecordName, StartRecordType, and StartRecordIdentifier.

", + "smithy.api#documentation": "

Lists the resource record sets in a specified hosted zone.

\n\t\t

\n ListResourceRecordSets returns up to 300 resource record sets at a time\n\t\t\tin ASCII order, beginning at a position specified by the name and\n\t\t\t\ttype elements.

\n\t\t

\n Sort order\n

\n\t\t

\n ListResourceRecordSets sorts results first by DNS name with the labels\n\t\t\treversed, for example:

\n\t\t

\n com.example.www.\n

\n\t\t

Note the trailing dot, which can change the sort order when the record name contains\n\t\t\tcharacters that appear before . (decimal 46) in the ASCII table. These\n\t\t\tcharacters include the following: ! \" # $ % & ' ( ) * + , -\n

\n\t\t

When multiple records have the same DNS name, ListResourceRecordSets\n\t\t\tsorts results by the record type.

\n\t\t

\n Specifying where to start listing records\n

\n\t\t

You can use the name and type elements to specify the resource record set that the\n\t\t\tlist begins with:

\n\t\t
\n
If you do not specify Name or Type
\n
\n\t\t\t\t\t

The results begin with the first resource record set that the hosted zone\n\t\t\t\t\t\tcontains.

\n\t\t\t\t
\n
If you specify Name but not Type
\n
\n\t\t\t\t\t

The results begin with the first resource record set in the list whose\n\t\t\t\t\t\tname is greater than or equal to Name.

\n\t\t\t\t
\n
If you specify Type but not Name
\n
\n\t\t\t\t\t

Amazon Route 53 returns the InvalidInput error.

\n\t\t\t\t
\n
If you specify both Name and Type
\n
\n\t\t\t\t\t

The results begin with the first resource record set in the list whose\n\t\t\t\t\t\tname is greater than or equal to Name, and whose type is\n\t\t\t\t\t\tgreater than or equal to Type.

\n\t\t\t\t
\n
\n\t\t

\n Resource record sets that are PENDING\n

\n\t\t

This action returns the most current version of the records. This includes records\n\t\t\tthat are PENDING, and that are not yet available on all Route 53 DNS\n\t\t\tservers.

\n\t\t

\n Changing resource record sets\n

\n\t\t

To ensure that you get an accurate listing of the resource record sets for a hosted\n\t\t\tzone at a point in time, do not submit a ChangeResourceRecordSets request\n\t\t\twhile you're paging through the results of a ListResourceRecordSets\n\t\t\trequest. If you do, some pages may display results without the latest changes while\n\t\t\tother pages display results with the latest changes.

\n\t\t

\n Displaying the next page of results\n

\n\t\t

If a ListResourceRecordSets command returns more than one page of\n\t\t\tresults, the value of IsTruncated is true. To display the next\n\t\t\tpage of results, get the values of NextRecordName,\n\t\t\t\tNextRecordType, and NextRecordIdentifier (if any) from the\n\t\t\tresponse. Then submit another ListResourceRecordSets request, and specify\n\t\t\tthose values for StartRecordName, StartRecordType, and\n\t\t\t\tStartRecordIdentifier.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/rrset", @@ -5794,7 +6545,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the hosted zone that contains the resource record sets that you want to list.

", + "smithy.api#documentation": "

The ID of the hosted zone that contains the resource record sets that you want to\n\t\t\tlist.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5802,34 +6553,34 @@ "StartRecordName": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

The first name in the lexicographic ordering of resource record sets that you want to list. \n\t\t\tIf the specified record name doesn't exist, the results begin with the first resource record set that has a name \n\t\t\tgreater than the value of name.

", + "smithy.api#documentation": "

The first name in the lexicographic ordering of resource record sets that you want to\n\t\t\tlist. If the specified record name doesn't exist, the results begin with the first\n\t\t\tresource record set that has a name greater than the value of name.

", "smithy.api#httpQuery": "name" } }, "StartRecordType": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

The type of resource record set to begin the record listing from.

\n\t\t

Valid values for basic resource record sets: A | AAAA | CAA | CNAME | MX | \n\t\t\tNAPTR | NS | PTR | SOA | SPF | SRV | TXT\n

\n\t\t

Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | CAA | CNAME | \n\t\t\tMX | NAPTR | PTR | SPF | SRV | TXT\n

\n\t\t

Values for alias resource record sets:

\n\t\t \n\t\t

Constraint: Specifying type without specifying name returns an InvalidInput error.

", + "smithy.api#documentation": "

The type of resource record set to begin the record listing from.

\n\t\t

Valid values for basic resource record sets: A | AAAA |\n\t\t\t\tCAA | CNAME | MX | NAPTR |\n\t\t\t\tNS | PTR | SOA | SPF |\n\t\t\t\tSRV | TXT\n

\n\t\t

Values for weighted, latency, geolocation, and failover resource record sets:\n\t\t\t\tA | AAAA | CAA | CNAME |\n\t\t\t\tMX | NAPTR | PTR | SPF |\n\t\t\t\tSRV | TXT\n

\n\t\t

Values for alias resource record sets:

\n\t\t \n\t\t

Constraint: Specifying type without specifying name returns\n\t\t\tan InvalidInput error.

", "smithy.api#httpQuery": "type" } }, "StartRecordIdentifier": { "target": "com.amazonaws.route53#ResourceRecordSetIdentifier", "traits": { - "smithy.api#documentation": "

\n Resource record sets that have a routing policy other than simple: If results were truncated for a given DNS name and type, \n\t\t\tspecify the value of NextRecordIdentifier from the previous response to get the next resource record set that has the current \n\t\t\tDNS name and type.

", + "smithy.api#documentation": "

\n Resource record sets that have a routing policy other than\n\t\t\t\tsimple: If results were truncated for a given DNS name and type, specify\n\t\t\tthe value of NextRecordIdentifier from the previous response to get the\n\t\t\tnext resource record set that has the current DNS name and type.

", "smithy.api#httpQuery": "identifier" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

(Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes \n\t\t\tmore than maxitems resource record sets, the value of the IsTruncated element in the response is true, \n\t\t\tand the values of the NextRecordName and NextRecordType elements in the response identify the first \n\t\t\tresource record set in the next group of maxitems resource record sets.

", + "smithy.api#documentation": "

(Optional) The maximum number of resource records sets to include in the response body\n\t\t\tfor this request. If the response includes more than maxitems resource\n\t\t\trecord sets, the value of the IsTruncated element in the response is\n\t\t\t\ttrue, and the values of the NextRecordName and\n\t\t\t\tNextRecordType elements in the response identify the first resource\n\t\t\trecord set in the next group of maxitems resource record sets.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A request for the resource record sets that are associated with a specified hosted zone.

" + "smithy.api#documentation": "

A request for the resource record sets that are associated with a specified hosted\n\t\t\tzone.

" } }, "com.amazonaws.route53#ListResourceRecordSetsResponse": { @@ -5845,7 +6596,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether more resource record sets remain to be listed. If your results were truncated, you can make a \n\t\t\tfollow-up pagination request by using the NextRecordName element.

", + "smithy.api#documentation": "

A flag that indicates whether more resource record sets remain to be listed. If your\n\t\t\tresults were truncated, you can make a follow-up pagination request by using the\n\t\t\t\tNextRecordName element.

", "smithy.api#required": {} } }, @@ -5864,7 +6615,7 @@ "NextRecordIdentifier": { "target": "com.amazonaws.route53#ResourceRecordSetIdentifier", "traits": { - "smithy.api#documentation": "

\n Resource record sets that have a routing policy other than simple: If results were truncated for a given \n\t\t\tDNS name and type, the value of SetIdentifier for the next resource record set that has the current DNS name and type.

\n\t\t

For information about routing policies, see \n\t\t\tChoosing a Routing Policy \n\t\t\tin the Amazon Route 53 Developer Guide.

" + "smithy.api#documentation": "

\n Resource record sets that have a routing policy other than\n\t\t\t\tsimple: If results were truncated for a given DNS name and type, the\n\t\t\tvalue of SetIdentifier for the next resource record set that has the\n\t\t\tcurrent DNS name and type.

\n\t\t

For information about routing policies, see Choosing a Routing\n\t\t\t\tPolicy in the Amazon Route 53 Developer Guide.

" } }, "MaxItems": { @@ -5893,7 +6644,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a list of the reusable delegation sets that are associated with the current Amazon Web Services account.

", + "smithy.api#documentation": "

Retrieves a list of the reusable delegation sets that are associated with the current\n\t\t\t\tAmazon Web Services account.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/delegationset", @@ -5907,20 +6658,20 @@ "Marker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more reusable delegation sets. \n\t\t\tTo get another group, submit another ListReusableDelegationSets request.

\n\t\t

For the value of marker, specify the value of NextMarker from the previous response, \n\t\t\twhich is the ID of the first reusable delegation set that Amazon Route 53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more reusable delegation sets to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more reusable delegation sets. To get another group,\n\t\t\tsubmit another ListReusableDelegationSets request.

\n\t\t

For the value of marker, specify the value of NextMarker\n\t\t\tfrom the previous response, which is the ID of the first reusable delegation set that\n\t\t\tAmazon Route 53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more reusable delegation sets to get.

", "smithy.api#httpQuery": "marker" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The number of reusable delegation sets that you want Amazon Route 53 to return in the response to this request. If you specify a value \n\t\t\tgreater than 100, Route 53 returns only the first 100 reusable delegation sets.

", + "smithy.api#documentation": "

The number of reusable delegation sets that you want Amazon Route 53 to return in the\n\t\t\tresponse to this request. If you specify a value greater than 100, Route 53 returns only\n\t\t\tthe first 100 reusable delegation sets.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A request to get a list of the reusable delegation sets that are associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

A request to get a list of the reusable delegation sets that are associated with the\n\t\t\tcurrent Amazon Web Services account.

" } }, "com.amazonaws.route53#ListReusableDelegationSetsResponse": { @@ -5929,40 +6680,40 @@ "DelegationSets": { "target": "com.amazonaws.route53#DelegationSets", "traits": { - "smithy.api#documentation": "

A complex type that contains one DelegationSet element for each reusable delegation set that was created \n\t\t\tby the current Amazon Web Services account.

", + "smithy.api#documentation": "

A complex type that contains one DelegationSet element for each reusable\n\t\t\tdelegation set that was created by the current Amazon Web Services account.

", "smithy.api#required": {} } }, "Marker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

For the second and subsequent calls to ListReusableDelegationSets, Marker is the value that you specified \n\t\t\tfor the marker parameter in the request that produced the current response.

", + "smithy.api#documentation": "

For the second and subsequent calls to ListReusableDelegationSets,\n\t\t\t\tMarker is the value that you specified for the marker\n\t\t\tparameter in the request that produced the current response.

", "smithy.api#required": {} } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more reusable delegation sets to be listed.

", + "smithy.api#documentation": "

A flag that indicates whether there are more reusable delegation sets to be\n\t\t\tlisted.

", "smithy.api#required": {} } }, "NextMarker": { "target": "com.amazonaws.route53#PageMarker", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, the value of NextMarker identifies the next reusable delegation set \n\t\t\tthat Amazon Route 53 will return if you submit another ListReusableDelegationSets request and specify the value of NextMarker \n\t\t\tin the marker parameter.

" + "smithy.api#documentation": "

If IsTruncated is true, the value of NextMarker\n\t\t\tidentifies the next reusable delegation set that Amazon Route 53 will return if you\n\t\t\tsubmit another ListReusableDelegationSets request and specify the value of\n\t\t\t\tNextMarker in the marker parameter.

" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to ListReusableDelegationSets that \n\t\t\tproduced the current response.

", + "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the call to\n\t\t\t\tListReusableDelegationSets that produced the current response.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the reusable delegation sets that are associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

A complex type that contains information about the reusable delegation sets that are\n\t\t\tassociated with the current Amazon Web Services account.

" } }, "com.amazonaws.route53#ListTagsForResource": { @@ -5991,7 +6742,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists tags for one health check or hosted zone.

\n\t\t

For information about using tags for cost allocation, see \n\t\t\tUsing Cost Allocation Tags \n\t\t\tin the Billing and Cost Management User Guide.

", + "smithy.api#documentation": "

Lists tags for one health check or hosted zone.

\n\t\t

For information about using tags for cost allocation, see Using Cost Allocation\n\t\t\t\tTags in the Billing and Cost Management User Guide.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/tags/{ResourceType}/{ResourceId}", @@ -6005,7 +6756,7 @@ "ResourceType": { "target": "com.amazonaws.route53#TagResourceType", "traits": { - "smithy.api#documentation": "

The type of the resource.

\n\t\t ", + "smithy.api#documentation": "

The type of the resource.

\n\t\t ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6020,7 +6771,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type containing information about a request for a list of the tags that are associated with an individual resource.

" + "smithy.api#documentation": "

A complex type containing information about a request for a list of the tags that are\n\t\t\tassociated with an individual resource.

" } }, "com.amazonaws.route53#ListTagsForResourceResponse": { @@ -6029,13 +6780,13 @@ "ResourceTagSet": { "target": "com.amazonaws.route53#ResourceTagSet", "traits": { - "smithy.api#documentation": "

A ResourceTagSet containing tags associated with the specified resource.

", + "smithy.api#documentation": "

A ResourceTagSet containing tags associated with the specified\n\t\t\tresource.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the health checks or hosted zones for which you want to list tags.

" + "smithy.api#documentation": "

A complex type that contains information about the health checks or hosted zones for\n\t\t\twhich you want to list tags.

" } }, "com.amazonaws.route53#ListTagsForResources": { @@ -6064,7 +6815,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists tags for up to 10 health checks or hosted zones.

\n\t\t

For information about using tags for cost allocation, see \n\t\t\tUsing Cost Allocation Tags \n\t\t\tin the Billing and Cost Management User Guide.

", + "smithy.api#documentation": "

Lists tags for up to 10 health checks or hosted zones.

\n\t\t

For information about using tags for cost allocation, see Using Cost Allocation\n\t\t\t\tTags in the Billing and Cost Management User Guide.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/tags/{ResourceType}", @@ -6078,7 +6829,7 @@ "ResourceType": { "target": "com.amazonaws.route53#TagResourceType", "traits": { - "smithy.api#documentation": "

The type of the resources.

\n\t\t ", + "smithy.api#documentation": "

The type of the resources.

\n\t\t ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6086,13 +6837,13 @@ "ResourceIds": { "target": "com.amazonaws.route53#TagResourceIdList", "traits": { - "smithy.api#documentation": "

A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.

", + "smithy.api#documentation": "

A complex type that contains the ResourceId element for each resource for which you\n\t\t\twant to get a list of tags.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the health checks or hosted zones for which you want to list tags.

" + "smithy.api#documentation": "

A complex type that contains information about the health checks or hosted zones for\n\t\t\twhich you want to list tags.

" } }, "com.amazonaws.route53#ListTagsForResourcesResponse": { @@ -6101,7 +6852,7 @@ "ResourceTagSets": { "target": "com.amazonaws.route53#ResourceTagSetList", "traits": { - "smithy.api#documentation": "

A list of ResourceTagSets containing tags associated with the specified resources.

", + "smithy.api#documentation": "

A list of ResourceTagSets containing tags associated with the specified\n\t\t\tresources.

", "smithy.api#required": {} } } @@ -6124,7 +6875,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the latest version for every traffic policy that is associated with the current Amazon Web Services account. \n\t\t\tPolicies are listed in the order that they were created in.

\n\t\t\n\t\t

For information about how of deleting a traffic policy affects the response from ListTrafficPolicies, see \n\t\t\tDeleteTrafficPolicy.\n\n\t\t

", + "smithy.api#documentation": "

Gets information about the latest version for every traffic policy that is associated\n\t\t\twith the current Amazon Web Services account. Policies are listed in the order that they\n\t\t\twere created in.

\n\t\t

For information about how of deleting a traffic policy affects the response from\n\t\t\t\tListTrafficPolicies, see DeleteTrafficPolicy.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicies", @@ -6138,20 +6889,20 @@ "TrafficPolicyIdMarker": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

(Conditional) For your first request to ListTrafficPolicies, don't include the TrafficPolicyIdMarker parameter.

\n\t\t

If you have more traffic policies than the value of MaxItems, ListTrafficPolicies returns only the first \n\t\t\tMaxItems traffic policies. To get the next group of policies, submit another request to ListTrafficPolicies. \n\t\t\tFor the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the \n\t\t\tprevious response.

", + "smithy.api#documentation": "

(Conditional) For your first request to ListTrafficPolicies, don't\n\t\t\tinclude the TrafficPolicyIdMarker parameter.

\n\t\t

If you have more traffic policies than the value of MaxItems,\n\t\t\t\tListTrafficPolicies returns only the first MaxItems\n\t\t\ttraffic policies. To get the next group of policies, submit another request to\n\t\t\t\tListTrafficPolicies. For the value of\n\t\t\t\tTrafficPolicyIdMarker, specify the value of\n\t\t\t\tTrafficPolicyIdMarker that was returned in the previous\n\t\t\tresponse.

", "smithy.api#httpQuery": "trafficpolicyid" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

(Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than \n\t\t\tMaxItems traffic policies, the value of IsTruncated in the response is true, and the \n\t\t\tvalue of TrafficPolicyIdMarker is the ID of the first traffic policy that Route 53 will return if you submit \n\t\t\tanother request.

", + "smithy.api#documentation": "

(Optional) The maximum number of traffic policies that you want Amazon Route 53 to\n\t\t\treturn in response to this request. If you have more than MaxItems traffic\n\t\t\tpolicies, the value of IsTruncated in the response is true,\n\t\t\tand the value of TrafficPolicyIdMarker is the ID of the first traffic\n\t\t\tpolicy that Route 53 will return if you submit another request.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the information about the request to list the traffic policies that are associated \n\t\t\twith the current Amazon Web Services account.

" + "smithy.api#documentation": "

A complex type that contains the information about the request to list the traffic\n\t\t\tpolicies that are associated with the current Amazon Web Services account.

" } }, "com.amazonaws.route53#ListTrafficPoliciesResponse": { @@ -6160,28 +6911,28 @@ "TrafficPolicySummaries": { "target": "com.amazonaws.route53#TrafficPolicySummaries", "traits": { - "smithy.api#documentation": "

A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current Amazon Web Services account.

", + "smithy.api#documentation": "

A list that contains one TrafficPolicySummary element for each traffic\n\t\t\tpolicy that was created by the current Amazon Web Services account.

", "smithy.api#required": {} } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of \n\t\t\ttraffic policies by submitting another ListTrafficPolicies request and specifying the value of TrafficPolicyIdMarker \n\t\t\tin the TrafficPolicyIdMarker request parameter.

", + "smithy.api#documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of traffic policies by submitting\n\t\t\tanother ListTrafficPolicies request and specifying the value of\n\t\t\t\tTrafficPolicyIdMarker in the TrafficPolicyIdMarker request\n\t\t\tparameter.

", "smithy.api#required": {} } }, "TrafficPolicyIdMarker": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy \n\t\t\tin the next group of MaxItems traffic policies.

", + "smithy.api#documentation": "

If the value of IsTruncated is true,\n\t\t\t\tTrafficPolicyIdMarker is the ID of the first traffic policy in the next\n\t\t\tgroup of MaxItems traffic policies.

", "smithy.api#required": {} } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the ListTrafficPolicies request that produced \n\t\t\tthe current response.

", + "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the\n\t\t\t\tListTrafficPolicies request that produced the current response.

", "smithy.api#required": {} } } @@ -6207,7 +6958,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the traffic policy instances that you created by using the current Amazon Web Services account.

\n\t\t \n\t\t\t

After you submit an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the \n\t\t\t\tresource record sets that are specified in the traffic policy definition. For more information, see the State response element.

\n\t\t
\n\t\t

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the \n\t\t\tMaxItems parameter to list them in groups of up to 100.

", + "smithy.api#documentation": "

Gets information about the traffic policy instances that you created by using the\n\t\t\tcurrent Amazon Web Services account.

\n\t\t \n\t\t\t

After you submit an UpdateTrafficPolicyInstance request, there's a\n\t\t\t\tbrief delay while Amazon Route 53 creates the resource record sets that are\n\t\t\t\tspecified in the traffic policy definition. For more information, see the\n\t\t\t\t\tState response element.

\n\t\t
\n\t\t

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic\n\t\t\tpolicy instances, you can use the MaxItems parameter to list them in groups\n\t\t\tof up to 100.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicyinstances", @@ -6235,7 +6986,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the traffic policy instances that you created in a specified hosted zone.

\n\t\t \n\t\t\t

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a \n\t\t\t\tbrief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, \n\t\t\t\tsee the State response element.

\n\t\t
\n\t\t

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the \n\t\t\tMaxItems parameter to list them in groups of up to 100.

", + "smithy.api#documentation": "

Gets information about the traffic policy instances that you created in a specified\n\t\t\thosted zone.

\n\t\t \n\t\t\t

After you submit a CreateTrafficPolicyInstance or an\n\t\t\t\t\tUpdateTrafficPolicyInstance request, there's a brief delay while\n\t\t\t\tAmazon Route 53 creates the resource record sets that are specified in the traffic\n\t\t\t\tpolicy definition. For more information, see the State response\n\t\t\t\telement.

\n\t\t
\n\t\t

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic\n\t\t\tpolicy instances, you can use the MaxItems parameter to list them in groups\n\t\t\tof up to 100.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicyinstances/hostedzone", @@ -6257,27 +7008,27 @@ "TrafficPolicyInstanceNameMarker": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response is true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, \n\t\t\tspecify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance \n\t\t\tin the next group of traffic policy instances.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response is true, you have\n\t\t\tmore traffic policy instances. To get more traffic policy instances, submit another\n\t\t\t\tListTrafficPolicyInstances request. For the value of\n\t\t\t\ttrafficpolicyinstancename, specify the value of\n\t\t\t\tTrafficPolicyInstanceNameMarker from the previous response, which is\n\t\t\tthe name of the first traffic policy instance in the next group of traffic policy\n\t\t\tinstances.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "trafficpolicyinstancename" } }, "TrafficPolicyInstanceTypeMarker": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response is true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, \n\t\t\tspecify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance \n\t\t\tin the next group of traffic policy instances.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response is true, you have\n\t\t\tmore traffic policy instances. To get more traffic policy instances, submit another\n\t\t\t\tListTrafficPolicyInstances request. For the value of\n\t\t\t\ttrafficpolicyinstancetype, specify the value of\n\t\t\t\tTrafficPolicyInstanceTypeMarker from the previous response, which is\n\t\t\tthe type of the first traffic policy instance in the next group of traffic policy\n\t\t\tinstances.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "trafficpolicyinstancetype" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of traffic policy instances to be included in the response body for this request. If you have more than \n\t\t\tMaxItems traffic policy instances, the value of the IsTruncated element in the response is true, \n\t\t\tand the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker \n\t\t\trepresent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

", + "smithy.api#documentation": "

The maximum number of traffic policy instances to be included in the response body for\n\t\t\tthis request. If you have more than MaxItems traffic policy instances, the\n\t\t\tvalue of the IsTruncated element in the response is true, and\n\t\t\tthe values of HostedZoneIdMarker,\n\t\t\t\tTrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker represent the first traffic policy\n\t\t\tinstance that Amazon Route 53 will return if you submit another request.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A request for the traffic policy instances that you created in a specified hosted zone.

" + "smithy.api#documentation": "

A request for the traffic policy instances that you created in a specified hosted\n\t\t\tzone.

" } }, "com.amazonaws.route53#ListTrafficPolicyInstancesByHostedZoneResponse": { @@ -6286,33 +7037,33 @@ "TrafficPolicyInstances": { "target": "com.amazonaws.route53#TrafficPolicyInstances", "traits": { - "smithy.api#documentation": "

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

", + "smithy.api#documentation": "

A list that contains one TrafficPolicyInstance element for each traffic\n\t\t\tpolicy instance that matches the elements in the request.

", "smithy.api#required": {} } }, "TrafficPolicyInstanceNameMarker": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy \n\t\t\tinstance in the next group of traffic policy instances.

" + "smithy.api#documentation": "

If IsTruncated is true,\n\t\t\t\tTrafficPolicyInstanceNameMarker is the name of the first traffic policy\n\t\t\tinstance in the next group of traffic policy instances.

" } }, "TrafficPolicyInstanceTypeMarker": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are \n\t\t\tassociated with the first traffic policy instance in the next group of traffic policy instances.

" + "smithy.api#documentation": "

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is\n\t\t\tthe DNS type of the resource record sets that are associated with the first traffic\n\t\t\tpolicy instance in the next group of traffic policy instances.

" } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the \n\t\t\tnext group of traffic policy instances by submitting another ListTrafficPolicyInstancesByHostedZone request and specifying \n\t\t\tthe values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker \n\t\t\tin the corresponding request parameters.

", + "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get the next group of traffic policy instances by\n\t\t\tsubmitting another ListTrafficPolicyInstancesByHostedZone request and\n\t\t\tspecifying the values of HostedZoneIdMarker,\n\t\t\t\tTrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker in the corresponding request\n\t\t\tparameters.

", "smithy.api#required": {} } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the ListTrafficPolicyInstancesByHostedZone request \n\t\t\tthat produced the current response.

", + "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the\n\t\t\t\tListTrafficPolicyInstancesByHostedZone request that produced the\n\t\t\tcurrent response.

", "smithy.api#required": {} } } @@ -6341,7 +7092,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about the traffic policy instances that you created by using a specify traffic policy version.

\n\t\t \n\t\t\t

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, \n\t\t\t\tthere's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For \n\t\t\t\tmore information, see the State response element.

\n\t\t
\n\t\t

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the \n\t\t\tMaxItems parameter to list them in groups of up to 100.

", + "smithy.api#documentation": "

Gets information about the traffic policy instances that you created by using a\n\t\t\tspecify traffic policy version.

\n\t\t \n\t\t\t

After you submit a CreateTrafficPolicyInstance or an\n\t\t\t\t\tUpdateTrafficPolicyInstance request, there's a brief delay while\n\t\t\t\tAmazon Route 53 creates the resource record sets that are specified in the traffic\n\t\t\t\tpolicy definition. For more information, see the State response\n\t\t\t\telement.

\n\t\t
\n\t\t

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic\n\t\t\tpolicy instances, you can use the MaxItems parameter to list them in groups\n\t\t\tof up to 100.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicyinstances/trafficpolicy", @@ -6355,7 +7106,7 @@ "TrafficPolicyId": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

The ID of the traffic policy for which you want to list traffic policy instances.

", + "smithy.api#documentation": "

The ID of the traffic policy for which you want to list traffic policy\n\t\t\tinstances.

", "smithy.api#httpQuery": "id", "smithy.api#required": {} } @@ -6363,7 +7114,7 @@ "TrafficPolicyVersion": { "target": "com.amazonaws.route53#TrafficPolicyVersion", "traits": { - "smithy.api#documentation": "

The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the \n\t\t\ttraffic policy that is specified by TrafficPolicyId.

", + "smithy.api#documentation": "

The version of the traffic policy for which you want to list traffic policy instances.\n\t\t\tThe version must be associated with the traffic policy that is specified by\n\t\t\t\tTrafficPolicyId.

", "smithy.api#httpQuery": "version", "smithy.api#required": {} } @@ -6371,34 +7122,34 @@ "HostedZoneIdMarker": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

\n\t\t

For the value of hostedzoneid, specify the value of HostedZoneIdMarker from the previous response, \n\t\t\twhich is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more traffic policy instances. To get more traffic\n\t\t\tpolicy instances, submit another ListTrafficPolicyInstancesByPolicy\n\t\t\trequest.

\n\t\t

For the value of hostedzoneid, specify the value of\n\t\t\t\tHostedZoneIdMarker from the previous response, which is the hosted zone\n\t\t\tID of the first traffic policy instance that Amazon Route 53 will return if you submit\n\t\t\tanother request.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "hostedzoneid" } }, "TrafficPolicyInstanceNameMarker": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

\n\t\t

For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker \n\t\t\tfrom the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more traffic policy instances. To get more traffic\n\t\t\tpolicy instances, submit another ListTrafficPolicyInstancesByPolicy\n\t\t\trequest.

\n\t\t

For the value of trafficpolicyinstancename, specify the value of\n\t\t\t\tTrafficPolicyInstanceNameMarker from the previous response, which is\n\t\t\tthe name of the first traffic policy instance that Amazon Route 53 will return if you\n\t\t\tsubmit another request.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "trafficpolicyinstancename" } }, "TrafficPolicyInstanceTypeMarker": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

\n\t\t

For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker \n\t\t\tfrom the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more traffic policy instances. To get more traffic\n\t\t\tpolicy instances, submit another ListTrafficPolicyInstancesByPolicy\n\t\t\trequest.

\n\t\t

For the value of trafficpolicyinstancetype, specify the value of\n\t\t\t\tTrafficPolicyInstanceTypeMarker from the previous response, which is\n\t\t\tthe name of the first traffic policy instance that Amazon Route 53 will return if you\n\t\t\tsubmit another request.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "trafficpolicyinstancetype" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of traffic policy instances to be included in the response body for this request. If you have more than \n\t\t\tMaxItems traffic policy instances, the value of the IsTruncated element in the response is true, \n\t\t\tand the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker \n\t\t\trepresent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

", + "smithy.api#documentation": "

The maximum number of traffic policy instances to be included in the response body for\n\t\t\tthis request. If you have more than MaxItems traffic policy instances, the\n\t\t\tvalue of the IsTruncated element in the response is true, and\n\t\t\tthe values of HostedZoneIdMarker,\n\t\t\t\tTrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker represent the first traffic policy\n\t\t\tinstance that Amazon Route 53 will return if you submit another request.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the information about the request to list your traffic policy instances.

" + "smithy.api#documentation": "

A complex type that contains the information about the request to list your traffic\n\t\t\tpolicy instances.

" } }, "com.amazonaws.route53#ListTrafficPolicyInstancesByPolicyResponse": { @@ -6407,39 +7158,39 @@ "TrafficPolicyInstances": { "target": "com.amazonaws.route53#TrafficPolicyInstances", "traits": { - "smithy.api#documentation": "

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

", + "smithy.api#documentation": "

A list that contains one TrafficPolicyInstance element for each traffic\n\t\t\tpolicy instance that matches the elements in the request.

", "smithy.api#required": {} } }, "HostedZoneIdMarker": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first \n\t\t\ttraffic policy instance in the next group of traffic policy instances.

" + "smithy.api#documentation": "

If IsTruncated is true, HostedZoneIdMarker is\n\t\t\tthe ID of the hosted zone of the first traffic policy instance in the next group of\n\t\t\ttraffic policy instances.

" } }, "TrafficPolicyInstanceNameMarker": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance \n\t\t\tin the next group of MaxItems traffic policy instances.

" + "smithy.api#documentation": "

If IsTruncated is true,\n\t\t\t\tTrafficPolicyInstanceNameMarker is the name of the first traffic policy\n\t\t\tinstance in the next group of MaxItems traffic policy instances.

" } }, "TrafficPolicyInstanceTypeMarker": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets \n\t\t\tthat are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

" + "smithy.api#documentation": "

If IsTruncated is true,\n\t\t\t\tTrafficPolicyInstanceTypeMarker is the DNS type of the resource record\n\t\t\tsets that are associated with the first traffic policy instance in the next group of\n\t\t\t\tMaxItems traffic policy instances.

" } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of \n\t\t\ttraffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, \n\t\t\tTrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

", + "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get the next group of traffic policy instances by\n\t\t\tcalling ListTrafficPolicyInstancesByPolicy again and specifying the values\n\t\t\tof the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker,\n\t\t\tand TrafficPolicyInstanceTypeMarker elements in the corresponding request\n\t\t\tparameters.

", "smithy.api#required": {} } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced \n\t\t\tthe current response.

", + "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the call to\n\t\t\t\tListTrafficPolicyInstancesByPolicy that produced the current\n\t\t\tresponse.

", "smithy.api#required": {} } } @@ -6454,34 +7205,34 @@ "HostedZoneIdMarker": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of HostedZoneId, \n\t\t\tspecify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance \n\t\t\tin the next group of traffic policy instances.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more traffic policy instances. To get more traffic\n\t\t\tpolicy instances, submit another ListTrafficPolicyInstances request. For\n\t\t\tthe value of HostedZoneId, specify the value of\n\t\t\t\tHostedZoneIdMarker from the previous response, which is the hosted zone\n\t\t\tID of the first traffic policy instance in the next group of traffic policy\n\t\t\tinstances.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "hostedzoneid" } }, "TrafficPolicyInstanceNameMarker": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, \n\t\t\tspecify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance \n\t\t\tin the next group of traffic policy instances.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more traffic policy instances. To get more traffic\n\t\t\tpolicy instances, submit another ListTrafficPolicyInstances request. For\n\t\t\tthe value of trafficpolicyinstancename, specify the value of\n\t\t\t\tTrafficPolicyInstanceNameMarker from the previous response, which is\n\t\t\tthe name of the first traffic policy instance in the next group of traffic policy\n\t\t\tinstances.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "trafficpolicyinstancename" } }, "TrafficPolicyInstanceTypeMarker": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. \n\t\t\tTo get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, \n\t\t\tspecify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance \n\t\t\tin the next group of traffic policy instances.

\n\t\t

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "smithy.api#documentation": "

If the value of IsTruncated in the previous response was\n\t\t\t\ttrue, you have more traffic policy instances. To get more traffic\n\t\t\tpolicy instances, submit another ListTrafficPolicyInstances request. For\n\t\t\tthe value of trafficpolicyinstancetype, specify the value of\n\t\t\t\tTrafficPolicyInstanceTypeMarker from the previous response, which is\n\t\t\tthe type of the first traffic policy instance in the next group of traffic policy\n\t\t\tinstances.

\n\t\t

If the value of IsTruncated in the previous response was\n\t\t\t\tfalse, there are no more traffic policy instances to get.

", "smithy.api#httpQuery": "trafficpolicyinstancetype" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a ListTrafficPolicyInstances request. \n\t\t\tIf you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is \n\t\t\ttrue, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and \n\t\t\tTrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems \n\t\t\ttraffic policy instances.

", + "smithy.api#documentation": "

The maximum number of traffic policy instances that you want Amazon Route 53 to return\n\t\t\tin response to a ListTrafficPolicyInstances request. If you have more than\n\t\t\t\tMaxItems traffic policy instances, the value of the\n\t\t\t\tIsTruncated element in the response is true, and the\n\t\t\tvalues of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker,\n\t\t\tand TrafficPolicyInstanceTypeMarker represent the first traffic policy\n\t\t\tinstance in the next group of MaxItems traffic policy instances.

", "smithy.api#httpQuery": "maxitems" } } }, "traits": { - "smithy.api#documentation": "

A request to get information about the traffic policy instances that you created by using the current Amazon Web Services account.

" + "smithy.api#documentation": "

A request to get information about the traffic policy instances that you created by\n\t\t\tusing the current Amazon Web Services account.

" } }, "com.amazonaws.route53#ListTrafficPolicyInstancesResponse": { @@ -6490,39 +7241,39 @@ "TrafficPolicyInstances": { "target": "com.amazonaws.route53#TrafficPolicyInstances", "traits": { - "smithy.api#documentation": "

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements \n\t\t\tin the request.

", + "smithy.api#documentation": "

A list that contains one TrafficPolicyInstance element for each traffic\n\t\t\tpolicy instance that matches the elements in the request.

", "smithy.api#required": {} } }, "HostedZoneIdMarker": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first \n\t\t\ttraffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.

" + "smithy.api#documentation": "

If IsTruncated is true, HostedZoneIdMarker is\n\t\t\tthe ID of the hosted zone of the first traffic policy instance that Route 53 will return\n\t\t\tif you submit another ListTrafficPolicyInstances request.

" } }, "TrafficPolicyInstanceNameMarker": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy \n\t\t\tinstance that Route 53 will return if you submit another ListTrafficPolicyInstances request.

" + "smithy.api#documentation": "

If IsTruncated is true,\n\t\t\t\tTrafficPolicyInstanceNameMarker is the name of the first traffic policy\n\t\t\tinstance that Route 53 will return if you submit another\n\t\t\t\tListTrafficPolicyInstances request.

" } }, "TrafficPolicyInstanceTypeMarker": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets \n\t\t\tthat are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request.

" + "smithy.api#documentation": "

If IsTruncated is true,\n\t\t\t\tTrafficPolicyInstanceTypeMarker is the DNS type of the resource record\n\t\t\tsets that are associated with the first traffic policy instance that Amazon Route 53\n\t\t\twill return if you submit another ListTrafficPolicyInstances request.\n\t\t

" } }, "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get more \n\t\t\ttraffic policy instances by calling ListTrafficPolicyInstances again and specifying the values of the \n\t\t\tHostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker \n\t\t\tin the corresponding request parameters.

", + "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get more traffic policy instances by calling\n\t\t\t\tListTrafficPolicyInstances again and specifying the values of the\n\t\t\t\tHostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker in the corresponding request\n\t\t\tparameters.

", "smithy.api#required": {} } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstances \n\t\t\tthat produced the current response.

", + "smithy.api#documentation": "

The value that you specified for the MaxItems parameter in the call to\n\t\t\t\tListTrafficPolicyInstances that produced the current response.

", "smithy.api#required": {} } } @@ -6548,7 +7299,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about all of the versions for a specified traffic policy.

\n\t\t

Traffic policy versions are listed in numerical order by VersionNumber.

", + "smithy.api#documentation": "

Gets information about all of the versions for a specified traffic policy.

\n\t\t

Traffic policy versions are listed in numerical order by\n\t\t\tVersionNumber.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/trafficpolicies/{Id}/versions", @@ -6562,7 +7313,7 @@ "Id": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

Specify the value of Id of the traffic policy for which you want to list all versions.

", + "smithy.api#documentation": "

Specify the value of Id of the traffic policy for which you want to list\n\t\t\tall versions.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6570,14 +7321,14 @@ "TrafficPolicyVersionMarker": { "target": "com.amazonaws.route53#TrafficPolicyVersionMarker", "traits": { - "smithy.api#documentation": "

For your first request to ListTrafficPolicyVersions, don't include the TrafficPolicyVersionMarker parameter.

\n\t\t

If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only \n\t\t\tthe first group of MaxItems versions. To get more traffic policy versions, submit another ListTrafficPolicyVersions \n\t\t\trequest. For the value of TrafficPolicyVersionMarker, specify the value of TrafficPolicyVersionMarker in the previous \n\t\t\tresponse.

", + "smithy.api#documentation": "

For your first request to ListTrafficPolicyVersions, don't include the\n\t\t\t\tTrafficPolicyVersionMarker parameter.

\n\t\t

If you have more traffic policy versions than the value of MaxItems,\n\t\t\t\tListTrafficPolicyVersions returns only the first group of\n\t\t\t\tMaxItems versions. To get more traffic policy versions, submit another\n\t\t\t\tListTrafficPolicyVersions request. For the value of\n\t\t\t\tTrafficPolicyVersionMarker, specify the value of\n\t\t\t\tTrafficPolicyVersionMarker in the previous response.

", "smithy.api#httpQuery": "trafficpolicyversion" } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified \n\t\t\ttraffic policy has more than MaxItems versions, the value of IsTruncated in the response is true, \n\t\t\tand the value of the TrafficPolicyVersionMarker element is the ID of the first version that Route 53 will return if you submit \n\t\t\tanother request.

", + "smithy.api#documentation": "

The maximum number of traffic policy versions that you want Amazon Route 53 to include\n\t\t\tin the response body for this request. If the specified traffic policy has more than\n\t\t\t\tMaxItems versions, the value of IsTruncated in the\n\t\t\tresponse is true, and the value of the\n\t\t\t\tTrafficPolicyVersionMarker element is the ID of the first version that\n\t\t\tRoute 53 will return if you submit another request.

", "smithy.api#httpQuery": "maxitems" } } @@ -6599,21 +7350,21 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { - "smithy.api#documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of \n\t\t\ttraffic policies by submitting another ListTrafficPolicyVersions request and specifying the value of NextMarker \n\t\t\tin the marker parameter.

", + "smithy.api#documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of traffic policies by submitting\n\t\t\tanother ListTrafficPolicyVersions request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.

", "smithy.api#required": {} } }, "TrafficPolicyVersionMarker": { "target": "com.amazonaws.route53#TrafficPolicyVersionMarker", "traits": { - "smithy.api#documentation": "

If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy \n\t\t\tthat Amazon Route 53 will return if you submit another request. Call ListTrafficPolicyVersions again and specify the value of \n\t\t\tTrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

\n\t\t

This element is present only if IsTruncated is true.

", + "smithy.api#documentation": "

If IsTruncated is true, the value of\n\t\t\t\tTrafficPolicyVersionMarker identifies the first traffic policy that\n\t\t\tAmazon Route 53 will return if you submit another request. Call\n\t\t\t\tListTrafficPolicyVersions again and specify the value of\n\t\t\t\tTrafficPolicyVersionMarker in the\n\t\t\t\tTrafficPolicyVersionMarker request parameter.

\n\t\t

This element is present only if IsTruncated is true.

", "smithy.api#required": {} } }, "MaxItems": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the ListTrafficPolicyVersions request that produced \n\t\t\tthe current response.

", + "smithy.api#documentation": "

The value that you specified for the maxitems parameter in the\n\t\t\t\tListTrafficPolicyVersions request that produced the current\n\t\t\tresponse.

", "smithy.api#required": {} } } @@ -6642,7 +7393,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets a list of the VPCs that were created by other accounts and that can be associated with a \n\t\t\tspecified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization requests.

\n\t\t

The response includes a VPCs element with a VPC child element for each VPC \n\t\t\tthat can be associated with the hosted zone.

", + "smithy.api#documentation": "

Gets a list of the VPCs that were created by other accounts and that can be associated\n\t\t\twith a specified hosted zone because you've submitted one or more\n\t\t\t\tCreateVPCAssociationAuthorization requests.

\n\t\t

The response includes a VPCs element with a VPC child\n\t\t\telement for each VPC that can be associated with the hosted zone.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation", @@ -6656,7 +7407,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.

", + "smithy.api#documentation": "

The ID of the hosted zone for which you want a list of VPCs that can be associated\n\t\t\twith the hosted zone.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6664,20 +7415,20 @@ "NextToken": { "target": "com.amazonaws.route53#PaginationToken", "traits": { - "smithy.api#documentation": "

\n Optional: If a response includes a NextToken element, there are more VPCs \n\t\t\tthat can be associated with the specified hosted zone. To get the next page of results, submit another request, \n\t\t\tand include the value of NextToken from the response in the nexttoken parameter \n\t\t\tin another ListVPCAssociationAuthorizations request.

", + "smithy.api#documentation": "

\n Optional: If a response includes a NextToken\n\t\t\telement, there are more VPCs that can be associated with the specified hosted zone. To\n\t\t\tget the next page of results, submit another request, and include the value of\n\t\t\t\tNextToken from the response in the nexttoken parameter in\n\t\t\tanother ListVPCAssociationAuthorizations request.

", "smithy.api#httpQuery": "nexttoken" } }, "MaxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

\n Optional: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. \n\t\t\tIf you don't specify a value for MaxResults, Route 53 returns up to 50 VPCs per page.

", + "smithy.api#documentation": "

\n Optional: An integer that specifies the maximum number of VPCs\n\t\t\tthat you want Amazon Route 53 to return. If you don't specify a value for\n\t\t\t\tMaxResults, Route 53 returns up to 50 VPCs per page.

", "smithy.api#httpQuery": "maxresults" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about that can be associated with your hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about that can be associated with your hosted\n\t\t\tzone.

" } }, "com.amazonaws.route53#ListVPCAssociationAuthorizationsResponse": { @@ -6693,13 +7444,13 @@ "NextToken": { "target": "com.amazonaws.route53#PaginationToken", "traits": { - "smithy.api#documentation": "

When the response includes a NextToken element, there are more VPCs that can be associated \n\t\t\twith the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations request, \n\t\t\tand include the value of the NextToken element from the response in the nexttoken request parameter.

" + "smithy.api#documentation": "

When the response includes a NextToken element, there are more VPCs that\n\t\t\tcan be associated with the specified hosted zone. To get the next page of VPCs, submit\n\t\t\tanother ListVPCAssociationAuthorizations request, and include the value of\n\t\t\tthe NextToken element from the response in the nexttoken\n\t\t\trequest parameter.

" } }, "VPCs": { "target": "com.amazonaws.route53#VPCs", "traits": { - "smithy.api#documentation": "

The list of VPCs that are authorized to be associated with the specified hosted zone.

", + "smithy.api#documentation": "

The list of VPCs that are authorized to be associated with the specified hosted\n\t\t\tzone.

", "smithy.api#required": {} } } @@ -6708,6 +7459,26 @@ "smithy.api#documentation": "

A complex type that contains the response information for the request.

" } }, + "com.amazonaws.route53#LocationSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.route53#LocationSummary" + } + }, + "com.amazonaws.route53#LocationSummary": { + "type": "structure", + "members": { + "LocationName": { + "target": "com.amazonaws.route53#CidrLocationNameDefaultAllowed", + "traits": { + "smithy.api#documentation": "

A string that specifies a location name.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A complex type that contains information about the CIDR location.

" + } + }, "com.amazonaws.route53#MeasureLatency": { "type": "boolean", "traits": { @@ -6763,6 +7534,32 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.route53#NoSuchCidrCollectionException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.route53#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The CIDR collection you specified, doesn't exist.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.route53#NoSuchCidrLocationException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.route53#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The CIDR collection location doesn't match any locations in your account.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, "com.amazonaws.route53#NoSuchCloudWatchLogsLogGroup": { "type": "structure", "members": { @@ -6802,7 +7599,7 @@ } }, "traits": { - "smithy.api#documentation": "

Amazon Route 53 doesn't support the specified geographic location. For a list of supported geolocation codes, see the \n\t\t\tGeoLocation data type.

", + "smithy.api#documentation": "

Amazon Route 53 doesn't support the specified geographic location. For a list of\n\t\t\tsupported geolocation codes, see the GeoLocation data\n\t\t\ttype.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -6917,7 +7714,7 @@ } }, "traits": { - "smithy.api#documentation": "

Associating the specified VPC with the specified hosted zone has not been authorized.

", + "smithy.api#documentation": "

Associating the specified VPC with the specified hosted zone has not been\n\t\t\tauthorized.

", "smithy.api#error": "client", "smithy.api#httpError": 401 } @@ -6970,7 +7767,7 @@ } }, "traits": { - "smithy.api#documentation": "

If Amazon Route 53 can't process a request before the next request arrives, it will reject\n\t\t\tsubsequent requests for the same hosted zone and return an HTTP 400 error\n\t\t\t(Bad request). If Route 53 returns this error repeatedly for the same request, we\n\t\t\trecommend that you wait, in intervals of increasing duration, before you try the request\n\t\t\tagain.

", + "smithy.api#documentation": "

If Amazon Route 53 can't process a request before the next request arrives, it will\n\t\t\treject subsequent requests for the same hosted zone and return an HTTP 400\n\t\t\t\terror (Bad request). If Route 53 returns this error repeatedly\n\t\t\tfor the same request, we recommend that you wait, in intervals of increasing duration,\n\t\t\tbefore you try the request again.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -6986,7 +7783,7 @@ } }, "traits": { - "smithy.api#documentation": "

You're trying to associate a VPC with a public hosted zone. Amazon Route 53 doesn't support associating a \n\t\t\tVPC with a public hosted zone.

", + "smithy.api#documentation": "

You're trying to associate a VPC with a public hosted zone. Amazon Route 53 doesn't\n\t\t\tsupport associating a VPC with a public hosted zone.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -7011,13 +7808,13 @@ "CloudWatchLogsLogGroupArn": { "target": "com.amazonaws.route53#CloudWatchLogsLogGroupArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53\n\t\t\tis publishing logs to.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about a configuration for DNS query logging.

" + "smithy.api#documentation": "

A complex type that contains information about a configuration for DNS query\n\t\t\tlogging.

" } }, "com.amazonaws.route53#QueryLoggingConfigAlreadyExists": { @@ -7028,7 +7825,7 @@ } }, "traits": { - "smithy.api#documentation": "

You can create only one query logging configuration for a hosted zone, and a query logging configuration already exists \n\t\t\tfor this hosted zone.

", + "smithy.api#documentation": "

You can create only one query logging configuration for a hosted zone, and a query\n\t\t\tlogging configuration already exists for this hosted zone.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -7131,7 +7928,7 @@ "com.amazonaws.route53#RecordDataEntry": { "type": "string", "traits": { - "smithy.api#documentation": "

A value that Amazon Route 53 returned for this resource record set. A RecordDataEntry element is one of the following:

\n\t\t ", + "smithy.api#documentation": "

A value that Amazon Route 53 returned for this resource record set. A\n\t\t\t\tRecordDataEntry element is one of the following:

\n\t\t ", "smithy.api#length": { "min": 0, "max": 512 @@ -7223,13 +8020,13 @@ "Value": { "target": "com.amazonaws.route53#RData", "traits": { - "smithy.api#documentation": "

The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE action, \n\t\t\tif the current value does not match the actual value, an error is returned. For descriptions about how to format \n\t\t\tValue for different record types, see \n\t\t\tSupported DNS Resource Record Types \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

You can specify more than one value for all record types except CNAME and SOA.

\n\t\t \n\t\t\t

If you're creating an alias resource record set, omit Value.

\n\t\t
", + "smithy.api#documentation": "

The current or new DNS record value, not to exceed 4,000 characters. In the case of a\n\t\t\t\tDELETE action, if the current value does not match the actual value, an\n\t\t\terror is returned. For descriptions about how to format Value for different\n\t\t\trecord types, see Supported DNS Resource\n\t\t\t\tRecord Types in the Amazon Route 53 Developer\n\t\t\tGuide.

\n\t\t

You can specify more than one value for all record types except CNAME and\n\t\t\t\tSOA.

\n\t\t \n\t\t\t

If you're creating an alias resource record set, omit Value.

\n\t\t
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Information specific to the resource record.

\n\t\t \n

If you're creating an alias resource record set, omit ResourceRecord.

\n
" + "smithy.api#documentation": "

Information specific to the resource record.

\n\t\t \n\t\t\t

If you're creating an alias resource record set, omit\n\t\t\t\tResourceRecord.

\n\t\t
" } }, "com.amazonaws.route53#ResourceRecordSet": { @@ -7238,82 +8035,85 @@ "Name": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

For ChangeResourceRecordSets requests, the name of the record that you want to create, update, or delete. \n\t\t\tFor ListResourceRecordSets responses, the name of a record in the specified hosted zone.

\n\t\t\n\t\t

\n ChangeResourceRecordSets Only\n

\n\t\t

Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. \n\t\t\tIf you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats\n\t\t\twww.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

\n\t\t

For information about how to specify characters other than a-z, 0-9, and - (hyphen) \n\t\t\tand how to specify internationalized domain names, see DNS Domain Name Format in\n\t\t\tthe Amazon Route 53 Developer Guide.

\n\t\t

You can use the asterisk (*) wildcard to replace the leftmost label in a domain name, for example, *.example.com. \n\t\t\tNote the following:

\n\t\t \n\t\t

You can use the * wildcard as the leftmost label in a domain name, for example, *.example.com. You can't use an * \n\t\t\tfor one of the middle labels, for example, marketing.*.example.com. In addition, the * must replace the entire label; for \n\t\t\texample, you can't specify prod*.example.com.

", + "smithy.api#documentation": "

For ChangeResourceRecordSets requests, the name of the record that you\n\t\t\twant to create, update, or delete. For ListResourceRecordSets responses,\n\t\t\tthe name of a record in the specified hosted zone.

\n\t\t

\n ChangeResourceRecordSets Only\n

\n\t\t

Enter a fully qualified domain name, for example, www.example.com. You\n\t\t\tcan optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53\n\t\t\tassumes that the domain name that you specify is fully qualified. This means that Route\n\t\t\t53 treats www.example.com (without a trailing dot) and\n\t\t\t\twww.example.com. (with a trailing dot) as identical.

\n\t\t

For information about how to specify characters other than a-z,\n\t\t\t\t0-9, and - (hyphen) and how to specify internationalized\n\t\t\tdomain names, see DNS Domain Name\n\t\t\t\tFormat in the Amazon Route 53 Developer Guide.

\n\t\t

You can use the asterisk (*) wildcard to replace the leftmost label in a domain name,\n\t\t\tfor example, *.example.com. Note the following:

\n\t\t \n\t\t

You can use the * wildcard as the leftmost label in a domain name, for example,\n\t\t\t\t*.example.com. You can't use an * for one of the middle labels, for\n\t\t\texample, marketing.*.example.com. In addition, the * must replace the\n\t\t\tentire label; for example, you can't specify prod*.example.com.

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

The DNS record type. For information about different record types and how data is encoded for them, see \n\t\t\tSupported DNS Resource Record Types \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

Valid values for basic resource record sets: A | AAAA | CAA | CNAME | DS |MX | \n\t\t\tNAPTR | NS | PTR | SOA | SPF | SRV | TXT\n

\n\t\t

Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | CAA | \n\t\t\tCNAME | MX | NAPTR | PTR | SPF | SRV | TXT. \n\t\t\tWhen creating a group of weighted, latency, geolocation, or failover resource record sets, specify the same value for all of the \n\t\t\tresource record sets in the group.

\n\t\t

Valid values for multivalue answer resource record sets: A | AAAA | MX | NAPTR | \n\t\t\tPTR | SPF | SRV | TXT\n

\n\t\t \n\t\t\t

SPF records were formerly used to verify the identity of the sender of email messages. However, we no longer recommend that you create \n\t\t\t\tresource record sets for which the value of Type is SPF. RFC 7208, Sender Policy Framework (SPF) for \n\t\t\t\tAuthorizing Use of Domains in Email, Version 1, has been updated to say, \"...[I]ts existence and mechanism defined in [RFC4408] \n\t\t\t\thave led to some interoperability issues. Accordingly, its use is no longer appropriate for SPF version 1; implementations are not to \n\t\t\t\tuse it.\" In RFC 7208, see section 14.1, The SPF DNS Record Type.

\n\t\t
\n\t\t

Values for alias resource record sets:

\n\t\t ", + "smithy.api#documentation": "

The DNS record type. For information about different record types and how data is\n\t\t\tencoded for them, see Supported DNS Resource\n\t\t\t\tRecord Types in the Amazon Route 53 Developer\n\t\t\tGuide.

\n\t\t

Valid values for basic resource record sets: A | AAAA |\n\t\t\t\tCAA | CNAME | DS |MX |\n\t\t\t\tNAPTR | NS | PTR | SOA |\n\t\t\t\tSPF | SRV | TXT\n

\n\t\t

Values for weighted, latency, geolocation, and failover resource record sets:\n\t\t\t\tA | AAAA | CAA | CNAME |\n\t\t\t\tMX | NAPTR | PTR | SPF |\n\t\t\t\tSRV | TXT. When creating a group of weighted, latency,\n\t\t\tgeolocation, or failover resource record sets, specify the same value for all of the\n\t\t\tresource record sets in the group.

\n\t\t

Valid values for multivalue answer resource record sets: A |\n\t\t\t\tAAAA | MX | NAPTR | PTR |\n\t\t\t\tSPF | SRV | TXT\n

\n\t\t \n\t\t\t

SPF records were formerly used to verify the identity of the sender of email\n\t\t\t\tmessages. However, we no longer recommend that you create resource record sets for\n\t\t\t\twhich the value of Type is SPF. RFC 7208, Sender\n\t\t\t\t\tPolicy Framework (SPF) for Authorizing Use of Domains in Email, Version\n\t\t\t\t\t1, has been updated to say, \"...[I]ts existence and mechanism defined\n\t\t\t\tin [RFC4408] have led to some interoperability issues. Accordingly, its use is no\n\t\t\t\tlonger appropriate for SPF version 1; implementations are not to use it.\" In RFC\n\t\t\t\t7208, see section 14.1, The SPF DNS Record Type.

\n\t\t
\n\t\t

Values for alias resource record sets:

\n\t\t ", "smithy.api#required": {} } }, "SetIdentifier": { "target": "com.amazonaws.route53#ResourceRecordSetIdentifier", "traits": { - "smithy.api#documentation": "

\n Resource record sets that have a routing policy other than simple: An identifier that differentiates among \n\t\t\tmultiple resource record sets that have the same combination of name and type, such as multiple weighted resource record sets named \n\t\t\tacme.example.com that have a type of A. In a group of resource record sets that have the same name and type, the value of SetIdentifier \n\t\t\tmust be unique for each resource record set.

\n\t\t

For information about routing policies, see \n\t\t\tChoosing a Routing Policy \n\t\t\tin the Amazon Route 53 Developer Guide.

" + "smithy.api#documentation": "

\n Resource record sets that have a routing policy other than\n\t\t\t\tsimple: An identifier that differentiates among multiple resource record\n\t\t\tsets that have the same combination of name and type, such as multiple weighted resource\n\t\t\trecord sets named acme.example.com that have a type of A. In a group of resource record\n\t\t\tsets that have the same name and type, the value of SetIdentifier must be\n\t\t\tunique for each resource record set.

\n\t\t

For information about routing policies, see Choosing a Routing\n\t\t\t\tPolicy in the Amazon Route 53 Developer Guide.

" } }, "Weight": { "target": "com.amazonaws.route53#ResourceRecordSetWeight", "traits": { - "smithy.api#documentation": "

\n Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, \n\t\t\ta value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Route 53 calculates the \n\t\t\tsum of the weights for the resource record sets that have the same combination of DNS name and type. Route 53 then responds to queries \n\t\t\tbased on the ratio of a resource's weight to the total. Note the following:

\n\t\t " + "smithy.api#documentation": "

\n Weighted resource record sets only: Among resource record sets\n\t\t\tthat have the same combination of DNS name and type, a value that determines the\n\t\t\tproportion of DNS queries that Amazon Route 53 responds to using the current resource\n\t\t\trecord set. Route 53 calculates the sum of the weights for the resource record sets that\n\t\t\thave the same combination of DNS name and type. Route 53 then responds to queries based\n\t\t\ton the ratio of a resource's weight to the total. Note the following:

\n\t\t " } }, "Region": { "target": "com.amazonaws.route53#ResourceRecordSetRegion", "traits": { - "smithy.api#documentation": "

\n Latency-based resource record sets only: The Amazon EC2 Region where you created the resource that this \n\t\t\tresource record set refers to. The resource typically is an Amazon Web Services resource, such as an EC2 instance or an ELB load balancer, and is \n\t\t\treferred to by an IP address or a DNS domain name, depending on the record type.

\n\t\t \n\t\t\t

Although creating latency and latency alias resource record sets in a private hosted zone is allowed, \n\t\t\t\tit's not supported.

\n\t\t
\n\t\t

When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Route 53 \n\t\t\tselects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Route 53 then \n\t\t\treturns the value that is associated with the selected resource record set.

\n\t\t

Note the following:

\n\t\t " + "smithy.api#documentation": "

\n Latency-based resource record sets only: The Amazon EC2 Region\n\t\t\twhere you created the resource that this resource record set refers to. The resource\n\t\t\ttypically is an Amazon Web Services resource, such as an EC2 instance or an ELB load\n\t\t\tbalancer, and is referred to by an IP address or a DNS domain name, depending on the\n\t\t\trecord type.

\n\t\t \n\t\t\t

Although creating latency and latency alias resource record sets in a private\n\t\t\t\thosted zone is allowed, it's not supported.

\n\t\t
\n\t\t

When Amazon Route 53 receives a DNS query for a domain name and type for which you\n\t\t\thave created latency resource record sets, Route 53 selects the latency resource record\n\t\t\tset that has the lowest latency between the end user and the associated Amazon EC2\n\t\t\tRegion. Route 53 then returns the value that is associated with the selected resource\n\t\t\trecord set.

\n\t\t

Note the following:

\n\t\t " } }, "GeoLocation": { "target": "com.amazonaws.route53#GeoLocation", "traits": { - "smithy.api#documentation": "

\n Geolocation resource record sets only: A complex type that lets you control how Amazon Route 53 responds to DNS queries \n\t\t\tbased on the geographic origin of the query. For example, if you want all queries from Africa to be routed to a web server with an IP address \n\t\t\tof 192.0.2.111, create a resource record set with a Type of A and a ContinentCode of \n\t\t\tAF.

\n\t\t \n\t\t\t

Although creating geolocation and geolocation alias resource record sets in a private hosted zone is allowed, \n\t\t\t\tit's not supported.

\n\t\t
\n\t\t

If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and \n\t\t\tone for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a \n\t\t\tcontinent to one resource and to route queries for a country on that continent to a different resource.

\n\t\t

You can't create two geolocation resource record sets that specify the same geographic location.

\n\t\t

The value * in the CountryCode element matches all geographic locations that aren't specified in other \n\t\t\tgeolocation resource record sets that have the same values for the Name and Type elements.

\n\t\t \n\t\t\t

Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, \n\t\t\t\tso even if you create geolocation resource record sets that cover all seven continents, Route 53 will receive some DNS queries from locations \n\t\t\t\tthat it can't identify. We recommend that you create a resource record set for which the value of CountryCode is *. \n\t\t\t\tTwo groups of queries are routed to the resource that you specify in this record: queries that come from locations for which you haven't \n\t\t\t\tcreated geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a \n\t\t\t\t* resource record set, Route 53 returns a \"no answer\" response for queries from those locations.

\n\t\t
\n\t\t

You can't create non-geolocation resource record sets that have the same values for the Name and Type elements \n\t\t\tas geolocation resource record sets.

" + "smithy.api#documentation": "

\n Geolocation resource record sets only: A complex type that lets\n\t\t\tyou control how Amazon Route 53 responds to DNS queries based on the geographic origin\n\t\t\tof the query. For example, if you want all queries from Africa to be routed to a web\n\t\t\tserver with an IP address of 192.0.2.111, create a resource record set with\n\t\t\ta Type of A and a ContinentCode of\n\t\t\t\tAF.

\n\t\t \n\t\t\t

Although creating geolocation and geolocation alias resource record sets in a\n\t\t\t\tprivate hosted zone is allowed, it's not supported.

\n\t\t
\n\t\t

If you create separate resource record sets for overlapping geographic regions (for\n\t\t\texample, one resource record set for a continent and one for a country on the same\n\t\t\tcontinent), priority goes to the smallest geographic region. This allows you to route\n\t\t\tmost queries for a continent to one resource and to route queries for a country on that\n\t\t\tcontinent to a different resource.

\n\t\t

You can't create two geolocation resource record sets that specify the same geographic\n\t\t\tlocation.

\n\t\t

The value * in the CountryCode element matches all\n\t\t\tgeographic locations that aren't specified in other geolocation resource record sets\n\t\t\tthat have the same values for the Name and Type\n\t\t\telements.

\n\t\t \n\t\t\t

Geolocation works by mapping IP addresses to locations. However, some IP addresses\n\t\t\t\taren't mapped to geographic locations, so even if you create geolocation resource\n\t\t\t\trecord sets that cover all seven continents, Route 53 will receive some DNS queries\n\t\t\t\tfrom locations that it can't identify. We recommend that you create a resource\n\t\t\t\trecord set for which the value of CountryCode is *. Two\n\t\t\t\tgroups of queries are routed to the resource that you specify in this record:\n\t\t\t\tqueries that come from locations for which you haven't created geolocation resource\n\t\t\t\trecord sets and queries from IP addresses that aren't mapped to a location. If you\n\t\t\t\tdon't create a * resource record set, Route 53 returns a \"no answer\"\n\t\t\t\tresponse for queries from those locations.

\n\t\t
\n\t\t

You can't create non-geolocation resource record sets that have the same values for\n\t\t\tthe Name and Type elements as geolocation resource record\n\t\t\tsets.

" } }, "Failover": { "target": "com.amazonaws.route53#ResourceRecordSetFailover", "traits": { - "smithy.api#documentation": "

\n Failover resource record sets only: To configure failover, you add the Failover element to \n\t\t\ttwo resource record sets. For one resource record set, you specify PRIMARY as the value for Failover; for the other\n\t\t\tresource record set, you specify SECONDARY. In addition, you include the HealthCheckId element and specify the \n\t\t\thealth check that you want Amazon Route 53 to perform for each resource record set.

\n\t\t

Except where noted, the following failover behaviors assume that you have included the HealthCheckId element in both \n\t\t\tresource record sets:

\n\t\t \n\t\t

You can't create non-failover resource record sets that have the same values for the Name and Type elements \n\t\t\tas failover resource record sets.

\n\t\t

For failover alias resource record sets, you must also include the EvaluateTargetHealth element and set the value to true.

\n\t\t

For more information about configuring failover for Route 53, see the following topics in the Amazon Route 53 Developer Guide:

\n\t\t " + "smithy.api#documentation": "

\n Failover resource record sets only: To configure failover, you\n\t\t\tadd the Failover element to two resource record sets. For one resource\n\t\t\trecord set, you specify PRIMARY as the value for Failover; for\n\t\t\tthe other resource record set, you specify SECONDARY. In addition, you\n\t\t\tinclude the HealthCheckId element and specify the health check that you\n\t\t\twant Amazon Route 53 to perform for each resource record set.

\n\t\t

Except where noted, the following failover behaviors assume that you have included the\n\t\t\t\tHealthCheckId element in both resource record sets:

\n\t\t \n\t\t

You can't create non-failover resource record sets that have the same values for the\n\t\t\t\tName and Type elements as failover resource record\n\t\t\tsets.

\n\t\t

For failover alias resource record sets, you must also include the\n\t\t\t\tEvaluateTargetHealth element and set the value to true.

\n\t\t

For more information about configuring failover for Route 53, see the following topics\n\t\t\tin the Amazon Route 53 Developer Guide:

\n\t\t " } }, "MultiValueAnswer": { "target": "com.amazonaws.route53#ResourceRecordSetMultiValueAnswer", "traits": { - "smithy.api#documentation": "

\n Multivalue answer resource record sets only: To route traffic approximately randomly to multiple resources, \n\t\t\tsuch as web servers, create one multivalue answer record for each resource and specify true for MultiValueAnswer. \n\t\t\tNote the following:

\n\t\t \n\t\t

You can't create multivalue answer alias records.

" + "smithy.api#documentation": "

\n Multivalue answer resource record sets only: To route traffic\n\t\t\tapproximately randomly to multiple resources, such as web servers, create one multivalue\n\t\t\tanswer record for each resource and specify true for\n\t\t\t\tMultiValueAnswer. Note the following:

\n\t\t \n\t\t

You can't create multivalue answer alias records.

" } }, "TTL": { "target": "com.amazonaws.route53#TTL", "traits": { - "smithy.api#documentation": "

The resource record cache time to live (TTL), in seconds. Note the following:

\n\t\t " + "smithy.api#documentation": "

The resource record cache time to live (TTL), in seconds. Note the following:

\n\t\t " } }, "ResourceRecords": { "target": "com.amazonaws.route53#ResourceRecords", "traits": { - "smithy.api#documentation": "

Information about the resource records to act upon.

\n\t\t \n

If you're creating an alias resource record set, omit ResourceRecords.

\n
" + "smithy.api#documentation": "

Information about the resource records to act upon.

\n\t\t \n\t\t\t

If you're creating an alias resource record set, omit\n\t\t\t\tResourceRecords.

\n\t\t
" } }, "AliasTarget": { "target": "com.amazonaws.route53#AliasTarget", "traits": { - "smithy.api#documentation": "

\n Alias resource record sets only: Information about the Amazon Web Services resource, such as a CloudFront distribution or an \n\t\t\tAmazon S3 bucket, that you want to route traffic to.

\n\t\t

If you're creating resource records sets for a private hosted zone, note the following:

\n\t\t " + "smithy.api#documentation": "

\n Alias resource record sets only: Information about the Amazon Web Services resource, such as a CloudFront distribution or an Amazon S3 bucket, that\n\t\t\tyou want to route traffic to.

\n\t\t

If you're creating resource records sets for a private hosted zone, note the\n\t\t\tfollowing:

\n\t\t " } }, "HealthCheckId": { "target": "com.amazonaws.route53#HealthCheckId", "traits": { - "smithy.api#documentation": "

If you want Amazon Route 53 to return this resource record set in response to a DNS query only when the status of a \n\t\t\thealth check is healthy, include the HealthCheckId element and specify the ID of the applicable health check.

\n\t\t

Route 53 determines whether a resource record set is healthy based on one of the following:

\n\t\t \n\n\t\t \n\t\t\t

Route 53 doesn't check the health of the endpoint that is specified in the resource record set, for example, the endpoint \n\t\t\t\tspecified by the IP address in the Value element. When you add a HealthCheckId element to a \n\t\t\t\tresource record set, Route 53 checks the health of the endpoint that you specified in the health check.

\n\t\t
\n\n\t\t

For more information, see the following topics in the Amazon Route 53 Developer Guide:

\n\t\t \n\t\t\n\t\t

\n When to Specify HealthCheckId\n

\n\t\t

Specifying a value for HealthCheckId is useful only when Route 53 is choosing between two or more resource record sets \n\t\t\tto respond to a DNS query, and you want Route 53 to base the choice in part on the status of a health check. Configuring health checks \n\t\t\tmakes sense only in the following configurations:

\n\t\t \n\t\t\n\t\t

\n Geolocation Routing\n

\n\t\t

For geolocation resource record sets, if an endpoint is unhealthy, Route 53 looks for a resource record set for the larger, associated \n\t\t\tgeographic region. For example, suppose you have resource record sets for a state in the United States, for the entire United States, \n\t\t\tfor North America, and a resource record set that has * for CountryCode is *, which applies to \n\t\t\tall locations. If the endpoint for the state resource record set is unhealthy, Route 53 checks for healthy resource record sets in the \n\t\t\tfollowing order until it finds a resource record set for which the endpoint is healthy:

\n\t\t\t \n\t\t\n\t\t

\n Specifying the Health Check Endpoint by Domain Name\n

\n\t\t

If your health checks specify the endpoint only by domain name, we recommend that you create a separate health check for each endpoint. \n\t\t\tFor example, create a health check for each HTTP server that is serving content for www.example.com. For the \n\t\t\tvalue of FullyQualifiedDomainName, specify the domain name of the server (such as us-east-2-www.example.com), \n\t\t\tnot the name of the resource record sets (www.example.com).

\n\t\t \n\t\t\t

Health check results will be unpredictable if you do the following:

\n\t\t\t \n\t\t
" + "smithy.api#documentation": "

If you want Amazon Route 53 to return this resource record set in response to a DNS\n\t\t\tquery only when the status of a health check is healthy, include the\n\t\t\t\tHealthCheckId element and specify the ID of the applicable health\n\t\t\tcheck.

\n\t\t

Route 53 determines whether a resource record set is healthy based on one of the\n\t\t\tfollowing:

\n\t\t \n\t\t \n\t\t\t

Route 53 doesn't check the health of the endpoint that is specified in the\n\t\t\t\tresource record set, for example, the endpoint specified by the IP address in the\n\t\t\t\t\tValue element. When you add a HealthCheckId element to\n\t\t\t\ta resource record set, Route 53 checks the health of the endpoint that you specified\n\t\t\t\tin the health check.

\n\t\t
\n\t\t

For more information, see the following topics in the Amazon Route 53\n\t\t\t\tDeveloper Guide:

\n\t\t \n\t\t

\n When to Specify HealthCheckId\n

\n\t\t

Specifying a value for HealthCheckId is useful only when Route 53 is\n\t\t\tchoosing between two or more resource record sets to respond to a DNS query, and you\n\t\t\twant Route 53 to base the choice in part on the status of a health check. Configuring\n\t\t\thealth checks makes sense only in the following configurations:

\n\t\t \n\t\t

\n Geolocation Routing\n

\n\t\t

For geolocation resource record sets, if an endpoint is unhealthy, Route 53 looks for\n\t\t\ta resource record set for the larger, associated geographic region. For example, suppose\n\t\t\tyou have resource record sets for a state in the United States, for the entire United\n\t\t\tStates, for North America, and a resource record set that has * for\n\t\t\t\tCountryCode is *, which applies to all locations. If the\n\t\t\tendpoint for the state resource record set is unhealthy, Route 53 checks for healthy\n\t\t\tresource record sets in the following order until it finds a resource record set for\n\t\t\twhich the endpoint is healthy:

\n\t\t \n\t\t

\n Specifying the Health Check Endpoint by Domain\n\t\t\tName\n

\n\t\t

If your health checks specify the endpoint only by domain name, we recommend that you\n\t\t\tcreate a separate health check for each endpoint. For example, create a health check for\n\t\t\teach HTTP server that is serving content for www.example.com.\n\t\t\tFor the value of FullyQualifiedDomainName, specify the domain name of the\n\t\t\tserver (such as us-east-2-www.example.com), not the name of the resource\n\t\t\trecord sets (www.example.com).

\n\t\t \n\t\t\t

Health check results will be unpredictable if you do the following:

\n\t\t\t \n\t\t
" } }, "TrafficPolicyInstanceId": { "target": "com.amazonaws.route53#TrafficPolicyInstanceId", "traits": { - "smithy.api#documentation": "

When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set. TrafficPolicyInstanceId is the ID \n\t\t\tof the traffic policy instance that Route 53 created this resource record set for.

\n\t\t \n

To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. \n\t\t\tRoute 53 will delete the resource record set automatically. If you delete the resource record set by using ChangeResourceRecordSets, \n\t\t\tRoute 53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though it's no longer in use.

\n\t\t
" + "smithy.api#documentation": "

When you create a traffic policy instance, Amazon Route 53 automatically creates a\n\t\t\tresource record set. TrafficPolicyInstanceId is the ID of the traffic\n\t\t\tpolicy instance that Route 53 created this resource record set for.

\n\t\t \n\t\t\t

To delete the resource record set that is associated with a traffic policy\n\t\t\t\tinstance, use DeleteTrafficPolicyInstance. Route 53 will delete the\n\t\t\t\tresource record set automatically. If you delete the resource record set by using\n\t\t\t\t\tChangeResourceRecordSets, Route 53 doesn't automatically delete the\n\t\t\t\ttraffic policy instance, and you'll continue to be charged for it even though it's\n\t\t\t\tno longer in use.

\n\t\t
" } + }, + "CidrRoutingConfig": { + "target": "com.amazonaws.route53#CidrRoutingConfig" } }, "traits": { @@ -7496,7 +8296,7 @@ "ResourceType": { "target": "com.amazonaws.route53#TagResourceType", "traits": { - "smithy.api#documentation": "

The type of the resource.

\n\t\t " + "smithy.api#documentation": "

The type of the resource.

\n\t\t " } }, "ResourceId": { @@ -7540,20 +8340,20 @@ "Type": { "target": "com.amazonaws.route53#ReusableDelegationSetLimitType", "traits": { - "smithy.api#documentation": "

The limit that you requested: MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the maximum number of hosted zones that you can associate \n\t\t\twith the specified reusable delegation set.

", + "smithy.api#documentation": "

The limit that you requested: MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the\n\t\t\tmaximum number of hosted zones that you can associate with the specified reusable\n\t\t\tdelegation set.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { - "smithy.api#documentation": "

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET limit.

", + "smithy.api#documentation": "

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET\n\t\t\tlimit.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the type of limit that you specified in the request and the current value for that limit.

" + "smithy.api#documentation": "

A complex type that contains the type of limit that you specified in the request and\n\t\t\tthe current value for that limit.

" } }, "com.amazonaws.route53#ReusableDelegationSetLimitType": { @@ -7681,18 +8481,18 @@ "Status": { "target": "com.amazonaws.route53#Status", "traits": { - "smithy.api#documentation": "

A description of the status of the health check endpoint as reported by one of the Amazon Route 53 health checkers.

" + "smithy.api#documentation": "

A description of the status of the health check endpoint as reported by one of the\n\t\t\tAmazon Route 53 health checkers.

" } }, "CheckedTime": { "target": "com.amazonaws.route53#TimeStamp", "traits": { - "smithy.api#documentation": "

The date and time that the health checker performed the health check in \n\t\t\tISO 8601 format and Coordinated Universal Time (UTC). \n\t\t\tFor example, the value 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 UTC.

" + "smithy.api#documentation": "

The date and time that the health checker performed the health check in ISO 8601 format and Coordinated\n\t\t\tUniversal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z\n\t\t\trepresents March 27, 2017 at 17:48:16.751 UTC.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the status that one Amazon Route 53 health checker reports and the time of the health check.

" + "smithy.api#documentation": "

A complex type that contains the status that one Amazon Route 53 health checker\n\t\t\treports and the time of the health check.

" } }, "com.amazonaws.route53#SubnetMask": { @@ -7720,18 +8520,18 @@ "Key": { "target": "com.amazonaws.route53#TagKey", "traits": { - "smithy.api#documentation": "

The value of Key depends on the operation that you want to perform:

\n\t\t " + "smithy.api#documentation": "

The value of Key depends on the operation that you want to\n\t\t\tperform:

\n\t\t " } }, "Value": { "target": "com.amazonaws.route53#TagValue", "traits": { - "smithy.api#documentation": "

The value of Value depends on the operation that you want to perform:

\n\t\t " + "smithy.api#documentation": "

The value of Value depends on the operation that you want to\n\t\t\tperform:

\n\t\t " } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.

" + "smithy.api#documentation": "

A complex type that contains information about a tag that you want to add or edit for\n\t\t\tthe specified health check or hosted zone.

" } }, "com.amazonaws.route53#TagKey": { @@ -7838,7 +8638,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify \n\t\t\tthe IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask.

\n\t\t

This call only supports querying public hosted zones.

", + "smithy.api#documentation": "

Gets the value that Amazon Route 53 returns in response to a DNS request for a\n\t\t\tspecified record name and type. You can optionally specify the IP address of a DNS\n\t\t\tresolver, an EDNS0 client subnet IP address, and a subnet mask.

\n\t\t

This call only supports querying public hosted zones.

", "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/testdnsanswer", @@ -7852,7 +8652,7 @@ "HostedZoneId": { "target": "com.amazonaws.route53#ResourceId", "traits": { - "smithy.api#documentation": "

The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.

", + "smithy.api#documentation": "

The ID of the hosted zone that you want Amazon Route 53 to simulate a query\n\t\t\tfor.

", "smithy.api#httpQuery": "hostedzoneid", "smithy.api#required": {} } @@ -7860,7 +8660,7 @@ "RecordName": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

The name of the resource record set that you want Amazon Route 53 to simulate a query for.

", + "smithy.api#documentation": "

The name of the resource record set that you want Amazon Route 53 to simulate a query\n\t\t\tfor.

", "smithy.api#httpQuery": "recordname", "smithy.api#required": {} } @@ -7876,27 +8676,27 @@ "ResolverIP": { "target": "com.amazonaws.route53#IPAddress", "traits": { - "smithy.api#documentation": "

If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver. \n\t\t\tIf you omit this value, TestDnsAnswer uses the IP address of a DNS resolver in the Amazon Web Services US East (N. Virginia) Region \n\t\t\t(us-east-1).

", + "smithy.api#documentation": "

If you want to simulate a request from a specific DNS resolver, specify the IP address\n\t\t\tfor that resolver. If you omit this value, TestDnsAnswer uses the IP\n\t\t\taddress of a DNS resolver in the Amazon Web Services US East (N. Virginia) Region\n\t\t\t\t(us-east-1).

", "smithy.api#httpQuery": "resolverip" } }, "EDNS0ClientSubnetIP": { "target": "com.amazonaws.route53#IPAddress", "traits": { - "smithy.api#documentation": "

If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client \n\t\t\tin the applicable location, for example, 192.0.2.44 or 2001:db8:85a3::8a2e:370:7334.

", + "smithy.api#documentation": "

If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or\n\t\t\tIPv6 address of a client in the applicable location, for example,\n\t\t\t\t192.0.2.44 or 2001:db8:85a3::8a2e:370:7334.

", "smithy.api#httpQuery": "edns0clientsubnetip" } }, "EDNS0ClientSubnetMask": { "target": "com.amazonaws.route53#SubnetMask", "traits": { - "smithy.api#documentation": "

If you specify an IP address for edns0clientsubnetip, you can optionally specify the number of bits of the IP address \n\t\t\tthat you want the checking tool to include in the DNS query. For example, if you specify 192.0.2.44 for \n\t\t\tedns0clientsubnetip and 24 for edns0clientsubnetmask, the checking tool will simulate a request from \n\t\t\t192.0.2.0/24. The default value is 24 bits for IPv4 addresses and 64 bits for IPv6 addresses.

\n\t\t

The range of valid values depends on whether edns0clientsubnetip is an IPv4 or an IPv6 address:

\n\t\t ", + "smithy.api#documentation": "

If you specify an IP address for edns0clientsubnetip, you can optionally\n\t\t\tspecify the number of bits of the IP address that you want the checking tool to include\n\t\t\tin the DNS query. For example, if you specify 192.0.2.44 for\n\t\t\t\tedns0clientsubnetip and 24 for\n\t\t\t\tedns0clientsubnetmask, the checking tool will simulate a request from\n\t\t\t192.0.2.0/24. The default value is 24 bits for IPv4 addresses and 64 bits for IPv6\n\t\t\taddresses.

\n\t\t

The range of valid values depends on whether edns0clientsubnetip is an\n\t\t\tIPv4 or an IPv6 address:

\n\t\t ", "smithy.api#httpQuery": "edns0clientsubnetmask" } } }, "traits": { - "smithy.api#documentation": "

Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify \n\t\t\tthe IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask.

" + "smithy.api#documentation": "

Gets the value that Amazon Route 53 returns in response to a DNS request for a\n\t\t\tspecified record name and type. You can optionally specify the IP address of a DNS\n\t\t\tresolver, an EDNS0 client subnet IP address, and a subnet mask.

" } }, "com.amazonaws.route53#TestDNSAnswerResponse": { @@ -7926,27 +8726,27 @@ "RecordData": { "target": "com.amazonaws.route53#RecordData", "traits": { - "smithy.api#documentation": "

A list that contains values that Amazon Route 53 returned for this resource record set.

", + "smithy.api#documentation": "

A list that contains values that Amazon Route 53 returned for this resource record\n\t\t\tset.

", "smithy.api#required": {} } }, "ResponseCode": { "target": "com.amazonaws.route53#DNSRCode", "traits": { - "smithy.api#documentation": "

A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that \n\t\t\tthe request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. \n\t\t\tFor a list of possible response codes, see \n\t\t\tDNS RCODES on the IANA website.

", + "smithy.api#documentation": "

A code that indicates whether the request is valid or not. The most common response\n\t\t\tcode is NOERROR, meaning that the request is valid. If the response is not\n\t\t\tvalid, Amazon Route 53 returns a response code that describes the error. For a list of\n\t\t\tpossible response codes, see DNS RCODES on the IANA website.

", "smithy.api#required": {} } }, "Protocol": { "target": "com.amazonaws.route53#TransportProtocol", "traits": { - "smithy.api#documentation": "

The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.

", + "smithy.api#documentation": "

The protocol that Amazon Route 53 used to respond to the request, either\n\t\t\t\tUDP or TCP.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to a TestDNSAnswer request.

" + "smithy.api#documentation": "

A complex type that contains the response to a TestDNSAnswer request.\n\t\t

" } }, "com.amazonaws.route53#Threshold": { @@ -7979,7 +8779,7 @@ } }, "traits": { - "smithy.api#documentation": "

This health check can't be created because the current account has reached the limit on the number of active health checks.

\n\t\t

For information about default limits, see Limits \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

For information about how to get the current limit for an account, see \n\t\t\tGetAccountLimit. To request a \n\t\t\thigher limit, create a case with the Amazon Web Services Support Center.

\n\n\t\t

You have reached the maximum number of active health checks for an Amazon Web Services account. To request a higher limit, \n\t\t\tcreate a case with the Amazon Web Services Support Center.

", + "smithy.api#documentation": "

This health check can't be created because the current account has reached the limit\n\t\t\ton the number of active health checks.

\n\t\t

For information about default limits, see Limits in the\n\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t

For information about how to get the current limit for an account, see GetAccountLimit. To request a higher limit, create a case with the Amazon Web Services Support\n\t\t\tCenter.

\n\t\t

You have reached the maximum number of active health checks for an Amazon Web Services account. To request a higher limit, create a case with the Amazon Web Services Support\n\t\t\tCenter.

", "smithy.api#error": "client" } }, @@ -7994,7 +8794,7 @@ } }, "traits": { - "smithy.api#documentation": "

This operation can't be completed either because the current account has reached the limit on the number of hosted zones \n\t\t\tor because you've reached the limit on the number of hosted zones that can be associated with a reusable delegation set.

\n\t\t

For information about default limits, see Limits \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

To get the current limit on hosted zones that can be created by an account, see \n\t\t\tGetAccountLimit.

\n\t\t

To get the current limit on hosted zones that can be associated with a reusable delegation set, see \n\t\t\tGetReusableDelegationSetLimit.

\n\t\t

To request a higher limit, create a case with the Amazon Web Services Support Center.

", + "smithy.api#documentation": "

This operation can't be completed either because the current account has reached the\n\t\t\tlimit on the number of hosted zones or because you've reached the limit on the number of\n\t\t\thosted zones that can be associated with a reusable delegation set.

\n\t\t

For information about default limits, see Limits in the\n\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t

To get the current limit on hosted zones that can be created by an account, see GetAccountLimit.

\n\t\t

To get the current limit on hosted zones that can be associated with a reusable\n\t\t\tdelegation set, see GetReusableDelegationSetLimit.

\n\t\t

To request a higher limit, create a\n\t\t\t\tcase with the Amazon Web Services Support Center.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8007,7 +8807,7 @@ } }, "traits": { - "smithy.api#documentation": "

You've reached the limit for the number of key-signing keys (KSKs). Remove at least one KSK, and then try again.

", + "smithy.api#documentation": "

You've reached the limit for the number of key-signing keys (KSKs). Remove at least\n\t\t\tone KSK, and then try again.

", "smithy.api#error": "client" } }, @@ -8022,7 +8822,7 @@ } }, "traits": { - "smithy.api#documentation": "

This traffic policy can't be created because the current account has reached the limit on the number of traffic policies.

\n\t\t

For information about default limits, see Limits \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

To get the current limit for an account, see \n\t\t\tGetAccountLimit. \n\t\t

\n\t\t

To request a higher limit, create a case with the Amazon Web Services Support Center.

", + "smithy.api#documentation": "

This traffic policy can't be created because the current account has reached the limit\n\t\t\ton the number of traffic policies.

\n\t\t

For information about default limits, see Limits in the\n\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t

To get the current limit for an account, see GetAccountLimit.

\n\t\t

To request a higher limit, create a\n\t\t\t\tcase with the Amazon Web Services Support Center.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8038,7 +8838,7 @@ } }, "traits": { - "smithy.api#documentation": "

This traffic policy instance can't be created because the current account has reached the limit on the number of \n\t\t\ttraffic policy instances.

\n\t\t

For information about default limits, see \n\t\t\tLimits \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

For information about how to get the current limit for an account, see \n\t\t\tGetAccountLimit.

\n\t\t

To request a higher limit, create a case with the Amazon Web Services Support Center.

", + "smithy.api#documentation": "

This traffic policy instance can't be created because the current account has reached\n\t\t\tthe limit on the number of traffic policy instances.

\n\t\t

For information about default limits, see Limits in the\n\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t

For information about how to get the current limit for an account, see GetAccountLimit.

\n\t\t

To request a higher limit, create a\n\t\t\t\tcase with the Amazon Web Services Support Center.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8054,7 +8854,7 @@ } }, "traits": { - "smithy.api#documentation": "

This traffic policy version can't be created because you've reached the limit of 1000 on the number of versions \n\t\t\tthat you can create for the current traffic policy.

\n\t\t

To create more traffic policy versions, you can use \n\t\t\tGetTrafficPolicy \n\t\t\tto get the traffic policy document for a specified traffic policy version, and then use \n\t\t\tCreateTrafficPolicy \n\t\t\tto create a new traffic policy using the traffic policy document.

", + "smithy.api#documentation": "

This traffic policy version can't be created because you've reached the limit of 1000\n\t\t\ton the number of versions that you can create for the current traffic policy.

\n\t\t

To create more traffic policy versions, you can use GetTrafficPolicy\n\t\t\tto get the traffic policy document for a specified traffic policy version, and then use\n\t\t\t\tCreateTrafficPolicy to create a new traffic policy using the traffic policy\n\t\t\tdocument.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8070,7 +8870,7 @@ } }, "traits": { - "smithy.api#documentation": "

You've created the maximum number of authorizations that can be created for the specified hosted zone. \n\t\t\tTo authorize another VPC to be associated with the hosted zone, submit a DeleteVPCAssociationAuthorization request \n\t\t\tto remove an existing authorization. To get a list of existing authorizations, submit a \n\t\t\tListVPCAssociationAuthorizations request.

", + "smithy.api#documentation": "

You've created the maximum number of authorizations that can be created for the\n\t\t\tspecified hosted zone. To authorize another VPC to be associated with the hosted zone,\n\t\t\tsubmit a DeleteVPCAssociationAuthorization request to remove an existing\n\t\t\tauthorization. To get a list of existing authorizations, submit a\n\t\t\t\tListVPCAssociationAuthorizations request.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8097,7 +8897,7 @@ "Version": { "target": "com.amazonaws.route53#TrafficPolicyVersion", "traits": { - "smithy.api#documentation": "

The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, \n\t\t\tthe value of Version is always 1.

", + "smithy.api#documentation": "

The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic\n\t\t\tpolicy, the value of Version is always 1.

", "smithy.api#required": {} } }, @@ -8111,21 +8911,21 @@ "Type": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy \n\t\t\tto create a traffic policy instance.

", + "smithy.api#documentation": "

The DNS type of the resource record sets that Amazon Route 53 creates when you use a\n\t\t\ttraffic policy to create a traffic policy instance.

", "smithy.api#required": {} } }, "Document": { "target": "com.amazonaws.route53#TrafficPolicyDocument", "traits": { - "smithy.api#documentation": "

The definition of a traffic policy in JSON format. You specify the JSON document to use for a new \n\t\t\ttraffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see \n\t\t\tTraffic Policy Document Format.

", + "smithy.api#documentation": "

The definition of a traffic policy in JSON format. You specify the JSON document to\n\t\t\tuse for a new traffic policy in the CreateTrafficPolicy request. For more\n\t\t\tinformation about the JSON format, see Traffic Policy Document Format.

", "smithy.api#required": {} } }, "Comment": { "target": "com.amazonaws.route53#TrafficPolicyComment", "traits": { - "smithy.api#documentation": "

The comment that you specify in the CreateTrafficPolicy request, if any.

" + "smithy.api#documentation": "

The comment that you specify in the CreateTrafficPolicy request, if\n\t\t\tany.

" } } }, @@ -8187,7 +8987,7 @@ } }, "traits": { - "smithy.api#documentation": "

One or more traffic policy instances were created by using the specified traffic policy.

", + "smithy.api#documentation": "

One or more traffic policy instances were created by using the specified traffic\n\t\t\tpolicy.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -8212,49 +9012,49 @@ "Name": { "target": "com.amazonaws.route53#DNSName", "traits": { - "smithy.api#documentation": "

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the \n\t\t\tresource record sets that are associated with this traffic policy instance.

", + "smithy.api#documentation": "

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries\n\t\t\tby using the resource record sets that are associated with this traffic policy instance.\n\t\t

", "smithy.api#required": {} } }, "TTL": { "target": "com.amazonaws.route53#TTL", "traits": { - "smithy.api#documentation": "

The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.

", + "smithy.api#documentation": "

The TTL that Amazon Route 53 assigned to all of the resource record sets that it\n\t\t\tcreated in the specified hosted zone.

", "smithy.api#required": {} } }, "State": { "target": "com.amazonaws.route53#TrafficPolicyInstanceState", "traits": { - "smithy.api#documentation": "

The value of State is one of the following values:

\n\t\t
\n
Applied
\n
\n

Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations.

\n
\n
Creating
\n
\n

Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the \n\t\t\t\t\tCreateTrafficPolicyInstance request completed successfully.

\n
\n
Failed
\n
\n

Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, \n\t\t\t\t\tsee Message for an explanation of what caused the request to fail.

\n
\n
", + "smithy.api#documentation": "

The value of State is one of the following values:

\n\t\t
\n
Applied
\n
\n\t\t\t\t\t

Amazon Route 53 has finished creating resource record sets, and changes\n\t\t\t\t\t\thave propagated to all Route 53 edge locations.

\n\t\t\t\t
\n
Creating
\n
\n\t\t\t\t\t

Route 53 is creating the resource record sets. Use\n\t\t\t\t\t\t\tGetTrafficPolicyInstance to confirm that the\n\t\t\t\t\t\t\tCreateTrafficPolicyInstance request completed\n\t\t\t\t\t\tsuccessfully.

\n\t\t\t\t
\n
Failed
\n
\n\t\t\t\t\t

Route 53 wasn't able to create or update the resource record sets. When\n\t\t\t\t\t\tthe value of State is Failed, see\n\t\t\t\t\t\t\tMessage for an explanation of what caused the request to\n\t\t\t\t\t\tfail.

\n\t\t\t\t
\n
", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.route53#Message", "traits": { - "smithy.api#documentation": "

If State is Failed, an explanation of the reason for the failure. If State is another value, \n\t\t\tMessage is empty.

", + "smithy.api#documentation": "

If State is Failed, an explanation of the reason for the\n\t\t\tfailure. If State is another value, Message is empty.

", "smithy.api#required": {} } }, "TrafficPolicyId": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

", + "smithy.api#documentation": "

The ID of the traffic policy that Amazon Route 53 used to create resource record sets\n\t\t\tin the specified hosted zone.

", "smithy.api#required": {} } }, "TrafficPolicyVersion": { "target": "com.amazonaws.route53#TrafficPolicyVersion", "traits": { - "smithy.api#documentation": "

The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

", + "smithy.api#documentation": "

The version of the traffic policy that Amazon Route 53 used to create resource record\n\t\t\tsets in the specified hosted zone.

", "smithy.api#required": {} } }, "TrafficPolicyType": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.

", + "smithy.api#documentation": "

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it\n\t\t\tcreated for this traffic policy instance.

", "smithy.api#required": {} } } @@ -8344,7 +9144,7 @@ "Type": { "target": "com.amazonaws.route53#RRType", "traits": { - "smithy.api#documentation": "

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy \n\t\t\tto create a traffic policy instance.

", + "smithy.api#documentation": "

The DNS type of the resource record sets that Amazon Route 53 creates when you use a\n\t\t\ttraffic policy to create a traffic policy instance.

", "smithy.api#required": {} } }, @@ -8364,7 +9164,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the latest version of one traffic policy \n\t\t\tthat is associated with the current Amazon Web Services account.

" + "smithy.api#documentation": "

A complex type that contains information about the latest version of one traffic\n\t\t\tpolicy that is associated with the current Amazon Web Services account.

" } }, "com.amazonaws.route53#TrafficPolicyVersion": { @@ -8389,6 +9189,12 @@ "com.amazonaws.route53#TransportProtocol": { "type": "string" }, + "com.amazonaws.route53#UUID": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$" + } + }, "com.amazonaws.route53#UpdateHealthCheck": { "type": "operation", "input": { @@ -8409,7 +9215,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing health check. Note that some values can't be updated.

\n\t\t

For more information about updating health checks, see \n\t\t\tCreating, Updating, and Deleting Health Checks \n\t\t\tin the Amazon Route 53 Developer Guide.

", + "smithy.api#documentation": "

Updates an existing health check. Note that some values can't be updated.

\n\t\t

For more information about updating health checks, see Creating,\n\t\t\t\tUpdating, and Deleting Health Checks in the Amazon Route 53\n\t\t\t\tDeveloper Guide.

", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/healthcheck/{HealthCheckId}", @@ -8423,7 +9229,7 @@ "HealthCheckId": { "target": "com.amazonaws.route53#HealthCheckId", "traits": { - "smithy.api#documentation": "

The ID for the health check for which you want detailed information. When you created the health check, \n\t\t\tCreateHealthCheck returned the ID in the response, in the HealthCheckId element.

", + "smithy.api#documentation": "

The ID for the health check for which you want detailed information. When you created\n\t\t\tthe health check, CreateHealthCheck returned the ID in the response, in the\n\t\t\t\tHealthCheckId element.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8431,102 +9237,102 @@ "HealthCheckVersion": { "target": "com.amazonaws.route53#HealthCheckVersion", "traits": { - "smithy.api#documentation": "

A sequential counter that Amazon Route 53 sets to 1 when you create a health check and increments by 1 each time you \n\t\t\tupdate settings for the health check.

\n\t\t

We recommend that you use GetHealthCheck or ListHealthChecks to get the current value of \n\t\t\tHealthCheckVersion for the health check that you want to update, and that you include that value in your \n\t\t\tUpdateHealthCheck request. This prevents Route 53 from overwriting an intervening update:

\n\t\t " + "smithy.api#documentation": "

A sequential counter that Amazon Route 53 sets to 1 when you create a\n\t\t\thealth check and increments by 1 each time you update settings for the health\n\t\t\tcheck.

\n\t\t

We recommend that you use GetHealthCheck or ListHealthChecks\n\t\t\tto get the current value of HealthCheckVersion for the health check that\n\t\t\tyou want to update, and that you include that value in your\n\t\t\t\tUpdateHealthCheck request. This prevents Route 53 from overwriting an\n\t\t\tintervening update:

\n\t\t " } }, "IPAddress": { "target": "com.amazonaws.route53#IPAddress", "traits": { - "smithy.api#documentation": "

The IPv4 or IPv6 IP address for the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for \n\t\t\tIPAddress, Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName \n\t\t\tat the interval that you specify in RequestInterval. Using an IP address that is returned by DNS, Route 53 then \n\t\t\tchecks the health of the endpoint.

\n\t\t

Use one of the following formats for the value of IPAddress:

\n\t\t \n\t\t

If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and \n\t\t\tspecify the Elastic IP address for IPAddress. This ensures that the IP address of your instance never changes. For more information, \n\t\t\tsee the applicable documentation:

\n\t\t \n\t\t \n

If a health check already has a value for IPAddress, you can change the value. However, you can't update an \n\t\t\texisting health check to add or remove the value of IPAddress.

\n\t\t
\n\t\t

For more information, see \n\t\t\tFullyQualifiedDomainName.\n\t\t

\n\t\t

Constraints: Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or \n\t\t\tmulticast ranges. For more information about IP addresses for which you can't create health checks, see the following \n\t\t\tdocuments:

\n\t\t " + "smithy.api#documentation": "

The IPv4 or IPv6 IP address for the endpoint that you want Amazon Route 53 to perform\n\t\t\thealth checks on. If you don't specify a value for IPAddress, Route 53\n\t\t\tsends a DNS request to resolve the domain name that you specify in\n\t\t\t\tFullyQualifiedDomainName at the interval that you specify in\n\t\t\t\tRequestInterval. Using an IP address that is returned by DNS, Route 53\n\t\t\tthen checks the health of the endpoint.

\n\t\t

Use one of the following formats for the value of IPAddress:

\n\t\t \n\t\t

If the endpoint is an EC2 instance, we recommend that you create an Elastic IP\n\t\t\taddress, associate it with your EC2 instance, and specify the Elastic IP address for\n\t\t\t\tIPAddress. This ensures that the IP address of your instance never\n\t\t\tchanges. For more information, see the applicable documentation:

\n\t\t \n\t\t \n\t\t\t

If a health check already has a value for IPAddress, you can change\n\t\t\t\tthe value. However, you can't update an existing health check to add or remove the\n\t\t\t\tvalue of IPAddress.

\n\t\t
\n\t\t

For more information, see FullyQualifiedDomainName.

\n\t\t

Constraints: Route 53 can't check the health of endpoints for which the IP address is\n\t\t\tin local, private, non-routable, or multicast ranges. For more information about IP\n\t\t\taddresses for which you can't create health checks, see the following documents:

\n\t\t " } }, "Port": { "target": "com.amazonaws.route53#Port", "traits": { - "smithy.api#documentation": "

The port on the endpoint that you want Amazon Route 53 to perform health checks on.

\n\t\t \n\t\t\t

Don't specify a value for Port when you specify a value for Type of CLOUDWATCH_METRIC or \n\t\t\t\tCALCULATED.

\n\t\t
" + "smithy.api#documentation": "

The port on the endpoint that you want Amazon Route 53 to perform health checks\n\t\t\ton.

\n\t\t \n\t\t\t

Don't specify a value for Port when you specify a value for\n\t\t\t\t\tType of CLOUDWATCH_METRIC or\n\t\t\t\tCALCULATED.

\n\t\t
" } }, "ResourcePath": { "target": "com.amazonaws.route53#ResourcePath", "traits": { - "smithy.api#documentation": "

The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint \n\t\t\twill return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html. \n\t\t\tYou can also include query string parameters, for example, /welcome.html?language=jp&login=y.

\n\t\t

Specify this value only if you want to change it.

" + "smithy.api#documentation": "

The path that you want Amazon Route 53 to request when performing health checks. The\n\t\t\tpath can be any value for which your endpoint will return an HTTP status code of 2xx or\n\t\t\t3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.\n\t\t\tYou can also include query string parameters, for example,\n\t\t\t\t/welcome.html?language=jp&login=y.

\n\t\t

Specify this value only if you want to change it.

" } }, "FullyQualifiedDomainName": { "target": "com.amazonaws.route53#FullyQualifiedDomainName", "traits": { - "smithy.api#documentation": "

Amazon Route 53 behavior depends on whether you specify a value for IPAddress.

\n\t\t\n\t\t \n

If a health check already has a value for IPAddress, you can change the value. However, you can't update an \n\t\t\texisting health check to add or remove the value of IPAddress.

\n
\n\t\t\n\t\t

\n If you specify a value for \n IPAddress:

\n\t\t

Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of FullyQualifiedDomainName \n\t\t\tin the Host header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint \n\t\t\ton which you want Route 53 to perform health checks.

\n\t\t

When Route 53 checks the health of an endpoint, here is how it constructs the Host header:

\n\t\t \n\t\t

If you don't specify a value for FullyQualifiedDomainName, Route 53 substitutes the value of IPAddress \n\t\t\tin the Host header in each of the above cases.

\n\t\t\n\t\t

\n If you don't specify a value for \n IPAddress:

\n\t\t

If you don't specify a value for IPAddress, Route 53 sends a DNS request to the domain that you specify in \n\t\t\tFullyQualifiedDomainName at the interval you specify in RequestInterval. Using an IPv4 address that is \n\t\t\treturned by DNS, Route 53 then checks the health of the endpoint.

\n\t\t \n

If you don't specify a value for IPAddress, Route 53 uses only IPv4 to send health checks to the endpoint. \n\t\t\tIf there's no resource record set with a type of A for the name that you specify for FullyQualifiedDomainName, \n\t\t\tthe health check fails with a \"DNS resolution failed\" error.

\n
\n\t\t

If you want to check the health of weighted, latency, or failover resource record sets and you choose to specify the endpoint only by \n\t\t\tFullyQualifiedDomainName, we recommend that you create a separate health check for each endpoint. For example, create a \n\t\t\thealth check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, \n\t\t\tspecify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (www.example.com).

\n\t\t \n\t\t\t

In this configuration, if the value of FullyQualifiedDomainName matches the name of the resource record sets and \n\t\t\t\tyou then associate the health check with those resource record sets, health check results will be unpredictable.

\n\t\t
\n\t\t

In addition, if the value of Type is HTTP, HTTPS, HTTP_STR_MATCH, or \n\t\t\tHTTPS_STR_MATCH, Route 53 passes the value of FullyQualifiedDomainName in the Host header, as it does \n\t\t\twhen you specify a value for IPAddress. If the value of Type is TCP, Route 53 doesn't pass a \n\t\t\tHost header.

" + "smithy.api#documentation": "

Amazon Route 53 behavior depends on whether you specify a value for\n\t\t\t\tIPAddress.

\n\t\t \n\t\t\t

If a health check already has a value for IPAddress, you can change\n\t\t\t\tthe value. However, you can't update an existing health check to add or remove the\n\t\t\t\tvalue of IPAddress.

\n\t\t
\n\t\t

\n If you specify a value for\n\t\t\t IPAddress:

\n\t\t

Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes\n\t\t\tthe value of FullyQualifiedDomainName in the Host header for\n\t\t\tall health checks except TCP health checks. This is typically the fully qualified DNS\n\t\t\tname of the endpoint on which you want Route 53 to perform health checks.

\n\t\t

When Route 53 checks the health of an endpoint, here is how it constructs the\n\t\t\t\tHost header:

\n\t\t \n\t\t

If you don't specify a value for FullyQualifiedDomainName, Route 53\n\t\t\tsubstitutes the value of IPAddress in the Host header in each\n\t\t\tof the above cases.

\n\t\t

\n If you don't specify a value for\n\t\t\t IPAddress:

\n\t\t

If you don't specify a value for IPAddress, Route 53 sends a DNS request\n\t\t\tto the domain that you specify in FullyQualifiedDomainName at the interval\n\t\t\tyou specify in RequestInterval. Using an IPv4 address that is returned by\n\t\t\tDNS, Route 53 then checks the health of the endpoint.

\n\t\t \n\t\t\t

If you don't specify a value for IPAddress, Route 53 uses only IPv4\n\t\t\t\tto send health checks to the endpoint. If there's no resource record set with a type\n\t\t\t\tof A for the name that you specify for FullyQualifiedDomainName, the\n\t\t\t\thealth check fails with a \"DNS resolution failed\" error.

\n\t\t
\n\t\t

If you want to check the health of weighted, latency, or failover resource record sets\n\t\t\tand you choose to specify the endpoint only by FullyQualifiedDomainName, we\n\t\t\trecommend that you create a separate health check for each endpoint. For example, create\n\t\t\ta health check for each HTTP server that is serving content for www.example.com. For the\n\t\t\tvalue of FullyQualifiedDomainName, specify the domain name of the server\n\t\t\t(such as us-east-2-www.example.com), not the name of the resource record\n\t\t\tsets (www.example.com).

\n\t\t \n\t\t\t

In this configuration, if the value of FullyQualifiedDomainName\n\t\t\t\tmatches the name of the resource record sets and you then associate the health check\n\t\t\t\twith those resource record sets, health check results will be unpredictable.

\n\t\t
\n\t\t

In addition, if the value of Type is HTTP,\n\t\t\t\tHTTPS, HTTP_STR_MATCH, or HTTPS_STR_MATCH,\n\t\t\tRoute 53 passes the value of FullyQualifiedDomainName in the\n\t\t\t\tHost header, as it does when you specify a value for\n\t\t\t\tIPAddress. If the value of Type is TCP, Route\n\t\t\t53 doesn't pass a Host header.

" } }, "SearchString": { "target": "com.amazonaws.route53#SearchString", "traits": { - "smithy.api#documentation": "

If the value of Type is HTTP_STR_MATCH or HTTPS_STR_MATCH, the string that you want \n\t\t\tAmazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Route 53 considers \n\t\t\tthe resource healthy. (You can't change the value of Type when you update a health check.)

" + "smithy.api#documentation": "

If the value of Type is HTTP_STR_MATCH or\n\t\t\t\tHTTPS_STR_MATCH, the string that you want Amazon Route 53 to search for\n\t\t\tin the response body from the specified resource. If the string appears in the response\n\t\t\tbody, Route 53 considers the resource healthy. (You can't change the value of\n\t\t\t\tType when you update a health check.)

" } }, "FailureThreshold": { "target": "com.amazonaws.route53#FailureThreshold", "traits": { - "smithy.api#documentation": "

The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint \n\t\t\tfrom unhealthy to healthy or vice versa. For more information, see \n\t\t\tHow Amazon Route 53 Determines Whether an Endpoint Is Healthy \n\t\t\tin the Amazon Route 53 Developer Guide.

\n\t\t

If you don't specify a value for FailureThreshold, the default value is three health checks.

" + "smithy.api#documentation": "

The number of consecutive health checks that an endpoint must pass or fail for Amazon\n\t\t\tRoute 53 to change the current status of the endpoint from unhealthy to healthy or vice\n\t\t\tversa. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the\n\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t

If you don't specify a value for FailureThreshold, the default value is\n\t\t\tthree health checks.

" } }, "Inverted": { "target": "com.amazonaws.route53#Inverted", "traits": { - "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it \n\t\t\totherwise would be considered healthy.

" + "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to invert the status of a health check, for\n\t\t\texample, to consider a health check unhealthy when it otherwise would be considered\n\t\t\thealthy.

" } }, "Disabled": { "target": "com.amazonaws.route53#Disabled", "traits": { - "smithy.api#documentation": "

Stops Route 53 from performing health checks. When you disable a health check, here's what happens:

\n\t\t \n\t\t\t\n\t\t

After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, \n\t\t\tRoute 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of \n\t\t\tInverted.\n\t\t

\n\t\t\n\t\t

Charges for a health check still apply when the health check is disabled. For more information, see \n\t\t\tAmazon Route 53 Pricing.

" + "smithy.api#documentation": "

Stops Route 53 from performing health checks. When you disable a health check, here's\n\t\t\twhat happens:

\n\t\t \n\t\t

After you disable a health check, Route 53 considers the status of the health check to\n\t\t\talways be healthy. If you configured DNS failover, Route 53 continues to route traffic\n\t\t\tto the corresponding resources. If you want to stop routing traffic to a resource,\n\t\t\tchange the value of Inverted.

\n\t\t

Charges for a health check still apply when the health check is disabled. For more\n\t\t\tinformation, see Amazon Route 53\n\t\t\t\tPricing.

" } }, "HealthThreshold": { "target": "com.amazonaws.route53#HealthThreshold", "traits": { - "smithy.api#documentation": "

The number of child health checks that are associated with a CALCULATED health that Amazon Route 53 must consider healthy for the \n\t\t\tCALCULATED health check to be considered healthy. To specify the child health checks that you want to associate with a \n\t\t\tCALCULATED health check, use the ChildHealthChecks and ChildHealthCheck elements.

\n\t\t

Note the following:

\n\t\t " + "smithy.api#documentation": "

The number of child health checks that are associated with a CALCULATED\n\t\t\thealth that Amazon Route 53 must consider healthy for the CALCULATED health\n\t\t\tcheck to be considered healthy. To specify the child health checks that you want to\n\t\t\tassociate with a CALCULATED health check, use the\n\t\t\t\tChildHealthChecks and ChildHealthCheck elements.

\n\t\t

Note the following:

\n\t\t " } }, "ChildHealthChecks": { "target": "com.amazonaws.route53#ChildHealthCheckList", "traits": { - "smithy.api#documentation": "

A complex type that contains one ChildHealthCheck element for each health check that you want to associate with a \n\t\t\tCALCULATED health check.

" + "smithy.api#documentation": "

A complex type that contains one ChildHealthCheck element for each health\n\t\t\tcheck that you want to associate with a CALCULATED health check.

" } }, "EnableSNI": { "target": "com.amazonaws.route53#EnableSNI", "traits": { - "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName to the endpoint in the client_hello\n\t\t\tmessage during TLS negotiation. This allows the endpoint to respond to HTTPS health check requests with the applicable \n\t\t\tSSL/TLS certificate.

\n\t\t

Some endpoints require that HTTPS requests include the host name in the client_hello message. If you don't enable SNI, \n\t\t\tthe status of the health check will be SSL alert handshake_failure. A health check can also have that status for other reasons. \n\t\t\tIf SNI is enabled and you're still getting the error, check the SSL/TLS configuration on your endpoint and confirm that your certificate is valid.

\n\t\t

The SSL/TLS certificate on your endpoint includes a domain name in the Common Name field and possibly several more \n\t\t\tin the Subject Alternative Names field. One of the domain names in the certificate should match the value that you specify for \n\t\t\tFullyQualifiedDomainName. If the endpoint responds to the client_hello message with a certificate that does not \n\t\t\tinclude the domain name that you specified in FullyQualifiedDomainName, a health checker will retry the handshake. In the \n\t\t\tsecond attempt, the health checker will omit FullyQualifiedDomainName from the client_hello message.

" + "smithy.api#documentation": "

Specify whether you want Amazon Route 53 to send the value of\n\t\t\t\tFullyQualifiedDomainName to the endpoint in the\n\t\t\t\tclient_hello message during TLS negotiation. This allows\n\t\t\tthe endpoint to respond to HTTPS health check requests with the applicable\n\t\t\tSSL/TLS certificate.

\n\t\t

Some endpoints require that HTTPS requests include the host name in the\n\t\t\t\tclient_hello message. If you don't enable SNI, the status of the health\n\t\t\tcheck will be SSL alert handshake_failure. A health check can also have\n\t\t\tthat status for other reasons. If SNI is enabled and you're still getting the error,\n\t\t\tcheck the SSL/TLS configuration on your endpoint and confirm that your certificate is\n\t\t\tvalid.

\n\t\t

The SSL/TLS certificate on your endpoint includes a domain name in the Common\n\t\t\t\tName field and possibly several more in the Subject Alternative\n\t\t\t\tNames field. One of the domain names in the certificate should match the\n\t\t\tvalue that you specify for FullyQualifiedDomainName. If the endpoint\n\t\t\tresponds to the client_hello message with a certificate that does not\n\t\t\tinclude the domain name that you specified in FullyQualifiedDomainName, a\n\t\t\thealth checker will retry the handshake. In the second attempt, the health checker will\n\t\t\tomit FullyQualifiedDomainName from the client_hello\n\t\t\tmessage.

" } }, "Regions": { "target": "com.amazonaws.route53#HealthCheckRegionList", "traits": { - "smithy.api#documentation": "

A complex type that contains one Region element for each region that you want Amazon Route 53 health checkers to check \n\t\t\tthe specified endpoint from.

" + "smithy.api#documentation": "

A complex type that contains one Region element for each region that you\n\t\t\twant Amazon Route 53 health checkers to check the specified endpoint from.

" } }, "AlarmIdentifier": { "target": "com.amazonaws.route53#AlarmIdentifier", "traits": { - "smithy.api#documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether \n\t\t\tthe specified health check is healthy.

" + "smithy.api#documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53\n\t\t\thealth checkers to use to determine whether the specified health check is\n\t\t\thealthy.

" } }, "InsufficientDataHealthStatus": { "target": "com.amazonaws.route53#InsufficientDataHealthStatus", "traits": { - "smithy.api#documentation": "

When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign \n\t\t\tto the health check:

\n\t\t " + "smithy.api#documentation": "

When CloudWatch has insufficient data about the metric to determine the alarm state,\n\t\t\tthe status that you want Amazon Route 53 to assign to the health check:

\n\t\t " } }, "ResetElements": { "target": "com.amazonaws.route53#ResettableElementNameList", "traits": { - "smithy.api#documentation": "

A complex type that contains one ResettableElementName element for each element that you want to reset to the default value. \n\t\t\tValid values for ResettableElementName include the following:

\n\t\t " + "smithy.api#documentation": "

A complex type that contains one ResettableElementName element for each\n\t\t\telement that you want to reset to the default value. Valid values for\n\t\t\t\tResettableElementName include the following:

\n\t\t " } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about a request to update a health check.

" + "smithy.api#documentation": "

A complex type that contains information about a request to update a health\n\t\t\tcheck.

" } }, "com.amazonaws.route53#UpdateHealthCheckResponse": { @@ -8535,13 +9341,13 @@ "HealthCheck": { "target": "com.amazonaws.route53#HealthCheck", "traits": { - "smithy.api#documentation": "

A complex type that contains the response to an UpdateHealthCheck request.

", + "smithy.api#documentation": "

A complex type that contains the response to an UpdateHealthCheck\n\t\t\trequest.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to the UpdateHealthCheck request.

" + "smithy.api#documentation": "

A complex type that contains the response to the UpdateHealthCheck\n\t\t\trequest.

" } }, "com.amazonaws.route53#UpdateHostedZoneComment": { @@ -8586,7 +9392,7 @@ "Comment": { "target": "com.amazonaws.route53#ResourceDescription", "traits": { - "smithy.api#documentation": "

The new comment for the hosted zone. If you don't specify a value for Comment, Amazon Route 53 deletes the existing value of the \n\t\t\tComment element, if any.

" + "smithy.api#documentation": "

The new comment for the hosted zone. If you don't specify a value for\n\t\t\t\tComment, Amazon Route 53 deletes the existing value of the\n\t\t\t\tComment element, if any.

" } } }, @@ -8600,13 +9406,13 @@ "HostedZone": { "target": "com.amazonaws.route53#HostedZone", "traits": { - "smithy.api#documentation": "

A complex type that contains the response to the UpdateHostedZoneComment request.

", + "smithy.api#documentation": "

A complex type that contains the response to the UpdateHostedZoneComment\n\t\t\trequest.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains the response to the UpdateHostedZoneComment request.

" + "smithy.api#documentation": "

A complex type that contains the response to the UpdateHostedZoneComment\n\t\t\trequest.

" } }, "com.amazonaws.route53#UpdateTrafficPolicyComment": { @@ -8643,7 +9449,7 @@ "Id": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

The value of Id for the traffic policy that you want to update the comment for.

", + "smithy.api#documentation": "

The value of Id for the traffic policy that you want to update the\n\t\t\tcomment for.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8651,7 +9457,7 @@ "Version": { "target": "com.amazonaws.route53#TrafficPolicyVersion", "traits": { - "smithy.api#documentation": "

The value of Version for the traffic policy that you want to update the comment for.

", + "smithy.api#documentation": "

The value of Version for the traffic policy that you want to update the\n\t\t\tcomment for.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8665,7 +9471,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the traffic policy that you want to update the comment for.

" + "smithy.api#documentation": "

A complex type that contains information about the traffic policy that you want to\n\t\t\tupdate the comment for.

" } }, "com.amazonaws.route53#UpdateTrafficPolicyCommentResponse": { @@ -8709,7 +9515,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.

\n\t\t

When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name \n\t\t\t(such as example.com) while it replaces one group of resource record sets with another. Route 53 performs the following operations:

\n\t\t
    \n
  1. \n\t\t\t\t

    Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how significant \n\t\t\t\t\tthe differences are between the existing resource record sets and the new resource record sets.

    \n\t\t\t
  2. \n
  3. \n\t\t\t\t

    When all of the new resource record sets have been created, Route 53 starts to respond to DNS queries for the root resource record set name \n\t\t\t\t\t(such as example.com) by using the new resource record sets.

    \n\t\t\t
  4. \n
  5. \n\t\t\t\t

    Route 53 deletes the old group of resource record sets that are associated with the root resource record set name.

    \n\t\t\t
  6. \n
", + "smithy.api#documentation": "

Updates the resource record sets in a specified hosted zone that were created based on\n\t\t\tthe settings in a specified traffic policy version.

\n\t\t

When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS\n\t\t\tqueries for the root resource record set name (such as example.com) while it replaces\n\t\t\tone group of resource record sets with another. Route 53 performs the following\n\t\t\toperations:

\n\t\t
    \n
  1. \n\t\t\t\t

    Route 53 creates a new group of resource record sets based on the specified\n\t\t\t\t\ttraffic policy. This is true regardless of how significant the differences are\n\t\t\t\t\tbetween the existing resource record sets and the new resource record sets.\n\t\t\t\t

    \n\t\t\t
  2. \n
  3. \n\t\t\t\t

    When all of the new resource record sets have been created, Route 53 starts to\n\t\t\t\t\trespond to DNS queries for the root resource record set name (such as\n\t\t\t\t\texample.com) by using the new resource record sets.

    \n\t\t\t
  4. \n
  5. \n\t\t\t\t

    Route 53 deletes the old group of resource record sets that are associated\n\t\t\t\t\twith the root resource record set name.

    \n\t\t\t
  6. \n
", "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/trafficpolicyinstance/{Id}", @@ -8731,27 +9537,27 @@ "TTL": { "target": "com.amazonaws.route53#TTL", "traits": { - "smithy.api#documentation": "

The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.

", + "smithy.api#documentation": "

The TTL that you want Amazon Route 53 to assign to all of the updated resource record\n\t\t\tsets.

", "smithy.api#required": {} } }, "TrafficPolicyId": { "target": "com.amazonaws.route53#TrafficPolicyId", "traits": { - "smithy.api#documentation": "

The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

", + "smithy.api#documentation": "

The ID of the traffic policy that you want Amazon Route 53 to use to update resource\n\t\t\trecord sets for the specified traffic policy instance.

", "smithy.api#required": {} } }, "TrafficPolicyVersion": { "target": "com.amazonaws.route53#TrafficPolicyVersion", "traits": { - "smithy.api#documentation": "

The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

", + "smithy.api#documentation": "

The version of the traffic policy that you want Amazon Route 53 to use to update\n\t\t\tresource record sets for the specified traffic policy instance.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance.

" + "smithy.api#documentation": "

A complex type that contains information about the resource record sets that you want\n\t\t\tto update based on a specified traffic policy instance.

" } }, "com.amazonaws.route53#UpdateTrafficPolicyInstanceResponse": { @@ -8766,7 +9572,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that contains information about the resource record sets that Amazon Route 53\n\t\t\tcreated based on a specified traffic policy.

" + "smithy.api#documentation": "

A complex type that contains information about the resource record sets that Amazon\n\t\t\tRoute 53 created based on a specified traffic policy.

" } }, "com.amazonaws.route53#UsageCount": { @@ -8783,7 +9589,7 @@ "VPCRegion": { "target": "com.amazonaws.route53#VPCRegion", "traits": { - "smithy.api#documentation": "

(Private hosted zones only) The region that an Amazon VPC was created in.

" + "smithy.api#documentation": "

(Private hosted zones only) The region that an Amazon VPC was created\n\t\t\tin.

" } }, "VPCId": { @@ -8791,7 +9597,7 @@ } }, "traits": { - "smithy.api#documentation": "

(Private hosted zones only) A complex type that contains information about an Amazon VPC.

\n\t\t

If you associate a private hosted zone with an Amazon VPC when you make a CreateHostedZone request, the following parameters are also\n\t\t\trequired.

" + "smithy.api#documentation": "

(Private hosted zones only) A complex type that contains information about an Amazon VPC.

\n\t\t

If you associate a private hosted zone with an Amazon VPC when you make a\n\t\t\t\tCreateHostedZone\n\t\t\trequest, the following parameters are also required.

" } }, "com.amazonaws.route53#VPCAssociationAuthorizationNotFound": { @@ -8805,7 +9611,7 @@ } }, "traits": { - "smithy.api#documentation": "

The VPC that you specified is not authorized to be associated with the hosted zone.

", + "smithy.api#documentation": "

The VPC that you specified is not authorized to be associated with the hosted\n\t\t\tzone.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index ab53c7f483c..d7870bc1080 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -454,13 +454,13 @@ "TrainingImage": { "target": "com.amazonaws.sagemaker#AlgorithmImage", "traits": { - "smithy.api#documentation": "

The registry path of the Docker image\n that contains the training algorithm.\n For information about docker registry paths for built-in algorithms, see Algorithms\n Provided by Amazon SageMaker: Common Parameters. SageMaker supports both\n registry/repository[:tag] and registry/repository[@digest]\n image path formats. For more information, see Using Your Own Algorithms with Amazon\n SageMaker.

" + "smithy.api#documentation": "

The registry path of the Docker image\n that contains the training algorithm.\n For information about docker registry paths for SageMaker built-in algorithms, see Docker Registry Paths and Example Code in the Amazon SageMaker developer guide. \n SageMaker supports both registry/repository[:tag] and registry/repository[@digest]\n image path formats. For more information about using your custom training container, see Using Your Own Algorithms with Amazon SageMaker.

\n \n

You must specify either the algorithm name to the AlgorithmName parameter \n or the image URI of the algorithm container \n to the TrainingImage parameter.

\n

For more information, see the note in the AlgorithmName parameter description.

\n
" } }, "AlgorithmName": { "target": "com.amazonaws.sagemaker#ArnOrName", "traits": { - "smithy.api#documentation": "

The name of the algorithm resource to use for the training job. This must be an\n algorithm resource that you created or subscribe to on Amazon Web Services Marketplace. If you specify a value for\n this parameter, you can't specify a value for TrainingImage.

" + "smithy.api#documentation": "

The name of the algorithm resource to use for the training job. This must be an\n algorithm resource that you created or subscribe to on Amazon Web Services Marketplace.

\n \n

You must specify either the algorithm name to the AlgorithmName parameter \n or the image URI of the algorithm container \n to the TrainingImage parameter.

\n

Note that the AlgorithmName parameter is mutually exclusive \n with the TrainingImage parameter. \n If you specify a value for the AlgorithmName parameter,\n you can't specify a value for TrainingImage, and vice versa.

\n

If you specify values for both parameters, the training job might break; if you don't specify\n any value for both parameters, the training job might raise a null error.

\n
" } }, "TrainingInputMode": { @@ -1028,6 +1028,38 @@ { "value": "ml.r5.24xlarge", "name": "ML_R5_24XLARGE" + }, + { + "value": "ml.g5.xlarge", + "name": "ML_G5_XLARGE" + }, + { + "value": "ml.g5.2xlarge", + "name": "ML_G5_2XLARGE" + }, + { + "value": "ml.g5.4xlarge", + "name": "ML_G5_4XLARGE" + }, + { + "value": "ml.g5.8xlarge", + "name": "ML_G5_8XLARGE" + }, + { + "value": "ml.g5.16xlarge", + "name": "ML_G5_16XLARGE" + }, + { + "value": "ml.g5.12xlarge", + "name": "ML_G5_12XLARGE" + }, + { + "value": "ml.g5.24xlarge", + "name": "ML_G5_24XLARGE" + }, + { + "value": "ml.g5.48xlarge", + "name": "ML_G5_48XLARGE" } ] } @@ -1842,6 +1874,20 @@ "smithy.api#documentation": "

Information about a candidate produced by an AutoML training job, including its status,\n steps, and other properties.

" } }, + "com.amazonaws.sagemaker#AutoMLCandidateGenerationConfig": { + "type": "structure", + "members": { + "FeatureSpecificationS3Uri": { + "target": "com.amazonaws.sagemaker#S3Uri", + "traits": { + "smithy.api#documentation": "

A URL to the Amazon S3 data source containing selected features from the input data source to\n run an Autopilot job (optional). This file should be in json format as shown below:

\n

\n { \"FeatureAttributeNames\":[\"col1\", \"col2\", ...] }.

\n

The key name FeatureAttributeNames is fixed. The values listed in\n [\"col1\", \"col2\", ...] is case sensitive and should be a list of strings\n containing unique values that are a subset of the column names in the input data. The list\n of columns provided must not include the target column.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Stores the config information for how a candidate is generated (optional).

" + } + }, "com.amazonaws.sagemaker#AutoMLCandidateStep": { "type": "structure", "members": { @@ -1909,12 +1955,12 @@ "ChannelType": { "target": "com.amazonaws.sagemaker#AutoMLChannelType", "traits": { - "smithy.api#documentation": "

The channel type (optional) is an enum string. The default value is\n training. Channels for training and validation must share the same\n ContentType and TargetAttributeName.

" + "smithy.api#documentation": "

The channel type (optional) is an enum string. The default value is\n training. Channels for training and validation must share the same\n ContentType and TargetAttributeName. For information on\n specifying training and validation channel types, see \n How to specify training and validation datasets\n .

" } } }, "traits": { - "smithy.api#documentation": "

A channel is a named input source that training algorithms can consume. The\n validation dataset size is limited to less than 2 GB. The training dataset size must be\n less than 100 GB. For more information, see .

\n \n

A validation dataset must contain the same headers as the training dataset.

\n
\n

" + "smithy.api#documentation": "

A channel is a named input source that training algorithms can consume. The validation\n dataset size is limited to less than 2 GB. The training dataset size must be less than 100\n GB. For more information, see .

\n \n

A validation dataset must contain the same headers as the training dataset.

\n
\n

" } }, "com.amazonaws.sagemaker#AutoMLChannelType": { @@ -1993,7 +2039,7 @@ "ValidationFraction": { "target": "com.amazonaws.sagemaker#ValidationFraction", "traits": { - "smithy.api#documentation": "

The validation fraction (optional) is a float that specifies the portion of the training\n dataset to be used for validation. The default value is 0.2, and values can range from 0 to\n 1. We recommend setting this value to be less than 0.5.

" + "smithy.api#documentation": "

The validation fraction (optional) is a float that specifies the portion of the training\n dataset to be used for validation. The default value is 0.2, and values must be greater\n than 0 and less than 1. We recommend setting this value to be less than 0.5.

" } } }, @@ -2018,7 +2064,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 20 + "max": 2 } } }, @@ -2098,6 +2144,12 @@ "traits": { "smithy.api#documentation": "

The configuration for splitting the input training dataset.

\n

Type: AutoMLDataSplitConfig

" } + }, + "CandidateGenerationConfig": { + "target": "com.amazonaws.sagemaker#AutoMLCandidateGenerationConfig", + "traits": { + "smithy.api#documentation": "

The configuration for generating a candidate for an AutoML job (optional).

" + } } }, "traits": { @@ -3102,18 +3154,18 @@ "CsvContentTypes": { "target": "com.amazonaws.sagemaker#CsvContentTypes", "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

The list of all content type headers that SageMaker will treat as CSV and capture accordingly.

" } }, "JsonContentTypes": { "target": "com.amazonaws.sagemaker#JsonContentTypes", "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

The list of all content type headers that SageMaker will treat as JSON and capture accordingly.

" } } }, "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

Configuration specifying how to treat different headers. If no headers are specified SageMaker \n will by default base64 encode when capturing the data.

" } }, "com.amazonaws.sagemaker#CaptureMode": { @@ -3137,13 +3189,13 @@ "CaptureMode": { "target": "com.amazonaws.sagemaker#CaptureMode", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

Specify the boundary of data to capture.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

Specifies data Model Monitor will capture.

" } }, "com.amazonaws.sagemaker#CaptureOptionList": { @@ -4747,7 +4799,7 @@ "InputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLInputDataConfig", "traits": { - "smithy.api#documentation": "

An array of channel objects that describes the input data and its location. Each channel\n is a named input source. Similar to InputDataConfig supported by . Format(s) supported: CSV. Minimum\n of 500 rows.

", + "smithy.api#documentation": "

An array of channel objects that describes the input data and its location. Each channel\n is a named input source. Similar to InputDataConfig supported by . Format(s) supported: CSV, Parquet.\n A minimum of 500 rows is required for the training dataset. There is not a minimum number\n of rows required for the validation dataset.

", "smithy.api#required": {} } }, @@ -4761,7 +4813,7 @@ "ProblemType": { "target": "com.amazonaws.sagemaker#ProblemType", "traits": { - "smithy.api#documentation": "

Defines the type of supervised learning available for the candidates. Options include:\n BinaryClassification, MulticlassClassification, and\n Regression. For more information, see \n Amazon SageMaker Autopilot problem types and algorithm support.

" + "smithy.api#documentation": "

Defines the type of supervised learning available for the candidates. For more\n information, see \n Amazon SageMaker Autopilot problem types and algorithm support.

" } }, "AutoMLJobObjective": { @@ -4773,7 +4825,7 @@ "AutoMLJobConfig": { "target": "com.amazonaws.sagemaker#AutoMLJobConfig", "traits": { - "smithy.api#documentation": "

Contains CompletionCriteria and SecurityConfig settings for\n the AutoML job.

" + "smithy.api#documentation": "

A collection of settings used to configure an AutoML job.

" } }, "RoleArn": { @@ -6639,7 +6691,7 @@ "Task": { "target": "com.amazonaws.sagemaker#String", "traits": { - "smithy.api#documentation": "

The machine learning task your model package accomplishes. Common machine \n learning tasks include object detection and image classification.

" + "smithy.api#documentation": "

The machine learning task your model package accomplishes. Common machine \n learning tasks include object detection and image classification. The following \n tasks are supported by Inference Recommender: \n \"IMAGE_CLASSIFICATION\" | \"OBJECT_DETECTION\" | \"TEXT_GENERATION\" |\"IMAGE_SEGMENTATION\" | \n \"FILL_MASK\" | \"CLASSIFICATION\" | \"REGRESSION\" | \"OTHER\".

\n

Specify \"OTHER\" if none of the tasks listed fit your use case.

" } }, "SamplePayloadUrl": { @@ -6935,6 +6987,12 @@ "traits": { "smithy.api#documentation": "

The platform identifier of the notebook instance runtime environment.

" } + }, + "InstanceMetadataServiceConfiguration": { + "target": "com.amazonaws.sagemaker#InstanceMetadataServiceConfiguration", + "traits": { + "smithy.api#documentation": "

Information on the IMDS configuration of the notebook instance

" + } } } }, @@ -7615,7 +7673,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a transform job. A transform job uses a trained model to get inferences on a\n dataset and saves these results to an Amazon S3 location that you specify.

\n

To perform batch transformations, you create a transform job and use the data that you\n have readily available.

\n

In the request body, you provide the following:

\n \n

For more information about how batch transformation works, see Batch\n Transform.

" + "smithy.api#documentation": "

Starts a transform job. A transform job uses a trained model to get inferences on a\n dataset and saves these results to an Amazon S3 location that you specify.

\n

To perform batch transformations, you create a transform job and use the data that you\n have readily available.

\n

In the request body, you provide the following:

\n \n

For more information about how batch transformation works, see Batch\n Transform.

" } }, "com.amazonaws.sagemaker#CreateTransformJobRequest": { @@ -8190,45 +8248,45 @@ "EnableCapture": { "target": "com.amazonaws.sagemaker#EnableCapture", "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

Whether data capture should be enabled or disabled (defaults to enabled).

" } }, "InitialSamplingPercentage": { "target": "com.amazonaws.sagemaker#SamplingPercentage", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

The percentage of requests SageMaker will capture. A lower value is recommended for \n Endpoints with high traffic.

", "smithy.api#required": {} } }, "DestinationS3Uri": { "target": "com.amazonaws.sagemaker#DestinationS3Uri", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

The Amazon S3 location used to capture the data.

", "smithy.api#required": {} } }, "KmsKeyId": { "target": "com.amazonaws.sagemaker#KmsKeyId", "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on\n the storage volume attached to the ML compute instance that hosts the endpoint.

\n

The KmsKeyId can be any of the following formats:

\n " } }, "CaptureOptions": { "target": "com.amazonaws.sagemaker#CaptureOptionList", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

Specifies data Model Monitor will capture. You can configure whether to \n collect only input, only output, or both

", "smithy.api#required": {} } }, "CaptureContentTypeHeader": { "target": "com.amazonaws.sagemaker#CaptureContentTypeHeader", "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

Configuration specifying how to treat different headers. If no headers are specified SageMaker will \n by default base64 encode when capturing the data.

" } } }, "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

Configuration to control how SageMaker captures inference data.

" } }, "com.amazonaws.sagemaker#DataCaptureConfigSummary": { @@ -8237,41 +8295,41 @@ "EnableCapture": { "target": "com.amazonaws.sagemaker#EnableCapture", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

Whether data capture is enabled or disabled.

", "smithy.api#required": {} } }, "CaptureStatus": { "target": "com.amazonaws.sagemaker#CaptureStatus", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

Whether data capture is currently functional.

", "smithy.api#required": {} } }, "CurrentSamplingPercentage": { "target": "com.amazonaws.sagemaker#SamplingPercentage", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

The percentage of requests being captured by your Endpoint.

", "smithy.api#required": {} } }, "DestinationS3Uri": { "target": "com.amazonaws.sagemaker#DestinationS3Uri", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

The Amazon S3 location being used to capture the data.

", "smithy.api#required": {} } }, "KmsKeyId": { "target": "com.amazonaws.sagemaker#KmsKeyId", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

The KMS key being used to encrypt the data in Amazon S3.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

" + "smithy.api#documentation": "

The currently active data capture configuration used by your Endpoint.

" } }, "com.amazonaws.sagemaker#DataCatalogConfig": { @@ -14038,6 +14096,12 @@ "traits": { "smithy.api#documentation": "

The platform identifier of the notebook instance runtime environment.

" } + }, + "InstanceMetadataServiceConfiguration": { + "target": "com.amazonaws.sagemaker#InstanceMetadataServiceConfiguration", + "traits": { + "smithy.api#documentation": "

Information on the IMDS configuration of the notebook instance

" + } } } }, @@ -20394,6 +20458,21 @@ } } }, + "com.amazonaws.sagemaker#InstanceMetadataServiceConfiguration": { + "type": "structure", + "members": { + "MinimumInstanceMetadataServiceVersion": { + "target": "com.amazonaws.sagemaker#MinimumInstanceMetadataServiceVersion", + "traits": { + "smithy.api#documentation": "

Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Information on the IMDS configuration of the notebook instance

" + } + }, "com.amazonaws.sagemaker#InstanceType": { "type": "string", "traits": { @@ -27166,7 +27245,7 @@ "StandardMetricName": { "target": "com.amazonaws.sagemaker#AutoMLMetricExtendedEnum", "traits": { - "smithy.api#documentation": "

The name of the standard metric.

" + "smithy.api#documentation": "

The name of the standard metric.

\n \n

For definitions of the standard metrics, see \n Autopilot candidate metrics\n .

\n
" } } }, @@ -27278,6 +27357,16 @@ "smithy.api#documentation": "

" } }, + "com.amazonaws.sagemaker#MinimumInstanceMetadataServiceVersion": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1 + }, + "smithy.api#pattern": "^1|2$" + } + }, "com.amazonaws.sagemaker#ModelApprovalStatus": { "type": "string", "traits": { @@ -31528,7 +31617,7 @@ "min": 0, "max": 15 }, - "smithy.api#pattern": "^(notebook-al1-v1|notebook-al2-v1)$" + "smithy.api#pattern": "^(notebook-al1-v1|notebook-al2-v1|notebook-al2-v2)$" } }, "com.amazonaws.sagemaker#PolicyString": { @@ -39696,7 +39785,7 @@ "KmsKeyId": { "target": "com.amazonaws.sagemaker#KmsKeyId", "traits": { - "smithy.api#documentation": "

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using\n Amazon S3 server-side encryption. The KmsKeyId can be any of the following\n formats:

\n \n \n \n

If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your\n role's account. For more information, see KMS-Managed Encryption Keys in the\n Amazon Simple Storage Service\n Developer Guide.\n

\n

The KMS key policy must grant permission to the IAM role that you specify in your\n CreateModel request. For more information, see Using\n Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer\n Guide.

" + "smithy.api#documentation": "

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using\n Amazon S3 server-side encryption. The KmsKeyId can be any of the following\n formats:

\n \n \n \n

If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your\n role's account. For more information, see KMS-Managed Encryption Keys in the\n Amazon Simple Storage Service\n Developer Guide.\n

\n

The KMS key policy must grant permission to the IAM role that you specify in your\n\tCreateModel\n\t\trequest. For more information, see Using\n Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer\n Guide.

" } } }, @@ -41433,6 +41522,12 @@ "traits": { "smithy.api#documentation": "

Whether root access is enabled or disabled for users of the notebook instance. The\n default value is Enabled.

\n \n

If you set this to Disabled, users don't have root access on the\n notebook instance, but lifecycle configuration scripts still run with root\n permissions.

\n
" } + }, + "InstanceMetadataServiceConfiguration": { + "target": "com.amazonaws.sagemaker#InstanceMetadataServiceConfiguration", + "traits": { + "smithy.api#documentation": "

Information on the IMDS configuration of the notebook instance

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.json b/codegen/sdk-codegen/aws-models/secrets-manager.json index 1fd9745d41d..c9bdd76b9d9 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.json @@ -1342,7 +1342,7 @@ "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

Specifies whether to block resource-based policies that allow broad access to the secret. By default, Secrets Manager blocks policies that allow broad access, for example those that use a wildcard for the principal.

" + "smithy.api#documentation": "

Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal.

" } } } diff --git a/codegen/sdk-codegen/aws-models/transcribe.json b/codegen/sdk-codegen/aws-models/transcribe.json index bed80bf6d06..f06a4db765b 100644 --- a/codegen/sdk-codegen/aws-models/transcribe.json +++ b/codegen/sdk-codegen/aws-models/transcribe.json @@ -35,30 +35,30 @@ "StartTime": { "target": "com.amazonaws.transcribe#TimestampMilliseconds", "traits": { - "smithy.api#documentation": "

A value that indicates the beginning of the time range in seconds. To set absolute time\n range, you must specify a start time and an end time. For example, if you specify the following\n values:

\n \n

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the\n call.

" + "smithy.api#documentation": "

The time, in milliseconds, when Amazon Transcribe starts searching for the specified \n criteria in your audio. If you include StartTime in your request, you must also \n include EndTime.

" } }, "EndTime": { "target": "com.amazonaws.transcribe#TimestampMilliseconds", "traits": { - "smithy.api#documentation": "

A value that indicates the end of the time range in milliseconds. To set absolute time \n range, you must specify a start time and an end time. For example, if you specify the following\n values:

\n \n

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the \n call.

" + "smithy.api#documentation": "

The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria\n in your audio. If you include EndTime in your request, you must also include\n StartTime.

" } }, "First": { "target": "com.amazonaws.transcribe#TimestampMilliseconds", "traits": { - "smithy.api#documentation": "

A time range from the beginning of the call to the value that you've specified. For example, \n if you specify 100000, the time range is set to the first 100,000 milliseconds\n of the call.

" + "smithy.api#documentation": "

The time, in milliseconds, from the start of your media file until the value you specify in\n which Amazon Transcribe searches for your specified criteria.

" } }, "Last": { "target": "com.amazonaws.transcribe#TimestampMilliseconds", "traits": { - "smithy.api#documentation": "

A time range from the value that you've specified to the end of the call. For example, if you\n specify 100000, the time range is set to the last 100,000 milliseconds of the\n call.

" + "smithy.api#documentation": "

The time, in milliseconds, from the value you specify until the end of your media file in\n which Amazon Transcribe searches for your specified criteria.

" } } }, "traits": { - "smithy.api#documentation": "

A time range, set in seconds, between two points in the call.

" + "smithy.api#documentation": "

A time range, in milliseconds, between two points in your media file.

\n

You can use StartTime and EndTime to search a custom\n segment. For example, setting StartTime to 10000 and EndTime\n to 50000 only searches for your specified criteria in the audio contained between the 10,000 \n millisecond mark and the 50,000 millisecond mark of your media file. You must use \n StartTime and EndTime as a set; that is, if you include one, \n you must include both.

\n

You can use also First to search from the start of the audio until the time\n you specify, or Last to search from the time you specify until the end of the \n audio. For example, setting First to 50000 only searches for your specified \n criteria in the audio contained between the start of the media file to the 50,000 millisecond\n mark. You can use First and Last independently of each \n other.

\n

If you prefer to use percentage instead of milliseconds, see \n .

" } }, "com.amazonaws.transcribe#BadRequestException": { @@ -69,7 +69,7 @@ } }, "traits": { - "smithy.api#documentation": "

Your request didn't pass one or more validation tests. For example, if the entity that \n you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's \n \"in progress\"). See the exception Message field for more information.

", + "smithy.api#documentation": "

Your request didn't pass one or more validation tests. This can occur when the entity you're \n trying to delete doesn't exist or if it's in a non-terminal state (such as \n IN PROGRESS). See the exception message field for more information.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -128,31 +128,31 @@ "CallAnalyticsJobName": { "target": "com.amazonaws.transcribe#CallAnalyticsJobName", "traits": { - "smithy.api#documentation": "

The name of the call analytics job.

" + "smithy.api#documentation": "

The name of the Call Analytics job. Job names are case sensitive and must be unique \n within an Amazon Web Services account.

" } }, "CallAnalyticsJobStatus": { "target": "com.amazonaws.transcribe#CallAnalyticsJobStatus", "traits": { - "smithy.api#documentation": "

The status of the analytics job.

" + "smithy.api#documentation": "

Provides the status of the specified Call Analytics job.

\n

If the status is COMPLETED, the job is finished and you can find the results\n at the location specified in TranscriptFileUri (or\n RedactedTranscriptFileUri, if you requested transcript redaction). If the status is \n FAILED, FailureReason provides details on why your transcription\n job failed.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

If you know the language spoken between the customer and the agent, specify a \n language code for this field.

\n

If you don't know the language, you can leave this field blank, and Amazon Transcribe will use machine \n learning to automatically identify the language. To improve the accuracy of language \n identification, you can provide an array containing the possible language codes for the \n language spoken in your audio. Refer to Supported languages for\n additional information.

" + "smithy.api#documentation": "

The language code used to create your Call Analytics job. For a list of supported languages\n and their associated language codes, refer to the \n Supported\n languages table.

\n

If you don't know the language spoken in your media file, you can omit this field and let\n Amazon Transcribe automatically identify the language of your media. To improve the accuracy \n of language identification, you can include several language codes and Amazon Transcribe\n chooses the closest match for your transcription.

" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribe#MediaSampleRateHertz", "traits": { - "smithy.api#documentation": "

The sample rate, in Hertz, of the input audio.

" + "smithy.api#documentation": "

The sample rate, in Hertz, of the audio track in your input media file.

" } }, "MediaFormat": { "target": "com.amazonaws.transcribe#MediaFormat", "traits": { - "smithy.api#documentation": "

The format of the input audio file. Note: for call analytics jobs, only the following media \n formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM.

" + "smithy.api#documentation": "

The format of the input media file.

" } }, "Media": { @@ -164,54 +164,54 @@ "StartTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the analytics job started processing.

" + "smithy.api#documentation": "

The date and time the specified Call Analytics job began processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.789000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CreationTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the analytics job was created.

" + "smithy.api#documentation": "

The date and time the specified Call Analytics job request was made.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CompletionTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the analytics job was completed.

" + "smithy.api#documentation": "

The date and time the specified Call Analytics job finished processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:33:13.922000-07:00 represents a transcription job\n that started processing at 12:33 PM UTC-7 on May 4, 2022.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the AnalyticsJobStatus is FAILED, this field contains \n information about why the job failed.

\n

The FailureReason field can contain one of the following values:

\n " + "smithy.api#documentation": "

If CallAnalyticsJobStatus is FAILED, \n FailureReason contains information about why the Call Analytics job request\n failed.

\n

The FailureReason field contains one of the following values:

\n " } }, "DataAccessRoleArn": { "target": "com.amazonaws.transcribe#DataAccessRoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) that you use to access the analytics job. ARNs \n have the format\n arn:partition:service:region:account-id:resource-type/resource-id.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that has permissions to\n access the Amazon S3 bucket that contains your input files. If the role you specify doesn’t \n have the appropriate permissions to access the specified Amazon S3 location, your request \n fails.

\n

IAM role ARNs have the format\n arn:partition:iam::account:role/role-name-with-path. For example:\n arn:aws:iam::111122223333:role/Admin.

\n

For more information, see IAM ARNs.

" } }, "IdentifiedLanguageScore": { "target": "com.amazonaws.transcribe#IdentifiedLanguageScore", "traits": { - "smithy.api#documentation": "

A value between zero and one that Amazon Transcribe assigned to the language that it identified in \n the source audio. This value appears only when you don't provide a single language code. \n Larger values indicate that Amazon Transcribe has higher confidence in the language that it\n identified.

" + "smithy.api#documentation": "

The confidence score associated with the language identified in your media file.

\n

Confidence scores are values between 0 and 1; a larger value indicates a higher \n probability that the identified language correctly matches the language spoken in your\n media.

" } }, "Settings": { "target": "com.amazonaws.transcribe#CallAnalyticsJobSettings", "traits": { - "smithy.api#documentation": "

Provides information about the settings used to run a transcription job.

" + "smithy.api#documentation": "

Allows additional optional settings in your \n request, including content redaction; allows you to apply custom language models, vocabulary\n filters, and custom vocabularies to your Call Analytics job.

" } }, "ChannelDefinitions": { "target": "com.amazonaws.transcribe#ChannelDefinitions", "traits": { - "smithy.api#documentation": "

Shows numeric values to indicate the channel assigned to the agent's audio and the\n channel assigned to the customer's audio.

" + "smithy.api#documentation": "

Allows you to specify which speaker is on which channel in your Call Analytics job request.\n For example, if your agent is the first participant to speak, you would set \n ChannelId to 0 (to indicate the first channel) and \n ParticipantRole to AGENT (to indicate that it's the agent \n speaking).

" } } }, "traits": { - "smithy.api#documentation": "

Describes an asynchronous analytics job that was created with the\n StartAnalyticsJob operation.

" + "smithy.api#documentation": "

Provides detailed information about a Call Analytics job.

\n

To view the job's status, refer to CallAnalyticsJobStatus. If the status is\n COMPLETED, the job is finished. You can find your completed transcript at \n the URI specified in TranscriptFileUri. If the status is FAILED, \n FailureReason provides details on why your transcription job failed.

\n

If you enabled personally identifiable information (PII) redaction, the redacted transcript\n appears at the location specified in RedactedTranscriptFileUri.

\n

If you chose to redact the audio in your media file, you can find your redacted media file \n at the location specified in the RedactedMediaFileUri field of your \n response.

" } }, "com.amazonaws.transcribe#CallAnalyticsJobName": { @@ -230,25 +230,25 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of a vocabulary to use when processing the call analytics job.

" + "smithy.api#documentation": "

The name of the custom vocabulary you want to include in your Call Analytics \n transcription request. Vocabulary names are case sensitive.

" } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter to use when running a call analytics job. The filter that\n you specify must have the same language code as the analytics job.

" + "smithy.api#documentation": "

The name of the custom vocabulary filter you want to include in your Call Analytics \n transcription request. Vocabulary filter names are case sensitive.

\n

Note that if you include VocabularyFilterName in your request, you must \n also include VocabularyFilterMethod.

" } }, "VocabularyFilterMethod": { "target": "com.amazonaws.transcribe#VocabularyFilterMethod", "traits": { - "smithy.api#documentation": "

Set to mask to remove filtered text from the transcript and replace it with three \n asterisks (\"***\") as placeholder text. Set to remove to remove filtered text \n from the transcript without using placeholder text. Set to tag to mark the word \n in the transcription output that matches the vocabulary filter. When you set the filter method\n to tag, the words matching your vocabulary filter are not masked or \n removed.

" + "smithy.api#documentation": "

Specify how you want your vocabulary filter applied to your transcript.

\n

To replace words with ***, choose mask.

\n

To delete words, choose remove.

\n

To flag words without changing them, choose tag.

" } }, "LanguageModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The structure used to describe a custom language model.

" + "smithy.api#documentation": "

The name of the custom language model you want to use when processing your \n Call Analytics job. Note that language model names are case sensitive.

\n

The language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the language model isn't applied. \n There are no errors or warnings associated with a language mismatch.

" } }, "ContentRedaction": { @@ -257,18 +257,18 @@ "LanguageOptions": { "target": "com.amazonaws.transcribe#LanguageOptions", "traits": { - "smithy.api#documentation": "

When you run a call analytics job, you can specify the language spoken in the audio, or\n you can have Amazon Transcribe identify the language for you.

\n

To specify a language, specify an array with one language code. If you don't know the \n language, you can leave this field blank and Amazon Transcribe will use machine learning to identify the \n language for you. To improve the ability of Amazon Transcribe to correctly identify the language, you can \n provide an array of the languages that can be present in the audio. Refer to \n Supported languages for\n additional information.

" + "smithy.api#documentation": "

You can specify two or more language codes that represent the languages you think may \n be present in your media; including more than five is not recommended. If you're unsure what\n languages are present, do not include this parameter.

\n

Including language options can improve the accuracy of language identification.

\n

For a list of languages supported with Call Analytics, refer to the Supported languages table.

" } }, "LanguageIdSettings": { "target": "com.amazonaws.transcribe#LanguageIdSettingsMap", "traits": { - "smithy.api#documentation": "

The language identification settings associated with your call analytics job. These settings \n include VocabularyName, VocabularyFilterName, and\n LanguageModelName.

" + "smithy.api#documentation": "

If using automatic language identification (IdentifyLanguage) in your request \n and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary\n filter, include LanguageIdSettings with the relevant sub-parameters \n (VocabularyName, LanguageModelName, and \n VocabularyFilterName).

\n

You can specify two or more language codes that represent the languages you think may \n be present in your media; including more than five is not recommended. Each language code you\n include can have an associated custom language model, custom vocabulary, and custom \n vocabulary filter. The languages you specify must match the languages of the specified custom\n language models, custom vocabularies, and custom vocabulary filters.

\n

To include language options using IdentifyLanguage \n without including a custom language model, a custom \n vocabulary, or a custom vocabulary filter, use LanguageOptions instead of\n LanguageIdSettings. Including language options can improve the accuracy of \n automatic language identification.

\n

If you want to include a custom language model with your request but \n do not want to use automatic language identification,\n use instead the parameter with the\n LanguageModelName sub-parameter.

\n

If you want to include a custom vocabulary or a custom vocabulary filter (or both) with\n your request but do not want to use automatic \n language identification, use instead the \n parameter with the VocabularyName or \n VocabularyFilterName (or both) sub-parameter.

" } } }, "traits": { - "smithy.api#documentation": "

Provides optional settings for the CallAnalyticsJob operation.

" + "smithy.api#documentation": "

Provides additional optional settings for your \n request, including content redaction, automatic language identification; allows you to apply\n custom language models, vocabulary filters, and custom vocabularies.

" } }, "com.amazonaws.transcribe#CallAnalyticsJobStatus": { @@ -306,48 +306,48 @@ "CallAnalyticsJobName": { "target": "com.amazonaws.transcribe#CallAnalyticsJobName", "traits": { - "smithy.api#documentation": "

The name of the call analytics job.

" + "smithy.api#documentation": "

The name of the Call Analytics job. Job names are case sensitive and must be unique \n within an Amazon Web Services account.

" } }, "CreationTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the call analytics job was created.

" + "smithy.api#documentation": "

The date and time the specified Call Analytics job request was made.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "StartTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job began processing.

" + "smithy.api#documentation": "

The date and time your Call Analytics job began processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.789000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CompletionTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job was completed.

" + "smithy.api#documentation": "

The date and time the specified Call Analytics job finished processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:33:13.922000-07:00 represents a transcription job\n that started processing at 12:33 PM UTC-7 on May 4, 2022.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the transcript in the source audio file.

" + "smithy.api#documentation": "

The language code used to create your Call Analytics transcription.

" } }, "CallAnalyticsJobStatus": { "target": "com.amazonaws.transcribe#CallAnalyticsJobStatus", "traits": { - "smithy.api#documentation": "

The status of the call analytics job.

" + "smithy.api#documentation": "

Provides the status of your Call Analytics job.

\n

If the status is COMPLETED, the job is finished and you can find the results\n at the location specified in TranscriptFileUri (or\n RedactedTranscriptFileUri, if you requested transcript redaction). If the status is \n FAILED, FailureReason provides details on why your transcription\n job failed.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the CallAnalyticsJobStatus is FAILED, a description of \n the error.

" + "smithy.api#documentation": "

If CallAnalyticsJobStatus is FAILED, \n FailureReason contains information about why the Call Analytics job \n failed. See also: Common Errors.

" } } }, "traits": { - "smithy.api#documentation": "

Provides summary information about a call analytics job.

" + "smithy.api#documentation": "

Provides detailed information about a specific Call Analytics job.

" } }, "com.amazonaws.transcribe#CategoryName": { @@ -366,30 +366,30 @@ "CategoryName": { "target": "com.amazonaws.transcribe#CategoryName", "traits": { - "smithy.api#documentation": "

The name of the call analytics category.

" + "smithy.api#documentation": "

The name of the Call Analytics category. Category names are case sensitive and must be \n unique within an Amazon Web Services account.

" } }, "Rules": { "target": "com.amazonaws.transcribe#RuleList", "traits": { - "smithy.api#documentation": "

The rules used to create a call analytics category.

" + "smithy.api#documentation": "

The rules used to define a Call Analytics category. Each category can have between 1 and 20 \n rules.

" } }, "CreateTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the call analytics category was created.

" + "smithy.api#documentation": "

The date and time the specified Call Analytics category was created.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "LastUpdateTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the call analytics category was most recently \n updated.

" + "smithy.api#documentation": "

The date and time the specified Call Analytics category was last updated.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM UTC-7 \n on May 5, 2022.

" } } }, "traits": { - "smithy.api#documentation": "

An object that contains the rules and additional information about a call analytics \n category.

" + "smithy.api#documentation": "

Provides you with the properties of the Call Analytics category you specified in your\n request. This includes the list of rules that define the specified category.

" } }, "com.amazonaws.transcribe#CategoryPropertiesList": { @@ -404,18 +404,18 @@ "ChannelId": { "target": "com.amazonaws.transcribe#ChannelId", "traits": { - "smithy.api#documentation": "

A value that indicates the audio channel.

" + "smithy.api#documentation": "

Specify the audio channel you want to define.

" } }, "ParticipantRole": { "target": "com.amazonaws.transcribe#ParticipantRole", "traits": { - "smithy.api#documentation": "

Indicates whether the person speaking on the audio channel is the agent or \n customer.

" + "smithy.api#documentation": "

Specify the speaker you want to define. Omitting this parameter is equivalent to specifying\n both participants.

" } } }, "traits": { - "smithy.api#documentation": "

For a call analytics job, an object that indicates the audio channel that belongs to the\n agent and the audio channel that belongs to the customer.

" + "smithy.api#documentation": "

Allows you to specify which speaker is on which channel. For example, if your agent is the \n first participant to speak, you would set ChannelId to 0 (to\n indicate the first channel) and ParticipantRole to AGENT (to \n indicate that it's the agent speaking).

" } }, "com.amazonaws.transcribe#ChannelDefinitions": { @@ -447,7 +447,7 @@ } }, "traits": { - "smithy.api#documentation": "

There is already a resource with that name.

", + "smithy.api#documentation": "

A resource already exists with this name. Resource names must be unique within an \n Amazon Web Services account.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -458,26 +458,26 @@ "RedactionType": { "target": "com.amazonaws.transcribe#RedactionType", "traits": { - "smithy.api#documentation": "

Request parameter that defines the entities to be redacted. The only accepted value is\n PII.

", + "smithy.api#documentation": "

Specify the category of information you want to redact; PII (personally \n identifiable information) is the only valid value. You can use PiiEntityTypes to \n choose which types of PII you want to redact.

", "smithy.api#required": {} } }, "RedactionOutput": { "target": "com.amazonaws.transcribe#RedactionOutput", "traits": { - "smithy.api#documentation": "

The output transcript file stored in either the default S3 bucket or in a bucket you\n specify.

\n

When you choose redacted Amazon Transcribe outputs only the redacted \n transcript.

\n

When you choose redacted_and_unredacted Amazon Transcribe outputs both the \n redacted and unredacted transcripts.

", + "smithy.api#documentation": "

Specify if you want only a redacted transcript, or if you want a redacted and an unredacted\n transcript.

\n

When you choose redacted Amazon Transcribe creates only a redacted \n transcript.

\n

When you choose redacted_and_unredacted Amazon Transcribe creates \n a redacted and an unredacted transcript (as two separate files).

", "smithy.api#required": {} } }, "PiiEntityTypes": { "target": "com.amazonaws.transcribe#PiiEntityTypes", "traits": { - "smithy.api#documentation": "

The types of personally identifiable information (PII) you want to redact in your\n transcript.

" + "smithy.api#documentation": "

Specify which types of personally identifiable information (PII) you want to redact in your\n transcript. You can include as many types as you'd like, or you can select \n ALL.

" } } }, "traits": { - "smithy.api#documentation": "

Settings for content redaction within a transcription job.

" + "smithy.api#documentation": "

Allows you to redact or flag specified personally identifiable information (PII) in your transcript. If \n you use ContentRedaction, you must also include the sub-parameters:\n PiiEntityTypes, RedactionOutput, and \n RedactionType.

" } }, "com.amazonaws.transcribe#CreateCallAnalyticsCategory": { @@ -503,7 +503,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a call analytics category. Amazon Transcribe applies the conditions specified by your\n call analytics categories to your call analytics jobs. For each analytics category, you \n must create between 1 and 20 rules. For example, you can create a 'greeting' \n category with a rule that flags calls in which your agent does not use a specified \n phrase (for example: \"Please note this call may be recorded.\") in the first 15 seconds\n of the call. When you start a call analytics job, Amazon Transcribe applies all your existing call\n analytics categories to that job.

", + "smithy.api#documentation": "

Creates a new Call Analytics category.

\n

All categories are automatically applied to your Call Analytics jobs. Note that in order to apply \n your categories to your jobs, you must create them before submitting your job request, as \n categories cannot be applied retroactively.

\n

Call Analytics categories are composed of rules. For each category, you must create\n between 1 and 20 rules. Rules can include these parameters: , \n , , and \n .

\n

To update an existing category, see .

\n

To learn more about:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/callanalyticscategories/{CategoryName}", @@ -517,7 +517,7 @@ "CategoryName": { "target": "com.amazonaws.transcribe#CategoryName", "traits": { - "smithy.api#documentation": "

A unique name, chosen by you, for your call analytics category. For example, \n sentiment-positive-last30seconds.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your Call Analytics category. It's helpful to use a detailed\n naming system that will make sense to you in the future. For example, it's better to use \n sentiment-positive-last30seconds for a category over a generic name like \n test-category.

\n

Category names are case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -525,7 +525,7 @@ "Rules": { "target": "com.amazonaws.transcribe#RuleList", "traits": { - "smithy.api#documentation": "

Rules make up a call analytics category. When creating a call analytics category,\n you must create between 1 and 20 rules for your category. For each rule, you \n specify a filter you want applied to the attributes of a call. For example, you can choose\n a sentiment filter that detects if a customer's sentiment was positive during the last\n 30 seconds of the call.

", + "smithy.api#documentation": "

Rules define a Call Analytics category. When creating a new Call Analytics category, you must \n create between 1 and 20 rules for that category. For each rule, you specify a filter you want \n applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a\n customer's sentiment was positive during the last 30 seconds of the call.

", "smithy.api#required": {} } } @@ -537,7 +537,7 @@ "CategoryProperties": { "target": "com.amazonaws.transcribe#CategoryProperties", "traits": { - "smithy.api#documentation": "

If your audio matches one of your categories, this field contains data on that \n category and its associated rules. This parameter shows which category is flagged\n (CategoryName) along with metadata for the rules that match your \n audio. Metadata includes the rule filter (such as InterruptionFilter,\n NonTalkTimeFilter, SentimentFilter, and \n TranscriptFilter) and where in your audio (StartTime\n and EndTime) the rule has a match.

" + "smithy.api#documentation": "

Provides you with the properties of your new category, including its associated rules.

" } } } @@ -565,7 +565,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new custom language model. When creating a new language model, \n you must specify if you want a Wideband (audio sample rates over 16,000 Hz) or\n Narrowband (audio sample rates under 16,000 Hz) base model. You then include the \n S3 URI location of your training and tuning files, the language for the model, a \n unique name, and any tags you want associated with your model.

", + "smithy.api#documentation": "

Creates a new custom language model.

\n

When creating a new language model, you must specify:

\n \n

For more information, see Custom language models.

", "smithy.api#http": { "method": "PUT", "uri": "/languagemodels/{ModelName}", @@ -579,21 +579,21 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#CLMLanguageCode", "traits": { - "smithy.api#documentation": "

The language of your custom language model; note that the language code you\n select must match the language of your training and tuning data.

", + "smithy.api#documentation": "

The language code that represents the language of your model. Each language model must\n contain terms in only one language, and the language you select for your model must match the \n language of your training and tuning data.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported\n languages table. Note that U.S. English (en-US) is the only language \n supported with Amazon Transcribe Medical.

\n

A custom language model can only be used to transcribe files in the same language as the \n model. For example, if you create a language model using US English (en-US), you\n can only apply this model to files that contain English audio.

", "smithy.api#required": {} } }, "BaseModelName": { "target": "com.amazonaws.transcribe#BaseModelName", "traits": { - "smithy.api#documentation": "

The Amazon Transcribe standard language model, or base model, used to create your \n custom language model. Amazon Transcribe offers two options for base models: Wideband and\n Narrowband.

\n

If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, \n choose WideBand. To transcribe audio with a sample rate less than\n 16,000 Hz, choose NarrowBand.

", + "smithy.api#documentation": "

The Amazon Transcribe standard language model, or base model, used to create your custom\n language model. Amazon Transcribe offers two options for base models: Wideband and \n Narrowband.

\n

If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose \n WideBand. To transcribe audio with a sample rate less than 16,000 Hz, choose\n NarrowBand.

", "smithy.api#required": {} } }, "ModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The name of your new custom language model.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a language model with the same name as a\n previous language model, you get a ConflictException error.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your custom language model.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a new language model with the same name \n as an existing language model, you get a ConflictException error.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -601,14 +601,14 @@ "InputDataConfig": { "target": "com.amazonaws.transcribe#InputDataConfig", "traits": { - "smithy.api#documentation": "

Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 \n locations of your training (S3Uri) and tuning \n (TuningDataS3Uri) data.

", + "smithy.api#documentation": "

Contains the Amazon S3 location of the training data you want to use to create a new \n custom language model, and permissions to access this location.

\n

When using InputDataConfig, you must include these sub-parameters:\n S3Uri, which is the Amazon S3 location of your training data, and \n DataAccessRoleArn, which is the Amazon Resource Name (ARN) of the role that \n has permission to access your specified Amazon S3 location. You can optionally include \n TuningDataS3Uri, which is the Amazon S3 location of your tuning data. If \n you specify different Amazon S3 locations for training and tuning data, the ARN you use \n must have permissions to access both locations.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

Optionally add tags, each in the form of a key:value pair, to your new language\n model. See also: .

" + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new custom language\n model at the time you create this new model.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" } } } @@ -625,25 +625,25 @@ "BaseModelName": { "target": "com.amazonaws.transcribe#BaseModelName", "traits": { - "smithy.api#documentation": "

The Amazon Transcribe standard language model, or base model, you used when creating your\n custom language model.

\n

If your audio has a sample rate of 16,000 Hz or greater, this value should be\n WideBand. If your audio has a sample rate of less than\n 16,000 Hz, this value should be NarrowBand.

" + "smithy.api#documentation": "

The Amazon Transcribe standard language model, or base model, you specified when creating \n your custom language model.

" } }, "ModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The unique name you chose for your custom language model.

" + "smithy.api#documentation": "

The name of your custom language model.

" } }, "InputDataConfig": { "target": "com.amazonaws.transcribe#InputDataConfig", "traits": { - "smithy.api#documentation": "

Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 \n locations your provided for your training (S3Uri) and tuning \n (TuningDataS3Uri) data.

" + "smithy.api#documentation": "

Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 \n locations you provided for your training (S3Uri) and tuning \n (TuningDataS3Uri) data.

" } }, "ModelStatus": { "target": "com.amazonaws.transcribe#ModelStatus", "traits": { - "smithy.api#documentation": "

The status of your custom language model. When the status shows as \n COMPLETED, your model is ready to use.

" + "smithy.api#documentation": "

The status of your custom language model. When the status displays as \n COMPLETED, your model is ready to use.

" } } } @@ -671,7 +671,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new custom medical vocabulary.

\n

When creating a new medical vocabulary, you must upload a text file that contains\n your new entries, phrases, and terms into an S3 bucket. Note that this differs from \n , where you can include a list of terms within\n your request using the Phrases flag, as\n CreateMedicalVocabulary does not support the Phrases\n flag.

\n

For more information on creating a custom vocabulary text file, see \n Creating a custom \n vocabulary.

", + "smithy.api#documentation": "

Creates a new custom medical vocabulary.

\n

Prior to creating a new medical vocabulary, you must first upload a text file that contains\n your new entries, phrases, and terms into an Amazon S3 bucket. Note that this differs from \n , where you can include a list of terms within\n your request using the Phrases flag; CreateMedicalVocabulary \n does not support the Phrases flag.

\n

Each language has a character set that contains all allowed characters for that specific \n language. If you use unsupported characters, your vocabulary request fails. Refer to \n Character Sets for \n Custom Vocabularies to get the character set for your language.

\n

For more information, see Creating a custom\n vocabulary.

", "smithy.api#http": { "method": "PUT", "uri": "/medicalvocabularies/{VocabularyName}", @@ -685,7 +685,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of your new vocabulary.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a vocabulary with the same name as a\n previous vocabulary, you get a ConflictException error.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your new custom medical vocabulary.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a new medical vocabulary with the same name\n as an existing medical vocabulary, you get a ConflictException error.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -693,21 +693,21 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code that represents the language of the entries in your custom\n vocabulary. Note that U.S. English (en-US) is the only language \n supported with Amazon Transcribe Medical.

", + "smithy.api#documentation": "

The language code that represents the language of the entries in your custom\n vocabulary. US English (en-US) is the only language supported with \n Amazon Transcribe Medical.

", "smithy.api#required": {} } }, "VocabularyFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The Amazon S3 location (URI) of the text file that contains your custom vocabulary. \n The URI must be in the same Amazon Web Services Region as the resource that you're \n calling.

\n

Here's an example URI path:

\n

\n https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt\n

", + "smithy.api#documentation": "

The Amazon S3 location (URI) of the text file that contains your custom medical \n vocabulary. The URI must be in the same Amazon Web Services Region as the resource you're\n calling.

\n

Here's an example URI path: \n s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt\n

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new medical \n vocabulary at the time you create the new vocabulary.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new medical \n vocabulary at the time you create this new vocabulary.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" } } } @@ -718,31 +718,31 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name you chose for your vocabulary.

" + "smithy.api#documentation": "

The name you chose for your custom medical vocabulary.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code you selected for your medical vocabulary. Note that U.S. English\n (en-US) is the only language supported with Amazon Transcribe Medical.

" + "smithy.api#documentation": "

The language code you selected for your medical vocabulary. US English \n (en-US) is the only language supported with Amazon Transcribe Medical.

" } }, "VocabularyState": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The processing state of your custom medical vocabulary. If the state is \n READY, you can use the vocabulary in a \n StartMedicalTranscriptionJob request.

" + "smithy.api#documentation": "

The processing state of your custom medical vocabulary. If the state is \n READY, you can use the vocabulary in a \n StartMedicalTranscriptionJob request.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time you created your custom medical vocabulary.

" + "smithy.api#documentation": "

The date and time you created your custom medical vocabulary.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the VocabularyState field is FAILED,\n FailureReason contains information about why the job failed.

" + "smithy.api#documentation": "

If VocabularyState is FAILED, \n FailureReason contains information about why the medical transcription job\n request failed. See also: Common Errors.

" } } } @@ -770,7 +770,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new custom vocabulary.

\n

When creating a new medical vocabulary, you can either upload a text file that\n contains your new entries, phrases, and terms into an S3 bucket or include a list of \n terms directly in your request using the Phrases flag.

\n

For more information on creating a custom vocabulary, see \n Creating a custom \n vocabulary.

", + "smithy.api#documentation": "

Creates a new custom vocabulary.

\n

When creating a new vocabulary, you can either upload a text file that contains your new \n entries, phrases, and terms into an Amazon S3 bucket and include the URI in your request, or \n you can include a list of terms directly in your request using the Phrases flag.

\n

Each language has a character set that contains all allowed characters for that specific \n language. If you use unsupported characters, your vocabulary request fails. Refer to \n Character Sets for \n Custom Vocabularies to get the character set for your language.

\n

For more information, see Creating a custom \n vocabulary.

", "smithy.api#http": { "method": "PUT", "uri": "/vocabularies/{VocabularyName}", @@ -801,7 +801,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new vocabulary filter that you can use to filter words from your transcription\n output. For example, you can use this operation to remove profanity from your\n transcript.

", + "smithy.api#documentation": "

Creates a new custom vocabulary filter.

\n

You can use vocabulary filters to mask, delete, or flag specific words from your transcript. \n Vocabulary filters are commonly used to mask profanity in transcripts.

\n

Each language has a character set that contains all allowed characters for that specific \n language. If you use unsupported characters, your vocabulary filter request fails. Refer to \n Character Sets for \n Custom Vocabularies to get the character set for your language.

\n

For more information, see Using vocabulary filtering with unwanted\n words.

", "smithy.api#http": { "method": "POST", "uri": "/vocabularyFilters/{VocabularyFilterName}", @@ -815,7 +815,7 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of your new vocabulary filter.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a vocabulary filter with the same name \n as a previous vocabulary filter, you get a ConflictException error.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your new custom vocabulary filter.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a new vocabulary filter with the same name\n as an existing vocabulary filter, you get a ConflictException error.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -823,26 +823,26 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the words in the vocabulary filter. All words in the filter must be\n in the same language. The vocabulary filter can only be used with transcription jobs in the \n specified language.

", + "smithy.api#documentation": "

The language code that represents the language of the entries in your vocabulary \n filter. Each vocabulary filter must contain terms in only one language.

\n

A vocabulary filter can only be used to transcribe files in the same language as the \n filter. For example, if you create a vocabulary filter using US English (en-US), you\n can only apply this filter to files that contain English audio.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported\n languages table.

", "smithy.api#required": {} } }, "Words": { "target": "com.amazonaws.transcribe#Words", "traits": { - "smithy.api#documentation": "

The words you want in your vocabulary filter. Only use characters specified in the\n Character\n sets for the language you're transcribing.

\n

Note that if you include Words in your request, you cannot use\n VocabularyFilterFileUri; you must choose one or the other.

" + "smithy.api#documentation": "

Use this parameter if you want to create your vocabulary filter by including all desired terms, \n as comma-separated values, within your request. The other option for creating your vocabulary \n filter is to save your entries in a text file and upload them to an Amazon S3 bucket, then\n specify the location of your file using the VocabularyFilterFileUri \n parameter.

\n

Note that if you include Words in your request, you cannot use\n VocabularyFilterFileUri; you must choose one or the other.

\n

Each language has a character set that contains all allowed characters for that specific \n language. If you use unsupported characters, your vocabulary filter request fails. Refer to \n Character Sets for \n Custom Vocabularies to get the character set for your language.

" } }, "VocabularyFilterFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only \n use characters from the character set defined for custom vocabularies. For a list of \n character sets, see Character Sets for Custom\n Vocabularies.

\n

Your vocabulary filter file must be less than 50 KB in size.

\n

Note that if you include VocabularyFilterFileUri in your request, you \n cannot use Words; you must choose one or the other.

" + "smithy.api#documentation": "

The Amazon S3 location of the text file that contains your custom vocabulary filter \n terms. The URI must be located in the same Amazon Web Services Region as the resource you're \n calling.

\n

Here's an example URI path:\n s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt\n

\n

Note that if you include VocabularyFilterFileUri in your request, you \n cannot use Words; you must choose one or the other.

" } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new vocabulary\n filter at the time you create this new vocabulary filter.

" + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new custom \n vocabulary filter at the time you create this new filter.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" } } } @@ -853,19 +853,19 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter.

" + "smithy.api#documentation": "

The name you chose for your custom vocabulary filter.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code associated with your vocabulary filter.

" + "smithy.api#documentation": "

The language code you selected for your vocabulary filter.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time the vocabulary filter was modified.

" + "smithy.api#documentation": "

The date and time you created your vocabulary filter.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } } } @@ -876,7 +876,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of your new vocabulary.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a vocabulary with the same name as a\n previous vocabulary, you get a ConflictException error.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your new custom vocabulary.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a new vocabulary with the same name as an\n existing vocabulary, you get a ConflictException error.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -884,26 +884,26 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code that represents the language of the entries in your custom\n vocabulary. Each vocabulary must contain terms in only one language. For a list of \n languages and their corresponding language codes, see Supported \n languages.

", + "smithy.api#documentation": "

The language code that represents the language of the entries in your custom\n vocabulary. Each vocabulary must contain terms in only one language.

\n

A custom vocabulary can only be used to transcribe files in the same language as the \n vocabulary. For example, if you create a vocabulary using US English (en-US), \n you can only apply this vocabulary to files that contain English audio.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported\n languages table.

", "smithy.api#required": {} } }, "Phrases": { "target": "com.amazonaws.transcribe#Phrases", "traits": { - "smithy.api#documentation": "

Use this flag to include a list of terms within your request.

\n

Note that if you include Phrases in your request, you cannot\n use VocabularyFileUri; you must choose one or the other.

" + "smithy.api#documentation": "

Use this parameter if you want to create your vocabulary by including all desired terms, as\n comma-separated values, within your request. The other option for creating your vocabulary is to\n save your entries in a text file and upload them to an Amazon S3 bucket, then specify \n the location of your file using the VocabularyFileUri parameter.

\n

Note that if you include Phrases in your request, you cannot use\n VocabularyFileUri; you must choose one or the other.

\n

Each language has a character set that contains all allowed characters for that specific \n language. If you use unsupported characters, your vocabulary filter request fails. Refer to \n Character Sets for \n Custom Vocabularies to get the character set for your language.

" } }, "VocabularyFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 location of the text file that contains your custom vocabulary. The\n URI must be located in the same region as the API endpoint you're calling.

\n

Here's an example URI path:

\n

\n https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt\n

\n

Note that if you include VocabularyFileUri in your request, you \n cannot use the Phrases flag; you must choose one or the other.

" + "smithy.api#documentation": "

The Amazon S3 location of the text file that contains your custom vocabulary. The\n URI must be located in the same Amazon Web Services Region as the resource you're \n calling.

\n

Here's an example URI path:\n s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt\n

\n

Note that if you include VocabularyFileUri in your request, you \n cannot use the Phrases flag; you must choose one or the other.

" } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new \n custom vocabulary at the time you create this new vocabulary.

" + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new custom \n vocabulary at the time you create this new vocabulary.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" } } } @@ -914,31 +914,31 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name you chose for your vocabulary.

" + "smithy.api#documentation": "

The name you chose for your custom vocabulary.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code you selected for your vocabulary.

" + "smithy.api#documentation": "

The language code you selected for your custom vocabulary.

" } }, "VocabularyState": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The processing state of your vocabulary. If the state is READY, you can\n use the vocabulary in a StartTranscriptionJob request.

" + "smithy.api#documentation": "

The processing state of your custom vocabulary. If the state is READY, you\n can use the vocabulary in a StartTranscriptionJob request.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time you created your custom vocabulary.

" + "smithy.api#documentation": "

The date and time you created your custom vocabulary.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the VocabularyState field is FAILED,\n FailureReason contains information about why the job failed.

" + "smithy.api#documentation": "

If VocabularyState is FAILED,\n FailureReason contains information about why the vocabulary request\n failed. See also: Common Errors.

" } } } @@ -979,7 +979,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a call analytics category. To use this operation, specify the name of the \n category you want to delete using CategoryName.

", + "smithy.api#documentation": "

Deletes a Call Analytics category. To use this operation, specify the name of the category \n you want to delete using CategoryName. Category names are case\n sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/callanalyticscategories/{CategoryName}", @@ -993,7 +993,7 @@ "CategoryName": { "target": "com.amazonaws.transcribe#CategoryName", "traits": { - "smithy.api#documentation": "

The name of the call analytics category you want to delete. Category names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the Call Analytics category you want to delete. Category names are\n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1024,7 +1024,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a call analytics job. To use this operation, specify the name of the \n job you want to delete using CallAnalyticsJobName.

", + "smithy.api#documentation": "

Deletes a Call Analytics job. To use this operation, specify the name of the job you want to \n delete using CallAnalyticsJobName. Job names are case sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/callanalyticsjobs/{CallAnalyticsJobName}", @@ -1038,7 +1038,7 @@ "CallAnalyticsJobName": { "target": "com.amazonaws.transcribe#CallAnalyticsJobName", "traits": { - "smithy.api#documentation": "

The name of the call analytics job you want to delete. Job names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the Call Analytics job you want to delete. Job names are case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1054,6 +1054,9 @@ "input": { "target": "com.amazonaws.transcribe#DeleteLanguageModelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.transcribe#BadRequestException" @@ -1066,7 +1069,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a custom language model. To use this operation, specify the name of the \n language model you want to delete using ModelName.

", + "smithy.api#documentation": "

Deletes a custom language model. To use this operation, specify the name of the language \n model you want to delete using ModelName. Language model names are case\n sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/languagemodels/{ModelName}", @@ -1080,7 +1083,7 @@ "ModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The name of the model you want to delete. Model names are case-sensitive.

", + "smithy.api#documentation": "

The name of the custom language model you want to delete. Model names are \n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1092,6 +1095,9 @@ "input": { "target": "com.amazonaws.transcribe#DeleteMedicalTranscriptionJobRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.transcribe#BadRequestException" @@ -1104,7 +1110,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a medical transcription job, along with any related information. To use this \n operation, specify the name of the job you want to delete using\n MedicalTranscriptionJobName.

", + "smithy.api#documentation": "

Deletes a medical transcription job. To use this operation, specify the name of the job you \n want to delete using MedicalTranscriptionJobName. Job names are case\n sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/medicaltranscriptionjobs/{MedicalTranscriptionJobName}", @@ -1118,7 +1124,7 @@ "MedicalTranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the medical transcription job you want to delete. Job names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the medical transcription job you want to delete. Job names are case \n sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1130,6 +1136,9 @@ "input": { "target": "com.amazonaws.transcribe#DeleteMedicalVocabularyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.transcribe#BadRequestException" @@ -1145,7 +1154,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a custom medical vocabulary. To use this operation, specify the name of the\n vocabulary you want to delete using VocabularyName.

", + "smithy.api#documentation": "

Deletes a custom medical vocabulary. To use this operation, specify the name of the\n vocabulary you want to delete using VocabularyName. Vocabulary names are\n case sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/medicalvocabularies/{VocabularyName}", @@ -1159,7 +1168,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary that you want to delete. Vocabulary names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the custom medical vocabulary you want to delete. Vocabulary names are\n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1171,6 +1180,9 @@ "input": { "target": "com.amazonaws.transcribe#DeleteTranscriptionJobRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.transcribe#BadRequestException" @@ -1183,7 +1195,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a transcription job, along with any related information. To use this operation,\n specify the name of the job you want to delete using\n TranscriptionJobName.

", + "smithy.api#documentation": "

Deletes a transcription job. To use this operation, specify the name of the job you want to\n delete using TranscriptionJobName. Job names are case sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/transcriptionjobs/{TranscriptionJobName}", @@ -1197,7 +1209,7 @@ "TranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the transcription job you want to delete. Job names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the transcription job you want to delete. Job names are case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1209,6 +1221,9 @@ "input": { "target": "com.amazonaws.transcribe#DeleteVocabularyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.transcribe#BadRequestException" @@ -1224,7 +1239,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary \n you want to delete using VocabularyName.

", + "smithy.api#documentation": "

Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary you\n want to delete using VocabularyName. Vocabulary names are case\n sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/vocabularies/{VocabularyName}", @@ -1237,6 +1252,9 @@ "input": { "target": "com.amazonaws.transcribe#DeleteVocabularyFilterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.transcribe#BadRequestException" @@ -1252,7 +1270,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary \n filter you want to delete using VocabularyFilterName.

", + "smithy.api#documentation": "

Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary filter\n you want to delete using VocabularyFilterName. Vocabulary filter names are \n case sensitive.

", "smithy.api#http": { "method": "DELETE", "uri": "/vocabularyFilters/{VocabularyFilterName}", @@ -1266,7 +1284,7 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter you want to delete. Vocabulary filter names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the custom vocabulary filter you want to delete. Vocabulary filter names \n are case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1279,7 +1297,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary you want to delete. Vocabulary names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the custom vocabulary you want to delete. Vocabulary names are\n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1309,7 +1327,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides information about a specific custom language model in your \n Amazon Web Services account.

\n

This operation also shows if the base language model you used to create your custom\n language model has been updated. If Amazon Transcribe has updated the base model, you can create a\n new custom language model using the updated base model.

\n

If you tried to create a new custom language model and the request wasn't successful,\n you can use this operation to help identify the reason.

", + "smithy.api#documentation": "

Provides information about the specified custom language model.

\n

This operation also shows if the base language model you used to create your custom\n language model has been updated. If Amazon Transcribe has updated the base model, you\n can create a new custom language model using the updated base model.

\n

If you tried to create a new custom language model and the request wasn't successful,\n you can use DescribeLanguageModel to help identify the reason for this \n failure.

\n

To get a list of your custom language models, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/languagemodels/{ModelName}", @@ -1323,7 +1341,7 @@ "ModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The name of the custom language model you want described. Model names are\n case-sensitive.

", + "smithy.api#documentation": "

The name of the custom language model you want information about. Model names are\n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1336,11 +1354,17 @@ "LanguageModel": { "target": "com.amazonaws.transcribe#LanguageModel", "traits": { - "smithy.api#documentation": "

The name of the custom language model you requested more information about.

" + "smithy.api#documentation": "

Provides information about the specified custom language model.

\n

This parameter also shows if the base language model you used to create your custom\n language model has been updated. If Amazon Transcribe has updated the base model, you can \n create a new custom language model using the updated base model.

\n

If you tried to create a new custom language model and the request wasn't successful,\n you can use this DescribeLanguageModel to help identify the reason for this \n failure.

" } } } }, + "com.amazonaws.transcribe#DurationInSeconds": { + "type": "float", + "traits": { + "smithy.api#box": {} + } + }, "com.amazonaws.transcribe#FailureReason": { "type": "string" }, @@ -1367,7 +1391,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves information about a call analytics category.

", + "smithy.api#documentation": "

Provides information about the specified Call Analytics category.

\n

To get a list of your Call Analytics categories, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/callanalyticscategories/{CategoryName}", @@ -1381,7 +1405,7 @@ "CategoryName": { "target": "com.amazonaws.transcribe#CategoryName", "traits": { - "smithy.api#documentation": "

The name of the category you want information about. Category names are case\n sensitive.

", + "smithy.api#documentation": "

The name of the Call Analytics category you want information about. Category names are \n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1394,7 +1418,7 @@ "CategoryProperties": { "target": "com.amazonaws.transcribe#CategoryProperties", "traits": { - "smithy.api#documentation": "

Provides you with the rules associated with the category you specified in your\n GetCallAnalyticsCategory request.

" + "smithy.api#documentation": "

Provides you with the properties of the Call Analytics category you specified in your\n GetCallAnalyticsCategory request.

" } } } @@ -1422,7 +1446,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves information about a call analytics job.

\n

To view the job's status, refer to the CallAnalyticsJobStatus field. If the \n status is COMPLETED, the job is finished. You can then find your transcript at \n the URI specified in the TranscriptFileUri field. If you enabled personally \n identifiable information (PII) redaction, the redacted transcript appears in the\n RedactedTranscriptFileUri field.

", + "smithy.api#documentation": "

Provides information about the specified Call Analytics job.

\n

To view the job's status, refer to CallAnalyticsJobStatus. If the status is\n COMPLETED, the job is finished. You can find your completed transcript at \n the URI specified in TranscriptFileUri. If the status is FAILED, \n FailureReason provides details on why your transcription job failed.

\n

If you enabled personally identifiable information (PII) redaction, the redacted transcript\n appears at the location specified in RedactedTranscriptFileUri.

\n

If you chose to redact the audio in your media file, you can find your redacted media file\n at the location specified in RedactedMediaFileUri.

\n

To get a list of your Call Analytics jobs, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/callanalyticsjobs/{CallAnalyticsJobName}", @@ -1436,7 +1460,7 @@ "CallAnalyticsJobName": { "target": "com.amazonaws.transcribe#CallAnalyticsJobName", "traits": { - "smithy.api#documentation": "

The name of the analytics job you want information about. This value is case\n sensitive.

", + "smithy.api#documentation": "

The name of the Call Analytics job you want information about. Job names are case \n sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1449,7 +1473,7 @@ "CallAnalyticsJob": { "target": "com.amazonaws.transcribe#CallAnalyticsJob", "traits": { - "smithy.api#documentation": "

An object that contains detailed information about your call analytics job. Returned fields\n include: CallAnalyticsJobName, CallAnalyticsJobStatus,\n ChannelDefinitions, CompletionTime,\n CreationTime, DataAccessRoleArn,\n FailureReason, IdentifiedLanguageScore, \n LanguageCode, Media, MediaFormat,\n MediaSampleRateHertz, Settings, StartTime,\n and Transcript.

" + "smithy.api#documentation": "

Provides detailed information about the specified Call Analytics job, including job status\n and, if applicable, failure reason.

" } } } @@ -1477,7 +1501,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves information about a medical transcription job.

\n

To view the job's status, refer to the TranscriptionJobStatus field. If the \n status is COMPLETED, the job is finished. You can then find your transcript at \n the URI specified in the TranscriptFileUri field.

", + "smithy.api#documentation": "

Provides information about the specified medical transcription job.

\n

To view the status of the specified medical transcription job, check the \n TranscriptionJobStatus field. If the status is COMPLETED, the \n job is finished and you can find the results at the location specified in \n TranscriptFileUri. If the status is FAILED, \n FailureReason provides details on why your transcription job failed.

\n

To get a list of your medical transcription jobs, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/medicaltranscriptionjobs/{MedicalTranscriptionJobName}", @@ -1491,7 +1515,7 @@ "MedicalTranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the medical transcription job you want information about. This value is case\n sensitive.

", + "smithy.api#documentation": "

The name of the medical transcription job you want information about. Job names are case\n sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1504,7 +1528,7 @@ "MedicalTranscriptionJob": { "target": "com.amazonaws.transcribe#MedicalTranscriptionJob", "traits": { - "smithy.api#documentation": "

An object that contains detailed information about your medical transcription job.\n Returned fields include: CompletionTime,\n ContentIdentificationType, CreationTime,\n FailureReason, LanguageCode, Media,\n MediaFormat, MediaSampleRateHertz, \n MedicalTranscriptionJobName, Settings,\n Specialty, StartTime, Tags,\n Transcript, TranscriptionJobStatus, and\n Type.

" + "smithy.api#documentation": "

Provides detailed information about the specified medical transcription job, including job\n status and, if applicable, failure reason.

" } } } @@ -1532,7 +1556,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves information about a medical vocabulary.

", + "smithy.api#documentation": "

Provides information about the specified custom medical vocabulary.

\n

To view the status of the specified medical vocabulary, check the \n VocabularyState field. If the status is READY, your vocabulary\n is available to use. If the status is FAILED, FailureReason provides \n details on why your vocabulary failed.

\n

To get a list of your custom medical vocabularies, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/medicalvocabularies/{VocabularyName}", @@ -1546,7 +1570,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the medical vocabulary you want information about. This value is case \n sensitive.

", + "smithy.api#documentation": "

The name of the custom medical vocabulary you want information about. Vocabulary names\n are case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1559,37 +1583,37 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary returned by Amazon Transcribe Medical.

" + "smithy.api#documentation": "

The name of the custom medical vocabulary you requested information about.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The valid language code for your vocabulary entries.

" + "smithy.api#documentation": "

The language code you selected for your medical vocabulary. US English \n (en-US) is the only language supported with Amazon Transcribe Medical.

" } }, "VocabularyState": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The processing state of the vocabulary. If the VocabularyState is READY \n then you can use it in the StartMedicalTranscriptionJob operation.

" + "smithy.api#documentation": "

The processing state of your custom medical vocabulary. If the state is \n READY, you can use the vocabulary in a \n StartMedicalTranscriptionJob request.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the vocabulary was last modified with a text file different from the one that was \n previously used.

" + "smithy.api#documentation": "

The date and time the specified custom medical vocabulary was last modified.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If your request returns a VocabularyState that is FAILED,\n the FailureReason field contains information about why the request \n failed.

\n

For more information, refer to the Common Errors\n section.

" + "smithy.api#documentation": "

If VocabularyState is FAILED, \n FailureReason contains information about why the medical vocabulary \n request failed. See also: Common Errors.

" } }, "DownloadUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 location where the vocabulary is stored; use this URI to view or download the\n vocabulary.

" + "smithy.api#documentation": "

The S3 location where the specified medical vocabulary is stored; use this URI to view or \n download the vocabulary.

" } } } @@ -1617,7 +1641,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about a transcription job. To see the status of the job, check the \n TranscriptionJobStatus field. If the status is COMPLETED, \n the job is finished and you can find the results at the location specified in the\n TranscriptFileUri field. If you enable content redaction, the redacted\n transcript appears in RedactedTranscriptFileUri.

", + "smithy.api#documentation": "

Provides information about the specified transcription job.

\n

To view the status of the specified transcription job, check the \n TranscriptionJobStatus field. If the status is COMPLETED, the \n job is finished and you can find the results at the location specified in\n TranscriptFileUri. If the status is FAILED, \n FailureReason provides details on why your transcription job failed.

\n

If you enabled content redaction, the redacted transcript\n can be found at the location specified in RedactedTranscriptFileUri.

\n

To get a list of your transcription jobs, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/transcriptionjobs/{TranscriptionJobName}", @@ -1631,7 +1655,7 @@ "TranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the job.

", + "smithy.api#documentation": "

The name of the transcription job you want information about. Job names are case\n sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1644,7 +1668,7 @@ "TranscriptionJob": { "target": "com.amazonaws.transcribe#TranscriptionJob", "traits": { - "smithy.api#documentation": "

An object that contains the results of the transcription job.

" + "smithy.api#documentation": "

Provides detailed information about the specified transcription job, including job status\n and, if applicable, failure reason.

" } } } @@ -1672,7 +1696,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a vocabulary.

", + "smithy.api#documentation": "

Provides information about the specified custom vocabulary.

\n

To view the status of the specified vocabulary, check the VocabularyState \n field. If the status is READY, your vocabulary is available to use. If the status\n is FAILED, FailureReason provides details on why your \n vocabulary failed.

\n

To get a list of your custom vocabularies, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/vocabularies/{VocabularyName}", @@ -1703,7 +1727,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about a vocabulary filter.

", + "smithy.api#documentation": "

Provides information about the specified custom vocabulary filter.

\n

To view the status of the specified vocabulary filter, check the VocabularyState \n field. If the status is READY, your vocabulary is available to use. If the status is \n FAILED, FailureReason provides details on why your vocabulary\n filter failed.

\n

To get a list of your custom vocabulary filters, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/vocabularyFilters/{VocabularyFilterName}", @@ -1717,7 +1741,7 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter for which to return information.

", + "smithy.api#documentation": "

The name of the custom vocabulary filter you want information about. Vocabulary filter \n names are case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1730,25 +1754,25 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter.

" + "smithy.api#documentation": "

The name of the custom vocabulary filter you requested information about.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the words in the vocabulary filter.

" + "smithy.api#documentation": "

The language code you selected for your vocabulary filter.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the contents of the vocabulary filter were updated.

" + "smithy.api#documentation": "

The date and time the specified vocabulary filter was last modified.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "DownloadUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The URI of the list of words in the vocabulary filter. You can use this URI to get the list of words.

" + "smithy.api#documentation": "

The Amazon S3 location where the vocabulary filter is stored; use this URI to view or \n download the vocabulary filter.

" } } } @@ -1759,7 +1783,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary to return information about. The name is case\n sensitive.

", + "smithy.api#documentation": "

The name of the custom vocabulary you want information about. Vocabulary names are\n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1772,37 +1796,37 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary to return.

" + "smithy.api#documentation": "

The name of the custom vocabulary you requested information about.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the vocabulary entries.

" + "smithy.api#documentation": "

The language code you selected for your custom vocabulary.

" } }, "VocabularyState": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The processing state of the vocabulary.

" + "smithy.api#documentation": "

The processing state of your custom vocabulary. If the state is READY, you\n can use the vocabulary in a StartTranscriptionJob request.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the vocabulary was last modified.

" + "smithy.api#documentation": "

The date and time the specified vocabulary was last modified.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the VocabularyState field is FAILED, this field contains\n information about why the job failed.

" + "smithy.api#documentation": "

If VocabularyState is FAILED, \n FailureReason contains information about why the vocabulary request failed.\n See also: Common Errors.

" } }, "DownloadUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 location where the vocabulary is stored. Use this URI to get the contents of\n the vocabulary. The URI is available for a limited time.

" + "smithy.api#documentation": "

The S3 location where the vocabulary is stored; use this URI to view or download the \n vocabulary.

" } } } @@ -1819,26 +1843,26 @@ "S3Uri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The Amazon S3 prefix you specify to access the plain text files that you use to train your \n custom language model.

", + "smithy.api#documentation": "

The Amazon S3 location (URI) of the text files you want to use to train your custom\n language model.

\n

Here's an example URI path: \n s3://DOC-EXAMPLE-BUCKET/my-model-training-data/\n

", "smithy.api#required": {} } }, "TuningDataS3Uri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The Amazon S3 prefix you specify to access the plain text files that you use to tune your \n custom language model.

" + "smithy.api#documentation": "

The Amazon S3 location (URI) of the text files you want to use to tune your custom\n language model.

\n

Here's an example URI path: \n s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/\n

" } }, "DataAccessRoleArn": { "target": "com.amazonaws.transcribe#DataAccessRoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given\n Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data. ARNs have the\n format\n arn:partition:service:region:account-id:resource-type/resource-id.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that has permissions to\n access the Amazon S3 bucket that contains your input files. If the role you specify doesn’t \n have the appropriate permissions to access the specified Amazon S3 location, your request\n fails.

\n

IAM role ARNs have the format\n arn:partition:iam::account:role/role-name-with-path. For example:\n arn:aws:iam::111122223333:role/Admin.

\n

For more information, see IAM ARNs.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The object that contains the Amazon S3 object location and access role required to train and \n tune your custom language model.

" + "smithy.api#documentation": "

Contains the Amazon S3 location of the training data you want to use to create a new \n custom language model, and permissions to access this location.

\n

When using InputDataConfig, you must include these sub-parameters:\n S3Uri and DataAccessRoleArn. You can optionally include\n TuningDataS3Uri.

" } }, "com.amazonaws.transcribe#InternalFailureException": { @@ -1849,7 +1873,7 @@ } }, "traits": { - "smithy.api#documentation": "

There was an internal error. Check the error message and try your request again.

", + "smithy.api#documentation": "

There was an internal error. Check the error message, correct the issue, and try your\n request again.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } @@ -1860,36 +1884,36 @@ "Threshold": { "target": "com.amazonaws.transcribe#TimestampMilliseconds", "traits": { - "smithy.api#documentation": "

The duration of the interruption.

" + "smithy.api#documentation": "

Specify the duration of the interruptions in milliseconds. For example, you can flag speech that \n contains more than 10000 milliseconds of interruptions.

" } }, "ParticipantRole": { "target": "com.amazonaws.transcribe#ParticipantRole", "traits": { - "smithy.api#documentation": "

Indicates whether the caller or customer was interrupting.

" + "smithy.api#documentation": "

Specify the interrupter you want to flag. Omitting this parameter is equivalent to specifying \n both participants.

" } }, "AbsoluteTimeRange": { "target": "com.amazonaws.transcribe#AbsoluteTimeRange", "traits": { - "smithy.api#documentation": "

An object you can use to specify a time range (in milliseconds) for when you'd want to \n find the interruption. For example, you could search for an interruption between the 30,000 \n millisecond mark and the 45,000 millisecond mark. You could also specify the time period as \n the first 15,000 milliseconds or the last 15,000 milliseconds.

" + "smithy.api#documentation": "

Allows you to specify a time range (in milliseconds) in your audio, during which you want\n to search for an interruption. See for more \n detail.

" } }, "RelativeTimeRange": { "target": "com.amazonaws.transcribe#RelativeTimeRange", "traits": { - "smithy.api#documentation": "

An object that allows percentages to specify the proportion of the call where there was\n a interruption. For example, you can specify the first half of the call. You can also specify the\n period of time between halfway through to three-quarters of the way through the call. \n Because the length of conversation can vary between calls, you can apply relative time \n ranges across all calls.

" + "smithy.api#documentation": "

Allows you to specify a time range (in percentage) in your media file, during which you\n want to search for an interruption. See for more \n detail.

" } }, "Negate": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Set to TRUE to look for a time period where there was no interruption.

" + "smithy.api#documentation": "

Set to TRUE to flag speech that does not contain interruptions. Set to \n FALSE to flag speech that contains interruptions.

" } } }, "traits": { - "smithy.api#documentation": "

An object that enables you to configure your category to be applied to call analytics \n jobs where either the customer or agent was interrupted.

" + "smithy.api#documentation": "

Flag the presence or absence of interruptions in your Call Analytics transcription output.

\n

Rules using InterruptionFilter are designed to match:

\n \n

See Rule\n criteria for usage examples.

" } }, "com.amazonaws.transcribe#JobExecutionSettings": { @@ -1898,18 +1922,18 @@ "AllowDeferredExecution": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit \n is exceeded. When the AllowDeferredExecution field is true, jobs are queued\n and executed when the number of executing jobs falls below the concurrent execution limit. If\n the field is false, Amazon Transcribe returns a LimitExceededException exception.

\n

Note that job queuing is enabled by default for call analytics jobs.

\n

If you specify the AllowDeferredExecution field, you must specify the \n DataAccessRoleArn field.

" + "smithy.api#documentation": "

Allows you to enable job queuing when your concurrent request limit is exceeded. When \n AllowDeferredExecution is set to true, transcription job requests are\n placed in a queue until the number of jobs falls below the concurrent request limit. If\n AllowDeferredExecution is set to false and the number of transcription\n job requests exceed the concurrent request limit, you get a LimitExceededException \n error.

\n

Note that job queuing is enabled by default for Call Analytics jobs.

\n

If you include AllowDeferredExecution in your request, you must also include\n DataAccessRoleArn.

" } }, "DataAccessRoleArn": { "target": "com.amazonaws.transcribe#DataAccessRoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN), in the form\n arn:partition:service:region:account-id:resource-type/resource-id, of a role \n that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to \n read queued media files. If you have specified an output S3 bucket for the transcription \n results, this role should have access to the output bucket as well.

\n

If you specify the AllowDeferredExecution field, you must specify the\n DataAccessRoleArn field.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that has permissions to\n access the Amazon S3 bucket that contains your input files. If the role you specify doesn’t \n have the appropriate permissions to access the specified Amazon S3 location, your request \n fails.

\n

IAM role ARNs have the format\n arn:partition:iam::account:role/role-name-with-path. For example:\n arn:aws:iam::111122223333:role/Admin. For more information, see \n IAM ARNs.

\n

Note that if you include DataAccessRoleArn in your request, you must also include\n AllowDeferredExecution.

" } } }, "traits": { - "smithy.api#documentation": "

Provides information about when a transcription job should be executed.

" + "smithy.api#documentation": "

Allows you to control how your transcription job is processed. Currently, the only\n JobExecutionSettings modification you can choose is enabling job queueing using \n the AllowDeferredExecution sub-parameter.

\n

If you include JobExecutionSettings in your request, you must also include\n the sub-parameters: AllowDeferredExecution and \n DataAccessRoleArn.

" } }, "com.amazonaws.transcribe#KMSEncryptionContextMap": { @@ -2104,30 +2128,56 @@ ] } }, + "com.amazonaws.transcribe#LanguageCodeItem": { + "type": "structure", + "members": { + "LanguageCode": { + "target": "com.amazonaws.transcribe#LanguageCode", + "traits": { + "smithy.api#documentation": "

Provides the language code for each language identified in your media.

" + } + }, + "DurationInSeconds": { + "target": "com.amazonaws.transcribe#DurationInSeconds", + "traits": { + "smithy.api#documentation": "

Provides the total time, in seconds, each identified language is spoken in your media.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides information on the speech contained in a discreet utterance when \n multi-language identification is enabled in your request. This utterance represents a block \n of speech consisting of one language, preceded or followed by a block of speech in a different\n language.

" + } + }, + "com.amazonaws.transcribe#LanguageCodeList": { + "type": "list", + "member": { + "target": "com.amazonaws.transcribe#LanguageCodeItem" + } + }, "com.amazonaws.transcribe#LanguageIdSettings": { "type": "structure", "members": { "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary you want to use when processing your transcription job. The \n vocabulary you specify must have the same language codes as the transcription job; if the\n languages don't match, the vocabulary isn't applied.

" + "smithy.api#documentation": "

The name of the custom vocabulary you want to use when processing your transcription job. \n Vocabulary names are case sensitive.

\n

The language of the specified vocabulary must match the language code you specify in\n your transcription request. If the languages don't match, the vocabulary isn't applied. There\n are no errors or warnings associated with a language mismatch.

" } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter you want to use when transcribing your audio. The filter\n you specify must have the same language codes as the transcription job; if the languages \n don't match, the vocabulary filter isn't be applied.

" + "smithy.api#documentation": "

The name of the custom vocabulary filter you want to use when processing your \n transcription job. Vocabulary filter names are case sensitive.

\n

The language of the specified vocabulary filter must match the language code you specify\n in your transcription request. If the languages don't match, the vocabulary filter isn't applied. \n There are no errors or warnings associated with a language mismatch.

\n

Note that if you include VocabularyFilterName in your request, you must \n also include VocabularyFilterMethod.

" } }, "LanguageModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The name of the language model you want to use when transcribing your audio. The \n model you specify must have the same language codes as the transcription job; if the \n languages don't match, the language model isn't be applied.

" + "smithy.api#documentation": "

The name of the custom language model you want to use when processing your \n transcription job. Note that language model names are case sensitive.

\n

The language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the language model isn't applied. \n There are no errors or warnings associated with a language mismatch.

" } } }, "traits": { - "smithy.api#documentation": "

Language-specific settings that can be specified when language identification is \n enabled.

" + "smithy.api#documentation": "

If using automatic language identification (IdentifyLanguage) in your request \n and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary\n filter, include LanguageIdSettings with the relevant sub-parameters \n (VocabularyName, LanguageModelName, and \n VocabularyFilterName).

\n

You can specify two or more language codes that represent the languages you think may be \n present in your media; including more than five is not recommended. Each language code you \n include can have an associated custom language model, custom vocabulary, and custom \n vocabulary filter. The languages you specify must match the languages of the specified custom\n language models, custom vocabularies, and custom vocabulary filters.

\n

To include language options using IdentifyLanguage \n without including a custom language model, a custom \n vocabulary, or a custom vocabulary filter, use LanguageOptions instead of\n LanguageIdSettings. Including language options can improve the accuracy of \n automatic language identification.

\n

If you want to include a custom language model with your request but \n do not want to use automatic language identification,\n use instead the parameter with the\n LanguageModelName sub-parameter.

\n

If you want to include a custom vocabulary or a custom vocabulary filter (or both) with\n your request but do not want to use automatic \n language identification, use instead the \n parameter with the VocabularyName or \n VocabularyFilterName (or both) sub-parameter.

" } }, "com.amazonaws.transcribe#LanguageIdSettingsMap": { @@ -2151,60 +2201,60 @@ "ModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The name of the custom language model.

" + "smithy.api#documentation": "

A unique name, chosen by you, for your custom language model.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account.

" } }, "CreateTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The time the custom language model was created.

" + "smithy.api#documentation": "

The date and time the specified custom language model was created.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The most recent time the custom language model was modified.

" + "smithy.api#documentation": "

The date and time the specified language model was last modified.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#CLMLanguageCode", "traits": { - "smithy.api#documentation": "

The language code you used to create your custom language model.

" + "smithy.api#documentation": "

The language code used to create your custom language model. Each language model must\n contain terms in only one language, and the language you select for your model must match \n the language of your training and tuning data.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported\n languages table. Note that U.S. English (en-US) is the only language \n supported with Amazon Transcribe Medical.

" } }, "BaseModelName": { "target": "com.amazonaws.transcribe#BaseModelName", "traits": { - "smithy.api#documentation": "

The Amazon Transcribe standard language model, or base model used to create the custom language\n model.

" + "smithy.api#documentation": "

The Amazon Transcribe standard language model, or base model, used to create your custom\n language model.

" } }, "ModelStatus": { "target": "com.amazonaws.transcribe#ModelStatus", "traits": { - "smithy.api#documentation": "

The creation status of a custom language model. When the status is \n COMPLETED the model is ready for use.

" + "smithy.api#documentation": "

The status of the specified custom language model. When the status displays as \n COMPLETED the model is ready for use.

" } }, "UpgradeAvailability": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Whether the base model used for the custom language model is up to date. If this field \n is false then you are running the most up-to-date version of the base model \n in your custom language model.

" + "smithy.api#documentation": "

Shows if a more current base model is available for use with the specified custom language \n model.

\n

If false, your language model is using the most up-to-date base model.

\n

If true, there is a newer base model available than the one your language \n model is using.

\n

Note that to update a base model, you must recreate the custom language model using the\n new base model. Base model upgrades for existing custom language models are not \n supported.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

The reason why the custom language model couldn't be created.

" + "smithy.api#documentation": "

If ModelStatus is FAILED, FailureReason\n contains information about why the custom language model request failed. See also: \n Common Errors.

" } }, "InputDataConfig": { "target": "com.amazonaws.transcribe#InputDataConfig", "traits": { - "smithy.api#documentation": "

The data access role and Amazon S3 prefixes for the input files used to train the custom\n language model.

" + "smithy.api#documentation": "

The Amazon S3 location of the input files used to train and tune your custom language \n model, in addition to the data access role ARN (Amazon Resource Name) that has permissions to \n access these data.

" } } }, "traits": { - "smithy.api#documentation": "

The structure used to describe a custom language model.

" + "smithy.api#documentation": "

Provides information about a custom language model, including the base model name, when \n the model was created, the location of the files used to train the model, when the model was last\n modified, the name you chose for the model, its language, its processing state, and if there is an\n upgrade available for the base model.

" } }, "com.amazonaws.transcribe#LanguageOptions": { @@ -2226,7 +2276,7 @@ } }, "traits": { - "smithy.api#documentation": "

Either you have sent too many requests or your input file is too long. Wait before you\n resend your request, or use a smaller file and resend the request.

", + "smithy.api#documentation": "

You've either sent too many requests or your input file is too long. Wait before retrying \n your request, or use a smaller file and try your request again.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } @@ -2251,7 +2301,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides more information about the call analytics categories that you've created. You \n can use the information in this list to find a specific category. You can then use the\n operation to get more information about \n it.

", + "smithy.api#documentation": "

Provides a list of Call Analytics categories, including all rules that make up each category.

\n

To get detailed information about a specific Call Analytics category, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/callanalyticscategories", @@ -2270,14 +2320,14 @@ "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

When included, NextTokenfetches the next set of categories if the result \n of the previous request was truncated.

", + "smithy.api#documentation": "

If your ListCallAnalyticsCategories request returns more results than can \n be displayed, NextToken is displayed in the response with an associated string.\n To get the next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of categories to return in each page of results. If there are fewer \n results than the value you specify, only the actual results are returned. If you do not specify a\n value, the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of Call Analytics categories to return in each page of results. If there\n are fewer results than the value you specify, only the actual results are returned. If you don't \n specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } } @@ -2289,13 +2339,13 @@ "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The operation returns a page of jobs at\n a time. The maximum size of the list is set by the MaxResults parameter. If \n there are more categories in the list than the page size, Amazon Transcribe returns the \n NextPage token. Include the token in the next request to the \n operation to return the next page of analytics\n categories.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to \n view all your results.

" } }, "Categories": { "target": "com.amazonaws.transcribe#CategoryPropertiesList", "traits": { - "smithy.api#documentation": "

A list of objects containing information about analytics categories.

" + "smithy.api#documentation": "

Provides detailed information about your Call Analytics categories, including all the rules \n associated with each category.

" } } } @@ -2320,7 +2370,7 @@ } ], "traits": { - "smithy.api#documentation": "

List call analytics jobs with a specified status or substring that matches their names.

", + "smithy.api#documentation": "

Provides a list of Call Analytics jobs that match the specified criteria. If no criteria are \n specified, all Call Analytics jobs are returned.

\n

To get detailed information about a specific Call Analytics job, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/callanalyticsjobs", @@ -2339,28 +2389,28 @@ "Status": { "target": "com.amazonaws.transcribe#CallAnalyticsJobStatus", "traits": { - "smithy.api#documentation": "

When specified, returns only call analytics jobs with the specified status. Jobs are ordered\n by creation date, with the most recent jobs returned first. If you don't specify a status, Amazon Transcribe \n returns all analytics jobs ordered by creation date.

", + "smithy.api#documentation": "

Returns only Call Analytics jobs with the specified status. Jobs are ordered by creation \n date, with the newest job first. If you don't include Status, all Call Analytics\n jobs are returned.

", "smithy.api#httpQuery": "Status" } }, "JobNameContains": { "target": "com.amazonaws.transcribe#CallAnalyticsJobName", "traits": { - "smithy.api#documentation": "

When specified, the jobs returned in the list are limited to jobs whose name contains the\n specified string.

", + "smithy.api#documentation": "

Returns only the Call Analytics jobs that contain the specified string. The search is not\n case sensitive.

", "smithy.api#httpQuery": "JobNameContains" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

If you receive a truncated result in the previous request of \n , include NextToken to fetch the \n next set of jobs.

", + "smithy.api#documentation": "

If your ListCallAnalyticsJobs request returns more results than can be \n displayed, NextToken is displayed in the response with an associated string. To \n get the next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of call analytics jobs to return in each page of results. If there \n are fewer results than the value you specify, only the actual results are returned. If you do \n not specify a value, the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of Call Analytics jobs to return in each page of results. If there are\n fewer results than the value you specify, only the actual results are returned. If you don't \n specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } } @@ -2372,19 +2422,19 @@ "Status": { "target": "com.amazonaws.transcribe#CallAnalyticsJobStatus", "traits": { - "smithy.api#documentation": "

When specified, returns only call analytics jobs with that status. Jobs are ordered\n by creation date, with the most recent jobs returned first. If you don't specify a status, Amazon Transcribe\n returns all transcription jobs ordered by creation date.

" + "smithy.api#documentation": "

Lists all Call Analytics jobs that have the status specified in your request. Jobs are\n ordered by creation date, with the newest job first.

" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The operation returns a page of jobs at a time.\n The maximum size of the page is set by the MaxResults parameter. If there are\n more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. \n Include the token in your next request to the \n operation to return next page of jobs.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to \n view all your results.

" } }, "CallAnalyticsJobSummaries": { "target": "com.amazonaws.transcribe#CallAnalyticsJobSummaries", "traits": { - "smithy.api#documentation": "

A list of objects containing summary information for a transcription job.

" + "smithy.api#documentation": "

Provides a summary of information about each result.

" } } } @@ -2409,7 +2459,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides more information about the custom language models you've created. You can \n use the information in this list to find a specific custom language model. You can then use \n the operation to get more information about \n it.

", + "smithy.api#documentation": "

Provides a list of custom language models that match the specified criteria. If no criteria\n are specified, all language models are returned.

\n

To get detailed information about a specific custom language model, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/languagemodels", @@ -2428,28 +2478,28 @@ "StatusEquals": { "target": "com.amazonaws.transcribe#ModelStatus", "traits": { - "smithy.api#documentation": "

When specified, returns only custom language models with the specified status. Language\n models are ordered by creation date, with the newest models first. If you don't specify a \n status, Amazon Transcribe returns all custom language models ordered by date.

", + "smithy.api#documentation": "

Returns only custom language models with the specified status. Language\n models are ordered by creation date, with the newest model first. If you don't include\n StatusEquals, all custom language models are returned.

", "smithy.api#httpQuery": " StatusEquals" } }, "NameContains": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

When specified, the custom language model names returned contain the substring you've\n specified.

", + "smithy.api#documentation": "

Returns only the custom language models that contain the specified string. The search \n is not case sensitive.

", "smithy.api#httpQuery": "NameContains" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

When included, fetches the next set of jobs if the result of the previous request was\n truncated.

", + "smithy.api#documentation": "

If your ListLanguageModels request returns more results than can be \n displayed, NextToken is displayed in the response with an associated string. To\n get the next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of language models to return in each page of results. If there are\n fewer results than the value you specify, only the actual results are returned. If you do not \n specify a value, the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of custom language models to return in each page of results. If there\n are fewer results than the value you specify, only the actual results are returned. If you don't \n specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } } @@ -2461,13 +2511,13 @@ "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The operation returns a page of jobs at a \n time. The maximum size of the list is set by the MaxResults parameter. If there are more \n language models in the list than the page size, Amazon Transcribe returns the NextPage \n token. Include the token in the next request to the \n operation to return the next page of language \n models.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to\n view all your results.

" } }, "Models": { "target": "com.amazonaws.transcribe#Models", "traits": { - "smithy.api#documentation": "

A list of objects containing information about custom language models.

" + "smithy.api#documentation": "

Provides information about the custom language models that match the criteria specified\n in your request.

" } } } @@ -2492,7 +2542,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists medical transcription jobs with a specified status or substring that matches their\n names.

", + "smithy.api#documentation": "

Provides a list of medical transcription jobs that match the specified criteria. If no criteria are \n specified, all medical transcription jobs are returned.

\n

To get detailed information about a specific medical transcription job, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/medicaltranscriptionjobs", @@ -2511,28 +2561,28 @@ "Status": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

When specified, returns only medical transcription jobs with the specified status. Jobs \n are ordered by creation date, with the newest jobs returned first. If you don't specify a status,\n Amazon Transcribe Medical returns all transcription jobs ordered by creation date.

", + "smithy.api#documentation": "

Returns only medical transcription jobs with the specified status. Jobs are ordered by \n creation date, with the newest job first. If you don't include Status, all\n medical transcription jobs are returned.

", "smithy.api#httpQuery": "Status" } }, "JobNameContains": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

When specified, the jobs returned in the list are limited to jobs whose name contains the \n specified string.

", + "smithy.api#documentation": "

Returns only the medical transcription jobs that contain the specified string. The search \n is not case sensitive.

", "smithy.api#httpQuery": "JobNameContains" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

If you a receive a truncated result in the previous request of\n ListMedicalTranscriptionJobs, include NextToken to fetch the \n next set of jobs.

", + "smithy.api#documentation": "

If your ListMedicalTranscriptionJobs request returns more results than can \n be displayed, NextToken is displayed in the response with an associated string. \n To get the next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of medical transcription jobs to return in each page of results. If \n there are fewer results than the value you specify, only the actual results are returned. If you \n do not specify a value, the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of medical transcription jobs to return in each page of results. If there\n are fewer results than the value you specify, only the actual results are returned. If you don't \n specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } } @@ -2544,19 +2594,19 @@ "Status": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

The requested status of the medical transcription jobs returned.

" + "smithy.api#documentation": "

Lists all medical transcription jobs that have the status specified in your request. Jobs are\n ordered by creation date, with the newest job first.

" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The ListMedicalTranscriptionJobs operation returns a page of jobs at a\n time. The maximum size of the page is set by the MaxResults parameter. If\n the number of jobs exceeds what can fit on a page, Amazon Transcribe Medical returns the \n NextPage token. Include the token in the next request to the\n ListMedicalTranscriptionJobs operation to return in the next page of \n jobs.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to \n view all your results.

" } }, "MedicalTranscriptionJobSummaries": { "target": "com.amazonaws.transcribe#MedicalTranscriptionJobSummaries", "traits": { - "smithy.api#documentation": "

A list of objects containing summary information for a transcription job.

" + "smithy.api#documentation": "

Provides a summary of information about each result.

" } } } @@ -2581,7 +2631,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of vocabularies that match the specified criteria. If you don't enter a value in\n any of the request parameters, returns the entire list of vocabularies.

", + "smithy.api#documentation": "

Provides a list of custom medical vocabularies that match the specified criteria. If no \n criteria are specified, all custom medical vocabularies are returned.

\n

To get detailed information about a specific custom medical vocabulary, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/medicalvocabularies", @@ -2600,28 +2650,28 @@ "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

If the result of your previous request to ListMedicalVocabularies was\n truncated, include the NextToken to fetch the next set of\n vocabularies.

", + "smithy.api#documentation": "

If your ListMedicalVocabularies request returns more results than can be \n displayed, NextToken is displayed in the response with an associated string. To\n get the next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of vocabularies to return in each page of results. If there are\n fewer results than the value you specify, only the actual results are returned. If you do not\n specify a value, the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of custom medical vocabularies to return in each page of results. If \n there are fewer results than the value you specify, only the actual results are returned. If you \n don't specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } }, "StateEquals": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

When specified, returns only vocabularies with the VocabularyState equal\n to the specified vocabulary state. Use this field to see which vocabularies are ready for your\n medical transcription jobs.

", + "smithy.api#documentation": "

Returns only custom medical vocabularies with the specified state. Vocabularies are \n ordered by creation date, with the newest vocabulary first. If you don't include \n StateEquals, all custom medical vocabularies are returned.

", "smithy.api#httpQuery": "StateEquals" } }, "NameContains": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

Returns vocabularies whose names contain the specified string. The search is not case \n sensitive. ListMedicalVocabularies returns both \n \"vocabularyname\" and \"VocabularyName\".

", + "smithy.api#documentation": "

Returns only the custom medical vocabularies that contain the specified string. The search \n is not case sensitive.

", "smithy.api#httpQuery": "NameContains" } } @@ -2633,19 +2683,19 @@ "Status": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The requested vocabulary state.

" + "smithy.api#documentation": "

Lists all custom medical vocabularies that have the status specified in your request. \n Vocabularies are ordered by creation date, with the newest vocabulary first.

" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The ListMedicalVocabularies operation returns a page of vocabularies at \n a time. You set the maximum number of vocabularies to return on a page with the\n MaxResults parameter. If there are more jobs in the list will fit on a page, \n Amazon Transcribe Medical returns the NextPage token. To return the next page of vocabularies,\n include the token in the next request to the ListMedicalVocabularies \n operation.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to\n view all your results.

" } }, "Vocabularies": { "target": "com.amazonaws.transcribe#Vocabularies", "traits": { - "smithy.api#documentation": "

A list of objects that describe the vocabularies that match your search criteria.

" + "smithy.api#documentation": "

Provides information about the custom medical vocabularies that match the criteria specified\n in your request.

" } } } @@ -2673,7 +2723,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists all tags associated with a given transcription job, vocabulary, or resource.

", + "smithy.api#documentation": "

Lists all tags associated with the specified transcription job, vocabulary, model, or \n resource.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

", "smithy.api#http": { "method": "GET", "uri": "/tags/{ResourceArn}", @@ -2687,7 +2737,7 @@ "ResourceArn": { "target": "com.amazonaws.transcribe#TranscribeArn", "traits": { - "smithy.api#documentation": "

Lists all tags associated with a given Amazon Resource Name (ARN). ARNs have the format\n arn:partition:service:region:account-id:resource-type/resource-id (for example,\n arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). Valid \n values for resource-type are: transcription-job,\n medical-transcription-job, vocabulary, \n medical-vocabulary, vocabulary-filter, and \n language-model.

", + "smithy.api#documentation": "

Returns a list of all tags associated with the specified Amazon Resource Name (ARN). ARNs \n have the format arn:partition:service:region:account-id:resource-type/resource-id.

\n

For example, \n arn:aws:transcribe:us-west-2:account-id:transcription-job/transcription-job-name.

\n

Valid values for resource-type are: transcription-job,\n medical-transcription-job, vocabulary, \n medical-vocabulary, vocabulary-filter, and \n language-model.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2700,13 +2750,13 @@ "ResourceArn": { "target": "com.amazonaws.transcribe#TranscribeArn", "traits": { - "smithy.api#documentation": "

Lists all tags associated with the given Amazon Resource Name (ARN).

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) specified in your request.

" } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

Lists all tags associated with the given transcription job, vocabulary, or resource.

" + "smithy.api#documentation": "

Lists all tags associated with the given transcription job, vocabulary, model, or \n resource.

" } } } @@ -2731,7 +2781,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists transcription jobs with the specified status.

", + "smithy.api#documentation": "

Provides a list of transcription jobs that match the specified criteria. If no criteria are \n specified, all transcription jobs are returned.

\n

To get detailed information about a specific transcription job, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/transcriptionjobs", @@ -2750,28 +2800,28 @@ "Status": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

When specified, returns only transcription jobs with the specified status. Jobs are ordered\n by creation date, with the newest jobs returned first. If you don’t specify a status, Amazon Transcribe \n returns all transcription jobs ordered by creation date.

", + "smithy.api#documentation": "

Returns only transcription jobs with the specified status. Jobs are ordered by creation \n date, with the newest job first. If you don't include Status, all transcription \n jobs are returned.

", "smithy.api#httpQuery": "Status" } }, "JobNameContains": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

When specified, the jobs returned in the list are limited to jobs whose name contains the\n specified string.

", + "smithy.api#documentation": "

Returns only the transcription jobs that contain the specified string. The search is not\n case sensitive.

", "smithy.api#httpQuery": "JobNameContains" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

If the result of the previous request to ListTranscriptionJobs is truncated, \n include the NextToken to fetch the next set of jobs.

", + "smithy.api#documentation": "

If your ListTranscriptionJobs request returns more results than can be \n displayed, NextToken is displayed in the response with an associated string. To \n get the next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of jobs to return in each page of results. If there are fewer results\n than the value you specify, only the actual results are returned. If you do not specify a value,\n the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of transcription jobs to return in each page of results. If there are\n fewer results than the value you specify, only the actual results are returned. If you don't \n specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } } @@ -2783,19 +2833,19 @@ "Status": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

The requested status of the jobs returned.

" + "smithy.api#documentation": "

Lists all transcription jobs that have the status specified in your request. Jobs are\n ordered by creation date, with the newest job first.

" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The ListTranscriptionJobs operation returns a page of jobs at a time. The\n maximum size of the page is set by the MaxResults parameter. If there are\n more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. \n Include the token in the next request to the ListTranscriptionJobs operation to \n return in the next page of jobs.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to \n view all your results.

" } }, "TranscriptionJobSummaries": { "target": "com.amazonaws.transcribe#TranscriptionJobSummaries", "traits": { - "smithy.api#documentation": "

A list of objects containing summary information for a transcription job.

" + "smithy.api#documentation": "

Provides a summary of information about each result.

" } } } @@ -2820,7 +2870,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of vocabularies that match the specified criteria. If no criteria are specified, \n returns the entire list of vocabularies.

", + "smithy.api#documentation": "

Provides a list of custom vocabularies that match the specified criteria. If no criteria are\n specified, all custom vocabularies are returned.

\n

To get detailed information about a specific custom vocabulary, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/vocabularies", @@ -2839,28 +2889,28 @@ "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

If the result of the previous request to ListVocabularies was truncated, \n include the NextToken to fetch the next set of jobs.

", + "smithy.api#documentation": "

If your ListVocabularies request returns more results than can be displayed,\n NextToken is displayed in the response with an associated string. To get the \n next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of vocabularies to return in each page of results. If there are fewer \n results than the value you specify, only the actual results are returned. If you do not specify a \n value, the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of custom vocabularies to return in each page of results. If there \n are fewer results than the value you specify, only the actual results are returned. If you \n don't specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } }, "StateEquals": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

When specified, only returns vocabularies with the VocabularyState field \n equal to the specified state.

", + "smithy.api#documentation": "

Returns only custom vocabularies with the specified state. Vocabularies are ordered by\n creation date, with the newest vocabulary first. If you don't include \n StateEquals, all custom medical vocabularies are returned.

", "smithy.api#httpQuery": "StateEquals" } }, "NameContains": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

When specified, the vocabularies returned in the list are limited to vocabularies whose \n name contains the specified string. The search is not case sensitive, \n ListVocabularies returns both \"vocabularyname\" and \"VocabularyName\" in the\n response list.

", + "smithy.api#documentation": "

Returns only the custom vocabularies that contain the specified string. The search is not\n case sensitive.

", "smithy.api#httpQuery": "NameContains" } } @@ -2872,19 +2922,19 @@ "Status": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The requested vocabulary state.

" + "smithy.api#documentation": "

Lists all custom vocabularies that have the status specified in your request. Vocabularies \n are ordered by creation date, with the newest vocabulary first.

" } }, "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The ListVocabularies operation returns a page of vocabularies at a time. \n The maximum size of the page is set in the MaxResults parameter. If there are\n more jobs in the list than will fit on the page, Amazon Transcribe returns the NextPage token.\n To return in the next page of jobs, include the token in the next request to the\n ListVocabularies operation.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to \n view all your results.

" } }, "Vocabularies": { "target": "com.amazonaws.transcribe#Vocabularies", "traits": { - "smithy.api#documentation": "

A list of objects that describe the vocabularies that match the search criteria in the\n request.

" + "smithy.api#documentation": "

Provides information about the custom vocabularies that match the criteria specified in your\n request.

" } } } @@ -2909,7 +2959,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about vocabulary filters.

", + "smithy.api#documentation": "

Provides a list of custom vocabulary filters that match the specified criteria. If no\n criteria are specified, all custom vocabularies are returned.

\n

To get detailed information about a specific custom vocabulary filter, use the \n operation.

", "smithy.api#http": { "method": "GET", "uri": "/vocabularyFilters", @@ -2928,21 +2978,21 @@ "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

If the result of the previous request to ListVocabularyFilters was truncated, \n include the NextToken to fetch the next set of collections.

", + "smithy.api#documentation": "

If your ListVocabularyFilters request returns more results than can \n be displayed, NextToken is displayed in the response with an associated string. \n To get the next page of results, copy this string and repeat your request, including \n NextToken with the value of the copied string. Repeat as needed to view all your \n results.

", "smithy.api#httpQuery": "NextToken" } }, "MaxResults": { "target": "com.amazonaws.transcribe#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of filters to return in each page of results. If there are fewer \n results than the value you specify, only the actual results are returned. If you do not specify \n a value, the default of 5 is used.

", + "smithy.api#documentation": "

The maximum number of custom vocabulary filters to return in each page of results. If \n there are fewer results than the value you specify, only the actual results are returned. If you \n don't specify a value, a default of 5 is used.

", "smithy.api#httpQuery": "MaxResults" } }, "NameContains": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

Filters the response so that it only contains vocabulary filters whose name contains the \n specified string.

", + "smithy.api#documentation": "

Returns only the custom vocabulary filters that contain the specified string. The search \n is not case sensitive.

", "smithy.api#httpQuery": "NameContains" } } @@ -2954,13 +3004,13 @@ "NextToken": { "target": "com.amazonaws.transcribe#NextToken", "traits": { - "smithy.api#documentation": "

The ListVocabularyFilters operation returns a page of collections at a time.\n The maximum size of the page is set by the MaxResults parameter. If there \n are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token.\n Include the token in the next request to the ListVocabularyFilters operation to \n return in the next page of jobs.

" + "smithy.api#documentation": "

If NextToken is present in your response, it indicates that not all results\n are displayed. To view the next set of results, copy the string associated with the \n NextToken parameter in your results output, then run your request again \n including NextToken with the value of the copied string. Repeat as needed to \n view all your results.

" } }, "VocabularyFilters": { "target": "com.amazonaws.transcribe#VocabularyFilters", "traits": { - "smithy.api#documentation": "

The list of vocabulary filters. It contains at most MaxResults number of \n filters. If there are more filters, call the ListVocabularyFilters operation again \n with the NextToken parameter in the request set to the value of the\n NextToken field in the response.

" + "smithy.api#documentation": "

Provides information about the custom vocabulary filters that match the criteria specified\n in your request.

" } } } @@ -3001,18 +3051,18 @@ "MediaFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 object location of the input media file. The URI must be in the same region as \n the API endpoint that you are calling. The general form is:

\n

\n s3://DOC-EXAMPLE-BUCKET/keyprefix/objectkey\n

\n

For example:

\n

\n s3://DOC-EXAMPLE-BUCKET/example.flac\n

\n

\n s3://DOC-EXAMPLE-BUCKET/mediafiles/example.flac\n

\n

For more information about S3 object names, see Object Keys in the\n Amazon S3 Developer Guide.

" + "smithy.api#documentation": "

The Amazon S3 location of the media file you want to transcribe. For\n example:

\n \n

Note that the Amazon S3 bucket that contains your input media must be located\n in the same Amazon Web Services Region where you're making your transcription \n request.

" } }, "RedactedMediaFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 object location for your redacted output media file. This is only supported for \n call analytics jobs.

" + "smithy.api#documentation": "

The Amazon S3 location of the media file you want to redact. For\n example:

\n \n

Note that the Amazon S3 bucket that contains your input media must be located\n in the same Amazon Web Services Region where you're making your transcription \n request.

\n \n

\n RedactedMediaFileUri is only supported for Call Analytics\n (StartCallAnalyticsJob) transcription requests.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Describes the input media file in a transcription request.

" + "smithy.api#documentation": "

Describes the Amazon S3 location of the media file you want to use in your \n request.

" } }, "com.amazonaws.transcribe#MediaFormat": { @@ -3087,12 +3137,12 @@ "TranscriptFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 object location of the medical transcript.

\n

Use this URI to access the medical transcript. This URI points to the S3 bucket you created \n to store the medical transcript.

" + "smithy.api#documentation": "

The Amazon S3 location of your transcript. You can use this URI to access or \n download your transcript.

\n

If you included OutputBucketName in your transcription job request, this is \n the URI of that bucket. If you also included OutputKey in your request, your \n output is located in the path you specified in your request.

\n

If you didn't include OutputBucketName in your transcription job request,\n your transcript is stored in a service-managed bucket, and TranscriptFileUri\n provides you with a temporary URI you can use for secure access to your transcript.

\n \n

Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 \n minutes. If you get an AccesDenied error, you can get a new temporary \n URI by running a GetTranscriptionJob or \n ListTranscriptionJob request.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Identifies the location of a medical transcript.

" + "smithy.api#documentation": "

Provides you with the Amazon S3 URI you can use to access your transcript.

" } }, "com.amazonaws.transcribe#MedicalTranscriptionJob": { @@ -3101,25 +3151,25 @@ "MedicalTranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name for a given medical transcription job.

" + "smithy.api#documentation": "

The name of the medical transcription job. Job names are case sensitive and must be unique \n within an Amazon Web Services account.

" } }, "TranscriptionJobStatus": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

The completion status of a medical transcription job.

" + "smithy.api#documentation": "

Provides the status of the specified medical transcription job.

\n

If the status is COMPLETED, the job is finished and you can find the results\n at the location specified in TranscriptFileUri. If the status is \n FAILED, FailureReason provides details on why your transcription\n job failed.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code for the language spoken in the source audio file. US English (en-US) \n is the only supported language for medical transcriptions. Any other value you enter for \n language code results in a BadRequestException error.

" + "smithy.api#documentation": "

The language code used to create your medical transcription job. US English \n (en-US) is the only supported language for medical transcriptions.

" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribe#MedicalMediaSampleRateHertz", "traits": { - "smithy.api#documentation": "

The sample rate, in Hertz, of the source audio containing medical information.

\n

If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to \n specify the sample rate, it must match the rate detected by Amazon Transcribe Medical.

" + "smithy.api#documentation": "

The sample rate, in Hertz, of the audio track in your input media file.

" } }, "MediaFormat": { @@ -3134,66 +3184,66 @@ "Transcript": { "target": "com.amazonaws.transcribe#MedicalTranscript", "traits": { - "smithy.api#documentation": "

An object that contains the MedicalTranscript. The\n MedicalTranscript contains the TranscriptFileUri.

" + "smithy.api#documentation": "

Provides you with the Amazon S3 URI you can use to access your transcript.

" } }, "StartTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job started processing.

" + "smithy.api#documentation": "

The date and time the specified medical transcription job began processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.789000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CreationTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job was created.

" + "smithy.api#documentation": "

The date and time the specified medical transcription job request was made.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CompletionTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job was completed.

" + "smithy.api#documentation": "

The date and time the specified medical transcription job finished processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:33:13.922000-07:00 represents a transcription job\n that started processing at 12:33 PM UTC-7 on May 4, 2022.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the TranscriptionJobStatus field is FAILED, this field \n contains information about why the job failed.

\n

The FailureReason field contains one of the following values:

\n " + "smithy.api#documentation": "

If TranscriptionJobStatus is FAILED, \n FailureReason contains information about why the transcription job request\n failed.

\n

The FailureReason field contains one of the following values:

\n " } }, "Settings": { "target": "com.amazonaws.transcribe#MedicalTranscriptionSetting", "traits": { - "smithy.api#documentation": "

Object that contains object.

" + "smithy.api#documentation": "

Specify additional optional settings in your \n request, including channel identification, alternative transcriptions, and speaker labeling; allows \n you to apply custom vocabularies to your medical transcription job.

" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribe#MedicalContentIdentificationType", "traits": { - "smithy.api#documentation": "

Shows the type of content that you've configured Amazon Transcribe Medical to identify in a transcription\n job. If the value is PHI, you've configured the job to identify personal health\n information (PHI) in the transcription output.

" + "smithy.api#documentation": "

Labels all personal health information (PHI) identified in your transcript. For more information, \n see Identifying personal health \n information (PHI) in a transcription.

" } }, "Specialty": { "target": "com.amazonaws.transcribe#Specialty", "traits": { - "smithy.api#documentation": "

The medical specialty of any clinicians providing a dictation or having a conversation. \n Refer to Transcribing a medical\n conversationfor a list of supported specialties.

" + "smithy.api#documentation": "

Describes the medical specialty represented in your media.

" } }, "Type": { "target": "com.amazonaws.transcribe#Type", "traits": { - "smithy.api#documentation": "

The type of speech in the transcription job. CONVERSATION is generally\n used for patient-physician dialogues. DICTATION is the setting for physicians\n speaking their notes after seeing a patient. For more information, see \n What \n is Amazon Transcribe Medical?.

" + "smithy.api#documentation": "

Indicates whether the input media is a dictation or a conversation, as specified in the \n StartMedicalTranscriptionJob request.

" } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

A key:value pair assigned to a given medical transcription job.

" + "smithy.api#documentation": "

The tags, each in the form of a key:value pair, assigned to the specified medical\n transcription job.

" } } }, "traits": { - "smithy.api#documentation": "

The data structure that contains the information for a medical transcription job.

" + "smithy.api#documentation": "

Provides detailed information about a medical transcription job.

\n

To view the status of the specified medical transcription job, check the \n TranscriptionJobStatus field. If the status is COMPLETED, the \n job is finished and you can find the results at the location specified in \n TranscriptFileUri. If the status is FAILED, \n FailureReason provides details on why your transcription job failed.

" } }, "com.amazonaws.transcribe#MedicalTranscriptionJobSummaries": { @@ -3208,72 +3258,72 @@ "MedicalTranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of a medical transcription job.

" + "smithy.api#documentation": "

The name of the medical transcription job. Job names are case sensitive and must be unique \n within an Amazon Web Services account.

" } }, "CreationTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the medical transcription job was created.

" + "smithy.api#documentation": "

The date and time the specified medical transcription job request was made.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "StartTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job began processing.

" + "smithy.api#documentation": "

The date and time your medical transcription job began processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.789000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CompletionTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job was completed.

" + "smithy.api#documentation": "

The date and time the specified medical transcription job finished processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:33:13.922000-07:00 represents a transcription job\n that started processing at 12:33 PM UTC-7 on May 4, 2022.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the transcript in the source audio file.

" + "smithy.api#documentation": "

The language code used to create your medical transcription. US English \n (en-US) is the only supported language for medical transcriptions.

" } }, "TranscriptionJobStatus": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

The status of the medical transcription job.

" + "smithy.api#documentation": "

Provides the status of your medical transcription job.

\n

If the status is COMPLETED, the job is finished and you can find the results\n at the location specified in TranscriptFileUri. If the status is \n FAILED, FailureReason provides details on why your transcription\n job failed.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the TranscriptionJobStatus field is FAILED, a description \n of the error.

" + "smithy.api#documentation": "

If TranscriptionJobStatus is FAILED,\n FailureReason contains information about why the transcription job \n failed. See also: Common Errors.

" } }, "OutputLocationType": { "target": "com.amazonaws.transcribe#OutputLocationType", "traits": { - "smithy.api#documentation": "

Indicates the location of the transcription job's output. This field must be the path of an\n S3 bucket; if you don't already have an S3 bucket, one is created based on the path you \n add.

" + "smithy.api#documentation": "

Indicates where the specified medical transcription output is stored.

\n

If the value is CUSTOMER_BUCKET, the location is the Amazon S3\n bucket you specified using the OutputBucketName parameter in your \n request. If you also included \n OutputKey in your request, your output is located in the path you specified in your\n request.

\n

If the value is SERVICE_BUCKET, the location is a service-managed \n Amazon S3 bucket. To access a transcript stored in a service-managed bucket, use\n the URI shown in the TranscriptFileUri field.

" } }, "Specialty": { "target": "com.amazonaws.transcribe#Specialty", "traits": { - "smithy.api#documentation": "

The medical specialty of the transcription job. Refer to Transcribing a medical\n conversationfor a list of supported specialties.

" + "smithy.api#documentation": "

Provides the medical specialty represented in your media.

" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribe#MedicalContentIdentificationType", "traits": { - "smithy.api#documentation": "

Shows the type of information you've configured Amazon Transcribe Medical to identify in a transcription job.\n If the value is PHI, you've configured the transcription job to identify personal\n health information (PHI).

" + "smithy.api#documentation": "

Labels all personal health information (PHI) identified in your transcript. For more information, \n see Identifying personal health \n information (PHI) in a transcription.

" } }, "Type": { "target": "com.amazonaws.transcribe#Type", "traits": { - "smithy.api#documentation": "

The speech of the clinician in the input audio.

" + "smithy.api#documentation": "

Indicates whether the input media is a dictation or a conversation, as specified in the \n StartMedicalTranscriptionJob request.

" } } }, "traits": { - "smithy.api#documentation": "

Provides summary information about a transcription job.

" + "smithy.api#documentation": "

Provides detailed information about a specific medical transcription job.

" } }, "com.amazonaws.transcribe#MedicalTranscriptionSetting": { @@ -3282,42 +3332,42 @@ "ShowSpeakerLabels": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Determines whether the transcription job uses speaker recognition to identify different \n speakers in the input audio. Speaker recognition labels individual speakers in the audio file. \n If you set the ShowSpeakerLabels field to true, you must also set the \n maximum number of speaker labels in the MaxSpeakerLabels field.

\n

You can't set both ShowSpeakerLabels and \n ChannelIdentification in the same request. If you set both, your request \n returns a BadRequestException.

" + "smithy.api#documentation": "

Enables speaker identification (diarization) in your transcription output. Speaker identification \n labels the speech from individual speakers in your media file.

\n

If you enable ShowSpeakerLabels in your request, you must also include\n MaxSpeakerLabels.

\n

You can't include both ShowSpeakerLabels and \n ChannelIdentification in the same request. Including both parameters \n returns a BadRequestException.

\n

For more information, see Identifying speakers (diarization).

" } }, "MaxSpeakerLabels": { "target": "com.amazonaws.transcribe#MaxSpeakers", "traits": { - "smithy.api#documentation": "

The maximum number of speakers to identify in the input audio. If there are more \n speakers in the audio than this number, multiple speakers are identified as a single speaker. \n If you specify the MaxSpeakerLabels field, you must set the\n ShowSpeakerLabels field to true.

" + "smithy.api#documentation": "

Specify the maximum number of speakers you want to identify in your media.

\n

Note that if your media contains more speakers than the specified number, multiple speakers\n will be identified as a single speaker.

\n

If you specify the MaxSpeakerLabels field, you must set the\n ShowSpeakerLabels field to true.

" } }, "ChannelIdentification": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the \n transcription output of each channel into a single transcription.

\n

Amazon Transcribe Medical also produces a transcription of each item detected on an audio channel,\n including the start time and end time of the item and alternative transcriptions of item. \n The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.

\n

You can't set both ShowSpeakerLabels and \n ChannelIdentification in the same request. If you set both, your request \n returns a BadRequestException.

" + "smithy.api#documentation": "

Enables channel identification in multi-channel audio.

\n

Channel identification transcribes the audio on each channel independently, then appends the \n output for each channel into one transcript.

\n

If you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript does not separate the speech by channel.

\n

You can't include both ShowSpeakerLabels and \n ChannelIdentification in the same request. Including both parameters \n returns a BadRequestException.

\n

For more information, see Transcribing multi-channel audio.

" } }, "ShowAlternatives": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Determines whether alternative transcripts are generated along with the transcript that \n has the highest confidence. If you set ShowAlternatives field to true, you must\n also set the maximum number of alternatives to return in the MaxAlternatives\n field.

" + "smithy.api#documentation": "

To include alternative transcriptions within your transcription output, include\n ShowAlternatives in your transcription request.

\n

If you include ShowAlternatives, you must also include \n MaxAlternatives, which is the maximum number of alternative transcriptions \n you want Amazon Transcribe Medical to generate.

\n

For more information, see Alternative transcriptions.

" } }, "MaxAlternatives": { "target": "com.amazonaws.transcribe#MaxAlternatives", "traits": { - "smithy.api#documentation": "

The maximum number of alternatives that you tell the service to return. If you specify\n the MaxAlternatives field, you must set the ShowAlternatives \n field to true.

" + "smithy.api#documentation": "

Indicate the maximum number of alternative transcriptions you want Amazon Transcribe \n Medical to include in your transcript.

\n

If you select a number greater than the number of alternative transcriptions generated by \n Amazon Transcribe Medical, only the actual number of alternative transcriptions are\n included.

\n

If you include MaxAlternatives in your request, you must also include\n ShowAlternatives with a value of true.

\n

For more information, see Alternative transcriptions.

" } }, "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary to use when processing a medical transcription job.

" + "smithy.api#documentation": "

The name of the custom vocabulary you want to use when processing your medical \n transcription job. Vocabulary names are case sensitive.

\n

The language of the specified vocabulary must match the language code you specify in\n your transcription request. If the languages don't match, the vocabulary isn't applied. There\n are no errors or warnings associated with a language mismatch. US English \n (en-US) is the only valid language for Amazon Transcribe Medical.

" } } }, "traits": { - "smithy.api#documentation": "

Optional settings for the StartMedicalTranscriptionJob operation.

" + "smithy.api#documentation": "

Allows additional optional settings in your \n request, including channel identification, alternative transcriptions, and speaker labeling; allows\n you to apply custom vocabularies to your medical transcription job.

" } }, "com.amazonaws.transcribe#ModelName": { @@ -3336,12 +3386,12 @@ "LanguageModelName": { "target": "com.amazonaws.transcribe#ModelName", "traits": { - "smithy.api#documentation": "

The name of your custom language model.

" + "smithy.api#documentation": "

The name of the custom language model you want to use when processing your \n transcription job. Note that language model names are case sensitive.

\n

The language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the language model isn't applied. \n There are no errors or warnings associated with a language mismatch.

" } } }, "traits": { - "smithy.api#documentation": "

The object used to call your custom language model to your transcription job.

" + "smithy.api#documentation": "

Provides the name of the custom language model that was included in the specified \n transcription job.

\n

Only use ModelSettings with the LanguageModelName \n sub-parameter if you're not using automatic language \n identification (). \n If using LanguageIdSettings in your request, this parameter contains a\n LanguageModelName sub-parameter.

" } }, "com.amazonaws.transcribe#ModelStatus": { @@ -3395,30 +3445,30 @@ "Threshold": { "target": "com.amazonaws.transcribe#TimestampMilliseconds", "traits": { - "smithy.api#documentation": "

The duration of the period when neither the customer nor agent was talking.

" + "smithy.api#documentation": "

Specify the duration, in milliseconds, of the period of silence you want to flag. For \n example, you can flag a silent period that lasts 30000 milliseconds.

" } }, "AbsoluteTimeRange": { "target": "com.amazonaws.transcribe#AbsoluteTimeRange", "traits": { - "smithy.api#documentation": "

An object you can use to specify a time range (in milliseconds) for when no one is\n talking. For example, you could specify a time period between the 30,000 millisecond mark\n and the 45,000 millisecond mark. You could also specify the time period as the first 15,000\n milliseconds or the last 15,000 milliseconds.

" + "smithy.api#documentation": "

Allows you to specify a time range (in milliseconds) in your audio, during which you want \n to search for a period of silence. See for more \n detail.

" } }, "RelativeTimeRange": { "target": "com.amazonaws.transcribe#RelativeTimeRange", "traits": { - "smithy.api#documentation": "

An object that allows percentages to specify the proportion of the call where there\n was silence. For example, you can specify the first half of the call. You can also specify \n the period of time between halfway through to three-quarters of the way through the call. \n Because the length of conversation can vary between calls, you can apply relative time\n ranges across all calls.

" + "smithy.api#documentation": "

Allows you to specify a time range (in percentage) in your media file, during which you\n want to search for a period of silence. See for more\n detail.

" } }, "Negate": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Set to TRUE to look for a time period when people were talking.

" + "smithy.api#documentation": "

Set to TRUE to flag periods of speech. Set to FALSE to flag \n periods of silence

" } } }, "traits": { - "smithy.api#documentation": "

An object that enables you to configure your category to be applied to call analytics \n jobs where either the customer or agent was interrupted.

" + "smithy.api#documentation": "

Flag the presence or absence of periods of silence in your Call Analytics transcription\n output.

\n

Rules using NonTalkTimeFilter are designed to match:

\n \n

See Rule\n criteria for usage examples.

" } }, "com.amazonaws.transcribe#NotFoundException": { @@ -3429,7 +3479,7 @@ } }, "traits": { - "smithy.api#documentation": "

We can't find the requested resource. Check the name and try your request again.

", + "smithy.api#documentation": "

We can't find the requested resource. Check that the specified name is correct and try your\n request again.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -3609,30 +3659,30 @@ "StartPercentage": { "target": "com.amazonaws.transcribe#Percentage", "traits": { - "smithy.api#documentation": "

A value that indicates the percentage of the beginning of the time range. To set a\n relative time range, you must specify a start percentage and an end percentage. For \n example, if you specify the following values:

\n \n

This looks at the time range starting from 10% of the way into the call to 50% of \n the way through the call. For a call that lasts 100,000 milliseconds, this example range \n would apply from the 10,000 millisecond mark to the 50,000 millisecond mark.

" + "smithy.api#documentation": "

The time, in percentage, when Amazon Transcribe starts searching for the specified \n criteria in your media file. If you include StartPercentage in your request, you\n must also include EndPercentage.

" } }, "EndPercentage": { "target": "com.amazonaws.transcribe#Percentage", "traits": { - "smithy.api#documentation": "

A value that indicates the percentage of the end of the time range. To set a relative\n time range, you must specify a start percentage and an end percentage. For example, if\n you specify the following values:

\n \n

This looks at the time range starting from 10% of the way into the call to 50% of the \n way through the call. For a call that lasts 100,000 milliseconds, this example range would \n apply from the 10,000 millisecond mark to the 50,000 millisecond mark.

" + "smithy.api#documentation": "

The time, in percentage, when Amazon Transcribe stops searching for the specified criteria\n in your media file. If you include EndPercentage in your request, you must also\n include StartPercentage.

" } }, "First": { "target": "com.amazonaws.transcribe#Percentage", "traits": { - "smithy.api#documentation": "

A range that takes the portion of the call up to the time in milliseconds set by the \n value that you've specified. For example, if you specify 120000, the time \n range is set for the first 120,000 milliseconds of the call.

" + "smithy.api#documentation": "

The time, in percentage, from the start of your media file until the value you specify in\n which Amazon Transcribe searches for your specified criteria.

" } }, "Last": { "target": "com.amazonaws.transcribe#Percentage", "traits": { - "smithy.api#documentation": "

A range that takes the portion of the call from the time in milliseconds set by the\n value that you've specified to the end of the call. For example, if you specify \n 120000, the time range is set for the last 120,000 milliseconds of the \n call.

" + "smithy.api#documentation": "

The time, in percentage, from the value you specify until the end of your media file in\n which Amazon Transcribe searches for your specified criteria.

" } } }, "traits": { - "smithy.api#documentation": "

An object that allows percentages to specify the proportion of the call where you \n would like to apply a filter. For example, you can specify the first half of the call. You can\n also specify the period of time between halfway through to three-quarters of the way \n through the call. Because the length of conversation can vary between calls, you can apply \n relative time ranges across all calls.

" + "smithy.api#documentation": "

A time range, in percentage, between two points in your media file.

\n

You can use StartPercentage and EndPercentage to \n search a custom segment. For example, setting StartPercentage to 10 and\n EndPercentage to 50 only searches for your specified criteria in the audio \n contained between the 10 percent mark and the 50 percent mark of your media file.

\n

You can use also First to search from the start of the media file until the\n time you specify, or Last to search from the time you specify until the end of \n the media file. For example, setting First to 10 only searches for your specified \n criteria in the audio contained in the first 10 percent of the media file.

\n

If you prefer to use milliseconds instead of percentage, see\n .

" } }, "com.amazonaws.transcribe#Rule": { @@ -3641,30 +3691,30 @@ "NonTalkTimeFilter": { "target": "com.amazonaws.transcribe#NonTalkTimeFilter", "traits": { - "smithy.api#documentation": "

A condition for a time period when neither the customer nor the agent was talking.

" + "smithy.api#documentation": "

Flag the presence or absence of periods of silence in your Call Analytics transcription \n output. Refer to for more detail.

" } }, "InterruptionFilter": { "target": "com.amazonaws.transcribe#InterruptionFilter", "traits": { - "smithy.api#documentation": "

A condition for a time period when either the customer or agent was interrupting the\n other person.

" + "smithy.api#documentation": "

Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to \n for more detail.

" } }, "TranscriptFilter": { "target": "com.amazonaws.transcribe#TranscriptFilter", "traits": { - "smithy.api#documentation": "

A condition that catches particular words or phrases based on a exact match. For \n example, if you set the phrase \"I want to speak to the manager\", only that exact phrase will\n be returned.

" + "smithy.api#documentation": "

Flag the presence or absence of specific words or phrases in your Call Analytics transcription \n output. Refer to for more detail.

" } }, "SentimentFilter": { "target": "com.amazonaws.transcribe#SentimentFilter", "traits": { - "smithy.api#documentation": "

A condition that is applied to a particular customer sentiment.

" + "smithy.api#documentation": "

Flag the presence or absence of specific sentiments in your Call Analytics transcription output. \n Refer to for more detail.

" } } }, "traits": { - "smithy.api#documentation": "

A condition in the call between the customer and the agent that you want to filter \n for.

" + "smithy.api#documentation": "

A rule is a set of criteria you can specify to flag an attribute in your Call Analytics output.\n Rules define a Call Analytics category.

\n

Rules can include these parameters: , \n , , and \n . To learn more about these parameters, refer to\n Rule\n criteria.

\n

To learn more about Call Analytics categories, see Creating categories.

\n

To learn more about Call Analytics, see Analyzing call center audio with Call \n Analytics.

" } }, "com.amazonaws.transcribe#RuleList": { @@ -3685,37 +3735,37 @@ "Sentiments": { "target": "com.amazonaws.transcribe#SentimentValueList", "traits": { - "smithy.api#documentation": "

An array that enables you to specify sentiments for the customer or agent. You can \n specify one or more values.

", + "smithy.api#documentation": "

Specify the sentiments you want to flag.

", "smithy.api#required": {} } }, "AbsoluteTimeRange": { "target": "com.amazonaws.transcribe#AbsoluteTimeRange", "traits": { - "smithy.api#documentation": "

The time range, measured in seconds, of the sentiment.

" + "smithy.api#documentation": "

Allows you to specify a time range (in milliseconds) in your audio, during which you want\n to search for the specified sentiments. See for more\n detail.

" } }, "RelativeTimeRange": { "target": "com.amazonaws.transcribe#RelativeTimeRange", "traits": { - "smithy.api#documentation": "

The time range, set in percentages, that correspond to proportion of the call.

" + "smithy.api#documentation": "

Allows you to specify a time range (in percentage) in your media file, during which you\n want to search for the specified sentiments. See \n for more detail.

" } }, "ParticipantRole": { "target": "com.amazonaws.transcribe#ParticipantRole", "traits": { - "smithy.api#documentation": "

A value that determines whether the sentiment belongs to the customer or the agent.

" + "smithy.api#documentation": "

Specify the participant you want to flag. Omitting this parameter is equivalent to specifying\n both participants.

" } }, "Negate": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Set to TRUE to look for sentiments that weren't specified in the request.

" + "smithy.api#documentation": "

Set to TRUE to flag the sentiments you didn't include in your request. Set to\n FALSE to flag the sentiments you specified in your request.

" } } }, "traits": { - "smithy.api#documentation": "

An object that enables you to specify a particular customer or agent sentiment. If at \n least 50 percent of the conversation turns (the back-and-forth between two speakers) in a \n specified time period match the specified sentiment, Amazon Transcribe will consider the sentiment a\n match.

" + "smithy.api#documentation": "

Flag the presence or absence of specific sentiments detected in your Call Analytics \n transcription output.

\n

Rules using SentimentFilter are designed to match:

\n \n

See Rule\n criteria for examples.

" } }, "com.amazonaws.transcribe#SentimentValue": { @@ -3758,54 +3808,54 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of a vocabulary to use when processing the transcription job.

" + "smithy.api#documentation": "

The name of the custom vocabulary you want to use in your transcription job request. This \n name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account.

" } }, "ShowSpeakerLabels": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Determines whether the transcription job uses speaker recognition to identify different \n speakers in the input audio. Speaker recognition labels individual speakers in the audio file. \n If you set the ShowSpeakerLabels field to true, you must also set the\n maximum number of speaker labels MaxSpeakerLabels field.

\n

You can't set both ShowSpeakerLabels and \n ChannelIdentification in the same request. If you set both, your request returns\n a BadRequestException.

" + "smithy.api#documentation": "

Enables speaker identification (diarization) in your transcription output. Speaker identification \n labels the speech from individual speakers in your media file.

\n

If you enable ShowSpeakerLabels in your request, you must also include\n MaxSpeakerLabels.

\n

You can't include both ShowSpeakerLabels and \n ChannelIdentification in the same request. Including both parameters \n returns a BadRequestException.

\n

For more information, see Identifying speakers (diarization).

" } }, "MaxSpeakerLabels": { "target": "com.amazonaws.transcribe#MaxSpeakers", "traits": { - "smithy.api#documentation": "

The maximum number of speakers to identify in the input audio. If there are more \n speakers in the audio than this number, multiple speakers are identified as a single speaker. \n If you specify the MaxSpeakerLabels field, you must set the\n ShowSpeakerLabels field to true.

" + "smithy.api#documentation": "

Specify the maximum number of speakers you want to identify in your media.

\n

Note that if your media contains more speakers than the specified number, multiple speakers\n will be identified as a single speaker.

\n

If you specify the MaxSpeakerLabels field, you must set the\n ShowSpeakerLabels field to true.

" } }, "ChannelIdentification": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Instructs Amazon Transcribe to process each audio channel separately and then merge the \n transcription output of each channel into a single transcription.

\n

Amazon Transcribe also produces a transcription of each item detected on an audio channel, \n including the start time and end time of the item and alternative transcriptions of the item\n including the confidence that Amazon Transcribe has in the transcription.

\n

You can't set both ShowSpeakerLabels and \n ChannelIdentification in the same request. If you set both, your request \n returns a BadRequestException.

" + "smithy.api#documentation": "

Enables channel identification in multi-channel audio.

\n

Channel identification transcribes the audio on each channel independently, then appends the \n output for each channel into one transcript.

\n

You can't include both ShowSpeakerLabels and \n ChannelIdentification in the same request. Including both parameters \n returns a BadRequestException.

\n

For more information, see Transcribing multi-channel audio.

" } }, "ShowAlternatives": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Determines whether the transcription contains alternative transcriptions. If you set the \n ShowAlternatives field to true, you must also set the maximum number of\n alternatives to return in the MaxAlternatives field.

" + "smithy.api#documentation": "

To include alternative transcriptions within your transcription output, include\n ShowAlternatives in your transcription request.

\n

If you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript does not separate the speech by channel.

\n

If you include ShowAlternatives, you must also include \n MaxAlternatives, which is the maximum number of alternative transcriptions\n you want Amazon Transcribe to generate.

\n

For more information, see Alternative transcriptions.

" } }, "MaxAlternatives": { "target": "com.amazonaws.transcribe#MaxAlternatives", "traits": { - "smithy.api#documentation": "

The number of alternative transcriptions that the service should return. If you specify \n the MaxAlternatives field, you must set the ShowAlternatives \n field to true.

" + "smithy.api#documentation": "

Indicate the maximum number of alternative transcriptions you want Amazon Transcribe \n to include in your transcript.

\n

If you select a number greater than the number of alternative transcriptions generated by \n Amazon Transcribe, only the actual number of alternative transcriptions are included.

\n

If you include MaxAlternatives in your request, you must also include\n ShowAlternatives with a value of true.

\n

For more information, see Alternative transcriptions.

" } }, "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter to use when transcribing the audio. The filter that you\n specify must have the same language code as the transcription job.

" + "smithy.api#documentation": "

The name of the custom vocabulary filter you want to use in your transcription job request.\n This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account.

\n

Note that if you include VocabularyFilterName in your request, you must \n also include VocabularyFilterMethod.

" } }, "VocabularyFilterMethod": { "target": "com.amazonaws.transcribe#VocabularyFilterMethod", "traits": { - "smithy.api#documentation": "

Set to mask to remove filtered text from the transcript and replace it \n with three asterisks (\"***\") as placeholder text. Set to remove to remove \n filtered text from the transcript without using placeholder text. Set to tag to\n mark the word in the transcription output that matches the vocabulary filter. When you set \n the filter method to tag, the words matching your vocabulary filter are not\n masked or removed.

" + "smithy.api#documentation": "

Specify how you want your vocabulary filter applied to your transcript.

\n

To replace words with ***, choose mask.

\n

To delete words, choose remove.

\n

To flag words without changing them, choose tag.

" } } }, "traits": { - "smithy.api#documentation": "

Provides optional settings for the StartTranscriptionJob operation.

" + "smithy.api#documentation": "

Allows additional optional settings in your \n request, including channel identification, alternative transcriptions, and speaker labeling; allows \n you to apply custom vocabularies to your transcription job.

" } }, "com.amazonaws.transcribe#Specialty": { @@ -3842,7 +3892,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts an asynchronous analytics job that not only transcribes the audio recording of a \n caller and agent, but also returns additional insights. These insights include how quickly or \n loudly the caller or agent was speaking. To retrieve additional insights with your analytics \n jobs, create categories. A category is a way to classify analytics jobs based on attributes, \n such as a customer's sentiment or a particular phrase being used during the call. For more\n information, see the operation.

", + "smithy.api#documentation": "

Transcribes the audio from a customer service call and applies any additional Request \n Parameters you choose to include in your request.

\n

In addition to many of the standard transcription features, Call Analytics provides you with \n call characteristics, call summarization, speaker sentiment, and optional redaction of your text \n transcript and your audio file. You can also apply custom categories to flag specified conditions. To\n learn more about these features and insights, refer to Analyzing call center audio with Call \n Analytics.

\n

If you want to apply categories to your Call Analytics job, you must create them\n before submitting your job request. Categories cannot be retroactively applied to a job. To\n create a new category, use the operation.\n To learn more about Call Analytics categories, see Creating \n categories.

\n

To make a StartCallAnalyticsJob request, you must first upload your media file \n into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file \n using the Media parameter.

\n

You must include the following parameters in your StartCallAnalyticsJob \n request:

\n \n \n

With Call Analytics, you can redact the audio contained in your media file by including \n RedactedMediaFileUri, instead of MediaFileUri, to specify the \n location of your input audio. If you choose to redact your audio, you can find your redacted \n media at the location specified in the RedactedMediaFileUri field of your \n response.

\n
", "smithy.api#http": { "method": "PUT", "uri": "/callanalyticsjobs/{CallAnalyticsJobName}", @@ -3856,7 +3906,7 @@ "CallAnalyticsJobName": { "target": "com.amazonaws.transcribe#CallAnalyticsJobName", "traits": { - "smithy.api#documentation": "

The name of the call analytics job. You can't use the string \".\" or \"..\" by themselves as\n the job name. The name must also be unique within an Amazon Web Services account. If you \n try to create a call analytics job with the same name as a previous call analytics job, you get\n a ConflictException error.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your Call Analytics job.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a new job with the same name as an \n existing job, you get a ConflictException error.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3870,32 +3920,31 @@ "OutputLocation": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The Amazon S3 location where the output of the call analytics job is stored. You can \n provide the following location types to store the output of call analytics job:

\n \n

You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt \n the output of our analytics job using the OutputEncryptionKMSKeyId parameter. \n If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption \n of the analytics job output that is placed in your S3 bucket.

" + "smithy.api#documentation": "

The Amazon S3 location where you want your Call Analytics transcription output \n stored. You can use any of the following formats to specify the output location:

\n
    \n
  1. \n

    s3://DOC-EXAMPLE-BUCKET

    \n
  2. \n
  3. \n

    s3://DOC-EXAMPLE-BUCKET/my-output-folder/

    \n
  4. \n
  5. \n

    s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json

    \n
  6. \n
\n

Unless you specify a file name (option 3), the name of your output file has a default \n value that matches the name you specified for your transcription job using the \n CallAnalyticsJobName parameter.

\n

You can specify a KMS key to encrypt your output using the\n OutputEncryptionKMSKeyId parameter. If you don't specify a \n KMS key, Amazon Transcribe uses the default Amazon S3 key for \n server-side encryption.

\n

If you don't specify OutputLocation, your transcript is placed in a \n service-managed Amazon S3 bucket and you are provided with a URI to access your \n transcript.

" } }, "OutputEncryptionKMSKeyId": { "target": "com.amazonaws.transcribe#KMSKeyId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service \n key used to encrypt the output of the call analytics job. The user calling the \n operation must have permission to use the \n specified KMS key.

\n

You use either of the following to identify an Amazon Web Services KMS key in the current\n account:

\n \n

You can use either of the following to identify a KMS key in the current account or \n another account:

\n \n

If you don't specify an encryption key, the output of the call analytics job is encrypted \n with the default Amazon S3 key (SSE-S3).

\n

If you specify a KMS key to encrypt your output, you must also specify an output location \n in the OutputLocation parameter.

" + "smithy.api#documentation": "

The KMS key you want to use to encrypt your Call Analytics output.

\n

If using a key located in the current \n Amazon Web Services account, you can specify your KMS key in one of \n four ways:

\n
    \n
  1. \n

    Use the KMS key ID itself. For example, \n 1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use an alias for the KMS key ID. For example,\n alias/ExampleAlias.

    \n
  4. \n
  5. \n

    Use the Amazon Resource Name (ARN) for the KMS key ID. For \n example,\n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  6. \n
  7. \n

    Use the ARN for the KMS key alias. For example, \n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  8. \n
\n

If using a key located in a different \n Amazon Web Services account than the current Amazon Web Services account, you can \n specify your KMS key in one of two ways:

\n
    \n
  1. \n

    Use the ARN for the KMS key ID. For example, \n arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use the ARN for the KMS key alias. For example, \n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  4. \n
\n

If you don't specify an encryption key, your output is encrypted with the default \n Amazon S3 key (SSE-S3).

\n

If you specify a KMS key to encrypt your output, you must also specify \n an output location using the OutputLocation parameter.

\n

Note that the user making the \n request must have permission to use the specified KMS key.

" } }, "DataAccessRoleArn": { "target": "com.amazonaws.transcribe#DataAccessRoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that\n contains your input files. Amazon Transcribe assumes this role to read queued audio files. If you have \n specified an output S3 bucket for your transcription results, this role should have access to \n the output bucket as well.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that has permissions to\n access the Amazon S3 bucket that contains your input files. If the role you specify doesn’t \n have the appropriate permissions to access the specified Amazon S3 location, your request \n fails.

\n

IAM role ARNs have the format\n arn:partition:iam::account:role/role-name-with-path. For example:\n arn:aws:iam::111122223333:role/Admin.

\n

For more information, see IAM ARNs.

" } }, "Settings": { "target": "com.amazonaws.transcribe#CallAnalyticsJobSettings", "traits": { - "smithy.api#documentation": "

A Settings object that provides optional settings for a call analytics \n job.

" + "smithy.api#documentation": "

Specify additional optional settings in your \n request, including content redaction; allows you to apply custom language models, vocabulary \n filters, and custom vocabularies to your Call Analytics job.

" } }, "ChannelDefinitions": { "target": "com.amazonaws.transcribe#ChannelDefinitions", "traits": { - "smithy.api#documentation": "

When you start a call analytics job, you must pass an array that maps the agent and the\n customer to specific audio channels. The values you can assign to a channel are 0 and 1. The \n agent and the customer must each have their own channel. You can't assign more than one \n channel to an agent or customer.

" + "smithy.api#documentation": "

Allows you to specify which speaker is on which channel. For example, if your agent is the \n first participant to speak, you would set ChannelId to 0 (to\n indicate the first channel) and ParticipantRole to AGENT (to \n indicate that it's the agent speaking).

" } } } @@ -3906,7 +3955,7 @@ "CallAnalyticsJob": { "target": "com.amazonaws.transcribe#CallAnalyticsJob", "traits": { - "smithy.api#documentation": "

An object containing the details of the asynchronous call analytics job.

" + "smithy.api#documentation": "

Provides detailed information about the current Call Analytics job, including job status\n and, if applicable, failure reason.

" } } } @@ -3934,7 +3983,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a batch job to transcribe medical speech to text.

", + "smithy.api#documentation": "

Transcribes the audio from a medical dictation or conversation and applies any additional \n Request Parameters you choose to include in your request.

\n

In addition to many of the standard transcription features, Amazon Transcribe Medical provides\n you with a robust medical vocabulary and, optionally, content identification, which adds flags to \n personal health information (PHI). To learn more about these features, refer to \n How \n Amazon Transcribe Medical works.

\n

To make a StartMedicalTranscriptionJob request, you must first upload your media\n file into an Amazon S3 bucket; you can then specify the S3 location of the file using the \n Media parameter.

\n

You must include the following parameters in your StartMedicalTranscriptionJob \n request:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/medicaltranscriptionjobs/{MedicalTranscriptionJobName}", @@ -3948,7 +3997,7 @@ "MedicalTranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the medical transcription job. You can't use the strings \".\" \n or \"..\" by themselves as the job name. The name must also be unique within an\n Amazon Web Services account. If you try to create a medical transcription job with the same\n name as a previous medical transcription job, you get a ConflictException \n error.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your medical transcription job. The name you specify is \n also used as the default name of your transcription output file. If you want to specify a different \n name for your transcription output, use the OutputKey parameter.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a new job with the same name as an \n existing job, you get a ConflictException error.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3956,20 +4005,20 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code for the language spoken in the input media file. US English (en-US) is \n the valid value for medical transcription jobs. Any other value you enter for language code \n results in a BadRequestException error.

", + "smithy.api#documentation": "

The language code that represents the language spoken in the input media file. US English\n (en-US) is the only valid value for medical transcription jobs. Any other value \n you enter for language code results in a BadRequestException error.

", "smithy.api#required": {} } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribe#MedicalMediaSampleRateHertz", "traits": { - "smithy.api#documentation": "

The sample rate, in Hertz, of the audio track in the input media file.

\n

If you do not specify the media sample rate, Amazon Transcribe Medical determines the sample rate. If you \n specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you\n should leave the MediaSampleRateHertz field blank and let Amazon Transcribe Medical determine\n the sample rate.

" + "smithy.api#documentation": "

The sample rate, in Hertz, of the audio track in your input media file.

\n

If you don't specify the media sample rate, Amazon Transcribe Medical determines it for\n you. If you specify the sample rate, it must match the rate detected by Amazon Transcribe \n Medical; if there's a mismatch between the value you specify and the value detected, your job \n fails. Therefore, in most cases, it's advised to omit MediaSampleRateHertz and let\n Amazon Transcribe Medical determine the sample rate.

" } }, "MediaFormat": { "target": "com.amazonaws.transcribe#MediaFormat", "traits": { - "smithy.api#documentation": "

The audio format of the input media file.

" + "smithy.api#documentation": "

Specify the format of your input media file.

" } }, "Media": { @@ -3981,58 +4030,58 @@ "OutputBucketName": { "target": "com.amazonaws.transcribe#OutputBucketName", "traits": { - "smithy.api#documentation": "

The Amazon S3 location where the transcription is stored.

\n

You must set OutputBucketName for Amazon Transcribe Medical to store the transcription \n results. Your transcript appears in the S3 location you specify. When you call the \n GetMedicalTranscriptionJob, the operation returns this location in the\n TranscriptFileUri field. The S3 bucket must have permissions that allow\n Amazon Transcribe Medical to put files in the bucket. For more information, see Permissions Required for IAM User Roles.

\n

You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt\n the output of your transcription using the OutputEncryptionKMSKeyId parameter. \n If you don't specify a KMS key, Amazon Transcribe Medical uses the default Amazon S3 key for server-side \n encryption of transcripts that are placed in your S3 bucket.

", + "smithy.api#documentation": "

The name of the Amazon S3 bucket where you want your medical transcription \n output stored. Do not include the S3:// prefix of the specified bucket.

\n

If you want your output to go to a sub-folder of this bucket, specify it using the\n OutputKey parameter; OutputBucketName only accepts the \n name of a bucket.

\n

For example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET,\n set OutputBucketName to DOC-EXAMPLE-BUCKET. However, if \n you want your output stored in S3://DOC-EXAMPLE-BUCKET/test-files/, set\n OutputBucketName to DOC-EXAMPLE-BUCKET and\n OutputKey to test-files/.

\n

Note that Amazon Transcribe must have permission to use the specified location. You\n can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions\n Required for IAM User Roles.

\n

If you don't specify OutputBucketName, your transcript is placed in a \n service-managed Amazon S3 bucket and you are provided with a URI to access your \n transcript.

", "smithy.api#required": {} } }, "OutputKey": { "target": "com.amazonaws.transcribe#OutputKey", "traits": { - "smithy.api#documentation": "

You can specify a location in an Amazon S3 bucket to store the output of your medical \n transcription job.

\n

If you don't specify an output key, Amazon Transcribe Medical stores the output of your transcription job in\n the Amazon S3 bucket you specified. By default, the object key is \n \"your-transcription-job-name.json\".

\n

You can use output keys to specify the Amazon S3 prefix and file name of the transcription \n output. For example, specifying the Amazon S3 prefix, \"folder1/folder2/\", as an output key would \n lead to the output being stored as \"folder1/folder2/your-transcription-job-name.json\". If you \n specify \"my-other-job-name.json\" as the output key, the object key is changed to\n \"my-other-job-name.json\". You can use an output key to change both the prefix and the file\n name, for example \"folder/my-other-job-name.json\".

\n

If you specify an output key, you must also specify an S3 bucket in the\n OutputBucketName parameter.

" + "smithy.api#documentation": "

Use in combination with OutputBucketName to specify the output location of\n your transcript and, optionally, a unique name for your output file. The default name for your \n transcription output is the same as the name you specified for your medical transcription job \n (MedicalTranscriptionJobName).

\n

Here are some examples of how you can use OutputKey:

\n \n

If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one is \n created for you.

" } }, "OutputEncryptionKMSKeyId": { "target": "com.amazonaws.transcribe#KMSKeyId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service\n (KMS) key used to encrypt the output of the transcription job. The user calling the \n StartMedicalTranscriptionJob operation must have permission to use the \n specified KMS key.

\n

You use either of the following to identify a KMS key in the current account:

\n \n

You can use either of the following to identify a KMS key in the current account or \n another account:

\n \n

If you don't specify an encryption key, the output of the medical transcription job is \n encrypted with the default Amazon S3 key (SSE-S3).

\n

If you specify a KMS key to encrypt your output, you must also specify an output location \n in the OutputBucketName parameter.

" + "smithy.api#documentation": "

The KMS key you want to use to encrypt your medical transcription\n output.

\n

If using a key located in the current \n Amazon Web Services account, you can specify your KMS key in one of \n four ways:

\n
    \n
  1. \n

    Use the KMS key ID itself. For example, \n 1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use an alias for the KMS key ID. For example,\n alias/ExampleAlias.

    \n
  4. \n
  5. \n

    Use the Amazon Resource Name (ARN) for the KMS key ID. For \n example, arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  6. \n
  7. \n

    Use the ARN for the KMS key alias. For example, \n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  8. \n
\n

If using a key located in a different \n Amazon Web Services account than the current Amazon Web Services account, you can \n specify your KMS key in one of two ways:

\n
    \n
  1. \n

    Use the ARN for the KMS key ID. For example, arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use the ARN for the KMS key alias. For example, \n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  4. \n
\n

If you don't specify an encryption key, your output is encrypted with the default \n Amazon S3 key (SSE-S3).

\n

If you specify a KMS key to encrypt your output, you must also specify \n an output location using the OutputLocation parameter.

\n

Note that the user making the \n request must have permission to use the specified KMS key.

" } }, "KMSEncryptionContext": { "target": "com.amazonaws.transcribe#KMSEncryptionContextMap", "traits": { - "smithy.api#documentation": "

A map of plain text, non-secret key:value pairs, known as encryption context pairs, that \n provide an added layer of security for your data.

" + "smithy.api#documentation": "

A map of plain text, non-secret key:value pairs, known as encryption context pairs, that \n provide an added layer of security for your data. For more information, see \n KMS \n encryption context and Asymmetric keys in \n KMS.

" } }, "Settings": { "target": "com.amazonaws.transcribe#MedicalTranscriptionSetting", "traits": { - "smithy.api#documentation": "

Optional settings for the medical transcription job.

" + "smithy.api#documentation": "

Specify additional optional settings in your \n request, including channel identification, alternative transcriptions, and speaker labeling; allows \n you to apply custom vocabularies to your transcription job.

" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribe#MedicalContentIdentificationType", "traits": { - "smithy.api#documentation": "

You can configure Amazon Transcribe Medical to label content in the transcription output. If you specify\n PHI, Amazon Transcribe Medical labels the personal health information (PHI) that it identifies in the\n transcription output.

" + "smithy.api#documentation": "

Labels all personal health information (PHI) identified in your transcript. For more information, \n see Identifying personal health \n information (PHI) in a transcription.

" } }, "Specialty": { "target": "com.amazonaws.transcribe#Specialty", "traits": { - "smithy.api#documentation": "

The medical specialty of any clinician speaking in the input media.

", + "smithy.api#documentation": "

Specify the predominant medical specialty represented in your media. For batch \n transcriptions, PRIMARYCARE is the only valid value. If you require additional \n specialties, refer to .

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.transcribe#Type", "traits": { - "smithy.api#documentation": "

The type of speech in the input audio. CONVERSATION refers to \n conversations between two or more speakers, e.g., a conversations between doctors and \n patients. DICTATION refers to single-speaker dictated speech, such as clinical\n notes.

", + "smithy.api#documentation": "

Specify whether your input media contains only one person (DICTATION) or \n contains a conversation between two people (CONVERSATION).

\n

For example, DICTATION could be used for a medical professional wanting to\n transcribe voice memos; CONVERSATION could be used for transcribing the \n doctor-patient dialogue during the patient's office visit.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

Add tags to an Amazon Transcribe Medical transcription job.

" + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new medical \n transcription job at the time you start this new job.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" } } } @@ -4043,7 +4092,7 @@ "MedicalTranscriptionJob": { "target": "com.amazonaws.transcribe#MedicalTranscriptionJob", "traits": { - "smithy.api#documentation": "

A batch job submitted to transcribe medical speech to text.

" + "smithy.api#documentation": "

Provides detailed information about the current medical transcription job, including job\n status and, if applicable, failure reason.

" } } } @@ -4071,7 +4120,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts an asynchronous job to transcribe speech to text.

", + "smithy.api#documentation": "

Transcribes the audio from a media file and applies any additional Request Parameters you \n choose to include in your request.

\n

To make a StartTranscriptionJob request, you must first upload your media file \n into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file \n using the Media parameter.

\n

You must include the following parameters in your StartTranscriptionJob \n request:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/transcriptionjobs/{TranscriptionJobName}", @@ -4085,7 +4134,7 @@ "TranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the job. You can't use the strings \".\" or \"..\"\n by themselves as the job name. The name must also be unique within an Amazon Web Services\n account. If you try to create a transcription job with the same name as a previous \n transcription job, you get a ConflictException error.

", + "smithy.api#documentation": "

A unique name, chosen by you, for your transcription job. The name you specify is \n also used as the default name of your transcription output file. If you want to specify a different \n name for your transcription output, use the OutputKey parameter.

\n

This name is case sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account. If you try to create a new job with the same name as an \n existing job, you get a ConflictException error.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4093,104 +4142,110 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code for the language used in the input media file. You must include \n either LanguageCode or IdentifyLanguage in your \n request.

\n

To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must \n be encoded at a sample rate of 16,000 Hz or higher.

" + "smithy.api#documentation": "

The language code that represents the language spoken in the input media file.

\n

If you're unsure of the language spoken in your media file, consider using \n IdentifyLanguage or IdentifyMultipleLanguages to enable \n automatic language identification.

\n

Note that you must include one of LanguageCode, \n IdentifyLanguage, or IdentifyMultipleLanguages in your \n request. If you include more than one of these parameters, your transcription job \n fails.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported\n languages table.

\n \n

To transcribe speech in Modern Standard Arabic (ar-SA), your media file \n must be encoded at a sample rate of 16,000 Hz or higher.

\n
" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribe#MediaSampleRateHertz", "traits": { - "smithy.api#documentation": "

The sample rate, in Hertz, of the audio track in the input media file.

\n

If you do not specify the media sample rate, Amazon Transcribe determines the sample rate. If you \n specify the sample rate, it must match the sample rate detected by Amazon Transcribe. In most cases,\n you should leave the MediaSampleRateHertz field blank and let Amazon Transcribe \n determine the sample rate.

" + "smithy.api#documentation": "

The sample rate, in Hertz, of the audio track in your input media file.

\n

If you don't specify the media sample rate, Amazon Transcribe determines it for you. If you\n specify the sample rate, it must match the rate detected by Amazon Transcribe; if there's a\n mismatch between the value you specify and the value detected, your job fails. Therefore, in most \n cases, it's advised to omit MediaSampleRateHertz and let Amazon Transcribe \n determine the sample rate.

" } }, "MediaFormat": { "target": "com.amazonaws.transcribe#MediaFormat", "traits": { - "smithy.api#documentation": "

The format of the input media file.

" + "smithy.api#documentation": "

Specify the format of your input media file.

" } }, "Media": { "target": "com.amazonaws.transcribe#Media", "traits": { - "smithy.api#documentation": "

An object that describes the input media for a transcription job.

", + "smithy.api#documentation": "

Describes the Amazon S3 location of the media file you want to use in your \n request.

", "smithy.api#required": {} } }, "OutputBucketName": { "target": "com.amazonaws.transcribe#OutputBucketName", "traits": { - "smithy.api#documentation": "

The location where the transcription is stored.

\n

If you set the OutputBucketName, Amazon Transcribe puts the transcript in the \n specified S3 bucket. When you call the GetTranscriptionJob operation, the\n operation returns this location in the TranscriptFileUri field. If you enable \n content redaction, the redacted transcript appears in\n RedactedTranscriptFileUri. If you enable content redaction and choose to \n output an unredacted transcript, that transcript's location still appears in the\n TranscriptFileUri. The S3 bucket must have permissions that allow Amazon Transcribe to \n put files in the bucket. For more information, see Permissions\n Required for IAM User Roles.

\n

You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt \n the output of your transcription using the OutputEncryptionKMSKeyId \n parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for \n server-side encryption of transcripts that are placed in your S3 bucket.

\n

If you don't set the OutputBucketName, Amazon Transcribe generates a pre-signed URL,\n a shareable URL that provides secure access to your transcription, and returns it in the\n TranscriptFileUri field. Use this URL to download the transcription.

" + "smithy.api#documentation": "

The name of the Amazon S3 bucket where you want your transcription output \n stored. Do not include the S3:// prefix of the specified bucket.

\n

If you want your output to go to a sub-folder of this bucket, specify it using the\n OutputKey parameter; OutputBucketName only accepts the \n name of a bucket.

\n

For example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET,\n set OutputBucketName to DOC-EXAMPLE-BUCKET. However, if \n you want your output stored in S3://DOC-EXAMPLE-BUCKET/test-files/, set\n OutputBucketName to DOC-EXAMPLE-BUCKET and\n OutputKey to test-files/.

\n

Note that Amazon Transcribe must have permission to use the specified location. You\n can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions\n Required for IAM User Roles.

\n

If you don't specify OutputBucketName, your transcript is placed in a \n service-managed Amazon S3 bucket and you are provided with a URI to access your \n transcript.

" } }, "OutputKey": { "target": "com.amazonaws.transcribe#OutputKey", "traits": { - "smithy.api#documentation": "

You can specify a location in an Amazon S3 bucket to store the output of your transcription\n job.

\n

If you don't specify an output key, Amazon Transcribe stores the output of your transcription job in \n the Amazon S3 bucket you specified. By default, the object key is\n \"your-transcription-job-name.json\".

\n

You can use output keys to specify the Amazon S3 prefix and file name of the transcription \n output. For example, specifying the Amazon S3 prefix, \"folder1/folder2/\", as an output key would \n lead to the output being stored as \"folder1/folder2/your-transcription-job-name.json\". If you \n specify \"my-other-job-name.json\" as the output key, the object key is changed to\n \"my-other-job-name.json\". You can use an output key to change both the prefix and the file \n name, for example \"folder/my-other-job-name.json\".

\n

If you specify an output key, you must also specify an S3 bucket in the\n OutputBucketName parameter.

" + "smithy.api#documentation": "

Use in combination with OutputBucketName to specify the output location of\n your transcript and, optionally, a unique name for your output file. The default name for your \n transcription output is the same as the name you specified for your transcription job \n (TranscriptionJobName).

\n

Here are some examples of how you can use OutputKey:

\n \n

If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one is \n created for you.

" } }, "OutputEncryptionKMSKeyId": { "target": "com.amazonaws.transcribe#KMSKeyId", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Key Management \n Service (KMS) key used to encrypt the output of the transcription job. The user calling the\n StartTranscriptionJob operation must have permission to use the specified\n KMS key.

\n

You can use either of the following to identify a KMS key in the current account:

\n \n

You can use either of the following to identify a KMS key in the current account or \n another account:

\n \n

If you don't specify an encryption key, the output of the transcription job is encrypted \n with the default Amazon S3 key (SSE-S3).

\n

If you specify a KMS key to encrypt your output, you must also specify an output location\n in the OutputBucketName parameter.

" + "smithy.api#documentation": "

The KMS key you want to use to encrypt your transcription output.

\n

If using a key located in the current \n Amazon Web Services account, you can specify your KMS key in one of \n four ways:

\n
    \n
  1. \n

    Use the KMS key ID itself. For example, \n 1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use an alias for the KMS key ID. For example,\n alias/ExampleAlias.

    \n
  4. \n
  5. \n

    Use the Amazon Resource Name (ARN) for the KMS key ID. For \n example, arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  6. \n
  7. \n

    Use the ARN for the KMS key alias. For example, \n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  8. \n
\n

If using a key located in a different \n Amazon Web Services account than the current Amazon Web Services account, you can \n specify your KMS key in one of two ways:

\n
    \n
  1. \n

    Use the ARN for the KMS key ID. For example, arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab.

    \n
  2. \n
  3. \n

    Use the ARN for the KMS key alias. For example, \n arn:aws:kms:region:account-ID:alias/ExampleAlias.

    \n
  4. \n
\n

If you don't specify an encryption key, your output is encrypted with the default \n Amazon S3 key (SSE-S3).

\n

If you specify a KMS key to encrypt your output, you must also specify \n an output location using the OutputLocation parameter.

\n

Note that the user making the \n request must have permission to use the specified KMS key.

" } }, "KMSEncryptionContext": { "target": "com.amazonaws.transcribe#KMSEncryptionContextMap", "traits": { - "smithy.api#documentation": "

A map of plain text, non-secret key:value pairs, known as encryption context pairs, that \n provide an added layer of security for your data.

" + "smithy.api#documentation": "

A map of plain text, non-secret key:value pairs, known as encryption context pairs, that \n provide an added layer of security for your data. For more information, see \n KMS \n encryption context and Asymmetric keys in \n KMS.

" } }, "Settings": { "target": "com.amazonaws.transcribe#Settings", "traits": { - "smithy.api#documentation": "

A Settings object that provides optional settings for a transcription \n job.

" + "smithy.api#documentation": "

Specify additional optional settings in your \n request, including channel identification, alternative transcriptions, speaker labeling; allows \n you to apply custom vocabularies and vocabulary filters.

\n

If you want to include a custom vocabulary or a custom vocabulary filter (or both) with \n your request but do not want to use automatic\n language identification, use Settings with the VocabularyName\n or VocabularyFilterName (or both) sub-parameter.

\n

If you're using automatic language identification with your request and want to include a\n custom language model, a custom vocabulary, or a custom vocabulary filter, use instead the \n parameter with the\n LanguageModelName, VocabularyName \n or VocabularyFilterName sub-parameters.

" } }, "ModelSettings": { "target": "com.amazonaws.transcribe#ModelSettings", "traits": { - "smithy.api#documentation": "

Choose the custom language model you use for your transcription job in this \n parameter.

" + "smithy.api#documentation": "

Specify the custom language model you want to include with your transcription job. If you \n include ModelSettings in your request, you must include the \n LanguageModelName sub-parameter.

\n

For more information, see Custom language \n models.

" } }, "JobExecutionSettings": { "target": "com.amazonaws.transcribe#JobExecutionSettings", "traits": { - "smithy.api#documentation": "

Provides information about how a transcription job is executed. Use this field to indicate\n that the job can be queued for deferred execution if the concurrency limit is reached and\n there are no slots available to immediately run the job.

" + "smithy.api#documentation": "

Allows you to control how your transcription job is processed. Currently, the only\n JobExecutionSettings modification you can choose is enabling job queueing using \n the AllowDeferredExecution sub-parameter.

\n

If you include JobExecutionSettings in your request, you must also include\n the sub-parameters: AllowDeferredExecution and \n DataAccessRoleArn.

" } }, "ContentRedaction": { "target": "com.amazonaws.transcribe#ContentRedaction", "traits": { - "smithy.api#documentation": "

An object that contains the request parameters for content redaction.

" + "smithy.api#documentation": "

Allows you to redact or flag specified personally identifiable information (PII) in your transcript. If \n you use ContentRedaction, you must also include the sub-parameters:\n PiiEntityTypes, RedactionOutput, and \n RedactionType.

" } }, "IdentifyLanguage": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Set this field to true to enable automatic language identification. \n Automatic language identification is disabled by default. You receive a\n BadRequestException error if you enter a value for a\n LanguageCode.

\n

You must include either LanguageCode or \n IdentifyLanguage in your request.

" + "smithy.api#documentation": "

Enables automatic language identification in your transcription job request.

\n

If you include IdentifyLanguage, you can optionally include a list of \n language codes, using LanguageOptions, that you think may be present in \n your media file. Including language options can improve transcription accuracy.

\n

If you want to apply a custom language model, a custom vocabulary, or a custom \n vocabulary filter to your automatic language identification request, include\n LanguageIdSettings with the relevant sub-parameters \n (VocabularyName, LanguageModelName, and \n VocabularyFilterName).

\n

Note that you must include one of LanguageCode, \n IdentifyLanguage, or IdentifyMultipleLanguages in your \n request. If you include more than one of these parameters, your transcription job \n fails.

" + } + }, + "IdentifyMultipleLanguages": { + "target": "com.amazonaws.transcribe#Boolean", + "traits": { + "smithy.api#documentation": "

Enables automatic multi-language identification in your transcription job request. Use this\n parameter if your media file contains more than one language.

\n

If you include IdentifyMultipleLanguages, you can optionally include a list \n of language codes, using LanguageOptions, that you think may be present in \n your media file. Including language options can improve transcription accuracy.

\n

If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic\n language identification request, include LanguageIdSettings with the relevant\n sub-parameters (VocabularyName and \n VocabularyFilterName).

\n

Note that you must include one of LanguageCode, \n IdentifyLanguage, or IdentifyMultipleLanguages in your \n request. If you include more than one of these parameters, your transcription job fails.

" } }, "LanguageOptions": { "target": "com.amazonaws.transcribe#LanguageOptions", "traits": { - "smithy.api#documentation": "

An object containing a list of languages that might be present in your collection of \n audio files. Automatic language identification chooses a language that best matches the \n source audio from that list.

\n

To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must \n be encoded at a sample rate of 16,000 Hz or higher.

" + "smithy.api#documentation": "

You can specify two or more language codes that represent the languages you think may \n be present in your media; including more than five is not recommended. If you're unsure what\n languages are present, do not include this parameter.

\n

If you include LanguageOptions in your request, you must also include \n IdentifyLanguage.

\n

For more information, refer to Supported languages.

\n

To transcribe speech in Modern Standard Arabic (ar-SA), your media file \n must be encoded at a sample rate of 16,000 Hz or higher.

" } }, "Subtitles": { "target": "com.amazonaws.transcribe#Subtitles", "traits": { - "smithy.api#documentation": "

Add subtitles to your batch transcription job.

" + "smithy.api#documentation": "

Produces subtitle files for your input media. You can specify WebVTT (*.vtt) and SubRip\n (*.srt) formats.

" } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

Add tags to an Amazon Transcribe transcription job.

" + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new transcription \n job at the time you start this new job.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" } }, "LanguageIdSettings": { "target": "com.amazonaws.transcribe#LanguageIdSettingsMap", "traits": { - "smithy.api#documentation": "

The language identification settings associated with your transcription job. These \n settings include VocabularyName, VocabularyFilterName, \n and LanguageModelName.

" + "smithy.api#documentation": "

If using automatic language identification (IdentifyLanguage) in your request \n and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary\n filter, include LanguageIdSettings with the relevant sub-parameters \n (VocabularyName, LanguageModelName, and \n VocabularyFilterName).

\n

You can specify two or more language codes that represent the languages you think may be \n present in your media; including more than five is not recommended. Each language code you \n include can have an associated custom language model, custom vocabulary, and custom \n vocabulary filter. The languages you specify must match the languages of the specified custom\n language models, custom vocabularies, and custom vocabulary filters.

\n

To include language options using IdentifyLanguage \n without including a custom language model, a custom \n vocabulary, or a custom vocabulary filter, use LanguageOptions instead of\n LanguageIdSettings. Including language options can improve the accuracy of \n automatic language identification.

\n

If you want to include a custom language model with your request but \n do not want to use automatic language identification,\n use instead the parameter with the\n LanguageModelName sub-parameter.

\n

If you want to include a custom vocabulary or a custom vocabulary filter (or both) with\n your request but do not want to use automatic \n language identification, use instead the \n parameter with the VocabularyName or \n VocabularyFilterName (or both) sub-parameter.

" } } } @@ -4201,7 +4256,7 @@ "TranscriptionJob": { "target": "com.amazonaws.transcribe#TranscriptionJob", "traits": { - "smithy.api#documentation": "

Provides information about your asynchronous transcription job.

" + "smithy.api#documentation": "

Provides detailed information about the current transcription job, including job status\n and, if applicable, failure reason.

" } } } @@ -4263,18 +4318,18 @@ "Formats": { "target": "com.amazonaws.transcribe#SubtitleFormats", "traits": { - "smithy.api#documentation": "

Specify the output format for your subtitle file; if you select both srt and\n vtt formats, two output files are generated.

" + "smithy.api#documentation": "

Specify the output format for your subtitle file; if you select both WebVTT \n (vtt) and SubRip (srt) formats, two output files are \n generated.

" } }, "OutputStartIndex": { "target": "com.amazonaws.transcribe#SubtitleOutputStartIndex", "traits": { - "smithy.api#documentation": "

Defines the starting value that is assigned to the first subtitle segment.

\n

The default start index for Amazon Transcribe is 0, which differs from\n the more widely used standard of 1. If you're uncertain which value to use,\n we recommend choosing 1, as this may improve compatibility with other\n services.

" + "smithy.api#documentation": "

Specify the starting value that is assigned to the first subtitle segment.

\n

The default start index for Amazon Transcribe is 0, which differs from\n the more widely used standard of 1. If you're uncertain which value to use,\n we recommend choosing 1, as this may improve compatibility with other\n services.

" } } }, "traits": { - "smithy.api#documentation": "

Generate subtitles for your batch transcription job. Note that your subtitle files are\n placed in the same location as your transcription output.

" + "smithy.api#documentation": "

Generate subtitles for your media file with your transcription request.

\n

You can choose a start index of 0 or 1, and you can specify either WebVTT or SubRip (or\n both) as your output format.

\n

Note that your subtitle files are placed in the same location as your transcription \n output.

" } }, "com.amazonaws.transcribe#SubtitlesOutput": { @@ -4283,24 +4338,24 @@ "Formats": { "target": "com.amazonaws.transcribe#SubtitleFormats", "traits": { - "smithy.api#documentation": "

The format of your subtitle files. If your request specified both srt and\n vtt formats, both formats are shown.

" + "smithy.api#documentation": "

Provides the format of your subtitle files. If your request included both WebVTT \n (vtt) and SubRip (srt) formats, both formats are \n shown.

" } }, "SubtitleFileUris": { "target": "com.amazonaws.transcribe#SubtitleFileUris", "traits": { - "smithy.api#documentation": "

Contains the output location for your subtitle file. This location must be an S3 \n bucket.

" + "smithy.api#documentation": "

The Amazon S3 location of your transcript. You can use this URI to access or \n download your subtitle file. Your subtitle file is stored in the same location as your \n transcript. If you specified both WebVTT and SubRip subtitle formats, two URIs are \n provided.

\n

If you included OutputBucketName in your transcription job request, this is\n the URI of that bucket. If you also included OutputKey in your request, your \n output is located in the path you specified in your request.

\n

If you didn't include OutputBucketName in your transcription job request,\n your subtitle file is stored in a service-managed bucket, and TranscriptFileUri\n provides you with a temporary URI you can use for secure access to your subtitle file.

\n \n

Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 \n minutes. If you get an AccesDenied error, you can get a new temporary \n URI by running a GetTranscriptionJob or \n ListTranscriptionJob request.

\n
" } }, "OutputStartIndex": { "target": "com.amazonaws.transcribe#SubtitleOutputStartIndex", "traits": { - "smithy.api#documentation": "

Shows the output start index value for your subtitle files. If you did not specify a value\n in your request, the default value of 0 is used.

" + "smithy.api#documentation": "

Provides the start index value for your subtitle files. If you did not specify a value\n in your request, the default value of 0 is used.

" } } }, "traits": { - "smithy.api#documentation": "

The S3 location where your subtitle files are located. Note that your subtitle files are\n placed in the same location as your transcription output. Refer to\n TranscriptFileUri to download your files.

" + "smithy.api#documentation": "

Provides information about your subtitle file, including format, start index, and\n Amazon S3 location.

" } }, "com.amazonaws.transcribe#Tag": { @@ -4309,20 +4364,20 @@ "Key": { "target": "com.amazonaws.transcribe#TagKey", "traits": { - "smithy.api#documentation": "

The first part of a key:value pair that forms a tag associated with a given resource. For\n example, in the tag ‘Department’:’Sales’, the key is 'Department'.

", + "smithy.api#documentation": "

The first part of a key:value pair that forms a tag associated with a given resource. For\n example, in the tag Department:Sales, the key is 'Department'.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.transcribe#TagValue", "traits": { - "smithy.api#documentation": "

The second part of a key:value pair that forms a tag associated with a given resource.\n For example, in the tag ‘Department’:’Sales’, the value is 'Sales'.

", + "smithy.api#documentation": "

The second part of a key:value pair that forms a tag associated with a given resource.\n For example, in the tag Department:Sales, the value is 'Sales'.

\n

Note that you can set the value of a tag to an empty string, but you can't set the value of a\n tag to null. Omitting the tag value is the same as using an empty string.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

A key:value pair that adds metadata to a resource used by Amazon Transcribe. For example, a tag \n with the key:value pair ‘Department’:’Sales’ might be added to a resource to indicate its use\n by your organization's sales department.

" + "smithy.api#documentation": "

Adds metadata, in the form of a key:value pair, to the specified resource.

\n

For example, you could add the tag Department:Sales to a \n resource to indicate that it pertains to your organization's sales department. You can also use \n tags for tag-based access control.

\n

To learn more about tagging, see Tagging resources.

" } }, "com.amazonaws.transcribe#TagKey": { @@ -4384,7 +4439,7 @@ } ], "traits": { - "smithy.api#documentation": "

Tags an Amazon Transcribe resource with the given list of tags.

", + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to the specified \n resource.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

", "smithy.api#http": { "method": "PUT", "uri": "/tags/{ResourceArn}", @@ -4398,7 +4453,7 @@ "ResourceArn": { "target": "com.amazonaws.transcribe#TranscribeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to tag. ARNs have \n the format arn:partition:service:region:account-id:resource-type/resource-id \n (for example, \n arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). \n Valid values for resource-type are: transcription-job,\n medical-transcription-job, vocabulary, \n medical-vocabulary, vocabulary-filter, and \n language-model.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource you want to tag. ARNs have the format\n arn:partition:service:region:account-id:resource-type/resource-id.

\n

For example, \n arn:aws:transcribe:us-west-2:account-id:transcription-job/transcription-job-name.

\n

Valid values for resource-type are: transcription-job,\n medical-transcription-job, vocabulary, \n medical-vocabulary, vocabulary-filter, and \n language-model.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4406,7 +4461,7 @@ "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

The tags you are assigning to a given Amazon Transcribe resource.

", + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to the specified \n resource.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

", "smithy.api#required": {} } } @@ -4449,7 +4504,7 @@ "name": "transcribe" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Operations and objects for transcribing speech to text.

", + "smithy.api#documentation": "

Amazon Transcribe offers three main types of batch transcription: \n Standard, Medical, and\n Call Analytics.

\n ", "smithy.api#title": "Amazon Transcribe Service" }, "version": "2017-10-26", @@ -4589,18 +4644,18 @@ "TranscriptFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 object location of the transcript.

\n

Use this URI to access the transcript. If you specified an S3 bucket in the\n OutputBucketName field when you created the job, this is the URI of that \n bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides \n secure access to that location.

" + "smithy.api#documentation": "

The Amazon S3 location of your transcript. You can use this URI to access or \n download your transcript.

\n

If you included OutputBucketName in your transcription job request, this is\n the URI of that bucket. If you also included OutputKey in your request, your \n output is located in the path you specified in your request.

\n

If you didn't include OutputBucketName in your transcription job request,\n your transcript is stored in a service-managed bucket, and TranscriptFileUri\n provides you with a temporary URI you can use for secure access to your transcript.

\n \n

Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 \n minutes. If you get an AccesDenied error, you can get a new temporary \n URI by running a GetTranscriptionJob or \n ListTranscriptionJob request.

\n
" } }, "RedactedTranscriptFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 object location of the redacted transcript.

\n

Use this URI to access the redacted transcript. If you specified an S3 bucket in the \n OutputBucketName field when you created the job, this is the URI of that \n bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides \n secure access to that location.

" + "smithy.api#documentation": "

The Amazon S3 location of your redacted transcript. You can use this URI to access\n or download your transcript.

\n

If you included OutputBucketName in your transcription job request, this is\n the URI of that bucket. If you also included OutputKey in your request, your \n output is located in the path you specified in your request.

\n

If you didn't include OutputBucketName in your transcription job request,\n your transcript is stored in a service-managed bucket, and \n RedactedTranscriptFileUri provides you with a temporary URI you can use for \n secure access to your transcript.

\n \n

Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 \n minutes. If you get an AccesDenied error, you can get a new temporary \n URI by running a GetTranscriptionJob or \n ListTranscriptionJob request.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Identifies the location of a transcription.

" + "smithy.api#documentation": "

Provides you with the Amazon S3 URI you can use to access your transcript.

" } }, "com.amazonaws.transcribe#TranscriptFilter": { @@ -4609,44 +4664,44 @@ "TranscriptFilterType": { "target": "com.amazonaws.transcribe#TranscriptFilterType", "traits": { - "smithy.api#documentation": "

Matches the phrase to the transcription output in a word\n for word fashion. For example, if you specify the phrase \"I want to speak to the manager.\"\n Amazon Transcribe attempts to match that specific phrase to the transcription.

", + "smithy.api#documentation": "

Flag the presence or absence of an exact match to the phrases you specify. For example, if you\n specify the phrase \"speak to a manager\" as your Targets value, only that exact\n phrase is flagged.

\n

Note that semantic matching is not supported. For example, if your customer says \"speak to \n the manager\", instead of \"speak to a\n manager\", your content is not flagged.

", "smithy.api#required": {} } }, "AbsoluteTimeRange": { "target": "com.amazonaws.transcribe#AbsoluteTimeRange", "traits": { - "smithy.api#documentation": "

A time range, set in seconds, between two points in the call.

" + "smithy.api#documentation": "

Allows you to specify a time range (in milliseconds) in your audio, during which you want to\n search for the specified key words or phrases. See \n for more detail.

" } }, "RelativeTimeRange": { "target": "com.amazonaws.transcribe#RelativeTimeRange", "traits": { - "smithy.api#documentation": "

An object that allows percentages to specify the proportion of the call where you would \n like to apply a filter. For example, you can specify the first half of the call. You can also \n specify the period of time between halfway through to three-quarters of the way through \n the call. Because the length of conversation can vary between calls, you can apply relative\n time ranges across all calls.

" + "smithy.api#documentation": "

Allows you to specify a time range (in percentage) in your media file, during which you\n want to search for the specified key words or phrases. See \n for more detail.

" } }, "ParticipantRole": { "target": "com.amazonaws.transcribe#ParticipantRole", "traits": { - "smithy.api#documentation": "

Determines whether the customer or the agent is speaking the phrases that you've\n specified.

" + "smithy.api#documentation": "

Specify the participant you want to flag. Omitting this parameter is equivalent to specifying\n both participants.

" } }, "Negate": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

If TRUE, the rule that you specify is applied to everything except for the \n phrases that you specify.

" + "smithy.api#documentation": "

Set to TRUE to flag the absence of the phrase you specified in your request.\n Set to FALSE to flag the presence of the phrase you specified in your request.

" } }, "Targets": { "target": "com.amazonaws.transcribe#StringTargetList", "traits": { - "smithy.api#documentation": "

The phrases that you're specifying for the transcript filter to match.

", + "smithy.api#documentation": "

Specify the phrases you want to flag.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Matches the output of the transcription to either the specific phrases that you specify, \n or the intent of the phrases that you specify.

" + "smithy.api#documentation": "

Flag the presence or absence of specific words or phrases detected in your Call Analytics \n transcription output.

\n

Rules using TranscriptFilter are designed to match:

\n \n

See Rule\n criteria for examples.

" } }, "com.amazonaws.transcribe#TranscriptFilterType": { @@ -4666,25 +4721,25 @@ "TranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the transcription job.

" + "smithy.api#documentation": "

The name of the transcription job. Job names are case sensitive and must be unique \n within an Amazon Web Services account.

" } }, "TranscriptionJobStatus": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

The status of the transcription job.

" + "smithy.api#documentation": "

Provides the status of the specified transcription job.

\n

If the status is COMPLETED, the job is finished and you can find the results\n at the location specified in TranscriptFileUri (or\n RedactedTranscriptFileUri, if you requested transcript redaction). If the status is \n FAILED, FailureReason provides details on why your transcription\n job failed.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code for the input speech.

" + "smithy.api#documentation": "

The language code used to create your transcription job. For a list of supported languages\n and their associated language codes, refer to the Supported languages\n table.

\n

Note that you must include one of LanguageCode, \n IdentifyLanguage, or IdentifyMultipleLanguages in your \n request. If you include more than one of these parameters, your transcription job \n fails.

" } }, "MediaSampleRateHertz": { "target": "com.amazonaws.transcribe#MediaSampleRateHertz", "traits": { - "smithy.api#documentation": "

The sample rate, in Hertz (Hz), of the audio track in the input media file.

" + "smithy.api#documentation": "

The sample rate, in Hertz, of the audio track in your input media file.

" } }, "MediaFormat": { @@ -4696,102 +4751,114 @@ "Media": { "target": "com.amazonaws.transcribe#Media", "traits": { - "smithy.api#documentation": "

An object that describes the input media for the transcription job.

" + "smithy.api#documentation": "

Describes the Amazon S3 location of the media file you want to use in your \n request.

" } }, "Transcript": { "target": "com.amazonaws.transcribe#Transcript", "traits": { - "smithy.api#documentation": "

An object that describes the output of the transcription job.

" + "smithy.api#documentation": "

Provides you with the Amazon S3 URI you can use to access your transcript.

" } }, "StartTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job started processing.

" + "smithy.api#documentation": "

The date and time the specified transcription job began processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.789000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CreationTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job was created.

" + "smithy.api#documentation": "

The date and time the specified transcription job request was made.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CompletionTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job completed.

" + "smithy.api#documentation": "

The date and time the specified transcription job finished processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:33:13.922000-07:00 represents a transcription job\n that started processing at 12:33 PM UTC-7 on May 4, 2022.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the TranscriptionJobStatus field is FAILED, this field \n contains information about why the job failed.

\n

The FailureReason field can contain one of the following values:

\n " + "smithy.api#documentation": "

If TranscriptionJobStatus is FAILED, \n FailureReason contains information about why the transcription job request\n failed.

\n

The FailureReason field contains one of the following values:

\n " } }, "Settings": { "target": "com.amazonaws.transcribe#Settings", "traits": { - "smithy.api#documentation": "

Optional settings for the transcription job. Use these settings to turn on speaker \n recognition, to set the maximum number of speakers that should be identified and to specify \n a custom vocabulary to use when processing the transcription job.

" + "smithy.api#documentation": "

Specify additional optional settings in your \n request, including channel identification, alternative transcriptions, speaker labeling; allows you\n to apply custom vocabularies and vocabulary filters.

\n

If you want to include a custom vocabulary or a custom vocabulary filter (or both) with \n your request but do not want to use automatic\n language identification, use Settings with the VocabularyName\n or VocabularyFilterName (or both) sub-parameter.

\n

If you're using automatic language identification with your request and want to include a\n custom language model, a custom vocabulary, or a custom vocabulary filter, do not use the \n Settings parameter; use instead the \n \n parameter with the LanguageModelName, VocabularyName \n or VocabularyFilterName sub-parameters.

" } }, "ModelSettings": { "target": "com.amazonaws.transcribe#ModelSettings", "traits": { - "smithy.api#documentation": "

An object containing the details of your custom language model.

" + "smithy.api#documentation": "

The custom language model you want to include with your transcription job. If you include\n ModelSettings in your request, you must include the \n LanguageModelName sub-parameter.

" } }, "JobExecutionSettings": { "target": "com.amazonaws.transcribe#JobExecutionSettings", "traits": { - "smithy.api#documentation": "

Provides information about how a transcription job is executed.

" + "smithy.api#documentation": "

Provides information about how your transcription job is being processed. This parameter shows \n if your request is queued and what data access role is being used.

" } }, "ContentRedaction": { "target": "com.amazonaws.transcribe#ContentRedaction", "traits": { - "smithy.api#documentation": "

An object that describes content redaction settings for the transcription job.

" + "smithy.api#documentation": "

Redacts or flags specified personally identifiable information (PII) in your transcript.

" } }, "IdentifyLanguage": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

A value that shows if automatic language identification was enabled for a transcription \n job.

" + "smithy.api#documentation": "

Indicates whether automatic language identification was enabled (TRUE)\n for the specified transcription job.

" + } + }, + "IdentifyMultipleLanguages": { + "target": "com.amazonaws.transcribe#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether automatic multi-language identification was enabled \n (TRUE) for the specified transcription job.

" } }, "LanguageOptions": { "target": "com.amazonaws.transcribe#LanguageOptions", "traits": { - "smithy.api#documentation": "

An object that shows the optional array of languages inputted for transcription jobs with\n automatic language identification enabled.

" + "smithy.api#documentation": "

You can specify two or more language codes that represent the languages you think may \n be present in your media; including more than five is not recommended. If you're unsure what\n languages are present, do not include this parameter.

\n

If you include LanguageOptions in your request, you must also include \n IdentifyLanguage.

\n

For more information, refer to Supported languages.

\n

To transcribe speech in Modern Standard Arabic (ar-SA), your media file \n must be encoded at a sample rate of 16,000 Hz or higher.

" } }, "IdentifiedLanguageScore": { "target": "com.amazonaws.transcribe#IdentifiedLanguageScore", "traits": { - "smithy.api#documentation": "

A value between zero and one that Amazon Transcribe assigned to the language that it identified in\n the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it\n identified.

" + "smithy.api#documentation": "

The confidence score associated with the language identified in your media file.

\n

Confidence scores are values between 0 and 1; a larger value indicates a higher \n probability that the identified language correctly matches the language spoken in your\n media.

" + } + }, + "LanguageCodes": { + "target": "com.amazonaws.transcribe#LanguageCodeList", + "traits": { + "smithy.api#documentation": "

The language codes used to create your transcription job. This parameter is used with\n multi-language identification. For single-language identification requests, refer to the singular \n version of this parameter, LanguageCode.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported languages\n table.

" } }, "Tags": { "target": "com.amazonaws.transcribe#TagList", "traits": { - "smithy.api#documentation": "

A key:value pair assigned to a given transcription job.

" + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new transcription\n job at the time you start this new job.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

" } }, "Subtitles": { "target": "com.amazonaws.transcribe#SubtitlesOutput", "traits": { - "smithy.api#documentation": "

Generate subtitles for your batch transcription job.

" + "smithy.api#documentation": "

Generate subtitles for your media file with your transcription request.

" } }, "LanguageIdSettings": { "target": "com.amazonaws.transcribe#LanguageIdSettingsMap", "traits": { - "smithy.api#documentation": "

Language-specific settings that can be specified when language identification is enabled\n for your transcription job. These settings include VocabularyName,\n VocabularyFilterName, and LanguageModelName.

" + "smithy.api#documentation": "

If using automatic language identification (IdentifyLanguage) in your request \n and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary\n filter, include LanguageIdSettings with the relevant sub-parameters \n (VocabularyName, LanguageModelName, and \n VocabularyFilterName).

\n

You can specify two or more language codes that represent the languages you think may be \n present in your media; including more than five is not recommended. Each language code you\n include can have an associated custom language model, custom vocabulary, and custom \n vocabulary filter. The languages you specify must match the languages of the specified custom\n language models, custom vocabularies, and custom vocabulary filters.

\n

To include language options using IdentifyLanguage \n without including a custom language model, a custom \n vocabulary, or a custom vocabulary filter, use LanguageOptions instead of\n LanguageIdSettings. Including language options can improve the accuracy of \n automatic language identification.

\n

If you want to include a custom language model with your request but \n do not want to use automatic language identification,\n use instead the parameter with the\n LanguageModelName sub-parameter.

\n

If you want to include a custom vocabulary or a custom vocabulary filter (or both) with\n your request but do not want to use automatic \n language identification, use instead the \n parameter with the VocabularyName or \n VocabularyFilterName (or both) sub-parameter.

" } } }, "traits": { - "smithy.api#documentation": "

Describes an asynchronous transcription job that was created with the \n StartTranscriptionJob operation.

" + "smithy.api#documentation": "

Provides detailed information about a transcription job.

\n

To view the status of the specified transcription job, check the \n TranscriptionJobStatus field. If the status is COMPLETED, the \n job is finished and you can find the results at the location specified in\n TranscriptFileUri. If the status is FAILED, \n FailureReason provides details on why your transcription job failed.

\n

If you enabled content redaction, the redacted transcript\n can be found at the location specified in RedactedTranscriptFileUri.

" } }, "com.amazonaws.transcribe#TranscriptionJobName": { @@ -4839,49 +4906,49 @@ "TranscriptionJobName": { "target": "com.amazonaws.transcribe#TranscriptionJobName", "traits": { - "smithy.api#documentation": "

The name of the transcription job.

" + "smithy.api#documentation": "

The name of the transcription job. Job names are case sensitive and must be unique \n within an Amazon Web Services account.

" } }, "CreationTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job was created.

" + "smithy.api#documentation": "

The date and time the specified transcription job request was made.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "StartTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job started processing.

" + "smithy.api#documentation": "

The date and time your transcription job began processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.789000-07:00 represents a transcription job\n that started processing at 12:32 PM UTC-7 on May 4, 2022.

" } }, "CompletionTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

A timestamp that shows when the job was completed.

" + "smithy.api#documentation": "

The date and time the specified transcription job finished processing.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:33:13.922000-07:00 represents a transcription job\n that started processing at 12:33 PM UTC-7 on May 4, 2022.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code for the input speech.

" + "smithy.api#documentation": "

The language code used to create your transcription.

" } }, "TranscriptionJobStatus": { "target": "com.amazonaws.transcribe#TranscriptionJobStatus", "traits": { - "smithy.api#documentation": "

The status of the transcription job. When the status is COMPLETED,\n use the GetTranscriptionJob operation to get the results of the \n transcription.

" + "smithy.api#documentation": "

Provides the status of your transcription job.

\n

If the status is COMPLETED, the job is finished and you can find the results\n at the location specified in TranscriptFileUri (or\n RedactedTranscriptFileUri, if you requested transcript redaction). If the status is \n FAILED, FailureReason provides details on why your transcription\n job failed.

" } }, "FailureReason": { "target": "com.amazonaws.transcribe#FailureReason", "traits": { - "smithy.api#documentation": "

If the TranscriptionJobStatus field is FAILED, a \n description of the error.

" + "smithy.api#documentation": "

If TranscriptionJobStatus is FAILED,\n FailureReason contains information about why the transcription job \n failed. See also: Common Errors.

" } }, "OutputLocationType": { "target": "com.amazonaws.transcribe#OutputLocationType", "traits": { - "smithy.api#documentation": "

Indicates the location of the output of the transcription job.

\n

If the value is CUSTOMER_BUCKET then the location is the S3 bucket\n specified in the outputBucketName field when the transcription job was \n started with the StartTranscriptionJob operation.

\n

If the value is SERVICE_BUCKET then the output is stored by Amazon Transcribe and \n can be retrieved using the URI in the GetTranscriptionJob response's\n TranscriptFileUri field.

" + "smithy.api#documentation": "

Indicates where the specified transcription output is stored.

\n

If the value is CUSTOMER_BUCKET, the location is the Amazon S3\n bucket you specified using the OutputBucketName parameter in your \n request. If you also included \n OutputKey in your request, your output is located in the path you specified in your\n request.

\n

If the value is SERVICE_BUCKET, the location is a service-managed \n Amazon S3 bucket. To access a transcript stored in a service-managed bucket, use\n the URI shown in the TranscriptFileUri or RedactedTranscriptFileUri \n field.

" } }, "ContentRedaction": { @@ -4896,18 +4963,30 @@ "IdentifyLanguage": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Whether automatic language identification was enabled for a transcription job.

" + "smithy.api#documentation": "

Indicates whether automatic language identification was enabled (TRUE)\n for the specified transcription job.

" + } + }, + "IdentifyMultipleLanguages": { + "target": "com.amazonaws.transcribe#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether automatic multi-language identification was enabled \n (TRUE) for the specified transcription job.

" } }, "IdentifiedLanguageScore": { "target": "com.amazonaws.transcribe#IdentifiedLanguageScore", "traits": { - "smithy.api#documentation": "

A value between zero and one that Amazon Transcribe assigned to the language it identified in \n the source audio. A higher score indicates that Amazon Transcribe is more confident in the language it\n identified.

" + "smithy.api#documentation": "

The confidence score associated with the language identified in your media file.

\n

Confidence scores are values between 0 and 1; a larger value indicates a higher \n probability that the identified language correctly matches the language spoken in your\n media.

" + } + }, + "LanguageCodes": { + "target": "com.amazonaws.transcribe#LanguageCodeList", + "traits": { + "smithy.api#documentation": "

The language codes used to create your transcription job. This parameter is used with\n multi-language identification. For single-language identification, the singular version of this \n parameter, LanguageCode, is present.

" } } }, "traits": { - "smithy.api#documentation": "

Provides a summary of information about a transcription job.

" + "smithy.api#documentation": "

Provides detailed information about a specific transcription job.

" } }, "com.amazonaws.transcribe#Type": { @@ -4951,7 +5030,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes specified tags from a specified Amazon Transcribe resource.

", + "smithy.api#documentation": "

Removes the specified tags from the specified Amazon Transcribe resource.

\n

If you include UntagResource in your request, you must also include \n ResourceArn and TagKeys.

", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{ResourceArn}", @@ -4965,7 +5044,7 @@ "ResourceArn": { "target": "com.amazonaws.transcribe#TranscribeArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to remove tags\n from. ARNs have the format\n arn:partition:service:region:account-id:resource-type/resource-id (for example,\n arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). \n Valid values for resource-type are: transcription-job,\n medical-transcription-job, vocabulary, \n medical-vocabulary, vocabulary-filter, and \n language-model.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to remove\n tags from. ARNs have the format\n arn:partition:service:region:account-id:resource-type/resource-id.

\n

For example, \n arn:aws:transcribe:us-west-2:account-id:transcription-job/transcription-job-name.

\n

Valid values for resource-type are: transcription-job,\n medical-transcription-job, vocabulary, \n medical-vocabulary, vocabulary-filter, and \n language-model.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4973,7 +5052,7 @@ "TagKeys": { "target": "com.amazonaws.transcribe#TagKeyList", "traits": { - "smithy.api#documentation": "

A list of tag keys you want to remove from a specified Amazon Transcribe resource.

", + "smithy.api#documentation": "

Removes the specified tag keys from the specified Amazon Transcribe resource.

", "smithy.api#required": {} } } @@ -5009,7 +5088,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the call analytics category with new values. The\n UpdateCallAnalyticsCategory operation overwrites all of the existing \n information with the values that you provide in the request.

", + "smithy.api#documentation": "

Updates the specified Call Analytics category with new rules. Note that the\n UpdateCallAnalyticsCategory operation overwrites all existing rules contained in \n the specified category. You cannot append additional rules onto an existing category.

\n

To create a new category, see .

", "smithy.api#http": { "method": "PATCH", "uri": "/callanalyticscategories/{CategoryName}", @@ -5023,7 +5102,7 @@ "CategoryName": { "target": "com.amazonaws.transcribe#CategoryName", "traits": { - "smithy.api#documentation": "

The name of the analytics category to update. The name is case sensitive. If you try\n to update a call analytics category with the same name as a previous category you will \n receive a ConflictException error.

", + "smithy.api#documentation": "

The name of the Call Analytics category you want to update. Category names are case\n sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5031,7 +5110,7 @@ "Rules": { "target": "com.amazonaws.transcribe#RuleList", "traits": { - "smithy.api#documentation": "

The rules used for the updated analytics category. The rules that you provide in this \n field replace the ones that are currently being used.

", + "smithy.api#documentation": "

The rules used for the updated Call Analytics category. The rules you provide in this field\n replace the ones that are currently being used in the specified category.

", "smithy.api#required": {} } } @@ -5043,7 +5122,7 @@ "CategoryProperties": { "target": "com.amazonaws.transcribe#CategoryProperties", "traits": { - "smithy.api#documentation": "

The attributes describing the analytics category. You can see information such as the \n rules that you've used to update the category and when the category was originally \n created.

" + "smithy.api#documentation": "

Provides you with the properties of the Call Analytics category you specified in your\n UpdateCallAnalyticsCategory request.

" } } } @@ -5074,7 +5153,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a vocabulary with new values that you provide in a different text file from\n the one you used to create the vocabulary. The UpdateMedicalVocabulary \n operation overwrites all of the existing information with the values that you provide in the\n request.

", + "smithy.api#documentation": "

Updates an existing custom medical vocabulary with new values. This operation overwrites\n all existing information with your new values; you cannot append new terms onto an existing\n vocabulary.

", "smithy.api#http": { "method": "PATCH", "uri": "/medicalvocabularies/{VocabularyName}", @@ -5088,7 +5167,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary to update. The name is case sensitive. If you try to update\n a vocabulary with the same name as a vocabulary you've already made, you get a\n ConflictException error.

", + "smithy.api#documentation": "

The name of the custom medical vocabulary you want to update. Vocabulary names are\n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5096,14 +5175,14 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the language used for the entries in the updated vocabulary. \n U.S. English (en-US) is the only valid language code in Amazon Transcribe Medical.

", + "smithy.api#documentation": "

The language code that represents the language of the entries in the custom vocabulary \n you want to update. US English (en-US) is the only language supported with \n Amazon Transcribe Medical.

", "smithy.api#required": {} } }, "VocabularyFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must\n be in the same Amazon Web Services Region as the resource that you are calling. The following\n is the format for a URI:

\n

\n https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey\n

\n

For example:

\n

\n https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt\n

\n

For more information about Amazon S3 object names, see Object Keys in the\n Amazon S3 Developer Guide.

\n

For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom\n Vocabularies.

" + "smithy.api#documentation": "

The Amazon S3 location of the text file that contains your custom medical \n vocabulary. The URI must be located in the same Amazon Web Services Region as the resource \n you're calling.

\n

Here's an example URI path:\n s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt\n

" } } } @@ -5114,25 +5193,25 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the updated vocabulary.

" + "smithy.api#documentation": "

The name of the updated custom medical vocabulary.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code for the language of the text file used to update the custom \n vocabulary. US English (en-US) is the only language supported in Amazon Transcribe Medical.

" + "smithy.api#documentation": "

The language code you selected for your medical vocabulary. US English \n (en-US) is the only language supported with Amazon Transcribe Medical.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the vocabulary was updated.

" + "smithy.api#documentation": "

The date and time the specified custom medical vocabulary was last updated.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "VocabularyState": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The processing state of the update to the vocabulary. When the \n VocabularyState field is READY, the vocabulary is ready to \n be used in a StartMedicalTranscriptionJob request.

" + "smithy.api#documentation": "

The processing state of your custom medical vocabulary. If the state is \n READY, you can use the vocabulary in a \n StartMedicalTranscriptionJob request.

" } } } @@ -5163,7 +5242,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an existing vocabulary with new values. The \n UpdateVocabulary operation overwrites all of the existing information with\n the values that you provide in the request.

", + "smithy.api#documentation": "

Updates an existing custom vocabulary with new values. This operation overwrites all existing\n information with your new values; you cannot append new terms onto an existing vocabulary.

", "smithy.api#http": { "method": "PATCH", "uri": "/vocabularies/{VocabularyName}", @@ -5194,7 +5273,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a vocabulary filter with a new list of filtered words.

", + "smithy.api#documentation": "

Updates an existing custom vocabulary filter with a new list of words. The new list you provide\n overwrites all previous entries; you cannot append new terms onto an existing vocabulary \n filter.

", "smithy.api#http": { "method": "PUT", "uri": "/vocabularyFilters/{VocabularyFilterName}", @@ -5208,7 +5287,7 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter to update. If you try to update a vocabulary filter with\n the same name as another vocabulary filter, you get a ConflictException \n error.

", + "smithy.api#documentation": "

The name of the custom vocabulary filter you want to update. Vocabulary filter names \n are case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5216,13 +5295,13 @@ "Words": { "target": "com.amazonaws.transcribe#Words", "traits": { - "smithy.api#documentation": "

The words to use in the vocabulary filter. Only use characters from the character \n set defined for custom vocabularies. For a list of character sets, see \n Character\n Sets for Custom Vocabularies.

\n

If you provide a list of words in the Words parameter, you can't use the \n VocabularyFilterFileUri parameter.

" + "smithy.api#documentation": "

Use this parameter if you want to update your vocabulary filter by including all desired terms, \n as comma-separated values, within your request. The other option for updating your vocabulary \n filter is to save your entries in a text file and upload them to an Amazon S3 bucket, then\n specify the location of your file using the VocabularyFilterFileUri \n parameter.

\n

Note that if you include Words in your request, you cannot use\n VocabularyFilterFileUri; you must choose one or the other.

\n

Each language has a character set that contains all allowed characters for that specific \n language. If you use unsupported characters, your vocabulary filter request fails. Refer to \n Character Sets for \n Custom Vocabularies to get the character set for your language.

" } }, "VocabularyFilterFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The Amazon S3 location of a text file used as input to create the vocabulary filter.\n Only use characters from the character set defined for custom vocabularies. For a list of \n character sets, see Character Sets for Custom\n Vocabularies.

\n

The specified file must be less than 50 KB of UTF-8 characters.

\n

If you provide the location of a list of words in the VocabularyFilterFileUri\n parameter, you can't use the Words parameter.

" + "smithy.api#documentation": "

The Amazon S3 location of the text file that contains your custom vocabulary filter \n terms. The URI must be located in the same Amazon Web Services Region as the resource you're \n calling.

\n

Here's an example URI path:\n s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt\n

\n

Note that if you include VocabularyFilterFileUri in your request, you \n cannot use Words; you must choose one or the other.

" } } } @@ -5233,19 +5312,19 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the updated vocabulary filter.

" + "smithy.api#documentation": "

The name of the updated custom vocabulary filter.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the words in the vocabulary filter.

" + "smithy.api#documentation": "

The language code you selected for your vocabulary filter.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the vocabulary filter was updated.

" + "smithy.api#documentation": "

The date and time the specified vocabulary filter was last updated.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } } } @@ -5256,7 +5335,7 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary to update. The name is case sensitive. If you try to update\n a vocabulary with the same name as a previous vocabulary you will receive a\n ConflictException error.

", + "smithy.api#documentation": "

The name of the custom vocabulary you want to update. Vocabulary names are\n case sensitive.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5264,20 +5343,20 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the vocabulary entries. For a list of languages and their \n corresponding language codes, see Supported languages.

", + "smithy.api#documentation": "

The language code that represents the language of the entries in the custom vocabulary \n you want to update. Each vocabulary must contain terms in only one language.

\n

A custom vocabulary can only be used to transcribe files in the same language as the \n vocabulary. For example, if you create a vocabulary using US English (en-US), \n you can only apply this vocabulary to files that contain English audio.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported\n languages table.

", "smithy.api#required": {} } }, "Phrases": { "target": "com.amazonaws.transcribe#Phrases", "traits": { - "smithy.api#documentation": "

An array of strings containing the vocabulary entries.

" + "smithy.api#documentation": "

Use this parameter if you want to update your vocabulary by including all desired terms, as\n comma-separated values, within your request. The other option for updating your vocabulary is to\n save your entries in a text file and upload them to an Amazon S3 bucket, then specify \n the location of your file using the VocabularyFileUri parameter.

\n

Note that if you include Phrases in your request, you cannot use\n VocabularyFileUri; you must choose one or the other.

\n

Each language has a character set that contains all allowed characters for that specific \n language. If you use unsupported characters, your vocabulary filter request fails. Refer to \n Character Sets for \n Custom Vocabularies to get the character set for your language.

" } }, "VocabularyFileUri": { "target": "com.amazonaws.transcribe#Uri", "traits": { - "smithy.api#documentation": "

The S3 location of the text file that contains the definition of the custom vocabulary. \n The URI must be in the same region as the API endpoint that you are calling. The general form\n is:

\n

\n https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey\n

\n

For example:

\n

\n https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt\n

\n

For more information about S3 object names, see Object Keys in the\n Amazon S3 Developer Guide.

\n

For more information about custom vocabularies, see Custom \n Vocabularies.

" + "smithy.api#documentation": "

The Amazon S3 location of the text file that contains your custom vocabulary. The\n URI must be located in the same Amazon Web Services Region as the resource you're \n calling.

\n

Here's an example URI path:\n s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt\n

\n

Note that if you include VocabularyFileUri in your request, you \n cannot use the Phrases flag; you must choose one or the other.

" } } } @@ -5288,25 +5367,25 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary that was updated.

" + "smithy.api#documentation": "

The name of the updated custom vocabulary.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the vocabulary entries.

" + "smithy.api#documentation": "

The language code you selected for your custom vocabulary.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the vocabulary was updated.

" + "smithy.api#documentation": "

The date and time the specified vocabulary was last updated.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "VocabularyState": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The processing state of the vocabulary. When the VocabularyState \n field contains READY the vocabulary is ready to be used in a\n StartTranscriptionJob request.

" + "smithy.api#documentation": "

The processing state of your custom vocabulary. If the state is READY, you\n can use the vocabulary in a StartTranscriptionJob request.

" } } } @@ -5333,24 +5412,24 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribe#VocabularyFilterName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary filter. The name must be unique in the account that\n holds the filter.

" + "smithy.api#documentation": "

A unique name, chosen by you, for your custom vocabulary filter. This name is case \n sensitive, cannot contain spaces, and must be unique within an \n Amazon Web Services account.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the words in the vocabulary filter.

" + "smithy.api#documentation": "

The language code that represents the language of the entries in your vocabulary \n filter. Each vocabulary filter must contain terms in only one language.

\n

A vocabulary filter can only be used to transcribe files in the same language as the \n filter. For example, if you create a vocabulary filter using US English (en-US), you\n can only apply this filter to files that contain English audio.

\n

For a list of supported languages and their associated language codes, refer to the \n Supported\n languages table.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the vocabulary was last updated.

" + "smithy.api#documentation": "

The date and time the specified vocabulary filter was last modified.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } } }, "traits": { - "smithy.api#documentation": "

Provides information about a vocabulary filter.

" + "smithy.api#documentation": "

Provides information about a vocabulary filter, including the language of the filter, when it\n was last modified, and its name.

" } }, "com.amazonaws.transcribe#VocabularyFilterMethod": { @@ -5394,30 +5473,30 @@ "VocabularyName": { "target": "com.amazonaws.transcribe#VocabularyName", "traits": { - "smithy.api#documentation": "

The name of the vocabulary.

" + "smithy.api#documentation": "

A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, \n cannot contain spaces, and must be unique within an Amazon Web Services account.

" } }, "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the vocabulary entries.

" + "smithy.api#documentation": "

The language code used to create your custom vocabulary. Each vocabulary must contain\n terms in only one language.

\n

A custom vocabulary can only be used to transcribe files in the same language as the \n vocabulary. For example, if you create a vocabulary using US English (en-US), \n you can only apply this vocabulary to files that contain English audio.

" } }, "LastModifiedTime": { "target": "com.amazonaws.transcribe#DateTime", "traits": { - "smithy.api#documentation": "

The date and time that the vocabulary was last modified.

" + "smithy.api#documentation": "

The date and time the specified vocabulary was last modified.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 \n on May 4, 2022.

" } }, "VocabularyState": { "target": "com.amazonaws.transcribe#VocabularyState", "traits": { - "smithy.api#documentation": "

The processing state of the vocabulary. If the state is READY you \n can use the vocabulary in a StartTranscriptionJob request.

" + "smithy.api#documentation": "

The processing state of your custom vocabulary. If the state is READY, you\n can use the vocabulary in a StartTranscriptionJob request.

" } } }, "traits": { - "smithy.api#documentation": "

Provides information about a custom vocabulary.

" + "smithy.api#documentation": "

Provides information about a custom vocabulary, including the language of the vocabulary, \n when it was last modified, its name, and the processing state.

" } }, "com.amazonaws.transcribe#VocabularyName": { diff --git a/codegen/sdk-codegen/aws-models/transfer.json b/codegen/sdk-codegen/aws-models/transfer.json index c10fb83b9ba..5788da18e90 100644 --- a/codegen/sdk-codegen/aws-models/transfer.json +++ b/codegen/sdk-codegen/aws-models/transfer.json @@ -298,7 +298,7 @@ "HostKey": { "target": "com.amazonaws.transfer#HostKey", "traits": { - "smithy.api#documentation": "

The RSA or ECDSA private key to use for your server.

\n \n

Use the following command to generate an RSA 2048 bit key with no passphrase:

\n

\n ssh-keygen -t rsa -b 2048 -N \"\" -m PEM -f my-new-server-key.

\n

Use a minimum value of 2048 for the -b option: you can create a stronger key using 3072 or 4096.

\n \n

Use the following command to generate an ECDSA 256 bit key with no passphrase:

\n

\n ssh-keygen -t ecdsa -b 256 -N \"\" -m PEM -f my-new-server-key.

\n

Valid values for the -b option for ECDSA are 256, 384, and 521.

\n \n

For both of these commands, you can replace my-new-server-key with a string of your choice.

\n\n \n

If you aren't planning to migrate existing users from an existing SFTP-enabled\n server to a new server, don't update the host key. Accidentally changing a\n server's host key can be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web Services Transfer\n Family User Guide.

" + "smithy.api#documentation": "

The RSA private key as generated by the ssh-keygen -N \"\" -m PEM -f\n my-new-server-key command.

\n\n \n

If you aren't planning to migrate existing users from an existing SFTP-enabled\n server to a new server, don't update the host key. Accidentally changing a\n server's host key can be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web Services Transfer\n Family User Guide.

" } }, "IdentityProviderDetails": { @@ -340,7 +340,7 @@ "ProtocolDetails": { "target": "com.amazonaws.transfer#ProtocolDetails", "traits": { - "smithy.api#documentation": "

The protocol settings that are configured for your server.

\n

\n Use the PassiveIp parameter to indicate passive mode (for FTP and FTPS protocols).\n Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.\n

\n

Use the TlsSessionResumptionMode parameter to determine whether or not your Transfer server\n resumes recent, negotiated sessions through a unique session ID.

" + "smithy.api#documentation": "

The protocol settings that are configured for your server.

\n " } }, "SecurityPolicyName": { @@ -3236,6 +3236,12 @@ "traits": { "smithy.api#documentation": "

A property used with Transfer servers that use the FTPS protocol. TLS Session Resumption provides a mechanism to resume or share a negotiated secret\n key between the control and data connection for an FTPS session. TlsSessionResumptionMode determines whether or not the server resumes recent,\n negotiated sessions through a unique session ID. This property is available during CreateServer and UpdateServer calls.\n If a TlsSessionResumptionMode value is not specified during CreateServer, it is set to ENFORCED by default.

\n " } + }, + "SetStatOption": { + "target": "com.amazonaws.transfer#SetStatOption", + "traits": { + "smithy.api#documentation": "

Use the SetStatOption to ignore the error that is generated when the client attempts to use SETSTAT on a file you are uploading to an S3 bucket.

\n

Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file.\n However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when \n the file is otherwise successfully uploaded.

\n

Set the value to ENABLE_NO_OP to have the Transfer Family server ignore the SETSTAT command, and upload files without needing to make any changes to your SFTP client.\n While the SetStatOption \n ENABLE_NO_OP setting ignores the error, it does generate a log entry in CloudWatch Logs, so you can determine when the client is making a SETSTAT call.

\n \n

If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.

\n
" + } } }, "traits": { @@ -3661,6 +3667,21 @@ "smithy.api#pattern": "^[\\w-]*$" } }, + "com.amazonaws.transfer#SetStatOption": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "DEFAULT", + "name": "DEFAULT" + }, + { + "value": "ENABLE_NO_OP", + "name": "ENABLE_NO_OP" + } + ] + } + }, "com.amazonaws.transfer#SourceFileLocation": { "type": "string", "traits": { @@ -4459,7 +4480,7 @@ "ProtocolDetails": { "target": "com.amazonaws.transfer#ProtocolDetails", "traits": { - "smithy.api#documentation": "

\n The protocol settings that are configured for your server.\n

\n

\n Use the PassiveIp parameter to indicate passive mode (for FTP and FTPS protocols).\n Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.\n

\n

Use the TlsSessionResumptionMode parameter to determine whether or not your Transfer server\n resumes recent, negotiated sessions through a unique session ID.

" + "smithy.api#documentation": "

The protocol settings that are configured for your server.

\n " } }, "EndpointDetails": { @@ -4477,7 +4498,7 @@ "HostKey": { "target": "com.amazonaws.transfer#HostKey", "traits": { - "smithy.api#documentation": "

The RSA or ECDSA private key to use for your server.

\n \n

Use the following command to generate an RSA 2048 bit key with no passphrase:

\n

\n ssh-keygen -t rsa -b 2048 -N \"\" -m PEM -f my-new-server-key.

\n

Use a minimum value of 2048 for the -b option: you can create a stronger key using 3072 or 4096.

\n \n

Use the following command to generate an ECDSA 256 bit key with no passphrase:

\n

\n ssh-keygen -t ecdsa -b 256 -N \"\" -m PEM -f my-new-server-key.

\n

Valid values for the -b option for ECDSA are 256, 384, and 521.

\n \n

For both of these commands, you can replace my-new-server-key with a string of your choice.

\n\n \n

If you aren't planning to migrate existing users from an existing SFTP-enabled\n server to a new server, don't update the host key. Accidentally changing a\n server's host key can be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web Services Transfer\n Family User Guide.

" + "smithy.api#documentation": "

The RSA private key as generated by ssh-keygen -N \"\" -m PEM -f\n my-new-server-key.

\n\n \n

If you aren't planning to migrate existing users from an existing server to a new\n server, don't update the host key. Accidentally changing a server's host key can\n be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web ServicesTransfer\n Family User Guide.

" } }, "IdentityProviderDetails": { diff --git a/codegen/sdk-codegen/aws-models/voice-id.json b/codegen/sdk-codegen/aws-models/voice-id.json index c0c33f87894..0101cd4411b 100644 --- a/codegen/sdk-codegen/aws-models/voice-id.json +++ b/codegen/sdk-codegen/aws-models/voice-id.json @@ -72,6 +72,10 @@ { "value": "SPEAKER_ID_NOT_PROVIDED", "name": "SPEAKER_ID_NOT_PROVIDED" + }, + { + "value": "SPEAKER_EXPIRED", + "name": "SPEAKER_EXPIRED" } ] } @@ -192,6 +196,10 @@ { "value": "CONCURRENT_CHANGES", "name": "CONCURRENT_CHANGES" + }, + { + "value": "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES", + "name": "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES" } ] } @@ -231,8 +239,7 @@ "smithy.api#documentation": "

Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer \n audio, and voiceprints.\n

", "smithy.api#http": { "method": "POST", - "uri": "/domains", - "code": 200 + "uri": "/domains" }, "smithy.api#idempotent": {} } @@ -256,7 +263,7 @@ "ServerSideEncryptionConfiguration": { "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", "traits": { - "smithy.api#documentation": "

The configuration, containing the KMS Key Identifier, to be used by Voice ID for \n the server-side encryption of your data. Refer to \n Amazon Connect VoiceID encryption at rest for more details on how the KMS Key is used.\n

", + "smithy.api#documentation": "

The configuration, containing the KMS key identifier, to be used by Voice ID for \n the server-side encryption of your data. Refer to \n Amazon Connect Voice ID encryption at rest for more details on how the KMS key is used.\n

", "smithy.api#required": {} } }, @@ -302,6 +309,9 @@ "input": { "target": "com.amazonaws.voiceid#DeleteDomainRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.voiceid#AccessDeniedException" @@ -323,7 +333,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified domain from the Amazon Connect Voice ID system.

", + "smithy.api#documentation": "

Deletes the specified domain from Voice ID.

", "smithy.api#http": { "method": "DELETE", "uri": "/domains/{DomainId}", @@ -349,10 +359,16 @@ "input": { "target": "com.amazonaws.voiceid#DeleteFraudsterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.voiceid#AccessDeniedException" }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, { "target": "com.amazonaws.voiceid#InternalServerException" }, @@ -367,7 +383,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified fraudster from the Amazon Connect Voice ID system.

", + "smithy.api#documentation": "

Deletes the specified fraudster from Voice ID.

", "smithy.api#http": { "method": "DELETE", "uri": "/domains/{DomainId}/fraudsters/{FraudsterId}", @@ -401,6 +417,9 @@ "input": { "target": "com.amazonaws.voiceid#DeleteSpeakerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.voiceid#AccessDeniedException" @@ -422,7 +441,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified speaker from the Amazon Connect Voice ID system.

", + "smithy.api#documentation": "

Deletes the specified speaker from Voice ID.

", "smithy.api#http": { "method": "DELETE", "uri": "/domains/{DomainId}/speakers/{SpeakerId}", @@ -480,8 +499,7 @@ "smithy.api#documentation": "

Describes the specified domain.

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}", - "code": 200 + "uri": "/domains/{DomainId}" } } }, @@ -538,8 +556,7 @@ "smithy.api#documentation": "

Describes the specified fraudster.

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}/fraudsters/{FraudsterId}", - "code": 200 + "uri": "/domains/{DomainId}/fraudsters/{FraudsterId}" } } }, @@ -572,8 +589,7 @@ "smithy.api#documentation": "

Describes the specified fraudster registration job.

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}/fraudster-registration-jobs/{JobId}", - "code": 200 + "uri": "/domains/{DomainId}/fraudster-registration-jobs/{JobId}" } } }, @@ -670,8 +686,7 @@ "smithy.api#documentation": "

Describes the specified speaker.

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}/speakers/{SpeakerId}", - "code": 200 + "uri": "/domains/{DomainId}/speakers/{SpeakerId}" } } }, @@ -704,8 +719,7 @@ "smithy.api#documentation": "

Describes the specified speaker enrollment job.

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}/speaker-enrollment-jobs/{JobId}", - "code": 200 + "uri": "/domains/{DomainId}/speaker-enrollment-jobs/{JobId}" } } }, @@ -820,7 +834,7 @@ "ServerSideEncryptionConfiguration": { "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", "traits": { - "smithy.api#documentation": "

The server-side encryption configuration containing the KMS Key Identifier you want Voice ID to use\n to encrypt your data.

" + "smithy.api#documentation": "

The server-side encryption configuration containing the KMS key identifier you want Voice ID to use\n to encrypt your data.

" } }, "CreatedAt": { @@ -834,6 +848,12 @@ "traits": { "smithy.api#documentation": "

The timestamp showing the domain's last update.

" } + }, + "ServerSideEncryptionUpdateDetails": { + "target": "com.amazonaws.voiceid#ServerSideEncryptionUpdateDetails", + "traits": { + "smithy.api#documentation": "

Details about the most recent server-side encryption configuration update. When the server-side\n encryption configuration is changed, dependency on the old KMS key is removed through an\n asynchronous process. When this update is complete, the domain's data can only be accessed using the\n new KMS key.

" + } } }, "traits": { @@ -922,7 +942,7 @@ "ServerSideEncryptionConfiguration": { "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", "traits": { - "smithy.api#documentation": "

The server-side encryption configuration containing the KMS Key Identifier you want Voice ID to use\n to encrypt your data..

" + "smithy.api#documentation": "

The server-side encryption configuration containing the KMS key identifier you want Voice ID to use\n to encrypt your data.

" } }, "CreatedAt": { @@ -936,6 +956,12 @@ "traits": { "smithy.api#documentation": "

The timestamp showing the domain's last update.

" } + }, + "ServerSideEncryptionUpdateDetails": { + "target": "com.amazonaws.voiceid#ServerSideEncryptionUpdateDetails", + "traits": { + "smithy.api#documentation": "

Details about the most recent server-side encryption configuration update. When the server-side\n encryption configuration is changed, dependency on the old KMS key is removed through an\n asynchronous process. When this update is complete, the domain’s data can only be accessed using the\n new KMS key.

" + } } }, "traits": { @@ -1009,6 +1035,9 @@ { "target": "com.amazonaws.voiceid#AccessDeniedException" }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, { "target": "com.amazonaws.voiceid#InternalServerException" }, @@ -1026,8 +1055,7 @@ "smithy.api#documentation": "

Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice \n ID call.

", "smithy.api#http": { "method": "PUT", - "uri": "/sessions/{SessionNameOrId}/evaluate", - "code": 200 + "uri": "/sessions/{SessionNameOrId}/evaluate" } } }, @@ -1076,7 +1104,7 @@ "StreamingStatus": { "target": "com.amazonaws.voiceid#StreamingStatus", "traits": { - "smithy.api#documentation": "

The current status of audio streaming for this session. This field is useful to infer next steps when\n the Authentication or Fraud Detection results are empty or the decision is NOT_ENOUGH_SPEECH.\n In this situation, if the StreamingStatus is ONGOING/PENDING_CONFIGURATION, it can\n mean that the client should call the API again later, once Voice ID has enough audio to produce a result.\n If the decision remains NOT_ENOUGH_SPEECH even after StreamingStatus is ENDED,\n it means that the previously streamed session did not have enough speech to perform evaluation, and a new\n streaming session is needed to try again.

" + "smithy.api#documentation": "

The current status of audio streaming for this session. This field is useful to infer next steps when\n the Authentication or Fraud Detection results are empty or the decision is NOT_ENOUGH_SPEECH.\n In this situation, if the StreamingStatus is ONGOING/PENDING_CONFIGURATION, it can\n mean that the client should call the API again later, after Voice ID has enough audio to produce a result.\n If the decision remains NOT_ENOUGH_SPEECH even after StreamingStatus is ENDED,\n it means that the previously streamed session did not have enough speech to perform evaluation, and a new\n streaming session is needed to try again.

" } }, "AuthenticationResult": { @@ -1308,7 +1336,7 @@ "JobName": { "target": "com.amazonaws.voiceid#JobName", "traits": { - "smithy.api#documentation": "

The client-provied name for the fraudster registration job.

" + "smithy.api#documentation": "

The client-provided name for the fraudster registration job.

" } }, "JobId": { @@ -1350,7 +1378,7 @@ "OutputDataConfig": { "target": "com.amazonaws.voiceid#OutputDataConfig", "traits": { - "smithy.api#documentation": "

The output data config containing the S3 location where you want Voice ID to write your job output \n file; you must also include a KMS Key ID in order to encrypt the file.

" + "smithy.api#documentation": "

The output data config containing the S3 location where you want Voice ID to write your job output \n file; you must also include a KMS key iD in order to encrypt the file.

" } }, "CreatedAt": { @@ -1626,12 +1654,12 @@ "smithy.api#documentation": "

Lists all the domains in the Amazon Web Services account.\n

", "smithy.api#http": { "method": "GET", - "uri": "/domains", - "code": 200 + "uri": "/domains" }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "DomainSummaries", "pageSize": "MaxResults" } } @@ -1701,12 +1729,12 @@ "smithy.api#documentation": "

Lists all the fraudster registration jobs in the domain with the given JobStatus.\n If JobStatus is not provided, this lists all fraudster registration jobs in the given\n domain.\n

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}/fraudster-registration-jobs", - "code": 200 + "uri": "/domains/{DomainId}/fraudster-registration-jobs" }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "JobSummaries", "pageSize": "MaxResults" } } @@ -1791,12 +1819,12 @@ "smithy.api#documentation": "

Lists all the speaker enrollment jobs in the domain with the specified JobStatus. If\n JobStatus is not provided, this lists all jobs with all possible speaker enrollment job\n statuses.

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}/speaker-enrollment-jobs", - "code": 200 + "uri": "/domains/{DomainId}/speaker-enrollment-jobs" }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "JobSummaries", "pageSize": "MaxResults" } } @@ -1881,12 +1909,12 @@ "smithy.api#documentation": "

Lists all speakers in a specified domain.

", "smithy.api#http": { "method": "GET", - "uri": "/domains/{DomainId}/speakers", - "code": 200 + "uri": "/domains/{DomainId}/speakers" }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "SpeakerSummaries", "pageSize": "MaxResults" } } @@ -1963,9 +1991,8 @@ "traits": { "smithy.api#documentation": "

Lists all tags associated with a specified Voice ID resource.

", "smithy.api#http": { - "method": "GET", "uri": "/tags/{ResourceArn}", - "code": 200 + "method": "GET" } } }, @@ -2052,11 +2079,10 @@ } ], "traits": { - "smithy.api#documentation": "

Opts out a speaker from Voice ID system. A speaker can be opted out regardless of whether or not they\n already exist in the system. If they don't yet exist, a new speaker is created in an opted out state.\n If they already exist, their existing status is overridden and they are opted out. Enrollment and\n evaluation authentication requests are rejected for opted out speakers, and opted out speakers have\n no voice embeddings stored in the system.

", + "smithy.api#documentation": "

Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether or not they\n already exist in Voice ID. If they don't yet exist, a new speaker is created in an opted out state.\n If they already exist, their existing status is overridden and they are opted out. Enrollment and\n evaluation authentication requests are rejected for opted out speakers, and opted out speakers have\n no voice embeddings stored in Voice ID.

", "smithy.api#http": { "method": "PUT", - "uri": "/domains/{DomainId}/speakers/{SpeakerId}/optout", - "code": 200 + "uri": "/domains/{DomainId}/speakers/{SpeakerId}/optout" } } }, @@ -2098,7 +2124,7 @@ "S3Uri": { "target": "com.amazonaws.voiceid#S3Uri", "traits": { - "smithy.api#documentation": "

The S3 path of the folder to which Voice ID writes the job output file, which has a \n *.out extension. For example, if the input file name is input-file.json and \n the output folder path is s3://output-bucket/output-folder, the full output file path is \n s3://output-bucket/output-folder/job-Id/input-file.json.out.

", + "smithy.api#documentation": "

The S3 path of the folder where Voice ID writes the job output file. It has a \n *.out extension. For example, if the input file name is input-file.json and \n the output folder path is s3://output-bucket/output-folder, the full output file path is \n s3://output-bucket/output-folder/job-Id/input-file.json.out.

", "smithy.api#required": {} } }, @@ -2130,7 +2156,7 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration definining the action to take when a duplicate fraudster is detected, and the \n similarity threshold to use for detecting a duplicate fraudster during a batch fraudster registration job.

" + "smithy.api#documentation": "

The configuration defining the action to take when a duplicate fraudster is detected, and the \n similarity threshold to use for detecting a duplicate fraudster during a batch fraudster registration job.

" } }, "com.amazonaws.voiceid#ResourceNotFoundException": { @@ -2209,13 +2235,58 @@ "KmsKeyId": { "target": "com.amazonaws.voiceid#KmsKeyId", "traits": { - "smithy.api#documentation": "

The identifier of the KMS Key you want Voice ID to use to encrypt your data.

", + "smithy.api#documentation": "

The identifier of the KMS key you want Voice ID to use to encrypt your data.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The configuration containing information about the customer-managed KMS Key used for encrypting\n customer data.

" + "smithy.api#documentation": "

The configuration containing information about the customer managed key used for encrypting\n customer data.

" + } + }, + "com.amazonaws.voiceid#ServerSideEncryptionUpdateDetails": { + "type": "structure", + "members": { + "OldKmsKeyId": { + "target": "com.amazonaws.voiceid#KmsKeyId", + "traits": { + "smithy.api#documentation": "

The previous KMS key ID the domain was encrypted with, before\n ServerSideEncryptionConfiguration was updated to a new KMS key ID.

" + } + }, + "UpdateStatus": { + "target": "com.amazonaws.voiceid#ServerSideEncryptionUpdateStatus", + "traits": { + "smithy.api#documentation": "

Status of the server-side encryption update. During an update, if there is an issue with the domain's\n current or old KMS key ID, such as an inaccessible or disabled key, then the status\n is FAILED. In order to resolve this, the key needs to be made accessible, and then an UpdateDomain call\n with the existing server-side encryption configuration will re-attempt this update process.

" + } + }, + "Message": { + "target": "com.amazonaws.voiceid#String", + "traits": { + "smithy.api#documentation": "

Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains\n the cause of the failure.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the most recent server-side encryption configuration update. When the server-side\n encryption configuration is changed, dependency on the old KMS key is removed through an\n asynchronous process. When this update is complete, the domain’s data can only be accessed using the\n new KMS key.

" + } + }, + "com.amazonaws.voiceid#ServerSideEncryptionUpdateStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] } }, "com.amazonaws.voiceid#ServiceQuotaExceededException": { @@ -2299,6 +2370,12 @@ "traits": { "smithy.api#documentation": "

A timestamp showing the speaker's last update.

" } + }, + "LastAccessedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the speaker was last accessed for enrollment, re-enrollment or a successful authentication. This timestamp is accurate to one hour.

" + } } }, "traits": { @@ -2353,7 +2430,7 @@ "OutputDataConfig": { "target": "com.amazonaws.voiceid#OutputDataConfig", "traits": { - "smithy.api#documentation": "

The output data config containing the S3 location where Voice ID writes the job output file; you must \n also include a KMS Key ID to encrypt the file.

" + "smithy.api#documentation": "

The output data config containing the S3 location where Voice ID writes the job output file; you must \n also include a KMS key ID to encrypt the file.

" } }, "CreatedAt": { @@ -2552,6 +2629,12 @@ "traits": { "smithy.api#documentation": "

A timestamp showing the speaker's last update.

" } + }, + "LastAccessedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the speaker was last accessed for enrollment, re-enrollment or a successful authentication. This timestamp is accurate to one hour.

" + } } }, "traits": { @@ -2593,8 +2676,7 @@ "smithy.api#documentation": "

Starts a new batch fraudster registration job using provided details.

", "smithy.api#http": { "method": "POST", - "uri": "/domains/{DomainId}/fraudster-registration-jobs", - "code": 200 + "uri": "/domains/{DomainId}/fraudster-registration-jobs" }, "smithy.api#idempotent": {} } @@ -2646,7 +2728,7 @@ "OutputDataConfig": { "target": "com.amazonaws.voiceid#OutputDataConfig", "traits": { - "smithy.api#documentation": "

The output data config containing the S3 location where Voice ID writes the job output file; you must\n also include a KMS Key ID to encrypt the file.

", + "smithy.api#documentation": "

The output data config containing the S3 location where Voice ID writes the job output file; you must\n also include a KMS key ID to encrypt the file.

", "smithy.api#required": {} } } @@ -2698,8 +2780,7 @@ "smithy.api#documentation": "

Starts a new batch speaker enrollment job using specified details.

", "smithy.api#http": { "method": "POST", - "uri": "/domains/{DomainId}/speaker-enrollment-jobs", - "code": 200 + "uri": "/domains/{DomainId}/speaker-enrollment-jobs" }, "smithy.api#idempotent": {} } @@ -2738,7 +2819,7 @@ "EnrollmentConfig": { "target": "com.amazonaws.voiceid#EnrollmentConfig", "traits": { - "smithy.api#documentation": "

The enrollment config that contains details such as the action to take when a speaker is already\n enrolled in the Voice ID system or when a speaker is identified as a fraudster.

" + "smithy.api#documentation": "

The enrollment config that contains details such as the action to take when a speaker is already\n enrolled in Voice ID or when a speaker is identified as a fraudster.

" } }, "InputDataConfig": { @@ -2751,7 +2832,7 @@ "OutputDataConfig": { "target": "com.amazonaws.voiceid#OutputDataConfig", "traits": { - "smithy.api#documentation": "

The output data config containing the S3 location where Voice ID writes the job output file; you must\n also include a KMS Key ID to encrypt the file.

", + "smithy.api#documentation": "

The output data config containing the S3 location where Voice ID writes the job output file; you must\n also include a KMS key ID to encrypt the file.

", "smithy.api#required": {} } } @@ -2881,11 +2962,10 @@ } ], "traits": { - "smithy.api#documentation": "

Tags an Amazon Connect Voice ID resource with the provided list of tags.

", + "smithy.api#documentation": "

Tags a Voice ID resource with the provided list of tags.

", "smithy.api#http": { - "method": "POST", "uri": "/tags/{ResourceArn}", - "code": 200 + "method": "POST" } } }, @@ -2981,8 +3061,8 @@ "traits": { "smithy.api#documentation": "

Removes specified tags from a specified Amazon Connect Voice ID resource.

", "smithy.api#http": { - "method": "DELETE", "uri": "/tags/{ResourceArn}", + "method": "DELETE", "code": 204 } } @@ -3044,8 +3124,7 @@ "smithy.api#documentation": "

Updates the specified domain. This API has clobber behavior, and clears and replaces all attributes.\n If an optional field, such as 'Description' is not provided, it is removed from the domain.

", "smithy.api#http": { "method": "PUT", - "uri": "/domains/{DomainId}", - "code": 200 + "uri": "/domains/{DomainId}" } } }, @@ -3076,7 +3155,7 @@ "ServerSideEncryptionConfiguration": { "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", "traits": { - "smithy.api#documentation": "

The configuration, containing the KMS Key Identifier, to be used by Voice ID for the server-side\n encryption of your data. Note that all the existing data in the domain are still encrypted using the\n existing key, only the data added to domain after updating the key is encrypted using the new key.

", + "smithy.api#documentation": "

The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side\n encryption of your data. Note that all the existing data in the domain are still encrypted using the\n existing key, only the data added to domain after updating the key is encrypted using the new key.

", "smithy.api#required": {} } } @@ -3108,6 +3187,21 @@ }, "com.amazonaws.voiceid#VoiceID": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "Voice ID", + "arnNamespace": "voiceid", + "cloudFormationName": "VoiceID", + "cloudTrailEventSource": "voiceid.amazonaws.com", + "endpointPrefix": "voiceid" + }, + "aws.auth#sigv4": { + "name": "voiceid" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

Amazon Connect Voice ID provides real-time caller authentication and fraud screening. This guide\n describes the APIs used for this service.\n

", + "smithy.api#title": "Amazon Voice ID" + }, "version": "2021-09-27", "operations": [ { @@ -3173,22 +3267,7 @@ { "target": "com.amazonaws.voiceid#UpdateDomain" } - ], - "traits": { - "aws.api#service": { - "sdkId": "Voice ID", - "arnNamespace": "voiceid", - "cloudFormationName": "VoiceID", - "cloudTrailEventSource": "voiceid.amazonaws.com", - "endpointPrefix": "voiceid" - }, - "aws.auth#sigv4": { - "name": "voiceid" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

Amazon Connect Voice ID provides real-time caller authentication and fraud screening. This guide\n describes the APIs used for this service.\n

", - "smithy.api#title": "Amazon Voice ID" - } + ] } } } \ No newline at end of file diff --git a/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json b/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json index d527ee75463..5c211e04521 100644 --- a/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json +++ b/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json @@ -1114,7 +1114,9 @@ }, "app-integrations" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, + "ap-northeast-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, @@ -1658,6 +1660,31 @@ "us-west-2" : { } } }, + "backup-gateway" : { + "endpoints" : { + "af-south-1" : { }, + "ap-east-1" : { }, + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-northeast-3" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-south-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "me-south-1" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } + } + }, "batch" : { "defaults" : { "variants" : [ { @@ -1674,6 +1701,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -1769,6 +1797,11 @@ "isRegionalized" : false, "partitionEndpoint" : "aws-global" }, + "catalog.marketplace" : { + "endpoints" : { + "us-east-1" : { } + } + }, "ce" : { "endpoints" : { "aws-global" : { @@ -4834,12 +4867,50 @@ }, "email" : { "endpoints" : { + "af-south-1" : { }, + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ca-central-1" : { }, "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, - "us-east-1" : { }, - "us-west-2" : { } + "eu-west-2" : { }, + "eu-west-3" : { }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "email-fips.us-east-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "email-fips.us-west-2.amazonaws.com" + }, + "me-south-1" : { }, + "sa-east-1" : { }, + "us-east-1" : { + "variants" : [ { + "hostname" : "email-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { + "variants" : [ { + "hostname" : "email-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "emr-containers" : { @@ -4922,6 +4993,38 @@ } } }, + "emr-serverless" : { + "endpoints" : { + "ap-northeast-1" : { }, + "eu-west-1" : { }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "emr-serverless-fips.us-east-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "emr-serverless-fips.us-west-2.amazonaws.com" + }, + "us-east-1" : { + "variants" : [ { + "hostname" : "emr-serverless-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "emr-serverless-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } + } + }, "entitlement.marketplace" : { "defaults" : { "credentialScope" : { @@ -6469,6 +6572,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ca-central-1" : { }, "eu-central-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, @@ -6509,6 +6613,12 @@ }, "hostname" : "data.iotevents.ap-southeast-2.amazonaws.com" }, + "ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "hostname" : "data.iotevents.ca-central-1.amazonaws.com" + }, "eu-central-1" : { "credentialScope" : { "region" : "eu-central-1" @@ -6642,8 +6752,21 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "iotsitewise-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-west-1" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "iotsitewise-fips.ca-central-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -6651,6 +6774,13 @@ "deprecated" : true, "hostname" : "iotsitewise-fips.us-east-1.amazonaws.com" }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "iotsitewise-fips.us-east-2.amazonaws.com" + }, "fips-us-west-2" : { "credentialScope" : { "region" : "us-west-2" @@ -6664,6 +6794,12 @@ "tags" : [ "fips" ] } ] }, + "us-east-2" : { + "variants" : [ { + "hostname" : "iotsitewise-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "us-west-2" : { "variants" : [ { "hostname" : "iotsitewise-fips.us-west-2.amazonaws.com", @@ -8088,6 +8224,32 @@ } } }, + "memory-db" : { + "endpoints" : { + "ap-east-1" : { }, + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "fips" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "hostname" : "memory-db-fips.us-west-1.amazonaws.com" + }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } + } + }, "messaging-chime" : { "endpoints" : { "eu-central-1" : { }, @@ -8642,6 +8804,12 @@ }, "hostname" : "oidc.ap-northeast-2.amazonaws.com" }, + "ap-northeast-3" : { + "credentialScope" : { + "region" : "ap-northeast-3" + }, + "hostname" : "oidc.ap-northeast-3.amazonaws.com" + }, "ap-south-1" : { "credentialScope" : { "region" : "ap-south-1" @@ -9039,6 +9207,12 @@ }, "hostname" : "portal.sso.ap-northeast-2.amazonaws.com" }, + "ap-northeast-3" : { + "credentialScope" : { + "region" : "ap-northeast-3" + }, + "hostname" : "portal.sso.ap-northeast-3.amazonaws.com" + }, "ap-south-1" : { "credentialScope" : { "region" : "ap-south-1" @@ -9144,6 +9318,15 @@ "us-west-2" : { } } }, + "proton" : { + "endpoints" : { + "ap-northeast-1" : { }, + "eu-west-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-2" : { } + } + }, "qldb" : { "endpoints" : { "ap-northeast-1" : { }, @@ -9756,6 +9939,30 @@ } } }, + "resiliencehub" : { + "endpoints" : { + "af-south-1" : { }, + "ap-east-1" : { }, + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-south-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "me-south-1" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } + } + }, "resource-groups" : { "endpoints" : { "af-south-1" : { }, @@ -13138,6 +13345,28 @@ } } }, + "wellarchitected" : { + "endpoints" : { + "ap-east-1" : { }, + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "me-south-1" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } + } + }, "wisdom" : { "endpoints" : { "ap-northeast-1" : { }, @@ -13970,6 +14199,12 @@ } } }, + "memory-db" : { + "endpoints" : { + "cn-north-1" : { }, + "cn-northwest-1" : { } + } + }, "monitoring" : { "defaults" : { "protocols" : [ "http", "https" ] @@ -14808,6 +15043,12 @@ "us-gov-west-1" : { } } }, + "backup-gateway" : { + "endpoints" : { + "us-gov-east-1" : { }, + "us-gov-west-1" : { } + } + }, "batch" : { "defaults" : { "variants" : [ { @@ -17267,32 +17508,8 @@ } ] }, "endpoints" : { - "fips-us-gov-east-1" : { - "credentialScope" : { - "region" : "us-gov-east-1" - }, - "deprecated" : true, - "hostname" : "servicecatalog-appregistry.us-gov-east-1.amazonaws.com" - }, - "fips-us-gov-west-1" : { - "credentialScope" : { - "region" : "us-gov-west-1" - }, - "deprecated" : true, - "hostname" : "servicecatalog-appregistry.us-gov-west-1.amazonaws.com" - }, - "us-gov-east-1" : { - "variants" : [ { - "hostname" : "servicecatalog-appregistry.us-gov-east-1.amazonaws.com", - "tags" : [ "fips" ] - } ] - }, - "us-gov-west-1" : { - "variants" : [ { - "hostname" : "servicecatalog-appregistry.us-gov-west-1.amazonaws.com", - "tags" : [ "fips" ] - } ] - } + "us-gov-east-1" : { }, + "us-gov-west-1" : { } } }, "servicediscovery" : { @@ -18010,6 +18227,11 @@ "us-iso-east-1" : { } } }, + "appconfigdata" : { + "endpoints" : { + "us-iso-west-1" : { } + } + }, "application-autoscaling" : { "defaults" : { "protocols" : [ "http", "https" ] diff --git a/config/CHANGELOG.md b/config/CHANGELOG.md index 7feeffac6b9..a50ad10fa22 100644 --- a/config/CHANGELOG.md +++ b/config/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.15.10 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.15.9 (2022-05-26) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.15.8 (2022-05-25) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.7 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/config/go.mod b/config/go.mod index fa228a08d88..346dcca8a0b 100644 --- a/config/go.mod +++ b/config/go.mod @@ -3,14 +3,14 @@ module github.com/aws/aws-sdk-go-v2/config go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/credentials v1.12.2 - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.5 - github.com/aws/aws-sdk-go-v2/internal/ini v1.3.12 - github.com/aws/aws-sdk-go-v2/service/sso v1.11.5 - github.com/aws/aws-sdk-go-v2/service/sts v1.16.6 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/credentials v1.12.5 + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.6 + github.com/aws/aws-sdk-go-v2/internal/ini v1.3.13 + github.com/aws/aws-sdk-go-v2/service/sso v1.11.8 + github.com/aws/aws-sdk-go-v2/service/sts v1.16.7 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../ diff --git a/config/go.sum b/config/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/config/go.sum +++ b/config/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/config/go_module_metadata.go b/config/go_module_metadata.go index d81cc10a5a1..b987f2c9ef8 100644 --- a/config/go_module_metadata.go +++ b/config/go_module_metadata.go @@ -3,4 +3,4 @@ package config // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.7" +const goModuleVersion = "1.15.10" diff --git a/credentials/CHANGELOG.md b/credentials/CHANGELOG.md index e53f3d7f628..20e0fa9ba22 100644 --- a/credentials/CHANGELOG.md +++ b/credentials/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.12.5 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.12.4 (2022-05-26) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.12.3 (2022-05-25) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/credentials/go.mod b/credentials/go.mod index 3381e0fb7be..d8e4459139e 100644 --- a/credentials/go.mod +++ b/credentials/go.mod @@ -3,12 +3,12 @@ module github.com/aws/aws-sdk-go-v2/credentials go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.5 - github.com/aws/aws-sdk-go-v2/service/sso v1.11.5 - github.com/aws/aws-sdk-go-v2/service/sts v1.16.6 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.6 + github.com/aws/aws-sdk-go-v2/service/sso v1.11.8 + github.com/aws/aws-sdk-go-v2/service/sts v1.16.7 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../ diff --git a/credentials/go.sum b/credentials/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/credentials/go.sum +++ b/credentials/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/credentials/go_module_metadata.go b/credentials/go_module_metadata.go index 26e3fbcf302..7f5d5354eea 100644 --- a/credentials/go_module_metadata.go +++ b/credentials/go_module_metadata.go @@ -3,4 +3,4 @@ package credentials // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.5" diff --git a/example/service/dynamodb/createTable/go.mod b/example/service/dynamodb/createTable/go.mod index 37ed2ea1b44..fca322740ad 100644 --- a/example/service/dynamodb/createTable/go.mod +++ b/example/service/dynamodb/createTable/go.mod @@ -3,9 +3,9 @@ module github.com/aws/aws-sdk-go-v2/example/service/dynamodb/createTable go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.5 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.6 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/example/service/dynamodb/createTable/go.sum b/example/service/dynamodb/createTable/go.sum index 1add25982f4..8bce9965be5 100644 --- a/example/service/dynamodb/createTable/go.sum +++ b/example/service/dynamodb/createTable/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/example/service/dynamodb/scanItems/go.mod b/example/service/dynamodb/scanItems/go.mod index 2acfa4fda78..acd8c736f91 100644 --- a/example/service/dynamodb/scanItems/go.mod +++ b/example/service/dynamodb/scanItems/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/example/service/dynamodb/listItems go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.9.2 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.5 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.9.3 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.6 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/example/service/dynamodb/scanItems/go.sum b/example/service/dynamodb/scanItems/go.sum index 1add25982f4..8bce9965be5 100644 --- a/example/service/dynamodb/scanItems/go.sum +++ b/example/service/dynamodb/scanItems/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/example/service/s3/listObjects/go.mod b/example/service/s3/listObjects/go.mod index be036fbd8c1..4fa90c989e2 100644 --- a/example/service/s3/listObjects/go.mod +++ b/example/service/s3/listObjects/go.mod @@ -3,8 +3,8 @@ module github.com/aws/aws-sdk-go-v2/example/service/s3/listObjects go 1.15 require ( - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/service/s3 v1.26.10 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/service/s3 v1.26.11 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/example/service/s3/listObjects/go.sum b/example/service/s3/listObjects/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/example/service/s3/listObjects/go.sum +++ b/example/service/s3/listObjects/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/example/service/s3/usingPrivateLink/go.mod b/example/service/s3/usingPrivateLink/go.mod index 3147151531e..bbca3b2a6ff 100644 --- a/example/service/s3/usingPrivateLink/go.mod +++ b/example/service/s3/usingPrivateLink/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/example/service/s3/usingPrivateLink go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/service/s3 v1.26.10 - github.com/aws/aws-sdk-go-v2/service/s3control v1.21.6 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/service/s3 v1.26.11 + github.com/aws/aws-sdk-go-v2/service/s3control v1.21.7 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/example/service/s3/usingPrivateLink/go.sum b/example/service/s3/usingPrivateLink/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/example/service/s3/usingPrivateLink/go.sum +++ b/example/service/s3/usingPrivateLink/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/feature/cloudfront/sign/CHANGELOG.md b/feature/cloudfront/sign/CHANGELOG.md index 9253757ff91..b475b5c671c 100644 --- a/feature/cloudfront/sign/CHANGELOG.md +++ b/feature/cloudfront/sign/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.3.19 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.3.18 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/cloudfront/sign/go.mod b/feature/cloudfront/sign/go.mod index 0e3be87c113..37a6aa72d4a 100644 --- a/feature/cloudfront/sign/go.mod +++ b/feature/cloudfront/sign/go.mod @@ -2,6 +2,6 @@ module github.com/aws/aws-sdk-go-v2/feature/cloudfront/sign go 1.15 -require github.com/aws/aws-sdk-go-v2 v1.16.4 +require github.com/aws/aws-sdk-go-v2 v1.16.5 replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/cloudfront/sign/go.sum b/feature/cloudfront/sign/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/feature/cloudfront/sign/go.sum +++ b/feature/cloudfront/sign/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/feature/cloudfront/sign/go_module_metadata.go b/feature/cloudfront/sign/go_module_metadata.go index d0577896944..a0287262a0d 100644 --- a/feature/cloudfront/sign/go_module_metadata.go +++ b/feature/cloudfront/sign/go_module_metadata.go @@ -3,4 +3,4 @@ package sign // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.3.18" +const goModuleVersion = "1.3.19" diff --git a/feature/dynamodb/attributevalue/CHANGELOG.md b/feature/dynamodb/attributevalue/CHANGELOG.md index b93320680b9..ed1da43b916 100644 --- a/feature/dynamodb/attributevalue/CHANGELOG.md +++ b/feature/dynamodb/attributevalue/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/dynamodb/attributevalue/go.mod b/feature/dynamodb/attributevalue/go.mod index d626cf9983e..d6606ccf61d 100644 --- a/feature/dynamodb/attributevalue/go.mod +++ b/feature/dynamodb/attributevalue/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.5 - github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.13.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.6 + github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.13.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/dynamodb/attributevalue/go.sum b/feature/dynamodb/attributevalue/go.sum index 1add25982f4..8bce9965be5 100644 --- a/feature/dynamodb/attributevalue/go.sum +++ b/feature/dynamodb/attributevalue/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/feature/dynamodb/attributevalue/go_module_metadata.go b/feature/dynamodb/attributevalue/go_module_metadata.go index 429f842ec31..bdbab787f1e 100644 --- a/feature/dynamodb/attributevalue/go_module_metadata.go +++ b/feature/dynamodb/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.2" +const goModuleVersion = "1.9.3" diff --git a/feature/dynamodb/expression/CHANGELOG.md b/feature/dynamodb/expression/CHANGELOG.md index cb4dc3c19ea..6613b5d7a16 100644 --- a/feature/dynamodb/expression/CHANGELOG.md +++ b/feature/dynamodb/expression/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.9 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.4.8 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/dynamodb/expression/go.mod b/feature/dynamodb/expression/go.mod index 71c53b5be87..bba0c2d749f 100644 --- a/feature/dynamodb/expression/go.mod +++ b/feature/dynamodb/expression/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/feature/dynamodb/expression go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.9.2 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.5 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.9.3 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.6 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/dynamodb/expression/go.sum b/feature/dynamodb/expression/go.sum index 1add25982f4..8bce9965be5 100644 --- a/feature/dynamodb/expression/go.sum +++ b/feature/dynamodb/expression/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/feature/dynamodb/expression/go_module_metadata.go b/feature/dynamodb/expression/go_module_metadata.go index 00070f4891a..ac07b40868f 100644 --- a/feature/dynamodb/expression/go_module_metadata.go +++ b/feature/dynamodb/expression/go_module_metadata.go @@ -3,4 +3,4 @@ package expression // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.8" +const goModuleVersion = "1.4.9" diff --git a/feature/dynamodbstreams/attributevalue/CHANGELOG.md b/feature/dynamodbstreams/attributevalue/CHANGELOG.md index bd4c714e973..cf3bc0a6c70 100644 --- a/feature/dynamodbstreams/attributevalue/CHANGELOG.md +++ b/feature/dynamodbstreams/attributevalue/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/dynamodbstreams/attributevalue/go.mod b/feature/dynamodbstreams/attributevalue/go.mod index 879dee03b71..bb6e387f7b8 100644 --- a/feature/dynamodbstreams/attributevalue/go.mod +++ b/feature/dynamodbstreams/attributevalue/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/feature/dynamodbstreams/attributevalue go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.5 - github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.13.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.6 + github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.13.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/dynamodbstreams/attributevalue/go.sum b/feature/dynamodbstreams/attributevalue/go.sum index 1add25982f4..8bce9965be5 100644 --- a/feature/dynamodbstreams/attributevalue/go.sum +++ b/feature/dynamodbstreams/attributevalue/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/feature/dynamodbstreams/attributevalue/go_module_metadata.go b/feature/dynamodbstreams/attributevalue/go_module_metadata.go index 429f842ec31..bdbab787f1e 100644 --- a/feature/dynamodbstreams/attributevalue/go_module_metadata.go +++ b/feature/dynamodbstreams/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.2" +const goModuleVersion = "1.9.3" diff --git a/feature/ec2/imds/CHANGELOG.md b/feature/ec2/imds/CHANGELOG.md index f8724c2b371..c1289c39e03 100644 --- a/feature/ec2/imds/CHANGELOG.md +++ b/feature/ec2/imds/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/ec2/imds/go.mod b/feature/ec2/imds/go.mod index 5c0bc70a047..2fa79d5d6a6 100644 --- a/feature/ec2/imds/go.mod +++ b/feature/ec2/imds/go.mod @@ -3,9 +3,9 @@ module github.com/aws/aws-sdk-go-v2/feature/ec2/imds go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/ec2/imds/go.sum b/feature/ec2/imds/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/feature/ec2/imds/go.sum +++ b/feature/ec2/imds/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/feature/ec2/imds/go_module_metadata.go b/feature/ec2/imds/go_module_metadata.go index f728ff9538b..3b6ed647d14 100644 --- a/feature/ec2/imds/go_module_metadata.go +++ b/feature/ec2/imds/go_module_metadata.go @@ -3,4 +3,4 @@ package imds // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/feature/ec2/imds/internal/configtesting/go.mod b/feature/ec2/imds/internal/configtesting/go.mod index 7f51a75ccac..78cf7465541 100644 --- a/feature/ec2/imds/internal/configtesting/go.mod +++ b/feature/ec2/imds/internal/configtesting/go.mod @@ -3,8 +3,8 @@ module github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/configtesting go 1.15 require ( - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.5 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.6 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../../ diff --git a/feature/ec2/imds/internal/configtesting/go.sum b/feature/ec2/imds/internal/configtesting/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/feature/ec2/imds/internal/configtesting/go.sum +++ b/feature/ec2/imds/internal/configtesting/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/feature/rds/auth/CHANGELOG.md b/feature/rds/auth/CHANGELOG.md index d4db20934ec..8da8fb9ba2f 100644 --- a/feature/rds/auth/CHANGELOG.md +++ b/feature/rds/auth/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.1.22 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.1.21 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/rds/auth/go.mod b/feature/rds/auth/go.mod index 8723cf5c5ed..810f360c722 100644 --- a/feature/rds/auth/go.mod +++ b/feature/rds/auth/go.mod @@ -2,6 +2,6 @@ module github.com/aws/aws-sdk-go-v2/feature/rds/auth go 1.15 -require github.com/aws/aws-sdk-go-v2 v1.16.4 +require github.com/aws/aws-sdk-go-v2 v1.16.5 replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/rds/auth/go.sum b/feature/rds/auth/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/feature/rds/auth/go.sum +++ b/feature/rds/auth/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/feature/rds/auth/go_module_metadata.go b/feature/rds/auth/go_module_metadata.go index 7e5bf8262b2..f3165baf90c 100644 --- a/feature/rds/auth/go_module_metadata.go +++ b/feature/rds/auth/go_module_metadata.go @@ -3,4 +3,4 @@ package auth // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.21" +const goModuleVersion = "1.1.22" diff --git a/feature/s3/manager/CHANGELOG.md b/feature/s3/manager/CHANGELOG.md index baaa16378f3..529f43a2e0f 100644 --- a/feature/s3/manager/CHANGELOG.md +++ b/feature/s3/manager/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.11.15 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.11.14 (2022-05-26) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.11.13 (2022-05-25) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.12 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/s3/manager/go.mod b/feature/s3/manager/go.mod index 3aa84d33625..0575d5c3976 100644 --- a/feature/s3/manager/go.mod +++ b/feature/s3/manager/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/feature/s3/manager go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/service/s3 v1.26.10 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/service/s3 v1.26.11 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/s3/manager/go.sum b/feature/s3/manager/go.sum index 1add25982f4..8bce9965be5 100644 --- a/feature/s3/manager/go.sum +++ b/feature/s3/manager/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/feature/s3/manager/go_module_metadata.go b/feature/s3/manager/go_module_metadata.go index 27c0e0fd283..9fa0095538b 100644 --- a/feature/s3/manager/go_module_metadata.go +++ b/feature/s3/manager/go_module_metadata.go @@ -3,4 +3,4 @@ package manager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.12" +const goModuleVersion = "1.11.15" diff --git a/go.mod b/go.mod index 60d01bc3918..a07b5008ff8 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/aws/aws-sdk-go-v2 require ( - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/go.sum b/go.sum index 1add25982f4..8bce9965be5 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/internal/configsources/CHANGELOG.md b/internal/configsources/CHANGELOG.md index 1a400177a9e..ded19397084 100644 --- a/internal/configsources/CHANGELOG.md +++ b/internal/configsources/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.1.12 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.1.11 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/internal/configsources/configtesting/go.mod b/internal/configsources/configtesting/go.mod index aec059ef85c..15cd983ba5e 100644 --- a/internal/configsources/configtesting/go.mod +++ b/internal/configsources/configtesting/go.mod @@ -3,8 +3,8 @@ module github.com/aws/aws-sdk-go-v2/internal/configsources/configtesting go 1.15 require ( - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/configsources/configtesting/go.sum b/internal/configsources/configtesting/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/configsources/configtesting/go.sum +++ b/internal/configsources/configtesting/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/configsources/go.mod b/internal/configsources/go.mod index 844bb41cc9d..7f52e70111d 100644 --- a/internal/configsources/go.mod +++ b/internal/configsources/go.mod @@ -2,6 +2,6 @@ module github.com/aws/aws-sdk-go-v2/internal/configsources go 1.15 -require github.com/aws/aws-sdk-go-v2 v1.16.4 +require github.com/aws/aws-sdk-go-v2 v1.16.5 replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/internal/configsources/go.sum b/internal/configsources/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/configsources/go.sum +++ b/internal/configsources/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/configsources/go_module_metadata.go b/internal/configsources/go_module_metadata.go index b2bf7ec2dab..edd39d5666b 100644 --- a/internal/configsources/go_module_metadata.go +++ b/internal/configsources/go_module_metadata.go @@ -3,4 +3,4 @@ package configsources // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.11" +const goModuleVersion = "1.1.12" diff --git a/internal/endpoints/v2/CHANGELOG.md b/internal/endpoints/v2/CHANGELOG.md index b1581794d8d..9ee12e5c65c 100644 --- a/internal/endpoints/v2/CHANGELOG.md +++ b/internal/endpoints/v2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v2.4.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v2.4.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/internal/endpoints/v2/go.mod b/internal/endpoints/v2/go.mod index 1dabb50b613..a8be1ae7e61 100644 --- a/internal/endpoints/v2/go.mod +++ b/internal/endpoints/v2/go.mod @@ -3,9 +3,9 @@ module github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/endpoints/v2/go.sum b/internal/endpoints/v2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/endpoints/v2/go.sum +++ b/internal/endpoints/v2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/endpoints/v2/go_module_metadata.go b/internal/endpoints/v2/go_module_metadata.go index af9b7541c78..f50f5d2b475 100644 --- a/internal/endpoints/v2/go_module_metadata.go +++ b/internal/endpoints/v2/go_module_metadata.go @@ -3,4 +3,4 @@ package endpoints // goModuleVersion is the tagged release for this module -const goModuleVersion = "2.4.5" +const goModuleVersion = "2.4.6" diff --git a/internal/ini/CHANGELOG.md b/internal/ini/CHANGELOG.md index 1829254a31f..08807b39286 100644 --- a/internal/ini/CHANGELOG.md +++ b/internal/ini/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.3.13 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.3.12 (2022-05-17) * **Bug Fix**: Removes the fuzz testing files from the module, as they are invalid and not used. diff --git a/internal/ini/go.mod b/internal/ini/go.mod index ac382fcc8b8..e996c244136 100644 --- a/internal/ini/go.mod +++ b/internal/ini/go.mod @@ -2,6 +2,6 @@ module github.com/aws/aws-sdk-go-v2/internal/ini go 1.15 -require github.com/aws/aws-sdk-go-v2 v1.16.4 +require github.com/aws/aws-sdk-go-v2 v1.16.5 replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/internal/ini/go.sum b/internal/ini/go.sum index 4c3d07aebd9..6d80459220f 100644 --- a/internal/ini/go.sum +++ b/internal/ini/go.sum @@ -1,10 +1,9 @@ -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/ini/go_module_metadata.go b/internal/ini/go_module_metadata.go index 245bea0b9b1..44c2ed9a623 100644 --- a/internal/ini/go_module_metadata.go +++ b/internal/ini/go_module_metadata.go @@ -3,4 +3,4 @@ package ini // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.3.12" +const goModuleVersion = "1.3.13" diff --git a/internal/protocoltest/awsrestjson/go.mod b/internal/protocoltest/awsrestjson/go.mod index a8a8e95c542..9479b725ae8 100644 --- a/internal/protocoltest/awsrestjson/go.mod +++ b/internal/protocoltest/awsrestjson/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/internal/protocoltest/awsrestjson go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/protocoltest/awsrestjson/go.sum b/internal/protocoltest/awsrestjson/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/protocoltest/awsrestjson/go.sum +++ b/internal/protocoltest/awsrestjson/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/protocoltest/ec2query/go.mod b/internal/protocoltest/ec2query/go.mod index f73da97390e..4a2ab925009 100644 --- a/internal/protocoltest/ec2query/go.mod +++ b/internal/protocoltest/ec2query/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/internal/protocoltest/ec2query go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/protocoltest/ec2query/go.sum b/internal/protocoltest/ec2query/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/protocoltest/ec2query/go.sum +++ b/internal/protocoltest/ec2query/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/protocoltest/jsonrpc/go.mod b/internal/protocoltest/jsonrpc/go.mod index 6c7b3012d64..9264e4d33e9 100644 --- a/internal/protocoltest/jsonrpc/go.mod +++ b/internal/protocoltest/jsonrpc/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/protocoltest/jsonrpc/go.sum b/internal/protocoltest/jsonrpc/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/protocoltest/jsonrpc/go.sum +++ b/internal/protocoltest/jsonrpc/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/protocoltest/jsonrpc10/go.mod b/internal/protocoltest/jsonrpc10/go.mod index 78e2be382a1..ed7925ab951 100644 --- a/internal/protocoltest/jsonrpc10/go.mod +++ b/internal/protocoltest/jsonrpc10/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/internal/protocoltest/jsonrpc10 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/protocoltest/jsonrpc10/go.sum b/internal/protocoltest/jsonrpc10/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/protocoltest/jsonrpc10/go.sum +++ b/internal/protocoltest/jsonrpc10/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/protocoltest/query/go.mod b/internal/protocoltest/query/go.mod index 0f9dcff2ade..e139de15ac2 100644 --- a/internal/protocoltest/query/go.mod +++ b/internal/protocoltest/query/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/internal/protocoltest/query go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/protocoltest/query/go.sum b/internal/protocoltest/query/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/protocoltest/query/go.sum +++ b/internal/protocoltest/query/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/protocoltest/restxml/go.mod b/internal/protocoltest/restxml/go.mod index 1fee5443bca..f118f6108bd 100644 --- a/internal/protocoltest/restxml/go.mod +++ b/internal/protocoltest/restxml/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/internal/protocoltest/restxml go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/protocoltest/restxml/go.sum b/internal/protocoltest/restxml/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/protocoltest/restxml/go.sum +++ b/internal/protocoltest/restxml/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/protocoltest/restxmlwithnamespace/go.mod b/internal/protocoltest/restxmlwithnamespace/go.mod index 5ae97873864..6bed8a7f985 100644 --- a/internal/protocoltest/restxmlwithnamespace/go.mod +++ b/internal/protocoltest/restxmlwithnamespace/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/internal/protocoltest/restxmlwithnamespace go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/internal/protocoltest/restxmlwithnamespace/go.sum b/internal/protocoltest/restxmlwithnamespace/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/protocoltest/restxmlwithnamespace/go.sum +++ b/internal/protocoltest/restxmlwithnamespace/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/v4a/CHANGELOG.md b/internal/v4a/CHANGELOG.md index 5adbc3e98e3..c66345b8d68 100644 --- a/internal/v4a/CHANGELOG.md +++ b/internal/v4a/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.0.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.0.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/internal/v4a/go.mod b/internal/v4a/go.mod index 1a173dfc43f..e3d96d7f72f 100644 --- a/internal/v4a/go.mod +++ b/internal/v4a/go.mod @@ -3,9 +3,9 @@ module github.com/aws/aws-sdk-go-v2/internal/v4a go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/internal/v4a/go.sum b/internal/v4a/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/internal/v4a/go.sum +++ b/internal/v4a/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/internal/v4a/go_module_metadata.go b/internal/v4a/go_module_metadata.go index c9edce66e15..3e2a161af25 100644 --- a/internal/v4a/go_module_metadata.go +++ b/internal/v4a/go_module_metadata.go @@ -3,4 +3,4 @@ package v4a // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.2" +const goModuleVersion = "1.0.3" diff --git a/modman.toml b/modman.toml index bde8e1391bb..a8f878131b4 100644 --- a/modman.toml +++ b/modman.toml @@ -1,7 +1,8 @@ [dependencies] - "github.com/aws/smithy-go" = "v1.11.2" - "github.com/google/go-cmp" = "v0.5.7" + "github.com/aws/aws-sdk-go" = "v1.44.28" + "github.com/aws/smithy-go" = "v1.11.3" + "github.com/google/go-cmp" = "v0.5.8" "github.com/jmespath/go-jmespath" = "v0.4.0" "golang.org/x/net" = "v0.0.0-20220127200216-cd36cc0744dd" @@ -10,6 +11,9 @@ [modules."."] metadata_package = "aws" + [modules.codegen] + no_tag = true + [modules."example/service/dynamodb/createTable"] no_tag = true diff --git a/service/accessanalyzer/CHANGELOG.md b/service/accessanalyzer/CHANGELOG.md index 29676e13cdc..058c812f7de 100644 --- a/service/accessanalyzer/CHANGELOG.md +++ b/service/accessanalyzer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/accessanalyzer/go.mod b/service/accessanalyzer/go.mod index 6db783b1434..1b80e4566f4 100644 --- a/service/accessanalyzer/go.mod +++ b/service/accessanalyzer/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/accessanalyzer go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/accessanalyzer/go.sum b/service/accessanalyzer/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/accessanalyzer/go.sum +++ b/service/accessanalyzer/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/accessanalyzer/go_module_metadata.go b/service/accessanalyzer/go_module_metadata.go index 126e63b9ab5..507c14b4835 100644 --- a/service/accessanalyzer/go_module_metadata.go +++ b/service/accessanalyzer/go_module_metadata.go @@ -3,4 +3,4 @@ package accessanalyzer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/account/CHANGELOG.md b/service/account/CHANGELOG.md index 5652084a95a..82e9572cfd6 100644 --- a/service/account/CHANGELOG.md +++ b/service/account/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.6.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/account/go.mod b/service/account/go.mod index 4449fbfc9d0..df887b25d32 100644 --- a/service/account/go.mod +++ b/service/account/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/account go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/account/go.sum b/service/account/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/account/go.sum +++ b/service/account/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/account/go_module_metadata.go b/service/account/go_module_metadata.go index d53d14aaad6..2972b29e9ad 100644 --- a/service/account/go_module_metadata.go +++ b/service/account/go_module_metadata.go @@ -3,4 +3,4 @@ package account // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.5" +const goModuleVersion = "1.6.6" diff --git a/service/acm/CHANGELOG.md b/service/acm/CHANGELOG.md index 0fe9728c11b..4044b60da60 100644 --- a/service/acm/CHANGELOG.md +++ b/service/acm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/acm/go.mod b/service/acm/go.mod index 9e43e0297f1..a7e03456dc4 100644 --- a/service/acm/go.mod +++ b/service/acm/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/acm go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/acm/go.sum b/service/acm/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/acm/go.sum +++ b/service/acm/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/acm/go_module_metadata.go b/service/acm/go_module_metadata.go index e8143a5d8a4..898cc962ef7 100644 --- a/service/acm/go_module_metadata.go +++ b/service/acm/go_module_metadata.go @@ -3,4 +3,4 @@ package acm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/acmpca/CHANGELOG.md b/service/acmpca/CHANGELOG.md index fc4bd9e5efa..1c90eda50eb 100644 --- a/service/acmpca/CHANGELOG.md +++ b/service/acmpca/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.8 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.7 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/acmpca/go.mod b/service/acmpca/go.mod index 86f87c7cf98..a3341fc695f 100644 --- a/service/acmpca/go.mod +++ b/service/acmpca/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/acmpca go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/acmpca/go.sum b/service/acmpca/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/acmpca/go.sum +++ b/service/acmpca/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/acmpca/go_module_metadata.go b/service/acmpca/go_module_metadata.go index a60047f7015..6090f3d17fc 100644 --- a/service/acmpca/go_module_metadata.go +++ b/service/acmpca/go_module_metadata.go @@ -3,4 +3,4 @@ package acmpca // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.7" +const goModuleVersion = "1.17.8" diff --git a/service/alexaforbusiness/CHANGELOG.md b/service/alexaforbusiness/CHANGELOG.md index b0903223b78..3a7ddbda22f 100644 --- a/service/alexaforbusiness/CHANGELOG.md +++ b/service/alexaforbusiness/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/alexaforbusiness/go.mod b/service/alexaforbusiness/go.mod index 107acf0070c..14af6dc8609 100644 --- a/service/alexaforbusiness/go.mod +++ b/service/alexaforbusiness/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/alexaforbusiness go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/alexaforbusiness/go.sum b/service/alexaforbusiness/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/alexaforbusiness/go.sum +++ b/service/alexaforbusiness/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/alexaforbusiness/go_module_metadata.go b/service/alexaforbusiness/go_module_metadata.go index 8344f952a46..34e2c5f217b 100644 --- a/service/alexaforbusiness/go_module_metadata.go +++ b/service/alexaforbusiness/go_module_metadata.go @@ -3,4 +3,4 @@ package alexaforbusiness // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/amp/CHANGELOG.md b/service/amp/CHANGELOG.md index c2878ec94e7..42cef3da72c 100644 --- a/service/amp/CHANGELOG.md +++ b/service/amp/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/amp/go.mod b/service/amp/go.mod index a67229a4acc..448e33d0b96 100644 --- a/service/amp/go.mod +++ b/service/amp/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/amp go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/amp/go.sum b/service/amp/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/amp/go.sum +++ b/service/amp/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/amp/go_module_metadata.go b/service/amp/go_module_metadata.go index 0920f822552..0e69d171701 100644 --- a/service/amp/go_module_metadata.go +++ b/service/amp/go_module_metadata.go @@ -3,4 +3,4 @@ package amp // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.6" +const goModuleVersion = "1.14.7" diff --git a/service/amplify/CHANGELOG.md b/service/amplify/CHANGELOG.md index 296780074b0..a4e92eb32e8 100644 --- a/service/amplify/CHANGELOG.md +++ b/service/amplify/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/amplify/go.mod b/service/amplify/go.mod index 4c86153ea29..168d894017b 100644 --- a/service/amplify/go.mod +++ b/service/amplify/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/amplify go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/amplify/go.sum b/service/amplify/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/amplify/go.sum +++ b/service/amplify/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/amplify/go_module_metadata.go b/service/amplify/go_module_metadata.go index 8e40e88b74f..6359a87940d 100644 --- a/service/amplify/go_module_metadata.go +++ b/service/amplify/go_module_metadata.go @@ -3,4 +3,4 @@ package amplify // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.6" +const goModuleVersion = "1.11.7" diff --git a/service/amplifybackend/CHANGELOG.md b/service/amplifybackend/CHANGELOG.md index 70c2f8500f8..d5759f3c732 100644 --- a/service/amplifybackend/CHANGELOG.md +++ b/service/amplifybackend/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/amplifybackend/go.mod b/service/amplifybackend/go.mod index dbac9d80b2a..1122e298c29 100644 --- a/service/amplifybackend/go.mod +++ b/service/amplifybackend/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/amplifybackend go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/amplifybackend/go.sum b/service/amplifybackend/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/amplifybackend/go.sum +++ b/service/amplifybackend/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/amplifybackend/go_module_metadata.go b/service/amplifybackend/go_module_metadata.go index e2e36396fca..1e9adebae86 100644 --- a/service/amplifybackend/go_module_metadata.go +++ b/service/amplifybackend/go_module_metadata.go @@ -3,4 +3,4 @@ package amplifybackend // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/amplifyuibuilder/CHANGELOG.md b/service/amplifyuibuilder/CHANGELOG.md index 51e3b2547bb..3f6b6f0c1cd 100644 --- a/service/amplifyuibuilder/CHANGELOG.md +++ b/service/amplifyuibuilder/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.6.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/amplifyuibuilder/go.mod b/service/amplifyuibuilder/go.mod index cbe78deff8a..d21ac13b4ba 100644 --- a/service/amplifyuibuilder/go.mod +++ b/service/amplifyuibuilder/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/amplifyuibuilder go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/amplifyuibuilder/go.sum b/service/amplifyuibuilder/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/amplifyuibuilder/go.sum +++ b/service/amplifyuibuilder/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/amplifyuibuilder/go_module_metadata.go b/service/amplifyuibuilder/go_module_metadata.go index 0f9b8b5d7df..9b60d057b81 100644 --- a/service/amplifyuibuilder/go_module_metadata.go +++ b/service/amplifyuibuilder/go_module_metadata.go @@ -3,4 +3,4 @@ package amplifyuibuilder // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/apigateway/CHANGELOG.md b/service/apigateway/CHANGELOG.md index 30ab0828bb0..b132a5aaa61 100644 --- a/service/apigateway/CHANGELOG.md +++ b/service/apigateway/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.15.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.15.6 (2022-05-25) + +* **Documentation**: Documentation updates for Amazon API Gateway + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/apigateway/api_op_CreateApiKey.go b/service/apigateway/api_op_CreateApiKey.go index 37f1be9536c..f332623f9fa 100644 --- a/service/apigateway/api_op_CreateApiKey.go +++ b/service/apigateway/api_op_CreateApiKey.go @@ -12,8 +12,7 @@ import ( "time" ) -// Create an ApiKey resource. AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-api-key.html) +// Create an ApiKey resource. func (c *Client) CreateApiKey(ctx context.Context, params *CreateApiKeyInput, optFns ...func(*Options)) (*CreateApiKeyOutput, error) { if params == nil { params = &CreateApiKeyInput{} @@ -66,8 +65,7 @@ type CreateApiKeyInput struct { // A resource that can be distributed to callers for executing Method resources // that require an API key. API keys can be mapped to any Stage on any RestApi, // which indicates that the callers with the API key can make requests to that -// stage. Use API Keys -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html) +// stage. type CreateApiKeyOutput struct { // The timestamp when the API Key was created. diff --git a/service/apigateway/api_op_CreateAuthorizer.go b/service/apigateway/api_op_CreateAuthorizer.go index 7e83901df39..4657610fb62 100644 --- a/service/apigateway/api_op_CreateAuthorizer.go +++ b/service/apigateway/api_op_CreateAuthorizer.go @@ -11,8 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Adds a new Authorizer resource to an existing RestApi resource. AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html) +// Adds a new Authorizer resource to an existing RestApi resource. func (c *Client) CreateAuthorizer(ctx context.Context, params *CreateAuthorizerInput, optFns ...func(*Options)) (*CreateAuthorizerOutput, error) { if params == nil { params = &CreateAuthorizerInput{} @@ -31,20 +30,20 @@ func (c *Client) CreateAuthorizer(ctx context.Context, params *CreateAuthorizerI // Request to add a new Authorizer to an existing RestApi resource. type CreateAuthorizerInput struct { - // [Required] The name of the authorizer. + // The name of the authorizer. // // This member is required. Name *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The authorizer type. Valid values are TOKEN for a Lambda function - // using a single authorization token submitted in a custom header, REQUEST for a - // Lambda function using incoming request parameters, and COGNITO_USER_POOLS for - // using an Amazon Cognito user pool. + // The authorizer type. Valid values are TOKEN for a Lambda function using a single + // authorization token submitted in a custom header, REQUEST for a Lambda function + // using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon + // Cognito user pool. // // This member is required. Type types.AuthorizerType @@ -77,15 +76,11 @@ type CreateAuthorizerInput struct { // /2015-03-31/functions/[FunctionARN]/invocations. AuthorizerUri *string - // The identity source for which authorization is requested. - // - // * For a TOKEN or + // The identity source for which authorization is requested. For a TOKEN or // COGNITO_USER_POOLS authorizer, this is required and specifies the request header // mapping expression for the custom header holding the authorization token // submitted by the client. For example, if the token header name is Auth, the - // header mapping expression is method.request.header.Auth. - // - // * For the REQUEST + // header mapping expression is method.request.header.Auth. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value is // a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string @@ -120,11 +115,7 @@ type CreateAuthorizerInput struct { } // Represents an authorization layer for methods. If enabled on a method, API -// Gateway will activate the authorizer when a client calls the method. Use Lambda -// Function as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html)Use -// Cognito User Pool as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) +// Gateway will activate the authorizer when a client calls the method. type CreateAuthorizerOutput struct { // Optional customer-defined field, used in OpenAPI imports and exports without @@ -158,15 +149,11 @@ type CreateAuthorizerOutput struct { // The identifier for the authorizer resource. Id *string - // The identity source for which authorization is requested. - // - // * For a TOKEN or + // The identity source for which authorization is requested. For a TOKEN or // COGNITO_USER_POOLS authorizer, this is required and specifies the request header // mapping expression for the custom header holding the authorization token // submitted by the client. For example, if the token header name is Auth, the - // header mapping expression is method.request.header.Auth. - // - // * For the REQUEST + // header mapping expression is method.request.header.Auth. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value is // a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string @@ -191,7 +178,7 @@ type CreateAuthorizerOutput struct { // apply to the REQUEST authorizer. IdentityValidationExpression *string - // [Required] The name of the authorizer. + // The name of the authorizer. Name *string // A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS diff --git a/service/apigateway/api_op_CreateBasePathMapping.go b/service/apigateway/api_op_CreateBasePathMapping.go index bd8b8857590..107f4ffab3d 100644 --- a/service/apigateway/api_op_CreateBasePathMapping.go +++ b/service/apigateway/api_op_CreateBasePathMapping.go @@ -29,12 +29,12 @@ func (c *Client) CreateBasePathMapping(ctx context.Context, params *CreateBasePa // Requests API Gateway to create a new BasePathMapping resource. type CreateBasePathMappingInput struct { - // [Required] The domain name of the BasePathMapping resource to create. + // The domain name of the BasePathMapping resource to create. // // This member is required. DomainName *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -54,10 +54,7 @@ type CreateBasePathMappingInput struct { } // Represents the base path that callers of the API must provide as part of the URL -// after the domain name. A custom domain name plus a BasePathMapping specification -// identifies a deployed RestApi in a given stage of the owner Account. Use Custom -// Domain Names -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// after the domain name. type CreateBasePathMappingOutput struct { // The base path name that callers of the API must provide as part of the URL after diff --git a/service/apigateway/api_op_CreateDeployment.go b/service/apigateway/api_op_CreateDeployment.go index 7930f14a572..13721072827 100644 --- a/service/apigateway/api_op_CreateDeployment.go +++ b/service/apigateway/api_op_CreateDeployment.go @@ -32,7 +32,7 @@ func (c *Client) CreateDeployment(ctx context.Context, params *CreateDeploymentI // Requests API Gateway to create a Deployment resource. type CreateDeploymentInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -70,13 +70,7 @@ type CreateDeploymentInput struct { // An immutable representation of a RestApi resource that can be called by users // using Stages. A deployment must be associated with a Stage for it to be callable -// over the Internet. To create a deployment, call POST on the Deployments resource -// of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or -// DELETE on the specified deployment resource -// (/restapis/{restapi_id}/deployments/{deployment_id}). RestApi, Deployments, -// Stage, AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html), -// AWS SDKs (https://aws.amazon.com/tools/) +// over the Internet. type CreateDeploymentOutput struct { // A summary of the RestApi at the date and time that the deployment resource was diff --git a/service/apigateway/api_op_CreateDocumentationPart.go b/service/apigateway/api_op_CreateDocumentationPart.go index 578fc497e71..cdc2c22f3e2 100644 --- a/service/apigateway/api_op_CreateDocumentationPart.go +++ b/service/apigateway/api_op_CreateDocumentationPart.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Creates a documentation part. func (c *Client) CreateDocumentationPart(ctx context.Context, params *CreateDocumentationPartInput, optFns ...func(*Options)) (*CreateDocumentationPartOutput, error) { if params == nil { params = &CreateDocumentationPartInput{} @@ -29,20 +30,19 @@ func (c *Client) CreateDocumentationPart(ctx context.Context, params *CreateDocu // Creates a new documentation part of a given API. type CreateDocumentationPartInput struct { - // [Required] The location of the targeted API entity of the to-be-created - // documentation part. + // The location of the targeted API entity of the to-be-created documentation part. // // This member is required. Location *types.DocumentationPartLocation - // [Required] The new documentation content map of the targeted API entity. - // Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value - // pairs can be exported and, hence, published. + // The new documentation content map of the targeted API entity. Enclosed key-value + // pairs are API-specific, but only OpenAPI-compliant key-value pairs can be + // exported and, hence, published. // // This member is required. Properties *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -50,18 +50,7 @@ type CreateDocumentationPartInput struct { noSmithyDocumentSerde } -// A documentation part for a targeted API entity. A documentation part consists of -// a content map (properties) and a target (location). The target specifies an API -// entity to which the documentation content applies. The supported API entity -// types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, -// QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and -// RESPONSE_BODY. Valid location fields depend on the API entity type. All valid -// fields are not required. The content map is a JSON string of API-specific -// key-value pairs. Although an API can use any shape for the content map, only the -// OpenAPI-compliant documentation fields will be injected into the associated API -// entity definition in the exported OpenAPI definition file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationParts +// A documentation part for a targeted API entity. type CreateDocumentationPartOutput struct { // The DocumentationPart identifier, generated by API Gateway when the diff --git a/service/apigateway/api_op_CreateDocumentationVersion.go b/service/apigateway/api_op_CreateDocumentationVersion.go index 3441d47c2d0..b2e085c4e28 100644 --- a/service/apigateway/api_op_CreateDocumentationVersion.go +++ b/service/apigateway/api_op_CreateDocumentationVersion.go @@ -11,6 +11,7 @@ import ( "time" ) +// Creates a documentation version func (c *Client) CreateDocumentationVersion(ctx context.Context, params *CreateDocumentationVersionInput, optFns ...func(*Options)) (*CreateDocumentationVersionOutput, error) { if params == nil { params = &CreateDocumentationVersionInput{} @@ -29,12 +30,12 @@ func (c *Client) CreateDocumentationVersion(ctx context.Context, params *CreateD // Creates a new documentation version of a given API. type CreateDocumentationVersionInput struct { - // [Required] The version identifier of the new snapshot. + // The version identifier of the new snapshot. // // This member is required. DocumentationVersion *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -48,11 +49,7 @@ type CreateDocumentationVersionInput struct { noSmithyDocumentSerde } -// A snapshot of the documentation of an API. Publishing API documentation involves -// creating a documentation version associated with an API stage and exporting the -// versioned documentation to an external (e.g., OpenAPI) file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationPart, DocumentationVersions +// A snapshot of the documentation of an API. type CreateDocumentationVersionOutput struct { // The date when the API documentation snapshot is created. diff --git a/service/apigateway/api_op_CreateDomainName.go b/service/apigateway/api_op_CreateDomainName.go index 905643f316b..83956f452f8 100644 --- a/service/apigateway/api_op_CreateDomainName.go +++ b/service/apigateway/api_op_CreateDomainName.go @@ -31,7 +31,7 @@ func (c *Client) CreateDomainName(ctx context.Context, params *CreateDomainNameI // A request to create a new domain name. type CreateDomainNameInput struct { - // [Required] The name of the DomainName resource. + // The name of the DomainName resource. // // This member is required. DomainName *string @@ -67,9 +67,9 @@ type CreateDomainNameInput struct { // domain name. EndpointConfiguration *types.EndpointConfiguration - // If specified, API Gateway performs two-way authentication between the client and - // the server. Clients must present a trusted certificate to access your custom - // domain name. + // The mutual TLS authentication configuration for a custom domain name. If + // specified, API Gateway performs two-way authentication between the client and + // the server. Clients must present a trusted certificate to access your API. MutualTlsAuthentication *types.MutualTlsAuthenticationInput // The ARN of the public certificate issued by ACM to validate ownership of your @@ -99,16 +99,7 @@ type CreateDomainNameInput struct { } // Represents a custom domain name as a user-friendly host name of an API -// (RestApi). When you deploy an API, API Gateway creates a default host name for -// the API. This default API host name is of the -// {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host -// name, you can access the API's root resource with the URL of -// https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set -// up a custom domain name of apis.example.com for this API, you can then access -// the same resource using the URL of the https://apis.examples.com/myApi, where -// myApi is the base path mapping (BasePathMapping) of your API under the custom -// domain name. Set a Custom Host Name for an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// (RestApi). type CreateDomainNameOutput struct { // The reference to an AWS-managed certificate that will be used by edge-optimized @@ -128,24 +119,22 @@ type CreateDomainNameOutput struct { // custom domain name for an edge-optimized endpoint. You set up this association // when adding a DNS record pointing the custom domain name to this distribution // name. For more information about CloudFront distributions, see the Amazon - // CloudFront documentation (https://aws.amazon.com/documentation/cloudfront/). + // CloudFront documentation. DistributionDomainName *string // The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized // endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more - // information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. DistributionHostedZoneId *string // The custom domain name as an API host name, for example, my-api.example.com. DomainName *string - // The status of the DomainName migration. The valid values are AVAILABLE, - // UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If - // the status is UPDATING, the domain cannot be modified further until the existing - // operation is complete. If it is AVAILABLE, the domain can be updated. + // The status of the DomainName migration. The valid values are AVAILABLE and + // UPDATING. If the status is UPDATING, the domain cannot be modified further until + // the existing operation is complete. If it is AVAILABLE, the domain can be + // updated. DomainNameStatus types.DomainNameStatus // An optional text message containing detailed information about status of the @@ -181,10 +170,8 @@ type CreateDomainNameOutput struct { RegionalDomainName *string // The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For - // more information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // more information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. RegionalHostedZoneId *string // The Transport Layer Security (TLS) version + cipher suite for this DomainName. diff --git a/service/apigateway/api_op_CreateModel.go b/service/apigateway/api_op_CreateModel.go index 11ccf665067..5f397463dec 100644 --- a/service/apigateway/api_op_CreateModel.go +++ b/service/apigateway/api_op_CreateModel.go @@ -29,17 +29,17 @@ func (c *Client) CreateModel(ctx context.Context, params *CreateModelInput, optF // Request to add a new Model to an existing RestApi resource. type CreateModelInput struct { - // [Required] The content-type for the model. + // The content-type for the model. // // This member is required. ContentType *string - // [Required] The name of the model. Must be alphanumeric. + // The name of the model. Must be alphanumeric. // // This member is required. Name *string - // [Required] The RestApi identifier under which the Model will be created. + // The RestApi identifier under which the Model will be created. // // This member is required. RestApiId *string @@ -48,20 +48,13 @@ type CreateModelInput struct { Description *string // The schema for the model. For application/json models, this should be JSON - // schema draft 4 (https://tools.ietf.org/html/draft-zyp-json-schema-04) model. + // schema draft 4 model. Schema *string noSmithyDocumentSerde } -// Represents the data structure of a method's request or response payload. A -// request model defines the data structure of the client-supplied request payload. -// A response model defines the data structure of the response payload returned by -// the back end. Although not required, models are useful for mapping payloads -// between the front end and back end. A model is used for generating an API's SDK, -// validating the input request body, and creating a skeletal mapping template. -// Method, MethodResponse, Models and Mappings -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html) +// Represents the data structure of a method's request or response payload. type CreateModelOutput struct { // The content-type for the model. @@ -77,11 +70,10 @@ type CreateModelOutput struct { Name *string // The schema for the model. For application/json models, this should be JSON - // schema draft 4 (https://tools.ietf.org/html/draft-zyp-json-schema-04) model. Do - // not include "\*/" characters in the description of any properties because such - // "\*/" characters may be interpreted as the closing marker for comments in some - // languages, such as Java or JavaScript, causing the installation of your API's - // SDK generated by API Gateway to fail. + // schema draft 4 model. Do not include "\*/" characters in the description of any + // properties because such "\*/" characters may be interpreted as the closing + // marker for comments in some languages, such as Java or JavaScript, causing the + // installation of your API's SDK generated by API Gateway to fail. Schema *string // Metadata pertaining to the operation's result. diff --git a/service/apigateway/api_op_CreateRequestValidator.go b/service/apigateway/api_op_CreateRequestValidator.go index 8eee9b33d5e..8eae98907ee 100644 --- a/service/apigateway/api_op_CreateRequestValidator.go +++ b/service/apigateway/api_op_CreateRequestValidator.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a ReqeustValidator of a given RestApi. +// Creates a RequestValidator of a given RestApi. func (c *Client) CreateRequestValidator(ctx context.Context, params *CreateRequestValidatorInput, optFns ...func(*Options)) (*CreateRequestValidatorOutput, error) { if params == nil { params = &CreateRequestValidatorInput{} @@ -29,7 +29,7 @@ func (c *Client) CreateRequestValidator(ctx context.Context, params *CreateReque // Creates a RequestValidator of a given RestApi. type CreateRequestValidatorInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -48,14 +48,7 @@ type CreateRequestValidatorInput struct { noSmithyDocumentSerde } -// A set of validation rules for incoming Method requests. In OpenAPI, a -// RequestValidator of an API is defined by the -// x-amazon-apigateway-request-validators.requestValidator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.requestValidator.html) -// object. It the referenced using the x-amazon-apigateway-request-validator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validator) -// property. Enable Basic Request Validation in API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) +// A set of validation rules for incoming Method requests. type CreateRequestValidatorOutput struct { // The identifier of this RequestValidator. diff --git a/service/apigateway/api_op_CreateResource.go b/service/apigateway/api_op_CreateResource.go index bcb96d970ef..c8e8a1211bd 100644 --- a/service/apigateway/api_op_CreateResource.go +++ b/service/apigateway/api_op_CreateResource.go @@ -30,7 +30,7 @@ func (c *Client) CreateResource(ctx context.Context, params *CreateResourceInput // Requests API Gateway to create a Resource resource. type CreateResourceInput struct { - // [Required] The parent resource's identifier. + // The parent resource's identifier. // // This member is required. ParentId *string @@ -40,7 +40,7 @@ type CreateResourceInput struct { // This member is required. PathPart *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -48,8 +48,7 @@ type CreateResourceInput struct { noSmithyDocumentSerde } -// Represents an API resource. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an API resource. type CreateResourceOutput struct { // The resource's identifier. @@ -64,85 +63,7 @@ type CreateResourceOutput struct { // The last path segment for this resource. PathPart *string - // Gets an API resource's method of a given HTTP verb. The resource methods are a - // map of methods indexed by methods' HTTP verbs enabled on the resource. This - // method map is included in the 200 OK response of the GET - // /restapis/{restapi_id}/resources/{resource_id} or GET - // /restapis/{restapi_id}/resources/{resource_id}?embed=methods request. - // Example: - // Get the GET method of an API resource - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: - // application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: - // 20170223T031827Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // { - // "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", - // "name": "method", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true } ], "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": - // "GET" }, "integration:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": - // "200", "title": "200" }, "method:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": - // { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", - // "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", - // "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { - // "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, - // "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": - // "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { - // "integration:responses": { "_links": { "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { - // "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", - // "name": "200", "title": "200" }, "methodresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.Content-Type": false }, "statusCode": "200" } } } If the - // OPTIONS is enabled on the resource, you can follow the example here to get that - // method. Just replace the GET of the last path segment in the request URL with - // OPTIONS. + // Gets an API resource's method of a given HTTP verb. ResourceMethods map[string]types.Method // Metadata pertaining to the operation's result. diff --git a/service/apigateway/api_op_CreateRestApi.go b/service/apigateway/api_op_CreateRestApi.go index dc6a942eebe..40dd5b4274c 100644 --- a/service/apigateway/api_op_CreateRestApi.go +++ b/service/apigateway/api_op_CreateRestApi.go @@ -31,19 +31,15 @@ func (c *Client) CreateRestApi(ctx context.Context, params *CreateRestApiInput, // The POST Request to add a new RestApi resource to your collection. type CreateRestApiInput struct { - // [Required] The name of the RestApi. + // The name of the RestApi. // // This member is required. Name *string // The source of the API key for metering requests according to a usage plan. Valid - // values are: - // - // * HEADER to read the API key from the X-API-Key header of a - // request. - // - // * AUTHORIZER to read the API key from the UsageIdentifierKey from a - // custom authorizer. + // values are: >HEADER to read the API key from the X-API-Key header of a request. + // AUTHORIZER to read the API key from the UsageIdentifierKey from a custom + // authorizer. ApiKeySource types.ApiKeySourceType // The list of binary media types supported by the RestApi. By default, the RestApi @@ -60,7 +56,7 @@ type CreateRestApiInput struct { // endpoint. By default, clients can invoke your API with the default // https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that // clients use a custom domain name to invoke your API, disable the default - // endpoint. + // endpoint DisableExecuteApiEndpoint bool // The endpoint configuration of this RestApi showing the endpoint types of the @@ -89,18 +85,13 @@ type CreateRestApiInput struct { noSmithyDocumentSerde } -// Represents a REST API. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents a REST API. type CreateRestApiOutput struct { // The source of the API key for metering requests according to a usage plan. Valid - // values are: - // - // * HEADER to read the API key from the X-API-Key header of a - // request. - // - // * AUTHORIZER to read the API key from the UsageIdentifierKey from a - // custom authorizer. + // values are: >HEADER to read the API key from the X-API-Key header of a request. + // AUTHORIZER to read the API key from the UsageIdentifierKey from a custom + // authorizer. ApiKeySource types.ApiKeySourceType // The list of binary media types supported by the RestApi. By default, the RestApi diff --git a/service/apigateway/api_op_CreateStage.go b/service/apigateway/api_op_CreateStage.go index d59d05f499a..07664adca19 100644 --- a/service/apigateway/api_op_CreateStage.go +++ b/service/apigateway/api_op_CreateStage.go @@ -32,19 +32,18 @@ func (c *Client) CreateStage(ctx context.Context, params *CreateStageInput, optF // Requests API Gateway to create a Stage resource. type CreateStageInput struct { - // [Required] The identifier of the Deployment resource for the Stage resource. + // The identifier of the Deployment resource for the Stage resource. // // This member is required. DeploymentId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The name for the Stage resource. Stage names can only contain - // alphanumeric characters, hyphens, and underscores. Maximum length is 128 - // characters. + // The name for the Stage resource. Stage names can only contain alphanumeric + // characters, hyphens, and underscores. Maximum length is 128 characters. // // This member is required. StageName *string @@ -81,8 +80,7 @@ type CreateStageInput struct { } // Represents a unique identifier for a version of a deployed RestApi that is -// callable by users. Deploy an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html) +// callable by users. type CreateStageOutput struct { // Settings for logging access in this stage. diff --git a/service/apigateway/api_op_CreateUsagePlan.go b/service/apigateway/api_op_CreateUsagePlan.go index 9b6927a20cc..5709e68e93c 100644 --- a/service/apigateway/api_op_CreateUsagePlan.go +++ b/service/apigateway/api_op_CreateUsagePlan.go @@ -33,7 +33,7 @@ func (c *Client) CreateUsagePlan(ctx context.Context, params *CreateUsagePlanInp // payload. type CreateUsagePlanInput struct { - // [Required] The name of the usage plan. + // The name of the usage plan. // // This member is required. Name *string @@ -61,14 +61,11 @@ type CreateUsagePlanInput struct { // Represents a usage plan used to specify who can assess associated API stages. // Optionally, target request rate and quota limits can be set. In some cases // clients can exceed the targets that you set. Don’t rely on usage plans to -// control costs. Consider using AWS Budgets +// control costs. Consider using Amazon Web Services Budgets // (https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) -// to monitor costs and AWS WAF +// to monitor costs and WAF // (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to -// manage API requests. In a usage plan, you associate an API by specifying the -// API's Id and a stage name of the specified API. You add plan customers by adding -// API keys to the plan. Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// manage API requests. type CreateUsagePlanOutput struct { // The associated API stages of a usage plan. @@ -93,7 +90,7 @@ type CreateUsagePlanOutput struct { // The collection of tags. Each tag element is associated with a given resource. Tags map[string]string - // Map containing method level throttling information for API stage in a usage + // A map containing method level throttling information for API stage in a usage // plan. Throttle *types.ThrottleSettings diff --git a/service/apigateway/api_op_CreateUsagePlanKey.go b/service/apigateway/api_op_CreateUsagePlanKey.go index 36b6e6b971d..3b9c6bbc806 100644 --- a/service/apigateway/api_op_CreateUsagePlanKey.go +++ b/service/apigateway/api_op_CreateUsagePlanKey.go @@ -30,18 +30,18 @@ func (c *Client) CreateUsagePlanKey(ctx context.Context, params *CreateUsagePlan // usage plan. type CreateUsagePlanKeyInput struct { - // [Required] The identifier of a UsagePlanKey resource for a plan customer. + // The identifier of a UsagePlanKey resource for a plan customer. // // This member is required. KeyId *string - // [Required] The type of a UsagePlanKey resource for a plan customer. + // The type of a UsagePlanKey resource for a plan customer. // // This member is required. KeyType *string - // [Required] The Id of the UsagePlan resource representing the usage plan - // containing the to-be-created UsagePlanKey resource representing a plan customer. + // The Id of the UsagePlan resource representing the usage plan containing the + // to-be-created UsagePlanKey resource representing a plan customer. // // This member is required. UsagePlanId *string @@ -49,10 +49,7 @@ type CreateUsagePlanKeyInput struct { noSmithyDocumentSerde } -// Represents a usage plan key to identify a plan customer. To associate an API -// stage with a selected API key in a usage plan, you must create a UsagePlanKey -// resource to represent the selected ApiKey. " Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// Represents a usage plan key to identify a plan customer. type CreateUsagePlanKeyOutput struct { // The Id of a usage plan key. diff --git a/service/apigateway/api_op_CreateVpcLink.go b/service/apigateway/api_op_CreateVpcLink.go index 09253ba7cf3..45dd09c5a49 100644 --- a/service/apigateway/api_op_CreateVpcLink.go +++ b/service/apigateway/api_op_CreateVpcLink.go @@ -36,14 +36,13 @@ func (c *Client) CreateVpcLink(ctx context.Context, params *CreateVpcLinkInput, // services. type CreateVpcLinkInput struct { - // [Required] The name used to label and identify the VPC link. + // The name used to label and identify the VPC link. // // This member is required. Name *string - // [Required] The ARN of the network load balancer of the VPC targeted by the VPC - // link. The network load balancer must be owned by the same AWS account of the API - // owner. + // The ARN of the network load balancer of the VPC targeted by the VPC link. The + // network load balancer must be owned by the same AWS account of the API owner. // // This member is required. TargetArns []string @@ -60,13 +59,7 @@ type CreateVpcLinkInput struct { } // An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual -// Private Cloud (VPC). To enable access to a resource in an Amazon Virtual Private -// Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink -// resource targeted for one or more network load balancers of the VPC and then -// integrate an API method with a private integration that uses the VpcLink. The -// private integration has an integration type of HTTP or HTTP_PROXY and has a -// connection type of VPC_LINK. The integration uses the connectionId property to -// identify the VpcLink used. +// Private Cloud (VPC). type CreateVpcLinkOutput struct { // The description of the VPC link. diff --git a/service/apigateway/api_op_DeleteApiKey.go b/service/apigateway/api_op_DeleteApiKey.go index 4776773fbb8..58852b23dfd 100644 --- a/service/apigateway/api_op_DeleteApiKey.go +++ b/service/apigateway/api_op_DeleteApiKey.go @@ -29,7 +29,7 @@ func (c *Client) DeleteApiKey(ctx context.Context, params *DeleteApiKeyInput, op // A request to delete the ApiKey resource. type DeleteApiKeyInput struct { - // [Required] The identifier of the ApiKey resource to be deleted. + // The identifier of the ApiKey resource to be deleted. // // This member is required. ApiKey *string diff --git a/service/apigateway/api_op_DeleteAuthorizer.go b/service/apigateway/api_op_DeleteAuthorizer.go index 589c07ac7df..0feaf35bf80 100644 --- a/service/apigateway/api_op_DeleteAuthorizer.go +++ b/service/apigateway/api_op_DeleteAuthorizer.go @@ -10,8 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes an existing Authorizer resource. AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/delete-authorizer.html) +// Deletes an existing Authorizer resource. func (c *Client) DeleteAuthorizer(ctx context.Context, params *DeleteAuthorizerInput, optFns ...func(*Options)) (*DeleteAuthorizerOutput, error) { if params == nil { params = &DeleteAuthorizerInput{} @@ -30,12 +29,12 @@ func (c *Client) DeleteAuthorizer(ctx context.Context, params *DeleteAuthorizerI // Request to delete an existing Authorizer resource. type DeleteAuthorizerInput struct { - // [Required] The identifier of the Authorizer resource. + // The identifier of the Authorizer resource. // // This member is required. AuthorizerId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteBasePathMapping.go b/service/apigateway/api_op_DeleteBasePathMapping.go index bc137b43948..f2b940fd75c 100644 --- a/service/apigateway/api_op_DeleteBasePathMapping.go +++ b/service/apigateway/api_op_DeleteBasePathMapping.go @@ -29,13 +29,13 @@ func (c *Client) DeleteBasePathMapping(ctx context.Context, params *DeleteBasePa // A request to delete the BasePathMapping resource. type DeleteBasePathMappingInput struct { - // [Required] The base path name of the BasePathMapping resource to delete. To - // specify an empty base path, set this parameter to '(none)'. + // The base path name of the BasePathMapping resource to delete. To specify an + // empty base path, set this parameter to '(none)'. // // This member is required. BasePath *string - // [Required] The domain name of the BasePathMapping resource to delete. + // The domain name of the BasePathMapping resource to delete. // // This member is required. DomainName *string diff --git a/service/apigateway/api_op_DeleteClientCertificate.go b/service/apigateway/api_op_DeleteClientCertificate.go index 1dc17fd866b..5127d5a4c1e 100644 --- a/service/apigateway/api_op_DeleteClientCertificate.go +++ b/service/apigateway/api_op_DeleteClientCertificate.go @@ -29,7 +29,7 @@ func (c *Client) DeleteClientCertificate(ctx context.Context, params *DeleteClie // A request to delete the ClientCertificate resource. type DeleteClientCertificateInput struct { - // [Required] The identifier of the ClientCertificate resource to be deleted. + // The identifier of the ClientCertificate resource to be deleted. // // This member is required. ClientCertificateId *string diff --git a/service/apigateway/api_op_DeleteDeployment.go b/service/apigateway/api_op_DeleteDeployment.go index 6403902896d..19af9c4fa33 100644 --- a/service/apigateway/api_op_DeleteDeployment.go +++ b/service/apigateway/api_op_DeleteDeployment.go @@ -30,12 +30,12 @@ func (c *Client) DeleteDeployment(ctx context.Context, params *DeleteDeploymentI // Requests API Gateway to delete a Deployment resource. type DeleteDeploymentInput struct { - // [Required] The identifier of the Deployment resource to delete. + // The identifier of the Deployment resource to delete. // // This member is required. DeploymentId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteDocumentationPart.go b/service/apigateway/api_op_DeleteDocumentationPart.go index ad1f130ef9a..c762ab1cd3d 100644 --- a/service/apigateway/api_op_DeleteDocumentationPart.go +++ b/service/apigateway/api_op_DeleteDocumentationPart.go @@ -10,6 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Deletes a documentation part func (c *Client) DeleteDocumentationPart(ctx context.Context, params *DeleteDocumentationPartInput, optFns ...func(*Options)) (*DeleteDocumentationPartOutput, error) { if params == nil { params = &DeleteDocumentationPartInput{} @@ -28,12 +29,12 @@ func (c *Client) DeleteDocumentationPart(ctx context.Context, params *DeleteDocu // Deletes an existing documentation part of an API. type DeleteDocumentationPartInput struct { - // [Required] The identifier of the to-be-deleted documentation part. + // The identifier of the to-be-deleted documentation part. // // This member is required. DocumentationPartId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteDocumentationVersion.go b/service/apigateway/api_op_DeleteDocumentationVersion.go index 368cd11167c..48a10460202 100644 --- a/service/apigateway/api_op_DeleteDocumentationVersion.go +++ b/service/apigateway/api_op_DeleteDocumentationVersion.go @@ -10,6 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Deletes a documentation version. func (c *Client) DeleteDocumentationVersion(ctx context.Context, params *DeleteDocumentationVersionInput, optFns ...func(*Options)) (*DeleteDocumentationVersionOutput, error) { if params == nil { params = &DeleteDocumentationVersionInput{} @@ -28,12 +29,12 @@ func (c *Client) DeleteDocumentationVersion(ctx context.Context, params *DeleteD // Deletes an existing documentation version of an API. type DeleteDocumentationVersionInput struct { - // [Required] The version identifier of a to-be-deleted documentation snapshot. + // The version identifier of a to-be-deleted documentation snapshot. // // This member is required. DocumentationVersion *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteDomainName.go b/service/apigateway/api_op_DeleteDomainName.go index 36ff2dc7006..b447880b1a4 100644 --- a/service/apigateway/api_op_DeleteDomainName.go +++ b/service/apigateway/api_op_DeleteDomainName.go @@ -29,7 +29,7 @@ func (c *Client) DeleteDomainName(ctx context.Context, params *DeleteDomainNameI // A request to delete the DomainName resource. type DeleteDomainNameInput struct { - // [Required] The name of the DomainName resource to be deleted. + // The name of the DomainName resource to be deleted. // // This member is required. DomainName *string diff --git a/service/apigateway/api_op_DeleteGatewayResponse.go b/service/apigateway/api_op_DeleteGatewayResponse.go index 7bebedbbf30..2fcac28fd2c 100644 --- a/service/apigateway/api_op_DeleteGatewayResponse.go +++ b/service/apigateway/api_op_DeleteGatewayResponse.go @@ -32,12 +32,12 @@ func (c *Client) DeleteGatewayResponse(ctx context.Context, params *DeleteGatewa // the given RestApi and resets it with the default settings. type DeleteGatewayResponseInput struct { - // [Required] The response type of the associated GatewayResponse. + // The response type of the associated GatewayResponse. // // This member is required. ResponseType types.GatewayResponseType - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteIntegration.go b/service/apigateway/api_op_DeleteIntegration.go index da5b84c0836..31b6a78ac02 100644 --- a/service/apigateway/api_op_DeleteIntegration.go +++ b/service/apigateway/api_op_DeleteIntegration.go @@ -29,17 +29,17 @@ func (c *Client) DeleteIntegration(ctx context.Context, params *DeleteIntegratio // Represents a delete integration request. type DeleteIntegrationInput struct { - // [Required] Specifies a delete integration request's HTTP method. + // Specifies a delete integration request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Specifies a delete integration request's resource identifier. + // Specifies a delete integration request's resource identifier. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteIntegrationResponse.go b/service/apigateway/api_op_DeleteIntegrationResponse.go index 9c99881c38d..623b82ce7eb 100644 --- a/service/apigateway/api_op_DeleteIntegrationResponse.go +++ b/service/apigateway/api_op_DeleteIntegrationResponse.go @@ -29,23 +29,22 @@ func (c *Client) DeleteIntegrationResponse(ctx context.Context, params *DeleteIn // Represents a delete integration response request. type DeleteIntegrationResponseInput struct { - // [Required] Specifies a delete integration response request's HTTP method. + // Specifies a delete integration response request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Specifies a delete integration response request's resource - // identifier. + // Specifies a delete integration response request's resource identifier. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] Specifies a delete integration response request's status code. + // Specifies a delete integration response request's status code. // // This member is required. StatusCode *string diff --git a/service/apigateway/api_op_DeleteMethod.go b/service/apigateway/api_op_DeleteMethod.go index 059dd81a19e..8e8b38b1f52 100644 --- a/service/apigateway/api_op_DeleteMethod.go +++ b/service/apigateway/api_op_DeleteMethod.go @@ -29,17 +29,17 @@ func (c *Client) DeleteMethod(ctx context.Context, params *DeleteMethodInput, op // Request to delete an existing Method resource. type DeleteMethodInput struct { - // [Required] The HTTP verb of the Method resource. + // The HTTP verb of the Method resource. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the Method resource. + // The Resource identifier for the Method resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteMethodResponse.go b/service/apigateway/api_op_DeleteMethodResponse.go index cd4870e84e4..0b4ecaa571e 100644 --- a/service/apigateway/api_op_DeleteMethodResponse.go +++ b/service/apigateway/api_op_DeleteMethodResponse.go @@ -29,22 +29,22 @@ func (c *Client) DeleteMethodResponse(ctx context.Context, params *DeleteMethodR // A request to delete an existing MethodResponse resource. type DeleteMethodResponseInput struct { - // [Required] The HTTP verb of the Method resource. + // The HTTP verb of the Method resource. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the MethodResponse resource. + // The Resource identifier for the MethodResponse resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The status code identifier for the MethodResponse resource. + // The status code identifier for the MethodResponse resource. // // This member is required. StatusCode *string diff --git a/service/apigateway/api_op_DeleteModel.go b/service/apigateway/api_op_DeleteModel.go index fcad3baaf46..c523a9f1949 100644 --- a/service/apigateway/api_op_DeleteModel.go +++ b/service/apigateway/api_op_DeleteModel.go @@ -29,12 +29,12 @@ func (c *Client) DeleteModel(ctx context.Context, params *DeleteModelInput, optF // Request to delete an existing model in an existing RestApi resource. type DeleteModelInput struct { - // [Required] The name of the model to delete. + // The name of the model to delete. // // This member is required. ModelName *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteRequestValidator.go b/service/apigateway/api_op_DeleteRequestValidator.go index 72aabcbb8b5..83ac1366a0c 100644 --- a/service/apigateway/api_op_DeleteRequestValidator.go +++ b/service/apigateway/api_op_DeleteRequestValidator.go @@ -29,12 +29,12 @@ func (c *Client) DeleteRequestValidator(ctx context.Context, params *DeleteReque // Deletes a specified RequestValidator of a given RestApi. type DeleteRequestValidatorInput struct { - // [Required] The identifier of the RequestValidator to be deleted. + // The identifier of the RequestValidator to be deleted. // // This member is required. RequestValidatorId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteResource.go b/service/apigateway/api_op_DeleteResource.go index 58de5ffef21..cc36aa5cc83 100644 --- a/service/apigateway/api_op_DeleteResource.go +++ b/service/apigateway/api_op_DeleteResource.go @@ -29,12 +29,12 @@ func (c *Client) DeleteResource(ctx context.Context, params *DeleteResourceInput // Request to delete a Resource. type DeleteResourceInput struct { - // [Required] The identifier of the Resource resource. + // The identifier of the Resource resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteRestApi.go b/service/apigateway/api_op_DeleteRestApi.go index 4814e6728c9..15bd68fbbeb 100644 --- a/service/apigateway/api_op_DeleteRestApi.go +++ b/service/apigateway/api_op_DeleteRestApi.go @@ -29,7 +29,7 @@ func (c *Client) DeleteRestApi(ctx context.Context, params *DeleteRestApiInput, // Request to delete the specified API from your collection. type DeleteRestApiInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string diff --git a/service/apigateway/api_op_DeleteStage.go b/service/apigateway/api_op_DeleteStage.go index 18e7d431970..16a86bbbdf2 100644 --- a/service/apigateway/api_op_DeleteStage.go +++ b/service/apigateway/api_op_DeleteStage.go @@ -29,12 +29,12 @@ func (c *Client) DeleteStage(ctx context.Context, params *DeleteStageInput, optF // Requests API Gateway to delete a Stage resource. type DeleteStageInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The name of the Stage resource to delete. + // The name of the Stage resource to delete. // // This member is required. StageName *string diff --git a/service/apigateway/api_op_DeleteUsagePlan.go b/service/apigateway/api_op_DeleteUsagePlan.go index 0014c60fb2f..6c21251fbcc 100644 --- a/service/apigateway/api_op_DeleteUsagePlan.go +++ b/service/apigateway/api_op_DeleteUsagePlan.go @@ -29,7 +29,7 @@ func (c *Client) DeleteUsagePlan(ctx context.Context, params *DeleteUsagePlanInp // The DELETE request to delete a usage plan of a given plan Id. type DeleteUsagePlanInput struct { - // [Required] The Id of the to-be-deleted usage plan. + // The Id of the to-be-deleted usage plan. // // This member is required. UsagePlanId *string diff --git a/service/apigateway/api_op_DeleteUsagePlanKey.go b/service/apigateway/api_op_DeleteUsagePlanKey.go index 0f52edfc810..8bb0785df19 100644 --- a/service/apigateway/api_op_DeleteUsagePlanKey.go +++ b/service/apigateway/api_op_DeleteUsagePlanKey.go @@ -31,13 +31,13 @@ func (c *Client) DeleteUsagePlanKey(ctx context.Context, params *DeleteUsagePlan // from the associated usage plan. type DeleteUsagePlanKeyInput struct { - // [Required] The Id of the UsagePlanKey resource to be deleted. + // The Id of the UsagePlanKey resource to be deleted. // // This member is required. KeyId *string - // [Required] The Id of the UsagePlan resource representing the usage plan - // containing the to-be-deleted UsagePlanKey resource representing a plan customer. + // The Id of the UsagePlan resource representing the usage plan containing the + // to-be-deleted UsagePlanKey resource representing a plan customer. // // This member is required. UsagePlanId *string diff --git a/service/apigateway/api_op_DeleteVpcLink.go b/service/apigateway/api_op_DeleteVpcLink.go index 7feed8798e0..855b503114f 100644 --- a/service/apigateway/api_op_DeleteVpcLink.go +++ b/service/apigateway/api_op_DeleteVpcLink.go @@ -29,8 +29,8 @@ func (c *Client) DeleteVpcLink(ctx context.Context, params *DeleteVpcLinkInput, // Deletes an existing VpcLink of a specified identifier. type DeleteVpcLinkInput struct { - // [Required] The identifier of the VpcLink. It is used in an Integration to - // reference this VpcLink. + // The identifier of the VpcLink. It is used in an Integration to reference this + // VpcLink. // // This member is required. VpcLinkId *string diff --git a/service/apigateway/api_op_FlushStageCache.go b/service/apigateway/api_op_FlushStageCache.go index 3001073a2a7..a03c6e547d1 100644 --- a/service/apigateway/api_op_FlushStageCache.go +++ b/service/apigateway/api_op_FlushStageCache.go @@ -29,12 +29,12 @@ func (c *Client) FlushStageCache(ctx context.Context, params *FlushStageCacheInp // Requests API Gateway to flush a stage's cache. type FlushStageCacheInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The name of the stage to flush its cache. + // The name of the stage to flush its cache. // // This member is required. StageName *string diff --git a/service/apigateway/api_op_GenerateClientCertificate.go b/service/apigateway/api_op_GenerateClientCertificate.go index e4d32a1b977..62264a2384d 100644 --- a/service/apigateway/api_op_GenerateClientCertificate.go +++ b/service/apigateway/api_op_GenerateClientCertificate.go @@ -42,11 +42,7 @@ type GenerateClientCertificateInput struct { } // Represents a client certificate used to configure client-side SSL authentication -// while sending requests to the integration endpoint. Client certificates are used -// to authenticate an API by the backend server. To authenticate an API client (or -// user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user -// pool. Use Client-Side Certificate -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html) +// while sending requests to the integration endpoint. type GenerateClientCertificateOutput struct { // The identifier of the client certificate. diff --git a/service/apigateway/api_op_GetAccount.go b/service/apigateway/api_op_GetAccount.go index c5873a4ab59..b5290ed75a3 100644 --- a/service/apigateway/api_op_GetAccount.go +++ b/service/apigateway/api_op_GetAccount.go @@ -32,52 +32,7 @@ type GetAccountInput struct { noSmithyDocumentSerde } -// Represents an AWS account that is associated with API Gateway. To view the -// account info, call GET on this resource. -// Error Codes -// -// The following exception -// may be thrown when the request fails. -// -// * UnauthorizedException -// -// * -// NotFoundException -// -// * TooManyRequestsException -// -// For detailed error code -// information, including the corresponding HTTP Status Codes, see API Gateway -// Error Codes -// (https://docs.aws.amazon.com/apigateway/api-reference/handling-errors/#api-error-codes) -// Example: -// Get the information about an account. -// -// Request -// -// GET /account HTTP/1.1 -// Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com -// X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// -// Response -// -// The -// successful response returns a 200 OK status code and a payload similar to the -// following: { "_links": { "curies": { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", -// "name": "account", "templated": true }, "self": { "href": "/account" }, -// "account:update": { "href": "/account" } }, "cloudwatchRoleArn": -// "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { -// "rateLimit": 500, "burstLimit": 1000 } } In addition to making the REST API -// call directly, you can use the AWS CLI and an AWS SDK to access this resource. -// API Gateway Limits -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-limits.html)Developer -// Guide -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html), AWS -// CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-account.html) +// Represents an AWS account that is associated with API Gateway. type GetAccountOutput struct { // The version of the API keys used for the account. diff --git a/service/apigateway/api_op_GetApiKey.go b/service/apigateway/api_op_GetApiKey.go index 2aa4a2e0c66..c7cb479f382 100644 --- a/service/apigateway/api_op_GetApiKey.go +++ b/service/apigateway/api_op_GetApiKey.go @@ -30,7 +30,7 @@ func (c *Client) GetApiKey(ctx context.Context, params *GetApiKeyInput, optFns . // A request to get information about the current ApiKey resource. type GetApiKeyInput struct { - // [Required] The identifier of the ApiKey resource. + // The identifier of the ApiKey resource. // // This member is required. ApiKey *string @@ -45,8 +45,7 @@ type GetApiKeyInput struct { // A resource that can be distributed to callers for executing Method resources // that require an API key. API keys can be mapped to any Stage on any RestApi, // which indicates that the callers with the API key can make requests to that -// stage. Use API Keys -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html) +// stage. type GetApiKeyOutput struct { // The timestamp when the API Key was created. diff --git a/service/apigateway/api_op_GetApiKeys.go b/service/apigateway/api_op_GetApiKeys.go index f901bf15e5d..1a29a2de221 100644 --- a/service/apigateway/api_op_GetApiKeys.go +++ b/service/apigateway/api_op_GetApiKeys.go @@ -52,9 +52,7 @@ type GetApiKeysInput struct { noSmithyDocumentSerde } -// Represents a collection of API keys as represented by an ApiKeys resource. Use -// API Keys -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html) +// Represents a collection of API keys as represented by an ApiKeys resource. type GetApiKeysOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetAuthorizer.go b/service/apigateway/api_op_GetAuthorizer.go index 734ac776293..a248e4999bc 100644 --- a/service/apigateway/api_op_GetAuthorizer.go +++ b/service/apigateway/api_op_GetAuthorizer.go @@ -11,8 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describe an existing Authorizer resource. AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizer.html) +// Describe an existing Authorizer resource. func (c *Client) GetAuthorizer(ctx context.Context, params *GetAuthorizerInput, optFns ...func(*Options)) (*GetAuthorizerOutput, error) { if params == nil { params = &GetAuthorizerInput{} @@ -31,12 +30,12 @@ func (c *Client) GetAuthorizer(ctx context.Context, params *GetAuthorizerInput, // Request to describe an existing Authorizer resource. type GetAuthorizerInput struct { - // [Required] The identifier of the Authorizer resource. + // The identifier of the Authorizer resource. // // This member is required. AuthorizerId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -45,11 +44,7 @@ type GetAuthorizerInput struct { } // Represents an authorization layer for methods. If enabled on a method, API -// Gateway will activate the authorizer when a client calls the method. Use Lambda -// Function as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html)Use -// Cognito User Pool as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) +// Gateway will activate the authorizer when a client calls the method. type GetAuthorizerOutput struct { // Optional customer-defined field, used in OpenAPI imports and exports without @@ -83,15 +78,11 @@ type GetAuthorizerOutput struct { // The identifier for the authorizer resource. Id *string - // The identity source for which authorization is requested. - // - // * For a TOKEN or + // The identity source for which authorization is requested. For a TOKEN or // COGNITO_USER_POOLS authorizer, this is required and specifies the request header // mapping expression for the custom header holding the authorization token // submitted by the client. For example, if the token header name is Auth, the - // header mapping expression is method.request.header.Auth. - // - // * For the REQUEST + // header mapping expression is method.request.header.Auth. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value is // a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string @@ -116,7 +107,7 @@ type GetAuthorizerOutput struct { // apply to the REQUEST authorizer. IdentityValidationExpression *string - // [Required] The name of the authorizer. + // The name of the authorizer. Name *string // A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS diff --git a/service/apigateway/api_op_GetAuthorizers.go b/service/apigateway/api_op_GetAuthorizers.go index faf944b0401..b6a23ef631d 100644 --- a/service/apigateway/api_op_GetAuthorizers.go +++ b/service/apigateway/api_op_GetAuthorizers.go @@ -11,8 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describe an existing Authorizers resource. AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizers.html) +// Describe an existing Authorizers resource. func (c *Client) GetAuthorizers(ctx context.Context, params *GetAuthorizersInput, optFns ...func(*Options)) (*GetAuthorizersOutput, error) { if params == nil { params = &GetAuthorizersInput{} @@ -31,7 +30,7 @@ func (c *Client) GetAuthorizers(ctx context.Context, params *GetAuthorizersInput // Request to describe an existing Authorizers resource. type GetAuthorizersInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -46,11 +45,7 @@ type GetAuthorizersInput struct { noSmithyDocumentSerde } -// Represents a collection of Authorizer resources. Use Lambda Function as -// Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html)Use -// Cognito User Pool as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) +// Represents a collection of Authorizer resources. type GetAuthorizersOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetBasePathMapping.go b/service/apigateway/api_op_GetBasePathMapping.go index c36d3ab5b57..debbfce9825 100644 --- a/service/apigateway/api_op_GetBasePathMapping.go +++ b/service/apigateway/api_op_GetBasePathMapping.go @@ -29,15 +29,15 @@ func (c *Client) GetBasePathMapping(ctx context.Context, params *GetBasePathMapp // Request to describe a BasePathMapping resource. type GetBasePathMappingInput struct { - // [Required] The base path name that callers of the API must provide as part of - // the URL after the domain name. This value must be unique for all of the mappings - // across a single API. Specify '(none)' if you do not want callers to specify any - // base path name after the domain name. + // The base path name that callers of the API must provide as part of the URL after + // the domain name. This value must be unique for all of the mappings across a + // single API. Specify '(none)' if you do not want callers to specify any base path + // name after the domain name. // // This member is required. BasePath *string - // [Required] The domain name of the BasePathMapping resource to be described. + // The domain name of the BasePathMapping resource to be described. // // This member is required. DomainName *string @@ -46,10 +46,7 @@ type GetBasePathMappingInput struct { } // Represents the base path that callers of the API must provide as part of the URL -// after the domain name. A custom domain name plus a BasePathMapping specification -// identifies a deployed RestApi in a given stage of the owner Account. Use Custom -// Domain Names -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// after the domain name. type GetBasePathMappingOutput struct { // The base path name that callers of the API must provide as part of the URL after diff --git a/service/apigateway/api_op_GetBasePathMappings.go b/service/apigateway/api_op_GetBasePathMappings.go index 01732fc8765..a7f144e15e4 100644 --- a/service/apigateway/api_op_GetBasePathMappings.go +++ b/service/apigateway/api_op_GetBasePathMappings.go @@ -31,7 +31,7 @@ func (c *Client) GetBasePathMappings(ctx context.Context, params *GetBasePathMap // A request to get information about a collection of BasePathMapping resources. type GetBasePathMappingsInput struct { - // [Required] The domain name of a BasePathMapping resource. + // The domain name of a BasePathMapping resource. // // This member is required. DomainName *string @@ -46,8 +46,7 @@ type GetBasePathMappingsInput struct { noSmithyDocumentSerde } -// Represents a collection of BasePathMapping resources. Use Custom Domain Names -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// Represents a collection of BasePathMapping resources. type GetBasePathMappingsOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetClientCertificate.go b/service/apigateway/api_op_GetClientCertificate.go index de8a3e37245..624dca7b99b 100644 --- a/service/apigateway/api_op_GetClientCertificate.go +++ b/service/apigateway/api_op_GetClientCertificate.go @@ -30,7 +30,7 @@ func (c *Client) GetClientCertificate(ctx context.Context, params *GetClientCert // A request to get information about the current ClientCertificate resource. type GetClientCertificateInput struct { - // [Required] The identifier of the ClientCertificate resource to be described. + // The identifier of the ClientCertificate resource to be described. // // This member is required. ClientCertificateId *string @@ -39,11 +39,7 @@ type GetClientCertificateInput struct { } // Represents a client certificate used to configure client-side SSL authentication -// while sending requests to the integration endpoint. Client certificates are used -// to authenticate an API by the backend server. To authenticate an API client (or -// user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user -// pool. Use Client-Side Certificate -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html) +// while sending requests to the integration endpoint. type GetClientCertificateOutput struct { // The identifier of the client certificate. diff --git a/service/apigateway/api_op_GetClientCertificates.go b/service/apigateway/api_op_GetClientCertificates.go index 9350bef57c6..7308a8af97b 100644 --- a/service/apigateway/api_op_GetClientCertificates.go +++ b/service/apigateway/api_op_GetClientCertificates.go @@ -41,9 +41,7 @@ type GetClientCertificatesInput struct { noSmithyDocumentSerde } -// Represents a collection of ClientCertificate resources. Use Client-Side -// Certificate -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html) +// Represents a collection of ClientCertificate resources. type GetClientCertificatesOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetDeployment.go b/service/apigateway/api_op_GetDeployment.go index df39bc857d5..7d28274e8c8 100644 --- a/service/apigateway/api_op_GetDeployment.go +++ b/service/apigateway/api_op_GetDeployment.go @@ -31,12 +31,12 @@ func (c *Client) GetDeployment(ctx context.Context, params *GetDeploymentInput, // Requests API Gateway to get information about a Deployment resource. type GetDeploymentInput struct { - // [Required] The identifier of the Deployment resource to get information about. + // The identifier of the Deployment resource to get information about. // // This member is required. DeploymentId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -57,13 +57,7 @@ type GetDeploymentInput struct { // An immutable representation of a RestApi resource that can be called by users // using Stages. A deployment must be associated with a Stage for it to be callable -// over the Internet. To create a deployment, call POST on the Deployments resource -// of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or -// DELETE on the specified deployment resource -// (/restapis/{restapi_id}/deployments/{deployment_id}). RestApi, Deployments, -// Stage, AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html), -// AWS SDKs (https://aws.amazon.com/tools/) +// over the Internet. type GetDeploymentOutput struct { // A summary of the RestApi at the date and time that the deployment resource was diff --git a/service/apigateway/api_op_GetDeployments.go b/service/apigateway/api_op_GetDeployments.go index 1a8a102c4a3..463b065d686 100644 --- a/service/apigateway/api_op_GetDeployments.go +++ b/service/apigateway/api_op_GetDeployments.go @@ -31,7 +31,7 @@ func (c *Client) GetDeployments(ctx context.Context, params *GetDeploymentsInput // Requests API Gateway to get information about a Deployments collection. type GetDeploymentsInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -49,14 +49,6 @@ type GetDeploymentsInput struct { // Represents a collection resource that contains zero or more references to your // existing deployments, and links that guide you on how to interact with your // collection. The collection offers a paginated view of the contained deployments. -// To create a new deployment of a RestApi, make a POST request against this -// resource. To view, update, or delete an existing deployment, make a GET, PATCH, -// or DELETE request, respectively, on a specified Deployment resource. Deploying -// an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html), -// AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html), -// AWS SDKs (https://aws.amazon.com/tools/) type GetDeploymentsOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetDocumentationPart.go b/service/apigateway/api_op_GetDocumentationPart.go index 8294b34acae..bb7d86d02ae 100644 --- a/service/apigateway/api_op_GetDocumentationPart.go +++ b/service/apigateway/api_op_GetDocumentationPart.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Gets a documentation part. func (c *Client) GetDocumentationPart(ctx context.Context, params *GetDocumentationPartInput, optFns ...func(*Options)) (*GetDocumentationPartOutput, error) { if params == nil { params = &GetDocumentationPartInput{} @@ -29,12 +30,12 @@ func (c *Client) GetDocumentationPart(ctx context.Context, params *GetDocumentat // Gets a specified documentation part of a given API. type GetDocumentationPartInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. DocumentationPartId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -42,18 +43,7 @@ type GetDocumentationPartInput struct { noSmithyDocumentSerde } -// A documentation part for a targeted API entity. A documentation part consists of -// a content map (properties) and a target (location). The target specifies an API -// entity to which the documentation content applies. The supported API entity -// types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, -// QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and -// RESPONSE_BODY. Valid location fields depend on the API entity type. All valid -// fields are not required. The content map is a JSON string of API-specific -// key-value pairs. Although an API can use any shape for the content map, only the -// OpenAPI-compliant documentation fields will be injected into the associated API -// entity definition in the exported OpenAPI definition file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationParts +// A documentation part for a targeted API entity. type GetDocumentationPartOutput struct { // The DocumentationPart identifier, generated by API Gateway when the diff --git a/service/apigateway/api_op_GetDocumentationParts.go b/service/apigateway/api_op_GetDocumentationParts.go index ff2cd79e4d7..57e8051ffab 100644 --- a/service/apigateway/api_op_GetDocumentationParts.go +++ b/service/apigateway/api_op_GetDocumentationParts.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Gets documentation parts. func (c *Client) GetDocumentationParts(ctx context.Context, params *GetDocumentationPartsInput, optFns ...func(*Options)) (*GetDocumentationPartsOutput, error) { if params == nil { params = &GetDocumentationPartsInput{} @@ -30,7 +31,7 @@ func (c *Client) GetDocumentationParts(ctx context.Context, params *GetDocumenta // name, or path of API entities (targets). type GetDocumentationPartsInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -59,9 +60,7 @@ type GetDocumentationPartsInput struct { noSmithyDocumentSerde } -// The collection of documentation parts of an API. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationPart +// The collection of documentation parts of an API. type GetDocumentationPartsOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetDocumentationVersion.go b/service/apigateway/api_op_GetDocumentationVersion.go index bab41cecbdc..52dec1123a5 100644 --- a/service/apigateway/api_op_GetDocumentationVersion.go +++ b/service/apigateway/api_op_GetDocumentationVersion.go @@ -11,6 +11,7 @@ import ( "time" ) +// Gets a documentation version. func (c *Client) GetDocumentationVersion(ctx context.Context, params *GetDocumentationVersionInput, optFns ...func(*Options)) (*GetDocumentationVersionOutput, error) { if params == nil { params = &GetDocumentationVersionInput{} @@ -29,12 +30,12 @@ func (c *Client) GetDocumentationVersion(ctx context.Context, params *GetDocumen // Gets a documentation snapshot of an API. type GetDocumentationVersionInput struct { - // [Required] The version identifier of the to-be-retrieved documentation snapshot. + // The version identifier of the to-be-retrieved documentation snapshot. // // This member is required. DocumentationVersion *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -42,11 +43,7 @@ type GetDocumentationVersionInput struct { noSmithyDocumentSerde } -// A snapshot of the documentation of an API. Publishing API documentation involves -// creating a documentation version associated with an API stage and exporting the -// versioned documentation to an external (e.g., OpenAPI) file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationPart, DocumentationVersions +// A snapshot of the documentation of an API. type GetDocumentationVersionOutput struct { // The date when the API documentation snapshot is created. diff --git a/service/apigateway/api_op_GetDocumentationVersions.go b/service/apigateway/api_op_GetDocumentationVersions.go index 5c37ae9e77a..d2b170bbd36 100644 --- a/service/apigateway/api_op_GetDocumentationVersions.go +++ b/service/apigateway/api_op_GetDocumentationVersions.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Gets documentation versions. func (c *Client) GetDocumentationVersions(ctx context.Context, params *GetDocumentationVersionsInput, optFns ...func(*Options)) (*GetDocumentationVersionsOutput, error) { if params == nil { params = &GetDocumentationVersionsInput{} @@ -29,7 +30,7 @@ func (c *Client) GetDocumentationVersions(ctx context.Context, params *GetDocume // Gets the documentation versions of an API. type GetDocumentationVersionsInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -44,11 +45,7 @@ type GetDocumentationVersionsInput struct { noSmithyDocumentSerde } -// The collection of documentation snapshots of an API. Use the -// DocumentationVersions to manage documentation snapshots associated with various -// API stages. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationPart, DocumentationVersion +// The collection of documentation snapshots of an API. type GetDocumentationVersionsOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetDomainName.go b/service/apigateway/api_op_GetDomainName.go index 2940220e37d..fcb6e44cdd3 100644 --- a/service/apigateway/api_op_GetDomainName.go +++ b/service/apigateway/api_op_GetDomainName.go @@ -32,7 +32,7 @@ func (c *Client) GetDomainName(ctx context.Context, params *GetDomainNameInput, // Request to get the name of a DomainName resource. type GetDomainNameInput struct { - // [Required] The name of the DomainName resource. + // The name of the DomainName resource. // // This member is required. DomainName *string @@ -41,16 +41,7 @@ type GetDomainNameInput struct { } // Represents a custom domain name as a user-friendly host name of an API -// (RestApi). When you deploy an API, API Gateway creates a default host name for -// the API. This default API host name is of the -// {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host -// name, you can access the API's root resource with the URL of -// https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set -// up a custom domain name of apis.example.com for this API, you can then access -// the same resource using the URL of the https://apis.examples.com/myApi, where -// myApi is the base path mapping (BasePathMapping) of your API under the custom -// domain name. Set a Custom Host Name for an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// (RestApi). type GetDomainNameOutput struct { // The reference to an AWS-managed certificate that will be used by edge-optimized @@ -70,24 +61,22 @@ type GetDomainNameOutput struct { // custom domain name for an edge-optimized endpoint. You set up this association // when adding a DNS record pointing the custom domain name to this distribution // name. For more information about CloudFront distributions, see the Amazon - // CloudFront documentation (https://aws.amazon.com/documentation/cloudfront/). + // CloudFront documentation. DistributionDomainName *string // The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized // endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more - // information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. DistributionHostedZoneId *string // The custom domain name as an API host name, for example, my-api.example.com. DomainName *string - // The status of the DomainName migration. The valid values are AVAILABLE, - // UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If - // the status is UPDATING, the domain cannot be modified further until the existing - // operation is complete. If it is AVAILABLE, the domain can be updated. + // The status of the DomainName migration. The valid values are AVAILABLE and + // UPDATING. If the status is UPDATING, the domain cannot be modified further until + // the existing operation is complete. If it is AVAILABLE, the domain can be + // updated. DomainNameStatus types.DomainNameStatus // An optional text message containing detailed information about status of the @@ -123,10 +112,8 @@ type GetDomainNameOutput struct { RegionalDomainName *string // The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For - // more information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // more information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. RegionalHostedZoneId *string // The Transport Layer Security (TLS) version + cipher suite for this DomainName. diff --git a/service/apigateway/api_op_GetDomainNames.go b/service/apigateway/api_op_GetDomainNames.go index 4697dff2a4d..7089e62fc3b 100644 --- a/service/apigateway/api_op_GetDomainNames.go +++ b/service/apigateway/api_op_GetDomainNames.go @@ -41,8 +41,7 @@ type GetDomainNamesInput struct { noSmithyDocumentSerde } -// Represents a collection of DomainName resources. Use Client-Side Certificate -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// Represents a collection of DomainName resources. type GetDomainNamesOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetExport.go b/service/apigateway/api_op_GetExport.go index 9c4d7224f4f..4573e0de076 100644 --- a/service/apigateway/api_op_GetExport.go +++ b/service/apigateway/api_op_GetExport.go @@ -29,18 +29,18 @@ func (c *Client) GetExport(ctx context.Context, params *GetExportInput, optFns . // Request a new export of a RestApi for a particular Stage. type GetExportInput struct { - // [Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x - // and 'swagger' for Swagger/OpenAPI 2.0. + // The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and + // 'swagger' for Swagger/OpenAPI 2.0. // // This member is required. ExportType *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The name of the Stage that will be exported. + // The name of the Stage that will be exported. // // This member is required. StageName *string diff --git a/service/apigateway/api_op_GetGatewayResponse.go b/service/apigateway/api_op_GetGatewayResponse.go index e6f1732897c..84397af03c9 100644 --- a/service/apigateway/api_op_GetGatewayResponse.go +++ b/service/apigateway/api_op_GetGatewayResponse.go @@ -30,12 +30,12 @@ func (c *Client) GetGatewayResponse(ctx context.Context, params *GetGatewayRespo // Gets a GatewayResponse of a specified response type on the given RestApi. type GetGatewayResponseInput struct { - // [Required] The response type of the associated GatewayResponse. + // The response type of the associated GatewayResponse. // // This member is required. ResponseType types.GatewayResponseType - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -44,50 +44,7 @@ type GetGatewayResponseInput struct { } // A gateway response of a given response type and status code, with optional -// response parameters and mapping templates. For more information about valid -// gateway response types, see Gateway Response Types Supported by API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html) -// Example: -// Get a Gateway Response of a given response type -// -// Request -// -// This example shows how -// to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type. GET -// /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 -// Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json -// X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 -// Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, -// Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a -// Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 The -// response type is specified as a URL path. -// Response -// -// The successful operation -// returns the 200 OK status code and a payload similar to the following: { -// "_links": { "curies": { "href": -// "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", -// "name": "gatewayresponse", "templated": true }, "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:delete": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, -// "defaultResponse": false, "responseParameters": { -// "gatewayresponse.header.x-request-path": "method.request.path.petId", -// "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", -// "gatewayresponse.header.x-request-query": "method.request.querystring.q", -// "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, -// "responseTemplates": { "application/json": "{\n \"message\": -// $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n -// \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n -// \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, -// "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }Customize -// Gateway Responses -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html) +// response parameters and mapping templates. type GetGatewayResponseOutput struct { // A Boolean flag to indicate whether this GatewayResponse is the default gateway diff --git a/service/apigateway/api_op_GetGatewayResponses.go b/service/apigateway/api_op_GetGatewayResponses.go index 48fd2d4a6e9..fe4d9a34c11 100644 --- a/service/apigateway/api_op_GetGatewayResponses.go +++ b/service/apigateway/api_op_GetGatewayResponses.go @@ -36,7 +36,7 @@ func (c *Client) GetGatewayResponses(ctx context.Context, params *GetGatewayResp // types. type GetGatewayResponsesInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -55,217 +55,7 @@ type GetGatewayResponsesInput struct { // The collection of the GatewayResponse instances of a RestApi as a // responseType-to-GatewayResponse object map of key-value pairs. As such, -// pagination is not supported for querying this collection. For more information -// about valid gateway response types, see Gateway Response Types Supported by API -// Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html) -// Example: -// Get the collection of gateway responses of an API -// -// Request -// -// This example request -// shows how to retrieve the GatewayResponses collection from an API. GET -// /restapis/o81lxisefl/gatewayresponses HTTP/1.1 Host: -// beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json -// X-Amz-Date: 20170503T220604Z Authorization: AWS4-HMAC-SHA256 -// Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, -// Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a -// Cache-Control: no-cache Postman-Token: -// 5637af27-dc29-fc5c-9dfe-0645d52cb515 -// Response -// -// The successful operation returns -// the 200 OK status code and a payload similar to the following: { "_links": { -// "curies": { "href": -// "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", -// "name": "gatewayresponse", "templated": true }, "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses" }, "first": { "href": -// "/restapis/o81lxisefl/gatewayresponses" }, "gatewayresponse:by-type": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "item": [ { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" -// }, { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" }, { -// "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/THROTTLED" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" }, { -// "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, { -// "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" }, { "href": -// "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" } ] }, "_embedded": { -// "item": [ { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "INTEGRATION_FAILURE", "statusCode": "504" }, { "_links": { -// "self": { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "RESOURCE_NOT_FOUND", "statusCode": "404" }, { "_links": { -// "self": { "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "REQUEST_TOO_LARGE", "statusCode": "413" }, { "_links": { -// "self": { "href": "/restapis/o81lxisefl/gatewayresponses/THROTTLED" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/THROTTLED" } }, "defaultResponse": true, -// "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": "THROTTLED", -// "statusCode": "429" }, { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "UNSUPPORTED_MEDIA_TYPE", "statusCode": "415" }, { "_links": { -// "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "AUTHORIZER_CONFIGURATION_ERROR", "statusCode": "500" }, { -// "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" }, "gatewayresponse:put": { -// "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": -// true }, "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": "DEFAULT_5XX" }, -// { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" }, "gatewayresponse:put": { -// "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": -// true }, "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": "DEFAULT_4XX" }, -// { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "BAD_REQUEST_PARAMETERS", "statusCode": "400" }, { "_links": { -// "self": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": -// "BAD_REQUEST_BODY", "statusCode": "400" }, { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" }, "gatewayresponse:put": -// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": -// true }, "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": "EXPIRED_TOKEN", -// "statusCode": "403" }, { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" }, "gatewayresponse:put": -// { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": -// true }, "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": "ACCESS_DENIED", -// "statusCode": "403" }, { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": -// "INVALID_API_KEY", "statusCode": "403" }, { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" }, "gatewayresponse:put": { -// "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": -// true }, "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": "UNAUTHORIZED", -// "statusCode": "401" }, { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "API_CONFIGURATION_ERROR", "statusCode": "500" }, { "_links": { -// "self": { "href": "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" } }, "defaultResponse": -// true, "responseParameters": {}, "responseTemplates": { "application/json": -// "{\"message\":$context.error.messageString}" }, "responseType": -// "QUOTA_EXCEEDED", "statusCode": "429" }, { "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "INTEGRATION_TIMEOUT", "statusCode": "504" }, { "_links": { -// "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "403" }, { -// "_links": { "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "INVALID_SIGNATURE", "statusCode": "403" }, { "_links": { -// "self": { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" } }, -// "defaultResponse": true, "responseParameters": {}, "responseTemplates": { -// "application/json": "{\"message\":$context.error.messageString}" }, -// "responseType": "AUTHORIZER_FAILURE", "statusCode": "500" } ] } }Customize -// Gateway Responses -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html) +// pagination is not supported for querying this collection. type GetGatewayResponsesOutput struct { // Returns the entire collection, because of no pagination support. diff --git a/service/apigateway/api_op_GetIntegration.go b/service/apigateway/api_op_GetIntegration.go index f305906e9ec..3c46b5c97b4 100644 --- a/service/apigateway/api_op_GetIntegration.go +++ b/service/apigateway/api_op_GetIntegration.go @@ -30,17 +30,17 @@ func (c *Client) GetIntegration(ctx context.Context, params *GetIntegrationInput // Represents a request to get the integration configuration. type GetIntegrationInput struct { - // [Required] Specifies a get integration request's HTTP method. + // Specifies a get integration request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Specifies a get integration request's resource identifier + // Specifies a get integration request's resource identifier // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -48,15 +48,12 @@ type GetIntegrationInput struct { noSmithyDocumentSerde } -// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. In the API -// Gateway console, the built-in Lambda integration is an AWS integration. Creating -// an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. type GetIntegrationOutput struct { // A list of request parameters whose values API Gateway caches. To be valid values - // for cacheKeyParameters, these parameters must also be specified for - // MethodrequestParameters. + // for cacheKeyParameters, these parameters must also be specified for Method + // requestParameters. CacheKeyParameters []string // Specifies a group of related cached parameters. By default, API Gateway uses the @@ -65,10 +62,8 @@ type GetIntegrationOutput struct { // resources. CacheNamespace *string - // The (id - // (https://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) of - // the VpcLink used for the integration when connectionType=VPC_LINK and undefined, - // otherwise. + // The ID of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. ConnectionId *string // The type of the network connection to the integration endpoint. The valid value @@ -78,17 +73,8 @@ type GetIntegrationOutput struct { ConnectionType types.ConnectionType // Specifies how to handle request payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a request payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a request payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the request payload will be passed through from + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the request payload will be passed through from // the method request to integration request without modification, provided that // the passthroughBehavior is configured to support payload pass-through. ContentHandling types.ContentHandlingStrategy @@ -105,61 +91,25 @@ type GetIntegrationOutput struct { HttpMethod *string // Specifies the integration's responses. - // Example: Get integration responses of a - // method - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 - // HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns 200 OK status and a payload as follows: { "_links": - // { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" }Creating an API - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) IntegrationResponses map[string]types.IntegrationResponse // Specifies how the method request body of an unmapped content type will be passed // through the integration request to the back end without transformation. A // content type is unmapped if no mapping template is defined in the integration or // the content type does not match any of the mapped content types, as specified in - // requestTemplates. The valid value is one of the following: - // - // * WHEN_NO_MATCH: - // passes the method request body through the integration request to the back end - // without transformation when the method request content type does not match any - // content type associated with the mapping templates defined in the integration - // request. - // - // * WHEN_NO_TEMPLATES: passes the method request body through the - // integration request to the back end without transformation when no mapping - // template is defined in the integration request. If a template is defined when - // this option is selected, the method request of an unmapped content-type will be - // rejected with an HTTP 415 Unsupported Media Type response. - // - // * NEVER: rejects the - // method request with an HTTP 415 Unsupported Media Type response when either the - // method request content type does not match any content type associated with the - // mapping templates defined in the integration request or no mapping template is - // defined in the integration request. + // requestTemplates. The valid value is one of the following: WHEN_NO_MATCH: passes + // the method request body through the integration request to the back end without + // transformation when the method request content type does not match any content + // type associated with the mapping templates defined in the integration request. + // WHEN_NO_TEMPLATES: passes the method request body through the integration + // request to the back end without transformation when no mapping template is + // defined in the integration request. If a template is defined when this option is + // selected, the method request of an unmapped content-type will be rejected with + // an HTTP 415 Unsupported Media Type response. NEVER: rejects the method request + // with an HTTP 415 Unsupported Media Type response when either the method request + // content type does not match any content type associated with the mapping + // templates defined in the integration request or no mapping template is defined + // in the integration request. PassthroughBehavior *string // A key-value map specifying request parameters that are passed from the method @@ -184,63 +134,31 @@ type GetIntegrationOutput struct { TlsConfig *types.TlsConfig // Specifies an API method integration type. The valid value is one of the - // following: - // - // * AWS: for integrating the API method request with an AWS service - // action, including the Lambda function-invoking action. With the Lambda - // function-invoking action, this is referred to as the Lambda custom integration. - // With any other AWS service action, this is known as AWS integration. - // - // * - // AWS_PROXY: for integrating the API method request with the Lambda - // function-invoking action with the client request passed through as-is. This - // integration is also referred to as the Lambda proxy integration. - // - // * HTTP: for - // integrating the API method request with an HTTP endpoint, including a private - // HTTP endpoint within a VPC. This integration is also referred to as the HTTP - // custom integration. - // - // * HTTP_PROXY: for integrating the API method request with - // an HTTP endpoint, including a private HTTP endpoint within a VPC, with the - // client request passed through as-is. This is also referred to as the HTTP proxy - // integration. - // - // * MOCK: for integrating the API method request with API Gateway as - // a "loop-back" endpoint without invoking any backend. - // - // For the HTTP and HTTP - // proxy integrations, each integration can specify a protocol (http/https), port - // and path. Standard 80 and 443 ports are supported as well as custom ports above - // 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is - // referred to as a private integration and uses a VpcLink to connect API Gateway - // to a network load balancer of a VPC. + // following: For the HTTP and HTTP proxy integrations, each integration can + // specify a protocol (http/https), port and path. Standard 80 and 443 ports are + // supported as well as custom ports above 1024. An HTTP or HTTP proxy integration + // with a connectionType of VPC_LINK is referred to as a private integration and + // uses a VpcLink to connect API Gateway to a network load balancer of a VPC. Type types.IntegrationType - // Specifies Uniform Resource Identifier (URI) of the integration endpoint. - // - // * For + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. For // HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) - // URL according to the RFC-3986 specification - // (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier), for either standard - // integration, where connectionType is not VPC_LINK, or private integration, where + // URL according to the RFC-3986 specification, for either standard integration, + // where connectionType is not VPC_LINK, or private integration, where // connectionType is VPC_LINK. For a private HTTP integration, the URI is not used - // for routing. - // - // * For AWS or AWS_PROXY integrations, the URI is of the form + // for routing. For AWS or AWS_PROXY integrations, the URI is of the form // arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the - // name of the integrated AWS service (e.g., s3); and {subdomain} is a designated - // subdomain supported by certain AWS service for fast host-name lookup. action can - // be used for an AWS service action-based API, using an - // Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} - // refers to a supported action {name} plus any required input parameters. - // Alternatively, path can be used for an AWS service path-based API. The ensuing - // service_api refers to the path to an AWS service resource, including the region - // of the integrated AWS service, if applicable. For example, for integration with - // the S3 API of GetObject - // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), the uri - // can be either + // name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain Amazon Web Services service for + // fast host-name lookup. action can be used for an Amazon Web Services service + // action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The + // ensuing {service_api} refers to a supported action {name} plus any required + // input parameters. Alternatively, path can be used for an AWS service path-based + // API. The ensuing service_api refers to the path to an Amazon Web Services + // service resource, including the region of the integrated Amazon Web Services + // service, if applicable. For example, for integration with the S3 API of + // GetObject, the uri can be either // arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or // arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string diff --git a/service/apigateway/api_op_GetIntegrationResponse.go b/service/apigateway/api_op_GetIntegrationResponse.go index a49f5171a14..20cf52dfda4 100644 --- a/service/apigateway/api_op_GetIntegrationResponse.go +++ b/service/apigateway/api_op_GetIntegrationResponse.go @@ -30,22 +30,22 @@ func (c *Client) GetIntegrationResponse(ctx context.Context, params *GetIntegrat // Represents a get integration response request. type GetIntegrationResponseInput struct { - // [Required] Specifies a get integration response request's HTTP method. + // Specifies a get integration response request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Specifies a get integration response request's resource identifier. + // Specifies a get integration response request's resource identifier. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] Specifies a get integration response request's status code. + // Specifies a get integration response request's status code. // // This member is required. StatusCode *string @@ -55,23 +55,13 @@ type GetIntegrationResponseInput struct { // Represents an integration response. The status code must map to an existing // MethodResponse, and parameters and templates can be used to transform the -// back-end response. Creating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// back-end response. type GetIntegrationResponseOutput struct { // Specifies how to handle response payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a response payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a response payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the response payload will be passed through from - // the integration response to the method response without modification. + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the response payload will be passed through + // from the integration response to the method response without modification. ContentHandling types.ContentHandlingStrategy // A key-value map specifying response parameters that are passed to the method diff --git a/service/apigateway/api_op_GetMethod.go b/service/apigateway/api_op_GetMethod.go index 15032eb192f..dd45fc2c1f7 100644 --- a/service/apigateway/api_op_GetMethod.go +++ b/service/apigateway/api_op_GetMethod.go @@ -30,17 +30,17 @@ func (c *Client) GetMethod(ctx context.Context, params *GetMethodInput, optFns . // Request to describe an existing Method resource. type GetMethodInput struct { - // [Required] Specifies the method request's HTTP method type. + // Specifies the method request's HTTP method type. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the Method resource. + // The Resource identifier for the Method resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -58,86 +58,6 @@ type GetMethodInput struct { // resource. On the other hand, a method response is represented by a // MethodResponse resource, whereas an integration response is represented by an // IntegrationResponse resource. -// Example: Retrive the GET method on a specified -// resource -// -// Request -// -// The following example request retrieves the information about -// the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri). GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: -// application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: -// 20160603T210259Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns a 200 OK status code and a payload similar to the -// following: { "_links": { "curies": [ { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", -// "name": "integration", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", -// "name": "integrationresponse", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", -// "name": "method", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true } ], "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": -// "GET" }, "integration:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": -// "200", "title": "200" }, "method:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": -// { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", -// "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", -// "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integration:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integrationresponse:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", -// "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", -// "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": -// "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { -// "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, -// "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": -// "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { -// "integration:responses": { "_links": { "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integrationresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// }, "integrationresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// } }, "responseParameters": { "method.response.header.Content-Type": -// "'application/xml'" }, "responseTemplates": { "application/json": -// "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" -// }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { -// "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", -// "name": "200", "title": "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" } } } In the -// example above, the response template for the 200 OK response maps the JSON -// output from the ListStreams action in the back end to an XML output. The mapping -// template is URL-encoded as -// %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E -// and the output is decoded using the $util.urlDecode() -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference) -// helper function. MethodResponse, Integration, IntegrationResponse, Resource, Set -// up an API's method -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings.html) type GetMethodOutput struct { // A boolean flag specifying whether a valid ApiKey is required to invoke this @@ -169,91 +89,9 @@ type GetMethodOutput struct { // Gets the method's integration responsible for passing the client-submitted // request to the back end and performing necessary transformations to make the // request compliant with the back end. - // Example: - // - // Request - // - // GET - // /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true } ], "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { - // "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": - // \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, - // "type": "AWS", "uri": - // "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", - // "_embedded": { "integration:responses": { "_links": { "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, - // "integrationresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } - // }, "responseParameters": { "method.response.header.operator": - // "integration.response.body.op", "method.response.header.operand_2": - // "integration.response.body.b", "method.response.header.operand_1": - // "integration.response.body.a" }, "responseTemplates": { "application/json": - // "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => - // $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n - // \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }AWS - // CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-integration.html) MethodIntegration *types.Integration - // Gets a method response associated with a given HTTP status code. The collection - // of method responses are encapsulated in a key-value map, where the key is a - // response's HTTP status code and the value is a MethodResponse resource that - // specifies the response returned to the caller from the back end through the - // integration response. - // Example: Get a 200 OK response of a GET method - // - // Request - // - // - // GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true }, "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": - // "200" }, "methodresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.operator": false, "method.response.header.operand_2": - // false, "method.response.header.operand_1": false }, "statusCode": "200" }AWS CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html) + // Gets a method response associated with a given HTTP status code. MethodResponses map[string]types.MethodResponse // A human-friendly operation identifier for the method. For example, you can diff --git a/service/apigateway/api_op_GetMethodResponse.go b/service/apigateway/api_op_GetMethodResponse.go index 50ee4c02aec..5125e4634ef 100644 --- a/service/apigateway/api_op_GetMethodResponse.go +++ b/service/apigateway/api_op_GetMethodResponse.go @@ -29,22 +29,22 @@ func (c *Client) GetMethodResponse(ctx context.Context, params *GetMethodRespons // Request to describe a MethodResponse resource. type GetMethodResponseInput struct { - // [Required] The HTTP verb of the Method resource. + // The HTTP verb of the Method resource. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the MethodResponse resource. + // The Resource identifier for the MethodResponse resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The status code for the MethodResponse resource. + // The status code for the MethodResponse resource. // // This member is required. StatusCode *string @@ -55,34 +55,6 @@ type GetMethodResponseInput struct { // Represents a method response of a given HTTP status code returned to the client. // The method response is passed from the back end through the associated // integration response that can be transformed using a mapping template. -// Example: -// A MethodResponse instance of an API -// -// Request -// -// The example request retrieves a -// MethodResponse of the 200 status code. GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 -// Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com -// X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns 200 OK status and a payload as follows: { "_links": -// { "curies": { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true }, "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": -// "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" }Method, -// IntegrationResponse, IntegrationCreating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) type GetMethodResponseOutput struct { // Specifies the Model resources used for the response's content-type. Response diff --git a/service/apigateway/api_op_GetModel.go b/service/apigateway/api_op_GetModel.go index 0f072990e60..b871f89465d 100644 --- a/service/apigateway/api_op_GetModel.go +++ b/service/apigateway/api_op_GetModel.go @@ -29,12 +29,12 @@ func (c *Client) GetModel(ctx context.Context, params *GetModelInput, optFns ... // Request to list information about a model in an existing RestApi resource. type GetModelInput struct { - // [Required] The name of the model as an identifier. + // The name of the model as an identifier. // // This member is required. ModelName *string - // [Required] The RestApi identifier under which the Model exists. + // The RestApi identifier under which the Model exists. // // This member is required. RestApiId *string @@ -47,14 +47,7 @@ type GetModelInput struct { noSmithyDocumentSerde } -// Represents the data structure of a method's request or response payload. A -// request model defines the data structure of the client-supplied request payload. -// A response model defines the data structure of the response payload returned by -// the back end. Although not required, models are useful for mapping payloads -// between the front end and back end. A model is used for generating an API's SDK, -// validating the input request body, and creating a skeletal mapping template. -// Method, MethodResponse, Models and Mappings -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html) +// Represents the data structure of a method's request or response payload. type GetModelOutput struct { // The content-type for the model. @@ -70,11 +63,10 @@ type GetModelOutput struct { Name *string // The schema for the model. For application/json models, this should be JSON - // schema draft 4 (https://tools.ietf.org/html/draft-zyp-json-schema-04) model. Do - // not include "\*/" characters in the description of any properties because such - // "\*/" characters may be interpreted as the closing marker for comments in some - // languages, such as Java or JavaScript, causing the installation of your API's - // SDK generated by API Gateway to fail. + // schema draft 4 model. Do not include "\*/" characters in the description of any + // properties because such "\*/" characters may be interpreted as the closing + // marker for comments in some languages, such as Java or JavaScript, causing the + // installation of your API's SDK generated by API Gateway to fail. Schema *string // Metadata pertaining to the operation's result. diff --git a/service/apigateway/api_op_GetModelTemplate.go b/service/apigateway/api_op_GetModelTemplate.go index ca9822a100d..c6e098bcaf9 100644 --- a/service/apigateway/api_op_GetModelTemplate.go +++ b/service/apigateway/api_op_GetModelTemplate.go @@ -30,12 +30,12 @@ func (c *Client) GetModelTemplate(ctx context.Context, params *GetModelTemplateI // Request to generate a sample mapping template used to transform the payload. type GetModelTemplateInput struct { - // [Required] The name of the model for which to generate a template. + // The name of the model for which to generate a template. // // This member is required. ModelName *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -43,13 +43,11 @@ type GetModelTemplateInput struct { noSmithyDocumentSerde } -// Represents a mapping template used to transform a payload. Mapping Templates -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html#models-mappings-mappings) +// Represents a mapping template used to transform a payload. type GetModelTemplateOutput struct { - // The Apache Velocity Template Language (VTL) - // (https://velocity.apache.org/engine/devel/vtl-reference.html) template content - // used for the template resource. + // The Apache Velocity Template Language (VTL) template content used for the + // template resource. Value *string // Metadata pertaining to the operation's result. diff --git a/service/apigateway/api_op_GetModels.go b/service/apigateway/api_op_GetModels.go index a7b5a8748a9..3b07640e674 100644 --- a/service/apigateway/api_op_GetModels.go +++ b/service/apigateway/api_op_GetModels.go @@ -31,7 +31,7 @@ func (c *Client) GetModels(ctx context.Context, params *GetModelsInput, optFns . // Request to list existing Models defined for a RestApi resource. type GetModelsInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -46,9 +46,7 @@ type GetModelsInput struct { noSmithyDocumentSerde } -// Represents a collection of Model resources. Method, MethodResponse, Models and -// Mappings -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html) +// Represents a collection of Model resources. type GetModelsOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetRequestValidator.go b/service/apigateway/api_op_GetRequestValidator.go index ef32c7d8952..a633ffe6b8e 100644 --- a/service/apigateway/api_op_GetRequestValidator.go +++ b/service/apigateway/api_op_GetRequestValidator.go @@ -29,12 +29,12 @@ func (c *Client) GetRequestValidator(ctx context.Context, params *GetRequestVali // Gets a RequestValidator of a given RestApi. type GetRequestValidatorInput struct { - // [Required] The identifier of the RequestValidator to be retrieved. + // The identifier of the RequestValidator to be retrieved. // // This member is required. RequestValidatorId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -42,14 +42,7 @@ type GetRequestValidatorInput struct { noSmithyDocumentSerde } -// A set of validation rules for incoming Method requests. In OpenAPI, a -// RequestValidator of an API is defined by the -// x-amazon-apigateway-request-validators.requestValidator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.requestValidator.html) -// object. It the referenced using the x-amazon-apigateway-request-validator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validator) -// property. Enable Basic Request Validation in API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) +// A set of validation rules for incoming Method requests. type GetRequestValidatorOutput struct { // The identifier of this RequestValidator. diff --git a/service/apigateway/api_op_GetRequestValidators.go b/service/apigateway/api_op_GetRequestValidators.go index 39da3aef5c6..44c98f8c2f7 100644 --- a/service/apigateway/api_op_GetRequestValidators.go +++ b/service/apigateway/api_op_GetRequestValidators.go @@ -30,7 +30,7 @@ func (c *Client) GetRequestValidators(ctx context.Context, params *GetRequestVal // Gets the RequestValidators collection of a given RestApi. type GetRequestValidatorsInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -45,12 +45,7 @@ type GetRequestValidatorsInput struct { noSmithyDocumentSerde } -// A collection of RequestValidator resources of a given RestApi. In OpenAPI, the -// RequestValidators of an API is defined by the -// x-amazon-apigateway-request-validators -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.html) -// extension. Enable Basic Request Validation in API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) +// A collection of RequestValidator resources of a given RestApi. type GetRequestValidatorsOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetResource.go b/service/apigateway/api_op_GetResource.go index ae4ea1ce668..36c1e8dfa7a 100644 --- a/service/apigateway/api_op_GetResource.go +++ b/service/apigateway/api_op_GetResource.go @@ -30,12 +30,12 @@ func (c *Client) GetResource(ctx context.Context, params *GetResourceInput, optF // Request to list information about a resource. type GetResourceInput struct { - // [Required] The identifier for the Resource resource. + // The identifier for the Resource resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -51,8 +51,7 @@ type GetResourceInput struct { noSmithyDocumentSerde } -// Represents an API resource. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an API resource. type GetResourceOutput struct { // The resource's identifier. @@ -67,85 +66,7 @@ type GetResourceOutput struct { // The last path segment for this resource. PathPart *string - // Gets an API resource's method of a given HTTP verb. The resource methods are a - // map of methods indexed by methods' HTTP verbs enabled on the resource. This - // method map is included in the 200 OK response of the GET - // /restapis/{restapi_id}/resources/{resource_id} or GET - // /restapis/{restapi_id}/resources/{resource_id}?embed=methods request. - // Example: - // Get the GET method of an API resource - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: - // application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: - // 20170223T031827Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // { - // "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", - // "name": "method", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true } ], "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": - // "GET" }, "integration:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": - // "200", "title": "200" }, "method:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": - // { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", - // "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", - // "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { - // "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, - // "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": - // "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { - // "integration:responses": { "_links": { "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { - // "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", - // "name": "200", "title": "200" }, "methodresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.Content-Type": false }, "statusCode": "200" } } } If the - // OPTIONS is enabled on the resource, you can follow the example here to get that - // method. Just replace the GET of the last path segment in the request URL with - // OPTIONS. + // Gets an API resource's method of a given HTTP verb. ResourceMethods map[string]types.Method // Metadata pertaining to the operation's result. diff --git a/service/apigateway/api_op_GetResources.go b/service/apigateway/api_op_GetResources.go index 80d811ddb92..3c89034772b 100644 --- a/service/apigateway/api_op_GetResources.go +++ b/service/apigateway/api_op_GetResources.go @@ -31,7 +31,7 @@ func (c *Client) GetResources(ctx context.Context, params *GetResourcesInput, op // Request to list information about a collection of resources. type GetResourcesInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -54,8 +54,7 @@ type GetResourcesInput struct { noSmithyDocumentSerde } -// Represents a collection of Resource resources. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents a collection of Resource resources. type GetResourcesOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetRestApi.go b/service/apigateway/api_op_GetRestApi.go index ffd3c66f7d2..8b725839541 100644 --- a/service/apigateway/api_op_GetRestApi.go +++ b/service/apigateway/api_op_GetRestApi.go @@ -31,7 +31,7 @@ func (c *Client) GetRestApi(ctx context.Context, params *GetRestApiInput, optFns // The GET request to list an existing RestApi defined for your collection. type GetRestApiInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -39,18 +39,13 @@ type GetRestApiInput struct { noSmithyDocumentSerde } -// Represents a REST API. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents a REST API. type GetRestApiOutput struct { // The source of the API key for metering requests according to a usage plan. Valid - // values are: - // - // * HEADER to read the API key from the X-API-Key header of a - // request. - // - // * AUTHORIZER to read the API key from the UsageIdentifierKey from a - // custom authorizer. + // values are: >HEADER to read the API key from the X-API-Key header of a request. + // AUTHORIZER to read the API key from the UsageIdentifierKey from a custom + // authorizer. ApiKeySource types.ApiKeySourceType // The list of binary media types supported by the RestApi. By default, the RestApi diff --git a/service/apigateway/api_op_GetRestApis.go b/service/apigateway/api_op_GetRestApis.go index 22667db72a2..1511a553d6f 100644 --- a/service/apigateway/api_op_GetRestApis.go +++ b/service/apigateway/api_op_GetRestApis.go @@ -42,9 +42,7 @@ type GetRestApisInput struct { } // Contains references to your APIs and links that guide you in how to interact -// with your collection. A collection offers a paginated view of your APIs. Create -// an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// with your collection. A collection offers a paginated view of your APIs. type GetRestApisOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetSdk.go b/service/apigateway/api_op_GetSdk.go index 77bf45f1226..6d62079264f 100644 --- a/service/apigateway/api_op_GetSdk.go +++ b/service/apigateway/api_op_GetSdk.go @@ -29,18 +29,18 @@ func (c *Client) GetSdk(ctx context.Context, params *GetSdkInput, optFns ...func // Request a new generated client SDK for a RestApi and Stage. type GetSdkInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The language for the generated SDK. Currently java, javascript, - // android, objectivec (for iOS), swift (for iOS), and ruby are supported. + // The language for the generated SDK. Currently java, javascript, android, + // objectivec (for iOS), swift (for iOS), and ruby are supported. // // This member is required. SdkType *string - // [Required] The name of the Stage that the SDK will use. + // The name of the Stage that the SDK will use. // // This member is required. StageName *string diff --git a/service/apigateway/api_op_GetSdkType.go b/service/apigateway/api_op_GetSdkType.go index 9ae7a66fe4b..44ce0ee950f 100644 --- a/service/apigateway/api_op_GetSdkType.go +++ b/service/apigateway/api_op_GetSdkType.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Gets an SDK type. func (c *Client) GetSdkType(ctx context.Context, params *GetSdkTypeInput, optFns ...func(*Options)) (*GetSdkTypeOutput, error) { if params == nil { params = &GetSdkTypeInput{} @@ -29,7 +30,7 @@ func (c *Client) GetSdkType(ctx context.Context, params *GetSdkTypeInput, optFns // Get an SdkType instance. type GetSdkTypeInput struct { - // [Required] The identifier of the queried SdkType instance. + // The identifier of the queried SdkType instance. // // This member is required. Id *string diff --git a/service/apigateway/api_op_GetSdkTypes.go b/service/apigateway/api_op_GetSdkTypes.go index 1628c34b16a..6f9e4e1b417 100644 --- a/service/apigateway/api_op_GetSdkTypes.go +++ b/service/apigateway/api_op_GetSdkTypes.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Gets SDK types func (c *Client) GetSdkTypes(ctx context.Context, params *GetSdkTypesInput, optFns ...func(*Options)) (*GetSdkTypesOutput, error) { if params == nil { params = &GetSdkTypesInput{} diff --git a/service/apigateway/api_op_GetStage.go b/service/apigateway/api_op_GetStage.go index 5f54c93e042..5390db57f2b 100644 --- a/service/apigateway/api_op_GetStage.go +++ b/service/apigateway/api_op_GetStage.go @@ -31,12 +31,12 @@ func (c *Client) GetStage(ctx context.Context, params *GetStageInput, optFns ... // Requests API Gateway to get information about a Stage resource. type GetStageInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The name of the Stage resource to get information about. + // The name of the Stage resource to get information about. // // This member is required. StageName *string @@ -45,8 +45,7 @@ type GetStageInput struct { } // Represents a unique identifier for a version of a deployed RestApi that is -// callable by users. Deploy an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html) +// callable by users. type GetStageOutput struct { // Settings for logging access in this stage. diff --git a/service/apigateway/api_op_GetStages.go b/service/apigateway/api_op_GetStages.go index 2a319d668ec..6b9211bbd2a 100644 --- a/service/apigateway/api_op_GetStages.go +++ b/service/apigateway/api_op_GetStages.go @@ -30,7 +30,7 @@ func (c *Client) GetStages(ctx context.Context, params *GetStagesInput, optFns . // Requests API Gateway to get information about one or more Stage resources. type GetStagesInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -42,8 +42,6 @@ type GetStagesInput struct { } // A list of Stage resources that are associated with the ApiKey resource. -// Deploying API in Stages -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/stages.html) type GetStagesOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetTags.go b/service/apigateway/api_op_GetTags.go index db860165eba..d37ea1b605e 100644 --- a/service/apigateway/api_op_GetTags.go +++ b/service/apigateway/api_op_GetTags.go @@ -29,7 +29,7 @@ func (c *Client) GetTags(ctx context.Context, params *GetTagsInput, optFns ...fu // Gets the Tags collection for a given resource. type GetTagsInput struct { - // [Required] The ARN of a resource that can be tagged. + // The ARN of a resource that can be tagged. // // This member is required. ResourceArn *string diff --git a/service/apigateway/api_op_GetUsage.go b/service/apigateway/api_op_GetUsage.go index b7d86fee305..6136aa38f02 100644 --- a/service/apigateway/api_op_GetUsage.go +++ b/service/apigateway/api_op_GetUsage.go @@ -31,17 +31,17 @@ func (c *Client) GetUsage(ctx context.Context, params *GetUsageInput, optFns ... // interval. type GetUsageInput struct { - // [Required] The ending date (e.g., 2016-12-31) of the usage data. + // The ending date (e.g., 2016-12-31) of the usage data. // // This member is required. EndDate *string - // [Required] The starting date (e.g., 2016-01-01) of the usage data. + // The starting date (e.g., 2016-01-01) of the usage data. // // This member is required. StartDate *string - // [Required] The Id of the usage plan associated with the usage data. + // The Id of the usage plan associated with the usage data. // // This member is required. UsagePlanId *string @@ -59,10 +59,7 @@ type GetUsageInput struct { noSmithyDocumentSerde } -// Represents the usage data of a usage plan. Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html), -// Manage Usage in a Usage Plan -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-manage-usage) +// Represents the usage data of a usage plan. type GetUsageOutput struct { // The ending date of the usage data. diff --git a/service/apigateway/api_op_GetUsagePlan.go b/service/apigateway/api_op_GetUsagePlan.go index e100cd110a7..7785720e1bd 100644 --- a/service/apigateway/api_op_GetUsagePlan.go +++ b/service/apigateway/api_op_GetUsagePlan.go @@ -30,7 +30,7 @@ func (c *Client) GetUsagePlan(ctx context.Context, params *GetUsagePlanInput, op // The GET request to get a usage plan of a given plan identifier. type GetUsagePlanInput struct { - // [Required] The identifier of the UsagePlan resource to be retrieved. + // The identifier of the UsagePlan resource to be retrieved. // // This member is required. UsagePlanId *string @@ -41,14 +41,11 @@ type GetUsagePlanInput struct { // Represents a usage plan used to specify who can assess associated API stages. // Optionally, target request rate and quota limits can be set. In some cases // clients can exceed the targets that you set. Don’t rely on usage plans to -// control costs. Consider using AWS Budgets +// control costs. Consider using Amazon Web Services Budgets // (https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) -// to monitor costs and AWS WAF +// to monitor costs and WAF // (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to -// manage API requests. In a usage plan, you associate an API by specifying the -// API's Id and a stage name of the specified API. You add plan customers by adding -// API keys to the plan. Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// manage API requests. type GetUsagePlanOutput struct { // The associated API stages of a usage plan. @@ -73,7 +70,7 @@ type GetUsagePlanOutput struct { // The collection of tags. Each tag element is associated with a given resource. Tags map[string]string - // Map containing method level throttling information for API stage in a usage + // A map containing method level throttling information for API stage in a usage // plan. Throttle *types.ThrottleSettings diff --git a/service/apigateway/api_op_GetUsagePlanKey.go b/service/apigateway/api_op_GetUsagePlanKey.go index 37bd8ecdaf0..b8ce8fb5869 100644 --- a/service/apigateway/api_op_GetUsagePlanKey.go +++ b/service/apigateway/api_op_GetUsagePlanKey.go @@ -29,15 +29,14 @@ func (c *Client) GetUsagePlanKey(ctx context.Context, params *GetUsagePlanKeyInp // The GET request to get a usage plan key of a given key identifier. type GetUsagePlanKeyInput struct { - // [Required] The key Id of the to-be-retrieved UsagePlanKey resource representing - // a plan customer. + // The key Id of the to-be-retrieved UsagePlanKey resource representing a plan + // customer. // // This member is required. KeyId *string - // [Required] The Id of the UsagePlan resource representing the usage plan - // containing the to-be-retrieved UsagePlanKey resource representing a plan - // customer. + // The Id of the UsagePlan resource representing the usage plan containing the + // to-be-retrieved UsagePlanKey resource representing a plan customer. // // This member is required. UsagePlanId *string @@ -45,10 +44,7 @@ type GetUsagePlanKeyInput struct { noSmithyDocumentSerde } -// Represents a usage plan key to identify a plan customer. To associate an API -// stage with a selected API key in a usage plan, you must create a UsagePlanKey -// resource to represent the selected ApiKey. " Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// Represents a usage plan key to identify a plan customer. type GetUsagePlanKeyOutput struct { // The Id of a usage plan key. diff --git a/service/apigateway/api_op_GetUsagePlanKeys.go b/service/apigateway/api_op_GetUsagePlanKeys.go index 83d0bae0739..245aa8a4741 100644 --- a/service/apigateway/api_op_GetUsagePlanKeys.go +++ b/service/apigateway/api_op_GetUsagePlanKeys.go @@ -33,9 +33,8 @@ func (c *Client) GetUsagePlanKeys(ctx context.Context, params *GetUsagePlanKeysI // to a specified usage plan. type GetUsagePlanKeysInput struct { - // [Required] The Id of the UsagePlan resource representing the usage plan - // containing the to-be-retrieved UsagePlanKey resource representing a plan - // customer. + // The Id of the UsagePlan resource representing the usage plan containing the + // to-be-retrieved UsagePlanKey resource representing a plan customer. // // This member is required. UsagePlanId *string @@ -54,9 +53,7 @@ type GetUsagePlanKeysInput struct { } // Represents the collection of usage plan keys added to usage plans for the -// associated API keys and, possibly, other types of keys. Create and Use Usage -// Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// associated API keys and, possibly, other types of keys. type GetUsagePlanKeysOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetUsagePlans.go b/service/apigateway/api_op_GetUsagePlans.go index f6c8d78f832..e10714d0151 100644 --- a/service/apigateway/api_op_GetUsagePlans.go +++ b/service/apigateway/api_op_GetUsagePlans.go @@ -44,9 +44,7 @@ type GetUsagePlansInput struct { noSmithyDocumentSerde } -// Represents a collection of usage plans for an AWS account. Create and Use Usage -// Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// Represents a collection of usage plans for an AWS account. type GetUsagePlansOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_GetVpcLink.go b/service/apigateway/api_op_GetVpcLink.go index 4246d714f8d..9b4559cbc45 100644 --- a/service/apigateway/api_op_GetVpcLink.go +++ b/service/apigateway/api_op_GetVpcLink.go @@ -30,8 +30,8 @@ func (c *Client) GetVpcLink(ctx context.Context, params *GetVpcLinkInput, optFns // Gets a specified VPC link under the caller's account in a region. type GetVpcLinkInput struct { - // [Required] The identifier of the VpcLink. It is used in an Integration to - // reference this VpcLink. + // The identifier of the VpcLink. It is used in an Integration to reference this + // VpcLink. // // This member is required. VpcLinkId *string @@ -40,13 +40,7 @@ type GetVpcLinkInput struct { } // An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual -// Private Cloud (VPC). To enable access to a resource in an Amazon Virtual Private -// Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink -// resource targeted for one or more network load balancers of the VPC and then -// integrate an API method with a private integration that uses the VpcLink. The -// private integration has an integration type of HTTP or HTTP_PROXY and has a -// connection type of VPC_LINK. The integration uses the connectionId property to -// identify the VpcLink used. +// Private Cloud (VPC). type GetVpcLinkOutput struct { // The description of the VPC link. diff --git a/service/apigateway/api_op_GetVpcLinks.go b/service/apigateway/api_op_GetVpcLinks.go index d0e94afc8d1..b22b1ff1eee 100644 --- a/service/apigateway/api_op_GetVpcLinks.go +++ b/service/apigateway/api_op_GetVpcLinks.go @@ -41,11 +41,7 @@ type GetVpcLinksInput struct { noSmithyDocumentSerde } -// The collection of VPC links under the caller's account in a region. Getting -// Started with Private Integrations -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-with-private-integration.html), -// Set up Private Integrations -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-private-integration.html) +// The collection of VPC links under the caller's account in a region. type GetVpcLinksOutput struct { // The current page of elements from this collection. diff --git a/service/apigateway/api_op_ImportApiKeys.go b/service/apigateway/api_op_ImportApiKeys.go index 7285e710034..0917db712b7 100644 --- a/service/apigateway/api_op_ImportApiKeys.go +++ b/service/apigateway/api_op_ImportApiKeys.go @@ -32,8 +32,7 @@ func (c *Client) ImportApiKeys(ctx context.Context, params *ImportApiKeysInput, type ImportApiKeysInput struct { // The payload of the POST request to import API keys. For the payload format, see - // API Key File Format - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-key-file-format.html). + // API Key File Format. // // This member is required. Body []byte diff --git a/service/apigateway/api_op_ImportDocumentationParts.go b/service/apigateway/api_op_ImportDocumentationParts.go index 876b8e8c654..c742a85bc31 100644 --- a/service/apigateway/api_op_ImportDocumentationParts.go +++ b/service/apigateway/api_op_ImportDocumentationParts.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Imports documentation parts func (c *Client) ImportDocumentationParts(ctx context.Context, params *ImportDocumentationPartsInput, optFns ...func(*Options)) (*ImportDocumentationPartsOutput, error) { if params == nil { params = &ImportDocumentationPartsInput{} @@ -29,13 +30,13 @@ func (c *Client) ImportDocumentationParts(ctx context.Context, params *ImportDoc // Import documentation parts from an external (e.g., OpenAPI) definition file. type ImportDocumentationPartsInput struct { - // [Required] Raw byte array representing the to-be-imported documentation parts. - // To import from an OpenAPI file, this is a JSON object. + // Raw byte array representing the to-be-imported documentation parts. To import + // from an OpenAPI file, this is a JSON object. // // This member is required. Body []byte - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -52,13 +53,7 @@ type ImportDocumentationPartsInput struct { noSmithyDocumentSerde } -// A collection of the imported DocumentationPart identifiers. This is used to -// return the result when documentation parts in an external (e.g., OpenAPI) file -// are imported into API Gateway Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// documentationpart:import -// (https://docs.aws.amazon.com/apigateway/api-reference/link-relation/documentationpart-import/), -// DocumentationPart +// A collection of the imported DocumentationPart identifiers. type ImportDocumentationPartsOutput struct { // A list of the returned documentation part identifiers. diff --git a/service/apigateway/api_op_ImportRestApi.go b/service/apigateway/api_op_ImportRestApi.go index d859bf91897..42d9a160966 100644 --- a/service/apigateway/api_op_ImportRestApi.go +++ b/service/apigateway/api_op_ImportRestApi.go @@ -33,9 +33,9 @@ func (c *Client) ImportRestApi(ctx context.Context, params *ImportRestApiInput, // definition file. type ImportRestApiInput struct { - // [Required] The POST request body containing external API definitions. Currently, - // only OpenAPI definition JSON/YAML files are supported. The maximum size of the - // API definition file is 6MB. + // The POST request body containing external API definitions. Currently, only + // OpenAPI definition JSON/YAML files are supported. The maximum size of the API + // definition file is 6MB. // // This member is required. Body []byte @@ -52,29 +52,20 @@ type ImportRestApiInput struct { // endpointConfigurationTypes=REGIONAL, or endpointConfigurationTypes=PRIVATE. The // default endpoint type is EDGE. To handle imported basepath, set parameters as // basepath=ignore, basepath=prepend or basepath=split. For example, the AWS CLI - // command to exclude documentation from the imported API is: aws apigateway - // import-rest-api --parameters ignore=documentation --body - // 'file:///path/to/imported-api-body.json' The AWS CLI command to set the regional - // endpoint on the imported API is: aws apigateway import-rest-api --parameters - // endpointConfigurationTypes=REGIONAL --body - // 'file:///path/to/imported-api-body.json' + // command to exclude documentation from the imported API is: The AWS CLI command + // to set the regional endpoint on the imported API is: Parameters map[string]string noSmithyDocumentSerde } -// Represents a REST API. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents a REST API. type ImportRestApiOutput struct { // The source of the API key for metering requests according to a usage plan. Valid - // values are: - // - // * HEADER to read the API key from the X-API-Key header of a - // request. - // - // * AUTHORIZER to read the API key from the UsageIdentifierKey from a - // custom authorizer. + // values are: >HEADER to read the API key from the X-API-Key header of a request. + // AUTHORIZER to read the API key from the UsageIdentifierKey from a custom + // authorizer. ApiKeySource types.ApiKeySourceType // The list of binary media types supported by the RestApi. By default, the RestApi diff --git a/service/apigateway/api_op_PutGatewayResponse.go b/service/apigateway/api_op_PutGatewayResponse.go index 2b23ff3e48c..cf140b2f2ae 100644 --- a/service/apigateway/api_op_PutGatewayResponse.go +++ b/service/apigateway/api_op_PutGatewayResponse.go @@ -32,12 +32,12 @@ func (c *Client) PutGatewayResponse(ctx context.Context, params *PutGatewayRespo // status code on the given RestApi. type PutGatewayResponseInput struct { - // [Required] The response type of the associated GatewayResponse. + // The response type of the associated GatewayResponse // // This member is required. ResponseType types.GatewayResponseType - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -57,50 +57,7 @@ type PutGatewayResponseInput struct { } // A gateway response of a given response type and status code, with optional -// response parameters and mapping templates. For more information about valid -// gateway response types, see Gateway Response Types Supported by API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html) -// Example: -// Get a Gateway Response of a given response type -// -// Request -// -// This example shows how -// to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type. GET -// /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 -// Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json -// X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 -// Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, -// Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a -// Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 The -// response type is specified as a URL path. -// Response -// -// The successful operation -// returns the 200 OK status code and a payload similar to the following: { -// "_links": { "curies": { "href": -// "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", -// "name": "gatewayresponse", "templated": true }, "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:delete": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, -// "defaultResponse": false, "responseParameters": { -// "gatewayresponse.header.x-request-path": "method.request.path.petId", -// "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", -// "gatewayresponse.header.x-request-query": "method.request.querystring.q", -// "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, -// "responseTemplates": { "application/json": "{\n \"message\": -// $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n -// \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n -// \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, -// "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }Customize -// Gateway Responses -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html) +// response parameters and mapping templates. type PutGatewayResponseOutput struct { // A Boolean flag to indicate whether this GatewayResponse is the default gateway diff --git a/service/apigateway/api_op_PutIntegration.go b/service/apigateway/api_op_PutIntegration.go index a1a26e42a5d..e02b431a12f 100644 --- a/service/apigateway/api_op_PutIntegration.go +++ b/service/apigateway/api_op_PutIntegration.go @@ -30,29 +30,29 @@ func (c *Client) PutIntegration(ctx context.Context, params *PutIntegrationInput // Sets up a method's integration. type PutIntegrationInput struct { - // [Required] Specifies a put integration request's HTTP method. + // Specifies the HTTP method for the integration. // // This member is required. HttpMethod *string - // [Required] Specifies a put integration request's resource ID. + // Specifies a put integration request's resource ID. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] Specifies a put integration input's type. + // Specifies a put integration input's type. // // This member is required. Type types.IntegrationType // A list of request parameters whose values API Gateway caches. To be valid values - // for cacheKeyParameters, these parameters must also be specified for - // MethodrequestParameters. + // for cacheKeyParameters, these parameters must also be specified for Method + // requestParameters. CacheKeyParameters []string // Specifies a group of related cached parameters. By default, API Gateway uses the @@ -61,10 +61,8 @@ type PutIntegrationInput struct { // resources. CacheNamespace *string - // The (id - // (https://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) of - // the VpcLink used for the integration when connectionType=VPC_LINK and undefined, - // otherwise. + // The ID of the VpcLink used for the integration. Specify this value only if you + // specify VPC_LINK as the connection type. ConnectionId *string // The type of the network connection to the integration endpoint. The valid value @@ -74,17 +72,8 @@ type PutIntegrationInput struct { ConnectionType types.ConnectionType // Specifies how to handle request payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a request payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a request payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the request payload will be passed through from + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the request payload will be passed through from // the method request to integration request without modification, provided that // the passthroughBehavior is configured to support payload pass-through. ContentHandling types.ContentHandlingStrategy @@ -92,26 +81,13 @@ type PutIntegrationInput struct { // Specifies whether credentials are required for a put integration. Credentials *string - // Specifies a put integration HTTP method. When the integration type is HTTP or - // AWS, this field is required. + // The HTTP method for the integration. IntegrationHttpMethod *string // Specifies the pass-through behavior for incoming requests based on the // Content-Type header in the request, and the available mapping templates // specified as the requestTemplates property on the Integration resource. There // are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. - // - // * - // WHEN_NO_MATCH passes the request body for unmapped content types through to the - // integration back end without transformation. - // - // * NEVER rejects unmapped content - // types with an HTTP 415 'Unsupported Media Type' response. - // - // * WHEN_NO_TEMPLATES - // allows pass-through when the integration has NO content types mapped to - // templates. However if there is at least one content type defined, unmapped - // content types will be rejected with the same 415 response. PassthroughBehavior *string // A key-value map specifying request parameters that are passed from the method @@ -132,48 +108,40 @@ type PutIntegrationInput struct { // milliseconds or 29 seconds. TimeoutInMillis *int32 + // Specifies the TLS configuration for an integration. TlsConfig *types.TlsConfig - // Specifies Uniform Resource Identifier (URI) of the integration endpoint. - // - // * For + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. For // HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) - // URL according to the RFC-3986 specification - // (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier), for either standard - // integration, where connectionType is not VPC_LINK, or private integration, where + // URL according to the RFC-3986 specification, for either standard integration, + // where connectionType is not VPC_LINK, or private integration, where // connectionType is VPC_LINK. For a private HTTP integration, the URI is not used - // for routing. - // - // * For AWS or AWS_PROXY integrations, the URI is of the form + // for routing. For AWS or AWS_PROXY integrations, the URI is of the form // arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the - // name of the integrated AWS service (e.g., s3); and {subdomain} is a designated - // subdomain supported by certain AWS service for fast host-name lookup. action can - // be used for an AWS service action-based API, using an - // Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} - // refers to a supported action {name} plus any required input parameters. - // Alternatively, path can be used for an AWS service path-based API. The ensuing - // service_api refers to the path to an AWS service resource, including the region - // of the integrated AWS service, if applicable. For example, for integration with - // the S3 API of GetObject - // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), the uri - // can be either + // name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain Amazon Web Services service for + // fast host-name lookup. action can be used for an Amazon Web Services service + // action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The + // ensuing {service_api} refers to a supported action {name} plus any required + // input parameters. Alternatively, path can be used for an Amazon Web Services + // service path-based API. The ensuing service_api refers to the path to an Amazon + // Web Services service resource, including the region of the integrated Amazon Web + // Services service, if applicable. For example, for integration with the S3 API of + // GetObject, the uri can be either // arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or - // arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} + // arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}. Uri *string noSmithyDocumentSerde } -// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. In the API -// Gateway console, the built-in Lambda integration is an AWS integration. Creating -// an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. type PutIntegrationOutput struct { // A list of request parameters whose values API Gateway caches. To be valid values - // for cacheKeyParameters, these parameters must also be specified for - // MethodrequestParameters. + // for cacheKeyParameters, these parameters must also be specified for Method + // requestParameters. CacheKeyParameters []string // Specifies a group of related cached parameters. By default, API Gateway uses the @@ -182,10 +150,8 @@ type PutIntegrationOutput struct { // resources. CacheNamespace *string - // The (id - // (https://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) of - // the VpcLink used for the integration when connectionType=VPC_LINK and undefined, - // otherwise. + // The ID of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. ConnectionId *string // The type of the network connection to the integration endpoint. The valid value @@ -195,17 +161,8 @@ type PutIntegrationOutput struct { ConnectionType types.ConnectionType // Specifies how to handle request payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a request payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a request payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the request payload will be passed through from + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the request payload will be passed through from // the method request to integration request without modification, provided that // the passthroughBehavior is configured to support payload pass-through. ContentHandling types.ContentHandlingStrategy @@ -222,61 +179,25 @@ type PutIntegrationOutput struct { HttpMethod *string // Specifies the integration's responses. - // Example: Get integration responses of a - // method - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 - // HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns 200 OK status and a payload as follows: { "_links": - // { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" }Creating an API - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) IntegrationResponses map[string]types.IntegrationResponse // Specifies how the method request body of an unmapped content type will be passed // through the integration request to the back end without transformation. A // content type is unmapped if no mapping template is defined in the integration or // the content type does not match any of the mapped content types, as specified in - // requestTemplates. The valid value is one of the following: - // - // * WHEN_NO_MATCH: - // passes the method request body through the integration request to the back end - // without transformation when the method request content type does not match any - // content type associated with the mapping templates defined in the integration - // request. - // - // * WHEN_NO_TEMPLATES: passes the method request body through the - // integration request to the back end without transformation when no mapping - // template is defined in the integration request. If a template is defined when - // this option is selected, the method request of an unmapped content-type will be - // rejected with an HTTP 415 Unsupported Media Type response. - // - // * NEVER: rejects the - // method request with an HTTP 415 Unsupported Media Type response when either the - // method request content type does not match any content type associated with the - // mapping templates defined in the integration request or no mapping template is - // defined in the integration request. + // requestTemplates. The valid value is one of the following: WHEN_NO_MATCH: passes + // the method request body through the integration request to the back end without + // transformation when the method request content type does not match any content + // type associated with the mapping templates defined in the integration request. + // WHEN_NO_TEMPLATES: passes the method request body through the integration + // request to the back end without transformation when no mapping template is + // defined in the integration request. If a template is defined when this option is + // selected, the method request of an unmapped content-type will be rejected with + // an HTTP 415 Unsupported Media Type response. NEVER: rejects the method request + // with an HTTP 415 Unsupported Media Type response when either the method request + // content type does not match any content type associated with the mapping + // templates defined in the integration request or no mapping template is defined + // in the integration request. PassthroughBehavior *string // A key-value map specifying request parameters that are passed from the method @@ -301,63 +222,31 @@ type PutIntegrationOutput struct { TlsConfig *types.TlsConfig // Specifies an API method integration type. The valid value is one of the - // following: - // - // * AWS: for integrating the API method request with an AWS service - // action, including the Lambda function-invoking action. With the Lambda - // function-invoking action, this is referred to as the Lambda custom integration. - // With any other AWS service action, this is known as AWS integration. - // - // * - // AWS_PROXY: for integrating the API method request with the Lambda - // function-invoking action with the client request passed through as-is. This - // integration is also referred to as the Lambda proxy integration. - // - // * HTTP: for - // integrating the API method request with an HTTP endpoint, including a private - // HTTP endpoint within a VPC. This integration is also referred to as the HTTP - // custom integration. - // - // * HTTP_PROXY: for integrating the API method request with - // an HTTP endpoint, including a private HTTP endpoint within a VPC, with the - // client request passed through as-is. This is also referred to as the HTTP proxy - // integration. - // - // * MOCK: for integrating the API method request with API Gateway as - // a "loop-back" endpoint without invoking any backend. - // - // For the HTTP and HTTP - // proxy integrations, each integration can specify a protocol (http/https), port - // and path. Standard 80 and 443 ports are supported as well as custom ports above - // 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is - // referred to as a private integration and uses a VpcLink to connect API Gateway - // to a network load balancer of a VPC. + // following: For the HTTP and HTTP proxy integrations, each integration can + // specify a protocol (http/https), port and path. Standard 80 and 443 ports are + // supported as well as custom ports above 1024. An HTTP or HTTP proxy integration + // with a connectionType of VPC_LINK is referred to as a private integration and + // uses a VpcLink to connect API Gateway to a network load balancer of a VPC. Type types.IntegrationType - // Specifies Uniform Resource Identifier (URI) of the integration endpoint. - // - // * For + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. For // HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) - // URL according to the RFC-3986 specification - // (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier), for either standard - // integration, where connectionType is not VPC_LINK, or private integration, where + // URL according to the RFC-3986 specification, for either standard integration, + // where connectionType is not VPC_LINK, or private integration, where // connectionType is VPC_LINK. For a private HTTP integration, the URI is not used - // for routing. - // - // * For AWS or AWS_PROXY integrations, the URI is of the form + // for routing. For AWS or AWS_PROXY integrations, the URI is of the form // arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the - // name of the integrated AWS service (e.g., s3); and {subdomain} is a designated - // subdomain supported by certain AWS service for fast host-name lookup. action can - // be used for an AWS service action-based API, using an - // Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} - // refers to a supported action {name} plus any required input parameters. - // Alternatively, path can be used for an AWS service path-based API. The ensuing - // service_api refers to the path to an AWS service resource, including the region - // of the integrated AWS service, if applicable. For example, for integration with - // the S3 API of GetObject - // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), the uri - // can be either + // name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain Amazon Web Services service for + // fast host-name lookup. action can be used for an Amazon Web Services service + // action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The + // ensuing {service_api} refers to a supported action {name} plus any required + // input parameters. Alternatively, path can be used for an AWS service path-based + // API. The ensuing service_api refers to the path to an Amazon Web Services + // service resource, including the region of the integrated Amazon Web Services + // service, if applicable. For example, for integration with the S3 API of + // GetObject, the uri can be either // arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or // arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string diff --git a/service/apigateway/api_op_PutIntegrationResponse.go b/service/apigateway/api_op_PutIntegrationResponse.go index 0feea6c9b32..9de12ba328c 100644 --- a/service/apigateway/api_op_PutIntegrationResponse.go +++ b/service/apigateway/api_op_PutIntegrationResponse.go @@ -30,40 +30,31 @@ func (c *Client) PutIntegrationResponse(ctx context.Context, params *PutIntegrat // Represents a put integration response request. type PutIntegrationResponseInput struct { - // [Required] Specifies a put integration response request's HTTP method. + // Specifies a put integration response request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Specifies a put integration response request's resource identifier. + // Specifies a put integration response request's resource identifier. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] Specifies the status code that is used to map the integration - // response to an existing MethodResponse. + // Specifies the status code that is used to map the integration response to an + // existing MethodResponse. // // This member is required. StatusCode *string // Specifies how to handle response payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a response payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a response payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the response payload will be passed through from - // the integration response to the method response without modification. + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the response payload will be passed through + // from the integration response to the method response without modification. ContentHandling types.ContentHandlingStrategy // A key-value map specifying response parameters that are passed to the method @@ -90,23 +81,13 @@ type PutIntegrationResponseInput struct { // Represents an integration response. The status code must map to an existing // MethodResponse, and parameters and templates can be used to transform the -// back-end response. Creating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// back-end response. type PutIntegrationResponseOutput struct { // Specifies how to handle response payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a response payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a response payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the response payload will be passed through from - // the integration response to the method response without modification. + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the response payload will be passed through + // from the integration response to the method response without modification. ContentHandling types.ContentHandlingStrategy // A key-value map specifying response parameters that are passed to the method diff --git a/service/apigateway/api_op_PutMethod.go b/service/apigateway/api_op_PutMethod.go index 681312165e9..e1ff8c6ac70 100644 --- a/service/apigateway/api_op_PutMethod.go +++ b/service/apigateway/api_op_PutMethod.go @@ -30,24 +30,24 @@ func (c *Client) PutMethod(ctx context.Context, params *PutMethodInput, optFns . // Request to add a method to an existing Resource resource. type PutMethodInput struct { - // [Required] The method's authorization type. Valid values are NONE for open - // access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom - // authorizer, or COGNITO_USER_POOLS for using a Cognito user pool. + // The method's authorization type. Valid values are NONE for open access, AWS_IAM + // for using AWS IAM permissions, CUSTOM for using a custom authorizer, or + // COGNITO_USER_POOLS for using a Cognito user pool. // // This member is required. AuthorizationType *string - // [Required] Specifies the method request's HTTP method type. + // Specifies the method request's HTTP method type. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the new Method resource. + // The Resource identifier for the new Method resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -106,86 +106,6 @@ type PutMethodInput struct { // resource. On the other hand, a method response is represented by a // MethodResponse resource, whereas an integration response is represented by an // IntegrationResponse resource. -// Example: Retrive the GET method on a specified -// resource -// -// Request -// -// The following example request retrieves the information about -// the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri). GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: -// application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: -// 20160603T210259Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns a 200 OK status code and a payload similar to the -// following: { "_links": { "curies": [ { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", -// "name": "integration", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", -// "name": "integrationresponse", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", -// "name": "method", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true } ], "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": -// "GET" }, "integration:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": -// "200", "title": "200" }, "method:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": -// { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", -// "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", -// "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integration:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integrationresponse:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", -// "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", -// "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": -// "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { -// "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, -// "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": -// "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { -// "integration:responses": { "_links": { "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integrationresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// }, "integrationresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// } }, "responseParameters": { "method.response.header.Content-Type": -// "'application/xml'" }, "responseTemplates": { "application/json": -// "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" -// }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { -// "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", -// "name": "200", "title": "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" } } } In the -// example above, the response template for the 200 OK response maps the JSON -// output from the ListStreams action in the back end to an XML output. The mapping -// template is URL-encoded as -// %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E -// and the output is decoded using the $util.urlDecode() -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference) -// helper function. MethodResponse, Integration, IntegrationResponse, Resource, Set -// up an API's method -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings.html) type PutMethodOutput struct { // A boolean flag specifying whether a valid ApiKey is required to invoke this @@ -217,91 +137,9 @@ type PutMethodOutput struct { // Gets the method's integration responsible for passing the client-submitted // request to the back end and performing necessary transformations to make the // request compliant with the back end. - // Example: - // - // Request - // - // GET - // /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true } ], "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { - // "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": - // \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, - // "type": "AWS", "uri": - // "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", - // "_embedded": { "integration:responses": { "_links": { "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, - // "integrationresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } - // }, "responseParameters": { "method.response.header.operator": - // "integration.response.body.op", "method.response.header.operand_2": - // "integration.response.body.b", "method.response.header.operand_1": - // "integration.response.body.a" }, "responseTemplates": { "application/json": - // "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => - // $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n - // \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }AWS - // CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-integration.html) MethodIntegration *types.Integration - // Gets a method response associated with a given HTTP status code. The collection - // of method responses are encapsulated in a key-value map, where the key is a - // response's HTTP status code and the value is a MethodResponse resource that - // specifies the response returned to the caller from the back end through the - // integration response. - // Example: Get a 200 OK response of a GET method - // - // Request - // - // - // GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true }, "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": - // "200" }, "methodresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.operator": false, "method.response.header.operand_2": - // false, "method.response.header.operand_1": false }, "statusCode": "200" }AWS CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html) + // Gets a method response associated with a given HTTP status code. MethodResponses map[string]types.MethodResponse // A human-friendly operation identifier for the method. For example, you can diff --git a/service/apigateway/api_op_PutMethodResponse.go b/service/apigateway/api_op_PutMethodResponse.go index e802619c82d..e2f43d59520 100644 --- a/service/apigateway/api_op_PutMethodResponse.go +++ b/service/apigateway/api_op_PutMethodResponse.go @@ -29,22 +29,22 @@ func (c *Client) PutMethodResponse(ctx context.Context, params *PutMethodRespons // Request to add a MethodResponse to an existing Method resource. type PutMethodResponseInput struct { - // [Required] The HTTP verb of the Method resource. + // The HTTP verb of the Method resource. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the Method resource. + // The Resource identifier for the Method resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The method response's status code. + // The method response's status code. // // This member is required. StatusCode *string @@ -74,34 +74,6 @@ type PutMethodResponseInput struct { // Represents a method response of a given HTTP status code returned to the client. // The method response is passed from the back end through the associated // integration response that can be transformed using a mapping template. -// Example: -// A MethodResponse instance of an API -// -// Request -// -// The example request retrieves a -// MethodResponse of the 200 status code. GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 -// Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com -// X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns 200 OK status and a payload as follows: { "_links": -// { "curies": { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true }, "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": -// "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" }Method, -// IntegrationResponse, IntegrationCreating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) type PutMethodResponseOutput struct { // Specifies the Model resources used for the response's content-type. Response diff --git a/service/apigateway/api_op_PutRestApi.go b/service/apigateway/api_op_PutRestApi.go index ecdfa02e0a3..b130867a2c5 100644 --- a/service/apigateway/api_op_PutRestApi.go +++ b/service/apigateway/api_op_PutRestApi.go @@ -34,14 +34,14 @@ func (c *Client) PutRestApi(ctx context.Context, params *PutRestApiInput, optFns // as the request body. type PutRestApiInput struct { - // [Required] The PUT request body containing external API definitions. Currently, - // only OpenAPI definition JSON/YAML files are supported. The maximum size of the - // API definition file is 6MB. + // The PUT request body containing external API definitions. Currently, only + // OpenAPI definition JSON/YAML files are supported. The maximum size of the API + // definition file is 6MB. // // This member is required. Body []byte - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -64,18 +64,13 @@ type PutRestApiInput struct { noSmithyDocumentSerde } -// Represents a REST API. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents a REST API. type PutRestApiOutput struct { // The source of the API key for metering requests according to a usage plan. Valid - // values are: - // - // * HEADER to read the API key from the X-API-Key header of a - // request. - // - // * AUTHORIZER to read the API key from the UsageIdentifierKey from a - // custom authorizer. + // values are: >HEADER to read the API key from the X-API-Key header of a request. + // AUTHORIZER to read the API key from the UsageIdentifierKey from a custom + // authorizer. ApiKeySource types.ApiKeySourceType // The list of binary media types supported by the RestApi. By default, the RestApi diff --git a/service/apigateway/api_op_TagResource.go b/service/apigateway/api_op_TagResource.go index f0b2c35f1a8..592325a8fc9 100644 --- a/service/apigateway/api_op_TagResource.go +++ b/service/apigateway/api_op_TagResource.go @@ -29,14 +29,14 @@ func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optF // Adds or updates a tag on a given resource. type TagResourceInput struct { - // [Required] The ARN of a resource that can be tagged. + // The ARN of a resource that can be tagged. // // This member is required. ResourceArn *string - // [Required] The key-value map of strings. The valid character set is - // [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with - // aws:. The tag value can be up to 256 characters. + // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The + // tag key can be up to 128 characters and must not start with aws:. The tag value + // can be up to 256 characters. // // This member is required. Tags map[string]string diff --git a/service/apigateway/api_op_TestInvokeAuthorizer.go b/service/apigateway/api_op_TestInvokeAuthorizer.go index 5bf0cf31e64..ef2f8989a12 100644 --- a/service/apigateway/api_op_TestInvokeAuthorizer.go +++ b/service/apigateway/api_op_TestInvokeAuthorizer.go @@ -11,10 +11,7 @@ import ( ) // Simulate the execution of an Authorizer in your RestApi with headers, -// parameters, and an incoming request body. Use Lambda Function as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html)Use -// Cognito User Pool as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) +// parameters, and an incoming request body. func (c *Client) TestInvokeAuthorizer(ctx context.Context, params *TestInvokeAuthorizerInput, optFns ...func(*Options)) (*TestInvokeAuthorizerOutput, error) { if params == nil { params = &TestInvokeAuthorizerInput{} @@ -30,37 +27,36 @@ func (c *Client) TestInvokeAuthorizer(ctx context.Context, params *TestInvokeAut return out, nil } -// Make a request to simulate the execution of an Authorizer. +// Make a request to simulate the invocation of an Authorizer. type TestInvokeAuthorizerInput struct { - // [Required] Specifies a test invoke authorizer request's Authorizer ID. + // Specifies a test invoke authorizer request's Authorizer ID. // // This member is required. AuthorizerId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Optional] A key-value map of additional context variables. + // A key-value map of additional context variables. AdditionalContext map[string]string - // [Optional] The simulated request body of an incoming invocation request. + // The simulated request body of an incoming invocation request. Body *string - // [Required] A key-value map of headers to simulate an incoming invocation - // request. This is where the incoming authorization token, or identity source, - // should be specified. + // A key-value map of headers to simulate an incoming invocation request. This is + // where the incoming authorization token, or identity source, should be specified. Headers map[string]string - // [Optional] The headers as a map from string to list of values to simulate an - // incoming invocation request. This is where the incoming authorization token, or - // identity source, may be specified. + // The headers as a map from string to list of values to simulate an incoming + // invocation request. This is where the incoming authorization token, or identity + // source, may be specified. MultiValueHeaders map[string][]string - // [Optional] The URI path, including query string, of the simulated invocation - // request. Use this to specify path parameters and query string parameters. + // The URI path, including query string, of the simulated invocation request. Use + // this to specify path parameters and query string parameters. PathWithQueryString *string // A key-value map of stage variables to simulate an invocation on a deployed @@ -72,12 +68,12 @@ type TestInvokeAuthorizerInput struct { // Represents the response of the test invoke request for a custom Authorizer type TestInvokeAuthorizerOutput struct { + + // The authorization response. Authorization map[string][]string - // The open identity claims - // (https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims), with any - // supported custom attributes, returned from the Cognito Your User Pool configured - // for the API. + // The open identity claims, with any supported custom attributes, returned from + // the Cognito Your User Pool configured for the API. Claims map[string]string // The HTTP status code that the client would have received. Value is 0 if the diff --git a/service/apigateway/api_op_TestInvokeMethod.go b/service/apigateway/api_op_TestInvokeMethod.go index 8c010bb385f..9a5532de1be 100644 --- a/service/apigateway/api_op_TestInvokeMethod.go +++ b/service/apigateway/api_op_TestInvokeMethod.go @@ -10,8 +10,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Simulate the execution of a Method in your RestApi with headers, parameters, and -// an incoming request body. +// Simulate the invocation of a Method in your RestApi with headers, parameters, +// and an incoming request body. func (c *Client) TestInvokeMethod(ctx context.Context, params *TestInvokeMethodInput, optFns ...func(*Options)) (*TestInvokeMethodOutput, error) { if params == nil { params = &TestInvokeMethodInput{} @@ -27,20 +27,20 @@ func (c *Client) TestInvokeMethod(ctx context.Context, params *TestInvokeMethodI return out, nil } -// Make a request to simulate the execution of a Method. +// Make a request to simulate the invocation of a Method. type TestInvokeMethodInput struct { - // [Required] Specifies a test invoke method request's HTTP method. + // Specifies a test invoke method request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Specifies a test invoke method request's resource ID. + // Specifies a test invoke method request's resource ID. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string @@ -71,9 +71,7 @@ type TestInvokeMethodInput struct { noSmithyDocumentSerde } -// Represents the response of the test invoke request in the HTTP method. Test API -// using the API Gateway console -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-test-method.html#how-to-test-method-console) +// Represents the response of the test invoke request in the HTTP method. type TestInvokeMethodOutput struct { // The body of the HTTP response. diff --git a/service/apigateway/api_op_UntagResource.go b/service/apigateway/api_op_UntagResource.go index d316088e9ee..0c1b1bb1b9a 100644 --- a/service/apigateway/api_op_UntagResource.go +++ b/service/apigateway/api_op_UntagResource.go @@ -29,12 +29,12 @@ func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, // Removes a tag from a given resource. type UntagResourceInput struct { - // [Required] The ARN of a resource that can be tagged. + // The ARN of a resource that can be tagged. // // This member is required. ResourceArn *string - // [Required] The Tag keys to delete. + // The Tag keys to delete. // // This member is required. TagKeys []string diff --git a/service/apigateway/api_op_UpdateAccount.go b/service/apigateway/api_op_UpdateAccount.go index 1e90768c809..ea261e2aace 100644 --- a/service/apigateway/api_op_UpdateAccount.go +++ b/service/apigateway/api_op_UpdateAccount.go @@ -30,59 +30,14 @@ func (c *Client) UpdateAccount(ctx context.Context, params *UpdateAccountInput, // Requests API Gateway to change information about the current Account resource. type UpdateAccountInput struct { - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// Represents an AWS account that is associated with API Gateway. To view the -// account info, call GET on this resource. -// Error Codes -// -// The following exception -// may be thrown when the request fails. -// -// * UnauthorizedException -// -// * -// NotFoundException -// -// * TooManyRequestsException -// -// For detailed error code -// information, including the corresponding HTTP Status Codes, see API Gateway -// Error Codes -// (https://docs.aws.amazon.com/apigateway/api-reference/handling-errors/#api-error-codes) -// Example: -// Get the information about an account. -// -// Request -// -// GET /account HTTP/1.1 -// Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com -// X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// -// Response -// -// The -// successful response returns a 200 OK status code and a payload similar to the -// following: { "_links": { "curies": { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", -// "name": "account", "templated": true }, "self": { "href": "/account" }, -// "account:update": { "href": "/account" } }, "cloudwatchRoleArn": -// "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { -// "rateLimit": 500, "burstLimit": 1000 } } In addition to making the REST API -// call directly, you can use the AWS CLI and an AWS SDK to access this resource. -// API Gateway Limits -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-limits.html)Developer -// Guide -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html), AWS -// CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-account.html) +// Represents an AWS account that is associated with API Gateway. type UpdateAccountOutput struct { // The version of the API keys used for the account. diff --git a/service/apigateway/api_op_UpdateApiKey.go b/service/apigateway/api_op_UpdateApiKey.go index 93c56e5006e..7fd799a1e64 100644 --- a/service/apigateway/api_op_UpdateApiKey.go +++ b/service/apigateway/api_op_UpdateApiKey.go @@ -31,13 +31,13 @@ func (c *Client) UpdateApiKey(ctx context.Context, params *UpdateApiKeyInput, op // A request to change information about an ApiKey resource. type UpdateApiKeyInput struct { - // [Required] The identifier of the ApiKey resource to be updated. + // The identifier of the ApiKey resource to be updated. // // This member is required. ApiKey *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde @@ -46,8 +46,7 @@ type UpdateApiKeyInput struct { // A resource that can be distributed to callers for executing Method resources // that require an API key. API keys can be mapped to any Stage on any RestApi, // which indicates that the callers with the API key can make requests to that -// stage. Use API Keys -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html) +// stage. type UpdateApiKeyOutput struct { // The timestamp when the API Key was created. diff --git a/service/apigateway/api_op_UpdateAuthorizer.go b/service/apigateway/api_op_UpdateAuthorizer.go index f8d85de359d..f03710ca5f0 100644 --- a/service/apigateway/api_op_UpdateAuthorizer.go +++ b/service/apigateway/api_op_UpdateAuthorizer.go @@ -11,8 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates an existing Authorizer resource. AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/update-authorizer.html) +// Updates an existing Authorizer resource. func (c *Client) UpdateAuthorizer(ctx context.Context, params *UpdateAuthorizerInput, optFns ...func(*Options)) (*UpdateAuthorizerOutput, error) { if params == nil { params = &UpdateAuthorizerInput{} @@ -31,29 +30,25 @@ func (c *Client) UpdateAuthorizer(ctx context.Context, params *UpdateAuthorizerI // Request to update an existing Authorizer resource. type UpdateAuthorizerInput struct { - // [Required] The identifier of the Authorizer resource. + // The identifier of the Authorizer resource. // // This member is required. AuthorizerId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } // Represents an authorization layer for methods. If enabled on a method, API -// Gateway will activate the authorizer when a client calls the method. Use Lambda -// Function as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html)Use -// Cognito User Pool as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) +// Gateway will activate the authorizer when a client calls the method. type UpdateAuthorizerOutput struct { // Optional customer-defined field, used in OpenAPI imports and exports without @@ -87,15 +82,11 @@ type UpdateAuthorizerOutput struct { // The identifier for the authorizer resource. Id *string - // The identity source for which authorization is requested. - // - // * For a TOKEN or + // The identity source for which authorization is requested. For a TOKEN or // COGNITO_USER_POOLS authorizer, this is required and specifies the request header // mapping expression for the custom header holding the authorization token // submitted by the client. For example, if the token header name is Auth, the - // header mapping expression is method.request.header.Auth. - // - // * For the REQUEST + // header mapping expression is method.request.header.Auth. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value is // a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string @@ -120,7 +111,7 @@ type UpdateAuthorizerOutput struct { // apply to the REQUEST authorizer. IdentityValidationExpression *string - // [Required] The name of the authorizer. + // The name of the authorizer. Name *string // A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS diff --git a/service/apigateway/api_op_UpdateBasePathMapping.go b/service/apigateway/api_op_UpdateBasePathMapping.go index 0efd9864d2a..6b195fc143c 100644 --- a/service/apigateway/api_op_UpdateBasePathMapping.go +++ b/service/apigateway/api_op_UpdateBasePathMapping.go @@ -30,29 +30,26 @@ func (c *Client) UpdateBasePathMapping(ctx context.Context, params *UpdateBasePa // A request to change information about the BasePathMapping resource. type UpdateBasePathMappingInput struct { - // [Required] The base path of the BasePathMapping resource to change. To specify - // an empty base path, set this parameter to '(none)'. + // The base path of the BasePathMapping resource to change. To specify an empty + // base path, set this parameter to '(none)'. // // This member is required. BasePath *string - // [Required] The domain name of the BasePathMapping resource to change. + // The domain name of the BasePathMapping resource to change. // // This member is required. DomainName *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } // Represents the base path that callers of the API must provide as part of the URL -// after the domain name. A custom domain name plus a BasePathMapping specification -// identifies a deployed RestApi in a given stage of the owner Account. Use Custom -// Domain Names -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// after the domain name. type UpdateBasePathMappingOutput struct { // The base path name that callers of the API must provide as part of the URL after diff --git a/service/apigateway/api_op_UpdateClientCertificate.go b/service/apigateway/api_op_UpdateClientCertificate.go index 66807591ea9..f6bd1a3eaac 100644 --- a/service/apigateway/api_op_UpdateClientCertificate.go +++ b/service/apigateway/api_op_UpdateClientCertificate.go @@ -31,24 +31,20 @@ func (c *Client) UpdateClientCertificate(ctx context.Context, params *UpdateClie // A request to change information about an ClientCertificate resource. type UpdateClientCertificateInput struct { - // [Required] The identifier of the ClientCertificate resource to be updated. + // The identifier of the ClientCertificate resource to be updated. // // This member is required. ClientCertificateId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } // Represents a client certificate used to configure client-side SSL authentication -// while sending requests to the integration endpoint. Client certificates are used -// to authenticate an API by the backend server. To authenticate an API client (or -// user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user -// pool. Use Client-Side Certificate -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html) +// while sending requests to the integration endpoint. type UpdateClientCertificateOutput struct { // The identifier of the client certificate. diff --git a/service/apigateway/api_op_UpdateDeployment.go b/service/apigateway/api_op_UpdateDeployment.go index 78d216841d1..1dcdb8420bb 100644 --- a/service/apigateway/api_op_UpdateDeployment.go +++ b/service/apigateway/api_op_UpdateDeployment.go @@ -37,13 +37,13 @@ type UpdateDeploymentInput struct { // This member is required. DeploymentId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde @@ -51,13 +51,7 @@ type UpdateDeploymentInput struct { // An immutable representation of a RestApi resource that can be called by users // using Stages. A deployment must be associated with a Stage for it to be callable -// over the Internet. To create a deployment, call POST on the Deployments resource -// of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or -// DELETE on the specified deployment resource -// (/restapis/{restapi_id}/deployments/{deployment_id}). RestApi, Deployments, -// Stage, AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html), -// AWS SDKs (https://aws.amazon.com/tools/) +// over the Internet. type UpdateDeploymentOutput struct { // A summary of the RestApi at the date and time that the deployment resource was diff --git a/service/apigateway/api_op_UpdateDocumentationPart.go b/service/apigateway/api_op_UpdateDocumentationPart.go index a5c444adda1..8f7c43799fd 100644 --- a/service/apigateway/api_op_UpdateDocumentationPart.go +++ b/service/apigateway/api_op_UpdateDocumentationPart.go @@ -11,6 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// Updates a documentation part. func (c *Client) UpdateDocumentationPart(ctx context.Context, params *UpdateDocumentationPartInput, optFns ...func(*Options)) (*UpdateDocumentationPartOutput, error) { if params == nil { params = &UpdateDocumentationPartInput{} @@ -29,35 +30,24 @@ func (c *Client) UpdateDocumentationPart(ctx context.Context, params *UpdateDocu // Updates an existing documentation part of a given API. type UpdateDocumentationPartInput struct { - // [Required] The identifier of the to-be-updated documentation part. + // The identifier of the to-be-updated documentation part. // // This member is required. DocumentationPartId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// A documentation part for a targeted API entity. A documentation part consists of -// a content map (properties) and a target (location). The target specifies an API -// entity to which the documentation content applies. The supported API entity -// types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, -// QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and -// RESPONSE_BODY. Valid location fields depend on the API entity type. All valid -// fields are not required. The content map is a JSON string of API-specific -// key-value pairs. Although an API can use any shape for the content map, only the -// OpenAPI-compliant documentation fields will be injected into the associated API -// entity definition in the exported OpenAPI definition file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationParts +// A documentation part for a targeted API entity. type UpdateDocumentationPartOutput struct { // The DocumentationPart identifier, generated by API Gateway when the diff --git a/service/apigateway/api_op_UpdateDocumentationVersion.go b/service/apigateway/api_op_UpdateDocumentationVersion.go index 8f25e1904ab..12fd6e65aca 100644 --- a/service/apigateway/api_op_UpdateDocumentationVersion.go +++ b/service/apigateway/api_op_UpdateDocumentationVersion.go @@ -12,6 +12,7 @@ import ( "time" ) +// Updates a documentation version. func (c *Client) UpdateDocumentationVersion(ctx context.Context, params *UpdateDocumentationVersionInput, optFns ...func(*Options)) (*UpdateDocumentationVersionOutput, error) { if params == nil { params = &UpdateDocumentationVersionInput{} @@ -30,28 +31,24 @@ func (c *Client) UpdateDocumentationVersion(ctx context.Context, params *UpdateD // Updates an existing documentation version of an API. type UpdateDocumentationVersionInput struct { - // [Required] The version identifier of the to-be-updated documentation version. + // The version identifier of the to-be-updated documentation version. // // This member is required. DocumentationVersion *string - // [Required] The string identifier of the associated RestApi.. + // The string identifier of the associated RestApi.. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// A snapshot of the documentation of an API. Publishing API documentation involves -// creating a documentation version associated with an API stage and exporting the -// versioned documentation to an external (e.g., OpenAPI) file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationPart, DocumentationVersions +// A snapshot of the documentation of an API. type UpdateDocumentationVersionOutput struct { // The date when the API documentation snapshot is created. diff --git a/service/apigateway/api_op_UpdateDomainName.go b/service/apigateway/api_op_UpdateDomainName.go index 1752bad04b2..fb7a3cf9081 100644 --- a/service/apigateway/api_op_UpdateDomainName.go +++ b/service/apigateway/api_op_UpdateDomainName.go @@ -31,29 +31,20 @@ func (c *Client) UpdateDomainName(ctx context.Context, params *UpdateDomainNameI // A request to change information about the DomainName resource. type UpdateDomainNameInput struct { - // [Required] The name of the DomainName resource to be changed. + // The name of the DomainName resource to be changed. // // This member is required. DomainName *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } // Represents a custom domain name as a user-friendly host name of an API -// (RestApi). When you deploy an API, API Gateway creates a default host name for -// the API. This default API host name is of the -// {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host -// name, you can access the API's root resource with the URL of -// https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set -// up a custom domain name of apis.example.com for this API, you can then access -// the same resource using the URL of the https://apis.examples.com/myApi, where -// myApi is the base path mapping (BasePathMapping) of your API under the custom -// domain name. Set a Custom Host Name for an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// (RestApi). type UpdateDomainNameOutput struct { // The reference to an AWS-managed certificate that will be used by edge-optimized @@ -73,24 +64,22 @@ type UpdateDomainNameOutput struct { // custom domain name for an edge-optimized endpoint. You set up this association // when adding a DNS record pointing the custom domain name to this distribution // name. For more information about CloudFront distributions, see the Amazon - // CloudFront documentation (https://aws.amazon.com/documentation/cloudfront/). + // CloudFront documentation. DistributionDomainName *string // The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized // endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more - // information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. DistributionHostedZoneId *string // The custom domain name as an API host name, for example, my-api.example.com. DomainName *string - // The status of the DomainName migration. The valid values are AVAILABLE, - // UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If - // the status is UPDATING, the domain cannot be modified further until the existing - // operation is complete. If it is AVAILABLE, the domain can be updated. + // The status of the DomainName migration. The valid values are AVAILABLE and + // UPDATING. If the status is UPDATING, the domain cannot be modified further until + // the existing operation is complete. If it is AVAILABLE, the domain can be + // updated. DomainNameStatus types.DomainNameStatus // An optional text message containing detailed information about status of the @@ -126,10 +115,8 @@ type UpdateDomainNameOutput struct { RegionalDomainName *string // The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For - // more information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // more information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. RegionalHostedZoneId *string // The Transport Layer Security (TLS) version + cipher suite for this DomainName. diff --git a/service/apigateway/api_op_UpdateGatewayResponse.go b/service/apigateway/api_op_UpdateGatewayResponse.go index abeba7b4b38..cba0883e845 100644 --- a/service/apigateway/api_op_UpdateGatewayResponse.go +++ b/service/apigateway/api_op_UpdateGatewayResponse.go @@ -30,68 +30,25 @@ func (c *Client) UpdateGatewayResponse(ctx context.Context, params *UpdateGatewa // Updates a GatewayResponse of a specified response type on the given RestApi. type UpdateGatewayResponseInput struct { - // [Required] The response type of the associated GatewayResponse. + // The response type of the associated GatewayResponse. // // This member is required. ResponseType types.GatewayResponseType - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } // A gateway response of a given response type and status code, with optional -// response parameters and mapping templates. For more information about valid -// gateway response types, see Gateway Response Types Supported by API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html) -// Example: -// Get a Gateway Response of a given response type -// -// Request -// -// This example shows how -// to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type. GET -// /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 -// Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json -// X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 -// Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, -// Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a -// Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 The -// response type is specified as a URL path. -// Response -// -// The successful operation -// returns the 200 OK status code and a payload similar to the following: { -// "_links": { "curies": { "href": -// "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", -// "name": "gatewayresponse", "templated": true }, "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:delete": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, -// "defaultResponse": false, "responseParameters": { -// "gatewayresponse.header.x-request-path": "method.request.path.petId", -// "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", -// "gatewayresponse.header.x-request-query": "method.request.querystring.q", -// "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, -// "responseTemplates": { "application/json": "{\n \"message\": -// $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n -// \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n -// \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, -// "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }Customize -// Gateway Responses -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html) +// response parameters and mapping templates. type UpdateGatewayResponseOutput struct { // A Boolean flag to indicate whether this GatewayResponse is the default gateway diff --git a/service/apigateway/api_op_UpdateIntegration.go b/service/apigateway/api_op_UpdateIntegration.go index dae3e579187..caa0ce45cfe 100644 --- a/service/apigateway/api_op_UpdateIntegration.go +++ b/service/apigateway/api_op_UpdateIntegration.go @@ -30,37 +30,34 @@ func (c *Client) UpdateIntegration(ctx context.Context, params *UpdateIntegratio // Represents an update integration request. type UpdateIntegrationInput struct { - // [Required] Represents an update integration request's HTTP method. + // Represents an update integration request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Represents an update integration request's resource identifier. + // Represents an update integration request's resource identifier. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. In the API -// Gateway console, the built-in Lambda integration is an AWS integration. Creating -// an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. type UpdateIntegrationOutput struct { // A list of request parameters whose values API Gateway caches. To be valid values - // for cacheKeyParameters, these parameters must also be specified for - // MethodrequestParameters. + // for cacheKeyParameters, these parameters must also be specified for Method + // requestParameters. CacheKeyParameters []string // Specifies a group of related cached parameters. By default, API Gateway uses the @@ -69,10 +66,8 @@ type UpdateIntegrationOutput struct { // resources. CacheNamespace *string - // The (id - // (https://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) of - // the VpcLink used for the integration when connectionType=VPC_LINK and undefined, - // otherwise. + // The ID of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. ConnectionId *string // The type of the network connection to the integration endpoint. The valid value @@ -82,17 +77,8 @@ type UpdateIntegrationOutput struct { ConnectionType types.ConnectionType // Specifies how to handle request payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a request payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a request payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the request payload will be passed through from + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the request payload will be passed through from // the method request to integration request without modification, provided that // the passthroughBehavior is configured to support payload pass-through. ContentHandling types.ContentHandlingStrategy @@ -109,61 +95,25 @@ type UpdateIntegrationOutput struct { HttpMethod *string // Specifies the integration's responses. - // Example: Get integration responses of a - // method - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 - // HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns 200 OK status and a payload as follows: { "_links": - // { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" }Creating an API - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) IntegrationResponses map[string]types.IntegrationResponse // Specifies how the method request body of an unmapped content type will be passed // through the integration request to the back end without transformation. A // content type is unmapped if no mapping template is defined in the integration or // the content type does not match any of the mapped content types, as specified in - // requestTemplates. The valid value is one of the following: - // - // * WHEN_NO_MATCH: - // passes the method request body through the integration request to the back end - // without transformation when the method request content type does not match any - // content type associated with the mapping templates defined in the integration - // request. - // - // * WHEN_NO_TEMPLATES: passes the method request body through the - // integration request to the back end without transformation when no mapping - // template is defined in the integration request. If a template is defined when - // this option is selected, the method request of an unmapped content-type will be - // rejected with an HTTP 415 Unsupported Media Type response. - // - // * NEVER: rejects the - // method request with an HTTP 415 Unsupported Media Type response when either the - // method request content type does not match any content type associated with the - // mapping templates defined in the integration request or no mapping template is - // defined in the integration request. + // requestTemplates. The valid value is one of the following: WHEN_NO_MATCH: passes + // the method request body through the integration request to the back end without + // transformation when the method request content type does not match any content + // type associated with the mapping templates defined in the integration request. + // WHEN_NO_TEMPLATES: passes the method request body through the integration + // request to the back end without transformation when no mapping template is + // defined in the integration request. If a template is defined when this option is + // selected, the method request of an unmapped content-type will be rejected with + // an HTTP 415 Unsupported Media Type response. NEVER: rejects the method request + // with an HTTP 415 Unsupported Media Type response when either the method request + // content type does not match any content type associated with the mapping + // templates defined in the integration request or no mapping template is defined + // in the integration request. PassthroughBehavior *string // A key-value map specifying request parameters that are passed from the method @@ -188,63 +138,31 @@ type UpdateIntegrationOutput struct { TlsConfig *types.TlsConfig // Specifies an API method integration type. The valid value is one of the - // following: - // - // * AWS: for integrating the API method request with an AWS service - // action, including the Lambda function-invoking action. With the Lambda - // function-invoking action, this is referred to as the Lambda custom integration. - // With any other AWS service action, this is known as AWS integration. - // - // * - // AWS_PROXY: for integrating the API method request with the Lambda - // function-invoking action with the client request passed through as-is. This - // integration is also referred to as the Lambda proxy integration. - // - // * HTTP: for - // integrating the API method request with an HTTP endpoint, including a private - // HTTP endpoint within a VPC. This integration is also referred to as the HTTP - // custom integration. - // - // * HTTP_PROXY: for integrating the API method request with - // an HTTP endpoint, including a private HTTP endpoint within a VPC, with the - // client request passed through as-is. This is also referred to as the HTTP proxy - // integration. - // - // * MOCK: for integrating the API method request with API Gateway as - // a "loop-back" endpoint without invoking any backend. - // - // For the HTTP and HTTP - // proxy integrations, each integration can specify a protocol (http/https), port - // and path. Standard 80 and 443 ports are supported as well as custom ports above - // 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is - // referred to as a private integration and uses a VpcLink to connect API Gateway - // to a network load balancer of a VPC. + // following: For the HTTP and HTTP proxy integrations, each integration can + // specify a protocol (http/https), port and path. Standard 80 and 443 ports are + // supported as well as custom ports above 1024. An HTTP or HTTP proxy integration + // with a connectionType of VPC_LINK is referred to as a private integration and + // uses a VpcLink to connect API Gateway to a network load balancer of a VPC. Type types.IntegrationType - // Specifies Uniform Resource Identifier (URI) of the integration endpoint. - // - // * For + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. For // HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) - // URL according to the RFC-3986 specification - // (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier), for either standard - // integration, where connectionType is not VPC_LINK, or private integration, where + // URL according to the RFC-3986 specification, for either standard integration, + // where connectionType is not VPC_LINK, or private integration, where // connectionType is VPC_LINK. For a private HTTP integration, the URI is not used - // for routing. - // - // * For AWS or AWS_PROXY integrations, the URI is of the form + // for routing. For AWS or AWS_PROXY integrations, the URI is of the form // arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the - // name of the integrated AWS service (e.g., s3); and {subdomain} is a designated - // subdomain supported by certain AWS service for fast host-name lookup. action can - // be used for an AWS service action-based API, using an - // Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} - // refers to a supported action {name} plus any required input parameters. - // Alternatively, path can be used for an AWS service path-based API. The ensuing - // service_api refers to the path to an AWS service resource, including the region - // of the integrated AWS service, if applicable. For example, for integration with - // the S3 API of GetObject - // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), the uri - // can be either + // name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain Amazon Web Services service for + // fast host-name lookup. action can be used for an Amazon Web Services service + // action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The + // ensuing {service_api} refers to a supported action {name} plus any required + // input parameters. Alternatively, path can be used for an AWS service path-based + // API. The ensuing service_api refers to the path to an Amazon Web Services + // service resource, including the region of the integrated Amazon Web Services + // service, if applicable. For example, for integration with the S3 API of + // GetObject, the uri can be either // arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or // arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string diff --git a/service/apigateway/api_op_UpdateIntegrationResponse.go b/service/apigateway/api_op_UpdateIntegrationResponse.go index 1f25d7d7718..becaf6ac851 100644 --- a/service/apigateway/api_op_UpdateIntegrationResponse.go +++ b/service/apigateway/api_op_UpdateIntegrationResponse.go @@ -30,29 +30,28 @@ func (c *Client) UpdateIntegrationResponse(ctx context.Context, params *UpdateIn // Represents an update integration response request. type UpdateIntegrationResponseInput struct { - // [Required] Specifies an update integration response request's HTTP method. + // Specifies an update integration response request's HTTP method. // // This member is required. HttpMethod *string - // [Required] Specifies an update integration response request's resource - // identifier. + // Specifies an update integration response request's resource identifier. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] Specifies an update integration response request's status code. + // Specifies an update integration response request's status code. // // This member is required. StatusCode *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde @@ -60,23 +59,13 @@ type UpdateIntegrationResponseInput struct { // Represents an integration response. The status code must map to an existing // MethodResponse, and parameters and templates can be used to transform the -// back-end response. Creating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// back-end response. type UpdateIntegrationResponseOutput struct { // Specifies how to handle response payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a response payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a response payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the response payload will be passed through from - // the integration response to the method response without modification. + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the response payload will be passed through + // from the integration response to the method response without modification. ContentHandling types.ContentHandlingStrategy // A key-value map specifying response parameters that are passed to the method diff --git a/service/apigateway/api_op_UpdateMethod.go b/service/apigateway/api_op_UpdateMethod.go index 3e5527b6282..d0281867896 100644 --- a/service/apigateway/api_op_UpdateMethod.go +++ b/service/apigateway/api_op_UpdateMethod.go @@ -30,23 +30,23 @@ func (c *Client) UpdateMethod(ctx context.Context, params *UpdateMethodInput, op // Request to update an existing Method resource. type UpdateMethodInput struct { - // [Required] The HTTP verb of the Method resource. + // The HTTP verb of the Method resource. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the Method resource. + // The Resource identifier for the Method resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde @@ -62,86 +62,6 @@ type UpdateMethodInput struct { // resource. On the other hand, a method response is represented by a // MethodResponse resource, whereas an integration response is represented by an // IntegrationResponse resource. -// Example: Retrive the GET method on a specified -// resource -// -// Request -// -// The following example request retrieves the information about -// the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri). GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: -// application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: -// 20160603T210259Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns a 200 OK status code and a payload similar to the -// following: { "_links": { "curies": [ { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", -// "name": "integration", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", -// "name": "integrationresponse", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", -// "name": "method", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true } ], "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": -// "GET" }, "integration:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": -// "200", "title": "200" }, "method:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": -// { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", -// "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", -// "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integration:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integrationresponse:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", -// "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", -// "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": -// "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { -// "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, -// "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": -// "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { -// "integration:responses": { "_links": { "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integrationresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// }, "integrationresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// } }, "responseParameters": { "method.response.header.Content-Type": -// "'application/xml'" }, "responseTemplates": { "application/json": -// "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" -// }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { -// "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", -// "name": "200", "title": "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" } } } In the -// example above, the response template for the 200 OK response maps the JSON -// output from the ListStreams action in the back end to an XML output. The mapping -// template is URL-encoded as -// %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E -// and the output is decoded using the $util.urlDecode() -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference) -// helper function. MethodResponse, Integration, IntegrationResponse, Resource, Set -// up an API's method -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings.html) type UpdateMethodOutput struct { // A boolean flag specifying whether a valid ApiKey is required to invoke this @@ -173,91 +93,9 @@ type UpdateMethodOutput struct { // Gets the method's integration responsible for passing the client-submitted // request to the back end and performing necessary transformations to make the // request compliant with the back end. - // Example: - // - // Request - // - // GET - // /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true } ], "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { - // "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": - // \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, - // "type": "AWS", "uri": - // "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", - // "_embedded": { "integration:responses": { "_links": { "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, - // "integrationresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } - // }, "responseParameters": { "method.response.header.operator": - // "integration.response.body.op", "method.response.header.operand_2": - // "integration.response.body.b", "method.response.header.operand_1": - // "integration.response.body.a" }, "responseTemplates": { "application/json": - // "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => - // $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n - // \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }AWS - // CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-integration.html) MethodIntegration *types.Integration - // Gets a method response associated with a given HTTP status code. The collection - // of method responses are encapsulated in a key-value map, where the key is a - // response's HTTP status code and the value is a MethodResponse resource that - // specifies the response returned to the caller from the back end through the - // integration response. - // Example: Get a 200 OK response of a GET method - // - // Request - // - // - // GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true }, "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": - // "200" }, "methodresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.operator": false, "method.response.header.operand_2": - // false, "method.response.header.operand_1": false }, "statusCode": "200" }AWS CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html) + // Gets a method response associated with a given HTTP status code. MethodResponses map[string]types.MethodResponse // A human-friendly operation identifier for the method. For example, you can diff --git a/service/apigateway/api_op_UpdateMethodResponse.go b/service/apigateway/api_op_UpdateMethodResponse.go index c7988f8af26..583354eba03 100644 --- a/service/apigateway/api_op_UpdateMethodResponse.go +++ b/service/apigateway/api_op_UpdateMethodResponse.go @@ -30,28 +30,28 @@ func (c *Client) UpdateMethodResponse(ctx context.Context, params *UpdateMethodR // A request to update an existing MethodResponse resource. type UpdateMethodResponseInput struct { - // [Required] The HTTP verb of the Method resource. + // The HTTP verb of the Method resource. // // This member is required. HttpMethod *string - // [Required] The Resource identifier for the MethodResponse resource. + // The Resource identifier for the MethodResponse resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The status code for the MethodResponse resource. + // The status code for the MethodResponse resource. // // This member is required. StatusCode *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde @@ -60,34 +60,6 @@ type UpdateMethodResponseInput struct { // Represents a method response of a given HTTP status code returned to the client. // The method response is passed from the back end through the associated // integration response that can be transformed using a mapping template. -// Example: -// A MethodResponse instance of an API -// -// Request -// -// The example request retrieves a -// MethodResponse of the 200 status code. GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 -// Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com -// X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns 200 OK status and a payload as follows: { "_links": -// { "curies": { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true }, "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": -// "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" }Method, -// IntegrationResponse, IntegrationCreating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) type UpdateMethodResponseOutput struct { // Specifies the Model resources used for the response's content-type. Response diff --git a/service/apigateway/api_op_UpdateModel.go b/service/apigateway/api_op_UpdateModel.go index cf4ac07800a..5464dcc876e 100644 --- a/service/apigateway/api_op_UpdateModel.go +++ b/service/apigateway/api_op_UpdateModel.go @@ -30,31 +30,24 @@ func (c *Client) UpdateModel(ctx context.Context, params *UpdateModelInput, optF // Request to update an existing model in an existing RestApi resource. type UpdateModelInput struct { - // [Required] The name of the model to update. + // The name of the model to update. // // This member is required. ModelName *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// Represents the data structure of a method's request or response payload. A -// request model defines the data structure of the client-supplied request payload. -// A response model defines the data structure of the response payload returned by -// the back end. Although not required, models are useful for mapping payloads -// between the front end and back end. A model is used for generating an API's SDK, -// validating the input request body, and creating a skeletal mapping template. -// Method, MethodResponse, Models and Mappings -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html) +// Represents the data structure of a method's request or response payload. type UpdateModelOutput struct { // The content-type for the model. @@ -70,11 +63,10 @@ type UpdateModelOutput struct { Name *string // The schema for the model. For application/json models, this should be JSON - // schema draft 4 (https://tools.ietf.org/html/draft-zyp-json-schema-04) model. Do - // not include "\*/" characters in the description of any properties because such - // "\*/" characters may be interpreted as the closing marker for comments in some - // languages, such as Java or JavaScript, causing the installation of your API's - // SDK generated by API Gateway to fail. + // schema draft 4 model. Do not include "\*/" characters in the description of any + // properties because such "\*/" characters may be interpreted as the closing + // marker for comments in some languages, such as Java or JavaScript, causing the + // installation of your API's SDK generated by API Gateway to fail. Schema *string // Metadata pertaining to the operation's result. diff --git a/service/apigateway/api_op_UpdateRequestValidator.go b/service/apigateway/api_op_UpdateRequestValidator.go index 5607d4c18bc..658b520e34c 100644 --- a/service/apigateway/api_op_UpdateRequestValidator.go +++ b/service/apigateway/api_op_UpdateRequestValidator.go @@ -30,31 +30,24 @@ func (c *Client) UpdateRequestValidator(ctx context.Context, params *UpdateReque // Updates a RequestValidator of a given RestApi. type UpdateRequestValidatorInput struct { - // [Required] The identifier of RequestValidator to be updated. + // The identifier of RequestValidator to be updated. // // This member is required. RequestValidatorId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// A set of validation rules for incoming Method requests. In OpenAPI, a -// RequestValidator of an API is defined by the -// x-amazon-apigateway-request-validators.requestValidator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.requestValidator.html) -// object. It the referenced using the x-amazon-apigateway-request-validator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validator) -// property. Enable Basic Request Validation in API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) +// A set of validation rules for incoming Method requests. type UpdateRequestValidatorOutput struct { // The identifier of this RequestValidator. diff --git a/service/apigateway/api_op_UpdateResource.go b/service/apigateway/api_op_UpdateResource.go index 6ca8fbd218c..f945bf64c24 100644 --- a/service/apigateway/api_op_UpdateResource.go +++ b/service/apigateway/api_op_UpdateResource.go @@ -30,25 +30,24 @@ func (c *Client) UpdateResource(ctx context.Context, params *UpdateResourceInput // Request to change information about a Resource resource. type UpdateResourceInput struct { - // [Required] The identifier of the Resource resource. + // The identifier of the Resource resource. // // This member is required. ResourceId *string - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// Represents an API resource. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an API resource. type UpdateResourceOutput struct { // The resource's identifier. @@ -63,85 +62,7 @@ type UpdateResourceOutput struct { // The last path segment for this resource. PathPart *string - // Gets an API resource's method of a given HTTP verb. The resource methods are a - // map of methods indexed by methods' HTTP verbs enabled on the resource. This - // method map is included in the 200 OK response of the GET - // /restapis/{restapi_id}/resources/{resource_id} or GET - // /restapis/{restapi_id}/resources/{resource_id}?embed=methods request. - // Example: - // Get the GET method of an API resource - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: - // application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: - // 20170223T031827Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // { - // "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", - // "name": "method", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true } ], "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": - // "GET" }, "integration:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": - // "200", "title": "200" }, "method:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": - // { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", - // "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", - // "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { - // "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, - // "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": - // "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { - // "integration:responses": { "_links": { "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { - // "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", - // "name": "200", "title": "200" }, "methodresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.Content-Type": false }, "statusCode": "200" } } } If the - // OPTIONS is enabled on the resource, you can follow the example here to get that - // method. Just replace the GET of the last path segment in the request URL with - // OPTIONS. + // Gets an API resource's method of a given HTTP verb. ResourceMethods map[string]types.Method // Metadata pertaining to the operation's result. diff --git a/service/apigateway/api_op_UpdateRestApi.go b/service/apigateway/api_op_UpdateRestApi.go index 5ecda63a7e8..d81a47a3992 100644 --- a/service/apigateway/api_op_UpdateRestApi.go +++ b/service/apigateway/api_op_UpdateRestApi.go @@ -31,30 +31,25 @@ func (c *Client) UpdateRestApi(ctx context.Context, params *UpdateRestApiInput, // Request to update an existing RestApi resource in your collection. type UpdateRestApiInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// Represents a REST API. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents a REST API. type UpdateRestApiOutput struct { // The source of the API key for metering requests according to a usage plan. Valid - // values are: - // - // * HEADER to read the API key from the X-API-Key header of a - // request. - // - // * AUTHORIZER to read the API key from the UsageIdentifierKey from a - // custom authorizer. + // values are: >HEADER to read the API key from the X-API-Key header of a request. + // AUTHORIZER to read the API key from the UsageIdentifierKey from a custom + // authorizer. ApiKeySource types.ApiKeySourceType // The list of binary media types supported by the RestApi. By default, the RestApi diff --git a/service/apigateway/api_op_UpdateStage.go b/service/apigateway/api_op_UpdateStage.go index 6ecf187aa70..a144c596e8b 100644 --- a/service/apigateway/api_op_UpdateStage.go +++ b/service/apigateway/api_op_UpdateStage.go @@ -31,26 +31,25 @@ func (c *Client) UpdateStage(ctx context.Context, params *UpdateStageInput, optF // Requests API Gateway to change information about a Stage resource. type UpdateStageInput struct { - // [Required] The string identifier of the associated RestApi. + // The string identifier of the associated RestApi. // // This member is required. RestApiId *string - // [Required] The name of the Stage resource to change information about. + // The name of the Stage resource to change information about. // // This member is required. StageName *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } // Represents a unique identifier for a version of a deployed RestApi that is -// callable by users. Deploy an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html) +// callable by users. type UpdateStageOutput struct { // Settings for logging access in this stage. diff --git a/service/apigateway/api_op_UpdateUsage.go b/service/apigateway/api_op_UpdateUsage.go index 5a041b018dc..e9fb9ef2b0b 100644 --- a/service/apigateway/api_op_UpdateUsage.go +++ b/service/apigateway/api_op_UpdateUsage.go @@ -32,28 +32,25 @@ func (c *Client) UpdateUsage(ctx context.Context, params *UpdateUsageInput, optF // usage plan associated with a specified API key. type UpdateUsageInput struct { - // [Required] The identifier of the API key associated with the usage plan in which - // a temporary extension is granted to the remaining quota. + // The identifier of the API key associated with the usage plan in which a + // temporary extension is granted to the remaining quota. // // This member is required. KeyId *string - // [Required] The Id of the usage plan associated with the usage data. + // The Id of the usage plan associated with the usage data. // // This member is required. UsagePlanId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } -// Represents the usage data of a usage plan. Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html), -// Manage Usage in a Usage Plan -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-manage-usage) +// Represents the usage data of a usage plan. type UpdateUsageOutput struct { // The ending date of the usage data. diff --git a/service/apigateway/api_op_UpdateUsagePlan.go b/service/apigateway/api_op_UpdateUsagePlan.go index 1ddfa432ae1..4ad5f53a052 100644 --- a/service/apigateway/api_op_UpdateUsagePlan.go +++ b/service/apigateway/api_op_UpdateUsagePlan.go @@ -30,13 +30,13 @@ func (c *Client) UpdateUsagePlan(ctx context.Context, params *UpdateUsagePlanInp // The PATCH request to update a usage plan of a given plan Id. type UpdateUsagePlanInput struct { - // [Required] The Id of the to-be-updated usage plan. + // The Id of the to-be-updated usage plan. // // This member is required. UsagePlanId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde @@ -45,14 +45,11 @@ type UpdateUsagePlanInput struct { // Represents a usage plan used to specify who can assess associated API stages. // Optionally, target request rate and quota limits can be set. In some cases // clients can exceed the targets that you set. Don’t rely on usage plans to -// control costs. Consider using AWS Budgets +// control costs. Consider using Amazon Web Services Budgets // (https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) -// to monitor costs and AWS WAF +// to monitor costs and WAF // (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to -// manage API requests. In a usage plan, you associate an API by specifying the -// API's Id and a stage name of the specified API. You add plan customers by adding -// API keys to the plan. Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// manage API requests. type UpdateUsagePlanOutput struct { // The associated API stages of a usage plan. @@ -77,7 +74,7 @@ type UpdateUsagePlanOutput struct { // The collection of tags. Each tag element is associated with a given resource. Tags map[string]string - // Map containing method level throttling information for API stage in a usage + // A map containing method level throttling information for API stage in a usage // plan. Throttle *types.ThrottleSettings diff --git a/service/apigateway/api_op_UpdateVpcLink.go b/service/apigateway/api_op_UpdateVpcLink.go index 949c6feb370..2b424e5721d 100644 --- a/service/apigateway/api_op_UpdateVpcLink.go +++ b/service/apigateway/api_op_UpdateVpcLink.go @@ -30,27 +30,21 @@ func (c *Client) UpdateVpcLink(ctx context.Context, params *UpdateVpcLinkInput, // Updates an existing VpcLink of a specified identifier. type UpdateVpcLinkInput struct { - // [Required] The identifier of the VpcLink. It is used in an Integration to - // reference this VpcLink. + // The identifier of the VpcLink. It is used in an Integration to reference this + // VpcLink. // // This member is required. VpcLinkId *string - // A list of update operations to be applied to the specified resource and in the - // order specified in this list. + // For more information about supported patch operations, see Patch Operations + // (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). PatchOperations []types.PatchOperation noSmithyDocumentSerde } // An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual -// Private Cloud (VPC). To enable access to a resource in an Amazon Virtual Private -// Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink -// resource targeted for one or more network load balancers of the VPC and then -// integrate an API method with a private integration that uses the VpcLink. The -// private integration has an integration type of HTTP or HTTP_PROXY and has a -// connection type of VPC_LINK. The integration uses the connectionId property to -// identify the VpcLink used. +// Private Cloud (VPC). type UpdateVpcLinkOutput struct { // The description of the VPC link. diff --git a/service/apigateway/go.mod b/service/apigateway/go.mod index 81464c5d9d9..00f896a529d 100644 --- a/service/apigateway/go.mod +++ b/service/apigateway/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/apigateway go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apigateway/go.sum b/service/apigateway/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/apigateway/go.sum +++ b/service/apigateway/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/apigateway/go_module_metadata.go b/service/apigateway/go_module_metadata.go index b47cec8565a..dbf667ad0f5 100644 --- a/service/apigateway/go_module_metadata.go +++ b/service/apigateway/go_module_metadata.go @@ -3,4 +3,4 @@ package apigateway // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.7" diff --git a/service/apigateway/types/types.go b/service/apigateway/types/types.go index 565e9b62737..e1597bd141c 100644 --- a/service/apigateway/types/types.go +++ b/service/apigateway/types/types.go @@ -17,9 +17,7 @@ type AccessLogSettings struct { DestinationArn *string // A single line format of the access logs of data, as specified by selected - // $context variables - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference). - // The format must include at least $context.requestId. + // $context variables. The format must include at least $context.requestId. Format *string noSmithyDocumentSerde @@ -28,8 +26,7 @@ type AccessLogSettings struct { // A resource that can be distributed to callers for executing Method resources // that require an API key. API keys can be mapped to any Stage on any RestApi, // which indicates that the callers with the API key can make requests to that -// stage. Use API Keys -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html) +// stage. type ApiKey struct { // The timestamp when the API Key was created. @@ -83,11 +80,7 @@ type ApiStage struct { } // Represents an authorization layer for methods. If enabled on a method, API -// Gateway will activate the authorizer when a client calls the method. Use Lambda -// Function as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html)Use -// Cognito User Pool as Authorizer -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) +// Gateway will activate the authorizer when a client calls the method. type Authorizer struct { // Optional customer-defined field, used in OpenAPI imports and exports without @@ -121,15 +114,11 @@ type Authorizer struct { // The identifier for the authorizer resource. Id *string - // The identity source for which authorization is requested. - // - // * For a TOKEN or + // The identity source for which authorization is requested. For a TOKEN or // COGNITO_USER_POOLS authorizer, this is required and specifies the request header // mapping expression for the custom header holding the authorization token // submitted by the client. For example, if the token header name is Auth, the - // header mapping expression is method.request.header.Auth. - // - // * For the REQUEST + // header mapping expression is method.request.header.Auth. For the REQUEST // authorizer, this is required when authorization caching is enabled. The value is // a comma-separated string of one or more mapping expressions of the specified // request parameters. For example, if an Auth header, a Name query string @@ -154,7 +143,7 @@ type Authorizer struct { // apply to the REQUEST authorizer. IdentityValidationExpression *string - // [Required] The name of the authorizer. + // The name of the authorizer. Name *string // A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS @@ -173,10 +162,7 @@ type Authorizer struct { } // Represents the base path that callers of the API must provide as part of the URL -// after the domain name. A custom domain name plus a BasePathMapping specification -// identifies a deployed RestApi in a given stage of the owner Account. Use Custom -// Domain Names -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// after the domain name. type BasePathMapping struct { // The base path name that callers of the API must provide as part of the URL after @@ -214,11 +200,7 @@ type CanarySettings struct { } // Represents a client certificate used to configure client-side SSL authentication -// while sending requests to the integration endpoint. Client certificates are used -// to authenticate an API by the backend server. To authenticate an API client (or -// user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user -// pool. Use Client-Side Certificate -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html) +// while sending requests to the integration endpoint. type ClientCertificate struct { // The identifier of the client certificate. @@ -245,13 +227,7 @@ type ClientCertificate struct { // An immutable representation of a RestApi resource that can be called by users // using Stages. A deployment must be associated with a Stage for it to be callable -// over the Internet. To create a deployment, call POST on the Deployments resource -// of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or -// DELETE on the specified deployment resource -// (/restapis/{restapi_id}/deployments/{deployment_id}). RestApi, Deployments, -// Stage, AWS CLI -// (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html), -// AWS SDKs (https://aws.amazon.com/tools/) +// over the Internet. type Deployment struct { // A summary of the RestApi at the date and time that the deployment resource was @@ -289,18 +265,7 @@ type DeploymentCanarySettings struct { noSmithyDocumentSerde } -// A documentation part for a targeted API entity. A documentation part consists of -// a content map (properties) and a target (location). The target specifies an API -// entity to which the documentation content applies. The supported API entity -// types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, -// QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and -// RESPONSE_BODY. Valid location fields depend on the API entity type. All valid -// fields are not required. The content map is a JSON string of API-specific -// key-value pairs. Although an API can use any shape for the content map, only the -// OpenAPI-compliant documentation fields will be injected into the associated API -// entity definition in the exported OpenAPI definition file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationParts +// A documentation part for a targeted API entity. type DocumentationPart struct { // The DocumentationPart identifier, generated by API Gateway when the @@ -328,11 +293,11 @@ type DocumentationPart struct { // Specifies the target API entity to which the documentation applies. type DocumentationPartLocation struct { - // [Required] The type of API entity to which the documentation content applies. - // Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, - // QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and - // RESPONSE_BODY. Content inheritance does not apply to any entity of the API, - // AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type. + // The type of API entity to which the documentation content applies. Valid values + // are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, + // REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. + // Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, + // MODEL, REQUEST_BODY, or RESOURCE type. // // This member is required. Type DocumentationPartType @@ -371,11 +336,7 @@ type DocumentationPartLocation struct { noSmithyDocumentSerde } -// A snapshot of the documentation of an API. Publishing API documentation involves -// creating a documentation version associated with an API stage and exporting the -// versioned documentation to an external (e.g., OpenAPI) file. Documenting an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), -// DocumentationPart, DocumentationVersions +// A snapshot of the documentation of an API. type DocumentationVersion struct { // The date when the API documentation snapshot is created. @@ -391,16 +352,7 @@ type DocumentationVersion struct { } // Represents a custom domain name as a user-friendly host name of an API -// (RestApi). When you deploy an API, API Gateway creates a default host name for -// the API. This default API host name is of the -// {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host -// name, you can access the API's root resource with the URL of -// https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set -// up a custom domain name of apis.example.com for this API, you can then access -// the same resource using the URL of the https://apis.examples.com/myApi, where -// myApi is the base path mapping (BasePathMapping) of your API under the custom -// domain name. Set a Custom Host Name for an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) +// (RestApi). type DomainName struct { // The reference to an AWS-managed certificate that will be used by edge-optimized @@ -420,24 +372,22 @@ type DomainName struct { // custom domain name for an edge-optimized endpoint. You set up this association // when adding a DNS record pointing the custom domain name to this distribution // name. For more information about CloudFront distributions, see the Amazon - // CloudFront documentation (https://aws.amazon.com/documentation/cloudfront/). + // CloudFront documentation. DistributionDomainName *string // The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized // endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more - // information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. DistributionHostedZoneId *string // The custom domain name as an API host name, for example, my-api.example.com. DomainName *string - // The status of the DomainName migration. The valid values are AVAILABLE, - // UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If - // the status is UPDATING, the domain cannot be modified further until the existing - // operation is complete. If it is AVAILABLE, the domain can be updated. + // The status of the DomainName migration. The valid values are AVAILABLE and + // UPDATING. If the status is UPDATING, the domain cannot be modified further until + // the existing operation is complete. If it is AVAILABLE, the domain can be + // updated. DomainNameStatus DomainNameStatus // An optional text message containing detailed information about status of the @@ -473,10 +423,8 @@ type DomainName struct { RegionalDomainName *string // The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For - // more information, see Set up a Regional Custom Domain Name - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html) - // and AWS Regions and Endpoints for API Gateway - // (https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region). + // more information, see Set up a Regional Custom Domain Name and AWS Regions and + // Endpoints for API Gateway. RegionalHostedZoneId *string // The Transport Layer Security (TLS) version + cipher suite for this DomainName. @@ -507,50 +455,7 @@ type EndpointConfiguration struct { } // A gateway response of a given response type and status code, with optional -// response parameters and mapping templates. For more information about valid -// gateway response types, see Gateway Response Types Supported by API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html) -// Example: -// Get a Gateway Response of a given response type -// -// Request -// -// This example shows how -// to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type. GET -// /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 -// Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json -// X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 -// Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, -// Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a -// Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 The -// response type is specified as a URL path. -// Response -// -// The successful operation -// returns the 200 OK status code and a payload similar to the following: { -// "_links": { "curies": { "href": -// "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", -// "name": "gatewayresponse", "templated": true }, "self": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:delete": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, -// "gatewayresponse:put": { "href": -// "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, -// "gatewayresponse:update": { "href": -// "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, -// "defaultResponse": false, "responseParameters": { -// "gatewayresponse.header.x-request-path": "method.request.path.petId", -// "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", -// "gatewayresponse.header.x-request-query": "method.request.querystring.q", -// "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, -// "responseTemplates": { "application/json": "{\n \"message\": -// $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n -// \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n -// \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, -// "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }Customize -// Gateway Responses -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html) +// response parameters and mapping templates. type GatewayResponse struct { // A Boolean flag to indicate whether this GatewayResponse is the default gateway @@ -575,15 +480,12 @@ type GatewayResponse struct { noSmithyDocumentSerde } -// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. In the API -// Gateway console, the built-in Lambda integration is an AWS integration. Creating -// an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. type Integration struct { // A list of request parameters whose values API Gateway caches. To be valid values - // for cacheKeyParameters, these parameters must also be specified for - // MethodrequestParameters. + // for cacheKeyParameters, these parameters must also be specified for Method + // requestParameters. CacheKeyParameters []string // Specifies a group of related cached parameters. By default, API Gateway uses the @@ -592,10 +494,8 @@ type Integration struct { // resources. CacheNamespace *string - // The (id - // (https://docs.aws.amazon.com/apigateway/api-reference/resource/vpc-link/#id)) of - // the VpcLink used for the integration when connectionType=VPC_LINK and undefined, - // otherwise. + // The ID of the VpcLink used for the integration when connectionType=VPC_LINK and + // undefined, otherwise. ConnectionId *string // The type of the network connection to the integration endpoint. The valid value @@ -605,17 +505,8 @@ type Integration struct { ConnectionType ConnectionType // Specifies how to handle request payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a request payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a request payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the request payload will be passed through from + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the request payload will be passed through from // the method request to integration request without modification, provided that // the passthroughBehavior is configured to support payload pass-through. ContentHandling ContentHandlingStrategy @@ -632,61 +523,25 @@ type Integration struct { HttpMethod *string // Specifies the integration's responses. - // Example: Get integration responses of a - // method - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 - // HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns 200 OK status and a payload as follows: { "_links": - // { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" }Creating an API - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) IntegrationResponses map[string]IntegrationResponse // Specifies how the method request body of an unmapped content type will be passed // through the integration request to the back end without transformation. A // content type is unmapped if no mapping template is defined in the integration or // the content type does not match any of the mapped content types, as specified in - // requestTemplates. The valid value is one of the following: - // - // * WHEN_NO_MATCH: - // passes the method request body through the integration request to the back end - // without transformation when the method request content type does not match any - // content type associated with the mapping templates defined in the integration - // request. - // - // * WHEN_NO_TEMPLATES: passes the method request body through the - // integration request to the back end without transformation when no mapping - // template is defined in the integration request. If a template is defined when - // this option is selected, the method request of an unmapped content-type will be - // rejected with an HTTP 415 Unsupported Media Type response. - // - // * NEVER: rejects the - // method request with an HTTP 415 Unsupported Media Type response when either the - // method request content type does not match any content type associated with the - // mapping templates defined in the integration request or no mapping template is - // defined in the integration request. + // requestTemplates. The valid value is one of the following: WHEN_NO_MATCH: passes + // the method request body through the integration request to the back end without + // transformation when the method request content type does not match any content + // type associated with the mapping templates defined in the integration request. + // WHEN_NO_TEMPLATES: passes the method request body through the integration + // request to the back end without transformation when no mapping template is + // defined in the integration request. If a template is defined when this option is + // selected, the method request of an unmapped content-type will be rejected with + // an HTTP 415 Unsupported Media Type response. NEVER: rejects the method request + // with an HTTP 415 Unsupported Media Type response when either the method request + // content type does not match any content type associated with the mapping + // templates defined in the integration request or no mapping template is defined + // in the integration request. PassthroughBehavior *string // A key-value map specifying request parameters that are passed from the method @@ -711,63 +566,31 @@ type Integration struct { TlsConfig *TlsConfig // Specifies an API method integration type. The valid value is one of the - // following: - // - // * AWS: for integrating the API method request with an AWS service - // action, including the Lambda function-invoking action. With the Lambda - // function-invoking action, this is referred to as the Lambda custom integration. - // With any other AWS service action, this is known as AWS integration. - // - // * - // AWS_PROXY: for integrating the API method request with the Lambda - // function-invoking action with the client request passed through as-is. This - // integration is also referred to as the Lambda proxy integration. - // - // * HTTP: for - // integrating the API method request with an HTTP endpoint, including a private - // HTTP endpoint within a VPC. This integration is also referred to as the HTTP - // custom integration. - // - // * HTTP_PROXY: for integrating the API method request with - // an HTTP endpoint, including a private HTTP endpoint within a VPC, with the - // client request passed through as-is. This is also referred to as the HTTP proxy - // integration. - // - // * MOCK: for integrating the API method request with API Gateway as - // a "loop-back" endpoint without invoking any backend. - // - // For the HTTP and HTTP - // proxy integrations, each integration can specify a protocol (http/https), port - // and path. Standard 80 and 443 ports are supported as well as custom ports above - // 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is - // referred to as a private integration and uses a VpcLink to connect API Gateway - // to a network load balancer of a VPC. + // following: For the HTTP and HTTP proxy integrations, each integration can + // specify a protocol (http/https), port and path. Standard 80 and 443 ports are + // supported as well as custom ports above 1024. An HTTP or HTTP proxy integration + // with a connectionType of VPC_LINK is referred to as a private integration and + // uses a VpcLink to connect API Gateway to a network load balancer of a VPC. Type IntegrationType - // Specifies Uniform Resource Identifier (URI) of the integration endpoint. - // - // * For + // Specifies Uniform Resource Identifier (URI) of the integration endpoint. For // HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) - // URL according to the RFC-3986 specification - // (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier), for either standard - // integration, where connectionType is not VPC_LINK, or private integration, where + // URL according to the RFC-3986 specification, for either standard integration, + // where connectionType is not VPC_LINK, or private integration, where // connectionType is VPC_LINK. For a private HTTP integration, the URI is not used - // for routing. - // - // * For AWS or AWS_PROXY integrations, the URI is of the form + // for routing. For AWS or AWS_PROXY integrations, the URI is of the form // arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. // Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the - // name of the integrated AWS service (e.g., s3); and {subdomain} is a designated - // subdomain supported by certain AWS service for fast host-name lookup. action can - // be used for an AWS service action-based API, using an - // Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} - // refers to a supported action {name} plus any required input parameters. - // Alternatively, path can be used for an AWS service path-based API. The ensuing - // service_api refers to the path to an AWS service resource, including the region - // of the integrated AWS service, if applicable. For example, for integration with - // the S3 API of GetObject - // (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html), the uri - // can be either + // name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} + // is a designated subdomain supported by certain Amazon Web Services service for + // fast host-name lookup. action can be used for an Amazon Web Services service + // action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The + // ensuing {service_api} refers to a supported action {name} plus any required + // input parameters. Alternatively, path can be used for an AWS service path-based + // API. The ensuing service_api refers to the path to an Amazon Web Services + // service resource, including the region of the integrated Amazon Web Services + // service, if applicable. For example, for integration with the S3 API of + // GetObject, the uri can be either // arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or // arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key} Uri *string @@ -777,23 +600,13 @@ type Integration struct { // Represents an integration response. The status code must map to an existing // MethodResponse, and parameters and templates can be used to transform the -// back-end response. Creating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// back-end response. type IntegrationResponse struct { // Specifies how to handle response payload content type conversions. Supported - // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following - // behaviors: - // - // * CONVERT_TO_BINARY: Converts a response payload from a - // Base64-encoded string to the corresponding binary blob. - // - // * CONVERT_TO_TEXT: - // Converts a response payload from a binary blob to a Base64-encoded string. - // - // If - // this property is not defined, the response payload will be passed through from - // the integration response to the method response without modification. + // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: + // If this property is not defined, the response payload will be passed through + // from the integration response to the method response without modification. ContentHandling ContentHandlingStrategy // A key-value map specifying response parameters that are passed to the method @@ -840,86 +653,6 @@ type IntegrationResponse struct { // resource. On the other hand, a method response is represented by a // MethodResponse resource, whereas an integration response is represented by an // IntegrationResponse resource. -// Example: Retrive the GET method on a specified -// resource -// -// Request -// -// The following example request retrieves the information about -// the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri). GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: -// application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: -// 20160603T210259Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns a 200 OK status code and a payload similar to the -// following: { "_links": { "curies": [ { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", -// "name": "integration", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", -// "name": "integrationresponse", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", -// "name": "method", "templated": true }, { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true } ], "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": -// "GET" }, "integration:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "method:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": -// "200", "title": "200" }, "method:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": -// { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", -// "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", -// "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": -// { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integration:responses": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integration:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, -// "integrationresponse:put": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", -// "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", -// "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": -// "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { -// "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, -// "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": -// "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { -// "integration:responses": { "_links": { "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", -// "name": "200", "title": "200" }, "integrationresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// }, "integrationresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" -// } }, "responseParameters": { "method.response.header.Content-Type": -// "'application/xml'" }, "responseTemplates": { "application/json": -// "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" -// }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { -// "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", -// "name": "200", "title": "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" } } } In the -// example above, the response template for the 200 OK response maps the JSON -// output from the ListStreams action in the back end to an XML output. The mapping -// template is URL-encoded as -// %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E -// and the output is decoded using the $util.urlDecode() -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference) -// helper function. MethodResponse, Integration, IntegrationResponse, Resource, Set -// up an API's method -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings.html) type Method struct { // A boolean flag specifying whether a valid ApiKey is required to invoke this @@ -951,91 +684,9 @@ type Method struct { // Gets the method's integration responsible for passing the client-submitted // request to the back end and performing necessary transformations to make the // request compliant with the back end. - // Example: - // - // Request - // - // GET - // /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true } ], "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { - // "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": - // \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, - // "type": "AWS", "uri": - // "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", - // "_embedded": { "integration:responses": { "_links": { "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, - // "integrationresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } - // }, "responseParameters": { "method.response.header.operator": - // "integration.response.body.op", "method.response.header.operand_2": - // "integration.response.body.b", "method.response.header.operand_1": - // "integration.response.body.a" }, "responseTemplates": { "application/json": - // "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => - // $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n - // \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }AWS - // CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-integration.html) MethodIntegration *Integration - // Gets a method response associated with a given HTTP status code. The collection - // of method responses are encapsulated in a key-value map, where the key is a - // response's HTTP status code and the value is a MethodResponse resource that - // specifies the response returned to the caller from the back end through the - // integration response. - // Example: Get a 200 OK response of a GET method - // - // Request - // - // - // GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 - // Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com - // Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // The - // successful response returns a 200 OK status code and a payload similar to the - // following: { "_links": { "curies": { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true }, "self": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": - // "200" }, "methodresponse:delete": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.operator": false, "method.response.header.operand_2": - // false, "method.response.header.operand_1": false }, "statusCode": "200" }AWS CLI - // (https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html) + // Gets a method response associated with a given HTTP status code. MethodResponses map[string]MethodResponse // A human-friendly operation identifier for the method. For example, you can @@ -1067,34 +718,6 @@ type Method struct { // Represents a method response of a given HTTP status code returned to the client. // The method response is passed from the back end through the associated // integration response that can be transformed using a mapping template. -// Example: -// A MethodResponse instance of an API -// -// Request -// -// The example request retrieves a -// MethodResponse of the 200 status code. GET -// /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 -// Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com -// X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 -// Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, -// SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} -// Response -// -// The -// successful response returns 200 OK status and a payload as follows: { "_links": -// { "curies": { "href": -// "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", -// "name": "methodresponse", "templated": true }, "self": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": -// "200" }, "methodresponse:delete": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, -// "methodresponse:update": { "href": -// "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, -// "responseModels": { "application/json": "Empty" }, "responseParameters": { -// "method.response.header.Content-Type": false }, "statusCode": "200" }Method, -// IntegrationResponse, IntegrationCreating an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) type MethodResponse struct { // Specifies the Model resources used for the response's content-type. Response @@ -1142,10 +765,8 @@ type MethodSetting struct { // Boolean. CachingEnabled bool - // Specifies whether full requests and responses are logged for this method, which - // affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to - // troubleshoot APIs, but can result in logging sensitive data. We recommend that - // you don't enable this option for production APIs. The PATCH path for this + // Specifies whether data trace logging is enabled for this method, which affects + // the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this // setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean. DataTraceEnabled bool @@ -1199,14 +820,7 @@ type MethodSnapshot struct { noSmithyDocumentSerde } -// Represents the data structure of a method's request or response payload. A -// request model defines the data structure of the client-supplied request payload. -// A response model defines the data structure of the response payload returned by -// the back end. Although not required, models are useful for mapping payloads -// between the front end and back end. A model is used for generating an API's SDK, -// validating the input request body, and creating a skeletal mapping template. -// Method, MethodResponse, Models and Mappings -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html) +// Represents the data structure of a method's request or response payload. type Model struct { // The content-type for the model. @@ -1222,19 +836,18 @@ type Model struct { Name *string // The schema for the model. For application/json models, this should be JSON - // schema draft 4 (https://tools.ietf.org/html/draft-zyp-json-schema-04) model. Do - // not include "\*/" characters in the description of any properties because such - // "\*/" characters may be interpreted as the closing marker for comments in some - // languages, such as Java or JavaScript, causing the installation of your API's - // SDK generated by API Gateway to fail. + // schema draft 4 model. Do not include "\*/" characters in the description of any + // properties because such "\*/" characters may be interpreted as the closing + // marker for comments in some languages, such as Java or JavaScript, causing the + // installation of your API's SDK generated by API Gateway to fail. Schema *string noSmithyDocumentSerde } -// If specified, API Gateway performs two-way authentication between the client and -// the server. Clients must present a trusted certificate to access your custom -// domain name. +// The mutual TLS authentication configuration for a custom domain name. If +// specified, API Gateway performs two-way authentication between the client and +// the server. Clients must present a trusted certificate to access your API. type MutualTlsAuthentication struct { // An Amazon S3 URL that specifies the truststore for mutual TLS authentication, @@ -1258,29 +871,28 @@ type MutualTlsAuthentication struct { noSmithyDocumentSerde } -// If specified, API Gateway performs two-way authentication between the client and -// the server. Clients must present a trusted certificate to access your custom -// domain name. +// The mutual TLS authentication configuration for a custom domain name. If +// specified, API Gateway performs two-way authentication between the client and +// the server. Clients must present a trusted certificate to access your API. type MutualTlsAuthenticationInput struct { - // An Amazon S3 resource ARN that specifies the truststore for mutual TLS - // authentication, for example, s3://bucket-name/key-name. The truststore can - // contain certificates from public or private certificate authorities. To update - // the truststore, upload a new version to S3, and then update your custom domain - // name to use the new version. To update the truststore, you must have permissions - // to access the S3 object. + // An Amazon S3 URL that specifies the truststore for mutual TLS authentication, + // for example s3://bucket-name/key-name. The truststore can contain certificates + // from public or private certificate authorities. To update the truststore, upload + // a new version to S3, and then update your custom domain name to use the new + // version. To update the truststore, you must have permissions to access the S3 + // object. TruststoreUri *string // The version of the S3 object that contains your truststore. To specify a - // version, you must have versioning enabled for the S3 bucket. + // version, you must have versioning enabled for the S3 bucket TruststoreVersion *string noSmithyDocumentSerde } -// A single patch operation to apply to the specified resource. Please refer to -// http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how each -// operation is used. +// For more information about supported patch operations, see Patch Operations +// (https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). type PatchOperation struct { // The copy update operation's source as identified by a JSON-Pointer value @@ -1295,15 +907,14 @@ type PatchOperation struct { // be add, remove, replace or copy. Not all valid operations are supported for a // given resource. Support of the operations depends on specific operational // contexts. Attempts to apply an unsupported operation on a resource will return - // an error message. + // an error message.. Op Op - // The op operation's target, as identified by a JSON Pointer - // (https://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08) value that - // references a location within the targeted resource. For example, if the target - // resource has an updateable property of {"name":"value"}, the path for this - // property is /name. If the name property value is a JSON object (e.g., {"name": - // {"child/name": "child-value"}}), the path for the child/name property will be + // The op operation's target, as identified by a JSON Pointer value that references + // a location within the targeted resource. For example, if the target resource has + // an updateable property of {"name":"value"}, the path for this property is /name. + // If the name property value is a JSON object (e.g., {"name": {"child/name": + // "child-value"}}), the path for the child/name property will be // /name/child~1name. Any slash ("/") character appearing in path names must be // escaped with "~1", as shown in the example above. Each op operation can have // only one path associated with it. @@ -1312,8 +923,7 @@ type PatchOperation struct { // The new target value of the update operation. It is applicable for the add or // replace operation. When using AWS CLI to update a property of a JSON value, // enclose the JSON object with a pair of single quotes in a Linux shell, e.g., - // '{"a": ...}'. In a Windows shell, see Using JSON for Parameters - // (https://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#cli-using-param-json). + // '{"a": ...}'. Value *string noSmithyDocumentSerde @@ -1325,8 +935,8 @@ type QuotaSettings struct { // The target maximum number of requests that can be made in a given time period. Limit int32 - // The day that a time period starts. For example, with a time period of WEEK, an - // offset of 0 starts on Sunday, and an offset of 1 starts on Monday. + // The number of requests subtracted from the given limit in the initial time + // period. Offset int32 // The time period in which the limit applies. Valid values are "DAY", "WEEK" or @@ -1336,14 +946,7 @@ type QuotaSettings struct { noSmithyDocumentSerde } -// A set of validation rules for incoming Method requests. In OpenAPI, a -// RequestValidator of an API is defined by the -// x-amazon-apigateway-request-validators.requestValidator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validators.requestValidator.html) -// object. It the referenced using the x-amazon-apigateway-request-validator -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-swagger-extensions.html#api-gateway-swagger-extensions-request-validator) -// property. Enable Basic Request Validation in API Gateway -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) +// A set of validation rules for incoming Method requests. type RequestValidator struct { // The identifier of this RequestValidator. @@ -1363,8 +966,7 @@ type RequestValidator struct { noSmithyDocumentSerde } -// Represents an API resource. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents an API resource. type Resource struct { // The resource's identifier. @@ -1379,102 +981,19 @@ type Resource struct { // The last path segment for this resource. PathPart *string - // Gets an API resource's method of a given HTTP verb. The resource methods are a - // map of methods indexed by methods' HTTP verbs enabled on the resource. This - // method map is included in the 200 OK response of the GET - // /restapis/{restapi_id}/resources/{resource_id} or GET - // /restapis/{restapi_id}/resources/{resource_id}?embed=methods request. - // Example: - // Get the GET method of an API resource - // - // Request - // - // GET - // /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: - // application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: - // 20170223T031827Z Authorization: AWS4-HMAC-SHA256 - // Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, - // SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} - // - // Response - // - // { - // "_links": { "curies": [ { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", - // "name": "integration", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", - // "name": "integrationresponse", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", - // "name": "method", "templated": true }, { "href": - // "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", - // "name": "methodresponse", "templated": true } ], "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": - // "GET" }, "integration:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "method:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": - // "200", "title": "200" }, "method:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": - // { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", - // "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", - // "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": - // { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integration:responses": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integration:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, - // "integrationresponse:put": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", - // "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", - // "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": - // "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { - // "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, - // "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": - // "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { - // "integration:responses": { "_links": { "self": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", - // "name": "200", "title": "200" }, "integrationresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // }, "integrationresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" - // } }, "responseParameters": { "method.response.header.Content-Type": - // "'application/xml'" }, "responseTemplates": { "application/json": - // "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in - // $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" - // }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { - // "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", - // "name": "200", "title": "200" }, "methodresponse:delete": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, - // "methodresponse:update": { "href": - // "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, - // "responseModels": { "application/json": "Empty" }, "responseParameters": { - // "method.response.header.Content-Type": false }, "statusCode": "200" } } } If the - // OPTIONS is enabled on the resource, you can follow the example here to get that - // method. Just replace the GET of the last path segment in the request URL with - // OPTIONS. + // Gets an API resource's method of a given HTTP verb. ResourceMethods map[string]Method noSmithyDocumentSerde } -// Represents a REST API. Create an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) +// Represents a REST API. type RestApi struct { // The source of the API key for metering requests according to a usage plan. Valid - // values are: - // - // * HEADER to read the API key from the X-API-Key header of a - // request. - // - // * AUTHORIZER to read the API key from the UsageIdentifierKey from a - // custom authorizer. + // values are: >HEADER to read the API key from the X-API-Key header of a request. + // AUTHORIZER to read the API key from the UsageIdentifierKey from a custom + // authorizer. ApiKeySource ApiKeySourceType // The list of binary media types supported by the RestApi. By default, the RestApi @@ -1570,8 +1089,7 @@ type SdkType struct { } // Represents a unique identifier for a version of a deployed RestApi that is -// callable by users. Deploy an API -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html) +// callable by users. type Stage struct { // Settings for logging access in this stage. @@ -1661,13 +1179,13 @@ type ThrottleSettings struct { noSmithyDocumentSerde } +// Specifies the TLS configuration for an integration. type TlsConfig struct { // Specifies whether or not API Gateway skips verification that the certificate for - // an integration endpoint is issued by a supported certificate authority - // (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-supported-certificate-authorities-for-http-endpoints.html). - // This isn’t recommended, but it enables you to use certificates that are signed - // by private certificate authorities, or certificates that are self-signed. If + // an integration endpoint is issued by a supported certificate authority. This + // isn’t recommended, but it enables you to use certificates that are signed by + // private certificate authorities, or certificates that are self-signed. If // enabled, API Gateway still performs basic certificate validation, which includes // checking the certificate's expiration date, hostname, and presence of a root // certificate authority. Supported only for HTTP and HTTP_PROXY integrations. @@ -1679,14 +1197,11 @@ type TlsConfig struct { // Represents a usage plan used to specify who can assess associated API stages. // Optionally, target request rate and quota limits can be set. In some cases // clients can exceed the targets that you set. Don’t rely on usage plans to -// control costs. Consider using AWS Budgets +// control costs. Consider using Amazon Web Services Budgets // (https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) -// to monitor costs and AWS WAF +// to monitor costs and WAF // (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to -// manage API requests. In a usage plan, you associate an API by specifying the -// API's Id and a stage name of the specified API. You add plan customers by adding -// API keys to the plan. Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// manage API requests. type UsagePlan struct { // The associated API stages of a usage plan. @@ -1711,17 +1226,14 @@ type UsagePlan struct { // The collection of tags. Each tag element is associated with a given resource. Tags map[string]string - // Map containing method level throttling information for API stage in a usage + // A map containing method level throttling information for API stage in a usage // plan. Throttle *ThrottleSettings noSmithyDocumentSerde } -// Represents a usage plan key to identify a plan customer. To associate an API -// stage with a selected API key in a usage plan, you must create a UsagePlanKey -// resource to represent the selected ApiKey. " Create and Use Usage Plans -// (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) +// Represents a usage plan key to identify a plan customer. type UsagePlanKey struct { // The Id of a usage plan key. @@ -1740,13 +1252,7 @@ type UsagePlanKey struct { } // An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual -// Private Cloud (VPC). To enable access to a resource in an Amazon Virtual Private -// Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink -// resource targeted for one or more network load balancers of the VPC and then -// integrate an API method with a private integration that uses the VpcLink. The -// private integration has an integration type of HTTP or HTTP_PROXY and has a -// connection type of VPC_LINK. The integration uses the connectionId property to -// identify the VpcLink used. +// Private Cloud (VPC). type VpcLink struct { // The description of the VPC link. diff --git a/service/apigatewaymanagementapi/CHANGELOG.md b/service/apigatewaymanagementapi/CHANGELOG.md index 2e326cddbfc..2036cf78231 100644 --- a/service/apigatewaymanagementapi/CHANGELOG.md +++ b/service/apigatewaymanagementapi/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.10.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/apigatewaymanagementapi/go.mod b/service/apigatewaymanagementapi/go.mod index d3ad842d825..87ba40e0d3d 100644 --- a/service/apigatewaymanagementapi/go.mod +++ b/service/apigatewaymanagementapi/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/apigatewaymanagementapi go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apigatewaymanagementapi/go.sum b/service/apigatewaymanagementapi/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/apigatewaymanagementapi/go.sum +++ b/service/apigatewaymanagementapi/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/apigatewaymanagementapi/go_module_metadata.go b/service/apigatewaymanagementapi/go_module_metadata.go index d5d246f9d5b..2223bc48987 100644 --- a/service/apigatewaymanagementapi/go_module_metadata.go +++ b/service/apigatewaymanagementapi/go_module_metadata.go @@ -3,4 +3,4 @@ package apigatewaymanagementapi // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.5" +const goModuleVersion = "1.10.6" diff --git a/service/apigatewayv2/CHANGELOG.md b/service/apigatewayv2/CHANGELOG.md index 112c265144e..0b7563c358a 100644 --- a/service/apigatewayv2/CHANGELOG.md +++ b/service/apigatewayv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/apigatewayv2/go.mod b/service/apigatewayv2/go.mod index ea0e182f4c7..87dd8b5ec7f 100644 --- a/service/apigatewayv2/go.mod +++ b/service/apigatewayv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/apigatewayv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apigatewayv2/go.sum b/service/apigatewayv2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/apigatewayv2/go.sum +++ b/service/apigatewayv2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/apigatewayv2/go_module_metadata.go b/service/apigatewayv2/go_module_metadata.go index 451cb4f3d0d..5489a6d8f33 100644 --- a/service/apigatewayv2/go_module_metadata.go +++ b/service/apigatewayv2/go_module_metadata.go @@ -3,4 +3,4 @@ package apigatewayv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/appconfig/CHANGELOG.md b/service/appconfig/CHANGELOG.md index ecd3b0336f2..542a29d84f0 100644 --- a/service/appconfig/CHANGELOG.md +++ b/service/appconfig/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/appconfig/go.mod b/service/appconfig/go.mod index 6f815798d75..8538eef7379 100644 --- a/service/appconfig/go.mod +++ b/service/appconfig/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/appconfig go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appconfig/go.sum b/service/appconfig/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/appconfig/go.sum +++ b/service/appconfig/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/appconfig/go_module_metadata.go b/service/appconfig/go_module_metadata.go index 6f5351a490e..fd4efdf3567 100644 --- a/service/appconfig/go_module_metadata.go +++ b/service/appconfig/go_module_metadata.go @@ -3,4 +3,4 @@ package appconfig // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/appconfigdata/CHANGELOG.md b/service/appconfigdata/CHANGELOG.md index 46dbc6397ce..937dc208e31 100644 --- a/service/appconfigdata/CHANGELOG.md +++ b/service/appconfigdata/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.4.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.4.6 (2022-05-19) + +* No change notes available for this release. + # v1.4.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/appconfigdata/go.mod b/service/appconfigdata/go.mod index a317e16c8be..ee0754f5e39 100644 --- a/service/appconfigdata/go.mod +++ b/service/appconfigdata/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/appconfigdata go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appconfigdata/go.sum b/service/appconfigdata/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/appconfigdata/go.sum +++ b/service/appconfigdata/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/appconfigdata/go_module_metadata.go b/service/appconfigdata/go_module_metadata.go index d629f5eafb2..b4ee00271b9 100644 --- a/service/appconfigdata/go_module_metadata.go +++ b/service/appconfigdata/go_module_metadata.go @@ -3,4 +3,4 @@ package appconfigdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.5" +const goModuleVersion = "1.4.7" diff --git a/service/appconfigdata/internal/endpoints/endpoints.go b/service/appconfigdata/internal/endpoints/endpoints.go index fe6cccd87c7..d86c0d65aa5 100644 --- a/service/appconfigdata/internal/endpoints/endpoints.go +++ b/service/appconfigdata/internal/endpoints/endpoints.go @@ -263,6 +263,11 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsIso, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "us-iso-west-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-iso-b", diff --git a/service/appflow/CHANGELOG.md b/service/appflow/CHANGELOG.md index 65a03bb2cd5..aa39ef8407e 100644 --- a/service/appflow/CHANGELOG.md +++ b/service/appflow/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.16.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.16.0 (2022-05-27) + +* **Feature**: Adding the following features/changes: Parquet output that preserves typing from the source connector, Failed executions threshold before deactivation for scheduled flows, increasing max size of access and refresh token from 2048 to 4096 + # v1.15.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/appflow/api_op_CreateConnectorProfile.go b/service/appflow/api_op_CreateConnectorProfile.go index 4882ac72d93..571bdf44b30 100644 --- a/service/appflow/api_op_CreateConnectorProfile.go +++ b/service/appflow/api_op_CreateConnectorProfile.go @@ -15,7 +15,8 @@ import ( // account. There is a soft quota of 100 connector profiles per Amazon Web Services // account. If you need more connector profiles than this quota allows, you can // submit a request to the Amazon AppFlow team through the Amazon AppFlow support -// channel. +// channel. In each connector profile that you create, you can provide the +// credentials and properties for only one connector. func (c *Client) CreateConnectorProfile(ctx context.Context, params *CreateConnectorProfileInput, optFns ...func(*Options)) (*CreateConnectorProfileOutput, error) { if params == nil { params = &CreateConnectorProfileInput{} diff --git a/service/appflow/api_op_DescribeConnectorEntity.go b/service/appflow/api_op_DescribeConnectorEntity.go index c36646a78c3..c1fd4b4d95f 100644 --- a/service/appflow/api_op_DescribeConnectorEntity.go +++ b/service/appflow/api_op_DescribeConnectorEntity.go @@ -12,7 +12,7 @@ import ( ) // Provides details regarding the entity used with the connector, with a -// description of the data model for each entity. +// description of the data model for each field in that entity. func (c *Client) DescribeConnectorEntity(ctx context.Context, params *DescribeConnectorEntityInput, optFns ...func(*Options)) (*DescribeConnectorEntityOutput, error) { if params == nil { params = &DescribeConnectorEntityInput{} diff --git a/service/appflow/deserializers.go b/service/appflow/deserializers.go index 647c5844531..ce941e73106 100644 --- a/service/appflow/deserializers.go +++ b/service/appflow/deserializers.go @@ -9175,6 +9175,15 @@ func awsRestjson1_deserializeDocumentS3OutputFormatConfig(v **types.S3OutputForm return err } + case "preserveSourceDataTyping": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected JavaBoolean to be of type *bool, got %T instead", value) + } + sv.PreserveSourceDataTyping = ptr.Bool(jtv) + } + default: _, _ = key, value @@ -9716,6 +9725,19 @@ func awsRestjson1_deserializeDocumentScheduledTriggerProperties(v **types.Schedu } } + case "flowErrorDeactivationThreshold": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected FlowErrorDeactivationThreshold to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.FlowErrorDeactivationThreshold = int32(i64) + } + case "scheduleEndTime": if value != nil { switch jtv := value.(type) { diff --git a/service/appflow/go.mod b/service/appflow/go.mod index 4e9e7536442..1ab3a3dcfbd 100644 --- a/service/appflow/go.mod +++ b/service/appflow/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/appflow go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appflow/go.sum b/service/appflow/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/appflow/go.sum +++ b/service/appflow/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/appflow/go_module_metadata.go b/service/appflow/go_module_metadata.go index 3e1bd12abdf..bbf3e1eb803 100644 --- a/service/appflow/go_module_metadata.go +++ b/service/appflow/go_module_metadata.go @@ -3,4 +3,4 @@ package appflow // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.16.1" diff --git a/service/appflow/serializers.go b/service/appflow/serializers.go index 5b9c420e8d8..d2af84a2c8f 100644 --- a/service/appflow/serializers.go +++ b/service/appflow/serializers.go @@ -3248,6 +3248,11 @@ func awsRestjson1_serializeDocumentS3OutputFormatConfig(v *types.S3OutputFormatC } } + if v.PreserveSourceDataTyping != nil { + ok := object.Key("preserveSourceDataTyping") + ok.Boolean(*v.PreserveSourceDataTyping) + } + return nil } @@ -3503,6 +3508,11 @@ func awsRestjson1_serializeDocumentScheduledTriggerProperties(v *types.Scheduled ok.Double(smithytime.FormatEpochSeconds(*v.FirstExecutionFrom)) } + if v.FlowErrorDeactivationThreshold != 0 { + ok := object.Key("flowErrorDeactivationThreshold") + ok.Integer(v.FlowErrorDeactivationThreshold) + } + if v.ScheduleEndTime != nil { ok := object.Key("scheduleEndTime") ok.Double(smithytime.FormatEpochSeconds(*v.ScheduleEndTime)) diff --git a/service/appflow/types/types.go b/service/appflow/types/types.go index 6c690608d8c..4475a085f21 100644 --- a/service/appflow/types/types.go +++ b/service/appflow/types/types.go @@ -1767,6 +1767,19 @@ type S3OutputFormatConfig struct { // Amazon S3 bucket. You can name folders according to the flow frequency and date. PrefixConfig *PrefixConfig + // If your file output format is Parquet, use this parameter to set whether Amazon + // AppFlow preserves the data types in your source data when it writes the output + // to Amazon S3. + // + // * true: Amazon AppFlow preserves the data types when it writes to + // Amazon S3. For example, an integer or 1 in your source data is still an integer + // in your output. + // + // * false: Amazon AppFlow converts all of the source data into + // strings when it writes to Amazon S3. For example, an integer of 1 in your source + // data becomes the string "1" in the output. + PreserveSourceDataTyping *bool + noSmithyDocumentSerde } @@ -1985,18 +1998,29 @@ type ScheduledTriggerProperties struct { // first flow run. FirstExecutionFrom *time.Time - // Specifies the scheduled end time for a schedule-triggered flow. + // Defines how many times a scheduled flow fails consecutively before Amazon + // AppFlow deactivates it. + FlowErrorDeactivationThreshold int32 + + // The time at which the scheduled flow ends. The time is formatted as a timestamp + // that follows the ISO 8601 standard, such as 2022-04-27T13:00:00-07:00. ScheduleEndTime *time.Time // Specifies the optional offset that is added to the time interval for a // schedule-triggered flow. ScheduleOffset int64 - // Specifies the scheduled start time for a schedule-triggered flow. + // The time at which the scheduled flow starts. The time is formatted as a + // timestamp that follows the ISO 8601 standard, such as 2022-04-26T13:00:00-07:00. ScheduleStartTime *time.Time - // Specifies the time zone used when referring to the date and time of a - // scheduled-triggered flow, such as America/New_York. + // Specifies the time zone used when referring to the dates and times of a + // scheduled flow, such as America/New_York. This time zone is only a descriptive + // label. It doesn't affect how Amazon AppFlow interprets the timestamps that you + // specify to schedule the flow. If you want to schedule a flow by using times in a + // particular time zone, indicate the time zone as a UTC offset in your timestamps. + // For example, the UTC offsets for the America/New_York timezone are -04:00 EDT + // and -05:00 EST. Timezone *string noSmithyDocumentSerde diff --git a/service/appintegrations/CHANGELOG.md b/service/appintegrations/CHANGELOG.md index abca8882e89..993fb204bb8 100644 --- a/service/appintegrations/CHANGELOG.md +++ b/service/appintegrations/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.13.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.13.6 (2022-05-31) + +* No change notes available for this release. + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/appintegrations/go.mod b/service/appintegrations/go.mod index 4225dc3afa3..6218d8453cb 100644 --- a/service/appintegrations/go.mod +++ b/service/appintegrations/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/appintegrations go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appintegrations/go.sum b/service/appintegrations/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/appintegrations/go.sum +++ b/service/appintegrations/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/appintegrations/go_module_metadata.go b/service/appintegrations/go_module_metadata.go index 3ad99156808..e8c620c2293 100644 --- a/service/appintegrations/go_module_metadata.go +++ b/service/appintegrations/go_module_metadata.go @@ -3,4 +3,4 @@ package appintegrations // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.7" diff --git a/service/appintegrations/internal/endpoints/endpoints.go b/service/appintegrations/internal/endpoints/endpoints.go index 2171cc08a5e..790a4d752a9 100644 --- a/service/appintegrations/internal/endpoints/endpoints.go +++ b/service/appintegrations/internal/endpoints/endpoints.go @@ -135,9 +135,15 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "af-south-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-northeast-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-1", }: endpoints.Endpoint{}, diff --git a/service/applicationautoscaling/CHANGELOG.md b/service/applicationautoscaling/CHANGELOG.md index 37f0e1f3e69..1c138183428 100644 --- a/service/applicationautoscaling/CHANGELOG.md +++ b/service/applicationautoscaling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/applicationautoscaling/go.mod b/service/applicationautoscaling/go.mod index 495637a8989..51614a89bc2 100644 --- a/service/applicationautoscaling/go.mod +++ b/service/applicationautoscaling/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/applicationautoscaling go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationautoscaling/go.sum b/service/applicationautoscaling/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/applicationautoscaling/go.sum +++ b/service/applicationautoscaling/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/applicationautoscaling/go_module_metadata.go b/service/applicationautoscaling/go_module_metadata.go index ff2580eb737..d9f11434887 100644 --- a/service/applicationautoscaling/go_module_metadata.go +++ b/service/applicationautoscaling/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationautoscaling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/applicationcostprofiler/CHANGELOG.md b/service/applicationcostprofiler/CHANGELOG.md index eac755f5c5f..b9c06568704 100644 --- a/service/applicationcostprofiler/CHANGELOG.md +++ b/service/applicationcostprofiler/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/applicationcostprofiler/go.mod b/service/applicationcostprofiler/go.mod index 4b9070cb176..78e3074db21 100644 --- a/service/applicationcostprofiler/go.mod +++ b/service/applicationcostprofiler/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/applicationcostprofiler go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationcostprofiler/go.sum b/service/applicationcostprofiler/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/applicationcostprofiler/go.sum +++ b/service/applicationcostprofiler/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/applicationcostprofiler/go_module_metadata.go b/service/applicationcostprofiler/go_module_metadata.go index c30616825cb..80136f323d3 100644 --- a/service/applicationcostprofiler/go_module_metadata.go +++ b/service/applicationcostprofiler/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationcostprofiler // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.5" +const goModuleVersion = "1.9.6" diff --git a/service/applicationdiscoveryservice/CHANGELOG.md b/service/applicationdiscoveryservice/CHANGELOG.md index 9f58bffbe5f..62debf26288 100644 --- a/service/applicationdiscoveryservice/CHANGELOG.md +++ b/service/applicationdiscoveryservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/applicationdiscoveryservice/go.mod b/service/applicationdiscoveryservice/go.mod index dfb6c2a4370..9e117c79dfc 100644 --- a/service/applicationdiscoveryservice/go.mod +++ b/service/applicationdiscoveryservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/applicationdiscoveryservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationdiscoveryservice/go.sum b/service/applicationdiscoveryservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/applicationdiscoveryservice/go.sum +++ b/service/applicationdiscoveryservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/applicationdiscoveryservice/go_module_metadata.go b/service/applicationdiscoveryservice/go_module_metadata.go index d6cd9f8fe46..61da0761b99 100644 --- a/service/applicationdiscoveryservice/go_module_metadata.go +++ b/service/applicationdiscoveryservice/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationdiscoveryservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.1" +const goModuleVersion = "1.13.2" diff --git a/service/applicationinsights/CHANGELOG.md b/service/applicationinsights/CHANGELOG.md index 733c086df63..a2db591a4a5 100644 --- a/service/applicationinsights/CHANGELOG.md +++ b/service/applicationinsights/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.16.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.16.0 (2022-06-02) + +* **Feature**: Provide Account Level onboarding support through CFN/CLI + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/applicationinsights/api_op_CreateApplication.go b/service/applicationinsights/api_op_CreateApplication.go index 96dd151fa92..3bf3bdb4314 100644 --- a/service/applicationinsights/api_op_CreateApplication.go +++ b/service/applicationinsights/api_op_CreateApplication.go @@ -28,8 +28,13 @@ func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicatio } type CreateApplicationInput struct { + + // Indicates whether Application Insights automatically configures unmonitored + // resources in the resource group. AutoConfigEnabled *bool + // Configures all of the resources in the resource group by applying the + // recommended configurations. AutoCreate *bool // Indicates whether Application Insights can listen to CloudWatch events for the @@ -37,6 +42,11 @@ type CreateApplicationInput struct { // others. CWEMonitorEnabled *bool + // Application Insights can create applications based on a resource group or on an + // account. To create an account-based application using all of the resources in + // the account, set this parameter to ACCOUNT_BASED. + GroupingType types.GroupingType + // When set to true, creates opsItems for any problems detected on an application. OpsCenterEnabled *bool diff --git a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go index f03b5480514..4cc2c008f21 100644 --- a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go +++ b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go @@ -39,8 +39,7 @@ type DescribeComponentConfigurationRecommendationInput struct { // This member is required. ResourceGroupName *string - // The tier of the application component. Supported tiers include DOT_NET_CORE, - // DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT. + // The tier of the application component. // // This member is required. Tier types.Tier diff --git a/service/applicationinsights/api_op_ListProblems.go b/service/applicationinsights/api_op_ListProblems.go index a7c55862d90..abc782d7aee 100644 --- a/service/applicationinsights/api_op_ListProblems.go +++ b/service/applicationinsights/api_op_ListProblems.go @@ -30,6 +30,8 @@ func (c *Client) ListProblems(ctx context.Context, params *ListProblemsInput, op } type ListProblemsInput struct { + + // The name of the component. ComponentName *string // The time when the problem ended, in epoch seconds. If not specified, problems @@ -62,6 +64,7 @@ type ListProblemsOutput struct { // The list of problems. ProblemList []types.Problem + // The name of the resource group. ResourceGroupName *string // Metadata pertaining to the operation's result. diff --git a/service/applicationinsights/api_op_UpdateApplication.go b/service/applicationinsights/api_op_UpdateApplication.go index 0bdf81df986..bfbbc756baf 100644 --- a/service/applicationinsights/api_op_UpdateApplication.go +++ b/service/applicationinsights/api_op_UpdateApplication.go @@ -34,6 +34,7 @@ type UpdateApplicationInput struct { // This member is required. ResourceGroupName *string + // Turns auto-configuration on or off. AutoConfigEnabled *bool // Indicates whether Application Insights can listen to CloudWatch events for the diff --git a/service/applicationinsights/api_op_UpdateComponentConfiguration.go b/service/applicationinsights/api_op_UpdateComponentConfiguration.go index 7f150ff2dca..a0fbab309f8 100644 --- a/service/applicationinsights/api_op_UpdateComponentConfiguration.go +++ b/service/applicationinsights/api_op_UpdateComponentConfiguration.go @@ -41,6 +41,8 @@ type UpdateComponentConfigurationInput struct { // This member is required. ResourceGroupName *string + // Automatically configures the component by applying the recommended + // configurations. AutoConfigEnabled *bool // The configuration settings of the component. The value is the escaped JSON of @@ -56,8 +58,7 @@ type UpdateComponentConfigurationInput struct { // Indicates whether the application component is monitored. Monitor *bool - // The tier of the application component. Supported tiers include DOT_NET_WORKER, - // DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT. + // The tier of the application component. Tier types.Tier noSmithyDocumentSerde diff --git a/service/applicationinsights/go.mod b/service/applicationinsights/go.mod index dcec4f51823..ca3301fd435 100644 --- a/service/applicationinsights/go.mod +++ b/service/applicationinsights/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/applicationinsights go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationinsights/go.sum b/service/applicationinsights/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/applicationinsights/go.sum +++ b/service/applicationinsights/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/applicationinsights/go_module_metadata.go b/service/applicationinsights/go_module_metadata.go index 538ecc26496..3eeb6d897a0 100644 --- a/service/applicationinsights/go_module_metadata.go +++ b/service/applicationinsights/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationinsights // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.16.1" diff --git a/service/applicationinsights/serializers.go b/service/applicationinsights/serializers.go index 1b933fbbf06..776080a08b1 100644 --- a/service/applicationinsights/serializers.go +++ b/service/applicationinsights/serializers.go @@ -1571,6 +1571,11 @@ func awsAwsjson11_serializeOpDocumentCreateApplicationInput(v *CreateApplication ok.Boolean(*v.CWEMonitorEnabled) } + if len(v.GroupingType) > 0 { + ok := object.Key("GroupingType") + ok.String(string(v.GroupingType)) + } + if v.OpsCenterEnabled != nil { ok := object.Key("OpsCenterEnabled") ok.Boolean(*v.OpsCenterEnabled) diff --git a/service/applicationinsights/types/enums.go b/service/applicationinsights/types/enums.go index aadfcbf403e..b9076887502 100644 --- a/service/applicationinsights/types/enums.go +++ b/service/applicationinsights/types/enums.go @@ -121,6 +121,22 @@ func (FeedbackValue) Values() []FeedbackValue { } } +type GroupingType string + +// Enum values for GroupingType +const ( + GroupingTypeAccountBased GroupingType = "ACCOUNT_BASED" +) + +// Values returns all known values for GroupingType. Note that this can be expanded +// in the future, and so it is only as up to date as the client. The ordering of +// this slice is not guaranteed to be stable across updates. +func (GroupingType) Values() []GroupingType { + return []GroupingType{ + "ACCOUNT_BASED", + } +} + type LogFilter string // Enum values for LogFilter @@ -163,9 +179,10 @@ type SeverityLevel string // Enum values for SeverityLevel const ( - SeverityLevelLow SeverityLevel = "Low" - SeverityLevelMedium SeverityLevel = "Medium" - SeverityLevelHigh SeverityLevel = "High" + SeverityLevelInformative SeverityLevel = "Informative" + SeverityLevelLow SeverityLevel = "Low" + SeverityLevelMedium SeverityLevel = "Medium" + SeverityLevelHigh SeverityLevel = "High" ) // Values returns all known values for SeverityLevel. Note that this can be @@ -173,6 +190,7 @@ const ( // ordering of this slice is not guaranteed to be stable across updates. func (SeverityLevel) Values() []SeverityLevel { return []SeverityLevel{ + "Informative", "Low", "Medium", "High", diff --git a/service/applicationinsights/types/types.go b/service/applicationinsights/types/types.go index 57c4a0e5935..96352a31c29 100644 --- a/service/applicationinsights/types/types.go +++ b/service/applicationinsights/types/types.go @@ -39,6 +39,8 @@ type ApplicationComponent struct { // Describes the status of the application. type ApplicationInfo struct { + + // Indicates whether auto-configuration is turned on for this application. AutoConfigEnabled *bool // Indicates whether Application Insights can listen to CloudWatch events for the @@ -46,6 +48,7 @@ type ApplicationInfo struct { // others. CWEMonitorEnabled *bool + // The method used by Application Insights to onboard your resources. DiscoveryType DiscoveryType // The lifecycle of the application. @@ -298,8 +301,11 @@ type Problem struct { // A detailed analysis of the problem using machine learning. Insights *string + // The last time that the problem reoccurred after its last resolution. LastRecurrenceTime *time.Time + // The number of times that the same problem reoccurred after the first time it was + // resolved. RecurringCount *int64 // The name of the resource group affected by the problem. diff --git a/service/appmesh/CHANGELOG.md b/service/appmesh/CHANGELOG.md index 625209aea95..0ddc7ece4fe 100644 --- a/service/appmesh/CHANGELOG.md +++ b/service/appmesh/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.14.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.14.0 (2022-05-18) + +* **Feature**: This release updates the existing Create and Update APIs for meshes and virtual nodes by adding a new IP preference field. This new IP preference field can be used to control the IP versions being used with the mesh and allows for IPv6 support within App Mesh. + # v1.13.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/appmesh/api_op_CreateGatewayRoute.go b/service/appmesh/api_op_CreateGatewayRoute.go index 653a67d0ab1..519a2d2eef1 100644 --- a/service/appmesh/api_op_CreateGatewayRoute.go +++ b/service/appmesh/api_op_CreateGatewayRoute.go @@ -60,10 +60,10 @@ type CreateGatewayRouteInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then the account that you specify must share the mesh with your account - // before you can create the resource in the service mesh. For more information - // about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then the account that you specify must share the mesh with + // your account before you can create the resource in the service mesh. For more + // information about mesh sharing, see Working with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string diff --git a/service/appmesh/api_op_CreateRoute.go b/service/appmesh/api_op_CreateRoute.go index 3e8cd389284..b8be6a187be 100644 --- a/service/appmesh/api_op_CreateRoute.go +++ b/service/appmesh/api_op_CreateRoute.go @@ -60,10 +60,10 @@ type CreateRouteInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then the account that you specify must share the mesh with your account - // before you can create the resource in the service mesh. For more information - // about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then the account that you specify must share the mesh with + // your account before you can create the resource in the service mesh. For more + // information about mesh sharing, see Working with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string diff --git a/service/appmesh/api_op_CreateVirtualGateway.go b/service/appmesh/api_op_CreateVirtualGateway.go index 63718f4223b..89cb87ea2b8 100644 --- a/service/appmesh/api_op_CreateVirtualGateway.go +++ b/service/appmesh/api_op_CreateVirtualGateway.go @@ -56,10 +56,10 @@ type CreateVirtualGatewayInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then the account that you specify must share the mesh with your account - // before you can create the resource in the service mesh. For more information - // about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then the account that you specify must share the mesh with + // your account before you can create the resource in the service mesh. For more + // information about mesh sharing, see Working with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string diff --git a/service/appmesh/api_op_CreateVirtualNode.go b/service/appmesh/api_op_CreateVirtualNode.go index dcc2bd6caf6..b73222bc26a 100644 --- a/service/appmesh/api_op_CreateVirtualNode.go +++ b/service/appmesh/api_op_CreateVirtualNode.go @@ -33,8 +33,8 @@ import ( // (https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html). You // must be using 1.15.0 or later of the Envoy image when setting these variables. // For more information aboutApp Mesh Envoy variables, see Envoy image -// (https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html) in the AWS -// App Mesh User Guide. +// (https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html) in the App +// Mesh User Guide. func (c *Client) CreateVirtualNode(ctx context.Context, params *CreateVirtualNodeInput, optFns ...func(*Options)) (*CreateVirtualNodeOutput, error) { if params == nil { params = &CreateVirtualNodeInput{} @@ -72,10 +72,10 @@ type CreateVirtualNodeInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then the account that you specify must share the mesh with your account - // before you can create the resource in the service mesh. For more information - // about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then the account that you specify must share the mesh with + // your account before you can create the resource in the service mesh. For more + // information about mesh sharing, see Working with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string diff --git a/service/appmesh/api_op_CreateVirtualRouter.go b/service/appmesh/api_op_CreateVirtualRouter.go index b7a1e196687..9355972b026 100644 --- a/service/appmesh/api_op_CreateVirtualRouter.go +++ b/service/appmesh/api_op_CreateVirtualRouter.go @@ -57,10 +57,10 @@ type CreateVirtualRouterInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then the account that you specify must share the mesh with your account - // before you can create the resource in the service mesh. For more information - // about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then the account that you specify must share the mesh with + // your account before you can create the resource in the service mesh. For more + // information about mesh sharing, see Working with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string diff --git a/service/appmesh/api_op_CreateVirtualService.go b/service/appmesh/api_op_CreateVirtualService.go index a55d9c64ac4..d2fe8794527 100644 --- a/service/appmesh/api_op_CreateVirtualService.go +++ b/service/appmesh/api_op_CreateVirtualService.go @@ -56,10 +56,10 @@ type CreateVirtualServiceInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then the account that you specify must share the mesh with your account - // before you can create the resource in the service mesh. For more information - // about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then the account that you specify must share the mesh with + // your account before you can create the resource in the service mesh. For more + // information about mesh sharing, see Working with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string diff --git a/service/appmesh/api_op_DeleteGatewayRoute.go b/service/appmesh/api_op_DeleteGatewayRoute.go index 16e7a316c78..766309d2061 100644 --- a/service/appmesh/api_op_DeleteGatewayRoute.go +++ b/service/appmesh/api_op_DeleteGatewayRoute.go @@ -44,10 +44,10 @@ type DeleteGatewayRouteInput struct { // This member is required. VirtualGatewayName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DeleteRoute.go b/service/appmesh/api_op_DeleteRoute.go index f36be8d4a74..cd67b47cdb1 100644 --- a/service/appmesh/api_op_DeleteRoute.go +++ b/service/appmesh/api_op_DeleteRoute.go @@ -45,10 +45,10 @@ type DeleteRouteInput struct { // This member is required. VirtualRouterName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DeleteVirtualGateway.go b/service/appmesh/api_op_DeleteVirtualGateway.go index 22f64b0eaaf..d9a83ca3535 100644 --- a/service/appmesh/api_op_DeleteVirtualGateway.go +++ b/service/appmesh/api_op_DeleteVirtualGateway.go @@ -40,10 +40,10 @@ type DeleteVirtualGatewayInput struct { // This member is required. VirtualGatewayName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DeleteVirtualNode.go b/service/appmesh/api_op_DeleteVirtualNode.go index 964b6854b77..b90e3192514 100644 --- a/service/appmesh/api_op_DeleteVirtualNode.go +++ b/service/appmesh/api_op_DeleteVirtualNode.go @@ -42,10 +42,10 @@ type DeleteVirtualNodeInput struct { // This member is required. VirtualNodeName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DeleteVirtualRouter.go b/service/appmesh/api_op_DeleteVirtualRouter.go index ea1a73284ae..722c7df8c00 100644 --- a/service/appmesh/api_op_DeleteVirtualRouter.go +++ b/service/appmesh/api_op_DeleteVirtualRouter.go @@ -41,10 +41,10 @@ type DeleteVirtualRouterInput struct { // This member is required. VirtualRouterName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DeleteVirtualService.go b/service/appmesh/api_op_DeleteVirtualService.go index 2130c68665c..dc5f787e466 100644 --- a/service/appmesh/api_op_DeleteVirtualService.go +++ b/service/appmesh/api_op_DeleteVirtualService.go @@ -40,10 +40,10 @@ type DeleteVirtualServiceInput struct { // This member is required. VirtualServiceName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DescribeGatewayRoute.go b/service/appmesh/api_op_DescribeGatewayRoute.go index 08a92d50083..2620469749e 100644 --- a/service/appmesh/api_op_DescribeGatewayRoute.go +++ b/service/appmesh/api_op_DescribeGatewayRoute.go @@ -44,10 +44,10 @@ type DescribeGatewayRouteInput struct { // This member is required. VirtualGatewayName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DescribeMesh.go b/service/appmesh/api_op_DescribeMesh.go index 3fc0fdeaa06..a1d4da1bf28 100644 --- a/service/appmesh/api_op_DescribeMesh.go +++ b/service/appmesh/api_op_DescribeMesh.go @@ -35,10 +35,10 @@ type DescribeMeshInput struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DescribeRoute.go b/service/appmesh/api_op_DescribeRoute.go index 87d1cf936d8..cc723e0da49 100644 --- a/service/appmesh/api_op_DescribeRoute.go +++ b/service/appmesh/api_op_DescribeRoute.go @@ -45,10 +45,10 @@ type DescribeRouteInput struct { // This member is required. VirtualRouterName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DescribeVirtualGateway.go b/service/appmesh/api_op_DescribeVirtualGateway.go index a2f64b04718..5abb8837489 100644 --- a/service/appmesh/api_op_DescribeVirtualGateway.go +++ b/service/appmesh/api_op_DescribeVirtualGateway.go @@ -39,10 +39,10 @@ type DescribeVirtualGatewayInput struct { // This member is required. VirtualGatewayName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DescribeVirtualNode.go b/service/appmesh/api_op_DescribeVirtualNode.go index 74458a9ab44..47fd1a8732d 100644 --- a/service/appmesh/api_op_DescribeVirtualNode.go +++ b/service/appmesh/api_op_DescribeVirtualNode.go @@ -40,10 +40,10 @@ type DescribeVirtualNodeInput struct { // This member is required. VirtualNodeName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DescribeVirtualRouter.go b/service/appmesh/api_op_DescribeVirtualRouter.go index f08ebb1396d..94419d02680 100644 --- a/service/appmesh/api_op_DescribeVirtualRouter.go +++ b/service/appmesh/api_op_DescribeVirtualRouter.go @@ -40,10 +40,10 @@ type DescribeVirtualRouterInput struct { // This member is required. VirtualRouterName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_DescribeVirtualService.go b/service/appmesh/api_op_DescribeVirtualService.go index 25776663ded..2040e82a941 100644 --- a/service/appmesh/api_op_DescribeVirtualService.go +++ b/service/appmesh/api_op_DescribeVirtualService.go @@ -40,10 +40,10 @@ type DescribeVirtualServiceInput struct { // This member is required. VirtualServiceName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_ListGatewayRoutes.go b/service/appmesh/api_op_ListGatewayRoutes.go index d9bdda13156..90f61f83917 100644 --- a/service/appmesh/api_op_ListGatewayRoutes.go +++ b/service/appmesh/api_op_ListGatewayRoutes.go @@ -50,10 +50,10 @@ type ListGatewayRoutesInput struct { // value if applicable. Limit *int32 - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string // The nextToken value returned from a previous paginated ListGatewayRoutes request diff --git a/service/appmesh/api_op_ListRoutes.go b/service/appmesh/api_op_ListRoutes.go index 60580c7c707..a60dabaf08e 100644 --- a/service/appmesh/api_op_ListRoutes.go +++ b/service/appmesh/api_op_ListRoutes.go @@ -50,10 +50,10 @@ type ListRoutesInput struct { // applicable. Limit *int32 - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string // The nextToken value returned from a previous paginated ListRoutes request where diff --git a/service/appmesh/api_op_ListVirtualGateways.go b/service/appmesh/api_op_ListVirtualGateways.go index c5d6672ecd9..30f60d4368c 100644 --- a/service/appmesh/api_op_ListVirtualGateways.go +++ b/service/appmesh/api_op_ListVirtualGateways.go @@ -44,10 +44,10 @@ type ListVirtualGatewaysInput struct { // up to 100 results and a nextToken value if applicable. Limit *int32 - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string // The nextToken value returned from a previous paginated ListVirtualGateways diff --git a/service/appmesh/api_op_ListVirtualNodes.go b/service/appmesh/api_op_ListVirtualNodes.go index 1f72b3d5778..dbb0fd76458 100644 --- a/service/appmesh/api_op_ListVirtualNodes.go +++ b/service/appmesh/api_op_ListVirtualNodes.go @@ -45,10 +45,10 @@ type ListVirtualNodesInput struct { // value if applicable. Limit *int32 - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string // The nextToken value returned from a previous paginated ListVirtualNodes request diff --git a/service/appmesh/api_op_ListVirtualRouters.go b/service/appmesh/api_op_ListVirtualRouters.go index 3729d4abb45..b64d1ab08ab 100644 --- a/service/appmesh/api_op_ListVirtualRouters.go +++ b/service/appmesh/api_op_ListVirtualRouters.go @@ -45,10 +45,10 @@ type ListVirtualRoutersInput struct { // up to 100 results and a nextToken value if applicable. Limit *int32 - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string // The nextToken value returned from a previous paginated ListVirtualRouters diff --git a/service/appmesh/api_op_ListVirtualServices.go b/service/appmesh/api_op_ListVirtualServices.go index 481a99e5617..26f463ea9cf 100644 --- a/service/appmesh/api_op_ListVirtualServices.go +++ b/service/appmesh/api_op_ListVirtualServices.go @@ -45,10 +45,10 @@ type ListVirtualServicesInput struct { // up to 100 results and a nextToken value if applicable. Limit *int32 - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string // The nextToken value returned from a previous paginated ListVirtualServices diff --git a/service/appmesh/api_op_UpdateGatewayRoute.go b/service/appmesh/api_op_UpdateGatewayRoute.go index 6abb9316e37..7f5f0bc8b61 100644 --- a/service/appmesh/api_op_UpdateGatewayRoute.go +++ b/service/appmesh/api_op_UpdateGatewayRoute.go @@ -55,10 +55,10 @@ type UpdateGatewayRouteInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_UpdateRoute.go b/service/appmesh/api_op_UpdateRoute.go index d823938f480..b56c0fe64d6 100644 --- a/service/appmesh/api_op_UpdateRoute.go +++ b/service/appmesh/api_op_UpdateRoute.go @@ -55,10 +55,10 @@ type UpdateRouteInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_UpdateVirtualGateway.go b/service/appmesh/api_op_UpdateVirtualGateway.go index ada4f8d7bc0..9caf890a42a 100644 --- a/service/appmesh/api_op_UpdateVirtualGateway.go +++ b/service/appmesh/api_op_UpdateVirtualGateway.go @@ -50,10 +50,10 @@ type UpdateVirtualGatewayInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_UpdateVirtualNode.go b/service/appmesh/api_op_UpdateVirtualNode.go index 9b7a8600199..74d2f7d2f1c 100644 --- a/service/appmesh/api_op_UpdateVirtualNode.go +++ b/service/appmesh/api_op_UpdateVirtualNode.go @@ -50,10 +50,10 @@ type UpdateVirtualNodeInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_UpdateVirtualRouter.go b/service/appmesh/api_op_UpdateVirtualRouter.go index 446ff5ec989..9c7d8fb9f3f 100644 --- a/service/appmesh/api_op_UpdateVirtualRouter.go +++ b/service/appmesh/api_op_UpdateVirtualRouter.go @@ -51,10 +51,10 @@ type UpdateVirtualRouterInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/api_op_UpdateVirtualService.go b/service/appmesh/api_op_UpdateVirtualService.go index 4a41845900b..7c29e57e1d3 100644 --- a/service/appmesh/api_op_UpdateVirtualService.go +++ b/service/appmesh/api_op_UpdateVirtualService.go @@ -51,10 +51,10 @@ type UpdateVirtualServiceInput struct { // the request. Up to 36 letters, numbers, hyphens, and underscores are allowed. ClientToken *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). MeshOwner *string noSmithyDocumentSerde diff --git a/service/appmesh/deserializers.go b/service/appmesh/deserializers.go index ecd4e9064d2..050131796d3 100644 --- a/service/appmesh/deserializers.go +++ b/service/appmesh/deserializers.go @@ -6734,6 +6734,15 @@ func awsRestjson1_deserializeDocumentAwsCloudMapServiceDiscovery(v **types.AwsCl return err } + case "ipPreference": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IpPreference to be of type string, got %T instead", value) + } + sv.IpPreference = types.IpPreference(jtv) + } + case "namespaceName": if value != nil { jtv, ok := value.(string) @@ -7157,6 +7166,15 @@ func awsRestjson1_deserializeDocumentDnsServiceDiscovery(v **types.DnsServiceDis sv.Hostname = ptr.String(jtv) } + case "ipPreference": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IpPreference to be of type string, got %T instead", value) + } + sv.IpPreference = types.IpPreference(jtv) + } + case "responseType": if value != nil { jtv, ok := value.(string) @@ -10608,6 +10626,46 @@ func awsRestjson1_deserializeDocumentMeshRef(v **types.MeshRef, value interface{ return nil } +func awsRestjson1_deserializeDocumentMeshServiceDiscovery(v **types.MeshServiceDiscovery, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.MeshServiceDiscovery + if *v == nil { + sv = &types.MeshServiceDiscovery{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ipPreference": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IpPreference to be of type string, got %T instead", value) + } + sv.IpPreference = types.IpPreference(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentMeshSpec(v **types.MeshSpec, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -10635,6 +10693,11 @@ func awsRestjson1_deserializeDocumentMeshSpec(v **types.MeshSpec, value interfac return err } + case "serviceDiscovery": + if err := awsRestjson1_deserializeDocumentMeshServiceDiscovery(&sv.ServiceDiscovery, value); err != nil { + return err + } + default: _, _ = key, value diff --git a/service/appmesh/go.mod b/service/appmesh/go.mod index 4677508cecf..149b295b9d8 100644 --- a/service/appmesh/go.mod +++ b/service/appmesh/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/appmesh go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appmesh/go.sum b/service/appmesh/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/appmesh/go.sum +++ b/service/appmesh/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/appmesh/go_module_metadata.go b/service/appmesh/go_module_metadata.go index 41a06277669..f4aef2abc8b 100644 --- a/service/appmesh/go_module_metadata.go +++ b/service/appmesh/go_module_metadata.go @@ -3,4 +3,4 @@ package appmesh // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.6" +const goModuleVersion = "1.14.1" diff --git a/service/appmesh/serializers.go b/service/appmesh/serializers.go index af88dae478f..aac6aec9a33 100644 --- a/service/appmesh/serializers.go +++ b/service/appmesh/serializers.go @@ -3234,6 +3234,11 @@ func awsRestjson1_serializeDocumentAwsCloudMapServiceDiscovery(v *types.AwsCloud } } + if len(v.IpPreference) > 0 { + ok := object.Key("ipPreference") + ok.String(string(v.IpPreference)) + } + if v.NamespaceName != nil { ok := object.Key("namespaceName") ok.String(*v.NamespaceName) @@ -3386,6 +3391,11 @@ func awsRestjson1_serializeDocumentDnsServiceDiscovery(v *types.DnsServiceDiscov ok.String(*v.Hostname) } + if len(v.IpPreference) > 0 { + ok := object.Key("ipPreference") + ok.String(string(v.IpPreference)) + } + if len(v.ResponseType) > 0 { ok := object.Key("responseType") ok.String(string(v.ResponseType)) @@ -4663,6 +4673,18 @@ func awsRestjson1_serializeDocumentMatchRange(v *types.MatchRange, value smithyj return nil } +func awsRestjson1_serializeDocumentMeshServiceDiscovery(v *types.MeshServiceDiscovery, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.IpPreference) > 0 { + ok := object.Key("ipPreference") + ok.String(string(v.IpPreference)) + } + + return nil +} + func awsRestjson1_serializeDocumentMeshSpec(v *types.MeshSpec, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -4674,6 +4696,13 @@ func awsRestjson1_serializeDocumentMeshSpec(v *types.MeshSpec, value smithyjson. } } + if v.ServiceDiscovery != nil { + ok := object.Key("serviceDiscovery") + if err := awsRestjson1_serializeDocumentMeshServiceDiscovery(v.ServiceDiscovery, ok); err != nil { + return err + } + } + return nil } diff --git a/service/appmesh/types/enums.go b/service/appmesh/types/enums.go index bf1ea15d28b..ec7feb94e93 100644 --- a/service/appmesh/types/enums.go +++ b/service/appmesh/types/enums.go @@ -168,6 +168,28 @@ func (HttpScheme) Values() []HttpScheme { } } +type IpPreference string + +// Enum values for IpPreference +const ( + IpPreferenceIPv6Preferred IpPreference = "IPv6_PREFERRED" + IpPreferenceIPv4Preferred IpPreference = "IPv4_PREFERRED" + IpPreferenceIPv4Only IpPreference = "IPv4_ONLY" + IpPreferenceIPv6Only IpPreference = "IPv6_ONLY" +) + +// Values returns all known values for IpPreference. Note that this can be expanded +// in the future, and so it is only as up to date as the client. The ordering of +// this slice is not guaranteed to be stable across updates. +func (IpPreference) Values() []IpPreference { + return []IpPreference{ + "IPv6_PREFERRED", + "IPv4_PREFERRED", + "IPv4_ONLY", + "IPv6_ONLY", + } +} + type ListenerTlsMode string // Enum values for ListenerTlsMode diff --git a/service/appmesh/types/errors.go b/service/appmesh/types/errors.go index eba7c7503e7..4c0d8c7bb92 100644 --- a/service/appmesh/types/errors.go +++ b/service/appmesh/types/errors.go @@ -89,7 +89,7 @@ func (e *InternalServerErrorException) ErrorFault() smithy.ErrorFault { return s // You have exceeded a service limit for your account. For more information, see // Service Limits // (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) in -// the AWS App Mesh User Guide. +// the App Mesh User Guide. type LimitExceededException struct { Message *string diff --git a/service/appmesh/types/types.go b/service/appmesh/types/types.go index df138dea239..e955327f64e 100644 --- a/service/appmesh/types/types.go +++ b/service/appmesh/types/types.go @@ -25,7 +25,7 @@ type AccessLogMemberFile struct { func (*AccessLogMemberFile) isAccessLog() {} // An object that represents the Cloud Map attribute information for your virtual -// node. AWS Cloud Map is not available in the eu-south-1 Region. +// node. Cloud Map is not available in the eu-south-1 Region. type AwsCloudMapInstanceAttribute struct { // The name of an Cloud Map service instance attribute key. Any Cloud Map service @@ -63,6 +63,9 @@ type AwsCloudMapServiceDiscovery struct { // returned. Attributes []AwsCloudMapInstanceAttribute + // The IP version to use to control traffic within the mesh. + IpPreference IpPreference + noSmithyDocumentSerde } @@ -164,6 +167,9 @@ type DnsServiceDiscovery struct { // This member is required. Hostname *string + // The IP version to use to control traffic within the mesh. + IpPreference IpPreference + // Specifies the DNS response type for the virtual node. ResponseType DnsResponseType @@ -299,17 +305,18 @@ type GatewayRouteRef struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. @@ -1187,7 +1194,7 @@ type ListenerTls struct { noSmithyDocumentSerde } -// An object that represents an AWS Certicate Manager (ACM) certificate. +// An object that represents an Certificate Manager certificate. type ListenerTlsAcmCertificate struct { // The Amazon Resource Name (ARN) for the certificate. The certificate must meet @@ -1212,8 +1219,7 @@ type ListenerTlsCertificate interface { isListenerTlsCertificate() } -// A reference to an object that represents an AWS Certicate Manager (ACM) -// certificate. +// A reference to an object that represents an Certificate Manager certificate. type ListenerTlsCertificateMemberAcm struct { Value ListenerTlsAcmCertificate @@ -1400,17 +1406,18 @@ type MeshRef struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. @@ -1425,12 +1432,24 @@ type MeshRef struct { noSmithyDocumentSerde } +// An object that represents the service discovery information for a service mesh. +type MeshServiceDiscovery struct { + + // The IP version to use to control traffic within the mesh. + IpPreference IpPreference + + noSmithyDocumentSerde +} + // An object that represents the specification of a service mesh. type MeshSpec struct { // The egress filter rules for the service mesh. EgressFilter *EgressFilter + // An object that represents the service discovery information for a service mesh. + ServiceDiscovery *MeshServiceDiscovery + noSmithyDocumentSerde } @@ -1513,17 +1532,18 @@ type ResourceMetadata struct { // This member is required. LastUpdatedAt *time.Time - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. @@ -1602,17 +1622,18 @@ type RouteRef struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. @@ -2376,17 +2397,18 @@ type VirtualGatewayRef struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. @@ -2681,17 +2703,18 @@ type VirtualNodeRef struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. @@ -2834,17 +2857,18 @@ type VirtualRouterRef struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. @@ -2991,17 +3015,18 @@ type VirtualServiceRef struct { // This member is required. MeshName *string - // The AWS IAM account ID of the service mesh owner. If the account ID is not your - // own, then it's the ID of the account that shared the mesh with your account. For - // more information about mesh sharing, see Working with shared meshes - // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). + // The Amazon Web Services IAM account ID of the service mesh owner. If the account + // ID is not your own, then it's the ID of the account that shared the mesh with + // your account. For more information about mesh sharing, see Working with shared + // meshes (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. MeshOwner *string - // The AWS IAM account ID of the resource owner. If the account ID is not your own, - // then it's the ID of the mesh owner or of another account that the mesh is shared - // with. For more information about mesh sharing, see Working with shared meshes + // The Amazon Web Services IAM account ID of the resource owner. If the account ID + // is not your own, then it's the ID of the mesh owner or of another account that + // the mesh is shared with. For more information about mesh sharing, see Working + // with shared meshes // (https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html). // // This member is required. diff --git a/service/apprunner/CHANGELOG.md b/service/apprunner/CHANGELOG.md index 4cdba8986a7..1a37a87944e 100644 --- a/service/apprunner/CHANGELOG.md +++ b/service/apprunner/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.12.4 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.12.3 (2022-05-25) + +* **Documentation**: Documentation-only update added for CodeConfiguration. + # v1.12.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/apprunner/api_op_CreateVpcConnector.go b/service/apprunner/api_op_CreateVpcConnector.go index 7e825a3e212..06c75fe3c92 100644 --- a/service/apprunner/api_op_CreateVpcConnector.go +++ b/service/apprunner/api_op_CreateVpcConnector.go @@ -33,7 +33,8 @@ type CreateVpcConnectorInput struct { // A list of IDs of subnets that App Runner should use when it associates your // service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. - // App Runner determines the Amazon VPC from the subnets you specify. + // App Runner determines the Amazon VPC from the subnets you specify. App Runner + // currently only provides support for IPv4. // // This member is required. Subnets []string diff --git a/service/apprunner/go.mod b/service/apprunner/go.mod index 9c6342f795d..1ccffa8de28 100644 --- a/service/apprunner/go.mod +++ b/service/apprunner/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/apprunner go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apprunner/go.sum b/service/apprunner/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/apprunner/go.sum +++ b/service/apprunner/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/apprunner/go_module_metadata.go b/service/apprunner/go_module_metadata.go index 0a8a563e201..92bfaa7dd3a 100644 --- a/service/apprunner/go_module_metadata.go +++ b/service/apprunner/go_module_metadata.go @@ -3,4 +3,4 @@ package apprunner // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.4" diff --git a/service/apprunner/types/types.go b/service/apprunner/types/types.go index c7c04ce5add..b9a40b64f0f 100644 --- a/service/apprunner/types/types.go +++ b/service/apprunner/types/types.go @@ -200,7 +200,7 @@ type CodeRepository struct { SourceCodeVersion *SourceCodeVersion // Configuration for building and running the service from a source code - // repository. + // repository. CodeConfiguration is required only for CreateService request. CodeConfiguration *CodeConfiguration noSmithyDocumentSerde diff --git a/service/appstream/CHANGELOG.md b/service/appstream/CHANGELOG.md index d1dc5c03b6c..62c43266291 100644 --- a/service/appstream/CHANGELOG.md +++ b/service/appstream/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/appstream/go.mod b/service/appstream/go.mod index cd0f699dceb..ad37b86c6c7 100644 --- a/service/appstream/go.mod +++ b/service/appstream/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/appstream go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/appstream/go.sum b/service/appstream/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/appstream/go.sum +++ b/service/appstream/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/appstream/go_module_metadata.go b/service/appstream/go_module_metadata.go index 2516350591c..d9fb83ed770 100644 --- a/service/appstream/go_module_metadata.go +++ b/service/appstream/go_module_metadata.go @@ -3,4 +3,4 @@ package appstream // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.2" +const goModuleVersion = "1.16.3" diff --git a/service/appsync/CHANGELOG.md b/service/appsync/CHANGELOG.md index 672534d9989..72c6b5964ee 100644 --- a/service/appsync/CHANGELOG.md +++ b/service/appsync/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/appsync/go.mod b/service/appsync/go.mod index a015457d781..66a29d41bf3 100644 --- a/service/appsync/go.mod +++ b/service/appsync/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/appsync go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appsync/go.sum b/service/appsync/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/appsync/go.sum +++ b/service/appsync/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/appsync/go_module_metadata.go b/service/appsync/go_module_metadata.go index 3f5defd36c4..4422ac99fbf 100644 --- a/service/appsync/go_module_metadata.go +++ b/service/appsync/go_module_metadata.go @@ -3,4 +3,4 @@ package appsync // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/athena/CHANGELOG.md b/service/athena/CHANGELOG.md index f0f39b75068..2add38b0879 100644 --- a/service/athena/CHANGELOG.md +++ b/service/athena/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/athena/go.mod b/service/athena/go.mod index 7b8cbd86e78..34aecdeb4ca 100644 --- a/service/athena/go.mod +++ b/service/athena/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/athena go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/athena/go.sum b/service/athena/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/athena/go.sum +++ b/service/athena/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/athena/go_module_metadata.go b/service/athena/go_module_metadata.go index 5a83f810472..87150bc8ac0 100644 --- a/service/athena/go_module_metadata.go +++ b/service/athena/go_module_metadata.go @@ -3,4 +3,4 @@ package athena // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/auditmanager/CHANGELOG.md b/service/auditmanager/CHANGELOG.md index 05eb7d1a6ce..00bb8e1cc81 100644 --- a/service/auditmanager/CHANGELOG.md +++ b/service/auditmanager/CHANGELOG.md @@ -1,3 +1,8 @@ +# v1.19.0 (2022-06-07) + +* **Feature**: This release introduces 2 updates to the Audit Manager API. The roleType and roleArn attributes are now required when you use the CreateAssessment or UpdateAssessment operation. We also added a throttling exception to the RegisterAccount API operation. +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/auditmanager/api_op_GetServicesInScope.go b/service/auditmanager/api_op_GetServicesInScope.go index d5d1353a270..fbba82ae066 100644 --- a/service/auditmanager/api_op_GetServicesInScope.go +++ b/service/auditmanager/api_op_GetServicesInScope.go @@ -11,8 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns a list of the in-scope Amazon Web Services services for the specified -// assessment. +// Returns a list of the in-scope Amazon Web Services for the specified assessment. func (c *Client) GetServicesInScope(ctx context.Context, params *GetServicesInScopeInput, optFns ...func(*Options)) (*GetServicesInScopeOutput, error) { if params == nil { params = &GetServicesInScopeInput{} diff --git a/service/auditmanager/api_op_StartAssessmentFrameworkShare.go b/service/auditmanager/api_op_StartAssessmentFrameworkShare.go index 28f9e016a22..f46f0dd29cd 100644 --- a/service/auditmanager/api_op_StartAssessmentFrameworkShare.go +++ b/service/auditmanager/api_op_StartAssessmentFrameworkShare.go @@ -14,10 +14,33 @@ import ( // Creates a share request for a custom framework in Audit Manager. The share // request specifies a recipient and notifies them that a custom framework is // available. Recipients have 120 days to accept or decline the request. If no -// action is taken, the share request expires. When you invoke the -// StartAssessmentFrameworkShare API, you are about to share a custom framework -// with another Amazon Web Services account. You may not share a custom framework -// that is derived from a standard framework if the standard framework is +// action is taken, the share request expires. When you create a share request, +// Audit Manager stores a snapshot of your custom framework in the US East (N. +// Virginia) Amazon Web Services Region. Audit Manager also stores a backup of the +// same snapshot in the US West (Oregon) Amazon Web Services Region. Audit Manager +// deletes the snapshot and the backup snapshot when one of the following events +// occurs: +// +// * The sender revokes the share request. +// +// * The recipient declines the +// share request. +// +// * The recipient encounters an error and doesn't successfully +// accept the share request. +// +// * The share request expires before the recipient +// responds to the request. +// +// When a sender resends a share request +// (https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend), +// the snapshot is replaced with an updated version that corresponds with the +// latest version of the custom framework. When a recipient accepts a share +// request, the snapshot is replicated into their Amazon Web Services account under +// the Amazon Web Services Region that was specified in the share request. When you +// invoke the StartAssessmentFrameworkShare API, you are about to share a custom +// framework with another Amazon Web Services account. You may not share a custom +// framework that is derived from a standard framework if the standard framework is // designated as not eligible for sharing by Amazon Web Services, unless you have // obtained permission to do so from the owner of the standard framework. To learn // more about which standard frameworks are eligible for sharing, see Framework diff --git a/service/auditmanager/api_op_UpdateSettings.go b/service/auditmanager/api_op_UpdateSettings.go index cc31f0dba92..5e99e2fe14b 100644 --- a/service/auditmanager/api_op_UpdateSettings.go +++ b/service/auditmanager/api_op_UpdateSettings.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateSettingsMiddlewares(stack *middleware.Stack, if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = addOpUpdateSettingsValidationMiddleware(stack); err != nil { + return err + } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/deserializers.go b/service/auditmanager/deserializers.go index 49a9998e45b..71b42f49542 100644 --- a/service/auditmanager/deserializers.go +++ b/service/auditmanager/deserializers.go @@ -7080,6 +7080,9 @@ func awsRestjson1_deserializeOpErrorRegisterAccount(response *smithyhttp.Respons case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + case strings.EqualFold("ValidationException", errorCode): return awsRestjson1_deserializeErrorValidationException(response, errorBody) @@ -9181,6 +9184,42 @@ func awsRestjson1_deserializeErrorResourceNotFoundException(response *smithyhttp return output } +func awsRestjson1_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ThrottlingException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentThrottlingException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + func awsRestjson1_deserializeErrorValidationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.ValidationException{} var buff [1024]byte @@ -14575,6 +14614,46 @@ func awsRestjson1_deserializeDocumentTagMap(v *map[string]string, value interfac return nil } +func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ThrottlingException + if *v == nil { + sv = &types.ThrottlingException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentURL(v **types.URL, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/auditmanager/go.mod b/service/auditmanager/go.mod index e87d4711de3..6a234c0fd78 100644 --- a/service/auditmanager/go.mod +++ b/service/auditmanager/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/auditmanager go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/auditmanager/go.sum b/service/auditmanager/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/auditmanager/go.sum +++ b/service/auditmanager/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/auditmanager/go_module_metadata.go b/service/auditmanager/go_module_metadata.go index 75035b00ca7..aad9babcc91 100644 --- a/service/auditmanager/go_module_metadata.go +++ b/service/auditmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package auditmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.6" +const goModuleVersion = "1.19.0" diff --git a/service/auditmanager/types/errors.go b/service/auditmanager/types/errors.go index 2476e81d7b2..5c4f23f4514 100644 --- a/service/auditmanager/types/errors.go +++ b/service/auditmanager/types/errors.go @@ -69,6 +69,25 @@ func (e *ResourceNotFoundException) ErrorMessage() string { func (e *ResourceNotFoundException) ErrorCode() string { return "ResourceNotFoundException" } func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// The request was denied due to request throttling. +type ThrottlingException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ThrottlingException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ThrottlingException) ErrorCode() string { return "ThrottlingException" } +func (e *ThrottlingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // The request has invalid or missing parameters. type ValidationException struct { Message *string diff --git a/service/auditmanager/types/types.go b/service/auditmanager/types/types.go index c90297c4759..4f112639d1b 100644 --- a/service/auditmanager/types/types.go +++ b/service/auditmanager/types/types.go @@ -137,7 +137,7 @@ type AssessmentEvidenceFolder struct { // The number of evidence that falls under the configuration data category. This // evidence is collected from configuration snapshots of other Amazon Web Services - // services such as Amazon EC2, Amazon S3, or IAM. + // such as Amazon EC2, Amazon S3, or IAM. EvidenceByTypeConfigurationDataCount int32 // The number of evidence that falls under the manual category. This evidence is @@ -1222,11 +1222,15 @@ type Resource struct { type Role struct { // The Amazon Resource Name (ARN) of the IAM role. + // + // This member is required. RoleArn *string // The type of customer persona. In CreateAssessment, roleType can only be // PROCESS_OWNER. In UpdateSettings, roleType can only be PROCESS_OWNER. In // BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER. + // + // This member is required. RoleType RoleType noSmithyDocumentSerde diff --git a/service/auditmanager/validators.go b/service/auditmanager/validators.go index 4abcb34d15b..4d48a62dbd3 100644 --- a/service/auditmanager/validators.go +++ b/service/auditmanager/validators.go @@ -950,6 +950,26 @@ func (m *validateOpUpdateControl) HandleInitialize(ctx context.Context, in middl return next.HandleInitialize(ctx, in) } +type validateOpUpdateSettings struct { +} + +func (*validateOpUpdateSettings) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateSettings) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateSettingsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateSettingsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpValidateAssessmentReportIntegrity struct { } @@ -1158,6 +1178,10 @@ func addOpUpdateControlValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateControl{}, middleware.After) } +func addOpUpdateSettingsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateSettings{}, middleware.After) +} + func addOpValidateAssessmentReportIntegrityValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpValidateAssessmentReportIntegrity{}, middleware.After) } @@ -1231,6 +1255,41 @@ func validateCreateAssessmentFrameworkControlSets(v []types.CreateAssessmentFram } } +func validateRole(v *types.Role) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "Role"} + if len(v.RoleType) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("RoleType")) + } + if v.RoleArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateRoles(v []types.Role) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "Roles"} + for i := range v { + if err := validateRole(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateUpdateAssessmentFrameworkControlSet(v *types.UpdateAssessmentFrameworkControlSet) error { if v == nil { return nil @@ -1428,6 +1487,10 @@ func validateOpCreateAssessmentInput(v *CreateAssessmentInput) error { } if v.Roles == nil { invalidParams.Add(smithy.NewErrParamRequired("Roles")) + } else if v.Roles != nil { + if err := validateRoles(v.Roles); err != nil { + invalidParams.AddNested("Roles", err.(smithy.InvalidParamsError)) + } } if v.FrameworkId == nil { invalidParams.Add(smithy.NewErrParamRequired("FrameworkId")) @@ -2081,6 +2144,11 @@ func validateOpUpdateAssessmentInput(v *UpdateAssessmentInput) error { if v.Scope == nil { invalidParams.Add(smithy.NewErrParamRequired("Scope")) } + if v.Roles != nil { + if err := validateRoles(v.Roles); err != nil { + invalidParams.AddNested("Roles", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2127,6 +2195,23 @@ func validateOpUpdateControlInput(v *UpdateControlInput) error { } } +func validateOpUpdateSettingsInput(v *UpdateSettingsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateSettingsInput"} + if v.DefaultProcessOwners != nil { + if err := validateRoles(v.DefaultProcessOwners); err != nil { + invalidParams.AddNested("DefaultProcessOwners", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpValidateAssessmentReportIntegrityInput(v *ValidateAssessmentReportIntegrityInput) error { if v == nil { return nil diff --git a/service/autoscaling/CHANGELOG.md b/service/autoscaling/CHANGELOG.md index fbd4149f5df..436355a2a86 100644 --- a/service/autoscaling/CHANGELOG.md +++ b/service/autoscaling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.23.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/autoscaling/go.mod b/service/autoscaling/go.mod index 281f1354676..2e1d6a2dbf1 100644 --- a/service/autoscaling/go.mod +++ b/service/autoscaling/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/autoscaling go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/autoscaling/go.sum b/service/autoscaling/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/autoscaling/go.sum +++ b/service/autoscaling/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/autoscaling/go_module_metadata.go b/service/autoscaling/go_module_metadata.go index 4bb459486d7..af7c6a290e1 100644 --- a/service/autoscaling/go_module_metadata.go +++ b/service/autoscaling/go_module_metadata.go @@ -3,4 +3,4 @@ package autoscaling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/autoscalingplans/CHANGELOG.md b/service/autoscalingplans/CHANGELOG.md index 0b1ee002bb6..442bbf25311 100644 --- a/service/autoscalingplans/CHANGELOG.md +++ b/service/autoscalingplans/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/autoscalingplans/go.mod b/service/autoscalingplans/go.mod index 1f557dc2446..315d65ab766 100644 --- a/service/autoscalingplans/go.mod +++ b/service/autoscalingplans/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/autoscalingplans go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/autoscalingplans/go.sum b/service/autoscalingplans/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/autoscalingplans/go.sum +++ b/service/autoscalingplans/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/autoscalingplans/go_module_metadata.go b/service/autoscalingplans/go_module_metadata.go index 05d8d6c082e..f707dda1d43 100644 --- a/service/autoscalingplans/go_module_metadata.go +++ b/service/autoscalingplans/go_module_metadata.go @@ -3,4 +3,4 @@ package autoscalingplans // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/backup/CHANGELOG.md b/service/backup/CHANGELOG.md index 73ffeccaf51..b15b7dd332f 100644 --- a/service/backup/CHANGELOG.md +++ b/service/backup/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/backup/go.mod b/service/backup/go.mod index b5042860713..e23a75866e2 100644 --- a/service/backup/go.mod +++ b/service/backup/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/backup go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/backup/go.sum b/service/backup/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/backup/go.sum +++ b/service/backup/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/backup/go_module_metadata.go b/service/backup/go_module_metadata.go index fd5cfe5c660..05cc8544613 100644 --- a/service/backup/go_module_metadata.go +++ b/service/backup/go_module_metadata.go @@ -3,4 +3,4 @@ package backup // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.1" +const goModuleVersion = "1.16.2" diff --git a/service/backupgateway/CHANGELOG.md b/service/backupgateway/CHANGELOG.md index da81d33dfab..0abfae971a1 100644 --- a/service/backupgateway/CHANGELOG.md +++ b/service/backupgateway/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.6.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.6.0 (2022-06-01) + +* **Feature**: Adds GetGateway and UpdateGatewaySoftwareNow API and adds hypervisor name to UpdateHypervisor API + +# v1.5.6 (2022-05-26) + +* No change notes available for this release. + # v1.5.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/backupgateway/api_op_GetGateway.go b/service/backupgateway/api_op_GetGateway.go new file mode 100644 index 00000000000..d4abb80d992 --- /dev/null +++ b/service/backupgateway/api_op_GetGateway.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package backupgateway + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/backupgateway/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// By providing the ARN (Amazon Resource Name), this API returns the gateway. +func (c *Client) GetGateway(ctx context.Context, params *GetGatewayInput, optFns ...func(*Options)) (*GetGatewayOutput, error) { + if params == nil { + params = &GetGatewayInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetGateway", params, optFns, c.addOperationGetGatewayMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetGatewayOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetGatewayInput struct { + + // The Amazon Resource Name (ARN) of the gateway. + // + // This member is required. + GatewayArn *string + + noSmithyDocumentSerde +} + +type GetGatewayOutput struct { + + // By providing the ARN (Amazon Resource Name), this API returns the gateway. + Gateway *types.GatewayDetails + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetGatewayMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpGetGateway{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpGetGateway{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetGatewayValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGateway(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetGateway(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "backup-gateway", + OperationName: "GetGateway", + } +} diff --git a/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go b/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go new file mode 100644 index 00000000000..27071db0ae1 --- /dev/null +++ b/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package backupgateway + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates the gateway virtual machine (VM) software. The request immediately +// triggers the software update. When you make this request, you get a 200 OK +// success response immediately. However, it might take some time for the update to +// complete. +func (c *Client) UpdateGatewaySoftwareNow(ctx context.Context, params *UpdateGatewaySoftwareNowInput, optFns ...func(*Options)) (*UpdateGatewaySoftwareNowOutput, error) { + if params == nil { + params = &UpdateGatewaySoftwareNowInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateGatewaySoftwareNow", params, optFns, c.addOperationUpdateGatewaySoftwareNowMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateGatewaySoftwareNowOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateGatewaySoftwareNowInput struct { + + // The Amazon Resource Name (ARN) of the gateway to be updated. + // + // This member is required. + GatewayArn *string + + noSmithyDocumentSerde +} + +type UpdateGatewaySoftwareNowOutput struct { + + // The Amazon Resource Name (ARN) of the gateway you updated. + GatewayArn *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateGatewaySoftwareNowMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpUpdateGatewaySoftwareNow{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpUpdateGatewaySoftwareNow{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateGatewaySoftwareNowValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewaySoftwareNow(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateGatewaySoftwareNow(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "backup-gateway", + OperationName: "UpdateGatewaySoftwareNow", + } +} diff --git a/service/backupgateway/api_op_UpdateHypervisor.go b/service/backupgateway/api_op_UpdateHypervisor.go index 11393fd00cf..d7a2da31c5d 100644 --- a/service/backupgateway/api_op_UpdateHypervisor.go +++ b/service/backupgateway/api_op_UpdateHypervisor.go @@ -39,6 +39,9 @@ type UpdateHypervisorInput struct { // fully-qualified domain name (FQDN). Host *string + // The updated name for the hypervisor + Name *string + // The updated password for the hypervisor. Password *string diff --git a/service/backupgateway/deserializers.go b/service/backupgateway/deserializers.go index ee422e1bff2..e92f03fef12 100644 --- a/service/backupgateway/deserializers.go +++ b/service/backupgateway/deserializers.go @@ -607,6 +607,123 @@ func awsAwsjson10_deserializeOpErrorDisassociateGatewayFromServer(response *smit } } +type awsAwsjson10_deserializeOpGetGateway struct { +} + +func (*awsAwsjson10_deserializeOpGetGateway) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpGetGateway) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorGetGateway(response, &metadata) + } + output := &GetGatewayOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson10_deserializeOpDocumentGetGatewayOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson10_deserializeOpErrorGetGateway(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsjson10_deserializeOpImportHypervisorConfiguration struct { } @@ -1777,6 +1894,123 @@ func awsAwsjson10_deserializeOpErrorUpdateGatewayInformation(response *smithyhtt } } +type awsAwsjson10_deserializeOpUpdateGatewaySoftwareNow struct { +} + +func (*awsAwsjson10_deserializeOpUpdateGatewaySoftwareNow) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateGatewaySoftwareNow) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateGatewaySoftwareNow(response, &metadata) + } + output := &UpdateGatewaySoftwareNowOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson10_deserializeOpDocumentUpdateGatewaySoftwareNowOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson10_deserializeOpErrorUpdateGatewaySoftwareNow(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsjson10_deserializeOpUpdateHypervisor struct { } @@ -2253,6 +2487,114 @@ func awsAwsjson10_deserializeDocumentGateway(v **types.Gateway, value interface{ return nil } +func awsAwsjson10_deserializeDocumentGatewayDetails(v **types.GatewayDetails, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.GatewayDetails + if *v == nil { + sv = &types.GatewayDetails{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "GatewayArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected GatewayArn to be of type string, got %T instead", value) + } + sv.GatewayArn = ptr.String(jtv) + } + + case "GatewayDisplayName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Name to be of type string, got %T instead", value) + } + sv.GatewayDisplayName = ptr.String(jtv) + } + + case "GatewayType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected GatewayType to be of type string, got %T instead", value) + } + sv.GatewayType = types.GatewayType(jtv) + } + + case "HypervisorId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HypervisorId to be of type string, got %T instead", value) + } + sv.HypervisorId = ptr.String(jtv) + } + + case "LastSeenTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastSeenTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Time to be a JSON Number, got %T instead", value) + + } + } + + case "NextUpdateAvailabilityTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.NextUpdateAvailabilityTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Time to be a JSON Number, got %T instead", value) + + } + } + + case "VpcEndpoint": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected VpcEndpoint to be of type string, got %T instead", value) + } + sv.VpcEndpoint = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeDocumentGateways(v *[]types.Gateway, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -2953,6 +3295,42 @@ func awsAwsjson10_deserializeOpDocumentDisassociateGatewayFromServerOutput(v **D return nil } +func awsAwsjson10_deserializeOpDocumentGetGatewayOutput(v **GetGatewayOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetGatewayOutput + if *v == nil { + sv = &GetGatewayOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Gateway": + if err := awsAwsjson10_deserializeDocumentGatewayDetails(&sv.Gateway, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeOpDocumentImportHypervisorConfigurationOutput(v **ImportHypervisorConfigurationOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -3364,6 +3742,46 @@ func awsAwsjson10_deserializeOpDocumentUpdateGatewayInformationOutput(v **Update return nil } +func awsAwsjson10_deserializeOpDocumentUpdateGatewaySoftwareNowOutput(v **UpdateGatewaySoftwareNowOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateGatewaySoftwareNowOutput + if *v == nil { + sv = &UpdateGatewaySoftwareNowOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "GatewayArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected GatewayArn to be of type string, got %T instead", value) + } + sv.GatewayArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeOpDocumentUpdateHypervisorOutput(v **UpdateHypervisorOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/backupgateway/generated.json b/service/backupgateway/generated.json index 3f0289f3b6a..dff5701a2ad 100644 --- a/service/backupgateway/generated.json +++ b/service/backupgateway/generated.json @@ -13,6 +13,7 @@ "api_op_DeleteGateway.go", "api_op_DeleteHypervisor.go", "api_op_DisassociateGatewayFromServer.go", + "api_op_GetGateway.go", "api_op_ImportHypervisorConfiguration.go", "api_op_ListGateways.go", "api_op_ListHypervisors.go", @@ -23,6 +24,7 @@ "api_op_TestHypervisorConfiguration.go", "api_op_UntagResource.go", "api_op_UpdateGatewayInformation.go", + "api_op_UpdateGatewaySoftwareNow.go", "api_op_UpdateHypervisor.go", "deserializers.go", "doc.go", diff --git a/service/backupgateway/go.mod b/service/backupgateway/go.mod index bbb62f0725b..943157a76a1 100644 --- a/service/backupgateway/go.mod +++ b/service/backupgateway/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/backupgateway go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/backupgateway/go.sum b/service/backupgateway/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/backupgateway/go.sum +++ b/service/backupgateway/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/backupgateway/go_module_metadata.go b/service/backupgateway/go_module_metadata.go index a17161bb844..714cf268836 100644 --- a/service/backupgateway/go_module_metadata.go +++ b/service/backupgateway/go_module_metadata.go @@ -3,4 +3,4 @@ package backupgateway // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.5" +const goModuleVersion = "1.6.1" diff --git a/service/backupgateway/internal/endpoints/endpoints.go b/service/backupgateway/internal/endpoints/endpoints.go index 80d8328822b..9d61096f017 100644 --- a/service/backupgateway/internal/endpoints/endpoints.go +++ b/service/backupgateway/internal/endpoints/endpoints.go @@ -134,6 +134,71 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.Aws, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "af-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "me-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-cn", @@ -246,5 +311,13 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsUsGov, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "us-gov-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-gov-west-1", + }: endpoints.Endpoint{}, + }, }, } diff --git a/service/backupgateway/serializers.go b/service/backupgateway/serializers.go index 20844d25d21..fd2af57cafd 100644 --- a/service/backupgateway/serializers.go +++ b/service/backupgateway/serializers.go @@ -290,6 +290,61 @@ func (m *awsAwsjson10_serializeOpDisassociateGatewayFromServer) HandleSerialize( return next.HandleSerialize(ctx, in) } +type awsAwsjson10_serializeOpGetGateway struct { +} + +func (*awsAwsjson10_serializeOpGetGateway) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpGetGateway) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetGatewayInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("BackupOnPremises_v20210101.GetGateway") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentGetGatewayInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson10_serializeOpImportHypervisorConfiguration struct { } @@ -840,6 +895,61 @@ func (m *awsAwsjson10_serializeOpUpdateGatewayInformation) HandleSerialize(ctx c return next.HandleSerialize(ctx, in) } +type awsAwsjson10_serializeOpUpdateGatewaySoftwareNow struct { +} + +func (*awsAwsjson10_serializeOpUpdateGatewaySoftwareNow) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpUpdateGatewaySoftwareNow) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateGatewaySoftwareNowInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("BackupOnPremises_v20210101.UpdateGatewaySoftwareNow") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentUpdateGatewaySoftwareNowInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson10_serializeOpUpdateHypervisor struct { } @@ -1017,6 +1127,18 @@ func awsAwsjson10_serializeOpDocumentDisassociateGatewayFromServerInput(v *Disas return nil } +func awsAwsjson10_serializeOpDocumentGetGatewayInput(v *GetGatewayInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.GatewayArn != nil { + ok := object.Key("GatewayArn") + ok.String(*v.GatewayArn) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentImportHypervisorConfigurationInput(v *ImportHypervisorConfigurationInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -1233,6 +1355,18 @@ func awsAwsjson10_serializeOpDocumentUpdateGatewayInformationInput(v *UpdateGate return nil } +func awsAwsjson10_serializeOpDocumentUpdateGatewaySoftwareNowInput(v *UpdateGatewaySoftwareNowInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.GatewayArn != nil { + ok := object.Key("GatewayArn") + ok.String(*v.GatewayArn) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentUpdateHypervisorInput(v *UpdateHypervisorInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -1247,6 +1381,11 @@ func awsAwsjson10_serializeOpDocumentUpdateHypervisorInput(v *UpdateHypervisorIn ok.String(*v.HypervisorArn) } + if v.Name != nil { + ok := object.Key("Name") + ok.String(*v.Name) + } + if v.Password != nil { ok := object.Key("Password") ok.String(*v.Password) diff --git a/service/backupgateway/types/types.go b/service/backupgateway/types/types.go index 919c3e780ee..b98c5ee9a1f 100644 --- a/service/backupgateway/types/types.go +++ b/service/backupgateway/types/types.go @@ -32,6 +32,36 @@ type Gateway struct { noSmithyDocumentSerde } +// The details of gateway. +type GatewayDetails struct { + + // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to + // return a list of gateways for your account and Amazon Web Services Region. + GatewayArn *string + + // The display name of the gateway. + GatewayDisplayName *string + + // The type of the gateway type. + GatewayType GatewayType + + // The hypervisor ID of the gateway. + HypervisorId *string + + // Details showing the last time Backup gateway communicated with the cloud, in + // Unix format and UTC time. + LastSeenTime *time.Time + + // Details showing the next update availability time of the gateway. + NextUpdateAvailabilityTime *time.Time + + // The DNS name for the virtual private cloud (VPC) endpoint the gateway uses to + // connect to the cloud for backup gateway. + VpcEndpoint *string + + noSmithyDocumentSerde +} + // Represents the hypervisor's permissions to which the gateway will connect. A // hypervisor is hardware, software, or firmware that creates and manages virtual // machines, and allocates resources to them. @@ -67,7 +97,7 @@ type Tag struct { // This member is required. Key *string - // The key part of a value's key-value pair. + // The value part of a tag's key-value pair. // // This member is required. Value *string @@ -94,7 +124,8 @@ type VirtualMachine struct { // The path of the virtual machine. Path *string - // The Amazon Resource Name (ARN) of the virtual machine. + // The Amazon Resource Name (ARN) of the virtual machine. For example, + // arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL. ResourceArn *string noSmithyDocumentSerde diff --git a/service/backupgateway/validators.go b/service/backupgateway/validators.go index 1b3d279812a..e6b750d7251 100644 --- a/service/backupgateway/validators.go +++ b/service/backupgateway/validators.go @@ -110,6 +110,26 @@ func (m *validateOpDisassociateGatewayFromServer) HandleInitialize(ctx context.C return next.HandleInitialize(ctx, in) } +type validateOpGetGateway struct { +} + +func (*validateOpGetGateway) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetGateway) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetGatewayInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetGatewayInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpImportHypervisorConfiguration struct { } @@ -250,6 +270,26 @@ func (m *validateOpUpdateGatewayInformation) HandleInitialize(ctx context.Contex return next.HandleInitialize(ctx, in) } +type validateOpUpdateGatewaySoftwareNow struct { +} + +func (*validateOpUpdateGatewaySoftwareNow) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateGatewaySoftwareNow) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateGatewaySoftwareNowInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateGatewaySoftwareNowInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateHypervisor struct { } @@ -290,6 +330,10 @@ func addOpDisassociateGatewayFromServerValidationMiddleware(stack *middleware.St return stack.Initialize.Add(&validateOpDisassociateGatewayFromServer{}, middleware.After) } +func addOpGetGatewayValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetGateway{}, middleware.After) +} + func addOpImportHypervisorConfigurationValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpImportHypervisorConfiguration{}, middleware.After) } @@ -318,6 +362,10 @@ func addOpUpdateGatewayInformationValidationMiddleware(stack *middleware.Stack) return stack.Initialize.Add(&validateOpUpdateGatewayInformation{}, middleware.After) } +func addOpUpdateGatewaySoftwareNowValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateGatewaySoftwareNow{}, middleware.After) +} + func addOpUpdateHypervisorValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateHypervisor{}, middleware.After) } @@ -446,6 +494,21 @@ func validateOpDisassociateGatewayFromServerInput(v *DisassociateGatewayFromServ } } +func validateOpGetGatewayInput(v *GetGatewayInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetGatewayInput"} + if v.GatewayArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("GatewayArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpImportHypervisorConfigurationInput(v *ImportHypervisorConfigurationInput) error { if v == nil { return nil @@ -578,6 +641,21 @@ func validateOpUpdateGatewayInformationInput(v *UpdateGatewayInformationInput) e } } +func validateOpUpdateGatewaySoftwareNowInput(v *UpdateGatewaySoftwareNowInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateGatewaySoftwareNowInput"} + if v.GatewayArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("GatewayArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateHypervisorInput(v *UpdateHypervisorInput) error { if v == nil { return nil diff --git a/service/batch/CHANGELOG.md b/service/batch/CHANGELOG.md index 9a62cafe552..433c24ef321 100644 --- a/service/batch/CHANGELOG.md +++ b/service/batch/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.18.5 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.4 (2022-05-27) + +* No change notes available for this release. + +# v1.18.3 (2022-05-18) + +* **Documentation**: Documentation updates for AWS Batch. + # v1.18.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/batch/api_op_CreateComputeEnvironment.go b/service/batch/api_op_CreateComputeEnvironment.go index 710787d7da4..4efe40664f2 100644 --- a/service/batch/api_op_CreateComputeEnvironment.go +++ b/service/batch/api_op_CreateComputeEnvironment.go @@ -36,24 +36,64 @@ import ( // your container instances into that Amazon ECS cluster. For more information, see // Launching an Amazon ECS container instance // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html) -// in the Amazon Elastic Container Service Developer Guide. Batch doesn't upgrade -// the AMIs in a compute environment after the environment is created. For example, -// it doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI -// is available. Therefore, you're responsible for managing the guest operating -// system (including its updates and security patches) and any additional -// application software or utilities that you install on the compute resources. To -// use a new AMI for your Batch jobs, complete these steps: +// in the Amazon Elastic Container Service Developer Guide. Batch doesn't +// automatically upgrade the AMIs in a compute environment after it's created. For +// example, it also doesn't update the AMIs in your compute environment when a +// newer version of the Amazon ECS optimized AMI is available. You're responsible +// for the management of the guest operating system. This includes any updates and +// security patches. You're also responsible for any additional application +// software or utilities that you install on the compute resources. There are two +// ways to use a new AMI for your Batch jobs. The original method is to complete +// these steps: // -// * Create a new compute -// environment with the new AMI. +// * Create a new compute environment with the new AMI. // -// * Add the compute environment to an existing job -// queue. +// * Add the +// compute environment to an existing job queue. // -// * Remove the earlier compute environment from your job queue. +// * Remove the earlier compute +// environment from your job queue. // -// * Delete -// the earlier compute environment. +// * Delete the earlier compute environment. +// +// In +// April 2022, Batch added enhanced support for updating compute environments. For +// more information, see Updating compute environments +// (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html). +// To use the enhanced updating of compute environments to update AMIs, follow +// these rules: +// +// * Either do not set the service role (serviceRole) parameter or +// set it to the AWSBatchServiceRole service-linked role. +// +// * Set the allocation +// strategy (allocationStrategy) parameter to BEST_FIT_PROGRESSIVE or +// SPOT_CAPACITY_OPTIMIZED. +// +// * Set the update to latest image version +// (updateToLatestImageVersion) parameter to true. +// +// * Do not specify an AMI ID in +// imageId, imageIdOverride (in ec2Configuration +// (https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html)), +// or in the launch template (launchTemplate). In that case Batch will select the +// latest Amazon ECS optimized AMI supported by Batch at the time the +// infrastructure update is initiated. Alternatively you can specify the AMI ID in +// the imageId or imageIdOverride parameters, or the launch template identified by +// the LaunchTemplate properties. Changing any of these properties will trigger an +// infrastructure update. If the AMI ID is specified in the launch template, it can +// not be replaced by specifying an AMI ID in either the imageId or imageIdOverride +// parameters. It can only be replaced by specifying a different launch template, +// or if the launch template version is set to $Default or $Latest, by setting +// either a new default version for the launch template (if $Default)or by adding a +// new version to the launch template (if $Latest). +// +// If these rules are followed, +// any update that triggers an infrastructure update will cause the AMI ID to be +// re-selected. If the version setting in the launch template (launchTemplate) is +// set to $Latest or $Default, the latest or default version of the launch template +// will be evaluated up at the time of the infrastructure update, even if the +// launchTemplate was not updated. func (c *Client) CreateComputeEnvironment(ctx context.Context, params *CreateComputeEnvironmentInput, optFns ...func(*Options)) (*CreateComputeEnvironmentOutput, error) { if params == nil { params = &CreateComputeEnvironmentInput{} diff --git a/service/batch/api_op_SubmitJob.go b/service/batch/api_op_SubmitJob.go index 9d62a9395a0..86942d5b016 100644 --- a/service/batch/api_op_SubmitJob.go +++ b/service/batch/api_op_SubmitJob.go @@ -114,7 +114,9 @@ type SubmitJobInput struct { // the maximum supported value is 9999. SchedulingPriorityOverride *int32 - // The share identifier for the job. + // The share identifier for the job. If the job queue does not have a scheduling + // policy, then this parameter must not be specified. If the job queue has a + // scheduling policy, then this parameter must be specified. ShareIdentifier *string // The tags that you apply to the job request to help you categorize and organize diff --git a/service/batch/go.mod b/service/batch/go.mod index 99931cd87d4..ba3c2107144 100644 --- a/service/batch/go.mod +++ b/service/batch/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/batch go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/batch/go.sum b/service/batch/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/batch/go.sum +++ b/service/batch/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/batch/go_module_metadata.go b/service/batch/go_module_metadata.go index e4cb490e646..51e1d9f1b09 100644 --- a/service/batch/go_module_metadata.go +++ b/service/batch/go_module_metadata.go @@ -3,4 +3,4 @@ package batch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.5" diff --git a/service/batch/internal/endpoints/endpoints.go b/service/batch/internal/endpoints/endpoints.go index 6357e7d0e39..861d27d445b 100644 --- a/service/batch/internal/endpoints/endpoints.go +++ b/service/batch/internal/endpoints/endpoints.go @@ -159,6 +159,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ca-central-1", }: endpoints.Endpoint{}, diff --git a/service/batch/types/types.go b/service/batch/types/types.go index eab572414e8..1ded6a001a1 100644 --- a/service/batch/types/types.go +++ b/service/batch/types/types.go @@ -394,12 +394,13 @@ type ComputeResource struct { // compute environment. For Batch, these take the form of "String1": "String2", // where String1 is the tag key and String2 is the tag value−for example, { "Name": // "Batch Instance - C4OnDemand" }. This is helpful for recognizing your Batch - // instances in the Amazon EC2 console. These tags can't be updated or removed - // after the compute environment is created. Any changes to these tags require that - // you create a new compute environment and remove the old compute environment. - // These tags aren't seen when using the Batch ListTagsForResource API operation. - // This parameter isn't applicable to jobs that are running on Fargate resources, - // and shouldn't be specified. + // instances in the Amazon EC2 console. Updating these tags requires an + // infrastructure update to the compute environment. For more information, see + // Updating compute environments + // (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) + // in the Batch User Guide. These tags aren't seen when using the Batch + // ListTagsForResource API operation. This parameter isn't applicable to jobs that + // are running on Fargate resources, and shouldn't be specified. Tags map[string]string noSmithyDocumentSerde diff --git a/service/billingconductor/CHANGELOG.md b/service/billingconductor/CHANGELOG.md index 1ae74605c29..565f541729a 100644 --- a/service/billingconductor/CHANGELOG.md +++ b/service/billingconductor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.0.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.0.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/billingconductor/go.mod b/service/billingconductor/go.mod index 1e849478da3..0f17777dd59 100644 --- a/service/billingconductor/go.mod +++ b/service/billingconductor/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/billingconductor go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/billingconductor/go.sum b/service/billingconductor/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/billingconductor/go.sum +++ b/service/billingconductor/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/billingconductor/go_module_metadata.go b/service/billingconductor/go_module_metadata.go index a20ee61af06..df8d2503a4b 100644 --- a/service/billingconductor/go_module_metadata.go +++ b/service/billingconductor/go_module_metadata.go @@ -3,4 +3,4 @@ package billingconductor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.5" +const goModuleVersion = "1.0.6" diff --git a/service/braket/CHANGELOG.md b/service/braket/CHANGELOG.md index f7b6cf398ac..3d4fbc91988 100644 --- a/service/braket/CHANGELOG.md +++ b/service/braket/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/braket/go.mod b/service/braket/go.mod index 942a7dda6b1..28ffcd7b7da 100644 --- a/service/braket/go.mod +++ b/service/braket/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/braket go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/braket/go.sum b/service/braket/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/braket/go.sum +++ b/service/braket/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/braket/go_module_metadata.go b/service/braket/go_module_metadata.go index e387394d00d..74912426c7e 100644 --- a/service/braket/go_module_metadata.go +++ b/service/braket/go_module_metadata.go @@ -3,4 +3,4 @@ package braket // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.1" +const goModuleVersion = "1.16.2" diff --git a/service/budgets/CHANGELOG.md b/service/budgets/CHANGELOG.md index 3c611ea93f1..2a4d2f68315 100644 --- a/service/budgets/CHANGELOG.md +++ b/service/budgets/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/budgets/go.mod b/service/budgets/go.mod index 4a81a2f7f7f..e15d4ccda39 100644 --- a/service/budgets/go.mod +++ b/service/budgets/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/budgets go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/budgets/go.sum b/service/budgets/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/budgets/go.sum +++ b/service/budgets/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/budgets/go_module_metadata.go b/service/budgets/go_module_metadata.go index 25de3162137..e8e748b049c 100644 --- a/service/budgets/go_module_metadata.go +++ b/service/budgets/go_module_metadata.go @@ -3,4 +3,4 @@ package budgets // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/chime/CHANGELOG.md b/service/chime/CHANGELOG.md index d8300992737..e6c2439d1f3 100644 --- a/service/chime/CHANGELOG.md +++ b/service/chime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.20.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/chime/go.mod b/service/chime/go.mod index 2e3f9966bff..ecd52815280 100644 --- a/service/chime/go.mod +++ b/service/chime/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/chime go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chime/go.sum b/service/chime/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/chime/go.sum +++ b/service/chime/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/chime/go_module_metadata.go b/service/chime/go_module_metadata.go index 79f84b7d9aa..4b47da83b92 100644 --- a/service/chime/go_module_metadata.go +++ b/service/chime/go_module_metadata.go @@ -3,4 +3,4 @@ package chime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.5" +const goModuleVersion = "1.20.6" diff --git a/service/chimesdkidentity/CHANGELOG.md b/service/chimesdkidentity/CHANGELOG.md index 10c63b16fe2..87590f6e92b 100644 --- a/service/chimesdkidentity/CHANGELOG.md +++ b/service/chimesdkidentity/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/chimesdkidentity/go.mod b/service/chimesdkidentity/go.mod index 6d5d7f99e2e..ae0701ce437 100644 --- a/service/chimesdkidentity/go.mod +++ b/service/chimesdkidentity/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/chimesdkidentity go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkidentity/go.sum b/service/chimesdkidentity/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/chimesdkidentity/go.sum +++ b/service/chimesdkidentity/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/chimesdkidentity/go_module_metadata.go b/service/chimesdkidentity/go_module_metadata.go index 6c874c05764..0fe59d80fae 100644 --- a/service/chimesdkidentity/go_module_metadata.go +++ b/service/chimesdkidentity/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkidentity // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.6" +const goModuleVersion = "1.9.7" diff --git a/service/chimesdkmediapipelines/CHANGELOG.md b/service/chimesdkmediapipelines/CHANGELOG.md index 68a33a7cca3..38ceeb77ccb 100644 --- a/service/chimesdkmediapipelines/CHANGELOG.md +++ b/service/chimesdkmediapipelines/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.0.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.0.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/chimesdkmediapipelines/go.mod b/service/chimesdkmediapipelines/go.mod index 04e0050e945..e705c2cd5a7 100644 --- a/service/chimesdkmediapipelines/go.mod +++ b/service/chimesdkmediapipelines/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkmediapipelines/go.sum b/service/chimesdkmediapipelines/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/chimesdkmediapipelines/go.sum +++ b/service/chimesdkmediapipelines/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/chimesdkmediapipelines/go_module_metadata.go b/service/chimesdkmediapipelines/go_module_metadata.go index 5c16f1ec61d..4f0076faee7 100644 --- a/service/chimesdkmediapipelines/go_module_metadata.go +++ b/service/chimesdkmediapipelines/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmediapipelines // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.2" +const goModuleVersion = "1.0.3" diff --git a/service/chimesdkmeetings/CHANGELOG.md b/service/chimesdkmeetings/CHANGELOG.md index a80f4b6cf6e..894bcdc9e87 100644 --- a/service/chimesdkmeetings/CHANGELOG.md +++ b/service/chimesdkmeetings/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.10.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.10.0 (2022-06-01) + +* **Feature**: Adds support for centrally controlling each participant's ability to send and receive audio, video and screen share within a WebRTC session. Attendee capabilities can be specified when the attendee is created and updated during the session with the new BatchUpdateAttendeeCapabilitiesExcept API. + # v1.9.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go b/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go new file mode 100644 index 00000000000..03702e8faed --- /dev/null +++ b/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go @@ -0,0 +1,128 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package chimesdkmeetings + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/chimesdkmeetings/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates AttendeeCapabilities except the capabilities listed in an +// ExcludedAttendeeIds table. +func (c *Client) BatchUpdateAttendeeCapabilitiesExcept(ctx context.Context, params *BatchUpdateAttendeeCapabilitiesExceptInput, optFns ...func(*Options)) (*BatchUpdateAttendeeCapabilitiesExceptOutput, error) { + if params == nil { + params = &BatchUpdateAttendeeCapabilitiesExceptInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "BatchUpdateAttendeeCapabilitiesExcept", params, optFns, c.addOperationBatchUpdateAttendeeCapabilitiesExceptMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*BatchUpdateAttendeeCapabilitiesExceptOutput) + out.ResultMetadata = metadata + return out, nil +} + +type BatchUpdateAttendeeCapabilitiesExceptInput struct { + + // The capabilities (audio, video, or content) that you want to update. + // + // This member is required. + Capabilities *types.AttendeeCapabilities + + // The AttendeeIDs that you want to exclude from one or more capabilities. + // + // This member is required. + ExcludedAttendeeIds []types.AttendeeIdItem + + // The ID of the meeting associated with the update request. + // + // This member is required. + MeetingId *string + + noSmithyDocumentSerde +} + +type BatchUpdateAttendeeCapabilitiesExceptOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationBatchUpdateAttendeeCapabilitiesExceptMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpBatchUpdateAttendeeCapabilitiesExcept{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpBatchUpdateAttendeeCapabilitiesExcept{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpBatchUpdateAttendeeCapabilitiesExceptValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateAttendeeCapabilitiesExcept(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opBatchUpdateAttendeeCapabilitiesExcept(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "chime", + OperationName: "BatchUpdateAttendeeCapabilitiesExcept", + } +} diff --git a/service/chimesdkmeetings/api_op_CreateAttendee.go b/service/chimesdkmeetings/api_op_CreateAttendee.go index 8eb5829d47e..0db4d2956da 100644 --- a/service/chimesdkmeetings/api_op_CreateAttendee.go +++ b/service/chimesdkmeetings/api_op_CreateAttendee.go @@ -43,6 +43,11 @@ type CreateAttendeeInput struct { // This member is required. MeetingId *string + // The capabilities (audio, video, or content) that you want to grant an attendee. + // If you don't specify capabilities, all users have send and receive capabilities + // on all media channels by default. + Capabilities *types.AttendeeCapabilities + noSmithyDocumentSerde } diff --git a/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go b/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go new file mode 100644 index 00000000000..fa4da93b034 --- /dev/null +++ b/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go @@ -0,0 +1,137 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package chimesdkmeetings + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/chimesdkmeetings/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// The capabilties that you want to update. +func (c *Client) UpdateAttendeeCapabilities(ctx context.Context, params *UpdateAttendeeCapabilitiesInput, optFns ...func(*Options)) (*UpdateAttendeeCapabilitiesOutput, error) { + if params == nil { + params = &UpdateAttendeeCapabilitiesInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateAttendeeCapabilities", params, optFns, c.addOperationUpdateAttendeeCapabilitiesMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateAttendeeCapabilitiesOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateAttendeeCapabilitiesInput struct { + + // The ID of the attendee associated with the update request. + // + // This member is required. + AttendeeId *string + + // The capabilties that you want to update. + // + // This member is required. + Capabilities *types.AttendeeCapabilities + + // The ID of the meeting associated with the update request. + // + // This member is required. + MeetingId *string + + noSmithyDocumentSerde +} + +type UpdateAttendeeCapabilitiesOutput struct { + + // An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId and + // JoinToken. The JoinToken allows a client to authenticate and join as the + // specified attendee. The JoinToken expires when the meeting ends, or when + // DeleteAttendee is called. After that, the attendee is unable to join the + // meeting. We recommend securely transferring each JoinToken from your server + // application to the client so that no other client has access to the token except + // for the one authorized to represent the attendee. + Attendee *types.Attendee + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateAttendeeCapabilitiesMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateAttendeeCapabilities{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateAttendeeCapabilities{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateAttendeeCapabilitiesValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAttendeeCapabilities(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateAttendeeCapabilities(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "chime", + OperationName: "UpdateAttendeeCapabilities", + } +} diff --git a/service/chimesdkmeetings/deserializers.go b/service/chimesdkmeetings/deserializers.go index d8cf43bce74..ab037a216ba 100644 --- a/service/chimesdkmeetings/deserializers.go +++ b/service/chimesdkmeetings/deserializers.go @@ -195,6 +195,110 @@ func awsRestjson1_deserializeOpDocumentBatchCreateAttendeeOutput(v **BatchCreate return nil } +type awsRestjson1_deserializeOpBatchUpdateAttendeeCapabilitiesExcept struct { +} + +func (*awsRestjson1_deserializeOpBatchUpdateAttendeeCapabilitiesExcept) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpBatchUpdateAttendeeCapabilitiesExcept) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorBatchUpdateAttendeeCapabilitiesExcept(response, &metadata) + } + output := &BatchUpdateAttendeeCapabilitiesExceptOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorBatchUpdateAttendeeCapabilitiesExcept(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("BadRequestException", errorCode): + return awsRestjson1_deserializeErrorBadRequestException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("ForbiddenException", errorCode): + return awsRestjson1_deserializeErrorForbiddenException(response, errorBody) + + case strings.EqualFold("NotFoundException", errorCode): + return awsRestjson1_deserializeErrorNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceUnavailableException", errorCode): + return awsRestjson1_deserializeErrorServiceUnavailableException(response, errorBody) + + case strings.EqualFold("UnauthorizedException", errorCode): + return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsRestjson1_deserializeOpCreateAttendee struct { } @@ -1647,6 +1751,168 @@ func awsRestjson1_deserializeOpErrorStopMeetingTranscription(response *smithyhtt } } +type awsRestjson1_deserializeOpUpdateAttendeeCapabilities struct { +} + +func (*awsRestjson1_deserializeOpUpdateAttendeeCapabilities) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpUpdateAttendeeCapabilities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateAttendeeCapabilities(response, &metadata) + } + output := &UpdateAttendeeCapabilitiesOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentUpdateAttendeeCapabilitiesOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorUpdateAttendeeCapabilities(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("BadRequestException", errorCode): + return awsRestjson1_deserializeErrorBadRequestException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("ForbiddenException", errorCode): + return awsRestjson1_deserializeErrorForbiddenException(response, errorBody) + + case strings.EqualFold("NotFoundException", errorCode): + return awsRestjson1_deserializeErrorNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceUnavailableException", errorCode): + return awsRestjson1_deserializeErrorServiceUnavailableException(response, errorBody) + + case strings.EqualFold("UnauthorizedException", errorCode): + return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentUpdateAttendeeCapabilitiesOutput(v **UpdateAttendeeCapabilitiesOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateAttendeeCapabilitiesOutput + if *v == nil { + sv = &UpdateAttendeeCapabilitiesOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Attendee": + if err := awsRestjson1_deserializeDocumentAttendee(&sv.Attendee, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeOpHttpBindingsServiceUnavailableException(v *types.ServiceUnavailableException, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) @@ -1695,6 +1961,42 @@ func awsRestjson1_deserializeErrorBadRequestException(response *smithyhttp.Respo return output } +func awsRestjson1_deserializeErrorConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ConflictException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentConflictException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + func awsRestjson1_deserializeErrorForbiddenException(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.ForbiddenException{} var buff [1024]byte @@ -2018,6 +2320,11 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac sv.AttendeeId = ptr.String(jtv) } + case "Capabilities": + if err := awsRestjson1_deserializeDocumentAttendeeCapabilities(&sv.Capabilities, value); err != nil { + return err + } + case "ExternalUserId": if value != nil { jtv, ok := value.(string) @@ -2045,6 +2352,64 @@ func awsRestjson1_deserializeDocumentAttendee(v **types.Attendee, value interfac return nil } +func awsRestjson1_deserializeDocumentAttendeeCapabilities(v **types.AttendeeCapabilities, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AttendeeCapabilities + if *v == nil { + sv = &types.AttendeeCapabilities{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Audio": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected MediaCapabilities to be of type string, got %T instead", value) + } + sv.Audio = types.MediaCapabilities(jtv) + } + + case "Content": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected MediaCapabilities to be of type string, got %T instead", value) + } + sv.Content = types.MediaCapabilities(jtv) + } + + case "Video": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected MediaCapabilities to be of type string, got %T instead", value) + } + sv.Video = types.MediaCapabilities(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentAttendeeList(v *[]types.Attendee, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -2211,6 +2576,64 @@ func awsRestjson1_deserializeDocumentBatchCreateAttendeeErrorList(v *[]types.Cre return nil } +func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ConflictException + if *v == nil { + sv = &types.ConflictException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Code = ptr.String(jtv) + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "RequestId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.RequestId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentCreateAttendeeError(v **types.CreateAttendeeError, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/chimesdkmeetings/generated.json b/service/chimesdkmeetings/generated.json index 5c791d29c17..b61b58b49bf 100644 --- a/service/chimesdkmeetings/generated.json +++ b/service/chimesdkmeetings/generated.json @@ -9,6 +9,7 @@ "api_client.go", "api_client_test.go", "api_op_BatchCreateAttendee.go", + "api_op_BatchUpdateAttendeeCapabilitiesExcept.go", "api_op_CreateAttendee.go", "api_op_CreateMeeting.go", "api_op_CreateMeetingWithAttendees.go", @@ -19,6 +20,7 @@ "api_op_ListAttendees.go", "api_op_StartMeetingTranscription.go", "api_op_StopMeetingTranscription.go", + "api_op_UpdateAttendeeCapabilities.go", "deserializers.go", "doc.go", "endpoints.go", diff --git a/service/chimesdkmeetings/go.mod b/service/chimesdkmeetings/go.mod index 91c185a1913..cfdc8afcc1d 100644 --- a/service/chimesdkmeetings/go.mod +++ b/service/chimesdkmeetings/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/chimesdkmeetings go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkmeetings/go.sum b/service/chimesdkmeetings/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/chimesdkmeetings/go.sum +++ b/service/chimesdkmeetings/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/chimesdkmeetings/go_module_metadata.go b/service/chimesdkmeetings/go_module_metadata.go index e87894caf5f..b635f0457df 100644 --- a/service/chimesdkmeetings/go_module_metadata.go +++ b/service/chimesdkmeetings/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmeetings // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.2" +const goModuleVersion = "1.10.1" diff --git a/service/chimesdkmeetings/serializers.go b/service/chimesdkmeetings/serializers.go index a2764453149..34a14afedc4 100644 --- a/service/chimesdkmeetings/serializers.go +++ b/service/chimesdkmeetings/serializers.go @@ -97,6 +97,96 @@ func awsRestjson1_serializeOpDocumentBatchCreateAttendeeInput(v *BatchCreateAtte return nil } +type awsRestjson1_serializeOpBatchUpdateAttendeeCapabilitiesExcept struct { +} + +func (*awsRestjson1_serializeOpBatchUpdateAttendeeCapabilitiesExcept) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpBatchUpdateAttendeeCapabilitiesExcept) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*BatchUpdateAttendeeCapabilitiesExceptInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/meetings/{MeetingId}/attendees/capabilities?operation=batch-update-except") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsBatchUpdateAttendeeCapabilitiesExceptInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentBatchUpdateAttendeeCapabilitiesExceptInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsBatchUpdateAttendeeCapabilitiesExceptInput(v *BatchUpdateAttendeeCapabilitiesExceptInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.MeetingId == nil || len(*v.MeetingId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member MeetingId must not be empty")} + } + if v.MeetingId != nil { + if err := encoder.SetURI("MeetingId").String(*v.MeetingId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentBatchUpdateAttendeeCapabilitiesExceptInput(v *BatchUpdateAttendeeCapabilitiesExceptInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Capabilities != nil { + ok := object.Key("Capabilities") + if err := awsRestjson1_serializeDocumentAttendeeCapabilities(v.Capabilities, ok); err != nil { + return err + } + } + + if v.ExcludedAttendeeIds != nil { + ok := object.Key("ExcludedAttendeeIds") + if err := awsRestjson1_serializeDocumentAttendeeIdsList(v.ExcludedAttendeeIds, ok); err != nil { + return err + } + } + + return nil +} + type awsRestjson1_serializeOpCreateAttendee struct { } @@ -170,6 +260,13 @@ func awsRestjson1_serializeOpDocumentCreateAttendeeInput(v *CreateAttendeeInput, object := value.Object() defer object.Close() + if v.Capabilities != nil { + ok := object.Key("Capabilities") + if err := awsRestjson1_serializeDocumentAttendeeCapabilities(v.Capabilities, ok); err != nil { + return err + } + } + if v.ExternalUserId != nil { ok := object.Key("ExternalUserId") ok.String(*v.ExternalUserId) @@ -846,6 +943,145 @@ func awsRestjson1_serializeOpHttpBindingsStopMeetingTranscriptionInput(v *StopMe return nil } +type awsRestjson1_serializeOpUpdateAttendeeCapabilities struct { +} + +func (*awsRestjson1_serializeOpUpdateAttendeeCapabilities) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpUpdateAttendeeCapabilities) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateAttendeeCapabilitiesInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsUpdateAttendeeCapabilitiesInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentUpdateAttendeeCapabilitiesInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsUpdateAttendeeCapabilitiesInput(v *UpdateAttendeeCapabilitiesInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.AttendeeId == nil || len(*v.AttendeeId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member AttendeeId must not be empty")} + } + if v.AttendeeId != nil { + if err := encoder.SetURI("AttendeeId").String(*v.AttendeeId); err != nil { + return err + } + } + + if v.MeetingId == nil || len(*v.MeetingId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member MeetingId must not be empty")} + } + if v.MeetingId != nil { + if err := encoder.SetURI("MeetingId").String(*v.MeetingId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentUpdateAttendeeCapabilitiesInput(v *UpdateAttendeeCapabilitiesInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Capabilities != nil { + ok := object.Key("Capabilities") + if err := awsRestjson1_serializeDocumentAttendeeCapabilities(v.Capabilities, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentAttendeeCapabilities(v *types.AttendeeCapabilities, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.Audio) > 0 { + ok := object.Key("Audio") + ok.String(string(v.Audio)) + } + + if len(v.Content) > 0 { + ok := object.Key("Content") + ok.String(string(v.Content)) + } + + if len(v.Video) > 0 { + ok := object.Key("Video") + ok.String(string(v.Video)) + } + + return nil +} + +func awsRestjson1_serializeDocumentAttendeeIdItem(v *types.AttendeeIdItem, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.AttendeeId != nil { + ok := object.Key("AttendeeId") + ok.String(*v.AttendeeId) + } + + return nil +} + +func awsRestjson1_serializeDocumentAttendeeIdsList(v []types.AttendeeIdItem, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentAttendeeIdItem(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentAudioFeatures(v *types.AudioFeatures, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -862,6 +1098,13 @@ func awsRestjson1_serializeDocumentCreateAttendeeRequestItem(v *types.CreateAtte object := value.Object() defer object.Close() + if v.Capabilities != nil { + ok := object.Key("Capabilities") + if err := awsRestjson1_serializeDocumentAttendeeCapabilities(v.Capabilities, ok); err != nil { + return err + } + } + if v.ExternalUserId != nil { ok := object.Key("ExternalUserId") ok.String(*v.ExternalUserId) diff --git a/service/chimesdkmeetings/types/enums.go b/service/chimesdkmeetings/types/enums.go index 15b393fbf7b..3ae0d676727 100644 --- a/service/chimesdkmeetings/types/enums.go +++ b/service/chimesdkmeetings/types/enums.go @@ -2,6 +2,28 @@ package types +type MediaCapabilities string + +// Enum values for MediaCapabilities +const ( + MediaCapabilitiesSendReceive MediaCapabilities = "SendReceive" + MediaCapabilitiesSend MediaCapabilities = "Send" + MediaCapabilitiesReceive MediaCapabilities = "Receive" + MediaCapabilitiesNone MediaCapabilities = "None" +) + +// Values returns all known values for MediaCapabilities. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (MediaCapabilities) Values() []MediaCapabilities { + return []MediaCapabilities{ + "SendReceive", + "Send", + "Receive", + "None", + } +} + type MeetingFeatureStatus string // Enum values for MeetingFeatureStatus diff --git a/service/chimesdkmeetings/types/errors.go b/service/chimesdkmeetings/types/errors.go index ee0525513f0..82e6fda0a67 100644 --- a/service/chimesdkmeetings/types/errors.go +++ b/service/chimesdkmeetings/types/errors.go @@ -29,6 +29,28 @@ func (e *BadRequestException) ErrorMessage() string { func (e *BadRequestException) ErrorCode() string { return "BadRequestException" } func (e *BadRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// Multiple instances of the same request have been made simultaneously. +type ConflictException struct { + Message *string + + Code *string + RequestId *string + + noSmithyDocumentSerde +} + +func (e *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ConflictException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ConflictException) ErrorCode() string { return "ConflictException" } +func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // The client is permanently forbidden from making the request. type ForbiddenException struct { Message *string @@ -95,7 +117,7 @@ func (e *NotFoundException) ErrorMessage() string { func (e *NotFoundException) ErrorCode() string { return "NotFoundException" } func (e *NotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The service encountered an unexpected error. +// The service is currently unavailable. type ServiceFailureException struct { Message *string @@ -140,7 +162,7 @@ func (e *ServiceUnavailableException) ErrorMessage() string { func (e *ServiceUnavailableException) ErrorCode() string { return "ServiceUnavailableException" } func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } -// The number of customer requests exceeds the request rate limit. +// The number of requests exceeds the limit. type ThrottlingException struct { Message *string diff --git a/service/chimesdkmeetings/types/types.go b/service/chimesdkmeetings/types/types.go index 32eff3dad0c..2108983a68d 100644 --- a/service/chimesdkmeetings/types/types.go +++ b/service/chimesdkmeetings/types/types.go @@ -18,6 +18,9 @@ type Attendee struct { // The Amazon Chime SDK attendee ID. AttendeeId *string + // The capabilities (audio, video, or content) assigned to an attendee. + Capabilities *AttendeeCapabilities + // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee // to an identity managed by a builder application. ExternalUserId *string @@ -28,6 +31,38 @@ type Attendee struct { noSmithyDocumentSerde } +// The media capabilities of an attendee, including audio, video and content. +type AttendeeCapabilities struct { + + // The audio capability assigned to an attendee. + // + // This member is required. + Audio MediaCapabilities + + // The content capability assigned to an attendee. + // + // This member is required. + Content MediaCapabilities + + // The video capability assigned to an attendee. + // + // This member is required. + Video MediaCapabilities + + noSmithyDocumentSerde +} + +// A structure that contains one or more attendee IDs. +type AttendeeIdItem struct { + + // A list of one or more attendee IDs. + // + // This member is required. + AttendeeId *string + + noSmithyDocumentSerde +} + // An optional category of meeting features that contains audio-specific // configurations, such as operating parameters for Amazon Voice Focus. type AudioFeatures struct { @@ -66,6 +101,9 @@ type CreateAttendeeRequestItem struct { // This member is required. ExternalUserId *string + // A list of one or more capabilities. + Capabilities *AttendeeCapabilities + noSmithyDocumentSerde } diff --git a/service/chimesdkmeetings/validators.go b/service/chimesdkmeetings/validators.go index af312bb3036..458019ec355 100644 --- a/service/chimesdkmeetings/validators.go +++ b/service/chimesdkmeetings/validators.go @@ -30,6 +30,26 @@ func (m *validateOpBatchCreateAttendee) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +type validateOpBatchUpdateAttendeeCapabilitiesExcept struct { +} + +func (*validateOpBatchUpdateAttendeeCapabilitiesExcept) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpBatchUpdateAttendeeCapabilitiesExcept) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*BatchUpdateAttendeeCapabilitiesExceptInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpBatchUpdateAttendeeCapabilitiesExceptInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateAttendee struct { } @@ -230,10 +250,34 @@ func (m *validateOpStopMeetingTranscription) HandleInitialize(ctx context.Contex return next.HandleInitialize(ctx, in) } +type validateOpUpdateAttendeeCapabilities struct { +} + +func (*validateOpUpdateAttendeeCapabilities) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateAttendeeCapabilities) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateAttendeeCapabilitiesInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateAttendeeCapabilitiesInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + func addOpBatchCreateAttendeeValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpBatchCreateAttendee{}, middleware.After) } +func addOpBatchUpdateAttendeeCapabilitiesExceptValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpBatchUpdateAttendeeCapabilitiesExcept{}, middleware.After) +} + func addOpCreateAttendeeValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateAttendee{}, middleware.After) } @@ -274,6 +318,63 @@ func addOpStopMeetingTranscriptionValidationMiddleware(stack *middleware.Stack) return stack.Initialize.Add(&validateOpStopMeetingTranscription{}, middleware.After) } +func addOpUpdateAttendeeCapabilitiesValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateAttendeeCapabilities{}, middleware.After) +} + +func validateAttendeeCapabilities(v *types.AttendeeCapabilities) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "AttendeeCapabilities"} + if len(v.Audio) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("Audio")) + } + if len(v.Video) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("Video")) + } + if len(v.Content) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("Content")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateAttendeeIdItem(v *types.AttendeeIdItem) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "AttendeeIdItem"} + if v.AttendeeId == nil { + invalidParams.Add(smithy.NewErrParamRequired("AttendeeId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateAttendeeIdsList(v []types.AttendeeIdItem) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "AttendeeIdsList"} + for i := range v { + if err := validateAttendeeIdItem(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateCreateAttendeeRequestItem(v *types.CreateAttendeeRequestItem) error { if v == nil { return nil @@ -282,6 +383,11 @@ func validateCreateAttendeeRequestItem(v *types.CreateAttendeeRequestItem) error if v.ExternalUserId == nil { invalidParams.Add(smithy.NewErrParamRequired("ExternalUserId")) } + if v.Capabilities != nil { + if err := validateAttendeeCapabilities(v.Capabilities); err != nil { + invalidParams.AddNested("Capabilities", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -383,6 +489,35 @@ func validateOpBatchCreateAttendeeInput(v *BatchCreateAttendeeInput) error { } } +func validateOpBatchUpdateAttendeeCapabilitiesExceptInput(v *BatchUpdateAttendeeCapabilitiesExceptInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "BatchUpdateAttendeeCapabilitiesExceptInput"} + if v.MeetingId == nil { + invalidParams.Add(smithy.NewErrParamRequired("MeetingId")) + } + if v.ExcludedAttendeeIds == nil { + invalidParams.Add(smithy.NewErrParamRequired("ExcludedAttendeeIds")) + } else if v.ExcludedAttendeeIds != nil { + if err := validateAttendeeIdsList(v.ExcludedAttendeeIds); err != nil { + invalidParams.AddNested("ExcludedAttendeeIds", err.(smithy.InvalidParamsError)) + } + } + if v.Capabilities == nil { + invalidParams.Add(smithy.NewErrParamRequired("Capabilities")) + } else if v.Capabilities != nil { + if err := validateAttendeeCapabilities(v.Capabilities); err != nil { + invalidParams.AddNested("Capabilities", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateAttendeeInput(v *CreateAttendeeInput) error { if v == nil { return nil @@ -394,6 +529,11 @@ func validateOpCreateAttendeeInput(v *CreateAttendeeInput) error { if v.ExternalUserId == nil { invalidParams.Add(smithy.NewErrParamRequired("ExternalUserId")) } + if v.Capabilities != nil { + if err := validateAttendeeCapabilities(v.Capabilities); err != nil { + invalidParams.AddNested("Capabilities", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -567,3 +707,28 @@ func validateOpStopMeetingTranscriptionInput(v *StopMeetingTranscriptionInput) e return nil } } + +func validateOpUpdateAttendeeCapabilitiesInput(v *UpdateAttendeeCapabilitiesInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateAttendeeCapabilitiesInput"} + if v.MeetingId == nil { + invalidParams.Add(smithy.NewErrParamRequired("MeetingId")) + } + if v.AttendeeId == nil { + invalidParams.Add(smithy.NewErrParamRequired("AttendeeId")) + } + if v.Capabilities == nil { + invalidParams.Add(smithy.NewErrParamRequired("Capabilities")) + } else if v.Capabilities != nil { + if err := validateAttendeeCapabilities(v.Capabilities); err != nil { + invalidParams.AddNested("Capabilities", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} diff --git a/service/chimesdkmessaging/CHANGELOG.md b/service/chimesdkmessaging/CHANGELOG.md index bf0fc333985..1dce1361d64 100644 --- a/service/chimesdkmessaging/CHANGELOG.md +++ b/service/chimesdkmessaging/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.10.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.10.0 (2022-06-06) + +* **Feature**: This release adds support for searching channels by members via the SearchChannels API, removes required restrictions for Name and Mode in UpdateChannel API and enhances CreateChannel API by exposing member and moderator list as well as channel id as optional parameters. + # v1.9.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/chimesdkmessaging/api_op_CreateChannel.go b/service/chimesdkmessaging/api_op_CreateChannel.go index 1e50b451a77..cfb6e401dd1 100644 --- a/service/chimesdkmessaging/api_op_CreateChannel.go +++ b/service/chimesdkmessaging/api_op_CreateChannel.go @@ -53,6 +53,12 @@ type CreateChannelInput struct { // This member is required. Name *string + // The ID of the channel in the request. + ChannelId *string + + // The ARNs of the channel members in the request. + MemberArns []string + // The metadata of the creation request. Limited to 1KB and UTF-8. Metadata *string @@ -61,6 +67,9 @@ type CreateChannelInput struct { // Only administrators and moderators can add members to restricted channels. Mode types.ChannelMode + // The ARNs of the channel moderators in the request. + ModeratorArns []string + // The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't // discoverable by users outside the channel. Public channels are discoverable by // anyone in the AppInstance. diff --git a/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go b/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go index a5182c2ee76..da35163b516 100644 --- a/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go @@ -53,7 +53,7 @@ type ListChannelMembershipsForAppInstanceUserInput struct { type ListChannelMembershipsForAppInstanceUserOutput struct { - // The token passed by previous API calls until all requested users are returned. + // The information for the requested channel memberships. ChannelMemberships []types.ChannelMembershipForAppInstanceUserSummary // The token passed by previous API calls until all requested users are returned. diff --git a/service/chimesdkmessaging/api_op_SearchChannels.go b/service/chimesdkmessaging/api_op_SearchChannels.go new file mode 100644 index 00000000000..ff95160d74a --- /dev/null +++ b/service/chimesdkmessaging/api_op_SearchChannels.go @@ -0,0 +1,228 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package chimesdkmessaging + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/chimesdkmessaging/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Allows an AppInstanceUser to search the channels that they belong to. The +// AppInstanceUser can search by membership or external ID. An AppInstanceAdmin can +// search across all channels within the AppInstance. +func (c *Client) SearchChannels(ctx context.Context, params *SearchChannelsInput, optFns ...func(*Options)) (*SearchChannelsOutput, error) { + if params == nil { + params = &SearchChannelsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "SearchChannels", params, optFns, c.addOperationSearchChannelsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*SearchChannelsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type SearchChannelsInput struct { + + // A list of the Field objects in the channel being searched. + // + // This member is required. + Fields []types.SearchField + + // The AppInstanceUserArn of the user making the API call. + ChimeBearer *string + + // The maximum number of channels that you want returned. + MaxResults *int32 + + // The token returned from previous API requests until the number of channels is + // reached. + NextToken *string + + noSmithyDocumentSerde +} + +type SearchChannelsOutput struct { + + // A list of the channels in the request. + Channels []types.ChannelSummary + + // The token returned from previous API responses until the number of channels is + // reached. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationSearchChannelsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpSearchChannels{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpSearchChannels{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpSearchChannelsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchChannels(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// SearchChannelsAPIClient is a client that implements the SearchChannels +// operation. +type SearchChannelsAPIClient interface { + SearchChannels(context.Context, *SearchChannelsInput, ...func(*Options)) (*SearchChannelsOutput, error) +} + +var _ SearchChannelsAPIClient = (*Client)(nil) + +// SearchChannelsPaginatorOptions is the paginator options for SearchChannels +type SearchChannelsPaginatorOptions struct { + // The maximum number of channels that you want returned. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// SearchChannelsPaginator is a paginator for SearchChannels +type SearchChannelsPaginator struct { + options SearchChannelsPaginatorOptions + client SearchChannelsAPIClient + params *SearchChannelsInput + nextToken *string + firstPage bool +} + +// NewSearchChannelsPaginator returns a new SearchChannelsPaginator +func NewSearchChannelsPaginator(client SearchChannelsAPIClient, params *SearchChannelsInput, optFns ...func(*SearchChannelsPaginatorOptions)) *SearchChannelsPaginator { + if params == nil { + params = &SearchChannelsInput{} + } + + options := SearchChannelsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &SearchChannelsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *SearchChannelsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next SearchChannels page. +func (p *SearchChannelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*SearchChannelsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.SearchChannels(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opSearchChannels(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "chime", + OperationName: "SearchChannels", + } +} diff --git a/service/chimesdkmessaging/api_op_UpdateChannel.go b/service/chimesdkmessaging/api_op_UpdateChannel.go index e23936a6782..ac938da2096 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannel.go +++ b/service/chimesdkmessaging/api_op_UpdateChannel.go @@ -42,19 +42,15 @@ type UpdateChannelInput struct { // This member is required. ChimeBearer *string + // The metadata for the update request. + Metadata *string + // The mode of the update request. - // - // This member is required. Mode types.ChannelMode // The name of the channel. - // - // This member is required. Name *string - // The metadata for the update request. - Metadata *string - noSmithyDocumentSerde } diff --git a/service/chimesdkmessaging/deserializers.go b/service/chimesdkmessaging/deserializers.go index 73a7560b792..aa082b34941 100644 --- a/service/chimesdkmessaging/deserializers.go +++ b/service/chimesdkmessaging/deserializers.go @@ -5912,6 +5912,9 @@ func awsRestjson1_deserializeOpErrorRedactChannelMessage(response *smithyhttp.Re case strings.EqualFold("BadRequestException", errorCode): return awsRestjson1_deserializeErrorBadRequestException(response, errorBody) + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + case strings.EqualFold("ForbiddenException", errorCode): return awsRestjson1_deserializeErrorForbiddenException(response, errorBody) @@ -5986,6 +5989,177 @@ func awsRestjson1_deserializeOpDocumentRedactChannelMessageOutput(v **RedactChan return nil } +type awsRestjson1_deserializeOpSearchChannels struct { +} + +func (*awsRestjson1_deserializeOpSearchChannels) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpSearchChannels) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorSearchChannels(response, &metadata) + } + output := &SearchChannelsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentSearchChannelsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorSearchChannels(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("BadRequestException", errorCode): + return awsRestjson1_deserializeErrorBadRequestException(response, errorBody) + + case strings.EqualFold("ForbiddenException", errorCode): + return awsRestjson1_deserializeErrorForbiddenException(response, errorBody) + + case strings.EqualFold("ServiceFailureException", errorCode): + return awsRestjson1_deserializeErrorServiceFailureException(response, errorBody) + + case strings.EqualFold("ServiceUnavailableException", errorCode): + return awsRestjson1_deserializeErrorServiceUnavailableException(response, errorBody) + + case strings.EqualFold("ThrottledClientException", errorCode): + return awsRestjson1_deserializeErrorThrottledClientException(response, errorBody) + + case strings.EqualFold("UnauthorizedClientException", errorCode): + return awsRestjson1_deserializeErrorUnauthorizedClientException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentSearchChannelsOutput(v **SearchChannelsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *SearchChannelsOutput + if *v == nil { + sv = &SearchChannelsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Channels": + if err := awsRestjson1_deserializeDocumentChannelSummaryList(&sv.Channels, value); err != nil { + return err + } + + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpSendChannelMessage struct { } diff --git a/service/chimesdkmessaging/doc.go b/service/chimesdkmessaging/doc.go index bede864e660..9d44d7bbba9 100644 --- a/service/chimesdkmessaging/doc.go +++ b/service/chimesdkmessaging/doc.go @@ -7,5 +7,5 @@ // send and receive messages in custom messaging applications. These APIs depend on // the frameworks provided by the Amazon Chime SDK Identity APIs. For more // information about the messaging APIs, see Amazon Chime SDK messaging -// (https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging) +// (https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html). package chimesdkmessaging diff --git a/service/chimesdkmessaging/generated.json b/service/chimesdkmessaging/generated.json index 143fff847c9..209dee024ac 100644 --- a/service/chimesdkmessaging/generated.json +++ b/service/chimesdkmessaging/generated.json @@ -46,6 +46,7 @@ "api_op_ListTagsForResource.go", "api_op_PutChannelMembershipPreferences.go", "api_op_RedactChannelMessage.go", + "api_op_SearchChannels.go", "api_op_SendChannelMessage.go", "api_op_TagResource.go", "api_op_UntagResource.go", diff --git a/service/chimesdkmessaging/go.mod b/service/chimesdkmessaging/go.mod index 30b7e432811..531ca389cc3 100644 --- a/service/chimesdkmessaging/go.mod +++ b/service/chimesdkmessaging/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/chimesdkmessaging go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkmessaging/go.sum b/service/chimesdkmessaging/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/chimesdkmessaging/go.sum +++ b/service/chimesdkmessaging/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/chimesdkmessaging/go_module_metadata.go b/service/chimesdkmessaging/go_module_metadata.go index d723fb1f0c0..d23c95a2ed4 100644 --- a/service/chimesdkmessaging/go_module_metadata.go +++ b/service/chimesdkmessaging/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmessaging // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.6" +const goModuleVersion = "1.10.1" diff --git a/service/chimesdkmessaging/serializers.go b/service/chimesdkmessaging/serializers.go index 9cf94fcd872..8db2649f2de 100644 --- a/service/chimesdkmessaging/serializers.go +++ b/service/chimesdkmessaging/serializers.go @@ -361,11 +361,23 @@ func awsRestjson1_serializeOpDocumentCreateChannelInput(v *CreateChannelInput, v ok.String(*v.AppInstanceArn) } + if v.ChannelId != nil { + ok := object.Key("ChannelId") + ok.String(*v.ChannelId) + } + if v.ClientRequestToken != nil { ok := object.Key("ClientRequestToken") ok.String(*v.ClientRequestToken) } + if v.MemberArns != nil { + ok := object.Key("MemberArns") + if err := awsRestjson1_serializeDocumentChannelMemberArns(v.MemberArns, ok); err != nil { + return err + } + } + if v.Metadata != nil { ok := object.Key("Metadata") ok.String(*v.Metadata) @@ -376,6 +388,13 @@ func awsRestjson1_serializeOpDocumentCreateChannelInput(v *CreateChannelInput, v ok.String(string(v.Mode)) } + if v.ModeratorArns != nil { + ok := object.Key("ModeratorArns") + if err := awsRestjson1_serializeDocumentChannelModeratorArns(v.ModeratorArns, ok); err != nil { + return err + } + } + if v.Name != nil { ok := object.Key("Name") ok.String(*v.Name) @@ -2810,6 +2829,93 @@ func awsRestjson1_serializeOpHttpBindingsRedactChannelMessageInput(v *RedactChan return nil } +type awsRestjson1_serializeOpSearchChannels struct { +} + +func (*awsRestjson1_serializeOpSearchChannels) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpSearchChannels) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*SearchChannelsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/channels?operation=search") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsSearchChannelsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentSearchChannelsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsSearchChannelsInput(v *SearchChannelsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ChimeBearer != nil && len(*v.ChimeBearer) > 0 { + locationName := "X-Amz-Chime-Bearer" + encoder.SetHeader(locationName).String(*v.ChimeBearer) + } + + if v.MaxResults != nil { + encoder.SetQuery("max-results").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("next-token").String(*v.NextToken) + } + + return nil +} + +func awsRestjson1_serializeOpDocumentSearchChannelsInput(v *SearchChannelsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Fields != nil { + ok := object.Key("Fields") + if err := awsRestjson1_serializeDocumentSearchFields(v.Fields, ok); err != nil { + return err + } + } + + return nil +} + type awsRestjson1_serializeOpSendChannelMessage struct { } @@ -3427,6 +3533,17 @@ func awsRestjson1_serializeOpHttpBindingsUpdateChannelReadMarkerInput(v *UpdateC return nil } +func awsRestjson1_serializeDocumentChannelMemberArns(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsRestjson1_serializeDocumentChannelMembershipPreferences(v *types.ChannelMembershipPreferences, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3477,6 +3594,17 @@ func awsRestjson1_serializeDocumentChannelMessageCallback(v *types.ChannelMessag return nil } +func awsRestjson1_serializeDocumentChannelModeratorArns(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsRestjson1_serializeDocumentLambdaConfiguration(v *types.LambdaConfiguration, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3639,6 +3767,54 @@ func awsRestjson1_serializeDocumentPushNotificationPreferences(v *types.PushNoti return nil } +func awsRestjson1_serializeDocumentSearchField(v *types.SearchField, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.Key) > 0 { + ok := object.Key("Key") + ok.String(string(v.Key)) + } + + if len(v.Operator) > 0 { + ok := object.Key("Operator") + ok.String(string(v.Operator)) + } + + if v.Values != nil { + ok := object.Key("Values") + if err := awsRestjson1_serializeDocumentSearchFieldValues(v.Values, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentSearchFields(v []types.SearchField, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentSearchField(&v[i], av); err != nil { + return err + } + } + return nil +} + +func awsRestjson1_serializeDocumentSearchFieldValues(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsRestjson1_serializeDocumentTag(v *types.Tag, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/chimesdkmessaging/types/enums.go b/service/chimesdkmessaging/types/enums.go index eb5907af1ce..c93bd170714 100644 --- a/service/chimesdkmessaging/types/enums.go +++ b/service/chimesdkmessaging/types/enums.go @@ -231,6 +231,40 @@ func (PushNotificationType) Values() []PushNotificationType { } } +type SearchFieldKey string + +// Enum values for SearchFieldKey +const ( + SearchFieldKeyMembers SearchFieldKey = "MEMBERS" +) + +// Values returns all known values for SearchFieldKey. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (SearchFieldKey) Values() []SearchFieldKey { + return []SearchFieldKey{ + "MEMBERS", + } +} + +type SearchFieldOperator string + +// Enum values for SearchFieldOperator +const ( + SearchFieldOperatorEquals SearchFieldOperator = "EQUALS" + SearchFieldOperatorIncludes SearchFieldOperator = "INCLUDES" +) + +// Values returns all known values for SearchFieldOperator. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (SearchFieldOperator) Values() []SearchFieldOperator { + return []SearchFieldOperator{ + "EQUALS", + "INCLUDES", + } +} + type SortOrder string // Enum values for SortOrder diff --git a/service/chimesdkmessaging/types/types.go b/service/chimesdkmessaging/types/types.go index fd3ef4c2894..307cc9f98ef 100644 --- a/service/chimesdkmessaging/types/types.go +++ b/service/chimesdkmessaging/types/types.go @@ -10,7 +10,7 @@ import ( // Summary of the membership details of an AppInstanceUser. type AppInstanceUserMembershipSummary struct { - // The time at which a message was last read. + // The time at which an AppInstanceUser last marked a channel as read. ReadMarkerTimestamp *time.Time // The type of ChannelMembership. @@ -529,12 +529,42 @@ type PushNotificationPreferences struct { AllowNotifications AllowNotifications // The simple JSON object used to send a subset of a push notification to the - // requsted member. + // requested member. FilterRule *string noSmithyDocumentSerde } +// A Field of the channel that you want to search. +type SearchField struct { + + // An enum value that indicates the key to search the channel on. MEMBERS allows + // you to search channels based on memberships. You can use it with the EQUALS + // operator to get channels whose memberships are equal to the specified values, + // and with the INCLUDES operator to get channels whose memberships include the + // specified values. + // + // This member is required. + Key SearchFieldKey + + // The operator used to compare field values, currently EQUALS or INCLUDES. Use the + // EQUALS operator to find channels whose memberships equal the specified values. + // Use the INCLUDES operator to find channels whose memberships include the + // specified values. + // + // This member is required. + Operator SearchFieldOperator + + // The values that you want to search for, a list of strings. The values must be + // AppInstanceUserArns specified as a list of strings. This operation isn't + // supported for AppInstanceUsers with large number of memberships. + // + // This member is required. + Values []string + + noSmithyDocumentSerde +} + // A tag object containing a key-value pair. type Tag struct { diff --git a/service/chimesdkmessaging/validators.go b/service/chimesdkmessaging/validators.go index 9df9f9b3a74..c865510dbdd 100644 --- a/service/chimesdkmessaging/validators.go +++ b/service/chimesdkmessaging/validators.go @@ -750,6 +750,26 @@ func (m *validateOpRedactChannelMessage) HandleInitialize(ctx context.Context, i return next.HandleInitialize(ctx, in) } +type validateOpSearchChannels struct { +} + +func (*validateOpSearchChannels) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpSearchChannels) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*SearchChannelsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpSearchChannelsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpSendChannelMessage struct { } @@ -1038,6 +1058,10 @@ func addOpRedactChannelMessageValidationMiddleware(stack *middleware.Stack) erro return stack.Initialize.Add(&validateOpRedactChannelMessage{}, middleware.After) } +func addOpSearchChannelsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpSearchChannels{}, middleware.After) +} + func addOpSendChannelMessageValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpSendChannelMessage{}, middleware.After) } @@ -1195,6 +1219,44 @@ func validatePushNotificationPreferences(v *types.PushNotificationPreferences) e } } +func validateSearchField(v *types.SearchField) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "SearchField"} + if len(v.Key) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("Key")) + } + if v.Values == nil { + invalidParams.Add(smithy.NewErrParamRequired("Values")) + } + if len(v.Operator) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("Operator")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateSearchFields(v []types.SearchField) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "SearchFields"} + for i := range v { + if err := validateSearchField(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateTag(v *types.Tag) error { if v == nil { return nil @@ -1978,6 +2040,25 @@ func validateOpRedactChannelMessageInput(v *RedactChannelMessageInput) error { } } +func validateOpSearchChannelsInput(v *SearchChannelsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "SearchChannelsInput"} + if v.Fields == nil { + invalidParams.Add(smithy.NewErrParamRequired("Fields")) + } else if v.Fields != nil { + if err := validateSearchFields(v.Fields); err != nil { + invalidParams.AddNested("Fields", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpSendChannelMessageInput(v *SendChannelMessageInput) error { if v == nil { return nil @@ -2081,12 +2162,6 @@ func validateOpUpdateChannelInput(v *UpdateChannelInput) error { if v.ChannelArn == nil { invalidParams.Add(smithy.NewErrParamRequired("ChannelArn")) } - if v.Name == nil { - invalidParams.Add(smithy.NewErrParamRequired("Name")) - } - if len(v.Mode) == 0 { - invalidParams.Add(smithy.NewErrParamRequired("Mode")) - } if v.ChimeBearer == nil { invalidParams.Add(smithy.NewErrParamRequired("ChimeBearer")) } diff --git a/service/cloud9/CHANGELOG.md b/service/cloud9/CHANGELOG.md index daa422dc1ea..f7b947689d4 100644 --- a/service/cloud9/CHANGELOG.md +++ b/service/cloud9/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloud9/go.mod b/service/cloud9/go.mod index 7be66132c99..fe2212aa37b 100644 --- a/service/cloud9/go.mod +++ b/service/cloud9/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloud9 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloud9/go.sum b/service/cloud9/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloud9/go.sum +++ b/service/cloud9/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloud9/go_module_metadata.go b/service/cloud9/go_module_metadata.go index 3e4a7c46430..3ae749be8c0 100644 --- a/service/cloud9/go_module_metadata.go +++ b/service/cloud9/go_module_metadata.go @@ -3,4 +3,4 @@ package cloud9 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.5" +const goModuleVersion = "1.16.6" diff --git a/service/cloudcontrol/CHANGELOG.md b/service/cloudcontrol/CHANGELOG.md index be83e96053d..8a7944b61df 100644 --- a/service/cloudcontrol/CHANGELOG.md +++ b/service/cloudcontrol/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.10.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudcontrol/go.mod b/service/cloudcontrol/go.mod index 144d290675c..20a560ffea0 100644 --- a/service/cloudcontrol/go.mod +++ b/service/cloudcontrol/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudcontrol go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudcontrol/go.sum b/service/cloudcontrol/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/cloudcontrol/go.sum +++ b/service/cloudcontrol/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/cloudcontrol/go_module_metadata.go b/service/cloudcontrol/go_module_metadata.go index 0f723dd0fba..c7bf71090a3 100644 --- a/service/cloudcontrol/go_module_metadata.go +++ b/service/cloudcontrol/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudcontrol // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.1" +const goModuleVersion = "1.10.2" diff --git a/service/clouddirectory/CHANGELOG.md b/service/clouddirectory/CHANGELOG.md index e2750ff0f0f..de7ba132355 100644 --- a/service/clouddirectory/CHANGELOG.md +++ b/service/clouddirectory/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/clouddirectory/go.mod b/service/clouddirectory/go.mod index 9e5f8be517c..2e8b1af079e 100644 --- a/service/clouddirectory/go.mod +++ b/service/clouddirectory/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/clouddirectory go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/clouddirectory/go.sum b/service/clouddirectory/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/clouddirectory/go.sum +++ b/service/clouddirectory/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/clouddirectory/go_module_metadata.go b/service/clouddirectory/go_module_metadata.go index ae6f794d9d2..a9e45733ab3 100644 --- a/service/clouddirectory/go_module_metadata.go +++ b/service/clouddirectory/go_module_metadata.go @@ -3,4 +3,4 @@ package clouddirectory // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/cloudformation/CHANGELOG.md b/service/cloudformation/CHANGELOG.md index 9f7bc99d647..a49b8bee225 100644 --- a/service/cloudformation/CHANGELOG.md +++ b/service/cloudformation/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.21.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.21.0 (2022-05-25) + +* **Feature**: Add a new parameter statusReason to DescribeStackSetOperation output for additional details + # v1.20.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudformation/api_op_ActivateType.go b/service/cloudformation/api_op_ActivateType.go index 38ffaf9953e..4372ce66c1f 100644 --- a/service/cloudformation/api_op_ActivateType.go +++ b/service/cloudformation/api_op_ActivateType.go @@ -54,7 +54,7 @@ type ActivateTypeInput struct { // specify MajorVersion or VersionBump, but not both. MajorVersion *int64 - // The Amazon Resource Number (ARN) of the public extension. Conditional: You must + // The Amazon Resource Name (ARN) of the public extension. Conditional: You must // specify PublicTypeArn, or TypeName, Type, and PublisherId. PublicTypeArn *string @@ -95,7 +95,7 @@ type ActivateTypeInput struct { type ActivateTypeOutput struct { - // The Amazon Resource Number (ARN) of the activated extension, in this account and + // The Amazon Resource Name (ARN) of the activated extension, in this account and // region. Arn *string diff --git a/service/cloudformation/api_op_CreateChangeSet.go b/service/cloudformation/api_op_CreateChangeSet.go index f51cafce7d2..25660f8a360 100644 --- a/service/cloudformation/api_op_CreateChangeSet.go +++ b/service/cloudformation/api_op_CreateChangeSet.go @@ -85,7 +85,7 @@ type CreateChangeSetInput struct { // these capabilities, CloudFormation returns an InsufficientCapabilities // error. // - // If your stack template contains these resources, we recommend that you + // If your stack template contains these resources, we suggest that you // review all permissions associated with them and edit their permissions if // necessary. // @@ -138,8 +138,8 @@ type CreateChangeSetInput struct { // no effect. If you want to create a stack from a stack template that contains // macros and nested stacks, you must create or update the stack directly from the // template using the CreateStack or UpdateStack action, and specifying this - // capability. For more information on macros, see Using CloudFormation macros to - // perform custom processing on templates + // capability. For more information about macros, see Using CloudFormation macros + // to perform custom processing on templates // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). Capabilities []types.Capability diff --git a/service/cloudformation/api_op_CreateStackSet.go b/service/cloudformation/api_op_CreateStackSet.go index 02c01868269..0d69ff7e5f0 100644 --- a/service/cloudformation/api_op_CreateStackSet.go +++ b/service/cloudformation/api_op_CreateStackSet.go @@ -38,8 +38,8 @@ type CreateStackSetInput struct { // This member is required. StackSetName *string - // The Amazon Resource Number (ARN) of the IAM role to use to create this stack - // set. Specify an IAM role only if you are using customized administrator roles to + // The Amazon Resource Name (ARN) of the IAM role to use to create this stack set. + // Specify an IAM role only if you are using customized administrator roles to // control which users or groups can manage specific stack sets within the same // administrator account. For more information, see Prerequisites: Granting // Permissions for Stack Set Operations @@ -189,7 +189,7 @@ type CreateStackSetInput struct { PermissionModel types.PermissionModels // The stack ID you are importing into a new stack set. Specify the Amazon Resource - // Number (ARN) of the stack. + // Name (ARN) of the stack. StackId *string // The key-value pairs to associate with this stack set and the stacks created from diff --git a/service/cloudformation/api_op_DeleteStackSet.go b/service/cloudformation/api_op_DeleteStackSet.go index bd80300f26c..e8a6e35cd99 100644 --- a/service/cloudformation/api_op_DeleteStackSet.go +++ b/service/cloudformation/api_op_DeleteStackSet.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a stack set. Before you can delete a stack set, all of its member stack -// instances must be deleted. For more information about how to do this, see +// Deletes a stack set. Before you can delete a stack set, all its member stack +// instances must be deleted. For more information about how to complete this, see // DeleteStackInstances. func (c *Client) DeleteStackSet(ctx context.Context, params *DeleteStackSetInput, optFns ...func(*Options)) (*DeleteStackSetOutput, error) { if params == nil { diff --git a/service/cloudformation/api_op_DescribePublisher.go b/service/cloudformation/api_op_DescribePublisher.go index 65f369f1a89..7402c59a881 100644 --- a/service/cloudformation/api_op_DescribePublisher.go +++ b/service/cloudformation/api_op_DescribePublisher.go @@ -14,7 +14,7 @@ import ( // Returns information about a CloudFormation extension publisher. If you don't // supply a PublisherId, and you have registered as an extension publisher, // DescribePublisher returns information about your own publisher account. For more -// information on registering as a publisher, see: +// information about registering as a publisher, see: // // * RegisterPublisher // (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html) diff --git a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go index 85eae69f48d..58c58482c21 100644 --- a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go +++ b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go @@ -16,7 +16,7 @@ import ( // detection operation detects whether a stack's actual configuration differs, or // has drifted, from it's expected configuration, as defined in the stack template // and any values specified as template parameters. A stack is considered to have -// drifted if one or more of its resources have drifted. For more information on +// drifted if one or more of its resources have drifted. For more information about // stack and resource drift, see Detecting Unregulated Configuration Changes to // Stacks and Resources // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). diff --git a/service/cloudformation/api_op_DescribeStackResourceDrifts.go b/service/cloudformation/api_op_DescribeStackResourceDrifts.go index 0df961f80eb..10b35f326c6 100644 --- a/service/cloudformation/api_op_DescribeStackResourceDrifts.go +++ b/service/cloudformation/api_op_DescribeStackResourceDrifts.go @@ -88,8 +88,8 @@ type DescribeStackResourceDriftsOutput struct { // This member is required. StackResourceDrifts []types.StackResourceDrift - // If the request doesn't return all of the remaining results, NextToken is set to - // a token. To retrieve the next set of results, call DescribeStackResourceDrifts + // If the request doesn't return all the remaining results, NextToken is set to a + // token. To retrieve the next set of results, call DescribeStackResourceDrifts // again and assign that token to the request object's NextToken parameter. If the // request returns all results, NextToken is set to null. NextToken *string diff --git a/service/cloudformation/api_op_DescribeType.go b/service/cloudformation/api_op_DescribeType.go index 46e242a42d3..445591cf5c9 100644 --- a/service/cloudformation/api_op_DescribeType.go +++ b/service/cloudformation/api_op_DescribeType.go @@ -40,8 +40,8 @@ type DescribeTypeInput struct { // The version number of a public third-party extension. PublicVersionNumber *string - // The publisher ID of the extension publisher. Extensions provided by Amazon are - // not assigned a publisher ID. + // The publisher ID of the extension publisher. Extensions provided by Amazon Web + // Services are not assigned a publisher ID. PublisherId *string // The kind of extension. Conditional: You must specify either TypeName and Type, @@ -86,8 +86,8 @@ type DescribeTypeOutput struct { // The ID of the default version of the extension. The default version is used when // the extension version isn't specified. This applies only to private extensions // you have registered in your account. For public extensions, both those provided - // by Amazon and published by third parties, CloudFormation returns null. For more - // information, see RegisterType + // by Amazon Web Services and published by third parties, CloudFormation returns + // null. For more information, see RegisterType // (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). // To set the default version of an extension, use SetTypeDefaultVersion. DefaultVersionId *string @@ -124,15 +124,15 @@ type DescribeTypeOutput struct { // role to provide your extension with the appropriate credentials. ExecutionRoleArn *string - // Whether or not the extension is activated in the account and region. This only - // applies to public third-party extensions. For all other extensions, - // CloudFormation returns null. + // Whether the extension is activated in the account and region. This only applies + // to public third-party extensions. For all other extensions, CloudFormation + // returns null. IsActivated *bool // Whether the specified extension version is set as the default version. This // applies only to private extensions you have registered in your account, and - // extensions published by Amazon. For public third-party extensions, whether or - // not they are activated in your account, CloudFormation returns null. + // extensions published by Amazon Web Services. For public third-party extensions, + // whether they are activated in your account, CloudFormation returns null. IsDefaultVersion *bool // When the specified extension version was registered. This applies only to: @@ -155,8 +155,8 @@ type DescribeTypeOutput struct { // Contains logging configuration information for private extensions. This applies // only to private extensions you have registered in your account. For public - // extensions, both those provided by Amazon and published by third parties, - // CloudFormation returns null. For more information, see RegisterType + // extensions, both those provided by Amazon Web Services and published by third + // parties, CloudFormation returns null. For more information, see RegisterType // (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). LoggingConfig *types.LoggingConfig @@ -212,7 +212,7 @@ type DescribeTypeOutput struct { // activated in your account in order for the module itself to be activated. RequiredActivatedTypes []types.RequiredActivatedType - // The schema that defines the extension. For more information on extension + // The schema that defines the extension. For more information about extension // schemas, see Resource Provider Schema // (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html) // in the CloudFormation CLI User Guide. @@ -237,12 +237,12 @@ type DescribeTypeOutput struct { // The contract test status of the registered extension version. To return the // extension test status of a specific extension version, you must specify // VersionId. This applies only to registered private extension versions. - // CloudFormation doesn't return this information for public extensions, whether or - // not they are activated in your account. + // CloudFormation doesn't return this information for public extensions, whether + // they are activated in your account. // - // * PASSED: The extension has passed all - // its contract tests. An extension must have a test status of PASSED before it can - // be published. For more information, see Publishing extensions to make them + // * PASSED: The extension has passed all its + // contract tests. An extension must have a test status of PASSED before it can be + // published. For more information, see Publishing extensions to make them // available for public use // (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html) // in the CloudFormation Command Line Interface User Guide. @@ -260,8 +260,7 @@ type DescribeTypeOutput struct { // The description of the test status. To return the extension test status of a // specific extension version, you must specify VersionId. This applies only to // registered private extension versions. CloudFormation doesn't return this - // information for public extensions, whether or not they are activated in your - // account. + // information for public extensions, whether they are activated in your account. TypeTestsStatusDescription *string // The scope at which the extension is visible and usable in CloudFormation @@ -272,7 +271,7 @@ type DescribeTypeOutput struct { // extensions you register as PRIVATE. // // * PUBLIC: The extension is publicly visible - // and usable within any Amazon account. + // and usable within any Amazon Web Services account. Visibility types.Visibility // Metadata pertaining to the operation's result. diff --git a/service/cloudformation/api_op_DetectStackSetDrift.go b/service/cloudformation/api_op_DetectStackSetDrift.go index f401661fb61..48199b2d780 100644 --- a/service/cloudformation/api_op_DetectStackSetDrift.go +++ b/service/cloudformation/api_op_DetectStackSetDrift.go @@ -38,7 +38,7 @@ import ( // detailed information about a specific stack instance, including its drift status // and last drift time checked. // -// For more information on performing a drift +// For more information about performing a drift // detection operation on a stack set, see Detecting unmanaged changes in stack // sets // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html). @@ -86,7 +86,7 @@ type DetectStackSetDriftInput struct { OperationId *string // The user-specified preferences for how CloudFormation performs a stack set - // operation. For more information on maximum concurrent accounts and failure + // operation. For more information about maximum concurrent accounts and failure // tolerance, see Stack set operation options // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). OperationPreferences *types.StackSetOperationPreferences diff --git a/service/cloudformation/api_op_ImportStacksToStackSet.go b/service/cloudformation/api_op_ImportStacksToStackSet.go index df7b791ea80..116318e5c26 100644 --- a/service/cloudformation/api_op_ImportStacksToStackSet.go +++ b/service/cloudformation/api_op_ImportStacksToStackSet.go @@ -53,7 +53,7 @@ type ImportStacksToStackSetInput struct { OperationId *string // The user-specified preferences for how CloudFormation performs a stack set - // operation. For more information on maximum concurrent accounts and failure + // operation. For more information about maximum concurrent accounts and failure // tolerance, see Stack set operation options // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). OperationPreferences *types.StackSetOperationPreferences diff --git a/service/cloudformation/api_op_ListStackInstances.go b/service/cloudformation/api_op_ListStackInstances.go index fb4df69cb8c..c9ad631839e 100644 --- a/service/cloudformation/api_op_ListStackInstances.go +++ b/service/cloudformation/api_op_ListStackInstances.go @@ -64,9 +64,9 @@ type ListStackInstancesInput struct { // of results. MaxResults *int32 - // If the previous request didn't return all of the remaining results, the - // response's NextToken parameter value is set to a token. To retrieve the next set - // of results, call ListStackInstances again and assign that token to the request + // If the previous request didn't return all the remaining results, the response's + // NextToken parameter value is set to a token. To retrieve the next set of + // results, call ListStackInstances again and assign that token to the request // object's NextToken parameter. If there are no remaining results, the previous // response object's NextToken parameter is set to null. NextToken *string diff --git a/service/cloudformation/api_op_ListStackSetOperationResults.go b/service/cloudformation/api_op_ListStackSetOperationResults.go index ed793ee995c..b46c2cf19f1 100644 --- a/service/cloudformation/api_op_ListStackSetOperationResults.go +++ b/service/cloudformation/api_op_ListStackSetOperationResults.go @@ -63,7 +63,7 @@ type ListStackSetOperationResultsInput struct { // of results. MaxResults *int32 - // If the previous request didn't return all of the remaining results, the response + // If the previous request didn't return all the remaining results, the response // object's NextToken parameter value is set to a token. To retrieve the next set // of results, call ListStackSetOperationResults again and assign that token to the // request object's NextToken parameter. If there are no remaining results, the diff --git a/service/cloudformation/api_op_ListTypeRegistrations.go b/service/cloudformation/api_op_ListTypeRegistrations.go index cd0e6fdd0a0..b36916d8cf3 100644 --- a/service/cloudformation/api_op_ListTypeRegistrations.go +++ b/service/cloudformation/api_op_ListTypeRegistrations.go @@ -64,8 +64,8 @@ type ListTypeRegistrationsInput struct { type ListTypeRegistrationsOutput struct { - // If the request doesn't return all of the remaining results, NextToken is set to - // a token. To retrieve the next set of results, call this action again and assign + // If the request doesn't return all the remaining results, NextToken is set to a + // token. To retrieve the next set of results, call this action again and assign // that token to the request object's NextToken parameter. If the request returns // all results, NextToken is set to null. NextToken *string diff --git a/service/cloudformation/api_op_ListTypes.go b/service/cloudformation/api_op_ListTypes.go index 3cb9e25414a..6ba187e306a 100644 --- a/service/cloudformation/api_op_ListTypes.go +++ b/service/cloudformation/api_op_ListTypes.go @@ -53,11 +53,11 @@ type ListTypesInput struct { // of results. MaxResults *int32 - // If the previous paginated request didn't return all of the remaining results, - // the response object's NextToken parameter value is set to a token. To retrieve - // the next set of results, call this action again and assign that token to the - // request object's NextToken parameter. If there are no remaining results, the - // previous response object's NextToken parameter is set to null. + // If the previous paginated request didn't return all the remaining results, the + // response object's NextToken parameter value is set to a token. To retrieve the + // next set of results, call this action again and assign that token to the request + // object's NextToken parameter. If there are no remaining results, the previous + // response object's NextToken parameter is set to null. NextToken *string // For resource types, the provisioning behavior of the resource type. @@ -96,11 +96,11 @@ type ListTypesInput struct { // activated in this account and region. // // * PUBLIC: Extensions that are publicly - // visible and available to be activated within any Amazon account. This includes - // extensions from Amazon, as well as third-party publishers. + // visible and available to be activated within any Amazon Web Services account. + // This includes extensions from Amazon Web Services, in addition to third-party + // publishers. // - // The default is - // PRIVATE. + // The default is PRIVATE. Visibility types.Visibility noSmithyDocumentSerde diff --git a/service/cloudformation/api_op_PublishType.go b/service/cloudformation/api_op_PublishType.go index 719bab69182..8a1abbfc7c0 100644 --- a/service/cloudformation/api_op_PublishType.go +++ b/service/cloudformation/api_op_PublishType.go @@ -13,7 +13,7 @@ import ( // Publishes the specified extension to the CloudFormation registry as a public // extension in this region. Public extensions are available for use by all -// CloudFormation users. For more information on publishing extensions, see +// CloudFormation users. For more information about publishing extensions, see // Publishing extensions to make them available for public use // (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html) // in the CloudFormation CLI User Guide. To publish an extension, you must be @@ -37,7 +37,7 @@ func (c *Client) PublishType(ctx context.Context, params *PublishTypeInput, optF type PublishTypeInput struct { - // The Amazon Resource Number (ARN) of the extension. Conditional: You must specify + // The Amazon Resource Name (ARN) of the extension. Conditional: You must specify // Arn, or TypeName and Type. Arn *string @@ -63,7 +63,7 @@ type PublishTypeInput struct { type PublishTypeOutput struct { - // The Amazon Resource Number (ARN) assigned to the public extension upon + // The Amazon Resource Name (ARN) assigned to the public extension upon // publication. PublicTypeArn *string diff --git a/service/cloudformation/api_op_RegisterPublisher.go b/service/cloudformation/api_op_RegisterPublisher.go index ba33592d28e..b3ffc0f2b25 100644 --- a/service/cloudformation/api_op_RegisterPublisher.go +++ b/service/cloudformation/api_op_RegisterPublisher.go @@ -13,8 +13,8 @@ import ( // Registers your account as a publisher of public extensions in the CloudFormation // registry. Public extensions are available for use by all CloudFormation users. // This publisher ID applies to your account in all Amazon Web Services Regions. -// For information on requirements for registering as a public extension publisher, -// see Registering your account to publish CloudFormation extensions +// For information about requirements for registering as a public extension +// publisher, see Registering your account to publish CloudFormation extensions // (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs) // in the CloudFormation CLI User Guide. func (c *Client) RegisterPublisher(ctx context.Context, params *RegisterPublisherInput, optFns ...func(*Options)) (*RegisterPublisherOutput, error) { diff --git a/service/cloudformation/api_op_RegisterType.go b/service/cloudformation/api_op_RegisterType.go index ddc105b830f..b6981a5cfbc 100644 --- a/service/cloudformation/api_op_RegisterType.go +++ b/service/cloudformation/api_op_RegisterType.go @@ -23,9 +23,9 @@ import ( // * // Making the extension available for use in your account. // -// For more information on -// how to develop extensions and ready them for registration, see Creating Resource -// Providers +// For more information +// about how to develop extensions and ready them for registration, see Creating +// Resource Providers // (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html) // in the CloudFormation CLI User Guide. You can have a maximum of 50 resource // extension versions registered at a time. This maximum is per account and per @@ -55,9 +55,9 @@ func (c *Client) RegisterType(ctx context.Context, params *RegisterTypeInput, op type RegisterTypeInput struct { // A URL to the S3 bucket containing the extension project package that contains - // the necessary files for the extension you want to register. For information on - // generating a schema handler package for the extension you want to register, see - // submit + // the necessary files for the extension you want to register. For information + // about generating a schema handler package for the extension you want to + // register, see submit // (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html) // in the CloudFormation CLI User Guide. The user registering the extension must be // able to access the package in the S3 bucket. That's, the user needs to have @@ -70,7 +70,7 @@ type RegisterTypeInput struct { // This member is required. SchemaHandlerPackage *string - // The name of the extension being registered. We recommend that extension names + // The name of the extension being registered. We suggest that extension names // adhere to the following patterns: // // * For resource types, @@ -79,15 +79,18 @@ type RegisterTypeInput struct { // * For modules, // company_or_organization::service::type::MODULE. // - // The following organization - // namespaces are reserved and can't be used in your extension names: + // * For hooks, + // MyCompany::Testing::MyTestHook. + // + // The following organization namespaces are + // reserved and can't be used in your extension names: // // * Alexa // - // * - // AMZN + // * AMZN // - // * Amazon + // * + // Amazon // // * AWS // @@ -107,7 +110,7 @@ type RegisterTypeInput struct { // The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when // invoking the extension. For CloudFormation to assume the specified execution // role, the role must contain a trust relationship with the CloudFormation service - // principle (resources.cloudformation.amazonaws.com). For more information on + // principle (resources.cloudformation.amazonaws.com). For more information about // adding trust relationships, see Modifying a role trust policy in the Identity // and Access Management User Guide. If your extension calls Amazon Web Services // APIs in any of its handlers, you must create an IAM execution role diff --git a/service/cloudformation/api_op_UpdateStack.go b/service/cloudformation/api_op_UpdateStack.go index 43bc41e462d..4c69e609aac 100644 --- a/service/cloudformation/api_op_UpdateStack.go +++ b/service/cloudformation/api_op_UpdateStack.go @@ -62,7 +62,7 @@ type UpdateStackInput struct { // these capabilities, CloudFormation returns an InsufficientCapabilities // error. // - // If your stack template contains these resources, we recommend that you + // If your stack template contains these resources, we suggest that you // review all permissions associated with them and edit their permissions if // necessary. // @@ -188,7 +188,7 @@ type UpdateStackInput struct { // Structure containing the temporary overriding stack policy body. You can specify // either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL // parameter, but not both. If you want to update protected resources, specify a - // temporary overriding stack policy during this update. If you do not specify a + // temporary overriding stack policy during this update. If you don't specify a // stack policy, the current policy that is associated with the stack will be used. StackPolicyDuringUpdateBody *string @@ -197,7 +197,7 @@ type UpdateStackInput struct { // Region as the stack. You can specify either the StackPolicyDuringUpdateBody or // the StackPolicyDuringUpdateURL parameter, but not both. If you want to update // protected resources, specify a temporary overriding stack policy during this - // update. If you do not specify a stack policy, the current policy that is + // update. If you don't specify a stack policy, the current policy that is // associated with the stack will be used. StackPolicyDuringUpdateURL *string diff --git a/service/cloudformation/api_op_UpdateStackSet.go b/service/cloudformation/api_op_UpdateStackSet.go index b7820b19441..a067b8b3956 100644 --- a/service/cloudformation/api_op_UpdateStackSet.go +++ b/service/cloudformation/api_op_UpdateStackSet.go @@ -54,8 +54,8 @@ type UpdateStackSetInput struct { // stack instances with their existing stack instance status. Accounts []string - // The Amazon Resource Number (ARN) of the IAM role to use to update this stack - // set. Specify an IAM role only if you are using customized administrator roles to + // The Amazon Resource Name (ARN) of the IAM role to use to update this stack set. + // Specify an IAM role only if you are using customized administrator roles to // control which users or groups can manage specific stack sets within the same // administrator account. For more information, see Granting Permissions for Stack // Set Operations diff --git a/service/cloudformation/deserializers.go b/service/cloudformation/deserializers.go index 0423b6e730f..774ff48a37b 100644 --- a/service/cloudformation/deserializers.go +++ b/service/cloudformation/deserializers.go @@ -15822,6 +15822,19 @@ func awsAwsquery_deserializeDocumentStackSetOperation(v **types.StackSetOperatio sv.Status = types.StackSetOperationStatus(xtv) } + case strings.EqualFold("StatusReason", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.StatusReason = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() @@ -16297,6 +16310,19 @@ func awsAwsquery_deserializeDocumentStackSetOperationSummary(v **types.StackSetO sv.Status = types.StackSetOperationStatus(xtv) } + case strings.EqualFold("StatusReason", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.StatusReason = ptr.String(xtv) + } + default: // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() diff --git a/service/cloudformation/go.mod b/service/cloudformation/go.mod index d4512d27f57..4bbc13951e2 100644 --- a/service/cloudformation/go.mod +++ b/service/cloudformation/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudformation go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudformation/go.sum b/service/cloudformation/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/cloudformation/go.sum +++ b/service/cloudformation/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/cloudformation/go_module_metadata.go b/service/cloudformation/go_module_metadata.go index 3aef8e685dd..d0315e71fcf 100644 --- a/service/cloudformation/go_module_metadata.go +++ b/service/cloudformation/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudformation // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.5" +const goModuleVersion = "1.21.1" diff --git a/service/cloudformation/types/errors.go b/service/cloudformation/types/errors.go index 7fb0287d103..8f73076e5a3 100644 --- a/service/cloudformation/types/errors.go +++ b/service/cloudformation/types/errors.go @@ -167,8 +167,8 @@ func (e *InvalidStateTransitionException) ErrorMessage() string { func (e *InvalidStateTransitionException) ErrorCode() string { return "InvalidStateTransition" } func (e *InvalidStateTransitionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The quota for the resource has already been reached. For information on resource -// and stack limitations, see CloudFormation quotas +// The quota for the resource has already been reached. For information about +// resource and stack limitations, see CloudFormation quotas // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) // in the CloudFormation User Guide. type LimitExceededException struct { diff --git a/service/cloudformation/types/types.go b/service/cloudformation/types/types.go index 5b735be404c..4fd7a2accab 100644 --- a/service/cloudformation/types/types.go +++ b/service/cloudformation/types/types.go @@ -336,7 +336,7 @@ type ManagedExecution struct { // Contains information about the module from which the resource was created, if // the resource was created from a module included in the stack template. For more -// information on modules, see Using modules to encapsulate and reuse resource +// information about modules, see Using modules to encapsulate and reuse resource // configurations in the CloudFormation User Guide. type ModuleInfo struct { @@ -823,17 +823,17 @@ type Stack struct { // * false: enable rollback. DisableRollback *bool - // Information on whether a stack's actual configuration differs, or has drifted, - // from it's expected configuration, as defined in the stack template and any - // values specified as template parameters. For more information, see Detecting + // Information about whether a stack's actual configuration differs, or has + // drifted, from it's expected configuration, as defined in the stack template and + // any values specified as template parameters. For more information, see Detecting // Unregulated Configuration Changes to Stacks and Resources // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). DriftInformation *StackDriftInformation // Whether termination protection is enabled for the stack. For nested stacks // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html), - // termination protection is set on the root stack and cannot be changed directly - // on the nested stack. For more information, see Protecting a Stack From Being + // termination protection is set on the root stack and can't be changed directly on + // the nested stack. For more information, see Protecting a Stack From Being // Deleted // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html) // in the CloudFormation User Guide. @@ -1508,7 +1508,7 @@ type StackResourceDriftInformationSummary struct { // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html). // If you performed an ContinueUpdateRollback operation on a stack, any resources // included in ResourcesToSkip will also have a status of NOT_CHECKED. For more - // information on skipping resources during rollback operations, see Continue + // information about skipping resources during rollback operations, see Continue // Rolling Back an Update // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) // in the CloudFormation User Guide. @@ -1580,7 +1580,7 @@ type StackResourceSummary struct { // template requires. type StackSet struct { - // The Amazon Resource Number (ARN) of the IAM role used to create or update the + // The Amazon Resource Name (ARN) of the IAM role used to create or update the // stack set. Use customized administrator roles to control which users or groups // can manage specific stack sets within the same administrator account. For more // information, see Prerequisites: Granting Permissions for Stack Set Operations @@ -1637,7 +1637,7 @@ type StackSet struct { // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-service-managed.html). PermissionModel PermissionModels - // The Amazon Resource Number (ARN) of the stack set. + // The Amazon Resource Name (ARN) of the stack set. StackSetARN *string // Detailed information about the drift status of the stack set. For stack sets, @@ -1761,7 +1761,7 @@ type StackSetOperation struct { // itself, in addition to all associated stack set instances. Action StackSetOperationAction - // The Amazon Resource Number (ARN) of the IAM role used to perform this stack set + // The Amazon Resource Name (ARN) of the IAM role used to perform this stack set // operation. Use customized administrator roles to control which users or groups // can manage specific stack sets within the same administrator account. For more // information, see Define Permissions for Multiple Administrators @@ -1844,11 +1844,14 @@ type StackSetOperation struct { // exceeding the failure tolerance for the operation. Status StackSetOperationStatus + // The status of the operation in details. + StatusReason *string + noSmithyDocumentSerde } // The user-specified preferences for how CloudFormation performs a stack set -// operation. For more information on maximum concurrent accounts and failure +// operation. For more information about maximum concurrent accounts and failure // tolerance, see Stack set operation options // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). type StackSetOperationPreferences struct { @@ -2003,6 +2006,9 @@ type StackSetOperationSummary struct { // exceeding the failure tolerance for the operation. Status StackSetOperationStatus + // The status of the operation in details. + StatusReason *string + noSmithyDocumentSerde } @@ -2094,10 +2100,10 @@ type StackSummary struct { // The time the stack was deleted. DeletionTime *time.Time - // Summarizes information on whether a stack's actual configuration differs, or has - // drifted, from it's expected configuration, as defined in the stack template and - // any values specified as template parameters. For more information, see Detecting - // Unregulated Configuration Changes to Stacks and Resources + // Summarizes information about whether a stack's actual configuration differs, or + // has drifted, from it's expected configuration, as defined in the stack template + // and any values specified as template parameters. For more information, see + // Detecting Unregulated Configuration Changes to Stacks and Resources // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). DriftInformation *StackDriftInformationSummary @@ -2191,8 +2197,7 @@ type TypeConfigurationDetails struct { // extension, CloudFormation returns {}. Configuration *string - // Whether or not this configuration data is the default configuration for the - // extension. + // Whether this configuration data is the default configuration for the extension. IsDefaultConfiguration *bool // When the configuration data was last updated for this extension. If a @@ -2294,9 +2299,9 @@ type TypeSummary struct { // The description of the extension. Description *string - // Whether or not the extension is activated for this account and region. This - // applies only to third-party public extensions. Extensions published by Amazon - // are activated by default. + // Whether the extension is activated for this account and region. This applies + // only to third-party public extensions. Extensions published by Amazon are + // activated by default. IsActivated *bool // When the specified extension version was registered. This applies only to: diff --git a/service/cloudfront/CHANGELOG.md b/service/cloudfront/CHANGELOG.md index 8f41b2b8363..1c8d92202a7 100644 --- a/service/cloudfront/CHANGELOG.md +++ b/service/cloudfront/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudfront/go.mod b/service/cloudfront/go.mod index 6b20e1f2d53..acbffd1bb6e 100644 --- a/service/cloudfront/go.mod +++ b/service/cloudfront/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudfront go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudfront/go.sum b/service/cloudfront/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/cloudfront/go.sum +++ b/service/cloudfront/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/cloudfront/go_module_metadata.go b/service/cloudfront/go_module_metadata.go index b0171687e59..03a556e22d3 100644 --- a/service/cloudfront/go_module_metadata.go +++ b/service/cloudfront/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudfront // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.1" +const goModuleVersion = "1.18.2" diff --git a/service/cloudhsm/CHANGELOG.md b/service/cloudhsm/CHANGELOG.md index cb19e13562f..6d1c2ee4eb8 100644 --- a/service/cloudhsm/CHANGELOG.md +++ b/service/cloudhsm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudhsm/go.mod b/service/cloudhsm/go.mod index a405e2adbd6..5bd54e4260c 100644 --- a/service/cloudhsm/go.mod +++ b/service/cloudhsm/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudhsm go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudhsm/go.sum b/service/cloudhsm/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloudhsm/go.sum +++ b/service/cloudhsm/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloudhsm/go_module_metadata.go b/service/cloudhsm/go_module_metadata.go index 85d5154e0a9..5ace6f81761 100644 --- a/service/cloudhsm/go_module_metadata.go +++ b/service/cloudhsm/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudhsm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.6" +const goModuleVersion = "1.12.7" diff --git a/service/cloudhsmv2/CHANGELOG.md b/service/cloudhsmv2/CHANGELOG.md index 4b156c5eee7..d167278171e 100644 --- a/service/cloudhsmv2/CHANGELOG.md +++ b/service/cloudhsmv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudhsmv2/go.mod b/service/cloudhsmv2/go.mod index fdb85346f3d..a91dffddfff 100644 --- a/service/cloudhsmv2/go.mod +++ b/service/cloudhsmv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudhsmv2/go.sum b/service/cloudhsmv2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloudhsmv2/go.sum +++ b/service/cloudhsmv2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloudhsmv2/go_module_metadata.go b/service/cloudhsmv2/go_module_metadata.go index b265d22102c..4e7dfb6d469 100644 --- a/service/cloudhsmv2/go_module_metadata.go +++ b/service/cloudhsmv2/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudhsmv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/cloudsearch/CHANGELOG.md b/service/cloudsearch/CHANGELOG.md index 3f2979207e2..8795b7a4d42 100644 --- a/service/cloudsearch/CHANGELOG.md +++ b/service/cloudsearch/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudsearch/go.mod b/service/cloudsearch/go.mod index 03bbd7a18a0..fbe3a6f36a0 100644 --- a/service/cloudsearch/go.mod +++ b/service/cloudsearch/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudsearch go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudsearch/go.sum b/service/cloudsearch/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloudsearch/go.sum +++ b/service/cloudsearch/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloudsearch/go_module_metadata.go b/service/cloudsearch/go_module_metadata.go index abdf3ce9c17..80dafe12dd4 100644 --- a/service/cloudsearch/go_module_metadata.go +++ b/service/cloudsearch/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudsearch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/cloudsearchdomain/CHANGELOG.md b/service/cloudsearchdomain/CHANGELOG.md index 90f30d824d3..5a749b3f491 100644 --- a/service/cloudsearchdomain/CHANGELOG.md +++ b/service/cloudsearchdomain/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudsearchdomain/go.mod b/service/cloudsearchdomain/go.mod index 68217c90818..8eb92855e16 100644 --- a/service/cloudsearchdomain/go.mod +++ b/service/cloudsearchdomain/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudsearchdomain go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudsearchdomain/go.sum b/service/cloudsearchdomain/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloudsearchdomain/go.sum +++ b/service/cloudsearchdomain/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloudsearchdomain/go_module_metadata.go b/service/cloudsearchdomain/go_module_metadata.go index 31b7087a379..3459bb54cd3 100644 --- a/service/cloudsearchdomain/go_module_metadata.go +++ b/service/cloudsearchdomain/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudsearchdomain // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/cloudtrail/CHANGELOG.md b/service/cloudtrail/CHANGELOG.md index 484fbc0ec43..0fb8a6142f8 100644 --- a/service/cloudtrail/CHANGELOG.md +++ b/service/cloudtrail/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudtrail/go.mod b/service/cloudtrail/go.mod index 26e3bf6c063..9ff6bdff587 100644 --- a/service/cloudtrail/go.mod +++ b/service/cloudtrail/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudtrail go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudtrail/go.sum b/service/cloudtrail/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloudtrail/go.sum +++ b/service/cloudtrail/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloudtrail/go_module_metadata.go b/service/cloudtrail/go_module_metadata.go index decb93b4fce..1c780c7db2e 100644 --- a/service/cloudtrail/go_module_metadata.go +++ b/service/cloudtrail/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudtrail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.1" +const goModuleVersion = "1.16.2" diff --git a/service/cloudwatch/CHANGELOG.md b/service/cloudwatch/CHANGELOG.md index 821b0ed08e9..68a3b29cc3a 100644 --- a/service/cloudwatch/CHANGELOG.md +++ b/service/cloudwatch/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.4 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudwatch/go.mod b/service/cloudwatch/go.mod index 92331f20d19..1a0a8116c34 100644 --- a/service/cloudwatch/go.mod +++ b/service/cloudwatch/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudwatch go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudwatch/go.sum b/service/cloudwatch/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/cloudwatch/go.sum +++ b/service/cloudwatch/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/cloudwatch/go_module_metadata.go b/service/cloudwatch/go_module_metadata.go index 8db8e4550d3..edba3ee33af 100644 --- a/service/cloudwatch/go_module_metadata.go +++ b/service/cloudwatch/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudwatch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.3" +const goModuleVersion = "1.18.4" diff --git a/service/cloudwatchevents/CHANGELOG.md b/service/cloudwatchevents/CHANGELOG.md index 0b80875fc4f..291bff7baef 100644 --- a/service/cloudwatchevents/CHANGELOG.md +++ b/service/cloudwatchevents/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudwatchevents/go.mod b/service/cloudwatchevents/go.mod index be92762bdeb..9650bda0666 100644 --- a/service/cloudwatchevents/go.mod +++ b/service/cloudwatchevents/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudwatchevents go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudwatchevents/go.sum b/service/cloudwatchevents/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloudwatchevents/go.sum +++ b/service/cloudwatchevents/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloudwatchevents/go_module_metadata.go b/service/cloudwatchevents/go_module_metadata.go index d53747c50f9..65d13ce333c 100644 --- a/service/cloudwatchevents/go_module_metadata.go +++ b/service/cloudwatchevents/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudwatchevents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.6" +const goModuleVersion = "1.14.7" diff --git a/service/cloudwatchlogs/CHANGELOG.md b/service/cloudwatchlogs/CHANGELOG.md index ad317584a53..7d1e27a6e52 100644 --- a/service/cloudwatchlogs/CHANGELOG.md +++ b/service/cloudwatchlogs/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.15.8 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.15.7 (2022-05-20) + +* **Documentation**: Doc-only update to publish the new valid values for log retention + # v1.15.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cloudwatchlogs/api_op_CreateExportTask.go b/service/cloudwatchlogs/api_op_CreateExportTask.go index 80346f760fa..e9a490afeca 100644 --- a/service/cloudwatchlogs/api_op_CreateExportTask.go +++ b/service/cloudwatchlogs/api_op_CreateExportTask.go @@ -13,10 +13,13 @@ import ( // Creates an export task, which allows you to efficiently export data from a log // group to an Amazon S3 bucket. When you perform a CreateExportTask operation, you // must use credentials that have permission to write to the S3 bucket that you -// specify as the destination. This is an asynchronous call. If all the required -// information is provided, this operation initiates an export task and responds -// with the ID of the task. After the task has started, you can use -// DescribeExportTasks +// specify as the destination. Exporting log data to Amazon S3 buckets that are +// encrypted by KMS is not supported. Exporting log data to Amazon S3 buckets that +// have S3 Object Lock enabled with a retention period is not supported. Exporting +// to S3 buckets that are encrypted with AES-256 is supported. This is an +// asynchronous call. If all the required information is provided, this operation +// initiates an export task and responds with the ID of the task. After the task +// has started, you can use DescribeExportTasks // (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html) // to get the status of the export task. Each account can only have one active // (RUNNING or PENDING) export task at a time. To cancel an export task, use @@ -25,8 +28,8 @@ import ( // You can export logs from multiple log groups or multiple time ranges to the same // S3 bucket. To separate out log data for each export task, you can specify a // prefix to be used as the Amazon S3 key prefix for all exported objects. -// Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting -// to S3 buckets encrypted with SSE-KMS is not supported. +// Time-based sorting on chunks of log data inside an exported file is not +// guaranteed. You can sort the exported log fild data by using Linux utilities. func (c *Client) CreateExportTask(ctx context.Context, params *CreateExportTaskInput, optFns ...func(*Options)) (*CreateExportTaskOutput, error) { if params == nil { params = &CreateExportTaskInput{} @@ -62,9 +65,9 @@ type CreateExportTaskInput struct { // This member is required. LogGroupName *string - // The end time of the range for the request, expreswatchlogsdocused as the number - // of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later - // than this time are not exported. + // The end time of the range for the request, expressed as the number of + // milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than + // this time are not exported. // // This member is required. To *int64 diff --git a/service/cloudwatchlogs/api_op_DescribeLogGroups.go b/service/cloudwatchlogs/api_op_DescribeLogGroups.go index 2411f898a57..a1ec11a63dd 100644 --- a/service/cloudwatchlogs/api_op_DescribeLogGroups.go +++ b/service/cloudwatchlogs/api_op_DescribeLogGroups.go @@ -53,7 +53,7 @@ type DescribeLogGroupsInput struct { type DescribeLogGroupsOutput struct { - // The log groups. If the retentionInDays value if not included for a log group, + // The log groups. If the retentionInDays value is not included for a log group, // then that log group is set to have its events never expire. LogGroups []types.LogGroup diff --git a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go index 619d1304be6..244e4759284 100644 --- a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go +++ b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go @@ -37,8 +37,8 @@ type PutRetentionPolicyInput struct { // The number of days to retain the log events in the specified log group. Possible // values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, - // and 3653. To set a log group to never have log events expire, use - // DeleteRetentionPolicy + // 2192, 2557, 2922, 3288, and 3653. To set a log group to never have log events + // expire, use DeleteRetentionPolicy // (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html). // // This member is required. diff --git a/service/cloudwatchlogs/go.mod b/service/cloudwatchlogs/go.mod index fa6bc11d4d2..8cab5211f26 100644 --- a/service/cloudwatchlogs/go.mod +++ b/service/cloudwatchlogs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudwatchlogs/go.sum b/service/cloudwatchlogs/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cloudwatchlogs/go.sum +++ b/service/cloudwatchlogs/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cloudwatchlogs/go_module_metadata.go b/service/cloudwatchlogs/go_module_metadata.go index 5a6b67efe37..567dd9653b4 100644 --- a/service/cloudwatchlogs/go_module_metadata.go +++ b/service/cloudwatchlogs/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudwatchlogs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.6" +const goModuleVersion = "1.15.8" diff --git a/service/cloudwatchlogs/types/errors.go b/service/cloudwatchlogs/types/errors.go index 518d344859c..bc13a054c87 100644 --- a/service/cloudwatchlogs/types/errors.go +++ b/service/cloudwatchlogs/types/errors.go @@ -133,7 +133,7 @@ func (e *MalformedQueryException) ErrorMessage() string { func (e *MalformedQueryException) ErrorCode() string { return "MalformedQueryException" } func (e *MalformedQueryException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// Multiple requests to update the same resource were in conflict. +// Multiple concurrent requests to update the same resource were in conflict. type OperationAbortedException struct { Message *string diff --git a/service/cloudwatchlogs/types/types.go b/service/cloudwatchlogs/types/types.go index 08fedec360c..e56702c3136 100644 --- a/service/cloudwatchlogs/types/types.go +++ b/service/cloudwatchlogs/types/types.go @@ -157,8 +157,8 @@ type LogGroup struct { // The number of days to retain the log events in the specified log group. Possible // values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, - // and 3653. To set a log group to never have log events expire, use - // DeleteRetentionPolicy + // 2192, 2557, 2922, 3288, and 3653. To set a log group to never have log events + // expire, use DeleteRetentionPolicy // (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html). RetentionInDays *int32 diff --git a/service/codeartifact/CHANGELOG.md b/service/codeartifact/CHANGELOG.md index 9280e127022..eb8d9cfd428 100644 --- a/service/codeartifact/CHANGELOG.md +++ b/service/codeartifact/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.12.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.12.6 (2022-06-02) + +* **Documentation**: Documentation updates for CodeArtifact + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codeartifact/api_op_AssociateExternalConnection.go b/service/codeartifact/api_op_AssociateExternalConnection.go index 4df65a69fcf..b04991ae8a9 100644 --- a/service/codeartifact/api_op_AssociateExternalConnection.go +++ b/service/codeartifact/api_op_AssociateExternalConnection.go @@ -42,12 +42,15 @@ type AssociateExternalConnectionInput struct { // * public:npmjs - for the npm public repository. // // * - // public:pypi - for the Python Package Index. + // public:nuget-org - for the NuGet Gallery. // - // * public:maven-central - for Maven - // Central. + // * public:pypi - for the Python + // Package Index. // - // * public:maven-googleandroid - for the Google Android repository. + // * public:maven-central - for Maven Central. + // + // * + // public:maven-googleandroid - for the Google Android repository. // // * // public:maven-gradleplugins - for the Gradle plugins repository. @@ -63,8 +66,8 @@ type AssociateExternalConnectionInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_CopyPackageVersions.go b/service/codeartifact/api_op_CopyPackageVersions.go index 6823208c4f7..21322238bb3 100644 --- a/service/codeartifact/api_op_CopyPackageVersions.go +++ b/service/codeartifact/api_op_CopyPackageVersions.go @@ -40,16 +40,7 @@ type CopyPackageVersionsInput struct { // This member is required. Domain *string - // The format of the package that is copied. The valid package types are: - // - // * npm: A - // Node Package Manager (npm) package. - // - // * pypi: A Python Package Index (PyPI) - // package. - // - // * maven: A Maven package that contains compiled code in a - // distributable format, such as a JAR file. + // The format of the package that is copied. // // This member is required. Format types.PackageFormat @@ -70,8 +61,8 @@ type CopyPackageVersionsInput struct { // failedVersions field of the response with an ALREADY_EXISTS error code. AllowOverwrite *bool - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // Set to true to copy packages from repositories that are upstream from the source diff --git a/service/codeartifact/api_op_CreateDomain.go b/service/codeartifact/api_op_CreateDomain.go index 499672493ba..54e84bbc9a5 100644 --- a/service/codeartifact/api_op_CreateDomain.go +++ b/service/codeartifact/api_op_CreateDomain.go @@ -13,12 +13,12 @@ import ( // Creates a domain. CodeArtifact domains make it easier to manage multiple // repositories across an organization. You can use a domain to apply permissions -// across many repositories owned by different AWS accounts. An asset is stored -// only once in a domain, even if it's in multiple repositories. Although you can -// have multiple domains, we recommend a single production domain that contains all -// published artifacts so that your development teams can find and share packages. -// You can use a second pre-production domain to test changes to the production -// domain configuration. +// across many repositories owned by different Amazon Web Services accounts. An +// asset is stored only once in a domain, even if it's in multiple repositories. +// Although you can have multiple domains, we recommend a single production domain +// that contains all published artifacts so that your development teams can find +// and share packages. You can use a second pre-production domain to test changes +// to the production domain configuration. func (c *Client) CreateDomain(ctx context.Context, params *CreateDomainInput, optFns ...func(*Options)) (*CreateDomainOutput, error) { if params == nil { params = &CreateDomainInput{} @@ -36,10 +36,10 @@ func (c *Client) CreateDomain(ctx context.Context, params *CreateDomainInput, op type CreateDomainInput struct { - // The name of the domain to create. All domain names in an AWS Region that are in - // the same AWS account must be unique. The domain name is used as the prefix in - // DNS hostnames. Do not use sensitive information in a domain name because it is - // publicly discoverable. + // The name of the domain to create. All domain names in an Amazon Web Services + // Region that are in the same Amazon Web Services account must be unique. The + // domain name is used as the prefix in DNS hostnames. Do not use sensitive + // information in a domain name because it is publicly discoverable. // // This member is required. Domain *string @@ -50,14 +50,14 @@ type CreateDomainInput struct { // have kms:DescribeKey and kms:CreateGrant permissions on the encryption key that // is used. For more information, see DescribeKey // (https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestSyntax) - // in the AWS Key Management Service API Reference and AWS KMS API Permissions - // Reference + // in the Key Management Service API Reference and Key Management Service API + // Permissions Reference // (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) - // in the AWS Key Management Service Developer Guide. CodeArtifact supports only + // in the Key Management Service Developer Guide. CodeArtifact supports only // symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more // information, see Using symmetric and asymmetric keys // (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) - // in the AWS Key Management Service Developer Guide. + // in the Key Management Service Developer Guide. EncryptionKey *string // One or more tag key-value pairs for the domain. diff --git a/service/codeartifact/api_op_CreateRepository.go b/service/codeartifact/api_op_CreateRepository.go index 3793969f4cb..eb844914faf 100644 --- a/service/codeartifact/api_op_CreateRepository.go +++ b/service/codeartifact/api_op_CreateRepository.go @@ -42,15 +42,15 @@ type CreateRepositoryInput struct { // A description of the created repository. Description *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // One or more tag key-value pairs for the repository. Tags []types.Tag // A list of upstream repositories to associate with the repository. The order of - // the upstream repositories in the list determines their priority order when AWS + // the upstream repositories in the list determines their priority order when // CodeArtifact looks for a requested package version. For more information, see // Working with upstream repositories // (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html). diff --git a/service/codeartifact/api_op_DeleteDomain.go b/service/codeartifact/api_op_DeleteDomain.go index de6ec9af17b..90a9fc32474 100644 --- a/service/codeartifact/api_op_DeleteDomain.go +++ b/service/codeartifact/api_op_DeleteDomain.go @@ -35,8 +35,8 @@ type DeleteDomainInput struct { // This member is required. Domain *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go index b0cec1709e7..52d77ba433d 100644 --- a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go @@ -34,8 +34,8 @@ type DeleteDomainPermissionsPolicyInput struct { // This member is required. Domain *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The current revision of the resource policy to be deleted. This revision is used diff --git a/service/codeartifact/api_op_DeletePackageVersions.go b/service/codeartifact/api_op_DeletePackageVersions.go index 382e8deb8b2..c62200d8f35 100644 --- a/service/codeartifact/api_op_DeletePackageVersions.go +++ b/service/codeartifact/api_op_DeletePackageVersions.go @@ -41,14 +41,7 @@ type DeletePackageVersionsInput struct { // This member is required. Domain *string - // The format of the package versions to delete. The valid values are: - // - // * npm - // - // * - // pypi - // - // * maven + // The format of the package versions to delete. // // This member is required. Format types.PackageFormat @@ -68,22 +61,11 @@ type DeletePackageVersionsInput struct { // This member is required. Versions []string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string - // The expected status of the package version to delete. Valid values are: - // - // * - // Published - // - // * Unfinished - // - // * Unlisted - // - // * Archived - // - // * Disposed + // The expected status of the package version to delete. ExpectedStatus types.PackageVersionStatus // The namespace of the package. The package component that specifies its namespace @@ -121,7 +103,8 @@ type DeletePackageVersionsOutput struct { // * SKIPPED FailedVersions map[string]types.PackageVersionError - // A list of the package versions that were successfully deleted. + // A list of the package versions that were successfully deleted. The status of + // every successful version will be Deleted. SuccessfulVersions map[string]types.SuccessfulPackageVersionInfo // Metadata pertaining to the operation's result. diff --git a/service/codeartifact/api_op_DeleteRepository.go b/service/codeartifact/api_op_DeleteRepository.go index 4289cc630a8..b3f1278bcdd 100644 --- a/service/codeartifact/api_op_DeleteRepository.go +++ b/service/codeartifact/api_op_DeleteRepository.go @@ -39,8 +39,8 @@ type DeleteRepositoryInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go index 16979cea0f6..9f45c5fee07 100644 --- a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go @@ -14,9 +14,9 @@ import ( // Deletes the resource policy that is set on a repository. After a resource policy // is deleted, the permissions allowed and denied by the deleted policy are // removed. The effect of deleting a resource policy might not be immediate. Use -// DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, AWS -// users, roles, and accounts lose permissions to perform the repository actions -// granted by the deleted policy. +// DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, +// Amazon Web Services users, roles, and accounts lose permissions to perform the +// repository actions granted by the deleted policy. func (c *Client) DeleteRepositoryPermissionsPolicy(ctx context.Context, params *DeleteRepositoryPermissionsPolicyInput, optFns ...func(*Options)) (*DeleteRepositoryPermissionsPolicyOutput, error) { if params == nil { params = &DeleteRepositoryPermissionsPolicyInput{} @@ -46,8 +46,8 @@ type DeleteRepositoryPermissionsPolicyInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The revision of the repository's resource policy to be deleted. This revision is diff --git a/service/codeartifact/api_op_DescribeDomain.go b/service/codeartifact/api_op_DescribeDomain.go index a11e2901686..389301e4fc1 100644 --- a/service/codeartifact/api_op_DescribeDomain.go +++ b/service/codeartifact/api_op_DescribeDomain.go @@ -36,8 +36,8 @@ type DescribeDomainInput struct { // This member is required. Domain *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_DescribePackageVersion.go b/service/codeartifact/api_op_DescribePackageVersion.go index 57c39035ac8..43cac147fdb 100644 --- a/service/codeartifact/api_op_DescribePackageVersion.go +++ b/service/codeartifact/api_op_DescribePackageVersion.go @@ -37,14 +37,7 @@ type DescribePackageVersionInput struct { // This member is required. Domain *string - // A format that specifies the type of the requested package version. The valid - // values are: - // - // * npm - // - // * pypi - // - // * maven + // A format that specifies the type of the requested package version. // // This member is required. Format types.PackageFormat @@ -64,8 +57,8 @@ type DescribePackageVersionInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The namespace of the package. The package component that specifies its namespace diff --git a/service/codeartifact/api_op_DescribeRepository.go b/service/codeartifact/api_op_DescribeRepository.go index 5b69952e1b8..3090de8494a 100644 --- a/service/codeartifact/api_op_DescribeRepository.go +++ b/service/codeartifact/api_op_DescribeRepository.go @@ -40,8 +40,8 @@ type DescribeRepositoryInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_DisassociateExternalConnection.go b/service/codeartifact/api_op_DisassociateExternalConnection.go index ea2792c8cf6..f0a8953f45f 100644 --- a/service/codeartifact/api_op_DisassociateExternalConnection.go +++ b/service/codeartifact/api_op_DisassociateExternalConnection.go @@ -45,8 +45,8 @@ type DisassociateExternalConnectionInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_DisposePackageVersions.go b/service/codeartifact/api_op_DisposePackageVersions.go index 97cc4fff4e9..9767b2ab29a 100644 --- a/service/codeartifact/api_op_DisposePackageVersions.go +++ b/service/codeartifact/api_op_DisposePackageVersions.go @@ -43,14 +43,7 @@ type DisposePackageVersionsInput struct { // This member is required. Domain *string - // A format that specifies the type of package versions you want to dispose. The - // valid values are: - // - // * npm - // - // * pypi - // - // * maven + // A format that specifies the type of package versions you want to dispose. // // This member is required. Format types.PackageFormat @@ -71,22 +64,11 @@ type DisposePackageVersionsInput struct { // This member is required. Versions []string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string - // The expected status of the package version to dispose. Valid values are: - // - // * - // Published - // - // * Unfinished - // - // * Unlisted - // - // * Archived - // - // * Disposed + // The expected status of the package version to dispose. ExpectedStatus types.PackageVersionStatus // The namespace of the package. The package component that specifies its namespace diff --git a/service/codeartifact/api_op_GetAuthorizationToken.go b/service/codeartifact/api_op_GetAuthorizationToken.go index 62b4ea69659..76cb6847bf2 100644 --- a/service/codeartifact/api_op_GetAuthorizationToken.go +++ b/service/codeartifact/api_op_GetAuthorizationToken.go @@ -14,7 +14,7 @@ import ( // Generates a temporary authorization token for accessing repositories in the // domain. This API requires the codeartifact:GetAuthorizationToken and // sts:GetServiceBearerToken permissions. For more information about authorization -// tokens, see AWS CodeArtifact authentication and tokens +// tokens, see CodeArtifact authentication and tokens // (https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html). // CodeArtifact authorization tokens are valid for a period of 12 hours when // created with the login command. You can call login periodically to refresh the @@ -51,8 +51,8 @@ type GetAuthorizationTokenInput struct { // This member is required. Domain *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The time, in seconds, that the generated authorization token is valid. Valid diff --git a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go index fc1f9a27f48..3d0384bb144 100644 --- a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go @@ -15,7 +15,7 @@ import ( // resource-based policy, not an identity-based policy. For more information, see // Identity-based policies and resource-based policies // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) -// in the AWS Identity and Access Management User Guide. +// in the IAM User Guide. func (c *Client) GetDomainPermissionsPolicy(ctx context.Context, params *GetDomainPermissionsPolicyInput, optFns ...func(*Options)) (*GetDomainPermissionsPolicyOutput, error) { if params == nil { params = &GetDomainPermissionsPolicyInput{} @@ -38,8 +38,8 @@ type GetDomainPermissionsPolicyInput struct { // This member is required. Domain *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_GetPackageVersionAsset.go b/service/codeartifact/api_op_GetPackageVersionAsset.go index 3fed495f022..447b9cce640 100644 --- a/service/codeartifact/api_op_GetPackageVersionAsset.go +++ b/service/codeartifact/api_op_GetPackageVersionAsset.go @@ -44,13 +44,7 @@ type GetPackageVersionAssetInput struct { Domain *string // A format that specifies the type of the package version with the requested asset - // file. The valid values are: - // - // * npm - // - // * pypi - // - // * maven + // file. // // This member is required. Format types.PackageFormat @@ -70,8 +64,8 @@ type GetPackageVersionAssetInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The namespace of the package. The package component that specifies its namespace diff --git a/service/codeartifact/api_op_GetPackageVersionReadme.go b/service/codeartifact/api_op_GetPackageVersionReadme.go index a2bda85e58a..0d549be0ea1 100644 --- a/service/codeartifact/api_op_GetPackageVersionReadme.go +++ b/service/codeartifact/api_op_GetPackageVersionReadme.go @@ -11,11 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets the readme file or descriptive text for a package version. For packages -// that do not contain a readme file, CodeArtifact extracts a description from a -// metadata file. For example, from the element in the pom.xml file of a Maven -// package. The returned text might contain formatting. For example, it might -// contain formatting for Markdown or reStructuredText. +// Gets the readme file or descriptive text for a package version. The returned +// text might contain formatting. For example, it might contain formatting for +// Markdown or reStructuredText. func (c *Client) GetPackageVersionReadme(ctx context.Context, params *GetPackageVersionReadmeInput, optFns ...func(*Options)) (*GetPackageVersionReadmeOutput, error) { if params == nil { params = &GetPackageVersionReadmeInput{} @@ -40,13 +38,8 @@ type GetPackageVersionReadmeInput struct { Domain *string // A format that specifies the type of the package version with the requested - // readme file. The valid values are: - // - // * npm - // - // * pypi - // - // * maven + // readme file. Although maven is listed as a valid value, CodeArtifact does not + // support displaying readme files for Maven packages. // // This member is required. Format types.PackageFormat @@ -66,8 +59,8 @@ type GetPackageVersionReadmeInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The namespace of the package. The package component that specifies its namespace @@ -88,14 +81,7 @@ type GetPackageVersionReadmeInput struct { type GetPackageVersionReadmeOutput struct { - // The format of the package with the requested readme file. Valid format types - // are: - // - // * npm - // - // * pypi - // - // * maven + // The format of the package with the requested readme file. Format types.PackageFormat // The namespace of the package. The package component that specifies its namespace diff --git a/service/codeartifact/api_op_GetRepositoryEndpoint.go b/service/codeartifact/api_op_GetRepositoryEndpoint.go index c9dc7121818..8642a9e0d3d 100644 --- a/service/codeartifact/api_op_GetRepositoryEndpoint.go +++ b/service/codeartifact/api_op_GetRepositoryEndpoint.go @@ -14,11 +14,13 @@ import ( // Returns the endpoint of a repository for a specific package format. A repository // has one endpoint for each package format: // +// * maven +// // * npm // -// * pypi +// * nuget // -// * maven +// * pypi func (c *Client) GetRepositoryEndpoint(ctx context.Context, params *GetRepositoryEndpointInput, optFns ...func(*Options)) (*GetRepositoryEndpointOutput, error) { if params == nil { params = &GetRepositoryEndpointInput{} @@ -42,13 +44,7 @@ type GetRepositoryEndpointInput struct { Domain *string // Returns which endpoint of a repository to return. A repository has one endpoint - // for each package format: - // - // * npm - // - // * pypi - // - // * maven + // for each package format. // // This member is required. Format types.PackageFormat @@ -58,8 +54,8 @@ type GetRepositoryEndpointInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain that - // contains the repository. It does not include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain that contains the repository. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go index 048de451790..49d6b5c4aec 100644 --- a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go @@ -40,8 +40,8 @@ type GetRepositoryPermissionsPolicyInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string noSmithyDocumentSerde diff --git a/service/codeartifact/api_op_ListDomains.go b/service/codeartifact/api_op_ListDomains.go index 8a1a94383f4..c835f516a02 100644 --- a/service/codeartifact/api_op_ListDomains.go +++ b/service/codeartifact/api_op_ListDomains.go @@ -14,8 +14,8 @@ import ( // Returns a list of DomainSummary // (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) -// objects for all domains owned by the AWS account that makes this call. Each -// returned DomainSummary object contains information about a domain. +// objects for all domains owned by the Amazon Web Services account that makes this +// call. Each returned DomainSummary object contains information about a domain. func (c *Client) ListDomains(ctx context.Context, params *ListDomainsInput, optFns ...func(*Options)) (*ListDomainsOutput, error) { if params == nil { params = &ListDomainsInput{} diff --git a/service/codeartifact/api_op_ListPackageVersionAssets.go b/service/codeartifact/api_op_ListPackageVersionAssets.go index 63fee3dbbf5..aba7dfe51c7 100644 --- a/service/codeartifact/api_op_ListPackageVersionAssets.go +++ b/service/codeartifact/api_op_ListPackageVersionAssets.go @@ -38,16 +38,7 @@ type ListPackageVersionAssetsInput struct { // This member is required. Domain *string - // The format of the package that contains the returned package version assets. The - // valid package types are: - // - // * npm: A Node Package Manager (npm) package. - // - // * pypi: - // A Python Package Index (PyPI) package. - // - // * maven: A Maven package that contains - // compiled code in a distributable format, such as a JAR file. + // The format of the package that contains the returned package version assets. // // This member is required. Format types.PackageFormat @@ -68,8 +59,8 @@ type ListPackageVersionAssetsInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The maximum number of results to return per page. diff --git a/service/codeartifact/api_op_ListPackageVersionDependencies.go b/service/codeartifact/api_op_ListPackageVersionDependencies.go index a5332d1b3e0..817b4ad7e9e 100644 --- a/service/codeartifact/api_op_ListPackageVersionDependencies.go +++ b/service/codeartifact/api_op_ListPackageVersionDependencies.go @@ -41,16 +41,7 @@ type ListPackageVersionDependenciesInput struct { // This member is required. Domain *string - // The format of the package with the requested dependencies. The valid package - // types are: - // - // * npm: A Node Package Manager (npm) package. - // - // * pypi: A Python - // Package Index (PyPI) package. - // - // * maven: A Maven package that contains compiled - // code in a distributable format, such as a JAR file. + // The format of the package with the requested dependencies. // // This member is required. Format types.PackageFormat @@ -70,8 +61,8 @@ type ListPackageVersionDependenciesInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The namespace of the package. The package component that specifies its namespace @@ -102,13 +93,7 @@ type ListPackageVersionDependenciesOutput struct { Dependencies []types.PackageDependency // A format that specifies the type of the package that contains the returned - // dependencies. The valid values are: - // - // * npm - // - // * pypi - // - // * maven + // dependencies. Format types.PackageFormat // The namespace of the package. The package component that specifies its namespace diff --git a/service/codeartifact/api_op_ListPackageVersions.go b/service/codeartifact/api_op_ListPackageVersions.go index f45532d36e0..f303b18154a 100644 --- a/service/codeartifact/api_op_ListPackageVersions.go +++ b/service/codeartifact/api_op_ListPackageVersions.go @@ -38,16 +38,7 @@ type ListPackageVersionsInput struct { // This member is required. Domain *string - // The format of the returned packages. The valid package types are: - // - // * npm: A Node - // Package Manager (npm) package. - // - // * pypi: A Python Package Index (PyPI) - // package. - // - // * maven: A Maven package that contains compiled code in a - // distributable format, such as a JAR file. + // The format of the returned packages. // // This member is required. Format types.PackageFormat @@ -62,8 +53,8 @@ type ListPackageVersionsInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The maximum number of results to return per page. @@ -90,18 +81,7 @@ type ListPackageVersionsInput struct { SortBy types.PackageVersionSortType // A string that specifies the status of the package versions to include in the - // returned list. It can be one of the following: - // - // * Published - // - // * Unfinished - // - // * - // Unlisted - // - // * Archived - // - // * Disposed + // returned list. Status types.PackageVersionStatus noSmithyDocumentSerde @@ -119,14 +99,7 @@ type ListPackageVersionsOutput struct { // the latest tag is not set, it's the most recently published package version. DefaultDisplayVersion *string - // A format of the package. Valid package format values are: - // - // * npm - // - // * pypi - // - // * - // maven + // A format of the package. Format types.PackageFormat // The namespace of the package. The package component that specifies its namespace diff --git a/service/codeartifact/api_op_ListPackages.go b/service/codeartifact/api_op_ListPackages.go index 55b157e33a9..96c59baec4e 100644 --- a/service/codeartifact/api_op_ListPackages.go +++ b/service/codeartifact/api_op_ListPackages.go @@ -43,20 +43,11 @@ type ListPackagesInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string - // The format of the packages. The valid package types are: - // - // * npm: A Node Package - // Manager (npm) package. - // - // * pypi: A Python Package Index (PyPI) package. - // - // * maven: - // A Maven package that contains compiled code in a distributable format, such as a - // JAR file. + // The format of the packages. Format types.PackageFormat // The maximum number of results to return per page. diff --git a/service/codeartifact/api_op_ListRepositories.go b/service/codeartifact/api_op_ListRepositories.go index 7b382570fe5..b8cac76470f 100644 --- a/service/codeartifact/api_op_ListRepositories.go +++ b/service/codeartifact/api_op_ListRepositories.go @@ -15,7 +15,7 @@ import ( // Returns a list of RepositorySummary // (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html) // objects. Each RepositorySummary contains information about a repository in the -// specified AWS account and that matches the input parameters. +// specified Amazon Web Services account and that matches the input parameters. func (c *Client) ListRepositories(ctx context.Context, params *ListRepositoriesInput, optFns ...func(*Options)) (*ListRepositoriesOutput, error) { if params == nil { params = &ListRepositoriesInput{} diff --git a/service/codeartifact/api_op_ListRepositoriesInDomain.go b/service/codeartifact/api_op_ListRepositoriesInDomain.go index 27dea33b91b..8b5be35653d 100644 --- a/service/codeartifact/api_op_ListRepositoriesInDomain.go +++ b/service/codeartifact/api_op_ListRepositoriesInDomain.go @@ -39,11 +39,11 @@ type ListRepositoriesInDomainInput struct { Domain *string // Filter the list of repositories to only include those that are managed by the - // AWS account ID. + // Amazon Web Services account ID. AdministratorAccount *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The maximum number of results to return per page. diff --git a/service/codeartifact/api_op_ListTagsForResource.go b/service/codeartifact/api_op_ListTagsForResource.go index 6306e19a60d..068cbf2ba66 100644 --- a/service/codeartifact/api_op_ListTagsForResource.go +++ b/service/codeartifact/api_op_ListTagsForResource.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets information about AWS tags for a specified Amazon Resource Name (ARN) in -// AWS CodeArtifact. +// Gets information about Amazon Web Services tags for a specified Amazon Resource +// Name (ARN) in CodeArtifact. func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { if params == nil { params = &ListTagsForResourceInput{} diff --git a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go index a5a442da672..7a78301c3f4 100644 --- a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go @@ -44,8 +44,8 @@ type PutDomainPermissionsPolicyInput struct { // This member is required. PolicyDocument *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The current revision of the resource policy to be set. This revision is used for diff --git a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go index 6b426d547d0..ef17f137a61 100644 --- a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go @@ -49,8 +49,8 @@ type PutRepositoryPermissionsPolicyInput struct { // This member is required. Repository *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // Sets the revision of the resource policy that specifies permissions to access diff --git a/service/codeartifact/api_op_TagResource.go b/service/codeartifact/api_op_TagResource.go index 67922495b39..878f9cfbe5c 100644 --- a/service/codeartifact/api_op_TagResource.go +++ b/service/codeartifact/api_op_TagResource.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Adds or updates tags for a resource in AWS CodeArtifact. +// Adds or updates tags for a resource in CodeArtifact. func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { if params == nil { params = &TagResourceInput{} diff --git a/service/codeartifact/api_op_UntagResource.go b/service/codeartifact/api_op_UntagResource.go index 7ce5c2cf8fe..e80187c98ae 100644 --- a/service/codeartifact/api_op_UntagResource.go +++ b/service/codeartifact/api_op_UntagResource.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Removes tags from a resource in AWS CodeArtifact. +// Removes tags from a resource in CodeArtifact. func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { if params == nil { params = &UntagResourceInput{} diff --git a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go index 7da3087c6dd..6cec7521505 100644 --- a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go +++ b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go @@ -11,7 +11,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates the status of one or more versions of a package. +// Updates the status of one or more versions of a package. Using +// UpdatePackageVersionsStatus, you can update the status of package versions to +// Archived, Published, or Unlisted. To set the status of a package version to +// Disposed, use DisposePackageVersions +// (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DisposePackageVersions.html). func (c *Client) UpdatePackageVersionsStatus(ctx context.Context, params *UpdatePackageVersionsStatusInput, optFns ...func(*Options)) (*UpdatePackageVersionsStatusOutput, error) { if params == nil { params = &UpdatePackageVersionsStatusInput{} @@ -35,14 +39,7 @@ type UpdatePackageVersionsStatusInput struct { // This member is required. Domain *string - // A format that specifies the type of the package with the statuses to update. The - // valid values are: - // - // * npm - // - // * pypi - // - // * maven + // A format that specifies the type of the package with the statuses to update. // // This member is required. Format types.PackageFormat @@ -69,8 +66,8 @@ type UpdatePackageVersionsStatusInput struct { // This member is required. Versions []string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The package version’s expected status before it is updated. If expectedStatus is diff --git a/service/codeartifact/api_op_UpdateRepository.go b/service/codeartifact/api_op_UpdateRepository.go index 300614dd9e7..f1b083857e3 100644 --- a/service/codeartifact/api_op_UpdateRepository.go +++ b/service/codeartifact/api_op_UpdateRepository.go @@ -42,12 +42,12 @@ type UpdateRepositoryInput struct { // An updated repository description. Description *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // A list of upstream repositories to associate with the repository. The order of - // the upstream repositories in the list determines their priority order when AWS + // the upstream repositories in the list determines their priority order when // CodeArtifact looks for a requested package version. For more information, see // Working with upstream repositories // (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html). diff --git a/service/codeartifact/doc.go b/service/codeartifact/doc.go index 4b22ea7691d..07f6fcd24ee 100644 --- a/service/codeartifact/doc.go +++ b/service/codeartifact/doc.go @@ -3,44 +3,46 @@ // Package codeartifact provides the API client, operations, and parameter types // for CodeArtifact. // -// AWS CodeArtifact is a fully managed artifact repository compatible with -// language-native package managers and build tools such as npm, Apache Maven, and -// pip. You can use CodeArtifact to share packages with development teams and pull -// packages. Packages can be pulled from both public and CodeArtifact repositories. -// You can also create an upstream relationship between a CodeArtifact repository -// and another repository, which effectively merges their contents from the point -// of view of a package manager client. AWS CodeArtifact Components Use the -// information in this guide to help you work with the following CodeArtifact -// components: -// -// * Repository: A CodeArtifact repository contains a set of package -// versions +// CodeArtifact is a fully managed artifact repository compatible with +// language-native package managers and build tools such as npm, Apache Maven, pip, +// and dotnet. You can use CodeArtifact to share packages with development teams +// and pull packages. Packages can be pulled from both public and CodeArtifact +// repositories. You can also create an upstream relationship between a +// CodeArtifact repository and another repository, which effectively merges their +// contents from the point of view of a package manager client. CodeArtifact +// Components Use the information in this guide to help you work with the following +// CodeArtifact components: +// +// * Repository: A CodeArtifact repository contains a set +// of package versions // (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version), // each of which maps to a set of assets, or files. Repositories are polyglot, so a // single repository can contain packages of any supported type. Each repository // exposes endpoints for fetching and publishing packages using tools like the npm -// CLI, the Maven CLI ( mvn ), and pip . -// -// * Domain: Repositories are aggregated -// into a higher-level entity known as a domain. All package assets and metadata -// are stored in the domain, but are consumed through repositories. A given package -// asset, such as a Maven JAR file, is stored once per domain, no matter how many -// repositories it's present in. All of the assets and metadata in a domain are -// encrypted with the same customer master key (CMK) stored in AWS Key Management -// Service (AWS KMS). Each repository is a member of a single domain and can't be -// moved to a different domain. The domain allows organizational policy to be -// applied across multiple repositories, such as which accounts can access -// repositories in the domain, and which public repositories can be used as sources -// of packages. Although an organization can have multiple domains, we recommend a -// single production domain that contains all published artifacts so that teams can -// find and share packages across their organization. -// -// * Package: A package is a -// bundle of software and the metadata required to resolve dependencies and install -// the software. CodeArtifact supports npm +// CLI, the Maven CLI ( mvn ), Python CLIs ( pip and twine), and NuGet CLIs (nuget +// and dotnet). +// +// * Domain: Repositories are aggregated into a higher-level entity +// known as a domain. All package assets and metadata are stored in the domain, but +// are consumed through repositories. A given package asset, such as a Maven JAR +// file, is stored once per domain, no matter how many repositories it's present +// in. All of the assets and metadata in a domain are encrypted with the same +// customer master key (CMK) stored in Key Management Service (KMS). Each +// repository is a member of a single domain and can't be moved to a different +// domain. The domain allows organizational policy to be applied across multiple +// repositories, such as which accounts can access repositories in the domain, and +// which public repositories can be used as sources of packages. Although an +// organization can have multiple domains, we recommend a single production domain +// that contains all published artifacts so that teams can find and share packages +// across their organization. +// +// * Package: A package is a bundle of software and the +// metadata required to resolve dependencies and install the software. CodeArtifact +// supports npm // (https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html), PyPI -// (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), and -// Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven) package +// (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), Maven +// (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven), and NuGet +// (https://docs.aws.amazon.com/codeartifact/latest/ug/using-nuget) package // formats. // // In CodeArtifact, a package consists of: @@ -145,11 +147,13 @@ // Returns the endpoint of a repository for a specific package format. A repository // has one endpoint for each package format: // +// * maven +// // * npm // -// * pypi +// * nuget // -// * maven +// * pypi // // * // GetRepositoryPermissionsPolicy: Returns the resource policy that is set on a @@ -172,20 +176,21 @@ // in a repository. // // * ListRepositories: Returns a list of repositories owned by -// the AWS account that called this method. +// the Amazon Web Services account that called this method. // -// * ListRepositoriesInDomain: Returns a -// list of the repositories in a domain. -// -// * PutDomainPermissionsPolicy: Attaches a -// resource policy to a domain. +// * +// ListRepositoriesInDomain: Returns a list of the repositories in a domain. // -// * PutRepositoryPermissionsPolicy: Sets the -// resource policy on a repository that specifies permissions to access it. +// * +// PutDomainPermissionsPolicy: Attaches a resource policy to a domain. // // * -// UpdatePackageVersionsStatus: Updates the status of one or more versions of a -// package. +// PutRepositoryPermissionsPolicy: Sets the resource policy on a repository that +// specifies permissions to access it. +// +// * UpdatePackageVersionsStatus: Updates the +// status of one or more versions of a package. // -// * UpdateRepository: Updates the properties of a repository. +// * UpdateRepository: Updates the +// properties of a repository. package codeartifact diff --git a/service/codeartifact/go.mod b/service/codeartifact/go.mod index 68b7b3f21f5..bbad016e585 100644 --- a/service/codeartifact/go.mod +++ b/service/codeartifact/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codeartifact go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codeartifact/go.sum b/service/codeartifact/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codeartifact/go.sum +++ b/service/codeartifact/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codeartifact/go_module_metadata.go b/service/codeartifact/go_module_metadata.go index a42ecb9ebbc..61b8416ad89 100644 --- a/service/codeartifact/go_module_metadata.go +++ b/service/codeartifact/go_module_metadata.go @@ -3,4 +3,4 @@ package codeartifact // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.7" diff --git a/service/codeartifact/types/errors.go b/service/codeartifact/types/errors.go index baa15b90a83..708551b22a0 100644 --- a/service/codeartifact/types/errors.go +++ b/service/codeartifact/types/errors.go @@ -48,7 +48,7 @@ func (e *ConflictException) ErrorMessage() string { func (e *ConflictException) ErrorCode() string { return "ConflictException" } func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The operation did not succeed because of an error that occurred inside AWS +// The operation did not succeed because of an error that occurred inside // CodeArtifact. type InternalServerException struct { Message *string diff --git a/service/codeartifact/types/types.go b/service/codeartifact/types/types.go index d71d3a7b768..6ac856f0aa3 100644 --- a/service/codeartifact/types/types.go +++ b/service/codeartifact/types/types.go @@ -37,13 +37,13 @@ type DomainDescription struct { // A timestamp that represents the date and time the domain was created. CreatedTime *time.Time - // The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain. + // The ARN of an Key Management Service (KMS) key associated with a domain. EncryptionKey *string // The name of the domain. Name *string - // The AWS account ID that owns the domain. + // The Amazon Web Services account ID that owns the domain. Owner *string // The number of repositories in the domain. @@ -53,11 +53,7 @@ type DomainDescription struct { // package assets in the domain. S3BucketArn *string - // The current status of a domain. The valid values are - // - // * Active - // - // * Deleted + // The current status of a domain. Status DomainStatus noSmithyDocumentSerde @@ -81,16 +77,11 @@ type DomainSummary struct { // The name of the domain. Name *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. Owner *string - // A string that contains the status of the domain. The valid values are: - // - // * - // Active - // - // * Deleted + // A string that contains the status of the domain. Status DomainStatus noSmithyDocumentSerde @@ -146,13 +137,7 @@ type PackageDependency struct { // operation returns a list of PackageSummary objects. type PackageSummary struct { - // The format of the package. Valid values are: - // - // * npm - // - // * pypi - // - // * maven + // The format of the package. Format PackageFormat // The namespace of the package. The package component that specifies its namespace @@ -182,16 +167,7 @@ type PackageVersionDescription struct { // the namespace vue, and has the format npm, then the displayName is @vue/ui. DisplayName *string - // The format of the package version. The valid package formats are: - // - // * npm: A Node - // Package Manager (npm) package. - // - // * pypi: A Python Package Index (PyPI) - // package. - // - // * maven: A Maven package that contains compiled code in a - // distributable format, such as a JAR file. + // The format of the package version. Format PackageFormat // The homepage associated with the package. @@ -226,18 +202,7 @@ type PackageVersionDescription struct { // used to build it. SourceCodeRepository *string - // A string that contains the status of the package version. It can be one of the - // following: - // - // * Published - // - // * Unfinished - // - // * Unlisted - // - // * Archived - // - // * Disposed + // A string that contains the status of the package version. Status PackageVersionStatus // A summary of the package version. The summary is extracted from the package. The @@ -286,16 +251,6 @@ type PackageVersionSummary struct { // A string that contains the status of the package version. It can be one of the // following: // - // * Published - // - // * Unfinished - // - // * Unlisted - // - // * Archived - // - // * Disposed - // // This member is required. Status PackageVersionStatus @@ -310,15 +265,16 @@ type PackageVersionSummary struct { noSmithyDocumentSerde } -// The details of a repository stored in AWS CodeArtifact. A CodeArtifact -// repository contains a set of package versions, each of which maps to a set of -// assets. Repositories are polyglot—a single repository can contain packages of -// any supported type. Each repository exposes endpoints for fetching and -// publishing packages using tools like the npm CLI, the Maven CLI (mvn), and pip. -// You can create up to 100 repositories per AWS account. +// The details of a repository stored in CodeArtifact. A CodeArtifact repository +// contains a set of package versions, each of which maps to a set of assets. +// Repositories are polyglot—a single repository can contain packages of any +// supported type. Each repository exposes endpoints for fetching and publishing +// packages using tools like the npm CLI, the Maven CLI (mvn), and pip. You can +// create up to 100 repositories per Amazon Web Services account. type RepositoryDescription struct { - // The 12-digit account number of the AWS account that manages the repository. + // The 12-digit account number of the Amazon Web Services account that manages the + // repository. AdministratorAccount *string // The Amazon Resource Name (ARN) of the repository. @@ -330,8 +286,8 @@ type RepositoryDescription struct { // The name of the domain that contains the repository. DomainName *string - // The 12-digit account number of the AWS account that owns the domain that - // contains the repository. It does not include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain that contains the repository. It does not include dashes or spaces. DomainOwner *string // An array of external connections associated with the repository. @@ -341,7 +297,7 @@ type RepositoryDescription struct { Name *string // A list of upstream repositories to associate with the repository. The order of - // the upstream repositories in the list determines their priority order when AWS + // the upstream repositories in the list determines their priority order when // CodeArtifact looks for a requested package version. For more information, see // Working with upstream repositories // (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html). @@ -366,6 +322,9 @@ type RepositoryExternalConnectionInfo struct { // // * maven: A Maven package that contains // compiled code in a distributable format, such as a JAR file. + // + // * nuget: A NuGet + // package. PackageFormat PackageFormat // The status of the external connection of a repository. There is one valid value, @@ -381,7 +340,7 @@ type RepositoryExternalConnectionInfo struct { // operation returns a list of RepositorySummary objects. type RepositorySummary struct { - // The AWS account ID that manages the repository. + // The Amazon Web Services account ID that manages the repository. AdministratorAccount *string // The ARN of the repository. @@ -393,8 +352,8 @@ type RepositorySummary struct { // The name of the domain that contains the repository. DomainName *string - // The 12-digit account number of the AWS account that owns the domain. It does not - // include dashes or spaces. + // The 12-digit account number of the Amazon Web Services account that owns the + // domain. It does not include dashes or spaces. DomainOwner *string // The name of the repository. @@ -403,8 +362,8 @@ type RepositorySummary struct { noSmithyDocumentSerde } -// An AWS CodeArtifact resource policy that contains a resource ARN, document -// details, and a revision. +// An CodeArtifact resource policy that contains a resource ARN, document details, +// and a revision. type ResourcePolicy struct { // The resource policy formatted in JSON. @@ -425,25 +384,14 @@ type SuccessfulPackageVersionInfo struct { // The revision of a package version. Revision *string - // The status of a package version. Valid statuses are: - // - // * Published - // - // * - // Unfinished - // - // * Unlisted - // - // * Archived - // - // * Disposed + // The status of a package version. Status PackageVersionStatus noSmithyDocumentSerde } // A tag is a key-value pair that can be used to manage, search for, or filter -// resources in AWS CodeArtifact. +// resources in CodeArtifact. type Tag struct { // The tag key. diff --git a/service/codebuild/CHANGELOG.md b/service/codebuild/CHANGELOG.md index df5a1747711..ad6d6219b95 100644 --- a/service/codebuild/CHANGELOG.md +++ b/service/codebuild/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.19.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codebuild/go.mod b/service/codebuild/go.mod index 6e6bba16487..278e3c59520 100644 --- a/service/codebuild/go.mod +++ b/service/codebuild/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codebuild go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codebuild/go.sum b/service/codebuild/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codebuild/go.sum +++ b/service/codebuild/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codebuild/go_module_metadata.go b/service/codebuild/go_module_metadata.go index 2abdb7ceb89..6437b3fcb5e 100644 --- a/service/codebuild/go_module_metadata.go +++ b/service/codebuild/go_module_metadata.go @@ -3,4 +3,4 @@ package codebuild // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.5" +const goModuleVersion = "1.19.6" diff --git a/service/codecommit/CHANGELOG.md b/service/codecommit/CHANGELOG.md index 5418e7fa2e6..4f89ad0547c 100644 --- a/service/codecommit/CHANGELOG.md +++ b/service/codecommit/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codecommit/go.mod b/service/codecommit/go.mod index 6262111ec7e..5d257a098bf 100644 --- a/service/codecommit/go.mod +++ b/service/codecommit/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codecommit go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codecommit/go.sum b/service/codecommit/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codecommit/go.sum +++ b/service/codecommit/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codecommit/go_module_metadata.go b/service/codecommit/go_module_metadata.go index f08af3a7fcf..750e4ca11f2 100644 --- a/service/codecommit/go_module_metadata.go +++ b/service/codecommit/go_module_metadata.go @@ -3,4 +3,4 @@ package codecommit // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/codedeploy/CHANGELOG.md b/service/codedeploy/CHANGELOG.md index 378244ede22..71a55b4daad 100644 --- a/service/codedeploy/CHANGELOG.md +++ b/service/codedeploy/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codedeploy/go.mod b/service/codedeploy/go.mod index 51a07182bc2..4c3b68780a7 100644 --- a/service/codedeploy/go.mod +++ b/service/codedeploy/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codedeploy go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/codedeploy/go.sum b/service/codedeploy/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/codedeploy/go.sum +++ b/service/codedeploy/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/codedeploy/go_module_metadata.go b/service/codedeploy/go_module_metadata.go index d25f3703ebf..558eb8b131a 100644 --- a/service/codedeploy/go_module_metadata.go +++ b/service/codedeploy/go_module_metadata.go @@ -3,4 +3,4 @@ package codedeploy // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/codeguruprofiler/CHANGELOG.md b/service/codeguruprofiler/CHANGELOG.md index 54cd5b24c51..067c5aaf3fa 100644 --- a/service/codeguruprofiler/CHANGELOG.md +++ b/service/codeguruprofiler/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codeguruprofiler/go.mod b/service/codeguruprofiler/go.mod index 0fe1ffbcd1f..e62f2167012 100644 --- a/service/codeguruprofiler/go.mod +++ b/service/codeguruprofiler/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codeguruprofiler go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codeguruprofiler/go.sum b/service/codeguruprofiler/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codeguruprofiler/go.sum +++ b/service/codeguruprofiler/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codeguruprofiler/go_module_metadata.go b/service/codeguruprofiler/go_module_metadata.go index 01ffe6e5da7..3cbc8fb45d8 100644 --- a/service/codeguruprofiler/go_module_metadata.go +++ b/service/codeguruprofiler/go_module_metadata.go @@ -3,4 +3,4 @@ package codeguruprofiler // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/codegurureviewer/CHANGELOG.md b/service/codegurureviewer/CHANGELOG.md index 369249b62b2..f34bb0e2a40 100644 --- a/service/codegurureviewer/CHANGELOG.md +++ b/service/codegurureviewer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codegurureviewer/go.mod b/service/codegurureviewer/go.mod index 1a98b834f4b..6ee4f4af178 100644 --- a/service/codegurureviewer/go.mod +++ b/service/codegurureviewer/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codegurureviewer go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/codegurureviewer/go.sum b/service/codegurureviewer/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/codegurureviewer/go.sum +++ b/service/codegurureviewer/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/codegurureviewer/go_module_metadata.go b/service/codegurureviewer/go_module_metadata.go index 1a4e360b5a0..87706f93279 100644 --- a/service/codegurureviewer/go_module_metadata.go +++ b/service/codegurureviewer/go_module_metadata.go @@ -3,4 +3,4 @@ package codegurureviewer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.1" +const goModuleVersion = "1.16.2" diff --git a/service/codepipeline/CHANGELOG.md b/service/codepipeline/CHANGELOG.md index 9523eb33da5..90538163b89 100644 --- a/service/codepipeline/CHANGELOG.md +++ b/service/codepipeline/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codepipeline/go.mod b/service/codepipeline/go.mod index 469365257d0..d9ab9f20b01 100644 --- a/service/codepipeline/go.mod +++ b/service/codepipeline/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codepipeline go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codepipeline/go.sum b/service/codepipeline/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codepipeline/go.sum +++ b/service/codepipeline/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codepipeline/go_module_metadata.go b/service/codepipeline/go_module_metadata.go index e3ffef3b216..18aece83bbf 100644 --- a/service/codepipeline/go_module_metadata.go +++ b/service/codepipeline/go_module_metadata.go @@ -3,4 +3,4 @@ package codepipeline // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/codestar/CHANGELOG.md b/service/codestar/CHANGELOG.md index 527db45b18a..486e47532f5 100644 --- a/service/codestar/CHANGELOG.md +++ b/service/codestar/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codestar/go.mod b/service/codestar/go.mod index 872d7fd7729..9476bf8d3e2 100644 --- a/service/codestar/go.mod +++ b/service/codestar/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codestar go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codestar/go.sum b/service/codestar/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codestar/go.sum +++ b/service/codestar/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codestar/go_module_metadata.go b/service/codestar/go_module_metadata.go index 0077d8c4515..3c42a8bf5ca 100644 --- a/service/codestar/go_module_metadata.go +++ b/service/codestar/go_module_metadata.go @@ -3,4 +3,4 @@ package codestar // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/codestarconnections/CHANGELOG.md b/service/codestarconnections/CHANGELOG.md index 9523eb33da5..90538163b89 100644 --- a/service/codestarconnections/CHANGELOG.md +++ b/service/codestarconnections/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codestarconnections/go.mod b/service/codestarconnections/go.mod index 6839d3032ed..d917b6320d1 100644 --- a/service/codestarconnections/go.mod +++ b/service/codestarconnections/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codestarconnections go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codestarconnections/go.sum b/service/codestarconnections/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codestarconnections/go.sum +++ b/service/codestarconnections/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codestarconnections/go_module_metadata.go b/service/codestarconnections/go_module_metadata.go index 2b943138dd8..64bdf760b7c 100644 --- a/service/codestarconnections/go_module_metadata.go +++ b/service/codestarconnections/go_module_metadata.go @@ -3,4 +3,4 @@ package codestarconnections // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/codestarnotifications/CHANGELOG.md b/service/codestarnotifications/CHANGELOG.md index e70533e0fa9..199cebbf0b1 100644 --- a/service/codestarnotifications/CHANGELOG.md +++ b/service/codestarnotifications/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/codestarnotifications/go.mod b/service/codestarnotifications/go.mod index 8947c2df20c..2905468b580 100644 --- a/service/codestarnotifications/go.mod +++ b/service/codestarnotifications/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/codestarnotifications go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codestarnotifications/go.sum b/service/codestarnotifications/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/codestarnotifications/go.sum +++ b/service/codestarnotifications/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/codestarnotifications/go_module_metadata.go b/service/codestarnotifications/go_module_metadata.go index 43648b53be5..aced0524b08 100644 --- a/service/codestarnotifications/go_module_metadata.go +++ b/service/codestarnotifications/go_module_metadata.go @@ -3,4 +3,4 @@ package codestarnotifications // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/cognitoidentity/CHANGELOG.md b/service/cognitoidentity/CHANGELOG.md index 30a7ad88ec7..8cf6be65646 100644 --- a/service/cognitoidentity/CHANGELOG.md +++ b/service/cognitoidentity/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cognitoidentity/go.mod b/service/cognitoidentity/go.mod index c2b9fa095cc..41e6d3faa59 100644 --- a/service/cognitoidentity/go.mod +++ b/service/cognitoidentity/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cognitoidentity go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cognitoidentity/go.sum b/service/cognitoidentity/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cognitoidentity/go.sum +++ b/service/cognitoidentity/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cognitoidentity/go_module_metadata.go b/service/cognitoidentity/go_module_metadata.go index d9f64cec1ff..7e04ae8c4ff 100644 --- a/service/cognitoidentity/go_module_metadata.go +++ b/service/cognitoidentity/go_module_metadata.go @@ -3,4 +3,4 @@ package cognitoidentity // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/cognitoidentityprovider/CHANGELOG.md b/service/cognitoidentityprovider/CHANGELOG.md index 8adcd7df77c..134dd2d70d6 100644 --- a/service/cognitoidentityprovider/CHANGELOG.md +++ b/service/cognitoidentityprovider/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.17.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.17.0 (2022-05-31) + +* **Feature**: Amazon Cognito now supports IP Address propagation for all unauthenticated APIs (e.g. SignUp, ForgotPassword). + +# v1.16.0 (2022-05-24) + +* **Feature**: Amazon Cognito now supports requiring attribute verification (ex. email and phone number) before update. + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go index 5a909ccc565..1b4d3df94c5 100644 --- a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go @@ -12,12 +12,12 @@ import ( ) // Prevents the user from signing in with the specified external (SAML or social) -// identity provider. If the user that you want to deactivate is a Amazon Cognito -// user pools native username + password user, they can't use their password to -// sign in. If the user to deactivate is a linked external identity provider (IdP) -// user, any link between that user and an existing user is removed. When the -// external user signs in again, and the user is no longer attached to the -// previously linked DestinationUser, the user must create a new user account. See +// identity provider (IdP). If the user that you want to deactivate is a Amazon +// Cognito user pools native username + password user, they can't use their +// password to sign in. If the user to deactivate is a linked external IdP user, +// any link between that user and an existing user is removed. When the external +// user signs in again, and the user is no longer attached to the previously linked +// DestinationUser, the user must create a new user account. See // AdminLinkProviderForUser // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html). // This action is enabled only for admin access and requires developer credentials. @@ -25,17 +25,17 @@ import ( // pool. To deactivate a native username + password user, the ProviderName value // must be Cognito and the ProviderAttributeName must be Cognito_Subject. The // ProviderAttributeValue must be the name that is used in the user pool for the -// user. The ProviderAttributeName must always be Cognito_Subject for social -// identity providers. The ProviderAttributeValue must always be the exact subject -// that was used when the user was originally linked as a source user. For -// de-linking a SAML identity, there are two scenarios. If the linked identity has -// not yet been used to sign in, the ProviderAttributeName and -// ProviderAttributeValue must be the same values that were used for the SourceUser -// when the identities were originally linked using AdminLinkProviderForUser call. -// (If the linking was done with ProviderAttributeName set to Cognito_Subject, the -// same applies here). However, if the user has already signed in, the -// ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be -// the subject of the SAML assertion. +// user. The ProviderAttributeName must always be Cognito_Subject for social IdPs. +// The ProviderAttributeValue must always be the exact subject that was used when +// the user was originally linked as a source user. For de-linking a SAML identity, +// there are two scenarios. If the linked identity has not yet been used to sign +// in, the ProviderAttributeName and ProviderAttributeValue must be the same values +// that were used for the SourceUser when the identities were originally linked +// using AdminLinkProviderForUser call. (If the linking was done with +// ProviderAttributeName set to Cognito_Subject, the same applies here). However, +// if the user has already signed in, the ProviderAttributeName must be +// Cognito_Subject and ProviderAttributeValue must be the subject of the SAML +// assertion. func (c *Client) AdminDisableProviderForUser(ctx context.Context, params *AdminDisableProviderForUserInput, optFns ...func(*Options)) (*AdminDisableProviderForUserOutput, error) { if params == nil { params = &AdminDisableProviderForUserInput{} diff --git a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go index 3bd0b7ec5a6..5db01274a42 100644 --- a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go @@ -174,9 +174,10 @@ type AdminInitiateAuthInput struct { // value. Don't use Amazon Cognito to provide sensitive information. ClientMetadata map[string]string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. ContextData *types.ContextDataType noSmithyDocumentSerde @@ -228,18 +229,27 @@ type AdminInitiateAuthOutput struct { // // * // NEW_PASSWORD_REQUIRED: For users who are required to change their passwords - // after successful first login. This challenge should be passed with NEW_PASSWORD - // and any other required attributes. - // - // * MFA_SETUP: For users who are required to - // set up an MFA factor before they can sign in. The MFA types activated for the - // user pool will be listed in the challenge parameters MFA_CAN_SETUP value. To set - // up software token MFA, use the session returned here from InitiateAuth as an - // input to AssociateSoftwareToken, and use the session returned by - // VerifySoftwareToken as an input to RespondToAuthChallenge with challenge name - // MFA_SETUP to complete sign-in. To set up SMS MFA, users will need help from an - // administrator to add a phone number to their account and then call InitiateAuth - // again to restart sign-in. + // after successful first login. Respond to this challenge with NEW_PASSWORD and + // any required attributes that Amazon Cognito returned in the requiredAttributes + // parameter. You can also set values for attributes that aren't required by your + // user pool and that your app client can write. For more information, see + // AdminRespondToAuthChallenge + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminRespondToAuthChallenge.html). + // In a NEW_PASSWORD_REQUIRED challenge response, you can't modify a required + // attribute that already has a value. In AdminRespondToAuthChallenge, set a value + // for any keys that Amazon Cognito returned in the requiredAttributes parameter, + // then use the AdminUpdateUserAttributes API operation to modify the value of any + // additional attributes. + // + // * MFA_SETUP: For users who are required to set up an MFA + // factor before they can sign in. The MFA types activated for the user pool will + // be listed in the challenge parameters MFA_CAN_SETUP value. To set up software + // token MFA, use the session returned here from InitiateAuth as an input to + // AssociateSoftwareToken, and use the session returned by VerifySoftwareToken as + // an input to RespondToAuthChallenge with challenge name MFA_SETUP to complete + // sign-in. To set up SMS MFA, users will need help from an administrator to add a + // phone number to their account and then call InitiateAuth again to restart + // sign-in. ChallengeName types.ChallengeNameType // The challenge parameters. These are returned to you in the AdminInitiateAuth diff --git a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go index 75eacefb599..7edf5d7d41f 100644 --- a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go @@ -12,19 +12,18 @@ import ( ) // Links an existing user account in a user pool (DestinationUser) to an identity -// from an external identity provider (SourceUser) based on a specified attribute -// name and value from the external identity provider. This allows you to create a -// link from the existing user account to an external federated user identity that -// has not yet been used to sign in. You can then use the federated user identity -// to sign in as the existing user account. For example, if there is an existing -// user with a username and password, this API links that user to a federated user -// identity. When the user signs in with a federated user identity, they sign in as -// the existing user account. The maximum number of federated identities linked to -// a user is 5. Because this API allows a user with an external federated identity -// to sign in as an existing user in the user pool, it is critical that it only be -// used with external identity providers and provider attributes that have been -// trusted by the application owner. This action is administrative and requires -// developer credentials. +// from an external IdP (SourceUser) based on a specified attribute name and value +// from the external IdP. This allows you to create a link from the existing user +// account to an external federated user identity that has not yet been used to +// sign in. You can then use the federated user identity to sign in as the existing +// user account. For example, if there is an existing user with a username and +// password, this API links that user to a federated user identity. When the user +// signs in with a federated user identity, they sign in as the existing user +// account. The maximum number of federated identities linked to a user is five. +// Because this API allows a user with an external federated identity to sign in as +// an existing user in the user pool, it is critical that it only be used with +// external IdPs and provider attributes that have been trusted by the application +// owner. This action is administrative and requires developer credentials. func (c *Client) AdminLinkProviderForUser(ctx context.Context, params *AdminLinkProviderForUserInput, optFns ...func(*Options)) (*AdminLinkProviderForUserOutput, error) { if params == nil { params = &AdminLinkProviderForUserInput{} @@ -42,35 +41,34 @@ func (c *Client) AdminLinkProviderForUser(ctx context.Context, params *AdminLink type AdminLinkProviderForUserInput struct { - // The existing user in the user pool that you want to assign to the external - // identity provider user account. This user can be a native (Username + Password) - // Amazon Cognito user pools user or a federated user (for example, a SAML or - // Facebook user). If the user doesn't exist, Amazon Cognito generates an - // exception. Amazon Cognito returns this user when the new user (with the linked - // identity provider attribute) signs in. For a native username + password user, - // the ProviderAttributeValue for the DestinationUser should be the username in the - // user pool. For a federated user, it should be the provider-specific user_id. The - // ProviderAttributeName of the DestinationUser is ignored. The ProviderName should - // be set to Cognito for users in Cognito user pools. All attributes in the - // DestinationUser profile must be mutable. If you have assigned the user any - // immutable custom attributes, the operation won't succeed. + // The existing user in the user pool that you want to assign to the external IdP + // user account. This user can be a native (Username + Password) Amazon Cognito + // user pools user or a federated user (for example, a SAML or Facebook user). If + // the user doesn't exist, Amazon Cognito generates an exception. Amazon Cognito + // returns this user when the new user (with the linked IdP attribute) signs in. + // For a native username + password user, the ProviderAttributeValue for the + // DestinationUser should be the username in the user pool. For a federated user, + // it should be the provider-specific user_id. The ProviderAttributeName of the + // DestinationUser is ignored. The ProviderName should be set to Cognito for users + // in Cognito user pools. All attributes in the DestinationUser profile must be + // mutable. If you have assigned the user any immutable custom attributes, the + // operation won't succeed. // // This member is required. DestinationUser *types.ProviderUserIdentifierType - // An external identity provider account for a user who doesn't exist yet in the - // user pool. This user must be a federated user (for example, a SAML or Facebook - // user), not another native user. If the SourceUser is using a federated social - // identity provider, such as Facebook, Google, or Login with Amazon, you must set - // the ProviderAttributeName to Cognito_Subject. For social identity providers, the - // ProviderName will be Facebook, Google, or LoginWithAmazon, and Amazon Cognito - // will automatically parse the Facebook, Google, and Login with Amazon tokens for - // id, sub, and user_id, respectively. The ProviderAttributeValue for the user must - // be the same value as the id, sub, or user_id value found in the social identity - // provider token. For SAML, the ProviderAttributeName can be any value that - // matches a claim in the SAML assertion. If you want to link SAML users based on - // the subject of the SAML assertion, you should map the subject to a claim through - // the SAML identity provider and submit that claim name as the + // An external IdP account for a user who doesn't exist yet in the user pool. This + // user must be a federated user (for example, a SAML or Facebook user), not + // another native user. If the SourceUser is using a federated social IdP, such as + // Facebook, Google, or Login with Amazon, you must set the ProviderAttributeName + // to Cognito_Subject. For social IdPs, the ProviderName will be Facebook, Google, + // or LoginWithAmazon, and Amazon Cognito will automatically parse the Facebook, + // Google, and Login with Amazon tokens for id, sub, and user_id, respectively. The + // ProviderAttributeValue for the user must be the same value as the id, sub, or + // user_id value found in the social IdP token. For SAML, the ProviderAttributeName + // can be any value that matches a claim in the SAML assertion. If you want to link + // SAML users based on the subject of the SAML assertion, you should map the + // subject to a claim through the SAML IdP and submit that claim name as the // ProviderAttributeName. If you set ProviderAttributeName to Cognito_Subject, // Amazon Cognito will automatically parse the default unique identifier found in // the subject from the SAML token. diff --git a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go index c43c623562c..3e958c392ce 100644 --- a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go @@ -82,19 +82,26 @@ type AdminRespondToAuthChallengeInput struct { // ADMIN_NO_SRP_AUTH: PASSWORD, USERNAME, SECRET_HASH (if app client is configured // with client secret). // - // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required - // attributes, USERNAME, SECRET_HASH (if app client is configured with client - // secret). + // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, USERNAME, + // SECRET_HASH (if app client is configured with client secret). To set any + // required attributes that Amazon Cognito returned as requiredAttributes in the + // AdminInitiateAuth response, add a userAttributes.attributename parameter. This + // parameter can also set values for writable attributes that aren't required by + // your user pool. In a NEW_PASSWORD_REQUIRED challenge response, you can't modify + // a required attribute that already has a value. In AdminRespondToAuthChallenge, + // set a value for any keys that Amazon Cognito returned in the requiredAttributes + // parameter, then use the AdminUpdateUserAttributes API operation to modify the + // value of any additional attributes. // - // * MFA_SETUP requires USERNAME, plus you must use the session value - // returned by VerifySoftwareToken in the Session parameter. + // * MFA_SETUP requires USERNAME, plus you + // must use the session value returned by VerifySoftwareToken in the Session + // parameter. // - // The value of the - // USERNAME attribute must be the user's actual username, not an alias (such as an - // email address or phone number). To make this simpler, the AdminInitiateAuth - // response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP - // attribute. This happens even if you specified an alias in your call to - // AdminInitiateAuth. + // The value of the USERNAME attribute must be the user's actual + // username, not an alias (such as an email address or phone number). To make this + // simpler, the AdminInitiateAuth response includes the actual username value in + // the USERNAMEUSER_ID_FOR_SRP attribute. This happens even if you specified an + // alias in your call to AdminInitiateAuth. ChallengeResponses map[string]string // A map of custom key-value pairs that you can provide as input for any custom @@ -145,9 +152,10 @@ type AdminRespondToAuthChallengeInput struct { // value. Don't use Amazon Cognito to provide sensitive information. ClientMetadata map[string]string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. ContextData *types.ContextDataType // The session that should be passed both ways in challenge-response calls to the diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go index 11303464f39..a5706877193 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go @@ -51,7 +51,18 @@ func (c *Client) AdminUpdateUserAttributes(ctx context.Context, params *AdminUpd type AdminUpdateUserAttributesInput struct { // An array of name-value pairs representing user attributes. For custom - // attributes, you must prepend the custom: prefix to the attribute name. + // attributes, you must prepend the custom: prefix to the attribute name. If your + // user pool requires verification before Amazon Cognito updates an attribute value + // that you specify in this request, Amazon Cognito doesn’t immediately update the + // value of that attribute. After your user receives and responds to a verification + // message to verify the new value, Amazon Cognito updates the attribute value. + // Your user can sign in and receive messages with the original attribute value + // until they verify the new value. To update the value of an attribute that + // requires verification in the same API request, include the email_verified or + // phone_number_verified attribute, with a value of true. If you set the + // email_verified or phone_number_verified value for an email or phone_number + // attribute that requires verification to true, Amazon Cognito doesn’t send a + // verification message to your user. // // This member is required. UserAttributes []types.AttributeType diff --git a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go index 3196da1b2cc..81476eca594 100644 --- a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go @@ -10,10 +10,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Signs out users from all devices, as an administrator. It also invalidates all -// refresh tokens issued to a user. The user's current access and Id tokens remain -// valid until their expiry. Access and Id tokens expire one hour after they're -// issued. Calling this action requires developer credentials. +// Signs out a user from all devices. You must sign AdminUserGlobalSignOut requests +// with Amazon Web Services credentials. It also invalidates all refresh tokens +// that Amazon Cognito has issued to a user. The user's current access and ID +// tokens remain valid until they expire. By default, access and ID tokens expire +// one hour after they're issued. A user can still use a hosted UI cookie to +// retrieve new tokens for the duration of the cookie validity period of 1 hour. +// Calling this action requires developer credentials. func (c *Client) AdminUserGlobalSignOut(ctx context.Context, params *AdminUserGlobalSignOutInput, optFns ...func(*Options)) (*AdminUserGlobalSignOutOutput, error) { if params == nil { params = &AdminUserGlobalSignOutInput{} diff --git a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go index 5c175a3fcc0..4a85698890a 100644 --- a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go @@ -10,14 +10,21 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns a unique generated shared secret key code for the user account. The -// request takes an access token or a session string, but not both. Calling -// AssociateSoftwareToken immediately disassociates the existing software token -// from the user account. If the user doesn't subsequently verify the software -// token, their account is set up to authenticate without MFA. If MFA config is set -// to Optional at the user pool level, the user can then log in without MFA. -// However, if MFA is set to Required for the user pool, the user is asked to set -// up a new software token MFA during sign-in. +// Begins setup of time-based one-time password multi-factor authentication (TOTP +// MFA) for a user, with a unique private key that Amazon Cognito generates and +// returns in the API response. You can authorize an AssociateSoftwareToken request +// with either the user's access token, or a session string from a challenge +// response that you received from Amazon Cognito. Amazon Cognito disassociates an +// existing software token when you verify the new token in a VerifySoftwareToken +// (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifySoftwareToken.html) +// API request. If you don't verify the software token and your user pool doesn't +// require MFA, the user can then authenticate with user name and password +// credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates +// an MFA_SETUP or SOFTWARE_TOKEN_SETUP challenge each time your user signs. +// Complete setup with AssociateSoftwareToken and VerifySoftwareToken. After you +// set up software token MFA for your user, Amazon Cognito generates a +// SOFTWARE_TOKEN_MFA challenge when they authenticate. Respond to this challenge +// with your user's TOTP. func (c *Client) AssociateSoftwareToken(ctx context.Context, params *AssociateSoftwareTokenInput, optFns ...func(*Options)) (*AssociateSoftwareTokenOutput, error) { if params == nil { params = &AssociateSoftwareTokenInput{} @@ -35,7 +42,8 @@ func (c *Client) AssociateSoftwareToken(ctx context.Context, params *AssociateSo type AssociateSoftwareTokenInput struct { - // The access token. + // A valid access token that Amazon Cognito issued to the user whose software token + // you want to generate. AccessToken *string // The session that should be passed both ways in challenge-response calls to the diff --git a/service/cognitoidentityprovider/api_op_ChangePassword.go b/service/cognitoidentityprovider/api_op_ChangePassword.go index cf7fd8ec41b..94ac2daaf78 100644 --- a/service/cognitoidentityprovider/api_op_ChangePassword.go +++ b/service/cognitoidentityprovider/api_op_ChangePassword.go @@ -28,7 +28,8 @@ func (c *Client) ChangePassword(ctx context.Context, params *ChangePasswordInput // Represents the request to change a user password. type ChangePasswordInput struct { - // The access token. + // A valid access token that Amazon Cognito issued to the user whose password you + // want to change. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_ConfirmDevice.go b/service/cognitoidentityprovider/api_op_ConfirmDevice.go index 7b1c0784cd9..a07eed42a3a 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmDevice.go +++ b/service/cognitoidentityprovider/api_op_ConfirmDevice.go @@ -31,7 +31,8 @@ func (c *Client) ConfirmDevice(ctx context.Context, params *ConfirmDeviceInput, // Confirms the device request. type ConfirmDeviceInput struct { - // The access token. + // A valid access token that Amazon Cognito issued to the user whose device you + // want to confirm. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go index a38ea14979b..3b1bc023b60 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go @@ -87,9 +87,10 @@ type ConfirmForgotPasswordInput struct { // of a user pool client and username plus the client ID in the message. SecretHash *string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. UserContextData *types.UserContextDataType noSmithyDocumentSerde diff --git a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go index 3d10111f8e5..014f766badb 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go +++ b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go @@ -10,8 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Confirms registration of a user and handles the existing alias from a previous -// user. +// Confirms registration of a new user. func (c *Client) ConfirmSignUp(ctx context.Context, params *ConfirmSignUpInput, optFns ...func(*Options)) (*ConfirmSignUpOutput, error) { if params == nil { params = &ConfirmSignUpInput{} @@ -88,9 +87,10 @@ type ConfirmSignUpInput struct { // of a user pool client and username plus the client ID in the message. SecretHash *string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. UserContextData *types.UserContextDataType noSmithyDocumentSerde diff --git a/service/cognitoidentityprovider/api_op_CreateGroup.go b/service/cognitoidentityprovider/api_op_CreateGroup.go index 8cc0b101720..a5db7115b66 100644 --- a/service/cognitoidentityprovider/api_op_CreateGroup.go +++ b/service/cognitoidentityprovider/api_op_CreateGroup.go @@ -46,7 +46,7 @@ type CreateGroupInput struct { // A non-negative integer value that specifies the precedence of this group // relative to the other groups that a user can belong to in the user pool. Zero is // the highest precedence value. Groups with lower Precedence values take - // precedence over groups with higher ornull Precedence values. If a user belongs + // precedence over groups with higher or null Precedence values. If a user belongs // to two or more groups, it is the group with the lowest precedence value whose // role ARN is given in the user's tokens for the cognito:roles and // cognito:preferred_role claims. Two groups can have the same Precedence value. If @@ -54,7 +54,8 @@ type CreateGroupInput struct { // the same Precedence have the same role ARN, that role is used in the // cognito:preferred_role claim in tokens for users in each group. If the two // groups have different role ARNs, the cognito:preferred_role claim isn't set in - // users' tokens. The default Precedence value is null. + // users' tokens. The default Precedence value is null. The maximum Precedence + // value is 2^31-1. Precedence *int32 // The role Amazon Resource Name (ARN) for the group. diff --git a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go index ae1d43a3cb3..99aeb1baca1 100644 --- a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates an identity provider for a user pool. +// Creates an IdP for a user pool. func (c *Client) CreateIdentityProvider(ctx context.Context, params *CreateIdentityProviderInput, optFns ...func(*Options)) (*CreateIdentityProviderOutput, error) { if params == nil { params = &CreateIdentityProviderInput{} @@ -29,35 +29,35 @@ func (c *Client) CreateIdentityProvider(ctx context.Context, params *CreateIdent type CreateIdentityProviderInput struct { - // The identity provider details. The following list describes the provider detail - // keys for each identity provider type. + // The IdP details. The following list describes the provider detail keys for each + // IdP type. // // * For Google and Login with Amazon: // - // * - // client_id + // * client_id // // * client_secret // - // * authorize_scopes + // * + // authorize_scopes // // * For Facebook: // // * client_id // - // * - // client_secret + // * client_secret // - // * authorize_scopes + // * + // authorize_scopes // // * api_version // // * For Sign in with Apple: // - // * - // client_id + // * client_id // - // * team_id + // * + // team_id // // * key_id // @@ -65,51 +65,54 @@ type CreateIdentityProviderInput struct { // // * authorize_scopes // - // * For OpenID - // Connect (OIDC) providers: + // * For OpenID Connect + // (OIDC) providers: // // * client_id // // * client_secret // - // * - // attributes_request_method + // * attributes_request_method // - // * oidc_issuer + // * + // oidc_issuer // // * authorize_scopes // - // * authorize_url if - // not available from discovery URL specified by oidc_issuer key + // * The following keys are only present if Amazon + // Cognito didn't discover them at the oidc_issuer URL. // - // * token_url if - // not available from discovery URL specified by oidc_issuer key + // * authorize_url + // + // * + // token_url // // * attributes_url - // if not available from discovery URL specified by oidc_issuer key // - // * jwks_uri if - // not available from discovery URL specified by oidc_issuer key + // * jwks_uri // - // * - // attributes_url_add_attributes a read-only property that is set automatically + // * Amazon Cognito sets the value of the + // following keys automatically. They are read-only. // // * - // For SAML providers: + // attributes_url_add_attributes + // + // * For SAML providers: // - // * MetadataFile OR MetadataURL + // * MetadataFile or + // MetadataURL // - // * IDPSignout (optional) + // * IDPSignout optional // // This member is required. ProviderDetails map[string]string - // The identity provider name. + // The IdP name. // // This member is required. ProviderName *string - // The identity provider type. + // The IdP type. // // This member is required. ProviderType types.IdentityProviderTypeType @@ -119,11 +122,10 @@ type CreateIdentityProviderInput struct { // This member is required. UserPoolId *string - // A mapping of identity provider attributes to standard and custom user pool - // attributes. + // A mapping of IdP attributes to standard and custom user pool attributes. AttributeMapping map[string]string - // A list of identity provider identifiers. + // A list of IdP identifiers. IdpIdentifiers []string noSmithyDocumentSerde @@ -131,7 +133,7 @@ type CreateIdentityProviderInput struct { type CreateIdentityProviderOutput struct { - // The newly created identity provider object. + // The newly created IdP object. // // This member is required. IdentityProvider *types.IdentityProviderType diff --git a/service/cognitoidentityprovider/api_op_CreateUserPool.go b/service/cognitoidentityprovider/api_op_CreateUserPool.go index 55d952e1238..646f19a7459 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPool.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPool.go @@ -123,6 +123,14 @@ type CreateUserPoolInput struct { // A string representing the SMS verification message. SmsVerificationMessage *string + // The settings for updates to user attributes. These settings include the property + // AttributesRequireVerificationBeforeUpdate, a user-pool setting that tells Amazon + // Cognito how to handle changes to the value of your users' email address and + // phone number attributes. For more information, see Verifying updates to to + // email addresses and phone numbers + // (https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates). + UserAttributeUpdateSettings *types.UserAttributeUpdateSettingsType + // Enables advanced security risk detection. Set the key AdvancedSecurityMode to // the value "AUDIT". UserPoolAddOns *types.UserPoolAddOnsType diff --git a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go index 4250425ba11..7b5111545db 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go @@ -43,26 +43,29 @@ type CreateUserPoolClientInput struct { // This member is required. UserPoolId *string - // The time limit, between 5 minutes and 1 day, after which the access token is no - // longer valid and can't be used. If you supply a TokenValidityUnits value, you - // will override the default time unit. + // The access token time limit. After this limit expires, your user can't use their + // access token. To specify the time unit for AccessTokenValidity as seconds, + // minutes, hours, or days, set a TokenValidityUnits value in your API request. For + // example, when you set AccessTokenValidity to 10 and TokenValidityUnits to hours, + // your user can authorize access with their access token for 10 hours. The default + // time unit for AccessTokenValidity in an API request is hours. Valid range is + // displayed below in seconds. AccessTokenValidity *int32 - // The allowed OAuth flows. Set to code to initiate a code grant flow, which - // provides an authorization code as the response. This code can be exchanged for - // access tokens with the token endpoint. Set to implicit to specify that the - // client should get the access token (and, optionally, ID token, based on scopes) - // directly. Set to client_credentials to specify that the client should get the - // access token (and, optionally, ID token, based on scopes) from the token - // endpoint using a combination of client and client_secret. + // The allowed OAuth flows. code Use a code grant flow, which provides an + // authorization code as the response. This code can be exchanged for access tokens + // with the /oauth2/token endpoint. implicit Issue the access token (and, + // optionally, ID token, based on scopes) directly to your user. client_credentials + // Issue the access token from the /oauth2/token endpoint directly to a non-person + // user using a combination of the client ID and client secret. AllowedOAuthFlows []types.OAuthFlowType // Set to true if the client is allowed to follow the OAuth protocol when // interacting with Amazon Cognito user pools. AllowedOAuthFlowsUserPoolClient bool - // The allowed OAuth scopes. Possible values provided by OAuth are: phone, email, - // openid, and profile. Possible values provided by Amazon Web Services are: + // The allowed OAuth scopes. Possible values provided by OAuth are phone, email, + // openid, and profile. Possible values provided by Amazon Web Services are // aws.cognito.signin.user.admin. Custom scopes created in Resource Servers are // also supported. AllowedOAuthScopes []string @@ -75,20 +78,20 @@ type CreateUserPoolClientInput struct { // Pinpoint projects within that same Region. AnalyticsConfiguration *types.AnalyticsConfigurationType - // A list of allowed redirect (callback) URLs for the identity providers. A - // redirect URI must: + // A list of allowed redirect (callback) URLs for the IdPs. A redirect URI must: // - // * Be an absolute URI. + // * + // Be an absolute URI. // - // * Be registered with the - // authorization server. + // * Be registered with the authorization server. // - // * Not include a fragment component. + // * Not + // include a fragment component. // - // See OAuth 2.0 - - // Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). Amazon - // Cognito requires HTTPS over HTTP except for http://localhost for testing - // purposes only. App callback URLs such as myapp://example are also supported. + // See OAuth 2.0 - Redirection Endpoint + // (https://tools.ietf.org/html/rfc6749#section-3.1.2). Amazon Cognito requires + // HTTPS over HTTP except for http://localhost for testing purposes only. App + // callback URLs such as myapp://example are also supported. CallbackURLs []string // The default redirect URI. Must be in the CallbackURLs list. A redirect URI @@ -107,6 +110,16 @@ type CreateUserPoolClientInput struct { // callback URLs such as myapp://example are also supported. DefaultRedirectURI *string + // Activates the propagation of additional user context data. For more information + // about propagation of user context data, see Adding advanced security to a user + // pool + // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html). + // If you don’t include this parameter, you can't send device fingerprint + // information, including source IP address, to Amazon Cognito advanced security. + // You can only activate EnablePropagateAdditionalUserContextData in an app client + // that has a client secret. + EnablePropagateAdditionalUserContextData *bool + // Activates or deactivates token revocation. For more information about revoking // tokens, see RevokeToken // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html). @@ -137,18 +150,26 @@ type CreateUserPoolClientInput struct { // // * // ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. + // + // If you don't + // specify a value for ExplicitAuthFlows, your app client activates the + // ALLOW_USER_SRP_AUTH and ALLOW_CUSTOM_AUTH authentication flows. ExplicitAuthFlows []types.ExplicitAuthFlowsType // Boolean to specify whether you want to generate a secret for the user pool // client being created. GenerateSecret bool - // The time limit, between 5 minutes and 1 day, after which the access token is no - // longer valid and can't be used. If you supply a TokenValidityUnits value, you - // will override the default time unit. + // The ID token time limit. After this limit expires, your user can't use their ID + // token. To specify the time unit for IdTokenValidity as seconds, minutes, hours, + // or days, set a TokenValidityUnits value in your API request. For example, when + // you set IdTokenValidity as 10 and TokenValidityUnits as hours, your user can + // authenticate their session with their ID token for 10 hours. The default time + // unit for AccessTokenValidity in an API request is hours. Valid range is + // displayed below in seconds. IdTokenValidity *int32 - // A list of allowed logout URLs for the identity providers. + // A list of allowed logout URLs for the IdPs. LogoutURLs []string // Errors and responses that you want Amazon Cognito APIs to return during @@ -170,27 +191,33 @@ type CreateUserPoolClientInput struct { // The read attributes. ReadAttributes []string - // The time limit, in days, after which the refresh token is no longer valid and - // can't be used. + // The refresh token time limit. After this limit expires, your user can't use + // their refresh token. To specify the time unit for RefreshTokenValidity as + // seconds, minutes, hours, or days, set a TokenValidityUnits value in your API + // request. For example, when you set RefreshTokenValidity as 10 and + // TokenValidityUnits as days, your user can refresh their session and retrieve new + // access and ID tokens for 10 days. The default time unit for RefreshTokenValidity + // in an API request is days. You can't set RefreshTokenValidity to 0. If you do, + // Amazon Cognito overrides the value with the default value of 30 days. Valid + // range is displayed below in seconds. RefreshTokenValidity int32 - // A list of provider names for the identity providers that are supported on this - // client. The following are supported: COGNITO, Facebook, Google and - // LoginWithAmazon. + // A list of provider names for the IdPs that this client supports. The following + // are supported: COGNITO, Facebook, GoogleLoginWithAmazon, and the names of your + // own SAML and OIDC providers. SupportedIdentityProviders []string - // The units in which the validity times are represented. Default for RefreshToken - // is days, and default for ID and access tokens are hours. + // The units in which the validity times are represented. The default unit for + // RefreshToken is days, and default for ID and access tokens are hours. TokenValidityUnits *types.TokenValidityUnitsType // The user pool attributes that the app client can write to. If your app client - // allows users to sign in through an identity provider, this array must include - // all attributes that you have mapped to identity provider attributes. Amazon - // Cognito updates mapped attributes when users sign in to your application through - // an identity provider. If your app client does not have write access to a mapped - // attribute, Amazon Cognito throws an error when it tries to update the attribute. - // For more information, see Specifying Identity Provider Attribute Mappings for - // Your user pool + // allows users to sign in through an IdP, this array must include all attributes + // that you have mapped to IdP attributes. Amazon Cognito updates mapped attributes + // when users sign in to your application through an IdP. If your app client does + // not have write access to a mapped attribute, Amazon Cognito throws an error when + // it tries to update the attribute. For more information, see Specifying IdP + // Attribute Mappings for Your user pool // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html). WriteAttributes []string diff --git a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go index e26360229c9..bb9f32029f7 100644 --- a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes an identity provider for a user pool. +// Deletes an IdP for a user pool. func (c *Client) DeleteIdentityProvider(ctx context.Context, params *DeleteIdentityProviderInput, optFns ...func(*Options)) (*DeleteIdentityProviderOutput, error) { if params == nil { params = &DeleteIdentityProviderInput{} @@ -28,7 +28,7 @@ func (c *Client) DeleteIdentityProvider(ctx context.Context, params *DeleteIdent type DeleteIdentityProviderInput struct { - // The identity provider name. + // The IdP name. // // This member is required. ProviderName *string diff --git a/service/cognitoidentityprovider/api_op_DeleteUser.go b/service/cognitoidentityprovider/api_op_DeleteUser.go index 1d8a978a72a..58d64d9e0b6 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUser.go +++ b/service/cognitoidentityprovider/api_op_DeleteUser.go @@ -28,7 +28,8 @@ func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns // Represents the request to delete a user. type DeleteUserInput struct { - // The access token from a request to delete a user. + // A valid access token that Amazon Cognito issued to the user whose user profile + // you want to delete. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go index 35f6566f4ce..847cc939314 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go @@ -28,7 +28,8 @@ func (c *Client) DeleteUserAttributes(ctx context.Context, params *DeleteUserAtt // Represents the request to delete user attributes. type DeleteUserAttributesInput struct { - // The access token used in the request to delete user attributes. + // A valid access token that Amazon Cognito issued to the user whose attributes you + // want to delete. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go index 71a40e26ea2..54967100caa 100644 --- a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets information about a specific identity provider. +// Gets information about a specific IdP. func (c *Client) DescribeIdentityProvider(ctx context.Context, params *DescribeIdentityProviderInput, optFns ...func(*Options)) (*DescribeIdentityProviderOutput, error) { if params == nil { params = &DescribeIdentityProviderInput{} @@ -29,7 +29,7 @@ func (c *Client) DescribeIdentityProvider(ctx context.Context, params *DescribeI type DescribeIdentityProviderInput struct { - // The identity provider name. + // The IdP name. // // This member is required. ProviderName *string @@ -44,7 +44,7 @@ type DescribeIdentityProviderInput struct { type DescribeIdentityProviderOutput struct { - // The identity provider that was deleted. + // The IdP that was deleted. // // This member is required. IdentityProvider *types.IdentityProviderType diff --git a/service/cognitoidentityprovider/api_op_ForgetDevice.go b/service/cognitoidentityprovider/api_op_ForgetDevice.go index 26f590b406e..3206a6c9b31 100644 --- a/service/cognitoidentityprovider/api_op_ForgetDevice.go +++ b/service/cognitoidentityprovider/api_op_ForgetDevice.go @@ -34,7 +34,8 @@ type ForgetDeviceInput struct { // This member is required. DeviceKey *string - // The access token for the forgotten device request. + // A valid access token that Amazon Cognito issued to the user whose registered + // device you want to forget. AccessToken *string noSmithyDocumentSerde diff --git a/service/cognitoidentityprovider/api_op_ForgotPassword.go b/service/cognitoidentityprovider/api_op_ForgotPassword.go index 2a435fa6369..715bbc8f79e 100644 --- a/service/cognitoidentityprovider/api_op_ForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ForgotPassword.go @@ -65,8 +65,8 @@ type ForgotPasswordInput struct { // This member is required. Username *string - // The Amazon Pinpoint analytics metadata for collecting metrics for ForgotPassword - // calls. + // The Amazon Pinpoint analytics metadata that contributes to your metrics for + // ForgotPassword calls. AnalyticsMetadata *types.AnalyticsMetadataType // A map of custom key-value pairs that you can provide as input for any custom @@ -100,16 +100,16 @@ type ForgotPasswordInput struct { // of a user pool client and username plus the client ID in the message. SecretHash *string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. UserContextData *types.UserContextDataType noSmithyDocumentSerde } -// Respresents the response from the server regarding the request to reset a -// password. +// The response from Amazon Cognito to a request to reset a password. type ForgotPasswordOutput struct { // The code delivery details returned by the server in response to the request to diff --git a/service/cognitoidentityprovider/api_op_GetDevice.go b/service/cognitoidentityprovider/api_op_GetDevice.go index 4de790ecf83..c3e473b45c2 100644 --- a/service/cognitoidentityprovider/api_op_GetDevice.go +++ b/service/cognitoidentityprovider/api_op_GetDevice.go @@ -35,7 +35,8 @@ type GetDeviceInput struct { // This member is required. DeviceKey *string - // The access token. + // A valid access token that Amazon Cognito issued to the user whose device + // information you want to request. AccessToken *string noSmithyDocumentSerde diff --git a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go index 9305da6f29d..d70d93e838f 100644 --- a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go +++ b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets the specified identity provider. +// Gets the specified IdP. func (c *Client) GetIdentityProviderByIdentifier(ctx context.Context, params *GetIdentityProviderByIdentifierInput, optFns ...func(*Options)) (*GetIdentityProviderByIdentifierOutput, error) { if params == nil { params = &GetIdentityProviderByIdentifierInput{} @@ -29,7 +29,7 @@ func (c *Client) GetIdentityProviderByIdentifier(ctx context.Context, params *Ge type GetIdentityProviderByIdentifierInput struct { - // The identity provider ID. + // The IdP identifier. // // This member is required. IdpIdentifier *string @@ -44,7 +44,7 @@ type GetIdentityProviderByIdentifierInput struct { type GetIdentityProviderByIdentifierOutput struct { - // The identity provider object. + // The IdP object. // // This member is required. IdentityProvider *types.IdentityProviderType diff --git a/service/cognitoidentityprovider/api_op_GetUser.go b/service/cognitoidentityprovider/api_op_GetUser.go index 7c69840d6eb..fac1438267f 100644 --- a/service/cognitoidentityprovider/api_op_GetUser.go +++ b/service/cognitoidentityprovider/api_op_GetUser.go @@ -29,8 +29,7 @@ func (c *Client) GetUser(ctx context.Context, params *GetUserInput, optFns ...fu // Represents the request to get information about the user. type GetUserInput struct { - // The access token returned by the server response to get information about the - // user. + // A non-expired access token for the user whose information you want to query. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go index 6d47d4e2e75..1a8ab0af946 100644 --- a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go +++ b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go @@ -10,17 +10,18 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets the user attribute verification code for the specified attribute name. This -// action might generate an SMS text message. Starting June 1, 2021, US telecom -// carriers require you to register an origination phone number before you can send -// SMS messages to US phone numbers. If you use SMS text messages in Amazon -// Cognito, you must register a phone number with Amazon Pinpoint -// (https://console.aws.amazon.com/pinpoint/home/). Amazon Cognito uses the -// registered number automatically. Otherwise, Amazon Cognito users who must -// receive SMS messages might not be able to sign up, activate their accounts, or -// sign in. If you have never used SMS text messages with Amazon Cognito or any -// other Amazon Web Service, Amazon Simple Notification Service might place your -// account in the SMS sandbox. In sandbox mode +// Generates a user attribute verification code for the specified attribute name. +// Sends a message to a user with a code that they must return in a +// VerifyUserAttribute request. This action might generate an SMS text message. +// Starting June 1, 2021, US telecom carriers require you to register an +// origination phone number before you can send SMS messages to US phone numbers. +// If you use SMS text messages in Amazon Cognito, you must register a phone number +// with Amazon Pinpoint (https://console.aws.amazon.com/pinpoint/home/). Amazon +// Cognito uses the registered number automatically. Otherwise, Amazon Cognito +// users who must receive SMS messages might not be able to sign up, activate their +// accounts, or sign in. If you have never used SMS text messages with Amazon +// Cognito or any other Amazon Web Service, Amazon Simple Notification Service +// might place your account in the SMS sandbox. In sandbox mode // (https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html) , you can send // messages only to verified phone numbers. After you test your app while in the // sandbox environment, you can move out of the sandbox and into production. For @@ -45,8 +46,8 @@ func (c *Client) GetUserAttributeVerificationCode(ctx context.Context, params *G // Represents the request to get user attribute verification. type GetUserAttributeVerificationCodeInput struct { - // The access token returned by the server response to get the user attribute - // verification code. + // A non-expired access token for the user whose attribute verification code you + // want to generate. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_GlobalSignOut.go b/service/cognitoidentityprovider/api_op_GlobalSignOut.go index 2b773d0cf9b..01167b38181 100644 --- a/service/cognitoidentityprovider/api_op_GlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_GlobalSignOut.go @@ -10,9 +10,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Signs out users from all devices. It also invalidates all refresh tokens issued -// to a user. The user's current access and ID tokens remain valid until their -// expiry. Access and Id tokens expire one hour after they're issued. +// Signs out users from all devices. It also invalidates all refresh tokens that +// Amazon Cognito has issued to a user. The user's current access and ID tokens +// remain valid until their expiry. By default, access and ID tokens expire one +// hour after Amazon Cognito issues them. A user can still use a hosted UI cookie +// to retrieve new tokens for the duration of the cookie validity period of 1 hour. func (c *Client) GlobalSignOut(ctx context.Context, params *GlobalSignOutInput, optFns ...func(*Options)) (*GlobalSignOutOutput, error) { if params == nil { params = &GlobalSignOutInput{} @@ -31,7 +33,8 @@ func (c *Client) GlobalSignOut(ctx context.Context, params *GlobalSignOutInput, // Represents the request to sign out all devices. type GlobalSignOutInput struct { - // The access token. + // A valid access token that Amazon Cognito issued to the user who you want to sign + // out. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_InitiateAuth.go b/service/cognitoidentityprovider/api_op_InitiateAuth.go index d4939117b3d..de1bbbaf9ae 100644 --- a/service/cognitoidentityprovider/api_op_InitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_InitiateAuth.go @@ -10,16 +10,20 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Initiates the authentication flow. This action might generate an SMS text -// message. Starting June 1, 2021, US telecom carriers require you to register an -// origination phone number before you can send SMS messages to US phone numbers. -// If you use SMS text messages in Amazon Cognito, you must register a phone number -// with Amazon Pinpoint (https://console.aws.amazon.com/pinpoint/home/). Amazon -// Cognito uses the registered number automatically. Otherwise, Amazon Cognito -// users who must receive SMS messages might not be able to sign up, activate their -// accounts, or sign in. If you have never used SMS text messages with Amazon -// Cognito or any other Amazon Web Service, Amazon Simple Notification Service -// might place your account in the SMS sandbox. In sandbox mode +// Initiates sign-in for a user in the Amazon Cognito user directory. You can't +// sign in a user with a federated IdP with InitiateAuth. For more information, see +// Adding user pool sign-in through a third party +// (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html). +// This action might generate an SMS text message. Starting June 1, 2021, US +// telecom carriers require you to register an origination phone number before you +// can send SMS messages to US phone numbers. If you use SMS text messages in +// Amazon Cognito, you must register a phone number with Amazon Pinpoint +// (https://console.aws.amazon.com/pinpoint/home/). Amazon Cognito uses the +// registered number automatically. Otherwise, Amazon Cognito users who must +// receive SMS messages might not be able to sign up, activate their accounts, or +// sign in. If you have never used SMS text messages with Amazon Cognito or any +// other Amazon Web Service, Amazon Simple Notification Service might place your +// account in the SMS sandbox. In sandbox mode // (https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html) , you can send // messages only to verified phone numbers. After you test your app while in the // sandbox environment, you can move out of the sandbox and into production. For @@ -69,9 +73,9 @@ type InitiateAuthInput struct { // * CUSTOM_AUTH: Custom authentication flow. // // * USER_PASSWORD_AUTH: - // Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a + // Non-SRP authentication flow; user name and password are passed directly. If a // user migration Lambda trigger is set, this flow will invoke the user migration - // Lambda if it doesn't find the USERNAME in the user pool. + // Lambda if it doesn't find the user name in the user pool. // // ADMIN_NO_SRP_AUTH // isn't a valid value. @@ -84,8 +88,8 @@ type InitiateAuthInput struct { // This member is required. ClientId *string - // The Amazon Pinpoint analytics metadata for collecting metrics for InitiateAuth - // calls. + // The Amazon Pinpoint analytics metadata that contributes to your metrics for + // InitiateAuth calls. AnalyticsMetadata *types.AnalyticsMetadataType // The authentication parameters. These are inputs corresponding to the AuthFlow @@ -160,9 +164,10 @@ type InitiateAuthInput struct { // value. Don't use Amazon Cognito to provide sensitive information. ClientMetadata map[string]string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. UserContextData *types.UserContextDataType noSmithyDocumentSerde @@ -203,15 +208,24 @@ type InitiateAuthOutput struct { // // * // NEW_PASSWORD_REQUIRED: For users who are required to change their passwords - // after successful first login. This challenge should be passed with NEW_PASSWORD - // and any other required attributes. - // - // * MFA_SETUP: For users who are required to - // setup an MFA factor before they can sign in. The MFA types activated for the - // user pool will be listed in the challenge parameters MFA_CAN_SETUP value. To set - // up software token MFA, use the session returned here from InitiateAuth as an - // input to AssociateSoftwareToken. Use the session returned by VerifySoftwareToken - // as an input to RespondToAuthChallenge with challenge name MFA_SETUP to complete + // after successful first login. Respond to this challenge with NEW_PASSWORD and + // any required attributes that Amazon Cognito returned in the requiredAttributes + // parameter. You can also set values for attributes that aren't required by your + // user pool and that your app client can write. For more information, see + // RespondToAuthChallenge + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RespondToAuthChallenge.html). + // In a NEW_PASSWORD_REQUIRED challenge response, you can't modify a required + // attribute that already has a value. In RespondToAuthChallenge, set a value for + // any keys that Amazon Cognito returned in the requiredAttributes parameter, then + // use the UpdateUserAttributes API operation to modify the value of any additional + // attributes. + // + // * MFA_SETUP: For users who are required to setup an MFA factor + // before they can sign in. The MFA types activated for the user pool will be + // listed in the challenge parameters MFA_CAN_SETUP value. To set up software token + // MFA, use the session returned here from InitiateAuth as an input to + // AssociateSoftwareToken. Use the session returned by VerifySoftwareToken as an + // input to RespondToAuthChallenge with challenge name MFA_SETUP to complete // sign-in. To set up SMS MFA, an administrator should help the user to add a phone // number to their account, and then the user should call InitiateAuth again to // restart sign-in. diff --git a/service/cognitoidentityprovider/api_op_ListDevices.go b/service/cognitoidentityprovider/api_op_ListDevices.go index 4cf0ef0f70d..b978b4d0482 100644 --- a/service/cognitoidentityprovider/api_op_ListDevices.go +++ b/service/cognitoidentityprovider/api_op_ListDevices.go @@ -11,7 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the devices. +// Lists the sign-in devices that Amazon Cognito has registered to the current +// user. func (c *Client) ListDevices(ctx context.Context, params *ListDevicesInput, optFns ...func(*Options)) (*ListDevicesOutput, error) { if params == nil { params = &ListDevicesInput{} @@ -30,7 +31,8 @@ func (c *Client) ListDevices(ctx context.Context, params *ListDevicesInput, optF // Represents the request to list the devices. type ListDevicesInput struct { - // The access tokens for the request to list devices. + // A valid access token that Amazon Cognito issued to the user whose list of + // devices you want to view. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go index 94b06fe9ab1..50d3f9c312b 100644 --- a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go +++ b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists information about all identity providers for a user pool. +// Lists information about all IdPs for a user pool. func (c *Client) ListIdentityProviders(ctx context.Context, params *ListIdentityProvidersInput, optFns ...func(*Options)) (*ListIdentityProvidersOutput, error) { if params == nil { params = &ListIdentityProvidersInput{} @@ -35,7 +35,7 @@ type ListIdentityProvidersInput struct { // This member is required. UserPoolId *string - // The maximum number of identity providers to return. + // The maximum number of IdPs to return. MaxResults *int32 // A pagination token. @@ -46,7 +46,7 @@ type ListIdentityProvidersInput struct { type ListIdentityProvidersOutput struct { - // A list of identity provider objects. + // A list of IdP objects. // // This member is required. Providers []types.ProviderDescription @@ -134,7 +134,7 @@ var _ ListIdentityProvidersAPIClient = (*Client)(nil) // ListIdentityProvidersPaginatorOptions is the paginator options for // ListIdentityProviders type ListIdentityProvidersPaginatorOptions struct { - // The maximum number of identity providers to return. + // The maximum number of IdPs to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/cognitoidentityprovider/api_op_ListUsers.go b/service/cognitoidentityprovider/api_op_ListUsers.go index 6912699b2dc..284045d84e9 100644 --- a/service/cognitoidentityprovider/api_op_ListUsers.go +++ b/service/cognitoidentityprovider/api_op_ListUsers.go @@ -84,7 +84,7 @@ type ListUsersInput struct { // * sub // // Custom attributes aren't searchable. You can also list - // users with a client-side filter. The server-side filter matches no more than 1 + // users with a client-side filter. The server-side filter matches no more than one // attribute. For an advanced search, use a client-side filter with the --query // parameter of the list-users action in the CLI. When you use a client-side // filter, ListUsers returns a paginated list of zero or more users. You can diff --git a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go index 374f715ee34..04e1727cf86 100644 --- a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go +++ b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go @@ -53,8 +53,8 @@ type ListUsersInGroupInput struct { type ListUsersInGroupOutput struct { - // An identifier that was returned from the previous call to this operation, which - // can be used to return the next set of items in the list. + // An identifier that you can use in a later request to return the next set of + // items in the list. NextToken *string // The users returned in the request to list users. diff --git a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go index edd49f5888e..0e0c78bd505 100644 --- a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go +++ b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go @@ -56,7 +56,7 @@ type ResendConfirmationCodeInput struct { // This member is required. Username *string - // The Amazon Pinpoint analytics metadata for collecting metrics for + // The Amazon Pinpoint analytics metadata that contributes to your metrics for // ResendConfirmationCode calls. AnalyticsMetadata *types.AnalyticsMetadataType @@ -91,9 +91,10 @@ type ResendConfirmationCodeInput struct { // of a user pool client and username plus the client ID in the message. SecretHash *string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. UserContextData *types.UserContextDataType noSmithyDocumentSerde diff --git a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go index 742cd0327e3..9f65b4b34bd 100644 --- a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go @@ -56,7 +56,7 @@ type RespondToAuthChallengeInput struct { // This member is required. ClientId *string - // The Amazon Pinpoint analytics metadata for collecting metrics for + // The Amazon Pinpoint analytics metadata that contributes to your metrics for // RespondToAuthChallenge calls. AnalyticsMetadata *types.AnalyticsMetadataType @@ -69,11 +69,19 @@ type RespondToAuthChallengeInput struct { // // * PASSWORD_VERIFIER: // PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP, USERNAME. - // PASSWORD_VERIFIER requires DEVICE_KEY when signing in with a remembered + // PASSWORD_VERIFIER requires DEVICE_KEY when you sign in with a remembered // device. // - // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, - // USERNAME. + // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, USERNAME, SECRET_HASH (if app + // client is configured with client secret). To set any required attributes that + // Amazon Cognito returned as requiredAttributes in the InitiateAuth response, add + // a userAttributes.attributename parameter. This parameter can also set values + // for writable attributes that aren't required by your user pool. In a + // NEW_PASSWORD_REQUIRED challenge response, you can't modify a required attribute + // that already has a value. In RespondToAuthChallenge, set a value for any keys + // that Amazon Cognito returned in the requiredAttributes parameter, then use the + // UpdateUserAttributes API operation to modify the value of any additional + // attributes. // // * SOFTWARE_TOKEN_MFA: USERNAME and SOFTWARE_TOKEN_MFA_CODE are // required attributes. @@ -124,9 +132,10 @@ type RespondToAuthChallengeInput struct { // RespondToAuthChallenge API call. Session *string - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. UserContextData *types.UserContextDataType noSmithyDocumentSerde diff --git a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go index 50ca940765e..4ddabb78850 100644 --- a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go +++ b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go @@ -38,7 +38,8 @@ func (c *Client) SetUserMFAPreference(ctx context.Context, params *SetUserMFAPre type SetUserMFAPreferenceInput struct { - // The access token for the user. + // A valid access token that Amazon Cognito issued to the user whose MFA preference + // you want to set. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_SetUserSettings.go b/service/cognitoidentityprovider/api_op_SetUserSettings.go index 823ea91f21d..c2d3c3cf11d 100644 --- a/service/cognitoidentityprovider/api_op_SetUserSettings.go +++ b/service/cognitoidentityprovider/api_op_SetUserSettings.go @@ -33,7 +33,8 @@ func (c *Client) SetUserSettings(ctx context.Context, params *SetUserSettingsInp // Represents the request to set user settings. type SetUserSettingsInput struct { - // The access token for the set user settings request. + // A valid access token that Amazon Cognito issued to the user whose user settings + // you want to configure. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_SignUp.go b/service/cognitoidentityprovider/api_op_SignUp.go index 50af4307e9d..be92fd953da 100644 --- a/service/cognitoidentityprovider/api_op_SignUp.go +++ b/service/cognitoidentityprovider/api_op_SignUp.go @@ -60,7 +60,8 @@ type SignUpInput struct { // This member is required. Username *string - // The Amazon Pinpoint analytics metadata for collecting metrics for SignUp calls. + // The Amazon Pinpoint analytics metadata that contributes to your metrics for + // SignUp calls. AnalyticsMetadata *types.AnalyticsMetadataType // A map of custom key-value pairs that you can provide as input for any custom @@ -98,9 +99,10 @@ type SignUpInput struct { // attributes, you must prepend the custom: prefix to the attribute name. UserAttributes []types.AttributeType - // Contextual data such as the user's device fingerprint, IP address, or location - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Contextual data about your user session, such as the device fingerprint, IP + // address, or location. Amazon Cognito advanced security evaluates the risk of an + // authentication event based on the context that your app generates and passes to + // Amazon Cognito when it makes API requests. UserContextData *types.UserContextDataType // The validation data in the request to register a user. diff --git a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go index 27e6811561a..85201a93cf0 100644 --- a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go +++ b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go @@ -30,7 +30,8 @@ func (c *Client) UpdateDeviceStatus(ctx context.Context, params *UpdateDeviceSta // Represents the request to update the device status. type UpdateDeviceStatusInput struct { - // The access token. + // A valid access token that Amazon Cognito issued to the user whose device status + // you want to update. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go index e3204c7cb49..0af22979910 100644 --- a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates identity provider information for a user pool. +// Updates IdP information for a user pool. func (c *Client) UpdateIdentityProvider(ctx context.Context, params *UpdateIdentityProviderInput, optFns ...func(*Options)) (*UpdateIdentityProviderOutput, error) { if params == nil { params = &UpdateIdentityProviderInput{} @@ -29,7 +29,7 @@ func (c *Client) UpdateIdentityProvider(ctx context.Context, params *UpdateIdent type UpdateIdentityProviderInput struct { - // The identity provider name. + // The IdP name. // // This member is required. ProviderName *string @@ -39,14 +39,13 @@ type UpdateIdentityProviderInput struct { // This member is required. UserPoolId *string - // The identity provider attribute mapping to be changed. + // The IdP attribute mapping to be changed. AttributeMapping map[string]string - // A list of identity provider identifiers. + // A list of IdP identifiers. IdpIdentifiers []string - // The identity provider details to be updated, such as MetadataURL and - // MetadataFile. + // The IdP details to be updated, such as MetadataURL and MetadataFile. ProviderDetails map[string]string noSmithyDocumentSerde @@ -54,7 +53,7 @@ type UpdateIdentityProviderInput struct { type UpdateIdentityProviderOutput struct { - // The identity provider object. + // The IdP object. // // This member is required. IdentityProvider *types.IdentityProviderType diff --git a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go index dc62b1ed2be..1b4d8ec1f25 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go @@ -45,13 +45,20 @@ func (c *Client) UpdateUserAttributes(ctx context.Context, params *UpdateUserAtt // Represents the request to update user attributes. type UpdateUserAttributesInput struct { - // The access token for the request to update user attributes. + // A valid access token that Amazon Cognito issued to the user whose user + // attributes you want to update. // // This member is required. AccessToken *string // An array of name-value pairs representing user attributes. For custom - // attributes, you must prepend the custom: prefix to the attribute name. + // attributes, you must prepend the custom: prefix to the attribute name. If you + // have set an attribute to require verification before Amazon Cognito updates its + // value, this request doesn’t immediately update the value of that attribute. + // After your user receives and responds to a verification message to verify the + // new value, Amazon Cognito updates the attribute value. Your user can sign in and + // receive messages with the original attribute value until they verify the new + // value. // // This member is required. UserAttributes []types.AttributeType diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPool.go b/service/cognitoidentityprovider/api_op_UpdateUserPool.go index e51e4d295f4..6b9344984da 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPool.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPool.go @@ -87,14 +87,14 @@ type UpdateUserPoolInput struct { // The Lambda configuration information from the request to update the user pool. LambdaConfig *types.LambdaConfigType - // Can be one of the following values: + // Possible values include: // - // * OFF - MFA tokens aren't required and - // can't be specified during user registration. + // * OFF - MFA tokens aren't required and can't be + // specified during user registration. // - // * ON - MFA tokens are required for - // all user registrations. You can only specify ON when you're initially creating a - // user pool. You can use the SetUserPoolMfaConfig + // * ON - MFA tokens are required for all user + // registrations. You can only specify ON when you're initially creating a user + // pool. You can use the SetUserPoolMfaConfig // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html) // API operation to turn MFA "ON" for existing user pools. // @@ -118,6 +118,14 @@ type UpdateUserPoolInput struct { // A container with information about the SMS verification message. SmsVerificationMessage *string + // The settings for updates to user attributes. These settings include the property + // AttributesRequireVerificationBeforeUpdate, a user-pool setting that tells Amazon + // Cognito how to handle changes to the value of your users' email address and + // phone number attributes. For more information, see Verifying updates to to + // email addresses and phone numbers + // (https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates). + UserAttributeUpdateSettings *types.UserAttributeUpdateSettingsType + // Enables advanced security risk detection. Set the key AdvancedSecurityMode to // the value "AUDIT". UserPoolAddOns *types.UserPoolAddOnsType diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go index bc27bcaef9e..2ed554eb9fb 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go @@ -48,50 +48,54 @@ type UpdateUserPoolClientInput struct { // This member is required. UserPoolId *string - // The time limit after which the access token is no longer valid and can't be - // used. + // The access token time limit. After this limit expires, your user can't use their + // access token. To specify the time unit for AccessTokenValidity as seconds, + // minutes, hours, or days, set a TokenValidityUnits value in your API request. For + // example, when you set AccessTokenValidity to 10 and TokenValidityUnits to hours, + // your user can authorize access with their access token for 10 hours. The default + // time unit for AccessTokenValidity in an API request is hours. Valid range is + // displayed below in seconds. AccessTokenValidity *int32 - // The allowed OAuth flows. Set to code to initiate a code grant flow, which - // provides an authorization code as the response. This code can be exchanged for - // access tokens with the token endpoint. Set to implicit to specify that the - // client should get the access token (and, optionally, ID token, based on scopes) - // directly. Set to client_credentials to specify that the client should get the - // access token (and, optionally, ID token, based on scopes) from the token - // endpoint using a combination of client and client_secret. + // The allowed OAuth flows. code Use a code grant flow, which provides an + // authorization code as the response. This code can be exchanged for access tokens + // with the /oauth2/token endpoint. implicit Issue the access token (and, + // optionally, ID token, based on scopes) directly to your user. client_credentials + // Issue the access token from the /oauth2/token endpoint directly to a non-person + // user using a combination of the client ID and client secret. AllowedOAuthFlows []types.OAuthFlowType // Set to true if the client is allowed to follow the OAuth protocol when // interacting with Amazon Cognito user pools. AllowedOAuthFlowsUserPoolClient bool - // The allowed OAuth scopes. Possible values provided by OAuth are: phone, email, - // openid, and profile. Possible values provided by Amazon Web Services are: + // The allowed OAuth scopes. Possible values provided by OAuth are phone, email, + // openid, and profile. Possible values provided by Amazon Web Services are // aws.cognito.signin.user.admin. Custom scopes created in Resource Servers are // also supported. AllowedOAuthScopes []string - // The Amazon Pinpoint analytics configuration for collecting metrics for this user - // pool. In Amazon Web Services Regions where Amazon Pinpoint isn't available, user - // pools only support sending events to Amazon Pinpoint projects in us-east-1. In - // Regions where Amazon Pinpoint is available, user pools support sending events to - // Amazon Pinpoint projects within that same Region. + // The Amazon Pinpoint analytics configuration necessary to collect metrics for + // this user pool. In Amazon Web Services Regions where Amazon Pinpoint isn't + // available, user pools only support sending events to Amazon Pinpoint projects in + // us-east-1. In Regions where Amazon Pinpoint is available, user pools support + // sending events to Amazon Pinpoint projects within that same Region. AnalyticsConfiguration *types.AnalyticsConfigurationType - // A list of allowed redirect (callback) URLs for the identity providers. A - // redirect URI must: + // A list of allowed redirect (callback) URLs for the IdPs. A redirect URI must: // - // * Be an absolute URI. + // * + // Be an absolute URI. // - // * Be registered with the - // authorization server. + // * Be registered with the authorization server. // - // * Not include a fragment component. + // * Not + // include a fragment component. // - // See OAuth 2.0 - - // Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). Amazon - // Cognito requires HTTPS over HTTP except for http://localhost for testing - // purposes only. App callback URLs such as myapp://example are also supported. + // See OAuth 2.0 - Redirection Endpoint + // (https://tools.ietf.org/html/rfc6749#section-3.1.2). Amazon Cognito requires + // HTTPS over HTTP except for http://localhost for testing purposes only. App + // callback URLs such as myapp://example are also supported. CallbackURLs []string // The client name from the update user pool client request. @@ -113,6 +117,16 @@ type UpdateUserPoolClientInput struct { // callback URLs such as myapp://example are also supported. DefaultRedirectURI *string + // Activates the propagation of additional user context data. For more information + // about propagation of user context data, see Adding advanced security to a user + // pool + // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html). + // If you don’t include this parameter, you can't send device fingerprint + // information, including source IP address, to Amazon Cognito advanced security. + // You can only activate EnablePropagateAdditionalUserContextData in an app client + // that has a client secret. + EnablePropagateAdditionalUserContextData *bool + // Activates or deactivates token revocation. For more information about revoking // tokens, see RevokeToken // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html). @@ -143,10 +157,16 @@ type UpdateUserPoolClientInput struct { // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. ExplicitAuthFlows []types.ExplicitAuthFlowsType - // The time limit after which the ID token is no longer valid and can't be used. + // The ID token time limit. After this limit expires, your user can't use their ID + // token. To specify the time unit for IdTokenValidity as seconds, minutes, hours, + // or days, set a TokenValidityUnits value in your API request. For example, when + // you set IdTokenValidity as 10 and TokenValidityUnits as hours, your user can + // authenticate their session with their ID token for 10 hours. The default time + // unit for AccessTokenValidity in an API request is hours. Valid range is + // displayed below in seconds. IdTokenValidity *int32 - // A list of allowed logout URLs for the identity providers. + // A list of allowed logout URLs for the IdPs. LogoutURLs []string // Errors and responses that you want Amazon Cognito APIs to return during @@ -168,16 +188,24 @@ type UpdateUserPoolClientInput struct { // The read-only attributes of the user pool. ReadAttributes []string - // The time limit, in days, after which the refresh token is no longer valid and - // can't be used. + // The refresh token time limit. After this limit expires, your user can't use + // their refresh token. To specify the time unit for RefreshTokenValidity as + // seconds, minutes, hours, or days, set a TokenValidityUnits value in your API + // request. For example, when you set RefreshTokenValidity as 10 and + // TokenValidityUnits as days, your user can refresh their session and retrieve new + // access and ID tokens for 10 days. The default time unit for RefreshTokenValidity + // in an API request is days. You can't set RefreshTokenValidity to 0. If you do, + // Amazon Cognito overrides the value with the default value of 30 days. Valid + // range is displayed below in seconds. RefreshTokenValidity int32 - // A list of provider names for the identity providers that are supported on this - // client. + // A list of provider names for the IdPs that this client supports. The following + // are supported: COGNITO, Facebook, GoogleLoginWithAmazon, and the names of your + // own SAML and OIDC providers. SupportedIdentityProviders []string - // The units in which the validity times are represented. Default for RefreshToken - // is days, and default for ID and access tokens is hours. + // The units in which the validity times are represented. The default unit for + // RefreshToken is days, and the default for ID and access tokens is hours. TokenValidityUnits *types.TokenValidityUnitsType // The writeable attributes of the user pool. diff --git a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go index e9e4ab84fe9..e43acc52159 100644 --- a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go @@ -38,7 +38,8 @@ type VerifySoftwareTokenInput struct { // This member is required. UserCode *string - // The access token. + // A valid access token that Amazon Cognito issued to the user whose software token + // you want to verify. AccessToken *string // The friendly device name. diff --git a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go index 2c58a014e87..9119ff42cea 100644 --- a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go +++ b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go @@ -9,7 +9,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Verifies the specified user attributes in the user pool. +// Verifies the specified user attributes in the user pool. If your user pool +// requires verification before Amazon Cognito updates the attribute value, +// VerifyUserAttribute updates the affected attribute to its pending value. For +// more information, see UserAttributeUpdateSettingsType +// (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UserAttributeUpdateSettingsType.html). func (c *Client) VerifyUserAttribute(ctx context.Context, params *VerifyUserAttributeInput, optFns ...func(*Options)) (*VerifyUserAttributeOutput, error) { if params == nil { params = &VerifyUserAttributeInput{} @@ -28,7 +32,8 @@ func (c *Client) VerifyUserAttribute(ctx context.Context, params *VerifyUserAttr // Represents the request to verify user attributes. type VerifyUserAttributeInput struct { - // The access token of the request to verify user attributes. + // A valid access token that Amazon Cognito issued to the user whose user + // attributes you want to verify. // // This member is required. AccessToken *string diff --git a/service/cognitoidentityprovider/deserializers.go b/service/cognitoidentityprovider/deserializers.go index 8c9e25c1d9b..89dbd0df643 100644 --- a/service/cognitoidentityprovider/deserializers.go +++ b/service/cognitoidentityprovider/deserializers.go @@ -12971,6 +12971,9 @@ func awsAwsjson11_deserializeOpErrorVerifyUserAttribute(response *smithyhttp.Res } switch { + case strings.EqualFold("AliasExistsException", errorCode): + return awsAwsjson11_deserializeErrorAliasExistsException(response, errorBody) + case strings.EqualFold("CodeMismatchException", errorCode): return awsAwsjson11_deserializeErrorCodeMismatchException(response, errorBody) @@ -14866,6 +14869,42 @@ func awsAwsjson11_deserializeDocumentAttributeMappingType(v *map[string]string, return nil } +func awsAwsjson11_deserializeDocumentAttributesRequireVerificationBeforeUpdateType(v *[]types.VerifiedAttributeType, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.VerifiedAttributeType + if *v == nil { + cv = []types.VerifiedAttributeType{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.VerifiedAttributeType + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected VerifiedAttributeType to be of type string, got %T instead", value) + } + col = types.VerifiedAttributeType(jtv) + } + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentAttributeType(v **types.AttributeType, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -19691,6 +19730,42 @@ func awsAwsjson11_deserializeDocumentUnsupportedUserStateException(v **types.Uns return nil } +func awsAwsjson11_deserializeDocumentUserAttributeUpdateSettingsType(v **types.UserAttributeUpdateSettingsType, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.UserAttributeUpdateSettingsType + if *v == nil { + sv = &types.UserAttributeUpdateSettingsType{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AttributesRequireVerificationBeforeUpdate": + if err := awsAwsjson11_deserializeDocumentAttributesRequireVerificationBeforeUpdateType(&sv.AttributesRequireVerificationBeforeUpdate, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentUserImportInProgressException(v **types.UserImportInProgressException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -20506,6 +20581,15 @@ func awsAwsjson11_deserializeDocumentUserPoolClientType(v **types.UserPoolClient sv.DefaultRedirectURI = ptr.String(jtv) } + case "EnablePropagateAdditionalUserContextData": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected WrappedBooleanType to be of type *bool, got %T instead", value) + } + sv.EnablePropagateAdditionalUserContextData = ptr.Bool(jtv) + } + case "EnableTokenRevocation": if value != nil { jtv, ok := value.(bool) @@ -21089,6 +21173,11 @@ func awsAwsjson11_deserializeDocumentUserPoolType(v **types.UserPoolType, value sv.Status = types.StatusType(jtv) } + case "UserAttributeUpdateSettings": + if err := awsAwsjson11_deserializeDocumentUserAttributeUpdateSettingsType(&sv.UserAttributeUpdateSettings, value); err != nil { + return err + } + case "UsernameAttributes": if err := awsAwsjson11_deserializeDocumentUsernameAttributesListType(&sv.UsernameAttributes, value); err != nil { return err diff --git a/service/cognitoidentityprovider/go.mod b/service/cognitoidentityprovider/go.mod index 99cdc564334..e2f9eae6171 100644 --- a/service/cognitoidentityprovider/go.mod +++ b/service/cognitoidentityprovider/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cognitoidentityprovider/go.sum b/service/cognitoidentityprovider/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cognitoidentityprovider/go.sum +++ b/service/cognitoidentityprovider/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cognitoidentityprovider/go_module_metadata.go b/service/cognitoidentityprovider/go_module_metadata.go index 6e262881dc1..24d65e3fd0d 100644 --- a/service/cognitoidentityprovider/go_module_metadata.go +++ b/service/cognitoidentityprovider/go_module_metadata.go @@ -3,4 +3,4 @@ package cognitoidentityprovider // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.17.1" diff --git a/service/cognitoidentityprovider/serializers.go b/service/cognitoidentityprovider/serializers.go index 1fa89a095d6..e15d2b6e910 100644 --- a/service/cognitoidentityprovider/serializers.go +++ b/service/cognitoidentityprovider/serializers.go @@ -5763,6 +5763,17 @@ func awsAwsjson11_serializeDocumentAttributeNameListType(v []string, value smith return nil } +func awsAwsjson11_serializeDocumentAttributesRequireVerificationBeforeUpdateType(v []types.VerifiedAttributeType, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(string(v[i])) + } + return nil +} + func awsAwsjson11_serializeDocumentAttributeType(v *types.AttributeType, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -6724,6 +6735,20 @@ func awsAwsjson11_serializeDocumentTokenValidityUnitsType(v *types.TokenValidity return nil } +func awsAwsjson11_serializeDocumentUserAttributeUpdateSettingsType(v *types.UserAttributeUpdateSettingsType, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.AttributesRequireVerificationBeforeUpdate != nil { + ok := object.Key("AttributesRequireVerificationBeforeUpdate") + if err := awsAwsjson11_serializeDocumentAttributesRequireVerificationBeforeUpdateType(v.AttributesRequireVerificationBeforeUpdate, ok); err != nil { + return err + } + } + + return nil +} + func awsAwsjson11_serializeDocumentUserContextDataType(v *types.UserContextDataType, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -6733,6 +6758,11 @@ func awsAwsjson11_serializeDocumentUserContextDataType(v *types.UserContextDataT ok.String(*v.EncodedData) } + if v.IpAddress != nil { + ok := object.Key("IpAddress") + ok.String(*v.IpAddress) + } + return nil } @@ -7929,6 +7959,11 @@ func awsAwsjson11_serializeOpDocumentCreateUserPoolClientInput(v *CreateUserPool ok.String(*v.DefaultRedirectURI) } + if v.EnablePropagateAdditionalUserContextData != nil { + ok := object.Key("EnablePropagateAdditionalUserContextData") + ok.Boolean(*v.EnablePropagateAdditionalUserContextData) + } + if v.EnableTokenRevocation != nil { ok := object.Key("EnableTokenRevocation") ok.Boolean(*v.EnableTokenRevocation) @@ -8132,6 +8167,13 @@ func awsAwsjson11_serializeOpDocumentCreateUserPoolInput(v *CreateUserPoolInput, ok.String(*v.SmsVerificationMessage) } + if v.UserAttributeUpdateSettings != nil { + ok := object.Key("UserAttributeUpdateSettings") + if err := awsAwsjson11_serializeDocumentUserAttributeUpdateSettingsType(v.UserAttributeUpdateSettings, ok); err != nil { + return err + } + } + if v.UsernameAttributes != nil { ok := object.Key("UsernameAttributes") if err := awsAwsjson11_serializeDocumentUsernameAttributesListType(v.UsernameAttributes, ok); err != nil { @@ -9512,6 +9554,11 @@ func awsAwsjson11_serializeOpDocumentUpdateUserPoolClientInput(v *UpdateUserPool ok.String(*v.DefaultRedirectURI) } + if v.EnablePropagateAdditionalUserContextData != nil { + ok := object.Key("EnablePropagateAdditionalUserContextData") + ok.Boolean(*v.EnablePropagateAdditionalUserContextData) + } + if v.EnableTokenRevocation != nil { ok := object.Key("EnableTokenRevocation") ok.Boolean(*v.EnableTokenRevocation) @@ -9691,6 +9738,13 @@ func awsAwsjson11_serializeOpDocumentUpdateUserPoolInput(v *UpdateUserPoolInput, ok.String(*v.SmsVerificationMessage) } + if v.UserAttributeUpdateSettings != nil { + ok := object.Key("UserAttributeUpdateSettings") + if err := awsAwsjson11_serializeDocumentUserAttributeUpdateSettingsType(v.UserAttributeUpdateSettings, ok); err != nil { + return err + } + } + if v.UserPoolAddOns != nil { ok := object.Key("UserPoolAddOns") if err := awsAwsjson11_serializeDocumentUserPoolAddOnsType(v.UserPoolAddOns, ok); err != nil { diff --git a/service/cognitoidentityprovider/types/errors.go b/service/cognitoidentityprovider/types/errors.go index 4a407e1c6e9..89dffb3b6f7 100644 --- a/service/cognitoidentityprovider/types/errors.go +++ b/service/cognitoidentityprovider/types/errors.go @@ -8,9 +8,10 @@ import ( ) // This exception is thrown when a user tries to confirm the account with an email -// or phone number that has already been supplied as an alias from a different -// account. This exception tells user that an account with this email or phone -// already exists. +// address or phone number that has already been supplied as an alias for a +// different user profile. This exception indicates that an account with this email +// address or phone already exists in a user pool that you've configured to use +// email address or phone number as a sign-in alias. type AliasExistsException struct { Message *string diff --git a/service/cognitoidentityprovider/types/types.go b/service/cognitoidentityprovider/types/types.go index 7b993af77c5..3b8f6921cdc 100644 --- a/service/cognitoidentityprovider/types/types.go +++ b/service/cognitoidentityprovider/types/types.go @@ -34,17 +34,17 @@ type AccountTakeoverActionsType struct { // Account takeover action type. type AccountTakeoverActionType struct { - // The action to take in response to the account takeover action. Valid values - // are: + // The action to take in response to the account takeover action. Valid values are + // as follows: // // * BLOCK Choosing this action will block the request. // - // * MFA_IF_CONFIGURED - // Present an MFA challenge if user has configured it, else allow the request. - // // * - // MFA_REQUIRED Present an MFA challenge if user has configured it, else block the - // request. + // MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow + // the request. + // + // * MFA_REQUIRED Present an MFA challenge if user has configured it, + // else block the request. // // * NO_ACTION Allow the user to sign in. // @@ -86,28 +86,29 @@ type AdminCreateUserConfigType struct { // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization). InviteMessageTemplate *MessageTemplateType - // The user account expiration limit, in days, after which the account is no longer - // usable. To reset the account after that time limit, you must call - // AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The - // default value for this parameter is 7. If you set a value for - // TemporaryPasswordValidityDays in PasswordPolicy, that value will be used, and - // UnusedAccountValidityDays will be no longer be an available parameter for that - // user pool. + // The user account expiration limit, in days, after which a new account that + // hasn't signed in is no longer usable. To reset the account after that time + // limit, you must call AdminCreateUser again, specifying "RESEND" for the + // MessageAction parameter. The default value for this parameter is 7. If you set a + // value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be + // used, and UnusedAccountValidityDays will be no longer be an available parameter + // for that user pool. UnusedAccountValidityDays int32 noSmithyDocumentSerde } -// The Amazon Pinpoint analytics configuration for collecting metrics for a user -// pool. In Regions where Amazon Pinpointisn't available, user pools only support -// sending events to Amazon Pinpoint projects in us-east-1. In Regions where Amazon -// Pinpoint is available, user pools support sending events to Amazon Pinpoint -// projects within that same Region. +// The Amazon Pinpoint analytics configuration necessary to collect metrics for a +// user pool. In Regions where Amazon Pinpointisn't available, user pools only +// support sending events to Amazon Pinpoint projects in us-east-1. In Regions +// where Amazon Pinpoint is available, user pools support sending events to Amazon +// Pinpoint projects within that same Region. type AnalyticsConfigurationType struct { // The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the // Amazon Pinpoint project to integrate with the chosen user pool Client. Amazon - // Cognito publishes events to the Amazon Pinpointproject declared by the app ARN. + // Cognito publishes events to the Amazon Pinpoint project that the app ARN + // declares. ApplicationArn *string // The application ID for an Amazon Pinpoint application. @@ -120,7 +121,7 @@ type AnalyticsConfigurationType struct { // to publish events to Amazon Pinpoint analytics. RoleArn *string - // If UserDataShared is true, Amazon Cognito will include user data in the events + // If UserDataShared is true, Amazon Cognito includes user data in the events that // it publishes to Amazon Pinpoint analytics. UserDataShared bool @@ -129,9 +130,10 @@ type AnalyticsConfigurationType struct { // An Amazon Pinpoint analytics endpoint. An endpoint uniquely identifies a mobile // device, email address, or phone number that can receive messages from Amazon -// Pinpoint analytics. Amazon Cognito user pools only support sending events to -// Amazon Pinpoint projects in the US East (N. Virginia) us-east-1 Region, -// regardless of the Region where the user pool resides. +// Pinpoint analytics. For more information about Amazon Web Services Regions that +// can contain Amazon Pinpoint resources for use with Amazon Cognito user pools, +// see Using Amazon Pinpoint analytics with Amazon Cognito user pools +// (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-pinpoint-integration.html). type AnalyticsMetadataType struct { // The endpoint ID. @@ -157,7 +159,8 @@ type AttributeType struct { // The authentication result. type AuthenticationResultType struct { - // The access token. + // A valid access token that Amazon Cognito issued to the user who you want to + // authenticate. AccessToken *string // The expiration period of the authentication result in seconds. @@ -223,16 +226,18 @@ type ChallengeResponseType struct { noSmithyDocumentSerde } -// The code delivery details being returned from the server. +// The delivery details for an email or SMS message that Amazon Cognito sent for +// authentication or verification. type CodeDeliveryDetailsType struct { - // The attribute name. + // The name of the attribute that Amazon Cognito verifies with the code. AttributeName *string - // The delivery medium (email message or phone number). + // The method that Amazon Cognito used to send the code. DeliveryMedium DeliveryMediumType - // The destination for the code delivery details. + // The email address or phone number destination where Amazon Cognito sent the + // code. Destination *string noSmithyDocumentSerde @@ -273,7 +278,7 @@ type ContextDataType struct { // This member is required. HttpHeaders []HttpHeader - // Source IP address of your user. + // The source IP address of your user's device. // // This member is required. IpAddress *string @@ -288,8 +293,10 @@ type ContextDataType struct { // This member is required. ServerPath *string - // Encoded data containing device fingerprinting details collected using the Amazon - // Cognito context data collection library. + // Encoded device-fingerprint details that your app collected with the Amazon + // Cognito context data collection library. For more information, see Adding user + // device and session data to API requests + // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint). EncodedData *string noSmithyDocumentSerde @@ -370,7 +377,7 @@ type DeviceSecretVerifierConfigType struct { // The password verifier. PasswordVerifier *string - // The salt. + // The salt (https://en.wikipedia.org/wiki/Salt_(cryptography)) Salt *string noSmithyDocumentSerde @@ -466,45 +473,19 @@ type EmailConfigurationType struct { // (https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html) in the // Developer Guide. The default FROM address is no-reply@verificationemail.com. To // customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon - // SES verified email address for the SourceArn parameter. If EmailSendingAccount - // is COGNITO_DEFAULT, you can't use the following parameters: - // - // * - // EmailVerificationMessage - // - // * EmailVerificationSubject - // - // * - // InviteMessageTemplate.EmailMessage - // - // * InviteMessageTemplate.EmailSubject - // - // * - // VerificationMessageTemplate.EmailMessage - // - // * - // VerificationMessageTemplate.EmailMessageByLink - // - // * - // VerificationMessageTemplate.EmailSubject, - // - // * - // VerificationMessageTemplate.EmailSubjectByLink - // - // DEVELOPER EmailSendingAccount is - // required. DEVELOPER When Amazon Cognito emails your users, it uses your Amazon - // SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email - // from your verified email address. When you use this option, the email delivery - // limits are the same limits that apply to your Amazon SES verified email address - // in your Amazon Web Services account. If you use this option, you must provide - // the ARN of an Amazon SES verified email address for the SourceArn parameter. - // Before Amazon Cognito can email your users, it requires additional permissions - // to call Amazon SES on your behalf. When you update your user pool with this - // option, Amazon Cognito creates a service-linked role, which is a type of role, - // in your Amazon Web Services account. This role contains the permissions that - // allow to access Amazon SES and send email messages with your address. For more - // information about the service-linked role that Amazon Cognito creates, see Using - // Service-Linked Roles for Amazon Cognito + // SES verified email address for the SourceArn parameter. DEVELOPER When Amazon + // Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito + // calls Amazon SES on your behalf to send email from your verified email address. + // When you use this option, the email delivery limits are the same limits that + // apply to your Amazon SES verified email address in your Amazon Web Services + // account. If you use this option, provide the ARN of an Amazon SES verified email + // address for the SourceArn parameter. Before Amazon Cognito can email your users, + // it requires additional permissions to call Amazon SES on your behalf. When you + // update your user pool with this option, Amazon Cognito creates a service-linked + // role, which is a type of role, in your Amazon Web Services account. This role + // contains the permissions that allow to access Amazon SES and send email messages + // with your address. For more information about the service-linked role that + // Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito // (https://docs.aws.amazon.com/cognito/latest/developerguide/using-service-linked-roles.html) // in the Amazon Cognito Developer Guide. EmailSendingAccount EmailSendingAccountType @@ -553,7 +534,7 @@ type EventContextDataType struct { // The user's device name. DeviceName *string - // The user's IP address. + // The source IP address of your user's device. IpAddress *string // The user's time zone. @@ -647,99 +628,102 @@ type HttpHeader struct { noSmithyDocumentSerde } -// A container for information about an identity provider. +// A container for information about an IdP. type IdentityProviderType struct { - // A mapping of identity provider attributes to standard and custom user pool - // attributes. + // A mapping of IdP attributes to standard and custom user pool attributes. AttributeMapping map[string]string - // The date the identity provider was created. + // The date the IdP was created. CreationDate *time.Time - // A list of identity provider identifiers. + // A list of IdP identifiers. IdpIdentifiers []string - // The date the identity provider was last modified. + // The date the IdP was last modified. LastModifiedDate *time.Time - // The identity provider details. The following list describes the provider detail - // keys for each identity provider type. + // The IdP details. The following list describes the provider detail keys for each + // IdP type. // // * For Google and Login with Amazon: // - // * - // client_id + // * client_id // // * client_secret // - // * authorize_scopes + // * + // authorize_scopes // // * For Facebook: // // * client_id // - // * - // client_secret + // * client_secret // - // * authorize_scopes + // * + // authorize_scopes // // * api_version // // * For Sign in with Apple: // - // * - // client_id + // * client_id // - // * team_id + // * + // team_id // // * key_id // - // * private_key + // * private_key You can submit a private_key when you add or + // update an IdP. Describe operations don't return the private key. // - // * authorize_scopes + // * + // authorize_scopes // - // * For OIDC - // providers: + // * For OIDC providers: // // * client_id // // * client_secret // - // * attributes_request_method - // // * - // oidc_issuer + // attributes_request_method + // + // * oidc_issuer // // * authorize_scopes // - // * authorize_url if not available from discovery - // URL specified by oidc_issuer key + // * The following + // keys are only present if Amazon Cognito didn't discover them at the oidc_issuer + // URL. // - // * token_url if not available from discovery - // URL specified by oidc_issuer key + // * authorize_url // - // * attributes_url if not available from - // discovery URL specified by oidc_issuer key + // * token_url // - // * jwks_uri if not available from - // discovery URL specified by oidc_issuer key + // * attributes_url // - // * attributes_url_add_attributes a - // read-only property that is set automatically + // * jwks_uri + // + // * Amazon + // Cognito sets the value of the following keys automatically. They are + // read-only. + // + // * attributes_url_add_attributes // // * For SAML providers: // // * // MetadataFile or MetadataURL // - // * IDPSignOut optional + // * IDPSignout optional ProviderDetails map[string]string - // The identity provider name. + // The IdP name. ProviderName *string - // The identity provider type. + // The IdP type. ProviderType IdentityProviderTypeType // The user pool ID. @@ -929,13 +913,14 @@ type PasswordPolicyType struct { // The number of days a temporary password is valid in the password policy. If the // user doesn't sign in during this time, an administrator must reset their // password. When you set TemporaryPasswordValidityDays for a user pool, you can no - // longer set the deprecated UnusedAccountValidityDays value for that user pool. + // longer set a value for the legacy UnusedAccountValidityDays parameter in that + // user pool. TemporaryPasswordValidityDays int32 noSmithyDocumentSerde } -// A container for identity provider details. +// A container for IdP details. type ProviderDescription struct { // The date the provider was added to the user pool. @@ -944,16 +929,16 @@ type ProviderDescription struct { // The date the provider was last modified. LastModifiedDate *time.Time - // The identity provider name. + // The IdP name. ProviderName *string - // The identity provider type. + // The IdP type. ProviderType IdentityProviderTypeType noSmithyDocumentSerde } -// A container for information about an identity provider for a user pool. +// A container for information about an IdP for a user pool. type ProviderUserIdentifierType struct { // The name of the provider attribute to link to, such as NameID. @@ -1077,12 +1062,11 @@ type SchemaAttributeType struct { DeveloperOnlyAttribute bool // Specifies whether the value of the attribute can be changed. For any user pool - // attribute that is mapped to an identity provider attribute, you must set this - // parameter to true. Amazon Cognito updates mapped attributes when users sign in - // to your application through an identity provider. If an attribute is immutable, - // Amazon Cognito throws an error when it attempts to update the attribute. For - // more information, see Specifying Identity Provider Attribute Mappings for Your - // User Pool + // attribute that is mapped to an IdP attribute, you must set this parameter to + // true. Amazon Cognito updates mapped attributes when users sign in to your + // application through an IdP. If an attribute is immutable, Amazon Cognito throws + // an error when it attempts to update the attribute. For more information, see + // Specifying Identity Provider Attribute Mappings for Your User Pool // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html). Mutable bool @@ -1223,20 +1207,22 @@ type StringAttributeConstraintsType struct { noSmithyDocumentSerde } -// The data type for TokenValidityUnits that specifics the time measurements for -// token validity. +// The data type TokenValidityUnits specifies the time units you use when you set +// the duration of ID, access, and refresh tokens. type TokenValidityUnitsType struct { - // A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in - // AccessTokenValidity, defaulting to hours. + // A time unit of seconds, minutes, hours, or days for the value that you set in + // the AccessTokenValidity parameter. The default AccessTokenValidity time unit is + // hours. AccessToken TimeUnitsType - // A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in - // IdTokenValidity, defaulting to hours. + // A time unit of seconds, minutes, hours, or days for the value that you set in + // the IdTokenValidity parameter. The default IdTokenValidity time unit is hours. IdToken TimeUnitsType - // A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in - // RefreshTokenValidity, defaulting to days. + // A time unit of seconds, minutes, hours, or days for the value that you set in + // the RefreshTokenValidity parameter. The default RefreshTokenValidity time unit + // is days. RefreshToken TimeUnitsType noSmithyDocumentSerde @@ -1270,16 +1256,51 @@ type UICustomizationType struct { noSmithyDocumentSerde } +// The settings for updates to user attributes. These settings include the property +// AttributesRequireVerificationBeforeUpdate, a user-pool setting that tells Amazon +// Cognito how to handle changes to the value of your users' email address and +// phone number attributes. For more information, see Verifying updates to to +// email addresses and phone numbers +// (https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates). +type UserAttributeUpdateSettingsType struct { + + // Requires that your user verifies their email address, phone number, or both + // before Amazon Cognito updates the value of that attribute. When you update a + // user attribute that has this option activated, Amazon Cognito sends a + // verification message to the new phone number or email address. Amazon Cognito + // doesn’t change the value of the attribute until your user responds to the + // verification message and confirms the new value. You can verify an updated email + // address or phone number with a VerifyUserAttribute + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifyUserAttribute.html) + // API request. You can also call the UpdateUserAttributes + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserAttributes.html) + // or AdminUpdateUserAttributes + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html) + // API and set email_verified or phone_number_verified to true. When + // AttributesRequireVerificationBeforeUpdate is false, your user pool doesn't + // require that your users verify attribute changes before Amazon Cognito updates + // them. In a user pool where AttributesRequireVerificationBeforeUpdate is false, + // API operations that change attribute values can immediately update a user’s + // email or phone_number attribute. + AttributesRequireVerificationBeforeUpdate []VerifiedAttributeType + + noSmithyDocumentSerde +} + // Contextual data, such as the user's device fingerprint, IP address, or location, // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. type UserContextDataType struct { - // Contextual data, such as the user's device fingerprint, IP address, or location, - // used for evaluating the risk of an unexpected event by Amazon Cognito advanced - // security. + // Encoded device-fingerprint details that your app collected with the Amazon + // Cognito context data collection library. For more information, see Adding user + // device and session data to API requests + // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint). EncodedData *string + // The source IP address of your user's device. + IpAddress *string + noSmithyDocumentSerde } @@ -1357,10 +1378,10 @@ type UserImportJobType struct { // The username configuration type. type UsernameConfigurationType struct { - // Specifies whether username case sensitivity will be applied for all users in the - // user pool through Amazon Cognito APIs. Valid values include: True Enables case - // sensitivity for all username input. When this option is set to True, users must - // sign in using the exact capitalization of their given username, such as + // Specifies whether user name case sensitivity will be applied for all users in + // the user pool through Amazon Cognito APIs. Valid values include: True Enables + // case sensitivity for all username input. When this option is set to True, users + // must sign in using the exact capitalization of their given username, such as // “UserName”. This is the default value. False Enables case insensitivity for all // username input. For example, when this option is set to False, users can sign in // using either "username" or "Username". This option also enables both @@ -1403,27 +1424,31 @@ type UserPoolClientDescription struct { // Contains information about a user pool client. type UserPoolClientType struct { - // The time limit, specified by tokenValidityUnits, defaulting to hours, after - // which the access token is no longer valid and can't be used. + // The access token time limit. After this limit expires, your user can't use their + // access token. To specify the time unit for AccessTokenValidity as seconds, + // minutes, hours, or days, set a TokenValidityUnits value in your API request. For + // example, when you set AccessTokenValidity to 10 and TokenValidityUnits to hours, + // your user can authorize access with their access token for 10 hours. The default + // time unit for AccessTokenValidity in an API request is hours. Valid range is + // displayed below in seconds. AccessTokenValidity *int32 - // The allowed OAuth flows. Set to code to initiate a code grant flow, which - // provides an authorization code as the response. This code can be exchanged for - // access tokens with the token endpoint. Set to implicit to specify that the - // client should get the access token (and, optionally, ID token, based on scopes) - // directly. Set to client_credentials to specify that the client should get the - // access token (and, optionally, ID token, based on scopes) from the token - // endpoint using a combination of client and client_secret. + // The allowed OAuth flows. code Use a code grant flow, which provides an + // authorization code as the response. This code can be exchanged for access tokens + // with the /oauth2/token endpoint. implicit Issue the access token (and, + // optionally, ID token, based on scopes) directly to your user. client_credentials + // Issue the access token from the /oauth2/token endpoint directly to a non-person + // user using a combination of the client ID and client secret. AllowedOAuthFlows []OAuthFlowType // Set to true if the client is allowed to follow the OAuth protocol when // interacting with Amazon Cognito user pools. AllowedOAuthFlowsUserPoolClient bool - // The allowed OAuth scopes. Possible values provided by OAuth are: phone, email, - // openid, and profile. Possible values provided by Amazon Web Services are: - // aws.cognito.signin.user.admin. Custom scopes created in Resource Servers are - // also supported. + // The OAuth scopes that your app client supports. Possible values that OAuth + // provides are phone, email, openid, and profile. Possible values that Amazon Web + // Services provides are aws.cognito.signin.user.admin. Amazon Cognito also + // supports custom scopes that you create in Resource Servers. AllowedOAuthScopes []string // The Amazon Pinpoint analytics configuration for the user pool client. Amazon @@ -1432,20 +1457,20 @@ type UserPoolClientType struct { // user pool resides. AnalyticsConfiguration *AnalyticsConfigurationType - // A list of allowed redirect (callback) URLs for the identity providers. A - // redirect URI must: + // A list of allowed redirect (callback) URLs for the IdPs. A redirect URI must: // - // * Be an absolute URI. + // * + // Be an absolute URI. // - // * Be registered with the - // authorization server. + // * Be registered with the authorization server. // - // * Not include a fragment component. + // * Not + // include a fragment component. // - // See OAuth 2.0 - - // Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). Amazon - // Cognito requires HTTPS over HTTP except for http://localhost for testing - // purposes only. App callback URLs such as myapp://example are also supported. + // See OAuth 2.0 - Redirection Endpoint + // (https://tools.ietf.org/html/rfc6749#section-3.1.2). Amazon Cognito requires + // HTTPS over HTTP except for http://localhost for testing purposes only. App + // callback URLs such as myapp://example are also supported. CallbackURLs []string // The ID of the client associated with the user pool. @@ -1476,6 +1501,23 @@ type UserPoolClientType struct { // callback URLs such as myapp://example are also supported. DefaultRedirectURI *string + // When EnablePropagateAdditionalUserContextData is true, Amazon Cognito accepts an + // IpAddress value that you send in the UserContextData parameter. The + // UserContextData parameter sends information to Amazon Cognito advanced security + // for risk analysis. You can send UserContextData when you sign in Amazon Cognito + // native users with the InitiateAuth and RespondToAuthChallenge API operations. + // When EnablePropagateAdditionalUserContextData is false, you can't send your + // user's source IP address to Amazon Cognito advanced security with + // unauthenticated API operations. EnablePropagateAdditionalUserContextData doesn't + // affect whether you can send a source IP address in a ContextData parameter with + // the authenticated API operations AdminInitiateAuth and + // AdminRespondToAuthChallenge. You can only activate + // EnablePropagateAdditionalUserContextData in an app client that has a client + // secret. For more information about propagation of user context data, see Adding + // user device and session data to API requests + // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint). + EnablePropagateAdditionalUserContextData *bool + // Indicates whether token revocation is activated for the user pool client. When // you create a new user pool client, token revocation is activated by default. For // more information about revoking tokens, see RevokeToken @@ -1507,14 +1549,19 @@ type UserPoolClientType struct { // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. ExplicitAuthFlows []ExplicitAuthFlowsType - // The time limit specified by tokenValidityUnits, defaulting to hours, after which - // the refresh token is no longer valid and can't be used. + // The ID token time limit. After this limit expires, your user can't use their ID + // token. To specify the time unit for IdTokenValidity as seconds, minutes, hours, + // or days, set a TokenValidityUnits value in your API request. For example, when + // you set IdTokenValidity as 10 and TokenValidityUnits as hours, your user can + // authenticate their session with their ID token for 10 hours. The default time + // unit for AccessTokenValidity in an API request is hours. Valid range is + // displayed below in seconds. IdTokenValidity *int32 // The date the user pool client was last modified. LastModifiedDate *time.Time - // A list of allowed logout URLs for the identity providers. + // A list of allowed logout URLs for the IdPs. LogoutURLs []string // Errors and responses that you want Amazon Cognito APIs to return during @@ -1529,23 +1576,31 @@ type UserPoolClientType struct { // * ENABLED - This prevents user // existence-related errors. // - // * LEGACY - This represents the old behavior of + // * LEGACY - This represents the old behavior of Amazon // Cognito where user existence related errors aren't prevented. PreventUserExistenceErrors PreventUserExistenceErrorTypes // The Read-only attributes. ReadAttributes []string - // The time limit, in days, after which the refresh token is no longer valid and - // can't be used. + // The refresh token time limit. After this limit expires, your user can't use + // their refresh token. To specify the time unit for RefreshTokenValidity as + // seconds, minutes, hours, or days, set a TokenValidityUnits value in your API + // request. For example, when you set RefreshTokenValidity as 10 and + // TokenValidityUnits as days, your user can refresh their session and retrieve new + // access and ID tokens for 10 days. The default time unit for RefreshTokenValidity + // in an API request is days. You can't set RefreshTokenValidity to 0. If you do, + // Amazon Cognito overrides the value with the default value of 30 days. Valid + // range is displayed below in seconds. RefreshTokenValidity int32 - // A list of provider names for the identity providers that are supported on this - // client. + // A list of provider names for the IdPs that this client supports. The following + // are supported: COGNITO, Facebook, GoogleLoginWithAmazon, and the names of your + // own SAML and OIDC providers. SupportedIdentityProviders []string - // The time units used to specify the token validity times of their respective - // token. + // The time units used to specify the token validity times of each token type: ID, + // access, and refresh. TokenValidityUnits *TokenValidityUnitsType // The user pool ID for the user pool client. @@ -1712,6 +1767,14 @@ type UserPoolType struct { // The status of a user pool. Status StatusType + // The settings for updates to user attributes. These settings include the property + // AttributesRequireVerificationBeforeUpdate, a user-pool setting that tells Amazon + // Cognito how to handle changes to the value of your users' email address and + // phone number attributes. For more information, see Verifying updates to to + // email addresses and phone numbers + // (https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates). + UserAttributeUpdateSettings *UserAttributeUpdateSettingsType + // The user pool add-ons. UserPoolAddOns *UserPoolAddOnsType @@ -1737,7 +1800,7 @@ type UserPoolType struct { noSmithyDocumentSerde } -// The user type. +// A user profile in a Amazon Cognito user pool. type UserType struct { // A container with information about the user type attributes. @@ -1763,18 +1826,20 @@ type UserType struct { // * CONFIRMED - User has been confirmed. // // * - // ARCHIVED - User is no longer active. + // EXTERNAL_PROVIDER - User signed in with a third-party IdP. + // + // * ARCHIVED - User is + // no longer active. // // * UNKNOWN - User status isn't known. // - // * - // RESET_REQUIRED - User is confirmed, but the user must request a code and reset - // their password before they can sign in. + // * RESET_REQUIRED - User + // is confirmed, but the user must request a code and reset their password before + // they can sign in. // - // * FORCE_CHANGE_PASSWORD - The user is - // confirmed and the user can sign in using a temporary password, but on first - // sign-in, the user must change their password to a new value before doing - // anything else. + // * FORCE_CHANGE_PASSWORD - The user is confirmed and the user + // can sign in using a temporary password, but on first sign-in, the user must + // change their password to a new value before doing anything else. UserStatus UserStatusType // The user name of the user you want to describe. @@ -1789,30 +1854,44 @@ type VerificationMessageTemplateType struct { // The default email option. DefaultEmailOption DefaultEmailOptionType - // The email message template. EmailMessage is allowed only if EmailSendingAccount + // The template for email messages that Amazon Cognito sends to your users. You can + // set an EmailMessage template only if the value of EmailSendingAccount // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) - // is DEVELOPER. + // is DEVELOPER. When your EmailSendingAccount + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) + // is DEVELOPER, your user pool sends email messages with your own Amazon SES + // configuration. EmailMessage *string - // The email message template for sending a confirmation link to the user. - // EmailMessageByLink is allowed only if EmailSendingAccount + // The email message template for sending a confirmation link to the user. You can + // set an EmailMessageByLink template only if the value of EmailSendingAccount // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) - // is DEVELOPER. + // is DEVELOPER. When your EmailSendingAccount + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) + // is DEVELOPER, your user pool sends email messages with your own Amazon SES + // configuration. EmailMessageByLink *string - // The subject line for the email message template. EmailSubject is allowed only if - // EmailSendingAccount + // The subject line for the email message template. You can set an EmailSubject + // template only if the value of EmailSendingAccount // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) - // is DEVELOPER. + // is DEVELOPER. When your EmailSendingAccount + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) + // is DEVELOPER, your user pool sends email messages with your own Amazon SES + // configuration. EmailSubject *string // The subject line for the email message template for sending a confirmation link - // to the user. EmailSubjectByLink is allowed only EmailSendingAccount + // to the user. You can set an EmailSubjectByLink template only if the value of + // EmailSendingAccount // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) - // is DEVELOPER. + // is DEVELOPER. When your EmailSendingAccount + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) + // is DEVELOPER, your user pool sends email messages with your own Amazon SES + // configuration. EmailSubjectByLink *string - // The SMS message template. + // The template for SMS messages that Amazon Cognito sends to your users. SmsMessage *string noSmithyDocumentSerde diff --git a/service/cognitosync/CHANGELOG.md b/service/cognitosync/CHANGELOG.md index 90f30d824d3..5a749b3f491 100644 --- a/service/cognitosync/CHANGELOG.md +++ b/service/cognitosync/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/cognitosync/go.mod b/service/cognitosync/go.mod index 3d83240fec0..7d1c9a03d10 100644 --- a/service/cognitosync/go.mod +++ b/service/cognitosync/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/cognitosync go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cognitosync/go.sum b/service/cognitosync/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/cognitosync/go.sum +++ b/service/cognitosync/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/cognitosync/go_module_metadata.go b/service/cognitosync/go_module_metadata.go index cd99816a351..fc07c3e0850 100644 --- a/service/cognitosync/go_module_metadata.go +++ b/service/cognitosync/go_module_metadata.go @@ -3,4 +3,4 @@ package cognitosync // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/comprehend/CHANGELOG.md b/service/comprehend/CHANGELOG.md index e954168754d..61339f0129c 100644 --- a/service/comprehend/CHANGELOG.md +++ b/service/comprehend/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.18.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.18.0 (2022-05-20) + +* **Feature**: Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs. + # v1.17.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/comprehend/api_op_BatchDetectKeyPhrases.go b/service/comprehend/api_op_BatchDetectKeyPhrases.go index bdb92be77d5..dd5ae17ff88 100644 --- a/service/comprehend/api_op_BatchDetectKeyPhrases.go +++ b/service/comprehend/api_op_BatchDetectKeyPhrases.go @@ -37,7 +37,7 @@ type BatchDetectKeyPhrasesInput struct { LanguageCode types.LanguageCode // A list containing the text of the input documents. The list can contain a - // maximum of 25 documents. Each document must contain fewer that 5,000 bytes of + // maximum of 25 documents. Each document must contain fewer than 5,000 bytes of // UTF-8 encoded characters. // // This member is required. diff --git a/service/comprehend/api_op_ClassifyDocument.go b/service/comprehend/api_op_ClassifyDocument.go index 996dbce824a..787c92f288a 100644 --- a/service/comprehend/api_op_ClassifyDocument.go +++ b/service/comprehend/api_op_ClassifyDocument.go @@ -30,7 +30,9 @@ func (c *Client) ClassifyDocument(ctx context.Context, params *ClassifyDocumentI type ClassifyDocumentInput struct { - // The Amazon Resource Number (ARN) of the endpoint. + // The Amazon Resource Number (ARN) of the endpoint. For information about + // endpoints, see Managing endpoints + // (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). // // This member is required. EndpointArn *string diff --git a/service/comprehend/api_op_ContainsPiiEntities.go b/service/comprehend/api_op_ContainsPiiEntities.go index 32dd8e25718..6584ebddc21 100644 --- a/service/comprehend/api_op_ContainsPiiEntities.go +++ b/service/comprehend/api_op_ContainsPiiEntities.go @@ -31,7 +31,8 @@ func (c *Client) ContainsPiiEntities(ctx context.Context, params *ContainsPiiEnt type ContainsPiiEntitiesInput struct { - // The language of the input documents. + // The language of the input documents. Currently, English is the only valid + // language. // // This member is required. LanguageCode types.LanguageCode diff --git a/service/comprehend/api_op_CreateEndpoint.go b/service/comprehend/api_op_CreateEndpoint.go index 663ffcd7b94..b6ce641443f 100644 --- a/service/comprehend/api_op_CreateEndpoint.go +++ b/service/comprehend/api_op_CreateEndpoint.go @@ -13,7 +13,8 @@ import ( ) // Creates a model-specific endpoint for synchronous inference for a previously -// trained custom model +// trained custom model For information about endpoints, see Managing endpoints +// (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). func (c *Client) CreateEndpoint(ctx context.Context, params *CreateEndpointInput, optFns ...func(*Options)) (*CreateEndpointOutput, error) { if params == nil { params = &CreateEndpointInput{} diff --git a/service/comprehend/api_op_DeleteEndpoint.go b/service/comprehend/api_op_DeleteEndpoint.go index f000e6cbf86..0f39e0762a0 100644 --- a/service/comprehend/api_op_DeleteEndpoint.go +++ b/service/comprehend/api_op_DeleteEndpoint.go @@ -11,7 +11,9 @@ import ( ) // Deletes a model-specific endpoint for a previously-trained custom model. All -// endpoints must be deleted in order for the model to be deleted. +// endpoints must be deleted in order for the model to be deleted. For information +// about endpoints, see Managing endpoints +// (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). func (c *Client) DeleteEndpoint(ctx context.Context, params *DeleteEndpointInput, optFns ...func(*Options)) (*DeleteEndpointOutput, error) { if params == nil { params = &DeleteEndpointInput{} diff --git a/service/comprehend/api_op_DescribeEndpoint.go b/service/comprehend/api_op_DescribeEndpoint.go index 3a3b6dadf86..bc1eab20c68 100644 --- a/service/comprehend/api_op_DescribeEndpoint.go +++ b/service/comprehend/api_op_DescribeEndpoint.go @@ -12,7 +12,9 @@ import ( ) // Gets the properties associated with a specific endpoint. Use this operation to -// get the status of an endpoint. +// get the status of an endpoint. For information about endpoints, see Managing +// endpoints +// (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). func (c *Client) DescribeEndpoint(ctx context.Context, params *DescribeEndpointInput, optFns ...func(*Options)) (*DescribeEndpointOutput, error) { if params == nil { params = &DescribeEndpointInput{} diff --git a/service/comprehend/api_op_DetectEntities.go b/service/comprehend/api_op_DetectEntities.go index fc9c95809dc..eecffd8fd54 100644 --- a/service/comprehend/api_op_DetectEntities.go +++ b/service/comprehend/api_op_DetectEntities.go @@ -41,7 +41,8 @@ type DetectEntitiesInput struct { // your own custom model instead of the default model that is used by Amazon // Comprehend. If you specify an endpoint, Amazon Comprehend uses the language of // your custom model, and it ignores any language code that you provide in your - // request. + // request. For information about endpoints, see Managing endpoints + // (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). EndpointArn *string // The language of the input documents. You can specify any of the primary diff --git a/service/comprehend/api_op_DetectPiiEntities.go b/service/comprehend/api_op_DetectPiiEntities.go index b7ac02e2edd..62d6596e8df 100644 --- a/service/comprehend/api_op_DetectPiiEntities.go +++ b/service/comprehend/api_op_DetectPiiEntities.go @@ -30,7 +30,8 @@ func (c *Client) DetectPiiEntities(ctx context.Context, params *DetectPiiEntitie type DetectPiiEntitiesInput struct { - // The language of the input documents. + // The language of the input documents. Currently, English is the only valid + // language. // // This member is required. LanguageCode types.LanguageCode diff --git a/service/comprehend/api_op_ListEndpoints.go b/service/comprehend/api_op_ListEndpoints.go index f5a7d25012c..fd8f08b6b93 100644 --- a/service/comprehend/api_op_ListEndpoints.go +++ b/service/comprehend/api_op_ListEndpoints.go @@ -11,7 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets a list of all existing endpoints that you've created. +// Gets a list of all existing endpoints that you've created. For information about +// endpoints, see Managing endpoints +// (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). func (c *Client) ListEndpoints(ctx context.Context, params *ListEndpointsInput, optFns ...func(*Options)) (*ListEndpointsOutput, error) { if params == nil { params = &ListEndpointsInput{} diff --git a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go index 81a2ab8ec34..fce8055613e 100644 --- a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go @@ -41,7 +41,8 @@ type StartPiiEntitiesDetectionJobInput struct { // This member is required. InputDataConfig *types.InputDataConfig - // The language of the input documents. + // The language of the input documents. Currently, English is the only valid + // language. // // This member is required. LanguageCode types.LanguageCode diff --git a/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go b/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go index ba46cef9534..b5c37326f92 100644 --- a/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go @@ -44,8 +44,7 @@ type StartTargetedSentimentDetectionJobInput struct { // This member is required. InputDataConfig *types.InputDataConfig - // The language of the input documents. You can specify any of the primary - // languages supported by Amazon Comprehend. All documents must be in the same + // The language of the input documents. Currently, English is the only valid // language. // // This member is required. diff --git a/service/comprehend/api_op_StopSentimentDetectionJob.go b/service/comprehend/api_op_StopSentimentDetectionJob.go index 19c31ebd13e..ddb1fa62839 100644 --- a/service/comprehend/api_op_StopSentimentDetectionJob.go +++ b/service/comprehend/api_op_StopSentimentDetectionJob.go @@ -11,9 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Stops a sentiment detection job in progress. If the job state is IN_PROGRESS the -// job is marked for termination and put into the STOP_REQUESTED state. If the job -// completes before it can be stopped, it is put into the COMPLETED state; +// Stops a sentiment detection job in progress. If the job state is IN_PROGRESS, +// the job is marked for termination and put into the STOP_REQUESTED state. If the +// job completes before it can be stopped, it is put into the COMPLETED state; // otherwise the job is be stopped and put into the STOPPED state. If the job is in // the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob // operation, the operation returns a 400 Internal Request Exception. When a job is diff --git a/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go b/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go index 42f031781f7..64e2c3b989c 100644 --- a/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go @@ -12,7 +12,7 @@ import ( ) // Stops a targeted sentiment detection job in progress. If the job state is -// IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED +// IN_PROGRESS, the job is marked for termination and put into the STOP_REQUESTED // state. If the job completes before it can be stopped, it is put into the // COMPLETED state; otherwise the job is be stopped and put into the STOPPED state. // If the job is in the COMPLETED or FAILED state when you call the diff --git a/service/comprehend/api_op_UpdateEndpoint.go b/service/comprehend/api_op_UpdateEndpoint.go index 6a8622070f7..8822aece905 100644 --- a/service/comprehend/api_op_UpdateEndpoint.go +++ b/service/comprehend/api_op_UpdateEndpoint.go @@ -10,7 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates information about the specified endpoint. +// Updates information about the specified endpoint. For information about +// endpoints, see Managing endpoints +// (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). func (c *Client) UpdateEndpoint(ctx context.Context, params *UpdateEndpointInput, optFns ...func(*Options)) (*UpdateEndpointOutput, error) { if params == nil { params = &UpdateEndpointInput{} diff --git a/service/comprehend/go.mod b/service/comprehend/go.mod index c383f2a50cf..32c55e9e0ef 100644 --- a/service/comprehend/go.mod +++ b/service/comprehend/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/comprehend go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/comprehend/go.sum b/service/comprehend/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/comprehend/go.sum +++ b/service/comprehend/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/comprehend/go_module_metadata.go b/service/comprehend/go_module_metadata.go index e0716c12907..5cce7eddab9 100644 --- a/service/comprehend/go_module_metadata.go +++ b/service/comprehend/go_module_metadata.go @@ -3,4 +3,4 @@ package comprehend // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.5" +const goModuleVersion = "1.18.1" diff --git a/service/comprehend/types/enums.go b/service/comprehend/types/enums.go index 2bdd0b1a5cd..4448bc6aec5 100644 --- a/service/comprehend/types/enums.go +++ b/service/comprehend/types/enums.go @@ -385,29 +385,43 @@ type PiiEntityType string // Enum values for PiiEntityType const ( - PiiEntityTypeBankAccountNumber PiiEntityType = "BANK_ACCOUNT_NUMBER" - PiiEntityTypeBankRouting PiiEntityType = "BANK_ROUTING" - PiiEntityTypeCreditDebitNumber PiiEntityType = "CREDIT_DEBIT_NUMBER" - PiiEntityTypeCreditDebitCvv PiiEntityType = "CREDIT_DEBIT_CVV" - PiiEntityTypeCreditDebitExpiry PiiEntityType = "CREDIT_DEBIT_EXPIRY" - PiiEntityTypePin PiiEntityType = "PIN" - PiiEntityTypeEmail PiiEntityType = "EMAIL" - PiiEntityTypeAddress PiiEntityType = "ADDRESS" - PiiEntityTypeName PiiEntityType = "NAME" - PiiEntityTypePhone PiiEntityType = "PHONE" - PiiEntityTypeSsn PiiEntityType = "SSN" - PiiEntityTypeDateTime PiiEntityType = "DATE_TIME" - PiiEntityTypePassportNumber PiiEntityType = "PASSPORT_NUMBER" - PiiEntityTypeDriverId PiiEntityType = "DRIVER_ID" - PiiEntityTypeUrl PiiEntityType = "URL" - PiiEntityTypeAge PiiEntityType = "AGE" - PiiEntityTypeUsername PiiEntityType = "USERNAME" - PiiEntityTypePassword PiiEntityType = "PASSWORD" - PiiEntityTypeAwsAccessKey PiiEntityType = "AWS_ACCESS_KEY" - PiiEntityTypeAwsSecretKey PiiEntityType = "AWS_SECRET_KEY" - PiiEntityTypeIpAddress PiiEntityType = "IP_ADDRESS" - PiiEntityTypeMacAddress PiiEntityType = "MAC_ADDRESS" - PiiEntityTypeAll PiiEntityType = "ALL" + PiiEntityTypeBankAccountNumber PiiEntityType = "BANK_ACCOUNT_NUMBER" + PiiEntityTypeBankRouting PiiEntityType = "BANK_ROUTING" + PiiEntityTypeCreditDebitNumber PiiEntityType = "CREDIT_DEBIT_NUMBER" + PiiEntityTypeCreditDebitCvv PiiEntityType = "CREDIT_DEBIT_CVV" + PiiEntityTypeCreditDebitExpiry PiiEntityType = "CREDIT_DEBIT_EXPIRY" + PiiEntityTypePin PiiEntityType = "PIN" + PiiEntityTypeEmail PiiEntityType = "EMAIL" + PiiEntityTypeAddress PiiEntityType = "ADDRESS" + PiiEntityTypeName PiiEntityType = "NAME" + PiiEntityTypePhone PiiEntityType = "PHONE" + PiiEntityTypeSsn PiiEntityType = "SSN" + PiiEntityTypeDateTime PiiEntityType = "DATE_TIME" + PiiEntityTypePassportNumber PiiEntityType = "PASSPORT_NUMBER" + PiiEntityTypeDriverId PiiEntityType = "DRIVER_ID" + PiiEntityTypeUrl PiiEntityType = "URL" + PiiEntityTypeAge PiiEntityType = "AGE" + PiiEntityTypeUsername PiiEntityType = "USERNAME" + PiiEntityTypePassword PiiEntityType = "PASSWORD" + PiiEntityTypeAwsAccessKey PiiEntityType = "AWS_ACCESS_KEY" + PiiEntityTypeAwsSecretKey PiiEntityType = "AWS_SECRET_KEY" + PiiEntityTypeIpAddress PiiEntityType = "IP_ADDRESS" + PiiEntityTypeMacAddress PiiEntityType = "MAC_ADDRESS" + PiiEntityTypeAll PiiEntityType = "ALL" + PiiEntityTypeLicensePlate PiiEntityType = "LICENSE_PLATE" + PiiEntityTypeVehicleIdentificationNumber PiiEntityType = "VEHICLE_IDENTIFICATION_NUMBER" + PiiEntityTypeUkNationalInsuranceNumber PiiEntityType = "UK_NATIONAL_INSURANCE_NUMBER" + PiiEntityTypeCaSocialInsuranceNumber PiiEntityType = "CA_SOCIAL_INSURANCE_NUMBER" + PiiEntityTypeUsIndividualTaxIdentificationNumber PiiEntityType = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" + PiiEntityTypeUkUniqueTaxpayerReferenceNumber PiiEntityType = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" + PiiEntityTypeInPermanentAccountNumber PiiEntityType = "IN_PERMANENT_ACCOUNT_NUMBER" + PiiEntityTypeInNrega PiiEntityType = "IN_NREGA" + PiiEntityTypeInternationalBankAccountNumber PiiEntityType = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" + PiiEntityTypeSwiftCode PiiEntityType = "SWIFT_CODE" + PiiEntityTypeUkNationalHealthServiceNumber PiiEntityType = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" + PiiEntityTypeCaHealthNumber PiiEntityType = "CA_HEALTH_NUMBER" + PiiEntityTypeInAadhaar PiiEntityType = "IN_AADHAAR" + PiiEntityTypeInVoterNumber PiiEntityType = "IN_VOTER_NUMBER" ) // Values returns all known values for PiiEntityType. Note that this can be @@ -438,6 +452,20 @@ func (PiiEntityType) Values() []PiiEntityType { "IP_ADDRESS", "MAC_ADDRESS", "ALL", + "LICENSE_PLATE", + "VEHICLE_IDENTIFICATION_NUMBER", + "UK_NATIONAL_INSURANCE_NUMBER", + "CA_SOCIAL_INSURANCE_NUMBER", + "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER", + "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER", + "IN_PERMANENT_ACCOUNT_NUMBER", + "IN_NREGA", + "INTERNATIONAL_BANK_ACCOUNT_NUMBER", + "SWIFT_CODE", + "UK_NATIONAL_HEALTH_SERVICE_NUMBER", + "CA_HEALTH_NUMBER", + "IN_AADHAAR", + "IN_VOTER_NUMBER", } } diff --git a/service/comprehend/types/types.go b/service/comprehend/types/types.go index 5a8e39afcf2..d6a8de582d5 100644 --- a/service/comprehend/types/types.go +++ b/service/comprehend/types/types.go @@ -319,7 +319,7 @@ type DocumentClassificationJobProperties struct { // Configuration parameters for a private Virtual Private Cloud (VPC) containing // the resources you are using for your document classification job. For more // information, see Amazon VPC - // (https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html). + // (https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html). VpcConfig *VpcConfig noSmithyDocumentSerde @@ -350,7 +350,7 @@ type DocumentClassifierFilter struct { } // The input properties for training a document classifier. For more information on -// how the input file is formatted, see how-document-classification-training-data. +// how the input file is formatted, see prep-classifier-data. type DocumentClassifierInputDataConfig struct { // A list of augmented manifest files that provide training data for your custom @@ -524,7 +524,7 @@ type DocumentClassifierProperties struct { // Configuration parameters for a private Virtual Private Cloud (VPC) containing // the resources you are using for your custom classifier. For more information, // see Amazon VPC - // (https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html). + // (https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html). VpcConfig *VpcConfig noSmithyDocumentSerde @@ -720,7 +720,9 @@ type EndpointFilter struct { noSmithyDocumentSerde } -// Specifies information about the specified endpoint. +// Specifies information about the specified endpoint. For information about +// endpoints, see Managing endpoints +// (https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html). type EndpointProperties struct { // The creation date and time of the endpoint. diff --git a/service/comprehendmedical/CHANGELOG.md b/service/comprehendmedical/CHANGELOG.md index f67a43abe40..cebee1172f9 100644 --- a/service/comprehendmedical/CHANGELOG.md +++ b/service/comprehendmedical/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/comprehendmedical/go.mod b/service/comprehendmedical/go.mod index 0c4e1a159b7..214330ef33e 100644 --- a/service/comprehendmedical/go.mod +++ b/service/comprehendmedical/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/comprehendmedical go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/comprehendmedical/go.sum b/service/comprehendmedical/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/comprehendmedical/go.sum +++ b/service/comprehendmedical/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/comprehendmedical/go_module_metadata.go b/service/comprehendmedical/go_module_metadata.go index b6e84548425..8bc2306c2ef 100644 --- a/service/comprehendmedical/go_module_metadata.go +++ b/service/comprehendmedical/go_module_metadata.go @@ -3,4 +3,4 @@ package comprehendmedical // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/computeoptimizer/CHANGELOG.md b/service/computeoptimizer/CHANGELOG.md index bffaaa56f97..6894cd5a413 100644 --- a/service/computeoptimizer/CHANGELOG.md +++ b/service/computeoptimizer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/computeoptimizer/go.mod b/service/computeoptimizer/go.mod index 2d643ba8dd9..f87c6fc9012 100644 --- a/service/computeoptimizer/go.mod +++ b/service/computeoptimizer/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/computeoptimizer go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/computeoptimizer/go.sum b/service/computeoptimizer/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/computeoptimizer/go.sum +++ b/service/computeoptimizer/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/computeoptimizer/go_module_metadata.go b/service/computeoptimizer/go_module_metadata.go index 333c17364ab..dd6fab98f24 100644 --- a/service/computeoptimizer/go_module_metadata.go +++ b/service/computeoptimizer/go_module_metadata.go @@ -3,4 +3,4 @@ package computeoptimizer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.6" +const goModuleVersion = "1.17.7" diff --git a/service/configservice/CHANGELOG.md b/service/configservice/CHANGELOG.md index f9c26156545..d76d869aa7b 100644 --- a/service/configservice/CHANGELOG.md +++ b/service/configservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.21.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/configservice/go.mod b/service/configservice/go.mod index dd1d0cdf82e..a4cd71c35c7 100644 --- a/service/configservice/go.mod +++ b/service/configservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/configservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/configservice/go.sum b/service/configservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/configservice/go.sum +++ b/service/configservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/configservice/go_module_metadata.go b/service/configservice/go_module_metadata.go index e3d49f23d40..a71be849cd9 100644 --- a/service/configservice/go_module_metadata.go +++ b/service/configservice/go_module_metadata.go @@ -3,4 +3,4 @@ package configservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/connect/CHANGELOG.md b/service/connect/CHANGELOG.md index df1c9e6c74e..a4d9d308d68 100644 --- a/service/connect/CHANGELOG.md +++ b/service/connect/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.26.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.26.0 (2022-06-06) + +* **Feature**: This release adds a new API, GetCurrentUserData, which returns real-time details about users' current activity. + +# v1.25.0 (2022-06-02) + +* **Feature**: This release adds the following features: 1) New APIs to manage (create, list, update) task template resources, 2) Updates to startTaskContact API to support task templates, and 3) new TransferContact API to programmatically transfer in-progress tasks via a contact flow. + # v1.24.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/connect/api_op_CreateTaskTemplate.go b/service/connect/api_op_CreateTaskTemplate.go new file mode 100644 index 00000000000..ee8b35d7798 --- /dev/null +++ b/service/connect/api_op_CreateTaskTemplate.go @@ -0,0 +1,199 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package connect + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/connect/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a new task template in the specified Amazon Connect instance. +func (c *Client) CreateTaskTemplate(ctx context.Context, params *CreateTaskTemplateInput, optFns ...func(*Options)) (*CreateTaskTemplateOutput, error) { + if params == nil { + params = &CreateTaskTemplateInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateTaskTemplate", params, optFns, c.addOperationCreateTaskTemplateMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateTaskTemplateOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateTaskTemplateInput struct { + + // Fields that are part of the template. + // + // This member is required. + Fields []types.TaskTemplateField + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + // + // This member is required. + InstanceId *string + + // The name of the task template. + // + // This member is required. + Name *string + + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. + ClientToken *string + + // Constraints that are applicable to the fields listed. + Constraints *types.TaskTemplateConstraints + + // The identifier of the flow that runs by default when a task is created by + // referencing this template. + ContactFlowId *string + + // The default values for fields when a task is created by referencing this + // template. + Defaults *types.TaskTemplateDefaults + + // The description of the task template. + Description *string + + // Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only + // be created from ACTIVE templates. If a template is marked as INACTIVE, then a + // task that refers to this template cannot be created. + Status types.TaskTemplateStatus + + noSmithyDocumentSerde +} + +type CreateTaskTemplateOutput struct { + + // The Amazon Resource Name (ARN) for the task template resource. + // + // This member is required. + Arn *string + + // The identifier of the task template resource. + // + // This member is required. + Id *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateTaskTemplateMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpCreateTaskTemplate{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpCreateTaskTemplate{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addIdempotencyToken_opCreateTaskTemplateMiddleware(stack, options); err != nil { + return err + } + if err = addOpCreateTaskTemplateValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTaskTemplate(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +type idempotencyToken_initializeOpCreateTaskTemplate struct { + tokenProvider IdempotencyTokenProvider +} + +func (*idempotencyToken_initializeOpCreateTaskTemplate) ID() string { + return "OperationIdempotencyTokenAutoFill" +} + +func (m *idempotencyToken_initializeOpCreateTaskTemplate) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + if m.tokenProvider == nil { + return next.HandleInitialize(ctx, in) + } + + input, ok := in.Parameters.(*CreateTaskTemplateInput) + if !ok { + return out, metadata, fmt.Errorf("expected middleware input to be of type *CreateTaskTemplateInput ") + } + + if input.ClientToken == nil { + t, err := m.tokenProvider.GetIdempotencyToken() + if err != nil { + return out, metadata, err + } + input.ClientToken = &t + } + return next.HandleInitialize(ctx, in) +} +func addIdempotencyToken_opCreateTaskTemplateMiddleware(stack *middleware.Stack, cfg Options) error { + return stack.Initialize.Add(&idempotencyToken_initializeOpCreateTaskTemplate{tokenProvider: cfg.IdempotencyTokenProvider}, middleware.Before) +} + +func newServiceMetadataMiddleware_opCreateTaskTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "connect", + OperationName: "CreateTaskTemplate", + } +} diff --git a/service/connect/api_op_DeleteTaskTemplate.go b/service/connect/api_op_DeleteTaskTemplate.go new file mode 100644 index 00000000000..f22a6577ade --- /dev/null +++ b/service/connect/api_op_DeleteTaskTemplate.go @@ -0,0 +1,122 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package connect + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes the task template. +func (c *Client) DeleteTaskTemplate(ctx context.Context, params *DeleteTaskTemplateInput, optFns ...func(*Options)) (*DeleteTaskTemplateOutput, error) { + if params == nil { + params = &DeleteTaskTemplateInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteTaskTemplate", params, optFns, c.addOperationDeleteTaskTemplateMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteTaskTemplateOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteTaskTemplateInput struct { + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + // + // This member is required. + InstanceId *string + + // A unique identifier for the task template. + // + // This member is required. + TaskTemplateId *string + + noSmithyDocumentSerde +} + +type DeleteTaskTemplateOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteTaskTemplateMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpDeleteTaskTemplate{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDeleteTaskTemplate{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteTaskTemplateValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTaskTemplate(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteTaskTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "connect", + OperationName: "DeleteTaskTemplate", + } +} diff --git a/service/connect/api_op_GetCurrentUserData.go b/service/connect/api_op_GetCurrentUserData.go new file mode 100644 index 00000000000..5df179218b7 --- /dev/null +++ b/service/connect/api_op_GetCurrentUserData.go @@ -0,0 +1,227 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package connect + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/connect/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Gets the real-time active user data from the specified Amazon Connect instance. +func (c *Client) GetCurrentUserData(ctx context.Context, params *GetCurrentUserDataInput, optFns ...func(*Options)) (*GetCurrentUserDataOutput, error) { + if params == nil { + params = &GetCurrentUserDataInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetCurrentUserData", params, optFns, c.addOperationGetCurrentUserDataMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetCurrentUserDataOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetCurrentUserDataInput struct { + + // Filters up to 100 Queues, or up to 9 ContactStates. The user data is retrieved + // only for those users who are associated with the queues and have contacts that + // are in the specified ContactState. + // + // This member is required. + Filters *types.UserDataFilters + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + // + // This member is required. + InstanceId *string + + // The maximum number of results to return per page. + MaxResults int32 + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string + + noSmithyDocumentSerde +} + +type GetCurrentUserDataOutput struct { + + // If there are additional results, this is the token for the next set of results. + NextToken *string + + // A list of the user data that is returned. + UserDataList []types.UserData + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetCurrentUserDataMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpGetCurrentUserData{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpGetCurrentUserData{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetCurrentUserDataValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCurrentUserData(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// GetCurrentUserDataAPIClient is a client that implements the GetCurrentUserData +// operation. +type GetCurrentUserDataAPIClient interface { + GetCurrentUserData(context.Context, *GetCurrentUserDataInput, ...func(*Options)) (*GetCurrentUserDataOutput, error) +} + +var _ GetCurrentUserDataAPIClient = (*Client)(nil) + +// GetCurrentUserDataPaginatorOptions is the paginator options for +// GetCurrentUserData +type GetCurrentUserDataPaginatorOptions struct { + // The maximum number of results to return per page. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// GetCurrentUserDataPaginator is a paginator for GetCurrentUserData +type GetCurrentUserDataPaginator struct { + options GetCurrentUserDataPaginatorOptions + client GetCurrentUserDataAPIClient + params *GetCurrentUserDataInput + nextToken *string + firstPage bool +} + +// NewGetCurrentUserDataPaginator returns a new GetCurrentUserDataPaginator +func NewGetCurrentUserDataPaginator(client GetCurrentUserDataAPIClient, params *GetCurrentUserDataInput, optFns ...func(*GetCurrentUserDataPaginatorOptions)) *GetCurrentUserDataPaginator { + if params == nil { + params = &GetCurrentUserDataInput{} + } + + options := GetCurrentUserDataPaginatorOptions{} + if params.MaxResults != 0 { + options.Limit = params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &GetCurrentUserDataPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *GetCurrentUserDataPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next GetCurrentUserData page. +func (p *GetCurrentUserDataPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetCurrentUserDataOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + params.MaxResults = p.options.Limit + + result, err := p.client.GetCurrentUserData(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opGetCurrentUserData(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "connect", + OperationName: "GetCurrentUserData", + } +} diff --git a/service/connect/api_op_GetTaskTemplate.go b/service/connect/api_op_GetTaskTemplate.go new file mode 100644 index 00000000000..9ffbf75b09e --- /dev/null +++ b/service/connect/api_op_GetTaskTemplate.go @@ -0,0 +1,180 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package connect + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/connect/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Gets details about a specific task template in the specified Amazon Connect +// instance. +func (c *Client) GetTaskTemplate(ctx context.Context, params *GetTaskTemplateInput, optFns ...func(*Options)) (*GetTaskTemplateOutput, error) { + if params == nil { + params = &GetTaskTemplateInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetTaskTemplate", params, optFns, c.addOperationGetTaskTemplateMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetTaskTemplateOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetTaskTemplateInput struct { + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + // + // This member is required. + InstanceId *string + + // A unique identifier for the task template. + // + // This member is required. + TaskTemplateId *string + + // The system generated version of a task template that is associated with a task, + // when the task is created. + SnapshotVersion *string + + noSmithyDocumentSerde +} + +type GetTaskTemplateOutput struct { + + // The Amazon Resource Name (ARN). + // + // This member is required. + Arn *string + + // A unique identifier for the task template. + // + // This member is required. + Id *string + + // The name of the task template. + // + // This member is required. + Name *string + + // Constraints that are applicable to the fields listed. + Constraints *types.TaskTemplateConstraints + + // The identifier of the flow that runs by default when a task is created by + // referencing this template. + ContactFlowId *string + + // The timestamp when the task template was created. + CreatedTime *time.Time + + // The default values for fields when a task is created by referencing this + // template. + Defaults *types.TaskTemplateDefaults + + // The description of the task template. + Description *string + + // Fields that are part of the template. + Fields []types.TaskTemplateField + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + InstanceId *string + + // The timestamp when the task template was last modified. + LastModifiedTime *time.Time + + // Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only + // be created from ACTIVE templates. If a template is marked as INACTIVE, then a + // task that refers to this template cannot be created. + Status types.TaskTemplateStatus + + // The tags used to organize, track, or control access for this resource. + Tags map[string]string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetTaskTemplateMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpGetTaskTemplate{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpGetTaskTemplate{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetTaskTemplateValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTaskTemplate(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetTaskTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "connect", + OperationName: "GetTaskTemplate", + } +} diff --git a/service/connect/api_op_ListTaskTemplates.go b/service/connect/api_op_ListTaskTemplates.go new file mode 100644 index 00000000000..2eb4cf8d3da --- /dev/null +++ b/service/connect/api_op_ListTaskTemplates.go @@ -0,0 +1,232 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package connect + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/connect/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists task templates for the specified Amazon Connect instance. +func (c *Client) ListTaskTemplates(ctx context.Context, params *ListTaskTemplatesInput, optFns ...func(*Options)) (*ListTaskTemplatesOutput, error) { + if params == nil { + params = &ListTaskTemplatesInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListTaskTemplates", params, optFns, c.addOperationListTaskTemplatesMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListTaskTemplatesOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListTaskTemplatesInput struct { + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + // + // This member is required. + InstanceId *string + + // The maximum number of results to return per page. It is not expected that you + // set this. + MaxResults int32 + + // The name of the task template. + Name *string + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. It is not + // expected that you set this because the value returned in the previous response + // is always null. + NextToken *string + + // Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only + // be created from ACTIVE templates. If a template is marked as INACTIVE, then a + // task that refers to this template cannot be created. + Status types.TaskTemplateStatus + + noSmithyDocumentSerde +} + +type ListTaskTemplatesOutput struct { + + // If there are additional results, this is the token for the next set of results. + // This is always returned as a null in the response. + NextToken *string + + // Provides details about a list of task templates belonging to an instance. + TaskTemplates []types.TaskTemplateMetadata + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListTaskTemplatesMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpListTaskTemplates{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListTaskTemplates{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListTaskTemplatesValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskTemplates(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListTaskTemplatesAPIClient is a client that implements the ListTaskTemplates +// operation. +type ListTaskTemplatesAPIClient interface { + ListTaskTemplates(context.Context, *ListTaskTemplatesInput, ...func(*Options)) (*ListTaskTemplatesOutput, error) +} + +var _ ListTaskTemplatesAPIClient = (*Client)(nil) + +// ListTaskTemplatesPaginatorOptions is the paginator options for ListTaskTemplates +type ListTaskTemplatesPaginatorOptions struct { + // The maximum number of results to return per page. It is not expected that you + // set this. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListTaskTemplatesPaginator is a paginator for ListTaskTemplates +type ListTaskTemplatesPaginator struct { + options ListTaskTemplatesPaginatorOptions + client ListTaskTemplatesAPIClient + params *ListTaskTemplatesInput + nextToken *string + firstPage bool +} + +// NewListTaskTemplatesPaginator returns a new ListTaskTemplatesPaginator +func NewListTaskTemplatesPaginator(client ListTaskTemplatesAPIClient, params *ListTaskTemplatesInput, optFns ...func(*ListTaskTemplatesPaginatorOptions)) *ListTaskTemplatesPaginator { + if params == nil { + params = &ListTaskTemplatesInput{} + } + + options := ListTaskTemplatesPaginatorOptions{} + if params.MaxResults != 0 { + options.Limit = params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListTaskTemplatesPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListTaskTemplatesPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListTaskTemplates page. +func (p *ListTaskTemplatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTaskTemplatesOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + params.MaxResults = p.options.Limit + + result, err := p.client.ListTaskTemplates(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListTaskTemplates(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "connect", + OperationName: "ListTaskTemplates", + } +} diff --git a/service/connect/api_op_StartTaskContact.go b/service/connect/api_op_StartTaskContact.go index 124aeb54c7f..1dcb663cf22 100644 --- a/service/connect/api_op_StartTaskContact.go +++ b/service/connect/api_op_StartTaskContact.go @@ -31,16 +31,6 @@ func (c *Client) StartTaskContact(ctx context.Context, params *StartTaskContactI type StartTaskContactInput struct { - // The identifier of the contact flow for initiating the tasks. To see the - // ContactFlowId in the Amazon Connect console user interface, on the navigation - // menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow - // page, under the name of the contact flow, choose Show additional flow - // information. The ContactFlowId is the last part of the ARN, shown here in bold: - // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx - // - // This member is required. - ContactFlowId *string - // The identifier of the Amazon Connect instance. You can find the instanceId in // the ARN of the instance. // @@ -63,6 +53,14 @@ type StartTaskContactInput struct { // of the request. ClientToken *string + // The identifier of the contact flow for initiating the tasks. To see the + // ContactFlowId in the Amazon Connect console user interface, on the navigation + // menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow + // page, under the name of the contact flow, choose Show additional flow + // information. The ContactFlowId is the last part of the ARN, shown here in bold: + // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx + ContactFlowId *string + // A description of the task that is shown to an agent in the Contact Control Panel // (CCP). Description *string @@ -70,6 +68,9 @@ type StartTaskContactInput struct { // The identifier of the previous chat, voice, or task contact. PreviousContactId *string + // The identifier for the quick connect. + QuickConnectId *string + // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). References map[string]types.Reference @@ -78,6 +79,9 @@ type StartTaskContactInput struct { // within up to 6 days in future. ScheduledTime *time.Time + // A unique identifier for the task template. + TaskTemplateId *string + noSmithyDocumentSerde } diff --git a/service/connect/api_op_TagResource.go b/service/connect/api_op_TagResource.go index b2ad009fbc9..43ace5b4178 100644 --- a/service/connect/api_op_TagResource.go +++ b/service/connect/api_op_TagResource.go @@ -12,8 +12,9 @@ import ( // Adds the specified tags to the specified resource. The supported resource types // are users, routing profiles, queues, quick connects, contact flows, agent -// status, hours of operation, and phone number. For sample policies that use tags, -// see Amazon Connect Identity-Based Policy Examples +// status, hours of operation, phone number, security profiles, and task templates. +// For sample policies that use tags, see Amazon Connect Identity-Based Policy +// Examples // (https://docs.aws.amazon.com/connect/latest/adminguide/security_iam_id-based-policy-examples.html) // in the Amazon Connect Administrator Guide. func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { diff --git a/service/connect/api_op_TransferContact.go b/service/connect/api_op_TransferContact.go new file mode 100644 index 00000000000..e50b0745916 --- /dev/null +++ b/service/connect/api_op_TransferContact.go @@ -0,0 +1,200 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package connect + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Transfers contacts from one agent or queue to another agent or queue at any +// point after a contact is created. You can transfer a contact to another queue by +// providing the contact flow which orchestrates the contact to the destination +// queue. This gives you more control over contact handling and helps you adhere to +// the service level agreement (SLA) guaranteed to your customers. Note the +// following requirements: +// +// * Transfer is supported for only TASK contacts. +// +// * Do +// not use both QueueId and UserId in the same call. +// +// * The following contact flow +// types are supported: Inbound contact flow, Transfer to agent flow, and Transfer +// to queue flow. +// +// * The TransferContact API can be called only on active +// contacts. +// +// * A contact cannot be transferred more than 11 times. +func (c *Client) TransferContact(ctx context.Context, params *TransferContactInput, optFns ...func(*Options)) (*TransferContactOutput, error) { + if params == nil { + params = &TransferContactInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "TransferContact", params, optFns, c.addOperationTransferContactMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*TransferContactOutput) + out.ResultMetadata = metadata + return out, nil +} + +type TransferContactInput struct { + + // The identifier of the contact flow. + // + // This member is required. + ContactFlowId *string + + // The identifier of the contact in this instance of Amazon Connect. + // + // This member is required. + ContactId *string + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + // + // This member is required. + InstanceId *string + + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. + ClientToken *string + + // The identifier for the queue. + QueueId *string + + // The identifier for the user. + UserId *string + + noSmithyDocumentSerde +} + +type TransferContactOutput struct { + + // The Amazon Resource Name (ARN) of the contact. + ContactArn *string + + // The identifier of the contact in this instance of Amazon Connect. + ContactId *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationTransferContactMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpTransferContact{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpTransferContact{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addIdempotencyToken_opTransferContactMiddleware(stack, options); err != nil { + return err + } + if err = addOpTransferContactValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTransferContact(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +type idempotencyToken_initializeOpTransferContact struct { + tokenProvider IdempotencyTokenProvider +} + +func (*idempotencyToken_initializeOpTransferContact) ID() string { + return "OperationIdempotencyTokenAutoFill" +} + +func (m *idempotencyToken_initializeOpTransferContact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + if m.tokenProvider == nil { + return next.HandleInitialize(ctx, in) + } + + input, ok := in.Parameters.(*TransferContactInput) + if !ok { + return out, metadata, fmt.Errorf("expected middleware input to be of type *TransferContactInput ") + } + + if input.ClientToken == nil { + t, err := m.tokenProvider.GetIdempotencyToken() + if err != nil { + return out, metadata, err + } + input.ClientToken = &t + } + return next.HandleInitialize(ctx, in) +} +func addIdempotencyToken_opTransferContactMiddleware(stack *middleware.Stack, cfg Options) error { + return stack.Initialize.Add(&idempotencyToken_initializeOpTransferContact{tokenProvider: cfg.IdempotencyTokenProvider}, middleware.Before) +} + +func newServiceMetadataMiddleware_opTransferContact(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "connect", + OperationName: "TransferContact", + } +} diff --git a/service/connect/api_op_UpdateContact.go b/service/connect/api_op_UpdateContact.go index bf5f3cd6052..81765b99221 100644 --- a/service/connect/api_op_UpdateContact.go +++ b/service/connect/api_op_UpdateContact.go @@ -51,7 +51,7 @@ type UpdateContactInput struct { // The name of the contact. Name *string - // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + // Well-formed data on contact, shown to agents on Contact Control Panel (CCP). References map[string]types.Reference noSmithyDocumentSerde diff --git a/service/connect/api_op_UpdateTaskTemplate.go b/service/connect/api_op_UpdateTaskTemplate.go new file mode 100644 index 00000000000..754be200071 --- /dev/null +++ b/service/connect/api_op_UpdateTaskTemplate.go @@ -0,0 +1,193 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package connect + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/connect/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Updates details about a specific task template in the specified Amazon Connect +// instance. This operation does not support partial updates. Instead it does a +// full update of template content. +func (c *Client) UpdateTaskTemplate(ctx context.Context, params *UpdateTaskTemplateInput, optFns ...func(*Options)) (*UpdateTaskTemplateOutput, error) { + if params == nil { + params = &UpdateTaskTemplateInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateTaskTemplate", params, optFns, c.addOperationUpdateTaskTemplateMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateTaskTemplateOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateTaskTemplateInput struct { + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + // + // This member is required. + InstanceId *string + + // A unique identifier for the task template. + // + // This member is required. + TaskTemplateId *string + + // Constraints that are applicable to the fields listed. + Constraints *types.TaskTemplateConstraints + + // The identifier of the flow that runs by default when a task is created by + // referencing this template. + ContactFlowId *string + + // The default values for fields when a task is created by referencing this + // template. + Defaults *types.TaskTemplateDefaults + + // The description of the task template. + Description *string + + // Fields that are part of the template. + Fields []types.TaskTemplateField + + // The name of the task template. + Name *string + + // Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only + // be created from ACTIVE templates. If a template is marked as INACTIVE, then a + // task that refers to this template cannot be created. + Status types.TaskTemplateStatus + + noSmithyDocumentSerde +} + +type UpdateTaskTemplateOutput struct { + + // The Amazon Resource Name (ARN) for the task template resource. + Arn *string + + // Constraints that are applicable to the fields listed. + Constraints *types.TaskTemplateConstraints + + // The identifier of the flow that runs by default when a task is created by + // referencing this template. + ContactFlowId *string + + // The timestamp when the task template was created. + CreatedTime *time.Time + + // The default values for fields when a task is created by referencing this + // template. + Defaults *types.TaskTemplateDefaults + + // The description of the task template. + Description *string + + // Fields that are part of the template. + Fields []types.TaskTemplateField + + // The identifier of the task template resource. + Id *string + + // The identifier of the Amazon Connect instance. You can find the instanceId in + // the ARN of the instance. + InstanceId *string + + // The timestamp when the task template was last modified. + LastModifiedTime *time.Time + + // The name of the task template. + Name *string + + // Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only + // be created from ACTIVE templates. If a template is marked as INACTIVE, then a + // task that refers to this template cannot be created. + Status types.TaskTemplateStatus + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateTaskTemplateMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateTaskTemplate{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateTaskTemplate{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateTaskTemplateValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTaskTemplate(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateTaskTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "connect", + OperationName: "UpdateTaskTemplate", + } +} diff --git a/service/connect/deserializers.go b/service/connect/deserializers.go index eaa64470823..8e793daf28c 100644 --- a/service/connect/deserializers.go +++ b/service/connect/deserializers.go @@ -3140,6 +3140,181 @@ func awsRestjson1_deserializeOpDocumentCreateSecurityProfileOutput(v **CreateSec return nil } +type awsRestjson1_deserializeOpCreateTaskTemplate struct { +} + +func (*awsRestjson1_deserializeOpCreateTaskTemplate) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpCreateTaskTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorCreateTaskTemplate(response, &metadata) + } + output := &CreateTaskTemplateOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentCreateTaskTemplateOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorCreateTaskTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("PropertyValidationException", errorCode): + return awsRestjson1_deserializeErrorPropertyValidationException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentCreateTaskTemplateOutput(v **CreateTaskTemplateOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateTaskTemplateOutput + if *v == nil { + sv = &CreateTaskTemplateOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpCreateUseCase struct { } @@ -4559,6 +4734,101 @@ func awsRestjson1_deserializeOpErrorDeleteSecurityProfile(response *smithyhttp.R } } +type awsRestjson1_deserializeOpDeleteTaskTemplate struct { +} + +func (*awsRestjson1_deserializeOpDeleteTaskTemplate) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpDeleteTaskTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorDeleteTaskTemplate(response, &metadata) + } + output := &DeleteTaskTemplateOutput{} + out.Result = output + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorDeleteTaskTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsRestjson1_deserializeOpDeleteUseCase struct { } @@ -8992,14 +9262,14 @@ func awsRestjson1_deserializeOpDocumentGetCurrentMetricDataOutput(v **GetCurrent return nil } -type awsRestjson1_deserializeOpGetFederationToken struct { +type awsRestjson1_deserializeOpGetCurrentUserData struct { } -func (*awsRestjson1_deserializeOpGetFederationToken) ID() string { +func (*awsRestjson1_deserializeOpGetCurrentUserData) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpGetFederationToken) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpGetCurrentUserData) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9013,9 +9283,9 @@ func (m *awsRestjson1_deserializeOpGetFederationToken) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorGetFederationToken(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorGetCurrentUserData(response, &metadata) } - output := &GetFederationTokenOutput{} + output := &GetCurrentUserDataOutput{} out.Result = output var buff [1024]byte @@ -9036,7 +9306,7 @@ func (m *awsRestjson1_deserializeOpGetFederationToken) HandleDeserialize(ctx con return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentGetCurrentUserDataOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9049,7 +9319,7 @@ func (m *awsRestjson1_deserializeOpGetFederationToken) HandleDeserialize(ctx con return out, metadata, err } -func awsRestjson1_deserializeOpErrorGetFederationToken(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorGetCurrentUserData(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9090,9 +9360,6 @@ func awsRestjson1_deserializeOpErrorGetFederationToken(response *smithyhttp.Resp } switch { - case strings.EqualFold("DuplicateResourceException", errorCode): - return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -9105,8 +9372,8 @@ func awsRestjson1_deserializeOpErrorGetFederationToken(response *smithyhttp.Resp case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("UserNotFoundException", errorCode): - return awsRestjson1_deserializeErrorUserNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9118,7 +9385,7 @@ func awsRestjson1_deserializeOpErrorGetFederationToken(response *smithyhttp.Resp } } -func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederationTokenOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentGetCurrentUserDataOutput(v **GetCurrentUserDataOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9131,17 +9398,26 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio return fmt.Errorf("unexpected JSON type %v", value) } - var sv *GetFederationTokenOutput + var sv *GetCurrentUserDataOutput if *v == nil { - sv = &GetFederationTokenOutput{} + sv = &GetCurrentUserDataOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "Credentials": - if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "UserDataList": + if err := awsRestjson1_deserializeDocumentUserDataList(&sv.UserDataList, value); err != nil { return err } @@ -9154,14 +9430,14 @@ func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederatio return nil } -type awsRestjson1_deserializeOpGetMetricData struct { +type awsRestjson1_deserializeOpGetFederationToken struct { } -func (*awsRestjson1_deserializeOpGetMetricData) ID() string { +func (*awsRestjson1_deserializeOpGetFederationToken) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpGetMetricData) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpGetFederationToken) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9175,9 +9451,9 @@ func (m *awsRestjson1_deserializeOpGetMetricData) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorGetMetricData(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorGetFederationToken(response, &metadata) } - output := &GetMetricDataOutput{} + output := &GetFederationTokenOutput{} out.Result = output var buff [1024]byte @@ -9198,7 +9474,7 @@ func (m *awsRestjson1_deserializeOpGetMetricData) HandleDeserialize(ctx context. return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentGetMetricDataOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9211,7 +9487,7 @@ func (m *awsRestjson1_deserializeOpGetMetricData) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestjson1_deserializeOpErrorGetMetricData(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorGetFederationToken(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9252,6 +9528,9 @@ func awsRestjson1_deserializeOpErrorGetMetricData(response *smithyhttp.Response, } switch { + case strings.EqualFold("DuplicateResourceException", errorCode): + return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -9264,8 +9543,8 @@ func awsRestjson1_deserializeOpErrorGetMetricData(response *smithyhttp.Response, case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + case strings.EqualFold("UserNotFoundException", errorCode): + return awsRestjson1_deserializeErrorUserNotFoundException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9277,7 +9556,7 @@ func awsRestjson1_deserializeOpErrorGetMetricData(response *smithyhttp.Response, } } -func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentGetFederationTokenOutput(v **GetFederationTokenOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9290,29 +9569,20 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutp return fmt.Errorf("unexpected JSON type %v", value) } - var sv *GetMetricDataOutput + var sv *GetFederationTokenOutput if *v == nil { - sv = &GetMetricDataOutput{} + sv = &GetFederationTokenOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "MetricResults": - if err := awsRestjson1_deserializeDocumentHistoricalMetricResults(&sv.MetricResults, value); err != nil { + case "Credentials": + if err := awsRestjson1_deserializeDocumentCredentials(&sv.Credentials, value); err != nil { return err } - case "NextToken": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) - } - sv.NextToken = ptr.String(jtv) - } - default: _, _ = key, value @@ -9322,14 +9592,14 @@ func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutp return nil } -type awsRestjson1_deserializeOpListAgentStatuses struct { +type awsRestjson1_deserializeOpGetMetricData struct { } -func (*awsRestjson1_deserializeOpListAgentStatuses) ID() string { +func (*awsRestjson1_deserializeOpGetMetricData) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListAgentStatuses) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpGetMetricData) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9343,9 +9613,9 @@ func (m *awsRestjson1_deserializeOpListAgentStatuses) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListAgentStatuses(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorGetMetricData(response, &metadata) } - output := &ListAgentStatusesOutput{} + output := &GetMetricDataOutput{} out.Result = output var buff [1024]byte @@ -9366,7 +9636,7 @@ func (m *awsRestjson1_deserializeOpListAgentStatuses) HandleDeserialize(ctx cont return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentGetMetricDataOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9379,7 +9649,7 @@ func (m *awsRestjson1_deserializeOpListAgentStatuses) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestjson1_deserializeOpErrorListAgentStatuses(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorGetMetricData(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9445,7 +9715,7 @@ func awsRestjson1_deserializeOpErrorListAgentStatuses(response *smithyhttp.Respo } } -func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStatusesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentGetMetricDataOutput(v **GetMetricDataOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9458,17 +9728,17 @@ func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStat return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListAgentStatusesOutput + var sv *GetMetricDataOutput if *v == nil { - sv = &ListAgentStatusesOutput{} + sv = &GetMetricDataOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "AgentStatusSummaryList": - if err := awsRestjson1_deserializeDocumentAgentStatusSummaryList(&sv.AgentStatusSummaryList, value); err != nil { + case "MetricResults": + if err := awsRestjson1_deserializeDocumentHistoricalMetricResults(&sv.MetricResults, value); err != nil { return err } @@ -9490,14 +9760,14 @@ func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStat return nil } -type awsRestjson1_deserializeOpListApprovedOrigins struct { +type awsRestjson1_deserializeOpGetTaskTemplate struct { } -func (*awsRestjson1_deserializeOpListApprovedOrigins) ID() string { +func (*awsRestjson1_deserializeOpGetTaskTemplate) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListApprovedOrigins) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpGetTaskTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9511,9 +9781,9 @@ func (m *awsRestjson1_deserializeOpListApprovedOrigins) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListApprovedOrigins(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorGetTaskTemplate(response, &metadata) } - output := &ListApprovedOriginsOutput{} + output := &GetTaskTemplateOutput{} out.Result = output var buff [1024]byte @@ -9534,7 +9804,7 @@ func (m *awsRestjson1_deserializeOpListApprovedOrigins) HandleDeserialize(ctx co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9547,7 +9817,7 @@ func (m *awsRestjson1_deserializeOpListApprovedOrigins) HandleDeserialize(ctx co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListApprovedOrigins(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorGetTaskTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9613,7 +9883,7 @@ func awsRestjson1_deserializeOpErrorListApprovedOrigins(response *smithyhttp.Res } } -func awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(v **ListApprovedOriginsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentGetTaskTemplateOutput(v **GetTaskTemplateOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9626,26 +9896,127 @@ func awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(v **ListApprove return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListApprovedOriginsOutput + var sv *GetTaskTemplateOutput if *v == nil { - sv = &ListApprovedOriginsOutput{} + sv = &GetTaskTemplateOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "NextToken": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + return fmt.Errorf("expected TaskTemplateArn to be of type string, got %T instead", value) } - sv.NextToken = ptr.String(jtv) + sv.Arn = ptr.String(jtv) } - case "Origins": - if err := awsRestjson1_deserializeDocumentOriginsList(&sv.Origins, value); err != nil { + case "Constraints": + if err := awsRestjson1_deserializeDocumentTaskTemplateConstraints(&sv.Constraints, value); err != nil { + return err + } + + case "ContactFlowId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + } + sv.ContactFlowId = ptr.String(jtv) + } + + case "CreatedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Defaults": + if err := awsRestjson1_deserializeDocumentTaskTemplateDefaults(&sv.Defaults, value); err != nil { + return err + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "Fields": + if err := awsRestjson1_deserializeDocumentTaskTemplateFields(&sv.Fields, value); err != nil { + return err + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "InstanceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) + } + sv.InstanceId = ptr.String(jtv) + } + + case "LastModifiedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateStatus to be of type string, got %T instead", value) + } + sv.Status = types.TaskTemplateStatus(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } @@ -9658,14 +10029,14 @@ func awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(v **ListApprove return nil } -type awsRestjson1_deserializeOpListBots struct { +type awsRestjson1_deserializeOpListAgentStatuses struct { } -func (*awsRestjson1_deserializeOpListBots) ID() string { +func (*awsRestjson1_deserializeOpListAgentStatuses) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListBots) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListAgentStatuses) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9679,9 +10050,9 @@ func (m *awsRestjson1_deserializeOpListBots) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListBots(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListAgentStatuses(response, &metadata) } - output := &ListBotsOutput{} + output := &ListAgentStatusesOutput{} out.Result = output var buff [1024]byte @@ -9702,7 +10073,7 @@ func (m *awsRestjson1_deserializeOpListBots) HandleDeserialize(ctx context.Conte return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListBotsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9715,7 +10086,7 @@ func (m *awsRestjson1_deserializeOpListBots) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsRestjson1_deserializeOpErrorListBots(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListAgentStatuses(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9759,6 +10130,9 @@ func awsRestjson1_deserializeOpErrorListBots(response *smithyhttp.Response, meta case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -9778,7 +10152,7 @@ func awsRestjson1_deserializeOpErrorListBots(response *smithyhttp.Response, meta } } -func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListAgentStatusesOutput(v **ListAgentStatusesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9791,17 +10165,17 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListBotsOutput + var sv *ListAgentStatusesOutput if *v == nil { - sv = &ListBotsOutput{} + sv = &ListAgentStatusesOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "LexBots": - if err := awsRestjson1_deserializeDocumentLexBotConfigList(&sv.LexBots, value); err != nil { + case "AgentStatusSummaryList": + if err := awsRestjson1_deserializeDocumentAgentStatusSummaryList(&sv.AgentStatusSummaryList, value); err != nil { return err } @@ -9823,14 +10197,14 @@ func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value return nil } -type awsRestjson1_deserializeOpListContactFlowModules struct { +type awsRestjson1_deserializeOpListApprovedOrigins struct { } -func (*awsRestjson1_deserializeOpListContactFlowModules) ID() string { +func (*awsRestjson1_deserializeOpListApprovedOrigins) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListContactFlowModules) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListApprovedOrigins) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9844,9 +10218,9 @@ func (m *awsRestjson1_deserializeOpListContactFlowModules) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListContactFlowModules(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListApprovedOrigins(response, &metadata) } - output := &ListContactFlowModulesOutput{} + output := &ListApprovedOriginsOutput{} out.Result = output var buff [1024]byte @@ -9867,7 +10241,7 @@ func (m *awsRestjson1_deserializeOpListContactFlowModules) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9880,7 +10254,7 @@ func (m *awsRestjson1_deserializeOpListContactFlowModules) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorListContactFlowModules(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListApprovedOrigins(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9921,9 +10295,6 @@ func awsRestjson1_deserializeOpErrorListContactFlowModules(response *smithyhttp. } switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -9949,7 +10320,7 @@ func awsRestjson1_deserializeOpErrorListContactFlowModules(response *smithyhttp. } } -func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListContactFlowModulesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListApprovedOriginsOutput(v **ListApprovedOriginsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9962,20 +10333,15 @@ func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListCont return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListContactFlowModulesOutput + var sv *ListApprovedOriginsOutput if *v == nil { - sv = &ListContactFlowModulesOutput{} + sv = &ListApprovedOriginsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "ContactFlowModulesSummaryList": - if err := awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(&sv.ContactFlowModulesSummaryList, value); err != nil { - return err - } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -9985,6 +10351,11 @@ func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListCont sv.NextToken = ptr.String(jtv) } + case "Origins": + if err := awsRestjson1_deserializeDocumentOriginsList(&sv.Origins, value); err != nil { + return err + } + default: _, _ = key, value @@ -9994,14 +10365,14 @@ func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListCont return nil } -type awsRestjson1_deserializeOpListContactFlows struct { +type awsRestjson1_deserializeOpListBots struct { } -func (*awsRestjson1_deserializeOpListContactFlows) ID() string { +func (*awsRestjson1_deserializeOpListBots) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListContactFlows) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListBots) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10015,9 +10386,9 @@ func (m *awsRestjson1_deserializeOpListContactFlows) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListContactFlows(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListBots(response, &metadata) } - output := &ListContactFlowsOutput{} + output := &ListBotsOutput{} out.Result = output var buff [1024]byte @@ -10038,7 +10409,7 @@ func (m *awsRestjson1_deserializeOpListContactFlows) HandleDeserialize(ctx conte return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListContactFlowsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListBotsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10051,7 +10422,7 @@ func (m *awsRestjson1_deserializeOpListContactFlows) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestjson1_deserializeOpErrorListContactFlows(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListBots(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10095,9 +10466,6 @@ func awsRestjson1_deserializeOpErrorListContactFlows(response *smithyhttp.Respon case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -10117,7 +10485,7 @@ func awsRestjson1_deserializeOpErrorListContactFlows(response *smithyhttp.Respon } } -func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlowsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListBotsOutput(v **ListBotsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10130,17 +10498,17 @@ func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlo return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListContactFlowsOutput + var sv *ListBotsOutput if *v == nil { - sv = &ListContactFlowsOutput{} + sv = &ListBotsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "ContactFlowSummaryList": - if err := awsRestjson1_deserializeDocumentContactFlowSummaryList(&sv.ContactFlowSummaryList, value); err != nil { + case "LexBots": + if err := awsRestjson1_deserializeDocumentLexBotConfigList(&sv.LexBots, value); err != nil { return err } @@ -10162,14 +10530,14 @@ func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlo return nil } -type awsRestjson1_deserializeOpListContactReferences struct { +type awsRestjson1_deserializeOpListContactFlowModules struct { } -func (*awsRestjson1_deserializeOpListContactReferences) ID() string { +func (*awsRestjson1_deserializeOpListContactFlowModules) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListContactReferences) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListContactFlowModules) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10183,9 +10551,9 @@ func (m *awsRestjson1_deserializeOpListContactReferences) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListContactReferences(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListContactFlowModules(response, &metadata) } - output := &ListContactReferencesOutput{} + output := &ListContactFlowModulesOutput{} out.Result = output var buff [1024]byte @@ -10206,7 +10574,7 @@ func (m *awsRestjson1_deserializeOpListContactReferences) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListContactReferencesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10219,7 +10587,7 @@ func (m *awsRestjson1_deserializeOpListContactReferences) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorListContactReferences(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListContactFlowModules(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10260,6 +10628,9 @@ func awsRestjson1_deserializeOpErrorListContactReferences(response *smithyhttp.R } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -10285,7 +10656,7 @@ func awsRestjson1_deserializeOpErrorListContactReferences(response *smithyhttp.R } } -func awsRestjson1_deserializeOpDocumentListContactReferencesOutput(v **ListContactReferencesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListContactFlowModulesOutput(v **ListContactFlowModulesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10298,15 +10669,20 @@ func awsRestjson1_deserializeOpDocumentListContactReferencesOutput(v **ListConta return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListContactReferencesOutput + var sv *ListContactFlowModulesOutput if *v == nil { - sv = &ListContactReferencesOutput{} + sv = &ListContactFlowModulesOutput{} } else { sv = *v } for key, value := range shape { switch key { + case "ContactFlowModulesSummaryList": + if err := awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(&sv.ContactFlowModulesSummaryList, value); err != nil { + return err + } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10316,11 +10692,6 @@ func awsRestjson1_deserializeOpDocumentListContactReferencesOutput(v **ListConta sv.NextToken = ptr.String(jtv) } - case "ReferenceSummaryList": - if err := awsRestjson1_deserializeDocumentReferenceSummaryList(&sv.ReferenceSummaryList, value); err != nil { - return err - } - default: _, _ = key, value @@ -10330,14 +10701,14 @@ func awsRestjson1_deserializeOpDocumentListContactReferencesOutput(v **ListConta return nil } -type awsRestjson1_deserializeOpListDefaultVocabularies struct { +type awsRestjson1_deserializeOpListContactFlows struct { } -func (*awsRestjson1_deserializeOpListDefaultVocabularies) ID() string { +func (*awsRestjson1_deserializeOpListContactFlows) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListDefaultVocabularies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListContactFlows) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10351,9 +10722,9 @@ func (m *awsRestjson1_deserializeOpListDefaultVocabularies) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListDefaultVocabularies(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListContactFlows(response, &metadata) } - output := &ListDefaultVocabulariesOutput{} + output := &ListContactFlowsOutput{} out.Result = output var buff [1024]byte @@ -10374,7 +10745,7 @@ func (m *awsRestjson1_deserializeOpListDefaultVocabularies) HandleDeserialize(ct return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListContactFlowsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10387,7 +10758,7 @@ func (m *awsRestjson1_deserializeOpListDefaultVocabularies) HandleDeserialize(ct return out, metadata, err } -func awsRestjson1_deserializeOpErrorListDefaultVocabularies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListContactFlows(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10428,15 +10799,18 @@ func awsRestjson1_deserializeOpErrorListDefaultVocabularies(response *smithyhttp } switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -10450,7 +10824,7 @@ func awsRestjson1_deserializeOpErrorListDefaultVocabularies(response *smithyhttp } } -func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDefaultVocabulariesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListContactFlowsOutput(v **ListContactFlowsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10463,17 +10837,17 @@ func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDef return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListDefaultVocabulariesOutput + var sv *ListContactFlowsOutput if *v == nil { - sv = &ListDefaultVocabulariesOutput{} + sv = &ListContactFlowsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "DefaultVocabularyList": - if err := awsRestjson1_deserializeDocumentDefaultVocabularyList(&sv.DefaultVocabularyList, value); err != nil { + case "ContactFlowSummaryList": + if err := awsRestjson1_deserializeDocumentContactFlowSummaryList(&sv.ContactFlowSummaryList, value); err != nil { return err } @@ -10481,7 +10855,7 @@ func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDef if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected VocabularyNextToken to be of type string, got %T instead", value) + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) } sv.NextToken = ptr.String(jtv) } @@ -10495,14 +10869,14 @@ func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDef return nil } -type awsRestjson1_deserializeOpListHoursOfOperations struct { +type awsRestjson1_deserializeOpListContactReferences struct { } -func (*awsRestjson1_deserializeOpListHoursOfOperations) ID() string { +func (*awsRestjson1_deserializeOpListContactReferences) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListHoursOfOperations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListContactReferences) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10516,9 +10890,9 @@ func (m *awsRestjson1_deserializeOpListHoursOfOperations) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListHoursOfOperations(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListContactReferences(response, &metadata) } - output := &ListHoursOfOperationsOutput{} + output := &ListContactReferencesOutput{} out.Result = output var buff [1024]byte @@ -10539,7 +10913,7 @@ func (m *awsRestjson1_deserializeOpListHoursOfOperations) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListContactReferencesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10552,7 +10926,7 @@ func (m *awsRestjson1_deserializeOpListHoursOfOperations) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorListHoursOfOperations(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListContactReferences(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10618,7 +10992,7 @@ func awsRestjson1_deserializeOpErrorListHoursOfOperations(response *smithyhttp.R } } -func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHoursOfOperationsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListContactReferencesOutput(v **ListContactReferencesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10631,20 +11005,15 @@ func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHours return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListHoursOfOperationsOutput + var sv *ListContactReferencesOutput if *v == nil { - sv = &ListHoursOfOperationsOutput{} + sv = &ListContactReferencesOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "HoursOfOperationSummaryList": - if err := awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(&sv.HoursOfOperationSummaryList, value); err != nil { - return err - } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -10654,6 +11023,11 @@ func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHours sv.NextToken = ptr.String(jtv) } + case "ReferenceSummaryList": + if err := awsRestjson1_deserializeDocumentReferenceSummaryList(&sv.ReferenceSummaryList, value); err != nil { + return err + } + default: _, _ = key, value @@ -10663,14 +11037,14 @@ func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHours return nil } -type awsRestjson1_deserializeOpListInstanceAttributes struct { +type awsRestjson1_deserializeOpListDefaultVocabularies struct { } -func (*awsRestjson1_deserializeOpListInstanceAttributes) ID() string { +func (*awsRestjson1_deserializeOpListDefaultVocabularies) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListInstanceAttributes) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListDefaultVocabularies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10684,9 +11058,9 @@ func (m *awsRestjson1_deserializeOpListInstanceAttributes) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListInstanceAttributes(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListDefaultVocabularies(response, &metadata) } - output := &ListInstanceAttributesOutput{} + output := &ListDefaultVocabulariesOutput{} out.Result = output var buff [1024]byte @@ -10707,7 +11081,7 @@ func (m *awsRestjson1_deserializeOpListInstanceAttributes) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10720,7 +11094,7 @@ func (m *awsRestjson1_deserializeOpListInstanceAttributes) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorListInstanceAttributes(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListDefaultVocabularies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10761,18 +11135,15 @@ func awsRestjson1_deserializeOpErrorListInstanceAttributes(response *smithyhttp. } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -10786,7 +11157,7 @@ func awsRestjson1_deserializeOpErrorListInstanceAttributes(response *smithyhttp. } } -func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInstanceAttributesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListDefaultVocabulariesOutput(v **ListDefaultVocabulariesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10799,17 +11170,17 @@ func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInst return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListInstanceAttributesOutput + var sv *ListDefaultVocabulariesOutput if *v == nil { - sv = &ListInstanceAttributesOutput{} + sv = &ListDefaultVocabulariesOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "Attributes": - if err := awsRestjson1_deserializeDocumentAttributesList(&sv.Attributes, value); err != nil { + case "DefaultVocabularyList": + if err := awsRestjson1_deserializeDocumentDefaultVocabularyList(&sv.DefaultVocabularyList, value); err != nil { return err } @@ -10817,7 +11188,7 @@ func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInst if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + return fmt.Errorf("expected VocabularyNextToken to be of type string, got %T instead", value) } sv.NextToken = ptr.String(jtv) } @@ -10831,14 +11202,14 @@ func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInst return nil } -type awsRestjson1_deserializeOpListInstances struct { +type awsRestjson1_deserializeOpListHoursOfOperations struct { } -func (*awsRestjson1_deserializeOpListInstances) ID() string { +func (*awsRestjson1_deserializeOpListHoursOfOperations) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListHoursOfOperations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10852,9 +11223,9 @@ func (m *awsRestjson1_deserializeOpListInstances) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListInstances(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListHoursOfOperations(response, &metadata) } - output := &ListInstancesOutput{} + output := &ListHoursOfOperationsOutput{} out.Result = output var buff [1024]byte @@ -10875,7 +11246,7 @@ func (m *awsRestjson1_deserializeOpListInstances) HandleDeserialize(ctx context. return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListInstancesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10888,7 +11259,7 @@ func (m *awsRestjson1_deserializeOpListInstances) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestjson1_deserializeOpErrorListInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListHoursOfOperations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10932,9 +11303,18 @@ func awsRestjson1_deserializeOpErrorListInstances(response *smithyhttp.Response, case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -10945,7 +11325,7 @@ func awsRestjson1_deserializeOpErrorListInstances(response *smithyhttp.Response, } } -func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListHoursOfOperationsOutput(v **ListHoursOfOperationsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10958,17 +11338,17 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListInstancesOutput + var sv *ListHoursOfOperationsOutput if *v == nil { - sv = &ListInstancesOutput{} + sv = &ListHoursOfOperationsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "InstanceSummaryList": - if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.InstanceSummaryList, value); err != nil { + case "HoursOfOperationSummaryList": + if err := awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(&sv.HoursOfOperationSummaryList, value); err != nil { return err } @@ -10990,14 +11370,14 @@ func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutp return nil } -type awsRestjson1_deserializeOpListInstanceStorageConfigs struct { +type awsRestjson1_deserializeOpListInstanceAttributes struct { } -func (*awsRestjson1_deserializeOpListInstanceStorageConfigs) ID() string { +func (*awsRestjson1_deserializeOpListInstanceAttributes) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListInstanceStorageConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListInstanceAttributes) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11011,9 +11391,9 @@ func (m *awsRestjson1_deserializeOpListInstanceStorageConfigs) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListInstanceStorageConfigs(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListInstanceAttributes(response, &metadata) } - output := &ListInstanceStorageConfigsOutput{} + output := &ListInstanceAttributesOutput{} out.Result = output var buff [1024]byte @@ -11034,7 +11414,7 @@ func (m *awsRestjson1_deserializeOpListInstanceStorageConfigs) HandleDeserialize return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11047,7 +11427,7 @@ func (m *awsRestjson1_deserializeOpListInstanceStorageConfigs) HandleDeserialize return out, metadata, err } -func awsRestjson1_deserializeOpErrorListInstanceStorageConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListInstanceAttributes(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11113,7 +11493,7 @@ func awsRestjson1_deserializeOpErrorListInstanceStorageConfigs(response *smithyh } } -func awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(v **ListInstanceStorageConfigsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListInstanceAttributesOutput(v **ListInstanceAttributesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11126,15 +11506,20 @@ func awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(v **List return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListInstanceStorageConfigsOutput + var sv *ListInstanceAttributesOutput if *v == nil { - sv = &ListInstanceStorageConfigsOutput{} + sv = &ListInstanceAttributesOutput{} } else { sv = *v } for key, value := range shape { switch key { + case "Attributes": + if err := awsRestjson1_deserializeDocumentAttributesList(&sv.Attributes, value); err != nil { + return err + } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11144,11 +11529,6 @@ func awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(v **List sv.NextToken = ptr.String(jtv) } - case "StorageConfigs": - if err := awsRestjson1_deserializeDocumentInstanceStorageConfigs(&sv.StorageConfigs, value); err != nil { - return err - } - default: _, _ = key, value @@ -11158,14 +11538,14 @@ func awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(v **List return nil } -type awsRestjson1_deserializeOpListIntegrationAssociations struct { +type awsRestjson1_deserializeOpListInstances struct { } -func (*awsRestjson1_deserializeOpListIntegrationAssociations) ID() string { +func (*awsRestjson1_deserializeOpListInstances) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListIntegrationAssociations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11179,9 +11559,9 @@ func (m *awsRestjson1_deserializeOpListIntegrationAssociations) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListIntegrationAssociations(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListInstances(response, &metadata) } - output := &ListIntegrationAssociationsOutput{} + output := &ListInstancesOutput{} out.Result = output var buff [1024]byte @@ -11202,7 +11582,7 @@ func (m *awsRestjson1_deserializeOpListIntegrationAssociations) HandleDeserializ return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListInstancesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11215,7 +11595,7 @@ func (m *awsRestjson1_deserializeOpListIntegrationAssociations) HandleDeserializ return out, metadata, err } -func awsRestjson1_deserializeOpErrorListIntegrationAssociations(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11262,12 +11642,6 @@ func awsRestjson1_deserializeOpErrorListIntegrationAssociations(response *smithy case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -11278,7 +11652,7 @@ func awsRestjson1_deserializeOpErrorListIntegrationAssociations(response *smithy } } -func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **ListIntegrationAssociationsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListInstancesOutput(v **ListInstancesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11291,17 +11665,17 @@ func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **Lis return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListIntegrationAssociationsOutput + var sv *ListInstancesOutput if *v == nil { - sv = &ListIntegrationAssociationsOutput{} + sv = &ListInstancesOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "IntegrationAssociationSummaryList": - if err := awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(&sv.IntegrationAssociationSummaryList, value); err != nil { + case "InstanceSummaryList": + if err := awsRestjson1_deserializeDocumentInstanceSummaryList(&sv.InstanceSummaryList, value); err != nil { return err } @@ -11323,14 +11697,14 @@ func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **Lis return nil } -type awsRestjson1_deserializeOpListLambdaFunctions struct { +type awsRestjson1_deserializeOpListInstanceStorageConfigs struct { } -func (*awsRestjson1_deserializeOpListLambdaFunctions) ID() string { +func (*awsRestjson1_deserializeOpListInstanceStorageConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListLambdaFunctions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListInstanceStorageConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11344,9 +11718,9 @@ func (m *awsRestjson1_deserializeOpListLambdaFunctions) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListLambdaFunctions(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListInstanceStorageConfigs(response, &metadata) } - output := &ListLambdaFunctionsOutput{} + output := &ListInstanceStorageConfigsOutput{} out.Result = output var buff [1024]byte @@ -11367,7 +11741,7 @@ func (m *awsRestjson1_deserializeOpListLambdaFunctions) HandleDeserialize(ctx co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11380,7 +11754,7 @@ func (m *awsRestjson1_deserializeOpListLambdaFunctions) HandleDeserialize(ctx co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListLambdaFunctions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListInstanceStorageConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11446,7 +11820,7 @@ func awsRestjson1_deserializeOpErrorListLambdaFunctions(response *smithyhttp.Res } } -func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaFunctionsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListInstanceStorageConfigsOutput(v **ListInstanceStorageConfigsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11459,20 +11833,15 @@ func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaF return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListLambdaFunctionsOutput + var sv *ListInstanceStorageConfigsOutput if *v == nil { - sv = &ListLambdaFunctionsOutput{} + sv = &ListInstanceStorageConfigsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "LambdaFunctions": - if err := awsRestjson1_deserializeDocumentFunctionArnsList(&sv.LambdaFunctions, value); err != nil { - return err - } - case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11482,6 +11851,11 @@ func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaF sv.NextToken = ptr.String(jtv) } + case "StorageConfigs": + if err := awsRestjson1_deserializeDocumentInstanceStorageConfigs(&sv.StorageConfigs, value); err != nil { + return err + } + default: _, _ = key, value @@ -11491,14 +11865,14 @@ func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaF return nil } -type awsRestjson1_deserializeOpListLexBots struct { +type awsRestjson1_deserializeOpListIntegrationAssociations struct { } -func (*awsRestjson1_deserializeOpListLexBots) ID() string { +func (*awsRestjson1_deserializeOpListIntegrationAssociations) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListLexBots) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListIntegrationAssociations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11512,9 +11886,9 @@ func (m *awsRestjson1_deserializeOpListLexBots) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListLexBots(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListIntegrationAssociations(response, &metadata) } - output := &ListLexBotsOutput{} + output := &ListIntegrationAssociationsOutput{} out.Result = output var buff [1024]byte @@ -11535,7 +11909,7 @@ func (m *awsRestjson1_deserializeOpListLexBots) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListLexBotsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11548,7 +11922,7 @@ func (m *awsRestjson1_deserializeOpListLexBots) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListLexBots(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListIntegrationAssociations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11592,9 +11966,6 @@ func awsRestjson1_deserializeOpErrorListLexBots(response *smithyhttp.Response, m case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -11614,7 +11985,7 @@ func awsRestjson1_deserializeOpErrorListLexBots(response *smithyhttp.Response, m } } -func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListIntegrationAssociationsOutput(v **ListIntegrationAssociationsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11627,17 +11998,17 @@ func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListLexBotsOutput + var sv *ListIntegrationAssociationsOutput if *v == nil { - sv = &ListLexBotsOutput{} + sv = &ListIntegrationAssociationsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "LexBots": - if err := awsRestjson1_deserializeDocumentLexBotsList(&sv.LexBots, value); err != nil { + case "IntegrationAssociationSummaryList": + if err := awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(&sv.IntegrationAssociationSummaryList, value); err != nil { return err } @@ -11659,14 +12030,14 @@ func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, return nil } -type awsRestjson1_deserializeOpListPhoneNumbers struct { +type awsRestjson1_deserializeOpListLambdaFunctions struct { } -func (*awsRestjson1_deserializeOpListPhoneNumbers) ID() string { +func (*awsRestjson1_deserializeOpListLambdaFunctions) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListPhoneNumbers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListLambdaFunctions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11680,9 +12051,9 @@ func (m *awsRestjson1_deserializeOpListPhoneNumbers) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListPhoneNumbers(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListLambdaFunctions(response, &metadata) } - output := &ListPhoneNumbersOutput{} + output := &ListLambdaFunctionsOutput{} out.Result = output var buff [1024]byte @@ -11703,7 +12074,7 @@ func (m *awsRestjson1_deserializeOpListPhoneNumbers) HandleDeserialize(ctx conte return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11716,7 +12087,7 @@ func (m *awsRestjson1_deserializeOpListPhoneNumbers) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestjson1_deserializeOpErrorListPhoneNumbers(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListLambdaFunctions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11782,7 +12153,7 @@ func awsRestjson1_deserializeOpErrorListPhoneNumbers(response *smithyhttp.Respon } } -func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbersOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListLambdaFunctionsOutput(v **ListLambdaFunctionsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11795,15 +12166,20 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListPhoneNumbersOutput + var sv *ListLambdaFunctionsOutput if *v == nil { - sv = &ListPhoneNumbersOutput{} + sv = &ListLambdaFunctionsOutput{} } else { sv = *v } for key, value := range shape { switch key { + case "LambdaFunctions": + if err := awsRestjson1_deserializeDocumentFunctionArnsList(&sv.LambdaFunctions, value); err != nil { + return err + } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -11813,11 +12189,6 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe sv.NextToken = ptr.String(jtv) } - case "PhoneNumberSummaryList": - if err := awsRestjson1_deserializeDocumentPhoneNumberSummaryList(&sv.PhoneNumberSummaryList, value); err != nil { - return err - } - default: _, _ = key, value @@ -11827,14 +12198,14 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbe return nil } -type awsRestjson1_deserializeOpListPhoneNumbersV2 struct { +type awsRestjson1_deserializeOpListLexBots struct { } -func (*awsRestjson1_deserializeOpListPhoneNumbersV2) ID() string { +func (*awsRestjson1_deserializeOpListLexBots) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListPhoneNumbersV2) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListLexBots) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11848,9 +12219,9 @@ func (m *awsRestjson1_deserializeOpListPhoneNumbersV2) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListPhoneNumbersV2(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListLexBots(response, &metadata) } - output := &ListPhoneNumbersV2Output{} + output := &ListLexBotsOutput{} out.Result = output var buff [1024]byte @@ -11871,7 +12242,7 @@ func (m *awsRestjson1_deserializeOpListPhoneNumbersV2) HandleDeserialize(ctx con return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(&output, shape) + err = awsRestjson1_deserializeOpDocumentListLexBotsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11884,7 +12255,7 @@ func (m *awsRestjson1_deserializeOpListPhoneNumbersV2) HandleDeserialize(ctx con return out, metadata, err } -func awsRestjson1_deserializeOpErrorListPhoneNumbersV2(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListLexBots(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11925,15 +12296,15 @@ func awsRestjson1_deserializeOpErrorListPhoneNumbersV2(response *smithyhttp.Resp } switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -11950,7 +12321,7 @@ func awsRestjson1_deserializeOpErrorListPhoneNumbersV2(response *smithyhttp.Resp } } -func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNumbersV2Output, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListLexBotsOutput(v **ListLexBotsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11963,17 +12334,17 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNum return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListPhoneNumbersV2Output + var sv *ListLexBotsOutput if *v == nil { - sv = &ListPhoneNumbersV2Output{} + sv = &ListLexBotsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "ListPhoneNumbersSummaryList": - if err := awsRestjson1_deserializeDocumentListPhoneNumbersSummaryList(&sv.ListPhoneNumbersSummaryList, value); err != nil { + case "LexBots": + if err := awsRestjson1_deserializeDocumentLexBotsList(&sv.LexBots, value); err != nil { return err } @@ -11981,7 +12352,7 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNum if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected LargeNextToken to be of type string, got %T instead", value) + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) } sv.NextToken = ptr.String(jtv) } @@ -11995,14 +12366,14 @@ func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNum return nil } -type awsRestjson1_deserializeOpListPrompts struct { +type awsRestjson1_deserializeOpListPhoneNumbers struct { } -func (*awsRestjson1_deserializeOpListPrompts) ID() string { +func (*awsRestjson1_deserializeOpListPhoneNumbers) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListPrompts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListPhoneNumbers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12016,9 +12387,9 @@ func (m *awsRestjson1_deserializeOpListPrompts) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListPrompts(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListPhoneNumbers(response, &metadata) } - output := &ListPromptsOutput{} + output := &ListPhoneNumbersOutput{} out.Result = output var buff [1024]byte @@ -12039,7 +12410,7 @@ func (m *awsRestjson1_deserializeOpListPrompts) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListPromptsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12052,7 +12423,7 @@ func (m *awsRestjson1_deserializeOpListPrompts) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListPrompts(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListPhoneNumbers(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12118,7 +12489,7 @@ func awsRestjson1_deserializeOpErrorListPrompts(response *smithyhttp.Response, m } } -func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListPhoneNumbersOutput(v **ListPhoneNumbersOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -12131,9 +12502,9 @@ func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListPromptsOutput + var sv *ListPhoneNumbersOutput if *v == nil { - sv = &ListPromptsOutput{} + sv = &ListPhoneNumbersOutput{} } else { sv = *v } @@ -12149,8 +12520,8 @@ func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, sv.NextToken = ptr.String(jtv) } - case "PromptSummaryList": - if err := awsRestjson1_deserializeDocumentPromptSummaryList(&sv.PromptSummaryList, value); err != nil { + case "PhoneNumberSummaryList": + if err := awsRestjson1_deserializeDocumentPhoneNumberSummaryList(&sv.PhoneNumberSummaryList, value); err != nil { return err } @@ -12163,14 +12534,14 @@ func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, return nil } -type awsRestjson1_deserializeOpListQueueQuickConnects struct { +type awsRestjson1_deserializeOpListPhoneNumbersV2 struct { } -func (*awsRestjson1_deserializeOpListQueueQuickConnects) ID() string { +func (*awsRestjson1_deserializeOpListPhoneNumbersV2) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListQueueQuickConnects) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListPhoneNumbersV2) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12184,9 +12555,9 @@ func (m *awsRestjson1_deserializeOpListQueueQuickConnects) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListQueueQuickConnects(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListPhoneNumbersV2(response, &metadata) } - output := &ListQueueQuickConnectsOutput{} + output := &ListPhoneNumbersV2Output{} out.Result = output var buff [1024]byte @@ -12207,7 +12578,7 @@ func (m *awsRestjson1_deserializeOpListQueueQuickConnects) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12220,7 +12591,7 @@ func (m *awsRestjson1_deserializeOpListQueueQuickConnects) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorListQueueQuickConnects(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListPhoneNumbersV2(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12261,15 +12632,15 @@ func awsRestjson1_deserializeOpErrorListQueueQuickConnects(response *smithyhttp. } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -12286,7 +12657,7 @@ func awsRestjson1_deserializeOpErrorListQueueQuickConnects(response *smithyhttp. } } -func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueueQuickConnectsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListPhoneNumbersV2Output(v **ListPhoneNumbersV2Output, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -12299,29 +12670,29 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListQueueQuickConnectsOutput + var sv *ListPhoneNumbersV2Output if *v == nil { - sv = &ListQueueQuickConnectsOutput{} + sv = &ListPhoneNumbersV2Output{} } else { sv = *v } for key, value := range shape { switch key { + case "ListPhoneNumbersSummaryList": + if err := awsRestjson1_deserializeDocumentListPhoneNumbersSummaryList(&sv.ListPhoneNumbersSummaryList, value); err != nil { + return err + } + case "NextToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + return fmt.Errorf("expected LargeNextToken to be of type string, got %T instead", value) } sv.NextToken = ptr.String(jtv) } - case "QuickConnectSummaryList": - if err := awsRestjson1_deserializeDocumentQuickConnectSummaryList(&sv.QuickConnectSummaryList, value); err != nil { - return err - } - default: _, _ = key, value @@ -12331,14 +12702,14 @@ func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueu return nil } -type awsRestjson1_deserializeOpListQueues struct { +type awsRestjson1_deserializeOpListPrompts struct { } -func (*awsRestjson1_deserializeOpListQueues) ID() string { +func (*awsRestjson1_deserializeOpListPrompts) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListQueues) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListPrompts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12352,9 +12723,9 @@ func (m *awsRestjson1_deserializeOpListQueues) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListQueues(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListPrompts(response, &metadata) } - output := &ListQueuesOutput{} + output := &ListPromptsOutput{} out.Result = output var buff [1024]byte @@ -12375,7 +12746,7 @@ func (m *awsRestjson1_deserializeOpListQueues) HandleDeserialize(ctx context.Con return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListQueuesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListPromptsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12388,7 +12759,7 @@ func (m *awsRestjson1_deserializeOpListQueues) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsRestjson1_deserializeOpErrorListQueues(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListPrompts(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12454,7 +12825,7 @@ func awsRestjson1_deserializeOpErrorListQueues(response *smithyhttp.Response, me } } -func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListPromptsOutput(v **ListPromptsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -12467,9 +12838,9 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListQueuesOutput + var sv *ListPromptsOutput if *v == nil { - sv = &ListQueuesOutput{} + sv = &ListPromptsOutput{} } else { sv = *v } @@ -12485,8 +12856,8 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va sv.NextToken = ptr.String(jtv) } - case "QueueSummaryList": - if err := awsRestjson1_deserializeDocumentQueueSummaryList(&sv.QueueSummaryList, value); err != nil { + case "PromptSummaryList": + if err := awsRestjson1_deserializeDocumentPromptSummaryList(&sv.PromptSummaryList, value); err != nil { return err } @@ -12499,14 +12870,14 @@ func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, va return nil } -type awsRestjson1_deserializeOpListQuickConnects struct { +type awsRestjson1_deserializeOpListQueueQuickConnects struct { } -func (*awsRestjson1_deserializeOpListQuickConnects) ID() string { +func (*awsRestjson1_deserializeOpListQueueQuickConnects) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListQuickConnects) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListQueueQuickConnects) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12520,9 +12891,9 @@ func (m *awsRestjson1_deserializeOpListQuickConnects) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListQuickConnects(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListQueueQuickConnects(response, &metadata) } - output := &ListQuickConnectsOutput{} + output := &ListQueueQuickConnectsOutput{} out.Result = output var buff [1024]byte @@ -12543,7 +12914,7 @@ func (m *awsRestjson1_deserializeOpListQuickConnects) HandleDeserialize(ctx cont return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12556,7 +12927,7 @@ func (m *awsRestjson1_deserializeOpListQuickConnects) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestjson1_deserializeOpErrorListQuickConnects(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListQueueQuickConnects(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12622,7 +12993,7 @@ func awsRestjson1_deserializeOpErrorListQuickConnects(response *smithyhttp.Respo } } -func awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(v **ListQuickConnectsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListQueueQuickConnectsOutput(v **ListQueueQuickConnectsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -12635,9 +13006,9 @@ func awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(v **ListQuickConn return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListQuickConnectsOutput + var sv *ListQueueQuickConnectsOutput if *v == nil { - sv = &ListQuickConnectsOutput{} + sv = &ListQueueQuickConnectsOutput{} } else { sv = *v } @@ -12667,14 +13038,14 @@ func awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(v **ListQuickConn return nil } -type awsRestjson1_deserializeOpListRoutingProfileQueues struct { +type awsRestjson1_deserializeOpListQueues struct { } -func (*awsRestjson1_deserializeOpListRoutingProfileQueues) ID() string { +func (*awsRestjson1_deserializeOpListQueues) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListRoutingProfileQueues) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListQueues) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12688,9 +13059,9 @@ func (m *awsRestjson1_deserializeOpListRoutingProfileQueues) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListRoutingProfileQueues(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListQueues(response, &metadata) } - output := &ListRoutingProfileQueuesOutput{} + output := &ListQueuesOutput{} out.Result = output var buff [1024]byte @@ -12711,7 +13082,7 @@ func (m *awsRestjson1_deserializeOpListRoutingProfileQueues) HandleDeserialize(c return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListQueuesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12724,7 +13095,7 @@ func (m *awsRestjson1_deserializeOpListRoutingProfileQueues) HandleDeserialize(c return out, metadata, err } -func awsRestjson1_deserializeOpErrorListRoutingProfileQueues(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListQueues(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12790,7 +13161,7 @@ func awsRestjson1_deserializeOpErrorListRoutingProfileQueues(response *smithyhtt } } -func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRoutingProfileQueuesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListQueuesOutput(v **ListQueuesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -12803,9 +13174,9 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListRoutingProfileQueuesOutput + var sv *ListQueuesOutput if *v == nil { - sv = &ListRoutingProfileQueuesOutput{} + sv = &ListQueuesOutput{} } else { sv = *v } @@ -12821,8 +13192,8 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo sv.NextToken = ptr.String(jtv) } - case "RoutingProfileQueueConfigSummaryList": - if err := awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(&sv.RoutingProfileQueueConfigSummaryList, value); err != nil { + case "QueueSummaryList": + if err := awsRestjson1_deserializeDocumentQueueSummaryList(&sv.QueueSummaryList, value); err != nil { return err } @@ -12835,14 +13206,14 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRo return nil } -type awsRestjson1_deserializeOpListRoutingProfiles struct { +type awsRestjson1_deserializeOpListQuickConnects struct { } -func (*awsRestjson1_deserializeOpListRoutingProfiles) ID() string { +func (*awsRestjson1_deserializeOpListQuickConnects) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListRoutingProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListQuickConnects) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12856,9 +13227,9 @@ func (m *awsRestjson1_deserializeOpListRoutingProfiles) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListRoutingProfiles(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListQuickConnects(response, &metadata) } - output := &ListRoutingProfilesOutput{} + output := &ListQuickConnectsOutput{} out.Result = output var buff [1024]byte @@ -12879,7 +13250,7 @@ func (m *awsRestjson1_deserializeOpListRoutingProfiles) HandleDeserialize(ctx co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12892,7 +13263,7 @@ func (m *awsRestjson1_deserializeOpListRoutingProfiles) HandleDeserialize(ctx co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListRoutingProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListQuickConnects(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12958,7 +13329,7 @@ func awsRestjson1_deserializeOpErrorListRoutingProfiles(response *smithyhttp.Res } } -func awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(v **ListRoutingProfilesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListQuickConnectsOutput(v **ListQuickConnectsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -12971,9 +13342,9 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(v **ListRouting return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListRoutingProfilesOutput + var sv *ListQuickConnectsOutput if *v == nil { - sv = &ListRoutingProfilesOutput{} + sv = &ListQuickConnectsOutput{} } else { sv = *v } @@ -12989,8 +13360,8 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(v **ListRouting sv.NextToken = ptr.String(jtv) } - case "RoutingProfileSummaryList": - if err := awsRestjson1_deserializeDocumentRoutingProfileSummaryList(&sv.RoutingProfileSummaryList, value); err != nil { + case "QuickConnectSummaryList": + if err := awsRestjson1_deserializeDocumentQuickConnectSummaryList(&sv.QuickConnectSummaryList, value); err != nil { return err } @@ -13003,14 +13374,14 @@ func awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(v **ListRouting return nil } -type awsRestjson1_deserializeOpListSecurityKeys struct { +type awsRestjson1_deserializeOpListRoutingProfileQueues struct { } -func (*awsRestjson1_deserializeOpListSecurityKeys) ID() string { +func (*awsRestjson1_deserializeOpListRoutingProfileQueues) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListSecurityKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListRoutingProfileQueues) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13024,9 +13395,9 @@ func (m *awsRestjson1_deserializeOpListSecurityKeys) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListSecurityKeys(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListRoutingProfileQueues(response, &metadata) } - output := &ListSecurityKeysOutput{} + output := &ListRoutingProfileQueuesOutput{} out.Result = output var buff [1024]byte @@ -13047,7 +13418,7 @@ func (m *awsRestjson1_deserializeOpListSecurityKeys) HandleDeserialize(ctx conte return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13060,7 +13431,7 @@ func (m *awsRestjson1_deserializeOpListSecurityKeys) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestjson1_deserializeOpErrorListSecurityKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListRoutingProfileQueues(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13126,7 +13497,7 @@ func awsRestjson1_deserializeOpErrorListSecurityKeys(response *smithyhttp.Respon } } -func awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(v **ListSecurityKeysOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListRoutingProfileQueuesOutput(v **ListRoutingProfileQueuesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -13139,9 +13510,9 @@ func awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(v **ListSecurityKe return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListSecurityKeysOutput + var sv *ListRoutingProfileQueuesOutput if *v == nil { - sv = &ListSecurityKeysOutput{} + sv = &ListRoutingProfileQueuesOutput{} } else { sv = *v } @@ -13157,8 +13528,8 @@ func awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(v **ListSecurityKe sv.NextToken = ptr.String(jtv) } - case "SecurityKeys": - if err := awsRestjson1_deserializeDocumentSecurityKeysList(&sv.SecurityKeys, value); err != nil { + case "RoutingProfileQueueConfigSummaryList": + if err := awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(&sv.RoutingProfileQueueConfigSummaryList, value); err != nil { return err } @@ -13171,14 +13542,14 @@ func awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(v **ListSecurityKe return nil } -type awsRestjson1_deserializeOpListSecurityProfilePermissions struct { +type awsRestjson1_deserializeOpListRoutingProfiles struct { } -func (*awsRestjson1_deserializeOpListSecurityProfilePermissions) ID() string { +func (*awsRestjson1_deserializeOpListRoutingProfiles) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListSecurityProfilePermissions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListRoutingProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13192,9 +13563,9 @@ func (m *awsRestjson1_deserializeOpListSecurityProfilePermissions) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListSecurityProfilePermissions(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListRoutingProfiles(response, &metadata) } - output := &ListSecurityProfilePermissionsOutput{} + output := &ListRoutingProfilesOutput{} out.Result = output var buff [1024]byte @@ -13215,7 +13586,7 @@ func (m *awsRestjson1_deserializeOpListSecurityProfilePermissions) HandleDeseria return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13228,7 +13599,7 @@ func (m *awsRestjson1_deserializeOpListSecurityProfilePermissions) HandleDeseria return out, metadata, err } -func awsRestjson1_deserializeOpErrorListSecurityProfilePermissions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListRoutingProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13294,7 +13665,7 @@ func awsRestjson1_deserializeOpErrorListSecurityProfilePermissions(response *smi } } -func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v **ListSecurityProfilePermissionsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListRoutingProfilesOutput(v **ListRoutingProfilesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -13307,9 +13678,9 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListSecurityProfilePermissionsOutput + var sv *ListRoutingProfilesOutput if *v == nil { - sv = &ListSecurityProfilePermissionsOutput{} + sv = &ListRoutingProfilesOutput{} } else { sv = *v } @@ -13325,8 +13696,8 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** sv.NextToken = ptr.String(jtv) } - case "Permissions": - if err := awsRestjson1_deserializeDocumentPermissionsList(&sv.Permissions, value); err != nil { + case "RoutingProfileSummaryList": + if err := awsRestjson1_deserializeDocumentRoutingProfileSummaryList(&sv.RoutingProfileSummaryList, value); err != nil { return err } @@ -13339,14 +13710,14 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v ** return nil } -type awsRestjson1_deserializeOpListSecurityProfiles struct { +type awsRestjson1_deserializeOpListSecurityKeys struct { } -func (*awsRestjson1_deserializeOpListSecurityProfiles) ID() string { +func (*awsRestjson1_deserializeOpListSecurityKeys) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListSecurityProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListSecurityKeys) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13360,9 +13731,9 @@ func (m *awsRestjson1_deserializeOpListSecurityProfiles) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListSecurityProfiles(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListSecurityKeys(response, &metadata) } - output := &ListSecurityProfilesOutput{} + output := &ListSecurityKeysOutput{} out.Result = output var buff [1024]byte @@ -13383,7 +13754,7 @@ func (m *awsRestjson1_deserializeOpListSecurityProfiles) HandleDeserialize(ctx c return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13396,7 +13767,7 @@ func (m *awsRestjson1_deserializeOpListSecurityProfiles) HandleDeserialize(ctx c return out, metadata, err } -func awsRestjson1_deserializeOpErrorListSecurityProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListSecurityKeys(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13462,7 +13833,7 @@ func awsRestjson1_deserializeOpErrorListSecurityProfiles(response *smithyhttp.Re } } -func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecurityProfilesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListSecurityKeysOutput(v **ListSecurityKeysOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -13475,9 +13846,9 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecuri return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListSecurityProfilesOutput + var sv *ListSecurityKeysOutput if *v == nil { - sv = &ListSecurityProfilesOutput{} + sv = &ListSecurityKeysOutput{} } else { sv = *v } @@ -13493,8 +13864,8 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecuri sv.NextToken = ptr.String(jtv) } - case "SecurityProfileSummaryList": - if err := awsRestjson1_deserializeDocumentSecurityProfileSummaryList(&sv.SecurityProfileSummaryList, value); err != nil { + case "SecurityKeys": + if err := awsRestjson1_deserializeDocumentSecurityKeysList(&sv.SecurityKeys, value); err != nil { return err } @@ -13507,14 +13878,14 @@ func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecuri return nil } -type awsRestjson1_deserializeOpListTagsForResource struct { +type awsRestjson1_deserializeOpListSecurityProfilePermissions struct { } -func (*awsRestjson1_deserializeOpListTagsForResource) ID() string { +func (*awsRestjson1_deserializeOpListSecurityProfilePermissions) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListSecurityProfilePermissions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13528,9 +13899,9 @@ func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListTagsForResource(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListSecurityProfilePermissions(response, &metadata) } - output := &ListTagsForResourceOutput{} + output := &ListSecurityProfilePermissionsOutput{} out.Result = output var buff [1024]byte @@ -13551,7 +13922,7 @@ func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13564,7 +13935,7 @@ func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListSecurityProfilePermissions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13630,7 +14001,7 @@ func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Res } } -func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListSecurityProfilePermissionsOutput(v **ListSecurityProfilePermissionsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -13643,17 +14014,26 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListTagsForResourceOutput + var sv *ListSecurityProfilePermissionsOutput if *v == nil { - sv = &ListTagsForResourceOutput{} + sv = &ListSecurityProfilePermissionsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "Permissions": + if err := awsRestjson1_deserializeDocumentPermissionsList(&sv.Permissions, value); err != nil { return err } @@ -13666,14 +14046,14 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor return nil } -type awsRestjson1_deserializeOpListUseCases struct { +type awsRestjson1_deserializeOpListSecurityProfiles struct { } -func (*awsRestjson1_deserializeOpListUseCases) ID() string { +func (*awsRestjson1_deserializeOpListSecurityProfiles) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListUseCases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListSecurityProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13687,9 +14067,9 @@ func (m *awsRestjson1_deserializeOpListUseCases) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListUseCases(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListSecurityProfiles(response, &metadata) } - output := &ListUseCasesOutput{} + output := &ListSecurityProfilesOutput{} out.Result = output var buff [1024]byte @@ -13710,7 +14090,7 @@ func (m *awsRestjson1_deserializeOpListUseCases) HandleDeserialize(ctx context.C return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListUseCasesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13723,7 +14103,7 @@ func (m *awsRestjson1_deserializeOpListUseCases) HandleDeserialize(ctx context.C return out, metadata, err } -func awsRestjson1_deserializeOpErrorListUseCases(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListSecurityProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13767,6 +14147,9 @@ func awsRestjson1_deserializeOpErrorListUseCases(response *smithyhttp.Response, case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -13786,7 +14169,7 @@ func awsRestjson1_deserializeOpErrorListUseCases(response *smithyhttp.Response, } } -func awsRestjson1_deserializeOpDocumentListUseCasesOutput(v **ListUseCasesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListSecurityProfilesOutput(v **ListSecurityProfilesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -13799,9 +14182,9 @@ func awsRestjson1_deserializeOpDocumentListUseCasesOutput(v **ListUseCasesOutput return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListUseCasesOutput + var sv *ListSecurityProfilesOutput if *v == nil { - sv = &ListUseCasesOutput{} + sv = &ListSecurityProfilesOutput{} } else { sv = *v } @@ -13817,8 +14200,8 @@ func awsRestjson1_deserializeOpDocumentListUseCasesOutput(v **ListUseCasesOutput sv.NextToken = ptr.String(jtv) } - case "UseCaseSummaryList": - if err := awsRestjson1_deserializeDocumentUseCaseSummaryList(&sv.UseCaseSummaryList, value); err != nil { + case "SecurityProfileSummaryList": + if err := awsRestjson1_deserializeDocumentSecurityProfileSummaryList(&sv.SecurityProfileSummaryList, value); err != nil { return err } @@ -13831,14 +14214,14 @@ func awsRestjson1_deserializeOpDocumentListUseCasesOutput(v **ListUseCasesOutput return nil } -type awsRestjson1_deserializeOpListUserHierarchyGroups struct { +type awsRestjson1_deserializeOpListTagsForResource struct { } -func (*awsRestjson1_deserializeOpListUserHierarchyGroups) ID() string { +func (*awsRestjson1_deserializeOpListTagsForResource) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListUserHierarchyGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13852,9 +14235,9 @@ func (m *awsRestjson1_deserializeOpListUserHierarchyGroups) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListUserHierarchyGroups(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListTagsForResource(response, &metadata) } - output := &ListUserHierarchyGroupsOutput{} + output := &ListTagsForResourceOutput{} out.Result = output var buff [1024]byte @@ -13875,7 +14258,7 @@ func (m *awsRestjson1_deserializeOpListUserHierarchyGroups) HandleDeserialize(ct return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13888,7 +14271,7 @@ func (m *awsRestjson1_deserializeOpListUserHierarchyGroups) HandleDeserialize(ct return out, metadata, err } -func awsRestjson1_deserializeOpErrorListUserHierarchyGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13954,7 +14337,7 @@ func awsRestjson1_deserializeOpErrorListUserHierarchyGroups(response *smithyhttp } } -func awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(v **ListUserHierarchyGroupsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -13967,26 +14350,17 @@ func awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(v **ListUse return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListUserHierarchyGroupsOutput + var sv *ListTagsForResourceOutput if *v == nil { - sv = &ListUserHierarchyGroupsOutput{} + sv = &ListTagsForResourceOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "NextToken": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) - } - sv.NextToken = ptr.String(jtv) - } - - case "UserHierarchyGroupSummaryList": - if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryList(&sv.UserHierarchyGroupSummaryList, value); err != nil { + case "tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err } @@ -13999,14 +14373,14 @@ func awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(v **ListUse return nil } -type awsRestjson1_deserializeOpListUsers struct { +type awsRestjson1_deserializeOpListTaskTemplates struct { } -func (*awsRestjson1_deserializeOpListUsers) ID() string { +func (*awsRestjson1_deserializeOpListTaskTemplates) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListUsers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListTaskTemplates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14020,9 +14394,9 @@ func (m *awsRestjson1_deserializeOpListUsers) HandleDeserialize(ctx context.Cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListUsers(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListTaskTemplates(response, &metadata) } - output := &ListUsersOutput{} + output := &ListTaskTemplatesOutput{} out.Result = output var buff [1024]byte @@ -14043,7 +14417,7 @@ func (m *awsRestjson1_deserializeOpListUsers) HandleDeserialize(ctx context.Cont return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListUsersOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListTaskTemplatesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14056,7 +14430,7 @@ func (m *awsRestjson1_deserializeOpListUsers) HandleDeserialize(ctx context.Cont return out, metadata, err } -func awsRestjson1_deserializeOpErrorListUsers(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListTaskTemplates(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14122,7 +14496,7 @@ func awsRestjson1_deserializeOpErrorListUsers(response *smithyhttp.Response, met } } -func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListTaskTemplatesOutput(v **ListTaskTemplatesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -14135,9 +14509,9 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListUsersOutput + var sv *ListTaskTemplatesOutput if *v == nil { - sv = &ListUsersOutput{} + sv = &ListTaskTemplatesOutput{} } else { sv = *v } @@ -14153,8 +14527,8 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu sv.NextToken = ptr.String(jtv) } - case "UserSummaryList": - if err := awsRestjson1_deserializeDocumentUserSummaryList(&sv.UserSummaryList, value); err != nil { + case "TaskTemplates": + if err := awsRestjson1_deserializeDocumentTaskTemplateList(&sv.TaskTemplates, value); err != nil { return err } @@ -14167,14 +14541,14 @@ func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, valu return nil } -type awsRestjson1_deserializeOpPutUserStatus struct { +type awsRestjson1_deserializeOpListUseCases struct { } -func (*awsRestjson1_deserializeOpPutUserStatus) ID() string { +func (*awsRestjson1_deserializeOpListUseCases) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpPutUserStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListUseCases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14188,15 +14562,43 @@ func (m *awsRestjson1_deserializeOpPutUserStatus) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutUserStatus(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListUseCases(response, &metadata) } - output := &PutUserStatusOutput{} + output := &ListUseCasesOutput{} out.Result = output + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListUseCasesOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return out, metadata, err } -func awsRestjson1_deserializeOpErrorPutUserStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListUseCases(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14237,15 +14639,9 @@ func awsRestjson1_deserializeOpErrorPutUserStatus(response *smithyhttp.Response, } switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -14265,210 +14661,59 @@ func awsRestjson1_deserializeOpErrorPutUserStatus(response *smithyhttp.Response, } } -type awsRestjson1_deserializeOpReleasePhoneNumber struct { -} - -func (*awsRestjson1_deserializeOpReleasePhoneNumber) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpReleasePhoneNumber) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err +func awsRestjson1_deserializeOpDocumentListUseCasesOutput(v **ListUseCasesOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil } - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorReleasePhoneNumber(response, &metadata) - } - output := &ReleasePhoneNumberOutput{} - out.Result = output - - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorReleasePhoneNumber(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - code := response.Header.Get("X-Amzn-ErrorType") - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - code, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - - case strings.EqualFold("IdempotencyException", errorCode): - return awsRestjson1_deserializeErrorIdempotencyException(response, errorBody) - - case strings.EqualFold("InternalServiceException", errorCode): - return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - - case strings.EqualFold("ResourceInUseException", errorCode): - return awsRestjson1_deserializeErrorResourceInUseException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpResumeContactRecording struct { -} - -func (*awsRestjson1_deserializeOpResumeContactRecording) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpResumeContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - response, ok := out.RawResponse.(*smithyhttp.Response) + shape, ok := value.(map[string]interface{}) if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorResumeContactRecording(response, &metadata) - } - output := &ResumeContactRecordingOutput{} - out.Result = output - - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorResumeContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - code := response.Header.Get("X-Amzn-ErrorType") - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - code, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + return fmt.Errorf("unexpected JSON type %v", value) } - errorBody.Seek(0, io.SeekStart) - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - if len(message) != 0 { - errorMessage = message + var sv *ListUseCasesOutput + if *v == nil { + sv = &ListUseCasesOutput{} + } else { + sv = *v } - switch { - case strings.EqualFold("InternalServiceException", errorCode): - return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + for key, value := range shape { + switch key { + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case "UseCaseSummaryList": + if err := awsRestjson1_deserializeDocumentUseCaseSummaryList(&sv.UseCaseSummaryList, value); err != nil { + return err + } - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + default: + _, _ = key, value - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, } - return genericError - } + *v = sv + return nil } -type awsRestjson1_deserializeOpSearchAvailablePhoneNumbers struct { +type awsRestjson1_deserializeOpListUserHierarchyGroups struct { } -func (*awsRestjson1_deserializeOpSearchAvailablePhoneNumbers) ID() string { +func (*awsRestjson1_deserializeOpListUserHierarchyGroups) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpSearchAvailablePhoneNumbers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListUserHierarchyGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14482,9 +14727,9 @@ func (m *awsRestjson1_deserializeOpSearchAvailablePhoneNumbers) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorSearchAvailablePhoneNumbers(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListUserHierarchyGroups(response, &metadata) } - output := &SearchAvailablePhoneNumbersOutput{} + output := &ListUserHierarchyGroupsOutput{} out.Result = output var buff [1024]byte @@ -14505,7 +14750,7 @@ func (m *awsRestjson1_deserializeOpSearchAvailablePhoneNumbers) HandleDeserializ return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14518,7 +14763,7 @@ func (m *awsRestjson1_deserializeOpSearchAvailablePhoneNumbers) HandleDeserializ return out, metadata, err } -func awsRestjson1_deserializeOpErrorSearchAvailablePhoneNumbers(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListUserHierarchyGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14559,15 +14804,18 @@ func awsRestjson1_deserializeOpErrorSearchAvailablePhoneNumbers(response *smithy } switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -14581,7 +14829,7 @@ func awsRestjson1_deserializeOpErrorSearchAvailablePhoneNumbers(response *smithy } } -func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **SearchAvailablePhoneNumbersOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListUserHierarchyGroupsOutput(v **ListUserHierarchyGroupsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -14594,29 +14842,29 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea return fmt.Errorf("unexpected JSON type %v", value) } - var sv *SearchAvailablePhoneNumbersOutput + var sv *ListUserHierarchyGroupsOutput if *v == nil { - sv = &SearchAvailablePhoneNumbersOutput{} + sv = &ListUserHierarchyGroupsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "AvailableNumbersList": - if err := awsRestjson1_deserializeDocumentAvailableNumbersList(&sv.AvailableNumbersList, value); err != nil { - return err - } - case "NextToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected LargeNextToken to be of type string, got %T instead", value) + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) } sv.NextToken = ptr.String(jtv) } + case "UserHierarchyGroupSummaryList": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryList(&sv.UserHierarchyGroupSummaryList, value); err != nil { + return err + } + default: _, _ = key, value @@ -14626,14 +14874,14 @@ func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **Sea return nil } -type awsRestjson1_deserializeOpSearchUsers struct { +type awsRestjson1_deserializeOpListUsers struct { } -func (*awsRestjson1_deserializeOpSearchUsers) ID() string { +func (*awsRestjson1_deserializeOpListUsers) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpSearchUsers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListUsers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14647,9 +14895,9 @@ func (m *awsRestjson1_deserializeOpSearchUsers) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorSearchUsers(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListUsers(response, &metadata) } - output := &SearchUsersOutput{} + output := &ListUsersOutput{} out.Result = output var buff [1024]byte @@ -14670,7 +14918,7 @@ func (m *awsRestjson1_deserializeOpSearchUsers) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentSearchUsersOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListUsersOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14683,7 +14931,7 @@ func (m *awsRestjson1_deserializeOpSearchUsers) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestjson1_deserializeOpErrorSearchUsers(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListUsers(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14749,7 +14997,7 @@ func awsRestjson1_deserializeOpErrorSearchUsers(response *smithyhttp.Response, m } } -func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListUsersOutput(v **ListUsersOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -14762,39 +15010,26 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *SearchUsersOutput + var sv *ListUsersOutput if *v == nil { - sv = &SearchUsersOutput{} + sv = &ListUsersOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "ApproximateTotalCount": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected ApproximateTotalCount to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.ApproximateTotalCount = ptr.Int64(i64) - } - - case "NextToken": + case "NextToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected NextToken2500 to be of type string, got %T instead", value) + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) } sv.NextToken = ptr.String(jtv) } - case "Users": - if err := awsRestjson1_deserializeDocumentUserSearchSummaryList(&sv.Users, value); err != nil { + case "UserSummaryList": + if err := awsRestjson1_deserializeDocumentUserSummaryList(&sv.UserSummaryList, value); err != nil { return err } @@ -14807,14 +15042,14 @@ func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, return nil } -type awsRestjson1_deserializeOpSearchVocabularies struct { +type awsRestjson1_deserializeOpPutUserStatus struct { } -func (*awsRestjson1_deserializeOpSearchVocabularies) ID() string { +func (*awsRestjson1_deserializeOpPutUserStatus) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpSearchVocabularies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPutUserStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14828,43 +15063,15 @@ func (m *awsRestjson1_deserializeOpSearchVocabularies) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorSearchVocabularies(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPutUserStatus(response, &metadata) } - output := &SearchVocabulariesOutput{} + output := &PutUserStatusOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentSearchVocabulariesOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - return out, metadata, err } -func awsRestjson1_deserializeOpErrorSearchVocabularies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPutUserStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14911,9 +15118,15 @@ func awsRestjson1_deserializeOpErrorSearchVocabularies(response *smithyhttp.Resp case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -14927,59 +15140,14 @@ func awsRestjson1_deserializeOpErrorSearchVocabularies(response *smithyhttp.Resp } } -func awsRestjson1_deserializeOpDocumentSearchVocabulariesOutput(v **SearchVocabulariesOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *SearchVocabulariesOutput - if *v == nil { - sv = &SearchVocabulariesOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "NextToken": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected VocabularyNextToken to be of type string, got %T instead", value) - } - sv.NextToken = ptr.String(jtv) - } - - case "VocabularySummaryList": - if err := awsRestjson1_deserializeDocumentVocabularySummaryList(&sv.VocabularySummaryList, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpStartChatContact struct { +type awsRestjson1_deserializeOpReleasePhoneNumber struct { } -func (*awsRestjson1_deserializeOpStartChatContact) ID() string { +func (*awsRestjson1_deserializeOpReleasePhoneNumber) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStartChatContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpReleasePhoneNumber) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14993,43 +15161,21 @@ func (m *awsRestjson1_deserializeOpStartChatContact) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStartChatContact(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorReleasePhoneNumber(response, &metadata) } - output := &StartChatContactOutput{} + output := &ReleasePhoneNumberOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentStartChatContactOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), + Err: fmt.Errorf("failed to discard response body, %w", err), } } return out, metadata, err } -func awsRestjson1_deserializeOpErrorStartChatContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorReleasePhoneNumber(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15070,21 +15216,27 @@ func awsRestjson1_deserializeOpErrorStartChatContact(response *smithyhttp.Respon } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("IdempotencyException", errorCode): + return awsRestjson1_deserializeErrorIdempotencyException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("LimitExceededException", errorCode): - return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("ResourceInUseException", errorCode): + return awsRestjson1_deserializeErrorResourceInUseException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -15095,72 +15247,14 @@ func awsRestjson1_deserializeOpErrorStartChatContact(response *smithyhttp.Respon } } -func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatContactOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *StartChatContactOutput - if *v == nil { - sv = &StartChatContactOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "ContactId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) - } - sv.ContactId = ptr.String(jtv) - } - - case "ParticipantId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ParticipantId to be of type string, got %T instead", value) - } - sv.ParticipantId = ptr.String(jtv) - } - - case "ParticipantToken": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ParticipantToken to be of type string, got %T instead", value) - } - sv.ParticipantToken = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpStartContactRecording struct { +type awsRestjson1_deserializeOpResumeContactRecording struct { } -func (*awsRestjson1_deserializeOpStartContactRecording) ID() string { +func (*awsRestjson1_deserializeOpResumeContactRecording) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStartContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpResumeContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15174,15 +15268,15 @@ func (m *awsRestjson1_deserializeOpStartContactRecording) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStartContactRecording(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorResumeContactRecording(response, &metadata) } - output := &StartContactRecordingOutput{} + output := &ResumeContactRecordingOutput{} out.Result = output return out, metadata, err } -func awsRestjson1_deserializeOpErrorStartContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorResumeContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15226,9 +15320,6 @@ func awsRestjson1_deserializeOpErrorStartContactRecording(response *smithyhttp.R case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -15245,14 +15336,14 @@ func awsRestjson1_deserializeOpErrorStartContactRecording(response *smithyhttp.R } } -type awsRestjson1_deserializeOpStartContactStreaming struct { +type awsRestjson1_deserializeOpSearchAvailablePhoneNumbers struct { } -func (*awsRestjson1_deserializeOpStartContactStreaming) ID() string { +func (*awsRestjson1_deserializeOpSearchAvailablePhoneNumbers) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStartContactStreaming) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpSearchAvailablePhoneNumbers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15266,9 +15357,9 @@ func (m *awsRestjson1_deserializeOpStartContactStreaming) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStartContactStreaming(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorSearchAvailablePhoneNumbers(response, &metadata) } - output := &StartContactStreamingOutput{} + output := &SearchAvailablePhoneNumbersOutput{} out.Result = output var buff [1024]byte @@ -15289,7 +15380,7 @@ func (m *awsRestjson1_deserializeOpStartContactStreaming) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -15302,7 +15393,7 @@ func (m *awsRestjson1_deserializeOpStartContactStreaming) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorStartContactStreaming(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorSearchAvailablePhoneNumbers(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15343,20 +15434,17 @@ func awsRestjson1_deserializeOpErrorStartContactStreaming(response *smithyhttp.R } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("LimitExceededException", errorCode): - return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -15368,7 +15456,7 @@ func awsRestjson1_deserializeOpErrorStartContactStreaming(response *smithyhttp.R } } -func awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(v **StartContactStreamingOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentSearchAvailablePhoneNumbersOutput(v **SearchAvailablePhoneNumbersOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -15381,22 +15469,27 @@ func awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(v **StartCont return fmt.Errorf("unexpected JSON type %v", value) } - var sv *StartContactStreamingOutput + var sv *SearchAvailablePhoneNumbersOutput if *v == nil { - sv = &StartContactStreamingOutput{} + sv = &SearchAvailablePhoneNumbersOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "StreamingId": + case "AvailableNumbersList": + if err := awsRestjson1_deserializeDocumentAvailableNumbersList(&sv.AvailableNumbersList, value); err != nil { + return err + } + + case "NextToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected StreamingId to be of type string, got %T instead", value) + return fmt.Errorf("expected LargeNextToken to be of type string, got %T instead", value) } - sv.StreamingId = ptr.String(jtv) + sv.NextToken = ptr.String(jtv) } default: @@ -15408,14 +15501,14 @@ func awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(v **StartCont return nil } -type awsRestjson1_deserializeOpStartOutboundVoiceContact struct { +type awsRestjson1_deserializeOpSearchUsers struct { } -func (*awsRestjson1_deserializeOpStartOutboundVoiceContact) ID() string { +func (*awsRestjson1_deserializeOpSearchUsers) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStartOutboundVoiceContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpSearchUsers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15429,9 +15522,9 @@ func (m *awsRestjson1_deserializeOpStartOutboundVoiceContact) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStartOutboundVoiceContact(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorSearchUsers(response, &metadata) } - output := &StartOutboundVoiceContactOutput{} + output := &SearchUsersOutput{} out.Result = output var buff [1024]byte @@ -15452,7 +15545,7 @@ func (m *awsRestjson1_deserializeOpStartOutboundVoiceContact) HandleDeserialize( return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentSearchUsersOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -15465,7 +15558,7 @@ func (m *awsRestjson1_deserializeOpStartOutboundVoiceContact) HandleDeserialize( return out, metadata, err } -func awsRestjson1_deserializeOpErrorStartOutboundVoiceContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorSearchUsers(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15506,9 +15599,6 @@ func awsRestjson1_deserializeOpErrorStartOutboundVoiceContact(response *smithyht } switch { - case strings.EqualFold("DestinationNotAllowedException", errorCode): - return awsRestjson1_deserializeErrorDestinationNotAllowedException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -15518,15 +15608,12 @@ func awsRestjson1_deserializeOpErrorStartOutboundVoiceContact(response *smithyht case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("LimitExceededException", errorCode): - return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("OutboundContactNotPermittedException", errorCode): - return awsRestjson1_deserializeErrorOutboundContactNotPermittedException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -15537,7 +15624,7 @@ func awsRestjson1_deserializeOpErrorStartOutboundVoiceContact(response *smithyht } } -func awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(v **StartOutboundVoiceContactOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentSearchUsersOutput(v **SearchUsersOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -15550,22 +15637,40 @@ func awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(v **Start return fmt.Errorf("unexpected JSON type %v", value) } - var sv *StartOutboundVoiceContactOutput + var sv *SearchUsersOutput if *v == nil { - sv = &StartOutboundVoiceContactOutput{} + sv = &SearchUsersOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "ContactId": + case "ApproximateTotalCount": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected ApproximateTotalCount to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.ApproximateTotalCount = ptr.Int64(i64) + } + + case "NextToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + return fmt.Errorf("expected NextToken2500 to be of type string, got %T instead", value) } - sv.ContactId = ptr.String(jtv) + sv.NextToken = ptr.String(jtv) + } + + case "Users": + if err := awsRestjson1_deserializeDocumentUserSearchSummaryList(&sv.Users, value); err != nil { + return err } default: @@ -15577,14 +15682,14 @@ func awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(v **Start return nil } -type awsRestjson1_deserializeOpStartTaskContact struct { +type awsRestjson1_deserializeOpSearchVocabularies struct { } -func (*awsRestjson1_deserializeOpStartTaskContact) ID() string { +func (*awsRestjson1_deserializeOpSearchVocabularies) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStartTaskContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpSearchVocabularies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15598,9 +15703,9 @@ func (m *awsRestjson1_deserializeOpStartTaskContact) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStartTaskContact(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorSearchVocabularies(response, &metadata) } - output := &StartTaskContactOutput{} + output := &SearchVocabulariesOutput{} out.Result = output var buff [1024]byte @@ -15621,7 +15726,7 @@ func (m *awsRestjson1_deserializeOpStartTaskContact) HandleDeserialize(ctx conte return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentStartTaskContactOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentSearchVocabulariesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -15634,7 +15739,7 @@ func (m *awsRestjson1_deserializeOpStartTaskContact) HandleDeserialize(ctx conte return out, metadata, err } -func awsRestjson1_deserializeOpErrorStartTaskContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorSearchVocabularies(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15675,21 +15780,15 @@ func awsRestjson1_deserializeOpErrorStartTaskContact(response *smithyhttp.Respon } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ServiceQuotaExceededException", errorCode): - return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -15703,7 +15802,7 @@ func awsRestjson1_deserializeOpErrorStartTaskContact(response *smithyhttp.Respon } } -func awsRestjson1_deserializeOpDocumentStartTaskContactOutput(v **StartTaskContactOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentSearchVocabulariesOutput(v **SearchVocabulariesOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -15716,22 +15815,27 @@ func awsRestjson1_deserializeOpDocumentStartTaskContactOutput(v **StartTaskConta return fmt.Errorf("unexpected JSON type %v", value) } - var sv *StartTaskContactOutput + var sv *SearchVocabulariesOutput if *v == nil { - sv = &StartTaskContactOutput{} + sv = &SearchVocabulariesOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "ContactId": + case "NextToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + return fmt.Errorf("expected VocabularyNextToken to be of type string, got %T instead", value) } - sv.ContactId = ptr.String(jtv) + sv.NextToken = ptr.String(jtv) + } + + case "VocabularySummaryList": + if err := awsRestjson1_deserializeDocumentVocabularySummaryList(&sv.VocabularySummaryList, value); err != nil { + return err } default: @@ -15743,14 +15847,14 @@ func awsRestjson1_deserializeOpDocumentStartTaskContactOutput(v **StartTaskConta return nil } -type awsRestjson1_deserializeOpStopContact struct { +type awsRestjson1_deserializeOpStartChatContact struct { } -func (*awsRestjson1_deserializeOpStopContact) ID() string { +func (*awsRestjson1_deserializeOpStartChatContact) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStopContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStartChatContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15764,15 +15868,43 @@ func (m *awsRestjson1_deserializeOpStopContact) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStopContact(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStartChatContact(response, &metadata) } - output := &StopContactOutput{} + output := &StartChatContactOutput{} out.Result = output + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentStartChatContactOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return out, metadata, err } -func awsRestjson1_deserializeOpErrorStopContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorStartChatContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15813,9 +15945,6 @@ func awsRestjson1_deserializeOpErrorStopContact(response *smithyhttp.Response, m } switch { - case strings.EqualFold("ContactNotFoundException", errorCode): - return awsRestjson1_deserializeErrorContactNotFoundException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -15825,6 +15954,9 @@ func awsRestjson1_deserializeOpErrorStopContact(response *smithyhttp.Response, m case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("LimitExceededException", errorCode): + return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -15838,14 +15970,72 @@ func awsRestjson1_deserializeOpErrorStopContact(response *smithyhttp.Response, m } } -type awsRestjson1_deserializeOpStopContactRecording struct { +func awsRestjson1_deserializeOpDocumentStartChatContactOutput(v **StartChatContactOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *StartChatContactOutput + if *v == nil { + sv = &StartChatContactOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ContactId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.ContactId = ptr.String(jtv) + } + + case "ParticipantId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ParticipantId to be of type string, got %T instead", value) + } + sv.ParticipantId = ptr.String(jtv) + } + + case "ParticipantToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ParticipantToken to be of type string, got %T instead", value) + } + sv.ParticipantToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil } -func (*awsRestjson1_deserializeOpStopContactRecording) ID() string { +type awsRestjson1_deserializeOpStartContactRecording struct { +} + +func (*awsRestjson1_deserializeOpStartContactRecording) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStopContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStartContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15859,15 +16049,15 @@ func (m *awsRestjson1_deserializeOpStopContactRecording) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStopContactRecording(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStartContactRecording(response, &metadata) } - output := &StopContactRecordingOutput{} + output := &StartContactRecordingOutput{} out.Result = output return out, metadata, err } -func awsRestjson1_deserializeOpErrorStopContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorStartContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -15911,6 +16101,9 @@ func awsRestjson1_deserializeOpErrorStopContactRecording(response *smithyhttp.Re case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -15927,14 +16120,14 @@ func awsRestjson1_deserializeOpErrorStopContactRecording(response *smithyhttp.Re } } -type awsRestjson1_deserializeOpStopContactStreaming struct { +type awsRestjson1_deserializeOpStartContactStreaming struct { } -func (*awsRestjson1_deserializeOpStopContactStreaming) ID() string { +func (*awsRestjson1_deserializeOpStartContactStreaming) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpStopContactStreaming) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStartContactStreaming) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -15948,15 +16141,43 @@ func (m *awsRestjson1_deserializeOpStopContactStreaming) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorStopContactStreaming(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStartContactStreaming(response, &metadata) } - output := &StopContactStreamingOutput{} + output := &StartContactStreamingOutput{} out.Result = output - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorStopContactStreaming(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorStartContactStreaming(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16006,6 +16227,9 @@ func awsRestjson1_deserializeOpErrorStopContactStreaming(response *smithyhttp.Re case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("LimitExceededException", errorCode): + return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -16019,14 +16243,54 @@ func awsRestjson1_deserializeOpErrorStopContactStreaming(response *smithyhttp.Re } } -type awsRestjson1_deserializeOpSuspendContactRecording struct { +func awsRestjson1_deserializeOpDocumentStartContactStreamingOutput(v **StartContactStreamingOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *StartContactStreamingOutput + if *v == nil { + sv = &StartContactStreamingOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "StreamingId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected StreamingId to be of type string, got %T instead", value) + } + sv.StreamingId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil } -func (*awsRestjson1_deserializeOpSuspendContactRecording) ID() string { +type awsRestjson1_deserializeOpStartOutboundVoiceContact struct { +} + +func (*awsRestjson1_deserializeOpStartOutboundVoiceContact) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpSuspendContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStartOutboundVoiceContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16040,15 +16304,43 @@ func (m *awsRestjson1_deserializeOpSuspendContactRecording) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorSuspendContactRecording(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStartOutboundVoiceContact(response, &metadata) } - output := &SuspendContactRecordingOutput{} + output := &StartOutboundVoiceContactOutput{} out.Result = output + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return out, metadata, err } -func awsRestjson1_deserializeOpErrorSuspendContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorStartOutboundVoiceContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16089,12 +16381,24 @@ func awsRestjson1_deserializeOpErrorSuspendContactRecording(response *smithyhttp } switch { + case strings.EqualFold("DestinationNotAllowedException", errorCode): + return awsRestjson1_deserializeErrorDestinationNotAllowedException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("LimitExceededException", errorCode): + return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("OutboundContactNotPermittedException", errorCode): + return awsRestjson1_deserializeErrorOutboundContactNotPermittedException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -16108,14 +16412,54 @@ func awsRestjson1_deserializeOpErrorSuspendContactRecording(response *smithyhttp } } -type awsRestjson1_deserializeOpTagResource struct { +func awsRestjson1_deserializeOpDocumentStartOutboundVoiceContactOutput(v **StartOutboundVoiceContactOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *StartOutboundVoiceContactOutput + if *v == nil { + sv = &StartOutboundVoiceContactOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ContactId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.ContactId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil } -func (*awsRestjson1_deserializeOpTagResource) ID() string { +type awsRestjson1_deserializeOpStartTaskContact struct { +} + +func (*awsRestjson1_deserializeOpStartTaskContact) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStartTaskContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16129,21 +16473,43 @@ func (m *awsRestjson1_deserializeOpTagResource) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorTagResource(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStartTaskContact(response, &metadata) } - output := &TagResourceOutput{} + output := &StartTaskContactOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentStartTaskContactOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), } } return out, metadata, err } -func awsRestjson1_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorStartTaskContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16196,6 +16562,9 @@ func awsRestjson1_deserializeOpErrorTagResource(response *smithyhttp.Response, m case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -16209,14 +16578,54 @@ func awsRestjson1_deserializeOpErrorTagResource(response *smithyhttp.Response, m } } -type awsRestjson1_deserializeOpUntagResource struct { +func awsRestjson1_deserializeOpDocumentStartTaskContactOutput(v **StartTaskContactOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *StartTaskContactOutput + if *v == nil { + sv = &StartTaskContactOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ContactId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.ContactId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil } -func (*awsRestjson1_deserializeOpUntagResource) ID() string { +type awsRestjson1_deserializeOpStopContact struct { +} + +func (*awsRestjson1_deserializeOpStopContact) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStopContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16230,21 +16639,15 @@ func (m *awsRestjson1_deserializeOpUntagResource) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUntagResource(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStopContact(response, &metadata) } - output := &UntagResourceOutput{} + output := &StopContactOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - return out, metadata, err } -func awsRestjson1_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorStopContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16285,6 +16688,9 @@ func awsRestjson1_deserializeOpErrorUntagResource(response *smithyhttp.Response, } switch { + case strings.EqualFold("ContactNotFoundException", errorCode): + return awsRestjson1_deserializeErrorContactNotFoundException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -16297,9 +16703,6 @@ func awsRestjson1_deserializeOpErrorUntagResource(response *smithyhttp.Response, case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16310,14 +16713,14 @@ func awsRestjson1_deserializeOpErrorUntagResource(response *smithyhttp.Response, } } -type awsRestjson1_deserializeOpUpdateAgentStatus struct { +type awsRestjson1_deserializeOpStopContactRecording struct { } -func (*awsRestjson1_deserializeOpUpdateAgentStatus) ID() string { +func (*awsRestjson1_deserializeOpStopContactRecording) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateAgentStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStopContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16331,21 +16734,15 @@ func (m *awsRestjson1_deserializeOpUpdateAgentStatus) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateAgentStatus(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStopContactRecording(response, &metadata) } - output := &UpdateAgentStatusOutput{} + output := &StopContactRecordingOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateAgentStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorStopContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16386,27 +16783,15 @@ func awsRestjson1_deserializeOpErrorUpdateAgentStatus(response *smithyhttp.Respo } switch { - case strings.EqualFold("DuplicateResourceException", errorCode): - return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("LimitExceededException", errorCode): - return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16417,14 +16802,14 @@ func awsRestjson1_deserializeOpErrorUpdateAgentStatus(response *smithyhttp.Respo } } -type awsRestjson1_deserializeOpUpdateContact struct { +type awsRestjson1_deserializeOpStopContactStreaming struct { } -func (*awsRestjson1_deserializeOpUpdateContact) ID() string { +func (*awsRestjson1_deserializeOpStopContactStreaming) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpStopContactStreaming) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16438,15 +16823,15 @@ func (m *awsRestjson1_deserializeOpUpdateContact) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContact(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorStopContactStreaming(response, &metadata) } - output := &UpdateContactOutput{} + output := &StopContactStreamingOutput{} out.Result = output return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorStopContactStreaming(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16499,9 +16884,6 @@ func awsRestjson1_deserializeOpErrorUpdateContact(response *smithyhttp.Response, case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -16512,14 +16894,14 @@ func awsRestjson1_deserializeOpErrorUpdateContact(response *smithyhttp.Response, } } -type awsRestjson1_deserializeOpUpdateContactAttributes struct { +type awsRestjson1_deserializeOpSuspendContactRecording struct { } -func (*awsRestjson1_deserializeOpUpdateContactAttributes) ID() string { +func (*awsRestjson1_deserializeOpSuspendContactRecording) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContactAttributes) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpSuspendContactRecording) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16533,15 +16915,15 @@ func (m *awsRestjson1_deserializeOpUpdateContactAttributes) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactAttributes(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorSuspendContactRecording(response, &metadata) } - output := &UpdateContactAttributesOutput{} + output := &SuspendContactRecordingOutput{} out.Result = output return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContactAttributes(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorSuspendContactRecording(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16585,9 +16967,6 @@ func awsRestjson1_deserializeOpErrorUpdateContactAttributes(response *smithyhttp case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -16604,14 +16983,14 @@ func awsRestjson1_deserializeOpErrorUpdateContactAttributes(response *smithyhttp } } -type awsRestjson1_deserializeOpUpdateContactFlowContent struct { +type awsRestjson1_deserializeOpTagResource struct { } -func (*awsRestjson1_deserializeOpUpdateContactFlowContent) ID() string { +func (*awsRestjson1_deserializeOpTagResource) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContactFlowContent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16625,9 +17004,9 @@ func (m *awsRestjson1_deserializeOpUpdateContactFlowContent) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowContent(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorTagResource(response, &metadata) } - output := &UpdateContactFlowContentOutput{} + output := &TagResourceOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -16639,7 +17018,7 @@ func (m *awsRestjson1_deserializeOpUpdateContactFlowContent) HandleDeserialize(c return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContactFlowContent(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16683,9 +17062,6 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowContent(response *smithyhtt case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidContactFlowException", errorCode): - return awsRestjson1_deserializeErrorInvalidContactFlowException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) @@ -16708,14 +17084,14 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowContent(response *smithyhtt } } -type awsRestjson1_deserializeOpUpdateContactFlowMetadata struct { +type awsRestjson1_deserializeOpTransferContact struct { } -func (*awsRestjson1_deserializeOpUpdateContactFlowMetadata) ID() string { +func (*awsRestjson1_deserializeOpTransferContact) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContactFlowMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpTransferContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16729,21 +17105,43 @@ func (m *awsRestjson1_deserializeOpUpdateContactFlowMetadata) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowMetadata(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorTransferContact(response, &metadata) } - output := &UpdateContactFlowMetadataOutput{} + output := &TransferContactOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentTransferContactOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), } } return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContactFlowMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorTransferContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16784,21 +17182,24 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowMetadata(response *smithyht } switch { - case strings.EqualFold("DuplicateResourceException", errorCode): - return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("IdempotencyException", errorCode): + return awsRestjson1_deserializeErrorIdempotencyException(response, errorBody) case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -16812,14 +17213,63 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowMetadata(response *smithyht } } -type awsRestjson1_deserializeOpUpdateContactFlowModuleContent struct { +func awsRestjson1_deserializeOpDocumentTransferContactOutput(v **TransferContactOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *TransferContactOutput + if *v == nil { + sv = &TransferContactOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ContactArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.ContactArn = ptr.String(jtv) + } + + case "ContactId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.ContactId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil } -func (*awsRestjson1_deserializeOpUpdateContactFlowModuleContent) ID() string { +type awsRestjson1_deserializeOpUntagResource struct { +} + +func (*awsRestjson1_deserializeOpUntagResource) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContactFlowModuleContent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16833,15 +17283,21 @@ func (m *awsRestjson1_deserializeOpUpdateContactFlowModuleContent) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowModuleContent(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUntagResource(response, &metadata) } - output := &UpdateContactFlowModuleContentOutput{} + output := &UntagResourceOutput{} out.Result = output + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleContent(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16882,14 +17338,11 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleContent(response *smi } switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidContactFlowModuleException", errorCode): - return awsRestjson1_deserializeErrorInvalidContactFlowModuleException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -16910,14 +17363,14 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleContent(response *smi } } -type awsRestjson1_deserializeOpUpdateContactFlowModuleMetadata struct { +type awsRestjson1_deserializeOpUpdateAgentStatus struct { } -func (*awsRestjson1_deserializeOpUpdateContactFlowModuleMetadata) ID() string { +func (*awsRestjson1_deserializeOpUpdateAgentStatus) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContactFlowModuleMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateAgentStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -16931,15 +17384,21 @@ func (m *awsRestjson1_deserializeOpUpdateContactFlowModuleMetadata) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowModuleMetadata(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateAgentStatus(response, &metadata) } - output := &UpdateContactFlowModuleMetadataOutput{} + output := &UpdateAgentStatusOutput{} out.Result = output + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateAgentStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -16980,9 +17439,6 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleMetadata(response *sm } switch { - case strings.EqualFold("AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("DuplicateResourceException", errorCode): return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) @@ -16995,6 +17451,9 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleMetadata(response *sm case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("LimitExceededException", errorCode): + return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -17011,14 +17470,14 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleMetadata(response *sm } } -type awsRestjson1_deserializeOpUpdateContactFlowName struct { +type awsRestjson1_deserializeOpUpdateContact struct { } -func (*awsRestjson1_deserializeOpUpdateContactFlowName) ID() string { +func (*awsRestjson1_deserializeOpUpdateContact) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContactFlowName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContact) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17032,21 +17491,15 @@ func (m *awsRestjson1_deserializeOpUpdateContactFlowName) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowName(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContact(response, &metadata) } - output := &UpdateContactFlowNameOutput{} + output := &UpdateContactOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContactFlowName(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContact(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17087,9 +17540,6 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowName(response *smithyhttp.R } switch { - case strings.EqualFold("DuplicateResourceException", errorCode): - return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -17115,14 +17565,14 @@ func awsRestjson1_deserializeOpErrorUpdateContactFlowName(response *smithyhttp.R } } -type awsRestjson1_deserializeOpUpdateContactSchedule struct { +type awsRestjson1_deserializeOpUpdateContactAttributes struct { } -func (*awsRestjson1_deserializeOpUpdateContactSchedule) ID() string { +func (*awsRestjson1_deserializeOpUpdateContactAttributes) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateContactSchedule) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContactAttributes) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17136,15 +17586,15 @@ func (m *awsRestjson1_deserializeOpUpdateContactSchedule) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactSchedule(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactAttributes(response, &metadata) } - output := &UpdateContactScheduleOutput{} + output := &UpdateContactAttributesOutput{} out.Result = output return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateContactSchedule(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContactAttributes(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17194,15 +17644,9 @@ func awsRestjson1_deserializeOpErrorUpdateContactSchedule(response *smithyhttp.R case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("LimitExceededException", errorCode): - return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -17213,14 +17657,14 @@ func awsRestjson1_deserializeOpErrorUpdateContactSchedule(response *smithyhttp.R } } -type awsRestjson1_deserializeOpUpdateHoursOfOperation struct { +type awsRestjson1_deserializeOpUpdateContactFlowContent struct { } -func (*awsRestjson1_deserializeOpUpdateHoursOfOperation) ID() string { +func (*awsRestjson1_deserializeOpUpdateContactFlowContent) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateHoursOfOperation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContactFlowContent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17234,9 +17678,9 @@ func (m *awsRestjson1_deserializeOpUpdateHoursOfOperation) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateHoursOfOperation(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowContent(response, &metadata) } - output := &UpdateHoursOfOperationOutput{} + output := &UpdateContactFlowContentOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -17248,7 +17692,7 @@ func (m *awsRestjson1_deserializeOpUpdateHoursOfOperation) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateHoursOfOperation(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContactFlowContent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17289,12 +17733,12 @@ func awsRestjson1_deserializeOpErrorUpdateHoursOfOperation(response *smithyhttp. } switch { - case strings.EqualFold("DuplicateResourceException", errorCode): - return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + case strings.EqualFold("InvalidContactFlowException", errorCode): + return awsRestjson1_deserializeErrorInvalidContactFlowException(response, errorBody) + case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) @@ -17317,14 +17761,14 @@ func awsRestjson1_deserializeOpErrorUpdateHoursOfOperation(response *smithyhttp. } } -type awsRestjson1_deserializeOpUpdateInstanceAttribute struct { +type awsRestjson1_deserializeOpUpdateContactFlowMetadata struct { } -func (*awsRestjson1_deserializeOpUpdateInstanceAttribute) ID() string { +func (*awsRestjson1_deserializeOpUpdateContactFlowMetadata) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateInstanceAttribute) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContactFlowMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17338,9 +17782,9 @@ func (m *awsRestjson1_deserializeOpUpdateInstanceAttribute) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateInstanceAttribute(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowMetadata(response, &metadata) } - output := &UpdateInstanceAttributeOutput{} + output := &UpdateContactFlowMetadataOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -17352,7 +17796,7 @@ func (m *awsRestjson1_deserializeOpUpdateInstanceAttribute) HandleDeserialize(ct return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateInstanceAttribute(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContactFlowMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17393,6 +17837,9 @@ func awsRestjson1_deserializeOpErrorUpdateInstanceAttribute(response *smithyhttp } switch { + case strings.EqualFold("DuplicateResourceException", errorCode): + return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -17418,14 +17865,14 @@ func awsRestjson1_deserializeOpErrorUpdateInstanceAttribute(response *smithyhttp } } -type awsRestjson1_deserializeOpUpdateInstanceStorageConfig struct { +type awsRestjson1_deserializeOpUpdateContactFlowModuleContent struct { } -func (*awsRestjson1_deserializeOpUpdateInstanceStorageConfig) ID() string { +func (*awsRestjson1_deserializeOpUpdateContactFlowModuleContent) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateInstanceStorageConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContactFlowModuleContent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17439,21 +17886,15 @@ func (m *awsRestjson1_deserializeOpUpdateInstanceStorageConfig) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateInstanceStorageConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowModuleContent(response, &metadata) } - output := &UpdateInstanceStorageConfigOutput{} + output := &UpdateContactFlowModuleContentOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateInstanceStorageConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleContent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17494,11 +17935,14 @@ func awsRestjson1_deserializeOpErrorUpdateInstanceStorageConfig(response *smithy } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - case strings.EqualFold("InvalidParameterException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + case strings.EqualFold("InvalidContactFlowModuleException", errorCode): + return awsRestjson1_deserializeErrorInvalidContactFlowModuleException(response, errorBody) case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) @@ -17519,14 +17963,14 @@ func awsRestjson1_deserializeOpErrorUpdateInstanceStorageConfig(response *smithy } } -type awsRestjson1_deserializeOpUpdatePhoneNumber struct { +type awsRestjson1_deserializeOpUpdateContactFlowModuleMetadata struct { } -func (*awsRestjson1_deserializeOpUpdatePhoneNumber) ID() string { +func (*awsRestjson1_deserializeOpUpdateContactFlowModuleMetadata) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdatePhoneNumber) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContactFlowModuleMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17540,43 +17984,15 @@ func (m *awsRestjson1_deserializeOpUpdatePhoneNumber) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdatePhoneNumber(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowModuleMetadata(response, &metadata) } - output := &UpdatePhoneNumberOutput{} + output := &UpdateContactFlowModuleMetadataOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdatePhoneNumber(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContactFlowModuleMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17620,8 +18036,8 @@ func awsRestjson1_deserializeOpErrorUpdatePhoneNumber(response *smithyhttp.Respo case strings.EqualFold("AccessDeniedException", errorCode): return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("IdempotencyException", errorCode): - return awsRestjson1_deserializeErrorIdempotencyException(response, errorBody) + case strings.EqualFold("DuplicateResourceException", errorCode): + return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -17629,8 +18045,8 @@ func awsRestjson1_deserializeOpErrorUpdatePhoneNumber(response *smithyhttp.Respo case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("ResourceInUseException", errorCode): - return awsRestjson1_deserializeErrorResourceInUseException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -17648,63 +18064,14 @@ func awsRestjson1_deserializeOpErrorUpdatePhoneNumber(response *smithyhttp.Respo } } -func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNumberOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *UpdatePhoneNumberOutput - if *v == nil { - sv = &UpdatePhoneNumberOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "PhoneNumberArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.PhoneNumberArn = ptr.String(jtv) - } - - case "PhoneNumberId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) - } - sv.PhoneNumberId = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpUpdateQueueHoursOfOperation struct { +type awsRestjson1_deserializeOpUpdateContactFlowName struct { } -func (*awsRestjson1_deserializeOpUpdateQueueHoursOfOperation) ID() string { +func (*awsRestjson1_deserializeOpUpdateContactFlowName) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateQueueHoursOfOperation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContactFlowName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17718,9 +18085,9 @@ func (m *awsRestjson1_deserializeOpUpdateQueueHoursOfOperation) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueHoursOfOperation(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactFlowName(response, &metadata) } - output := &UpdateQueueHoursOfOperationOutput{} + output := &UpdateContactFlowNameOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -17732,7 +18099,7 @@ func (m *awsRestjson1_deserializeOpUpdateQueueHoursOfOperation) HandleDeserializ return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateQueueHoursOfOperation(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContactFlowName(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17773,6 +18140,9 @@ func awsRestjson1_deserializeOpErrorUpdateQueueHoursOfOperation(response *smithy } switch { + case strings.EqualFold("DuplicateResourceException", errorCode): + return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -17798,14 +18168,14 @@ func awsRestjson1_deserializeOpErrorUpdateQueueHoursOfOperation(response *smithy } } -type awsRestjson1_deserializeOpUpdateQueueMaxContacts struct { +type awsRestjson1_deserializeOpUpdateContactSchedule struct { } -func (*awsRestjson1_deserializeOpUpdateQueueMaxContacts) ID() string { +func (*awsRestjson1_deserializeOpUpdateContactSchedule) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateQueueMaxContacts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateContactSchedule) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17819,21 +18189,15 @@ func (m *awsRestjson1_deserializeOpUpdateQueueMaxContacts) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueMaxContacts(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateContactSchedule(response, &metadata) } - output := &UpdateQueueMaxContactsOutput{} + output := &UpdateContactScheduleOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateQueueMaxContacts(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateContactSchedule(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -17883,6 +18247,9 @@ func awsRestjson1_deserializeOpErrorUpdateQueueMaxContacts(response *smithyhttp. case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("LimitExceededException", errorCode): + return awsRestjson1_deserializeErrorLimitExceededException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -17899,14 +18266,14 @@ func awsRestjson1_deserializeOpErrorUpdateQueueMaxContacts(response *smithyhttp. } } -type awsRestjson1_deserializeOpUpdateQueueName struct { +type awsRestjson1_deserializeOpUpdateHoursOfOperation struct { } -func (*awsRestjson1_deserializeOpUpdateQueueName) ID() string { +func (*awsRestjson1_deserializeOpUpdateHoursOfOperation) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateQueueName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateHoursOfOperation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -17920,9 +18287,9 @@ func (m *awsRestjson1_deserializeOpUpdateQueueName) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueName(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateHoursOfOperation(response, &metadata) } - output := &UpdateQueueNameOutput{} + output := &UpdateHoursOfOperationOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -17934,7 +18301,7 @@ func (m *awsRestjson1_deserializeOpUpdateQueueName) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateQueueName(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateHoursOfOperation(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18003,14 +18370,14 @@ func awsRestjson1_deserializeOpErrorUpdateQueueName(response *smithyhttp.Respons } } -type awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig struct { +type awsRestjson1_deserializeOpUpdateInstanceAttribute struct { } -func (*awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig) ID() string { +func (*awsRestjson1_deserializeOpUpdateInstanceAttribute) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateInstanceAttribute) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18024,9 +18391,9 @@ func (m *awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueOutboundCallerConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateInstanceAttribute(response, &metadata) } - output := &UpdateQueueOutboundCallerConfigOutput{} + output := &UpdateInstanceAttributeOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18038,7 +18405,7 @@ func (m *awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig) HandleDeseri return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateQueueOutboundCallerConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateInstanceAttribute(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18104,14 +18471,14 @@ func awsRestjson1_deserializeOpErrorUpdateQueueOutboundCallerConfig(response *sm } } -type awsRestjson1_deserializeOpUpdateQueueStatus struct { +type awsRestjson1_deserializeOpUpdateInstanceStorageConfig struct { } -func (*awsRestjson1_deserializeOpUpdateQueueStatus) ID() string { +func (*awsRestjson1_deserializeOpUpdateInstanceStorageConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateQueueStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateInstanceStorageConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18125,9 +18492,9 @@ func (m *awsRestjson1_deserializeOpUpdateQueueStatus) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueStatus(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateInstanceStorageConfig(response, &metadata) } - output := &UpdateQueueStatusOutput{} + output := &UpdateInstanceStorageConfigOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18139,7 +18506,7 @@ func (m *awsRestjson1_deserializeOpUpdateQueueStatus) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateQueueStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateInstanceStorageConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18205,14 +18572,14 @@ func awsRestjson1_deserializeOpErrorUpdateQueueStatus(response *smithyhttp.Respo } } -type awsRestjson1_deserializeOpUpdateQuickConnectConfig struct { +type awsRestjson1_deserializeOpUpdatePhoneNumber struct { } -func (*awsRestjson1_deserializeOpUpdateQuickConnectConfig) ID() string { +func (*awsRestjson1_deserializeOpUpdatePhoneNumber) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateQuickConnectConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdatePhoneNumber) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18226,21 +18593,43 @@ func (m *awsRestjson1_deserializeOpUpdateQuickConnectConfig) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateQuickConnectConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdatePhoneNumber(response, &metadata) } - output := &UpdateQuickConnectConfigOutput{} + output := &UpdatePhoneNumberOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateQuickConnectConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdatePhoneNumber(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18281,14 +18670,20 @@ func awsRestjson1_deserializeOpErrorUpdateQuickConnectConfig(response *smithyhtt } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("IdempotencyException", errorCode): + return awsRestjson1_deserializeErrorIdempotencyException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("ResourceInUseException", errorCode): + return awsRestjson1_deserializeErrorResourceInUseException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -18306,14 +18701,63 @@ func awsRestjson1_deserializeOpErrorUpdateQuickConnectConfig(response *smithyhtt } } -type awsRestjson1_deserializeOpUpdateQuickConnectName struct { +func awsRestjson1_deserializeOpDocumentUpdatePhoneNumberOutput(v **UpdatePhoneNumberOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdatePhoneNumberOutput + if *v == nil { + sv = &UpdatePhoneNumberOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PhoneNumberArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.PhoneNumberArn = ptr.String(jtv) + } + + case "PhoneNumberId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) + } + sv.PhoneNumberId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil } -func (*awsRestjson1_deserializeOpUpdateQuickConnectName) ID() string { +type awsRestjson1_deserializeOpUpdateQueueHoursOfOperation struct { +} + +func (*awsRestjson1_deserializeOpUpdateQueueHoursOfOperation) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateQuickConnectName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateQueueHoursOfOperation) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18327,9 +18771,9 @@ func (m *awsRestjson1_deserializeOpUpdateQuickConnectName) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateQuickConnectName(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueHoursOfOperation(response, &metadata) } - output := &UpdateQuickConnectNameOutput{} + output := &UpdateQueueHoursOfOperationOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18341,7 +18785,7 @@ func (m *awsRestjson1_deserializeOpUpdateQuickConnectName) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateQuickConnectName(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateQueueHoursOfOperation(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18407,14 +18851,14 @@ func awsRestjson1_deserializeOpErrorUpdateQuickConnectName(response *smithyhttp. } } -type awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency struct { +type awsRestjson1_deserializeOpUpdateQueueMaxContacts struct { } -func (*awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency) ID() string { +func (*awsRestjson1_deserializeOpUpdateQueueMaxContacts) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateQueueMaxContacts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18428,9 +18872,9 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileConcurrency(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueMaxContacts(response, &metadata) } - output := &UpdateRoutingProfileConcurrencyOutput{} + output := &UpdateQueueMaxContactsOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18442,7 +18886,7 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency) HandleDeseri return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateRoutingProfileConcurrency(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateQueueMaxContacts(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18508,14 +18952,14 @@ func awsRestjson1_deserializeOpErrorUpdateRoutingProfileConcurrency(response *sm } } -type awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue struct { +type awsRestjson1_deserializeOpUpdateQueueName struct { } -func (*awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue) ID() string { +func (*awsRestjson1_deserializeOpUpdateQueueName) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateQueueName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18529,9 +18973,9 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue) Han } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileDefaultOutboundQueue(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueName(response, &metadata) } - output := &UpdateRoutingProfileDefaultOutboundQueueOutput{} + output := &UpdateQueueNameOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18543,7 +18987,7 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue) Han return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateRoutingProfileDefaultOutboundQueue(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateQueueName(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18584,6 +19028,9 @@ func awsRestjson1_deserializeOpErrorUpdateRoutingProfileDefaultOutboundQueue(res } switch { + case strings.EqualFold("DuplicateResourceException", errorCode): + return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -18609,14 +19056,14 @@ func awsRestjson1_deserializeOpErrorUpdateRoutingProfileDefaultOutboundQueue(res } } -type awsRestjson1_deserializeOpUpdateRoutingProfileName struct { +type awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig struct { } -func (*awsRestjson1_deserializeOpUpdateRoutingProfileName) ID() string { +func (*awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateRoutingProfileName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateQueueOutboundCallerConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18630,9 +19077,9 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileName) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileName(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueOutboundCallerConfig(response, &metadata) } - output := &UpdateRoutingProfileNameOutput{} + output := &UpdateQueueOutboundCallerConfigOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18644,7 +19091,7 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileName) HandleDeserialize(c return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateRoutingProfileName(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateQueueOutboundCallerConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18685,9 +19132,6 @@ func awsRestjson1_deserializeOpErrorUpdateRoutingProfileName(response *smithyhtt } switch { - case strings.EqualFold("DuplicateResourceException", errorCode): - return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -18713,14 +19157,14 @@ func awsRestjson1_deserializeOpErrorUpdateRoutingProfileName(response *smithyhtt } } -type awsRestjson1_deserializeOpUpdateRoutingProfileQueues struct { +type awsRestjson1_deserializeOpUpdateQueueStatus struct { } -func (*awsRestjson1_deserializeOpUpdateRoutingProfileQueues) ID() string { +func (*awsRestjson1_deserializeOpUpdateQueueStatus) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateRoutingProfileQueues) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateQueueStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18734,9 +19178,9 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileQueues) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileQueues(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQueueStatus(response, &metadata) } - output := &UpdateRoutingProfileQueuesOutput{} + output := &UpdateQueueStatusOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18748,7 +19192,7 @@ func (m *awsRestjson1_deserializeOpUpdateRoutingProfileQueues) HandleDeserialize return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateRoutingProfileQueues(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateQueueStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18814,14 +19258,14 @@ func awsRestjson1_deserializeOpErrorUpdateRoutingProfileQueues(response *smithyh } } -type awsRestjson1_deserializeOpUpdateSecurityProfile struct { +type awsRestjson1_deserializeOpUpdateQuickConnectConfig struct { } -func (*awsRestjson1_deserializeOpUpdateSecurityProfile) ID() string { +func (*awsRestjson1_deserializeOpUpdateQuickConnectConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateSecurityProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateQuickConnectConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18835,9 +19279,9 @@ func (m *awsRestjson1_deserializeOpUpdateSecurityProfile) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateSecurityProfile(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQuickConnectConfig(response, &metadata) } - output := &UpdateSecurityProfileOutput{} + output := &UpdateQuickConnectConfigOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18849,7 +19293,7 @@ func (m *awsRestjson1_deserializeOpUpdateSecurityProfile) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateSecurityProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateQuickConnectConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -18915,14 +19359,14 @@ func awsRestjson1_deserializeOpErrorUpdateSecurityProfile(response *smithyhttp.R } } -type awsRestjson1_deserializeOpUpdateUserHierarchy struct { +type awsRestjson1_deserializeOpUpdateQuickConnectName struct { } -func (*awsRestjson1_deserializeOpUpdateUserHierarchy) ID() string { +func (*awsRestjson1_deserializeOpUpdateQuickConnectName) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateUserHierarchy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateQuickConnectName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -18936,9 +19380,9 @@ func (m *awsRestjson1_deserializeOpUpdateUserHierarchy) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserHierarchy(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQuickConnectName(response, &metadata) } - output := &UpdateUserHierarchyOutput{} + output := &UpdateQuickConnectNameOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -18950,7 +19394,7 @@ func (m *awsRestjson1_deserializeOpUpdateUserHierarchy) HandleDeserialize(ctx co return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateUserHierarchy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateQuickConnectName(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19016,14 +19460,14 @@ func awsRestjson1_deserializeOpErrorUpdateUserHierarchy(response *smithyhttp.Res } } -type awsRestjson1_deserializeOpUpdateUserHierarchyGroupName struct { +type awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency struct { } -func (*awsRestjson1_deserializeOpUpdateUserHierarchyGroupName) ID() string { +func (*awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateUserHierarchyGroupName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateRoutingProfileConcurrency) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19037,9 +19481,9 @@ func (m *awsRestjson1_deserializeOpUpdateUserHierarchyGroupName) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserHierarchyGroupName(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileConcurrency(response, &metadata) } - output := &UpdateUserHierarchyGroupNameOutput{} + output := &UpdateRoutingProfileConcurrencyOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -19051,7 +19495,7 @@ func (m *awsRestjson1_deserializeOpUpdateUserHierarchyGroupName) HandleDeseriali return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateUserHierarchyGroupName(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateRoutingProfileConcurrency(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19092,9 +19536,6 @@ func awsRestjson1_deserializeOpErrorUpdateUserHierarchyGroupName(response *smith } switch { - case strings.EqualFold("DuplicateResourceException", errorCode): - return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) - case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -19120,14 +19561,14 @@ func awsRestjson1_deserializeOpErrorUpdateUserHierarchyGroupName(response *smith } } -type awsRestjson1_deserializeOpUpdateUserHierarchyStructure struct { +type awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue struct { } -func (*awsRestjson1_deserializeOpUpdateUserHierarchyStructure) ID() string { +func (*awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateUserHierarchyStructure) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateRoutingProfileDefaultOutboundQueue) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19141,9 +19582,9 @@ func (m *awsRestjson1_deserializeOpUpdateUserHierarchyStructure) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserHierarchyStructure(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileDefaultOutboundQueue(response, &metadata) } - output := &UpdateUserHierarchyStructureOutput{} + output := &UpdateRoutingProfileDefaultOutboundQueueOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -19155,7 +19596,7 @@ func (m *awsRestjson1_deserializeOpUpdateUserHierarchyStructure) HandleDeseriali return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateUserHierarchyStructure(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateRoutingProfileDefaultOutboundQueue(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19205,9 +19646,6 @@ func awsRestjson1_deserializeOpErrorUpdateUserHierarchyStructure(response *smith case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - case strings.EqualFold("ResourceInUseException", errorCode): - return awsRestjson1_deserializeErrorResourceInUseException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -19224,14 +19662,14 @@ func awsRestjson1_deserializeOpErrorUpdateUserHierarchyStructure(response *smith } } -type awsRestjson1_deserializeOpUpdateUserIdentityInfo struct { +type awsRestjson1_deserializeOpUpdateRoutingProfileName struct { } -func (*awsRestjson1_deserializeOpUpdateUserIdentityInfo) ID() string { +func (*awsRestjson1_deserializeOpUpdateRoutingProfileName) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateUserIdentityInfo) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateRoutingProfileName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19245,9 +19683,9 @@ func (m *awsRestjson1_deserializeOpUpdateUserIdentityInfo) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserIdentityInfo(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileName(response, &metadata) } - output := &UpdateUserIdentityInfoOutput{} + output := &UpdateRoutingProfileNameOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -19259,7 +19697,7 @@ func (m *awsRestjson1_deserializeOpUpdateUserIdentityInfo) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateUserIdentityInfo(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateRoutingProfileName(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19300,6 +19738,9 @@ func awsRestjson1_deserializeOpErrorUpdateUserIdentityInfo(response *smithyhttp. } switch { + case strings.EqualFold("DuplicateResourceException", errorCode): + return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) + case strings.EqualFold("InternalServiceException", errorCode): return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) @@ -19325,14 +19766,14 @@ func awsRestjson1_deserializeOpErrorUpdateUserIdentityInfo(response *smithyhttp. } } -type awsRestjson1_deserializeOpUpdateUserPhoneConfig struct { +type awsRestjson1_deserializeOpUpdateRoutingProfileQueues struct { } -func (*awsRestjson1_deserializeOpUpdateUserPhoneConfig) ID() string { +func (*awsRestjson1_deserializeOpUpdateRoutingProfileQueues) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateUserPhoneConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateRoutingProfileQueues) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19346,9 +19787,9 @@ func (m *awsRestjson1_deserializeOpUpdateUserPhoneConfig) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserPhoneConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateRoutingProfileQueues(response, &metadata) } - output := &UpdateUserPhoneConfigOutput{} + output := &UpdateRoutingProfileQueuesOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -19360,7 +19801,7 @@ func (m *awsRestjson1_deserializeOpUpdateUserPhoneConfig) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateUserPhoneConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateRoutingProfileQueues(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19426,14 +19867,14 @@ func awsRestjson1_deserializeOpErrorUpdateUserPhoneConfig(response *smithyhttp.R } } -type awsRestjson1_deserializeOpUpdateUserRoutingProfile struct { +type awsRestjson1_deserializeOpUpdateSecurityProfile struct { } -func (*awsRestjson1_deserializeOpUpdateUserRoutingProfile) ID() string { +func (*awsRestjson1_deserializeOpUpdateSecurityProfile) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateUserRoutingProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateSecurityProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19447,9 +19888,9 @@ func (m *awsRestjson1_deserializeOpUpdateUserRoutingProfile) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserRoutingProfile(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateSecurityProfile(response, &metadata) } - output := &UpdateUserRoutingProfileOutput{} + output := &UpdateSecurityProfileOutput{} out.Result = output if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { @@ -19461,7 +19902,7 @@ func (m *awsRestjson1_deserializeOpUpdateUserRoutingProfile) HandleDeserialize(c return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateUserRoutingProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateSecurityProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19527,14 +19968,14 @@ func awsRestjson1_deserializeOpErrorUpdateUserRoutingProfile(response *smithyhtt } } -type awsRestjson1_deserializeOpUpdateUserSecurityProfiles struct { +type awsRestjson1_deserializeOpUpdateTaskTemplate struct { } -func (*awsRestjson1_deserializeOpUpdateUserSecurityProfiles) ID() string { +func (*awsRestjson1_deserializeOpUpdateTaskTemplate) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpUpdateUserSecurityProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpUpdateTaskTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -19548,21 +19989,43 @@ func (m *awsRestjson1_deserializeOpUpdateUserSecurityProfiles) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserSecurityProfiles(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorUpdateTaskTemplate(response, &metadata) } - output := &UpdateUserSecurityProfilesOutput{} + output := &UpdateTaskTemplateOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + return out, metadata, err } -func awsRestjson1_deserializeOpErrorUpdateUserSecurityProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorUpdateTaskTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -19609,12 +20072,15 @@ func awsRestjson1_deserializeOpErrorUpdateUserSecurityProfiles(response *smithyh case strings.EqualFold("InvalidParameterException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + case strings.EqualFold("PropertyValidationException", errorCode): + return awsRestjson1_deserializeErrorPropertyValidationException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -19628,88 +20094,205 @@ func awsRestjson1_deserializeOpErrorUpdateUserSecurityProfiles(response *smithyh } } -func awsRestjson1_deserializeErrorAccessDeniedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.AccessDeniedException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) +func awsRestjson1_deserializeOpDocumentUpdateTaskTemplateOutput(v **UpdateTaskTemplateOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) } - err := awsRestjson1_deserializeDocumentAccessDeniedException(&output, shape) + var sv *UpdateTaskTemplateOutput + if *v == nil { + sv = &UpdateTaskTemplateOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Constraints": + if err := awsRestjson1_deserializeDocumentTaskTemplateConstraints(&sv.Constraints, value); err != nil { + return err + } + + case "ContactFlowId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + } + sv.ContactFlowId = ptr.String(jtv) + } + + case "CreatedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Defaults": + if err := awsRestjson1_deserializeDocumentTaskTemplateDefaults(&sv.Defaults, value); err != nil { + return err + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "Fields": + if err := awsRestjson1_deserializeDocumentTaskTemplateFields(&sv.Fields, value); err != nil { + return err + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "InstanceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) + } + sv.InstanceId = ptr.String(jtv) + } + + case "LastModifiedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateStatus to be of type string, got %T instead", value) + } + sv.Status = types.TaskTemplateStatus(jtv) + } + + default: + _, _ = key, value - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), } - return err } + *v = sv + return nil +} - errorBody.Seek(0, io.SeekStart) +type awsRestjson1_deserializeOpUpdateUserHierarchy struct { +} - return output +func (*awsRestjson1_deserializeOpUpdateUserHierarchy) ID() string { + return "OperationDeserializer" } -func awsRestjson1_deserializeErrorContactFlowNotPublishedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ContactFlowNotPublishedException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) +func (m *awsRestjson1_deserializeOpUpdateUserHierarchy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} } - err := awsRestjson1_deserializeDocumentContactFlowNotPublishedException(&output, shape) + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserHierarchy(response, &metadata) + } + output := &UpdateUserHierarchyOutput{} + out.Result = output - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), } - return err } - errorBody.Seek(0, io.SeekStart) - - return output + return out, metadata, err } -func awsRestjson1_deserializeErrorContactNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ContactNotFoundException{} +func awsRestjson1_deserializeOpErrorUpdateUserHierarchy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) err = &smithy.DeserializationError{ @@ -19719,105 +20302,98 @@ func awsRestjson1_deserializeErrorContactNotFoundException(response *smithyhttp. return err } - err := awsRestjson1_deserializeDocumentContactNotFoundException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message } - errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - return output -} + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) -func awsRestjson1_deserializeErrorDestinationNotAllowedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DestinationNotAllowedException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - err := awsRestjson1_deserializeDocumentDestinationNotAllowedException(&output, shape) + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, } - return err + return genericError + } +} - errorBody.Seek(0, io.SeekStart) +type awsRestjson1_deserializeOpUpdateUserHierarchyGroupName struct { +} - return output +func (*awsRestjson1_deserializeOpUpdateUserHierarchyGroupName) ID() string { + return "OperationDeserializer" } -func awsRestjson1_deserializeErrorDuplicateResourceException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DuplicateResourceException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) +func (m *awsRestjson1_deserializeOpUpdateUserHierarchyGroupName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} } - err := awsRestjson1_deserializeDocumentDuplicateResourceException(&output, shape) + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserHierarchyGroupName(response, &metadata) + } + output := &UpdateUserHierarchyGroupNameOutput{} + out.Result = output - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), } - return err } - errorBody.Seek(0, io.SeekStart) - - return output + return out, metadata, err } -func awsRestjson1_deserializeErrorIdempotencyException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.IdempotencyException{} +func awsRestjson1_deserializeOpErrorUpdateUserHierarchyGroupName(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) err = &smithy.DeserializationError{ @@ -19827,80 +20403,100 @@ func awsRestjson1_deserializeErrorIdempotencyException(response *smithyhttp.Resp return err } - err := awsRestjson1_deserializeDocumentIdempotencyException(&output, shape) + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + switch { + case strings.EqualFold("DuplicateResourceException", errorCode): + return awsRestjson1_deserializeErrorDuplicateResourceException(response, errorBody) + + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, } - return err + return genericError + } +} - errorBody.Seek(0, io.SeekStart) +type awsRestjson1_deserializeOpUpdateUserHierarchyStructure struct { +} - return output +func (*awsRestjson1_deserializeOpUpdateUserHierarchyStructure) ID() string { + return "OperationDeserializer" } -func awsRestjson1_deserializeErrorInternalServiceException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InternalServiceException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) +func (m *awsRestjson1_deserializeOpUpdateUserHierarchyStructure) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} } - err := awsRestjson1_deserializeDocumentInternalServiceException(&output, shape) + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserHierarchyStructure(response, &metadata) + } + output := &UpdateUserHierarchyStructureOutput{} + out.Result = output - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), } - return err } - errorBody.Seek(0, io.SeekStart) - - return output + return out, metadata, err } -func awsRestjson1_deserializeErrorInvalidContactFlowException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidContactFlowException{} +func awsRestjson1_deserializeOpErrorUpdateUserHierarchyStructure(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentInvalidContactFlowException(&output, shape) - + code, message, err := restjson.GetErrorInfo(decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -19912,92 +20508,100 @@ func awsRestjson1_deserializeErrorInvalidContactFlowException(response *smithyht } errorBody.Seek(0, io.SeekStart) - - return output -} - -func awsRestjson1_deserializeErrorInvalidContactFlowModuleException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidContactFlowModuleException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message } - err := awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(&output, shape) + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceInUseException", errorCode): + return awsRestjson1_deserializeErrorResourceInUseException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, } - return err + return genericError + } +} - errorBody.Seek(0, io.SeekStart) +type awsRestjson1_deserializeOpUpdateUserIdentityInfo struct { +} - return output +func (*awsRestjson1_deserializeOpUpdateUserIdentityInfo) ID() string { + return "OperationDeserializer" } -func awsRestjson1_deserializeErrorInvalidParameterException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidParameterException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) +func (m *awsRestjson1_deserializeOpUpdateUserIdentityInfo) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} } - err := awsRestjson1_deserializeDocumentInvalidParameterException(&output, shape) + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserIdentityInfo(response, &metadata) + } + output := &UpdateUserIdentityInfoOutput{} + out.Result = output - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), } - return err } - errorBody.Seek(0, io.SeekStart) - - return output + return out, metadata, err } -func awsRestjson1_deserializeErrorInvalidRequestException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidRequestException{} +func awsRestjson1_deserializeOpErrorUpdateUserIdentityInfo(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) err = &smithy.DeserializationError{ @@ -20007,80 +20611,97 @@ func awsRestjson1_deserializeErrorInvalidRequestException(response *smithyhttp.R return err } - err := awsRestjson1_deserializeDocumentInvalidRequestException(&output, shape) + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, } - return err + return genericError + } +} - errorBody.Seek(0, io.SeekStart) +type awsRestjson1_deserializeOpUpdateUserPhoneConfig struct { +} - return output +func (*awsRestjson1_deserializeOpUpdateUserPhoneConfig) ID() string { + return "OperationDeserializer" } -func awsRestjson1_deserializeErrorLimitExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.LimitExceededException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) +func (m *awsRestjson1_deserializeOpUpdateUserPhoneConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} } - err := awsRestjson1_deserializeDocumentLimitExceededException(&output, shape) + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserPhoneConfig(response, &metadata) + } + output := &UpdateUserPhoneConfigOutput{} + out.Result = output - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), } - return err } - errorBody.Seek(0, io.SeekStart) - - return output + return out, metadata, err } -func awsRestjson1_deserializeErrorOutboundContactNotPermittedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.OutboundContactNotPermittedException{} +func awsRestjson1_deserializeOpErrorUpdateUserPhoneConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(&output, shape) - + code, message, err := restjson.GetErrorInfo(decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -20092,20 +20713,97 @@ func awsRestjson1_deserializeErrorOutboundContactNotPermittedException(response } errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } - return output + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } } -func awsRestjson1_deserializeErrorResourceConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ResourceConflictException{} +type awsRestjson1_deserializeOpUpdateUserRoutingProfile struct { +} + +func (*awsRestjson1_deserializeOpUpdateUserRoutingProfile) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpUpdateUserRoutingProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserRoutingProfile(response, &metadata) + } + output := &UpdateUserRoutingProfileOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorUpdateUserRoutingProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) err = &smithy.DeserializationError{ @@ -20115,8 +20813,97 @@ func awsRestjson1_deserializeErrorResourceConflictException(response *smithyhttp return err } - err := awsRestjson1_deserializeDocumentResourceConflictException(&output, shape) + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestjson1_deserializeOpUpdateUserSecurityProfiles struct { +} + +func (*awsRestjson1_deserializeOpUpdateUserSecurityProfiles) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpUpdateUserSecurityProfiles) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateUserSecurityProfiles(response, &metadata) + } + output := &UpdateUserSecurityProfilesOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorUpdateUserSecurityProfiles(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -20128,12 +20915,41 @@ func awsRestjson1_deserializeErrorResourceConflictException(response *smithyhttp } errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } - return output + switch { + case strings.EqualFold("InternalServiceException", errorCode): + return awsRestjson1_deserializeErrorInternalServiceException(response, errorBody) + + case strings.EqualFold("InvalidParameterException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } } -func awsRestjson1_deserializeErrorResourceInUseException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ResourceInUseException{} +func awsRestjson1_deserializeErrorAccessDeniedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.AccessDeniedException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) @@ -20151,7 +20967,7 @@ func awsRestjson1_deserializeErrorResourceInUseException(response *smithyhttp.Re return err } - err := awsRestjson1_deserializeDocumentResourceInUseException(&output, shape) + err := awsRestjson1_deserializeDocumentAccessDeniedException(&output, shape) if err != nil { var snapshot bytes.Buffer @@ -20168,8 +20984,8 @@ func awsRestjson1_deserializeErrorResourceInUseException(response *smithyhttp.Re return output } -func awsRestjson1_deserializeErrorResourceNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ResourceNotFoundException{} +func awsRestjson1_deserializeErrorContactFlowNotPublishedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ContactFlowNotPublishedException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) @@ -20187,7 +21003,7 @@ func awsRestjson1_deserializeErrorResourceNotFoundException(response *smithyhttp return err } - err := awsRestjson1_deserializeDocumentResourceNotFoundException(&output, shape) + err := awsRestjson1_deserializeDocumentContactFlowNotPublishedException(&output, shape) if err != nil { var snapshot bytes.Buffer @@ -20204,8 +21020,8 @@ func awsRestjson1_deserializeErrorResourceNotFoundException(response *smithyhttp return output } -func awsRestjson1_deserializeErrorServiceQuotaExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ServiceQuotaExceededException{} +func awsRestjson1_deserializeErrorContactNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ContactNotFoundException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) @@ -20223,7 +21039,7 @@ func awsRestjson1_deserializeErrorServiceQuotaExceededException(response *smithy return err } - err := awsRestjson1_deserializeDocumentServiceQuotaExceededException(&output, shape) + err := awsRestjson1_deserializeDocumentContactNotFoundException(&output, shape) if err != nil { var snapshot bytes.Buffer @@ -20240,8 +21056,8 @@ func awsRestjson1_deserializeErrorServiceQuotaExceededException(response *smithy return output } -func awsRestjson1_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ThrottlingException{} +func awsRestjson1_deserializeErrorDestinationNotAllowedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DestinationNotAllowedException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) @@ -20259,7 +21075,7 @@ func awsRestjson1_deserializeErrorThrottlingException(response *smithyhttp.Respo return err } - err := awsRestjson1_deserializeDocumentThrottlingException(&output, shape) + err := awsRestjson1_deserializeDocumentDestinationNotAllowedException(&output, shape) if err != nil { var snapshot bytes.Buffer @@ -20276,8 +21092,8 @@ func awsRestjson1_deserializeErrorThrottlingException(response *smithyhttp.Respo return output } -func awsRestjson1_deserializeErrorUserNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.UserNotFoundException{} +func awsRestjson1_deserializeErrorDuplicateResourceException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DuplicateResourceException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) @@ -20295,24 +21111,2097 @@ func awsRestjson1_deserializeErrorUserNotFoundException(response *smithyhttp.Res return err } - err := awsRestjson1_deserializeDocumentUserNotFoundException(&output, shape) + err := awsRestjson1_deserializeDocumentDuplicateResourceException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorIdempotencyException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.IdempotencyException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentIdempotencyException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorInternalServiceException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InternalServiceException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentInternalServiceException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorInvalidContactFlowException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidContactFlowException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentInvalidContactFlowException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorInvalidContactFlowModuleException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidContactFlowModuleException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorInvalidParameterException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidParameterException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentInvalidParameterException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorInvalidRequestException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidRequestException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentInvalidRequestException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorLimitExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.LimitExceededException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentLimitExceededException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorOutboundContactNotPermittedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.OutboundContactNotPermittedException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorPropertyValidationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.PropertyValidationException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentPropertyValidationException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorResourceConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ResourceConflictException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentResourceConflictException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorResourceInUseException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ResourceInUseException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentResourceInUseException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorResourceNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ResourceNotFoundException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentResourceNotFoundException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorServiceQuotaExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ServiceQuotaExceededException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentServiceQuotaExceededException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ThrottlingException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentThrottlingException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorUserNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.UserNotFoundException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentUserNotFoundException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDeniedException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AccessDeniedException + if *v == nil { + sv = &types.AccessDeniedException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAgentContactReference(v **types.AgentContactReference, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AgentContactReference + if *v == nil { + sv = &types.AgentContactReference{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AgentContactState": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactState to be of type string, got %T instead", value) + } + sv.AgentContactState = types.ContactState(jtv) + } + + case "Channel": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Channel to be of type string, got %T instead", value) + } + sv.Channel = types.Channel(jtv) + } + + case "ConnectedToAgentTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.ConnectedToAgentTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "ContactId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.ContactId = ptr.String(jtv) + } + + case "InitiationMethod": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactInitiationMethod to be of type string, got %T instead", value) + } + sv.InitiationMethod = types.ContactInitiationMethod(jtv) + } + + case "Queue": + if err := awsRestjson1_deserializeDocumentQueueReference(&sv.Queue, value); err != nil { + return err + } + + case "StateStartTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.StateStartTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAgentContactReferenceList(v *[]types.AgentContactReference, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AgentContactReference + if *v == nil { + cv = []types.AgentContactReference{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AgentContactReference + destAddr := &col + if err := awsRestjson1_deserializeDocumentAgentContactReference(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AgentInfo + if *v == nil { + sv = &types.AgentInfo{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ConnectedToAgentTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.ConnectedToAgentTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentResourceId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AgentStatus + if *v == nil { + sv = &types.AgentStatus{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AgentStatusARN": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.AgentStatusARN = ptr.String(jtv) + } + + case "AgentStatusId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusId to be of type string, got %T instead", value) + } + sv.AgentStatusId = ptr.String(jtv) + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "DisplayOrder": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected AgentStatusOrderNumber to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.DisplayOrder = ptr.Int32(int32(i64)) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusState to be of type string, got %T instead", value) + } + sv.State = types.AgentStatusState(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + case "Type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusType to be of type string, got %T instead", value) + } + sv.Type = types.AgentStatusType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAgentStatusReference(v **types.AgentStatusReference, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AgentStatusReference + if *v == nil { + sv = &types.AgentStatusReference{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "StatusArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.StatusArn = ptr.String(jtv) + } + + case "StatusStartTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.StatusStartTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AgentStatusSummary + if *v == nil { + sv = &types.AgentStatusSummary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "Type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AgentStatusType to be of type string, got %T instead", value) + } + sv.Type = types.AgentStatusType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAgentStatusSummaryList(v *[]types.AgentStatusSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AgentStatusSummary + if *v == nil { + cv = []types.AgentStatusSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AgentStatusSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentAgentStatusSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentReference, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AttachmentReference + if *v == nil { + sv = &types.AttachmentReference{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReferenceKey to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReferenceStatus to be of type string, got %T instead", value) + } + sv.Status = types.ReferenceStatus(jtv) + } + + case "Value": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReferenceValue to be of type string, got %T instead", value) + } + sv.Value = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Attribute + if *v == nil { + sv = &types.Attribute{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AttributeType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceAttributeType to be of type string, got %T instead", value) + } + sv.AttributeType = types.InstanceAttributeType(jtv) + } + + case "Value": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceAttributeValue to be of type string, got %T instead", value) + } + sv.Value = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAttributes(v *map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]string + if *v == nil { + mv = map[string]string{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AttributeValue to be of type string, got %T instead", value) + } + parsedVal = jtv + } + mv[key] = parsedVal + + } + *v = mv + return nil +} + +func awsRestjson1_deserializeDocumentAttributesList(v *[]types.Attribute, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Attribute + if *v == nil { + cv = []types.Attribute{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Attribute + destAddr := &col + if err := awsRestjson1_deserializeDocumentAttribute(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentAvailableNumbersList(v *[]types.AvailableNumberSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AvailableNumberSummary + if *v == nil { + cv = []types.AvailableNumberSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AvailableNumberSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentAvailableNumberSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableNumberSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AvailableNumberSummary + if *v == nil { + sv = &types.AvailableNumberSummary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PhoneNumber": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) + } + sv.PhoneNumber = ptr.String(jtv) + } + + case "PhoneNumberCountryCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) + } + sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) + } + + case "PhoneNumberType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) + } + sv.PhoneNumberType = types.PhoneNumberType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentChannelToCountMap(v *map[string]int32, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]int32 + if *v == nil { + mv = map[string]int32{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal int32 + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected IntegerCount to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + parsedVal = int32(i64) + } + mv[key] = parsedVal + + } + *v = mv + return nil +} + +func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.ClaimedPhoneNumberSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ClaimedPhoneNumberSummary + if *v == nil { + sv = &types.ClaimedPhoneNumberSummary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PhoneNumber": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) + } + sv.PhoneNumber = ptr.String(jtv) + } + + case "PhoneNumberArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.PhoneNumberArn = ptr.String(jtv) + } + + case "PhoneNumberCountryCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) + } + sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) + } + + case "PhoneNumberDescription": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberDescription to be of type string, got %T instead", value) + } + sv.PhoneNumberDescription = ptr.String(jtv) + } + + case "PhoneNumberId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) + } + sv.PhoneNumberId = ptr.String(jtv) + } + + case "PhoneNumberStatus": + if err := awsRestjson1_deserializeDocumentPhoneNumberStatus(&sv.PhoneNumberStatus, value); err != nil { + return err + } + + case "PhoneNumberType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) + } + sv.PhoneNumberType = types.PhoneNumberType(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + case "TargetArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.TargetArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Contact + if *v == nil { + sv = &types.Contact{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AgentInfo": + if err := awsRestjson1_deserializeDocumentAgentInfo(&sv.AgentInfo, value); err != nil { + return err + } + + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Channel": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Channel to be of type string, got %T instead", value) + } + sv.Channel = types.Channel(jtv) + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Description to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "DisconnectTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.DisconnectTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "InitialContactId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.InitialContactId = ptr.String(jtv) + } + + case "InitiationMethod": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactInitiationMethod to be of type string, got %T instead", value) + } + sv.InitiationMethod = types.ContactInitiationMethod(jtv) + } + + case "InitiationTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.InitiationTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "LastUpdateTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastUpdateTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Name to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "PreviousContactId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + } + sv.PreviousContactId = ptr.String(jtv) + } + + case "QueueInfo": + if err := awsRestjson1_deserializeDocumentQueueInfo(&sv.QueueInfo, value); err != nil { + return err + } + + case "ScheduledTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.ScheduledTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ContactFlow + if *v == nil { + sv = &types.ContactFlow{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Content": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowContent to be of type string, got %T instead", value) + } + sv.Content = ptr.String(jtv) + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowState to be of type string, got %T instead", value) + } + sv.State = types.ContactFlowState(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + case "Type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowType to be of type string, got %T instead", value) + } + sv.Type = types.ContactFlowType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModule, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ContactFlowModule + if *v == nil { + sv = &types.ContactFlowModule{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Content": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleContent to be of type string, got %T instead", value) + } + sv.Content = ptr.String(jtv) + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleState to be of type string, got %T instead", value) + } + sv.State = types.ContactFlowModuleState(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleStatus to be of type string, got %T instead", value) + } + sv.Status = types.ContactFlowModuleStatus(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(v *[]types.ContactFlowModuleSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.ContactFlowModuleSummary + if *v == nil { + cv = []types.ContactFlowModuleSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ContactFlowModuleSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentContactFlowModuleSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactFlowModuleSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ContactFlowModuleSummary + if *v == nil { + sv = &types.ContactFlowModuleSummary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowModuleState to be of type string, got %T instead", value) + } + sv.State = types.ContactFlowModuleState(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types.ContactFlowNotPublishedException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ContactFlowNotPublishedException + if *v == nil { + sv = &types.ContactFlowNotPublishedException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ContactFlowSummary + if *v == nil { + sv = &types.ContactFlowSummary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "ContactFlowState": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowState to be of type string, got %T instead", value) + } + sv.ContactFlowState = types.ContactFlowState(jtv) + } + + case "ContactFlowType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowType to be of type string, got %T instead", value) + } + sv.ContactFlowType = types.ContactFlowType(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentContactFlowSummaryList(v *[]types.ContactFlowSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + var cv []types.ContactFlowSummary + if *v == nil { + cv = []types.ContactFlowSummary{} + } else { + cv = *v } - errorBody.Seek(0, io.SeekStart) + for _, value := range shape { + var col types.ContactFlowSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentContactFlowSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) - return output + } + *v = cv + return nil } -func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDeniedException, value interface{}) error { +func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactNotFoundException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20325,9 +23214,9 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AccessDeniedException + var sv *types.ContactNotFoundException if *v == nil { - sv = &types.AccessDeniedException{} + sv = &types.ContactNotFoundException{} } else { sv = *v } @@ -20352,7 +23241,7 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie return nil } -func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interface{}) error { +func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20365,16 +23254,25 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AgentInfo + var sv *types.Credentials if *v == nil { - sv = &types.AgentInfo{} + sv = &types.Credentials{} } else { sv = *v } for key, value := range shape { switch key { - case "ConnectedToAgentTimestamp": + case "AccessToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SecurityToken to be of type string, got %T instead", value) + } + sv.AccessToken = ptr.String(jtv) + } + + case "AccessTokenExpiration": if value != nil { switch jtv := value.(type) { case json.Number: @@ -20382,7 +23280,7 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf if err != nil { return err } - sv.ConnectedToAgentTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + sv.AccessTokenExpiration = ptr.Time(smithytime.ParseEpochSeconds(f64)) default: return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) @@ -20390,13 +23288,29 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf } } - case "Id": + case "RefreshToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected AgentResourceId to be of type string, got %T instead", value) + return fmt.Errorf("expected SecurityToken to be of type string, got %T instead", value) + } + sv.RefreshToken = ptr.String(jtv) + } + + case "RefreshTokenExpiration": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.RefreshTokenExpiration = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + } - sv.Id = ptr.String(jtv) } default: @@ -20408,7 +23322,7 @@ func awsRestjson1_deserializeDocumentAgentInfo(v **types.AgentInfo, value interf return nil } -func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value interface{}) error { +func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20421,85 +23335,101 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AgentStatus + var sv *types.CurrentMetric if *v == nil { - sv = &types.AgentStatus{} + sv = &types.CurrentMetric{} } else { sv = *v } for key, value := range shape { switch key { - case "AgentStatusARN": + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected CurrentMetricName to be of type string, got %T instead", value) } - sv.AgentStatusARN = ptr.String(jtv) + sv.Name = types.CurrentMetricName(jtv) } - case "AgentStatusId": + case "Unit": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected AgentStatusId to be of type string, got %T instead", value) + return fmt.Errorf("expected Unit to be of type string, got %T instead", value) } - sv.AgentStatusId = ptr.String(jtv) + sv.Unit = types.Unit(jtv) } - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AgentStatusDescription to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } + default: + _, _ = key, value - case "DisplayOrder": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected AgentStatusOrderNumber to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.DisplayOrder = ptr.Int32(int32(i64)) - } + } + } + *v = sv + return nil +} - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AgentStatusName to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) - } +func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricData, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } - case "State": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AgentStatusState to be of type string, got %T instead", value) - } - sv.State = types.AgentStatusState(jtv) - } + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + var sv *types.CurrentMetricData + if *v == nil { + sv = &types.CurrentMetricData{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Metric": + if err := awsRestjson1_deserializeDocumentCurrentMetric(&sv.Metric, value); err != nil { return err } - case "Type": + case "Value": if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AgentStatusType to be of type string, got %T instead", value) + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.Value = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.Value = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Value to be a JSON Number, got %T instead", value) + } - sv.Type = types.AgentStatusType(jtv) } default: @@ -20511,7 +23441,7 @@ func awsRestjson1_deserializeDocumentAgentStatus(v **types.AgentStatus, value in return nil } -func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentCurrentMetricDataCollections(v *[]types.CurrentMetricData, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20519,54 +23449,62 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AgentStatusSummary + var cv []types.CurrentMetricData if *v == nil { - sv = &types.AgentStatusSummary{} + cv = []types.CurrentMetricData{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } + for _, value := range shape { + var col types.CurrentMetricData + destAddr := &col + if err := awsRestjson1_deserializeDocumentCurrentMetricData(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AgentStatusId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentCurrentMetricResult(v **types.CurrentMetricResult, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.CurrentMetricResult + if *v == nil { + sv = &types.CurrentMetricResult{} + } else { + sv = *v + } - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AgentStatusName to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) + for key, value := range shape { + switch key { + case "Collections": + if err := awsRestjson1_deserializeDocumentCurrentMetricDataCollections(&sv.Collections, value); err != nil { + return err } - case "Type": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AgentStatusType to be of type string, got %T instead", value) - } - sv.Type = types.AgentStatusType(jtv) + case "Dimensions": + if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { + return err } default: @@ -20578,7 +23516,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummary(v **types.AgentStatusSum return nil } -func awsRestjson1_deserializeDocumentAgentStatusSummaryList(v *[]types.AgentStatusSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentCurrentMetricResults(v *[]types.CurrentMetricResult, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20591,17 +23529,17 @@ func awsRestjson1_deserializeDocumentAgentStatusSummaryList(v *[]types.AgentStat return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.AgentStatusSummary + var cv []types.CurrentMetricResult if *v == nil { - cv = []types.AgentStatusSummary{} + cv = []types.CurrentMetricResult{} } else { cv = *v } for _, value := range shape { - var col types.AgentStatusSummary + var col types.CurrentMetricResult destAddr := &col - if err := awsRestjson1_deserializeDocumentAgentStatusSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentCurrentMetricResult(&destAddr, value); err != nil { return err } col = *destAddr @@ -20612,7 +23550,7 @@ func awsRestjson1_deserializeDocumentAgentStatusSummaryList(v *[]types.AgentStat return nil } -func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentReference, value interface{}) error { +func awsRestjson1_deserializeDocumentDateReference(v **types.DateReference, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20625,9 +23563,9 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AttachmentReference + var sv *types.DateReference if *v == nil { - sv = &types.AttachmentReference{} + sv = &types.DateReference{} } else { sv = *v } @@ -20643,15 +23581,6 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef sv.Name = ptr.String(jtv) } - case "Status": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ReferenceStatus to be of type string, got %T instead", value) - } - sv.Status = types.ReferenceStatus(jtv) - } - case "Value": if value != nil { jtv, ok := value.(string) @@ -20670,7 +23599,7 @@ func awsRestjson1_deserializeDocumentAttachmentReference(v **types.AttachmentRef return nil } -func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interface{}) error { +func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabulary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20683,113 +23612,61 @@ func awsRestjson1_deserializeDocumentAttribute(v **types.Attribute, value interf return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.Attribute + var sv *types.DefaultVocabulary if *v == nil { - sv = &types.Attribute{} + sv = &types.DefaultVocabulary{} } else { sv = *v } for key, value := range shape { switch key { - case "AttributeType": + case "InstanceId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected InstanceAttributeType to be of type string, got %T instead", value) + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) } - sv.AttributeType = types.InstanceAttributeType(jtv) + sv.InstanceId = ptr.String(jtv) } - case "Value": + case "LanguageCode": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected InstanceAttributeValue to be of type string, got %T instead", value) + return fmt.Errorf("expected VocabularyLanguageCode to be of type string, got %T instead", value) } - sv.Value = ptr.String(jtv) + sv.LanguageCode = types.VocabularyLanguageCode(jtv) } - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentAttributes(v *map[string]string, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var mv map[string]string - if *v == nil { - mv = map[string]string{} - } else { - mv = *v - } - - for key, value := range shape { - var parsedVal string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AttributeValue to be of type string, got %T instead", value) + case "VocabularyId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected VocabularyId to be of type string, got %T instead", value) + } + sv.VocabularyId = ptr.String(jtv) } - parsedVal = jtv - } - mv[key] = parsedVal - - } - *v = mv - return nil -} - -func awsRestjson1_deserializeDocumentAttributesList(v *[]types.Attribute, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + case "VocabularyName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected VocabularyName to be of type string, got %T instead", value) + } + sv.VocabularyName = ptr.String(jtv) + } - var cv []types.Attribute - if *v == nil { - cv = []types.Attribute{} - } else { - cv = *v - } + default: + _, _ = key, value - for _, value := range shape { - var col types.Attribute - destAddr := &col - if err := awsRestjson1_deserializeDocumentAttribute(&destAddr, value); err != nil { - return err } - col = *destAddr - cv = append(cv, col) - } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentAvailableNumbersList(v *[]types.AvailableNumberSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentDefaultVocabularyList(v *[]types.DefaultVocabulary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20802,17 +23679,17 @@ func awsRestjson1_deserializeDocumentAvailableNumbersList(v *[]types.AvailableNu return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.AvailableNumberSummary + var cv []types.DefaultVocabulary if *v == nil { - cv = []types.AvailableNumberSummary{} + cv = []types.DefaultVocabulary{} } else { cv = *v } for _, value := range shape { - var col types.AvailableNumberSummary + var col types.DefaultVocabulary destAddr := &col - if err := awsRestjson1_deserializeDocumentAvailableNumberSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentDefaultVocabulary(&destAddr, value); err != nil { return err } col = *destAddr @@ -20823,7 +23700,7 @@ func awsRestjson1_deserializeDocumentAvailableNumbersList(v *[]types.AvailableNu return nil } -func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableNumberSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.DestinationNotAllowedException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20836,40 +23713,22 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AvailableNumberSummary + var sv *types.DestinationNotAllowedException if *v == nil { - sv = &types.AvailableNumberSummary{} + sv = &types.DestinationNotAllowedException{} } else { sv = *v } for key, value := range shape { switch key { - case "PhoneNumber": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) - } - sv.PhoneNumber = ptr.String(jtv) - } - - case "PhoneNumberCountryCode": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) - } - sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) - } - - case "PhoneNumberType": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) + return fmt.Errorf("expected Message to be of type string, got %T instead", value) } - sv.PhoneNumberType = types.PhoneNumberType(jtv) + sv.Message = ptr.String(jtv) } default: @@ -20881,7 +23740,7 @@ func awsRestjson1_deserializeDocumentAvailableNumberSummary(v **types.AvailableN return nil } -func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.ClaimedPhoneNumberSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20894,88 +23753,29 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ClaimedPhoneNumberSummary + var sv *types.Dimensions if *v == nil { - sv = &types.ClaimedPhoneNumberSummary{} + sv = &types.Dimensions{} } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "PhoneNumber": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) - } - sv.PhoneNumber = ptr.String(jtv) - } - - case "PhoneNumberArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.PhoneNumberArn = ptr.String(jtv) - } - - case "PhoneNumberCountryCode": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) - } - sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) - } - - case "PhoneNumberDescription": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumberDescription to be of type string, got %T instead", value) - } - sv.PhoneNumberDescription = ptr.String(jtv) - } - - case "PhoneNumberId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) - } - sv.PhoneNumberId = ptr.String(jtv) - } - - case "PhoneNumberStatus": - if err := awsRestjson1_deserializeDocumentPhoneNumberStatus(&sv.PhoneNumberStatus, value); err != nil { - return err - } + sv = *v + } - case "PhoneNumberType": + for key, value := range shape { + switch key { + case "Channel": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) + return fmt.Errorf("expected Channel to be of type string, got %T instead", value) } - sv.PhoneNumberType = types.PhoneNumberType(jtv) + sv.Channel = types.Channel(jtv) } - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + case "Queue": + if err := awsRestjson1_deserializeDocumentQueueReference(&sv.Queue, value); err != nil { return err } - case "TargetArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.TargetArn = ptr.String(jtv) - } - default: _, _ = key, value @@ -20985,7 +23785,7 @@ func awsRestjson1_deserializeDocumentClaimedPhoneNumberSummary(v **types.Claimed return nil } -func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{}) error { +func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.DuplicateResourceException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -20998,171 +23798,168 @@ func awsRestjson1_deserializeDocumentContact(v **types.Contact, value interface{ return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.Contact + var sv *types.DuplicateResourceException if *v == nil { - sv = &types.Contact{} + sv = &types.DuplicateResourceException{} } else { sv = *v } for key, value := range shape { switch key { - case "AgentInfo": - if err := awsRestjson1_deserializeDocumentAgentInfo(&sv.AgentInfo, value); err != nil { - return err - } - - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "Channel": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Channel to be of type string, got %T instead", value) + return fmt.Errorf("expected Message to be of type string, got %T instead", value) } - sv.Channel = types.Channel(jtv) + sv.Message = ptr.String(jtv) } - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Description to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } + default: + _, _ = key, value - case "DisconnectTimestamp": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.DisconnectTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + } + } + *v = sv + return nil +} - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) +func awsRestjson1_deserializeDocumentEmailReference(v **types.EmailReference, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } - } - } + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } + var sv *types.EmailReference + if *v == nil { + sv = &types.EmailReference{} + } else { + sv = *v + } - case "InitialContactId": + for key, value := range shape { + switch key { + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + return fmt.Errorf("expected ReferenceKey to be of type string, got %T instead", value) } - sv.InitialContactId = ptr.String(jtv) + sv.Name = ptr.String(jtv) } - case "InitiationMethod": + case "Value": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactInitiationMethod to be of type string, got %T instead", value) + return fmt.Errorf("expected ReferenceValue to be of type string, got %T instead", value) } - sv.InitiationMethod = types.ContactInitiationMethod(jtv) + sv.Value = ptr.String(jtv) } - case "InitiationTimestamp": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.InitiationTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + default: + _, _ = key, value - } - } + } + } + *v = sv + return nil +} - case "LastUpdateTimestamp": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.LastUpdateTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) +func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } - } - } + var sv *types.EncryptionConfig + if *v == nil { + sv = &types.EncryptionConfig{} + } else { + sv = *v + } - case "Name": + for key, value := range shape { + switch key { + case "EncryptionType": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Name to be of type string, got %T instead", value) + return fmt.Errorf("expected EncryptionType to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.EncryptionType = types.EncryptionType(jtv) } - case "PreviousContactId": + case "KeyId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactId to be of type string, got %T instead", value) + return fmt.Errorf("expected KeyId to be of type string, got %T instead", value) } - sv.PreviousContactId = ptr.String(jtv) + sv.KeyId = ptr.String(jtv) } - case "QueueInfo": - if err := awsRestjson1_deserializeDocumentQueueInfo(&sv.QueueInfo, value); err != nil { - return err - } + default: + _, _ = key, value - case "ScheduledTimestamp": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.ScheduledTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) + } + } + *v = sv + return nil +} - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) +func awsRestjson1_deserializeDocumentFunctionArnsList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } - } - } + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } - default: - _, _ = key, value + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FunctionArn to be of type string, got %T instead", value) + } + col = jtv } + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21175,9 +23972,9 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ContactFlow + var sv *types.HierarchyGroup if *v == nil { - sv = &types.ContactFlow{} + sv = &types.HierarchyGroup{} } else { sv = *v } @@ -21192,50 +23989,37 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in } sv.Arn = ptr.String(jtv) } - - case "Content": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowContent to be of type string, got %T instead", value) - } - sv.Content = ptr.String(jtv) - } - - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowDescription to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) + + case "HierarchyPath": + if err := awsRestjson1_deserializeDocumentHierarchyPath(&sv.HierarchyPath, value); err != nil { + return err } case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyGroupId to be of type string, got %T instead", value) } sv.Id = ptr.String(jtv) } - case "Name": + case "LevelId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowName to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyLevelId to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.LevelId = ptr.String(jtv) } - case "State": + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowState to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyGroupName to be of type string, got %T instead", value) } - sv.State = types.ContactFlowState(jtv) + sv.Name = ptr.String(jtv) } case "Tags": @@ -21243,15 +24027,6 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in return err } - case "Type": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowType to be of type string, got %T instead", value) - } - sv.Type = types.ContactFlowType(jtv) - } - default: _, _ = key, value @@ -21261,7 +24036,7 @@ func awsRestjson1_deserializeDocumentContactFlow(v **types.ContactFlow, value in return nil } -func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModule, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGroupSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21274,9 +24049,9 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ContactFlowModule + var sv *types.HierarchyGroupSummary if *v == nil { - sv = &types.ContactFlowModule{} + sv = &types.HierarchyGroupSummary{} } else { sv = *v } @@ -21292,29 +24067,11 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu sv.Arn = ptr.String(jtv) } - case "Content": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowModuleContent to be of type string, got %T instead", value) - } - sv.Content = ptr.String(jtv) - } - - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowModuleDescription to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } - case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowModuleId to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyGroupId to be of type string, got %T instead", value) } sv.Id = ptr.String(jtv) } @@ -21323,34 +24080,11 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowModuleName to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyGroupName to be of type string, got %T instead", value) } sv.Name = ptr.String(jtv) } - case "State": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowModuleState to be of type string, got %T instead", value) - } - sv.State = types.ContactFlowModuleState(jtv) - } - - case "Status": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowModuleStatus to be of type string, got %T instead", value) - } - sv.Status = types.ContactFlowModuleStatus(jtv) - } - - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { - return err - } - default: _, _ = key, value @@ -21360,7 +24094,7 @@ func awsRestjson1_deserializeDocumentContactFlowModule(v **types.ContactFlowModu return nil } -func awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(v *[]types.ContactFlowModuleSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyGroupSummaryList(v *[]types.HierarchyGroupSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21373,17 +24107,17 @@ func awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(v *[]types.Co return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.ContactFlowModuleSummary + var cv []types.HierarchyGroupSummary if *v == nil { - cv = []types.ContactFlowModuleSummary{} + cv = []types.HierarchyGroupSummary{} } else { cv = *v } for _, value := range shape { - var col types.ContactFlowModuleSummary + var col types.HierarchyGroupSummary destAddr := &col - if err := awsRestjson1_deserializeDocumentContactFlowModuleSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&destAddr, value); err != nil { return err } col = *destAddr @@ -21394,7 +24128,7 @@ func awsRestjson1_deserializeDocumentContactFlowModulesSummaryList(v *[]types.Co return nil } -func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactFlowModuleSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(v **types.HierarchyGroupSummaryReference, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21407,9 +24141,9 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ContactFlowModuleSummary + var sv *types.HierarchyGroupSummaryReference if *v == nil { - sv = &types.ContactFlowModuleSummary{} + sv = &types.HierarchyGroupSummaryReference{} } else { sv = *v } @@ -21429,69 +24163,11 @@ func awsRestjson1_deserializeDocumentContactFlowModuleSummary(v **types.ContactF if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowModuleId to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyGroupId to be of type string, got %T instead", value) } sv.Id = ptr.String(jtv) } - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowModuleName to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) - } - - case "State": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowModuleState to be of type string, got %T instead", value) - } - sv.State = types.ContactFlowModuleState(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types.ContactFlowNotPublishedException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.ContactFlowNotPublishedException - if *v == nil { - sv = &types.ContactFlowNotPublishedException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - default: _, _ = key, value @@ -21501,7 +24177,7 @@ func awsRestjson1_deserializeDocumentContactFlowNotPublishedException(v **types. return nil } -func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21514,9 +24190,9 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ContactFlowSummary + var sv *types.HierarchyLevel if *v == nil { - sv = &types.ContactFlowSummary{} + sv = &types.HierarchyLevel{} } else { sv = *v } @@ -21532,29 +24208,11 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum sv.Arn = ptr.String(jtv) } - case "ContactFlowState": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowState to be of type string, got %T instead", value) - } - sv.ContactFlowState = types.ContactFlowState(jtv) - } - - case "ContactFlowType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowType to be of type string, got %T instead", value) - } - sv.ContactFlowType = types.ContactFlowType(jtv) - } - case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyLevelId to be of type string, got %T instead", value) } sv.Id = ptr.String(jtv) } @@ -21563,7 +24221,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowName to be of type string, got %T instead", value) + return fmt.Errorf("expected HierarchyLevelName to be of type string, got %T instead", value) } sv.Name = ptr.String(jtv) } @@ -21577,7 +24235,7 @@ func awsRestjson1_deserializeDocumentContactFlowSummary(v **types.ContactFlowSum return nil } -func awsRestjson1_deserializeDocumentContactFlowSummaryList(v *[]types.ContactFlowSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyPath(v **types.HierarchyPath, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21585,33 +24243,55 @@ func awsRestjson1_deserializeDocumentContactFlowSummaryList(v *[]types.ContactFl return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.ContactFlowSummary + var sv *types.HierarchyPath if *v == nil { - cv = []types.ContactFlowSummary{} + sv = &types.HierarchyPath{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col types.ContactFlowSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentContactFlowSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) + for key, value := range shape { + switch key { + case "LevelFive": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFive, value); err != nil { + return err + } + + case "LevelFour": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFour, value); err != nil { + return err + } + + case "LevelOne": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelOne, value); err != nil { + return err + } + + case "LevelThree": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelThree, value); err != nil { + return err + } + + case "LevelTwo": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelTwo, value); err != nil { + return err + } + + default: + _, _ = key, value + } } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactNotFoundException, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyPathReference(v **types.HierarchyPathReference, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21624,22 +24304,38 @@ func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactN return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ContactNotFoundException + var sv *types.HierarchyPathReference if *v == nil { - sv = &types.ContactNotFoundException{} + sv = &types.HierarchyPathReference{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) + case "LevelFive": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelFive, value); err != nil { + return err + } + + case "LevelFour": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelFour, value); err != nil { + return err + } + + case "LevelOne": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelOne, value); err != nil { + return err + } + + case "LevelThree": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelThree, value); err != nil { + return err + } + + case "LevelTwo": + if err := awsRestjson1_deserializeDocumentHierarchyGroupSummaryReference(&sv.LevelTwo, value); err != nil { + return err } default: @@ -21651,7 +24347,7 @@ func awsRestjson1_deserializeDocumentContactNotFoundException(v **types.ContactN return nil } -func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value interface{}) error { +func awsRestjson1_deserializeDocumentHierarchyStructure(v **types.HierarchyStructure, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21664,63 +24360,38 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.Credentials + var sv *types.HierarchyStructure if *v == nil { - sv = &types.Credentials{} + sv = &types.HierarchyStructure{} } else { sv = *v } for key, value := range shape { switch key { - case "AccessToken": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityToken to be of type string, got %T instead", value) - } - sv.AccessToken = ptr.String(jtv) + case "LevelFive": + if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFive, value); err != nil { + return err } - case "AccessTokenExpiration": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.AccessTokenExpiration = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) - - } + case "LevelFour": + if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFour, value); err != nil { + return err } - case "RefreshToken": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityToken to be of type string, got %T instead", value) - } - sv.RefreshToken = ptr.String(jtv) + case "LevelOne": + if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelOne, value); err != nil { + return err } - case "RefreshTokenExpiration": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.RefreshTokenExpiration = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + case "LevelThree": + if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelThree, value); err != nil { + return err + } - } + case "LevelTwo": + if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelTwo, value); err != nil { + return err } default: @@ -21732,7 +24403,7 @@ func awsRestjson1_deserializeDocumentCredentials(v **types.Credentials, value in return nil } -func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, value interface{}) error { +func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21745,9 +24416,9 @@ func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, valu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.CurrentMetric + var sv *types.HistoricalMetric if *v == nil { - sv = &types.CurrentMetric{} + sv = &types.HistoricalMetric{} } else { sv = *v } @@ -21758,9 +24429,23 @@ func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, valu if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected CurrentMetricName to be of type string, got %T instead", value) + return fmt.Errorf("expected HistoricalMetricName to be of type string, got %T instead", value) } - sv.Name = types.CurrentMetricName(jtv) + sv.Name = types.HistoricalMetricName(jtv) + } + + case "Statistic": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Statistic to be of type string, got %T instead", value) + } + sv.Statistic = types.Statistic(jtv) + } + + case "Threshold": + if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { + return err } case "Unit": @@ -21781,7 +24466,7 @@ func awsRestjson1_deserializeDocumentCurrentMetric(v **types.CurrentMetric, valu return nil } -func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricData, value interface{}) error { +func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMetricData, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21794,9 +24479,9 @@ func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricDa return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.CurrentMetricData + var sv *types.HistoricalMetricData if *v == nil { - sv = &types.CurrentMetricData{} + sv = &types.HistoricalMetricData{} } else { sv = *v } @@ -21804,7 +24489,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricDa for key, value := range shape { switch key { case "Metric": - if err := awsRestjson1_deserializeDocumentCurrentMetric(&sv.Metric, value); err != nil { + if err := awsRestjson1_deserializeDocumentHistoricalMetric(&sv.Metric, value); err != nil { return err } @@ -21851,7 +24536,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricData(v **types.CurrentMetricDa return nil } -func awsRestjson1_deserializeDocumentCurrentMetricDataCollections(v *[]types.CurrentMetricData, value interface{}) error { +func awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(v *[]types.HistoricalMetricData, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21864,17 +24549,17 @@ func awsRestjson1_deserializeDocumentCurrentMetricDataCollections(v *[]types.Cur return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.CurrentMetricData + var cv []types.HistoricalMetricData if *v == nil { - cv = []types.CurrentMetricData{} + cv = []types.HistoricalMetricData{} } else { cv = *v } for _, value := range shape { - var col types.CurrentMetricData + var col types.HistoricalMetricData destAddr := &col - if err := awsRestjson1_deserializeDocumentCurrentMetricData(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentHistoricalMetricData(&destAddr, value); err != nil { return err } col = *destAddr @@ -21885,7 +24570,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricDataCollections(v *[]types.Cur return nil } -func awsRestjson1_deserializeDocumentCurrentMetricResult(v **types.CurrentMetricResult, value interface{}) error { +func awsRestjson1_deserializeDocumentHistoricalMetricResult(v **types.HistoricalMetricResult, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21898,9 +24583,9 @@ func awsRestjson1_deserializeDocumentCurrentMetricResult(v **types.CurrentMetric return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.CurrentMetricResult + var sv *types.HistoricalMetricResult if *v == nil { - sv = &types.CurrentMetricResult{} + sv = &types.HistoricalMetricResult{} } else { sv = *v } @@ -21908,7 +24593,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricResult(v **types.CurrentMetric for key, value := range shape { switch key { case "Collections": - if err := awsRestjson1_deserializeDocumentCurrentMetricDataCollections(&sv.Collections, value); err != nil { + if err := awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(&sv.Collections, value); err != nil { return err } @@ -21926,7 +24611,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricResult(v **types.CurrentMetric return nil } -func awsRestjson1_deserializeDocumentCurrentMetricResults(v *[]types.CurrentMetricResult, value interface{}) error { +func awsRestjson1_deserializeDocumentHistoricalMetricResults(v *[]types.HistoricalMetricResult, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21939,17 +24624,17 @@ func awsRestjson1_deserializeDocumentCurrentMetricResults(v *[]types.CurrentMetr return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.CurrentMetricResult + var cv []types.HistoricalMetricResult if *v == nil { - cv = []types.CurrentMetricResult{} + cv = []types.HistoricalMetricResult{} } else { cv = *v } for _, value := range shape { - var col types.CurrentMetricResult + var col types.HistoricalMetricResult destAddr := &col - if err := awsRestjson1_deserializeDocumentCurrentMetricResult(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentHistoricalMetricResult(&destAddr, value); err != nil { return err } col = *destAddr @@ -21960,7 +24645,7 @@ func awsRestjson1_deserializeDocumentCurrentMetricResults(v *[]types.CurrentMetr return nil } -func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabulary, value interface{}) error { +func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -21973,49 +24658,68 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.DefaultVocabulary + var sv *types.HoursOfOperation if *v == nil { - sv = &types.DefaultVocabulary{} + sv = &types.HoursOfOperation{} } else { sv = *v } for key, value := range shape { switch key { - case "InstanceId": + case "Config": + if err := awsRestjson1_deserializeDocumentHoursOfOperationConfigList(&sv.Config, value); err != nil { + return err + } + + case "Description": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) + return fmt.Errorf("expected HoursOfOperationDescription to be of type string, got %T instead", value) } - sv.InstanceId = ptr.String(jtv) + sv.Description = ptr.String(jtv) } - case "LanguageCode": + case "HoursOfOperationArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected VocabularyLanguageCode to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.LanguageCode = types.VocabularyLanguageCode(jtv) + sv.HoursOfOperationArn = ptr.String(jtv) } - case "VocabularyId": + case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected VocabularyId to be of type string, got %T instead", value) + return fmt.Errorf("expected HoursOfOperationId to be of type string, got %T instead", value) } - sv.VocabularyId = ptr.String(jtv) + sv.HoursOfOperationId = ptr.String(jtv) } - case "VocabularyName": + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected VocabularyName to be of type string, got %T instead", value) + return fmt.Errorf("expected CommonNameLength127 to be of type string, got %T instead", value) } - sv.VocabularyName = ptr.String(jtv) + sv.Name = ptr.String(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + case "TimeZone": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TimeZone to be of type string, got %T instead", value) + } + sv.TimeZone = ptr.String(jtv) } default: @@ -22027,7 +24731,7 @@ func awsRestjson1_deserializeDocumentDefaultVocabulary(v **types.DefaultVocabula return nil } -func awsRestjson1_deserializeDocumentDefaultVocabularyList(v *[]types.DefaultVocabulary, value interface{}) error { +func awsRestjson1_deserializeDocumentHoursOfOperationConfig(v **types.HoursOfOperationConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22035,33 +24739,49 @@ func awsRestjson1_deserializeDocumentDefaultVocabularyList(v *[]types.DefaultVoc return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.DefaultVocabulary + var sv *types.HoursOfOperationConfig if *v == nil { - cv = []types.DefaultVocabulary{} + sv = &types.HoursOfOperationConfig{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col types.DefaultVocabulary - destAddr := &col - if err := awsRestjson1_deserializeDocumentDefaultVocabulary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) + for key, value := range shape { + switch key { + case "Day": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HoursOfOperationDays to be of type string, got %T instead", value) + } + sv.Day = types.HoursOfOperationDays(jtv) + } + + case "EndTime": + if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.EndTime, value); err != nil { + return err + } + + case "StartTime": + if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.StartTime, value); err != nil { + return err + } + + default: + _, _ = key, value + } } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.DestinationNotAllowedException, value interface{}) error { +func awsRestjson1_deserializeDocumentHoursOfOperationConfigList(v *[]types.HoursOfOperationConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22069,39 +24789,33 @@ func awsRestjson1_deserializeDocumentDestinationNotAllowedException(v **types.De return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.DestinationNotAllowedException + var cv []types.HoursOfOperationConfig if *v == nil { - sv = &types.DestinationNotAllowedException{} + cv = []types.HoursOfOperationConfig{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - + for _, value := range shape { + var col types.HoursOfOperationConfig + destAddr := &col + if err := awsRestjson1_deserializeDocumentHoursOfOperationConfig(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value interface{}) error { +func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOperationSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22114,27 +24828,40 @@ func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value inte return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.Dimensions + var sv *types.HoursOfOperationSummary if *v == nil { - sv = &types.Dimensions{} + sv = &types.HoursOfOperationSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "Channel": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Channel to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Channel = types.Channel(jtv) + sv.Arn = ptr.String(jtv) } - case "Queue": - if err := awsRestjson1_deserializeDocumentQueueReference(&sv.Queue, value); err != nil { - return err + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HoursOfOperationId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HoursOfOperationName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) } default: @@ -22146,7 +24873,7 @@ func awsRestjson1_deserializeDocumentDimensions(v **types.Dimensions, value inte return nil } -func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.DuplicateResourceException, value interface{}) error { +func awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(v *[]types.HoursOfOperationSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22154,39 +24881,33 @@ func awsRestjson1_deserializeDocumentDuplicateResourceException(v **types.Duplic return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.DuplicateResourceException + var cv []types.HoursOfOperationSummary if *v == nil { - sv = &types.DuplicateResourceException{} + cv = []types.HoursOfOperationSummary{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - + for _, value := range shape { + var col types.HoursOfOperationSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentHoursOfOperationSummary(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOfOperationTimeSlice, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22199,31 +24920,39 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.EncryptionConfig + var sv *types.HoursOfOperationTimeSlice if *v == nil { - sv = &types.EncryptionConfig{} + sv = &types.HoursOfOperationTimeSlice{} } else { sv = *v } for key, value := range shape { switch key { - case "EncryptionType": + case "Hours": if value != nil { - jtv, ok := value.(string) + jtv, ok := value.(json.Number) if !ok { - return fmt.Errorf("expected EncryptionType to be of type string, got %T instead", value) + return fmt.Errorf("expected Hours24Format to be json.Number, got %T instead", value) } - sv.EncryptionType = types.EncryptionType(jtv) + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Hours = int32(i64) } - case "KeyId": + case "Minutes": if value != nil { - jtv, ok := value.(string) + jtv, ok := value.(json.Number) if !ok { - return fmt.Errorf("expected KeyId to be of type string, got %T instead", value) + return fmt.Errorf("expected MinutesLimit60 to be json.Number, got %T instead", value) } - sv.KeyId = ptr.String(jtv) + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Minutes = int32(i64) } default: @@ -22235,7 +24964,7 @@ func awsRestjson1_deserializeDocumentEncryptionConfig(v **types.EncryptionConfig return nil } -func awsRestjson1_deserializeDocumentFunctionArnsList(v *[]string, value interface{}) error { +func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22243,35 +24972,39 @@ func awsRestjson1_deserializeDocumentFunctionArnsList(v *[]string, value interfa return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []string + var sv *types.IdempotencyException if *v == nil { - cv = []string{} + sv = &types.IdempotencyException{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FunctionArn to be of type string, got %T instead", value) + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) } - col = jtv - } - cv = append(cv, col) + default: + _, _ = key, value + + } } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, value interface{}) error { +func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22284,9 +25017,9 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HierarchyGroup + var sv *types.Instance if *v == nil { - sv = &types.HierarchyGroup{} + sv = &types.Instance{} } else { sv = *v } @@ -22302,145 +25035,100 @@ func awsRestjson1_deserializeDocumentHierarchyGroup(v **types.HierarchyGroup, va sv.Arn = ptr.String(jtv) } - case "HierarchyPath": - if err := awsRestjson1_deserializeDocumentHierarchyPath(&sv.HierarchyPath, value); err != nil { - return err + case "CreatedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } } case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected HierarchyGroupId to be of type string, got %T instead", value) + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) } sv.Id = ptr.String(jtv) } - case "LevelId": + case "IdentityManagementType": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected HierarchyLevelId to be of type string, got %T instead", value) + return fmt.Errorf("expected DirectoryType to be of type string, got %T instead", value) } - sv.LevelId = ptr.String(jtv) + sv.IdentityManagementType = types.DirectoryType(jtv) } - case "Name": + case "InboundCallsEnabled": if value != nil { - jtv, ok := value.(string) + jtv, ok := value.(bool) if !ok { - return fmt.Errorf("expected HierarchyGroupName to be of type string, got %T instead", value) + return fmt.Errorf("expected InboundCallsEnabled to be of type *bool, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.InboundCallsEnabled = ptr.Bool(jtv) } - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { - return err + case "InstanceAlias": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DirectoryAlias to be of type string, got %T instead", value) + } + sv.InstanceAlias = ptr.String(jtv) } - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentHierarchyGroupSummary(v **types.HierarchyGroupSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.HierarchyGroupSummary - if *v == nil { - sv = &types.HierarchyGroupSummary{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Arn": + case "InstanceStatus": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected InstanceStatus to be of type string, got %T instead", value) } - sv.Arn = ptr.String(jtv) + sv.InstanceStatus = types.InstanceStatus(jtv) } - case "Id": + case "OutboundCallsEnabled": if value != nil { - jtv, ok := value.(string) + jtv, ok := value.(bool) if !ok { - return fmt.Errorf("expected HierarchyGroupId to be of type string, got %T instead", value) + return fmt.Errorf("expected OutboundCallsEnabled to be of type *bool, got %T instead", value) } - sv.Id = ptr.String(jtv) + sv.OutboundCallsEnabled = ptr.Bool(jtv) } - case "Name": + case "ServiceRole": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected HierarchyGroupName to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.ServiceRole = ptr.String(jtv) } - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentHierarchyGroupSummaryList(v *[]types.HierarchyGroupSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + case "StatusReason": + if err := awsRestjson1_deserializeDocumentInstanceStatusReason(&sv.StatusReason, value); err != nil { + return err + } - var cv []types.HierarchyGroupSummary - if *v == nil { - cv = []types.HierarchyGroupSummary{} - } else { - cv = *v - } + default: + _, _ = key, value - for _, value := range shape { - var col types.HierarchyGroupSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&destAddr, value); err != nil { - return err } - col = *destAddr - cv = append(cv, col) - } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, value interface{}) error { +func awsRestjson1_deserializeDocumentInstanceStatusReason(v **types.InstanceStatusReason, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22453,40 +25141,22 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HierarchyLevel + var sv *types.InstanceStatusReason if *v == nil { - sv = &types.HierarchyLevel{} + sv = &types.InstanceStatusReason{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected HierarchyLevelId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } - - case "Name": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected HierarchyLevelName to be of type string, got %T instead", value) + return fmt.Errorf("expected String to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.Message = ptr.String(jtv) } default: @@ -22498,7 +25168,7 @@ func awsRestjson1_deserializeDocumentHierarchyLevel(v **types.HierarchyLevel, va return nil } -func awsRestjson1_deserializeDocumentHierarchyPath(v **types.HierarchyPath, value interface{}) error { +func awsRestjson1_deserializeDocumentInstanceStorageConfig(v **types.InstanceStorageConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22511,40 +25181,53 @@ func awsRestjson1_deserializeDocumentHierarchyPath(v **types.HierarchyPath, valu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HierarchyPath + var sv *types.InstanceStorageConfig if *v == nil { - sv = &types.HierarchyPath{} + sv = &types.InstanceStorageConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "LevelFive": - if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFive, value); err != nil { - return err + case "AssociationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AssociationId to be of type string, got %T instead", value) + } + sv.AssociationId = ptr.String(jtv) } - case "LevelFour": - if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelFour, value); err != nil { + case "KinesisFirehoseConfig": + if err := awsRestjson1_deserializeDocumentKinesisFirehoseConfig(&sv.KinesisFirehoseConfig, value); err != nil { return err } - case "LevelOne": - if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelOne, value); err != nil { + case "KinesisStreamConfig": + if err := awsRestjson1_deserializeDocumentKinesisStreamConfig(&sv.KinesisStreamConfig, value); err != nil { return err } - case "LevelThree": - if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelThree, value); err != nil { + case "KinesisVideoStreamConfig": + if err := awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(&sv.KinesisVideoStreamConfig, value); err != nil { return err } - case "LevelTwo": - if err := awsRestjson1_deserializeDocumentHierarchyGroupSummary(&sv.LevelTwo, value); err != nil { + case "S3Config": + if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { return err } + case "StorageType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected StorageType to be of type string, got %T instead", value) + } + sv.StorageType = types.StorageType(jtv) + } + default: _, _ = key, value @@ -22554,7 +25237,7 @@ func awsRestjson1_deserializeDocumentHierarchyPath(v **types.HierarchyPath, valu return nil } -func awsRestjson1_deserializeDocumentHierarchyStructure(v **types.HierarchyStructure, value interface{}) error { +func awsRestjson1_deserializeDocumentInstanceStorageConfigs(v *[]types.InstanceStorageConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22562,55 +25245,33 @@ func awsRestjson1_deserializeDocumentHierarchyStructure(v **types.HierarchyStruc return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HierarchyStructure + var cv []types.InstanceStorageConfig if *v == nil { - sv = &types.HierarchyStructure{} + cv = []types.InstanceStorageConfig{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "LevelFive": - if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFive, value); err != nil { - return err - } - - case "LevelFour": - if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelFour, value); err != nil { - return err - } - - case "LevelOne": - if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelOne, value); err != nil { - return err - } - - case "LevelThree": - if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelThree, value); err != nil { - return err - } - - case "LevelTwo": - if err := awsRestjson1_deserializeDocumentHierarchyLevel(&sv.LevelTwo, value); err != nil { - return err - } - - default: - _, _ = key, value - + for _, value := range shape { + var col types.InstanceStorageConfig + destAddr := &col + if err := awsRestjson1_deserializeDocumentInstanceStorageConfig(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric, value interface{}) error { +func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22623,45 +25284,101 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HistoricalMetric + var sv *types.InstanceSummary if *v == nil { - sv = &types.HistoricalMetric{} + sv = &types.InstanceSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "Name": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected HistoricalMetricName to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Name = types.HistoricalMetricName(jtv) + sv.Arn = ptr.String(jtv) } - case "Statistic": + case "CreatedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Statistic to be of type string, got %T instead", value) + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) } - sv.Statistic = types.Statistic(jtv) + sv.Id = ptr.String(jtv) } - case "Threshold": - if err := awsRestjson1_deserializeDocumentThreshold(&sv.Threshold, value); err != nil { - return err + case "IdentityManagementType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DirectoryType to be of type string, got %T instead", value) + } + sv.IdentityManagementType = types.DirectoryType(jtv) } - case "Unit": + case "InboundCallsEnabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected InboundCallsEnabled to be of type *bool, got %T instead", value) + } + sv.InboundCallsEnabled = ptr.Bool(jtv) + } + + case "InstanceAlias": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Unit to be of type string, got %T instead", value) + return fmt.Errorf("expected DirectoryAlias to be of type string, got %T instead", value) } - sv.Unit = types.Unit(jtv) + sv.InstanceAlias = ptr.String(jtv) + } + + case "InstanceStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceStatus to be of type string, got %T instead", value) + } + sv.InstanceStatus = types.InstanceStatus(jtv) + } + + case "OutboundCallsEnabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected OutboundCallsEnabled to be of type *bool, got %T instead", value) + } + sv.OutboundCallsEnabled = ptr.Bool(jtv) + } + + case "ServiceRole": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.ServiceRole = ptr.String(jtv) } default: @@ -22673,7 +25390,41 @@ func awsRestjson1_deserializeDocumentHistoricalMetric(v **types.HistoricalMetric return nil } -func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMetricData, value interface{}) error { +func awsRestjson1_deserializeDocumentInstanceSummaryList(v *[]types.InstanceSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.InstanceSummary + if *v == nil { + cv = []types.InstanceSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.InstanceSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentInstanceSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.IntegrationAssociationSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22686,52 +25437,85 @@ func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMe return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HistoricalMetricData + var sv *types.IntegrationAssociationSummary if *v == nil { - sv = &types.HistoricalMetricData{} + sv = &types.IntegrationAssociationSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "Metric": - if err := awsRestjson1_deserializeDocumentHistoricalMetric(&sv.Metric, value); err != nil { - return err + case "InstanceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) + } + sv.InstanceId = ptr.String(jtv) } - case "Value": + case "IntegrationArn": if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.Value = ptr.Float64(f64) - - case string: - var f64 float64 - switch { - case strings.EqualFold(jtv, "NaN"): - f64 = math.NaN() + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.IntegrationArn = ptr.String(jtv) + } - case strings.EqualFold(jtv, "Infinity"): - f64 = math.Inf(1) + case "IntegrationAssociationArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.IntegrationAssociationArn = ptr.String(jtv) + } - case strings.EqualFold(jtv, "-Infinity"): - f64 = math.Inf(-1) + case "IntegrationAssociationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IntegrationAssociationId to be of type string, got %T instead", value) + } + sv.IntegrationAssociationId = ptr.String(jtv) + } - default: - return fmt.Errorf("unknown JSON number value: %s", jtv) + case "IntegrationType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IntegrationType to be of type string, got %T instead", value) + } + sv.IntegrationType = types.IntegrationType(jtv) + } - } - sv.Value = ptr.Float64(f64) + case "SourceApplicationName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SourceApplicationName to be of type string, got %T instead", value) + } + sv.SourceApplicationName = ptr.String(jtv) + } - default: - return fmt.Errorf("expected Value to be a JSON Number, got %T instead", value) + case "SourceApplicationUrl": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected URI to be of type string, got %T instead", value) + } + sv.SourceApplicationUrl = ptr.String(jtv) + } + case "SourceType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SourceType to be of type string, got %T instead", value) } + sv.SourceType = types.SourceType(jtv) } default: @@ -22743,7 +25527,7 @@ func awsRestjson1_deserializeDocumentHistoricalMetricData(v **types.HistoricalMe return nil } -func awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(v *[]types.HistoricalMetricData, value interface{}) error { +func awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(v *[]types.IntegrationAssociationSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22756,17 +25540,17 @@ func awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(v *[]types. return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.HistoricalMetricData + var cv []types.IntegrationAssociationSummary if *v == nil { - cv = []types.HistoricalMetricData{} + cv = []types.IntegrationAssociationSummary{} } else { cv = *v } for _, value := range shape { - var col types.HistoricalMetricData + var col types.IntegrationAssociationSummary destAddr := &col - if err := awsRestjson1_deserializeDocumentHistoricalMetricData(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentIntegrationAssociationSummary(&destAddr, value); err != nil { return err } col = *destAddr @@ -22777,7 +25561,7 @@ func awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(v *[]types. return nil } -func awsRestjson1_deserializeDocumentHistoricalMetricResult(v **types.HistoricalMetricResult, value interface{}) error { +func awsRestjson1_deserializeDocumentInternalServiceException(v **types.InternalServiceException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22790,23 +25574,22 @@ func awsRestjson1_deserializeDocumentHistoricalMetricResult(v **types.Historical return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HistoricalMetricResult + var sv *types.InternalServiceException if *v == nil { - sv = &types.HistoricalMetricResult{} + sv = &types.InternalServiceException{} } else { sv = *v } for key, value := range shape { switch key { - case "Collections": - if err := awsRestjson1_deserializeDocumentHistoricalMetricDataCollections(&sv.Collections, value); err != nil { - return err - } - - case "Dimensions": - if err := awsRestjson1_deserializeDocumentDimensions(&sv.Dimensions, value); err != nil { - return err + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) } default: @@ -22818,7 +25601,7 @@ func awsRestjson1_deserializeDocumentHistoricalMetricResult(v **types.Historical return nil } -func awsRestjson1_deserializeDocumentHistoricalMetricResults(v *[]types.HistoricalMetricResult, value interface{}) error { +func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.InvalidContactFlowException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22826,33 +25609,35 @@ func awsRestjson1_deserializeDocumentHistoricalMetricResults(v *[]types.Historic return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.HistoricalMetricResult + var sv *types.InvalidContactFlowException if *v == nil { - cv = []types.HistoricalMetricResult{} + sv = &types.InvalidContactFlowException{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col types.HistoricalMetricResult - destAddr := &col - if err := awsRestjson1_deserializeDocumentHistoricalMetricResult(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) + for key, value := range shape { + switch key { + case "problems": + if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { + return err + } + default: + _, _ = key, value + + } } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation, value interface{}) error { +func awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(v **types.InvalidContactFlowModuleException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22865,70 +25650,20 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HoursOfOperation + var sv *types.InvalidContactFlowModuleException if *v == nil { - sv = &types.HoursOfOperation{} + sv = &types.InvalidContactFlowModuleException{} } else { sv = *v } for key, value := range shape { switch key { - case "Config": - if err := awsRestjson1_deserializeDocumentHoursOfOperationConfigList(&sv.Config, value); err != nil { - return err - } - - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected HoursOfOperationDescription to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } - - case "HoursOfOperationArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.HoursOfOperationArn = ptr.String(jtv) - } - - case "HoursOfOperationId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected HoursOfOperationId to be of type string, got %T instead", value) - } - sv.HoursOfOperationId = ptr.String(jtv) - } - - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected CommonNameLength127 to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) - } - - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + case "Problems": + if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { return err } - case "TimeZone": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected TimeZone to be of type string, got %T instead", value) - } - sv.TimeZone = ptr.String(jtv) - } - default: _, _ = key, value @@ -22938,7 +25673,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperation(v **types.HoursOfOperation return nil } -func awsRestjson1_deserializeDocumentHoursOfOperationConfig(v **types.HoursOfOperationConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.InvalidParameterException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22951,32 +25686,22 @@ func awsRestjson1_deserializeDocumentHoursOfOperationConfig(v **types.HoursOfOpe return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HoursOfOperationConfig + var sv *types.InvalidParameterException if *v == nil { - sv = &types.HoursOfOperationConfig{} + sv = &types.InvalidParameterException{} } else { sv = *v } for key, value := range shape { switch key { - case "Day": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected HoursOfOperationDays to be of type string, got %T instead", value) + return fmt.Errorf("expected Message to be of type string, got %T instead", value) } - sv.Day = types.HoursOfOperationDays(jtv) - } - - case "EndTime": - if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.EndTime, value); err != nil { - return err - } - - case "StartTime": - if err := awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(&sv.StartTime, value); err != nil { - return err + sv.Message = ptr.String(jtv) } default: @@ -22988,7 +25713,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationConfig(v **types.HoursOfOpe return nil } -func awsRestjson1_deserializeDocumentHoursOfOperationConfigList(v *[]types.HoursOfOperationConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRequestException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -22996,33 +25721,39 @@ func awsRestjson1_deserializeDocumentHoursOfOperationConfigList(v *[]types.Hours return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.HoursOfOperationConfig + var sv *types.InvalidRequestException if *v == nil { - cv = []types.HoursOfOperationConfig{} + sv = &types.InvalidRequestException{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col types.HoursOfOperationConfig - destAddr := &col - if err := awsRestjson1_deserializeDocumentHoursOfOperationConfig(&destAddr, value); err != nil { - return err + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + } - col = *destAddr - cv = append(cv, col) - } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOperationSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentInvisibleFieldInfo(v **types.InvisibleFieldInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23035,40 +25766,18 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HoursOfOperationSummary + var sv *types.InvisibleFieldInfo if *v == nil { - sv = &types.HoursOfOperationSummary{} + sv = &types.InvisibleFieldInfo{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected HoursOfOperationId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } - - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected HoursOfOperationName to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) + if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { + return err } default: @@ -23080,7 +25789,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummary(v **types.HoursOfOp return nil } -func awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(v *[]types.HoursOfOperationSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentInvisibleTaskTemplateFields(v *[]types.InvisibleFieldInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23093,17 +25802,17 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(v *[]types.Hour return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.HoursOfOperationSummary + var cv []types.InvisibleFieldInfo if *v == nil { - cv = []types.HoursOfOperationSummary{} + cv = []types.InvisibleFieldInfo{} } else { cv = *v } for _, value := range shape { - var col types.HoursOfOperationSummary + var col types.InvisibleFieldInfo destAddr := &col - if err := awsRestjson1_deserializeDocumentHoursOfOperationSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentInvisibleFieldInfo(&destAddr, value); err != nil { return err } col = *destAddr @@ -23114,7 +25823,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationSummaryList(v *[]types.Hour return nil } -func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOfOperationTimeSlice, value interface{}) error { +func awsRestjson1_deserializeDocumentKinesisFirehoseConfig(v **types.KinesisFirehoseConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23127,39 +25836,22 @@ func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOf return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.HoursOfOperationTimeSlice + var sv *types.KinesisFirehoseConfig if *v == nil { - sv = &types.HoursOfOperationTimeSlice{} + sv = &types.KinesisFirehoseConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "Hours": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected Hours24Format to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.Hours = int32(i64) - } - - case "Minutes": + case "FirehoseArn": if value != nil { - jtv, ok := value.(json.Number) + jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected MinutesLimit60 to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Minutes = int32(i64) + sv.FirehoseArn = ptr.String(jtv) } default: @@ -23171,7 +25863,7 @@ func awsRestjson1_deserializeDocumentHoursOfOperationTimeSlice(v **types.HoursOf return nil } -func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyException, value interface{}) error { +func awsRestjson1_deserializeDocumentKinesisStreamConfig(v **types.KinesisStreamConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23184,22 +25876,22 @@ func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyE return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.IdempotencyException + var sv *types.KinesisStreamConfig if *v == nil { - sv = &types.IdempotencyException{} + sv = &types.KinesisStreamConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "StreamArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.StreamArn = ptr.String(jtv) } default: @@ -23211,7 +25903,7 @@ func awsRestjson1_deserializeDocumentIdempotencyException(v **types.IdempotencyE return nil } -func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interface{}) error { +func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisVideoStreamConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23224,106 +25916,40 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.Instance + var sv *types.KinesisVideoStreamConfig if *v == nil { - sv = &types.Instance{} + sv = &types.KinesisVideoStreamConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) - - } - } - - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } - - case "IdentityManagementType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DirectoryType to be of type string, got %T instead", value) - } - sv.IdentityManagementType = types.DirectoryType(jtv) - } - - case "InboundCallsEnabled": - if value != nil { - jtv, ok := value.(bool) - if !ok { - return fmt.Errorf("expected InboundCallsEnabled to be of type *bool, got %T instead", value) - } - sv.InboundCallsEnabled = ptr.Bool(jtv) - } - - case "InstanceAlias": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DirectoryAlias to be of type string, got %T instead", value) - } - sv.InstanceAlias = ptr.String(jtv) + case "EncryptionConfig": + if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { + return err } - case "InstanceStatus": + case "Prefix": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected InstanceStatus to be of type string, got %T instead", value) + return fmt.Errorf("expected Prefix to be of type string, got %T instead", value) } - sv.InstanceStatus = types.InstanceStatus(jtv) + sv.Prefix = ptr.String(jtv) } - case "OutboundCallsEnabled": + case "RetentionPeriodHours": if value != nil { - jtv, ok := value.(bool) + jtv, ok := value.(json.Number) if !ok { - return fmt.Errorf("expected OutboundCallsEnabled to be of type *bool, got %T instead", value) + return fmt.Errorf("expected Hours to be json.Number, got %T instead", value) } - sv.OutboundCallsEnabled = ptr.Bool(jtv) - } - - case "ServiceRole": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + i64, err := jtv.Int64() + if err != nil { + return err } - sv.ServiceRole = ptr.String(jtv) - } - - case "StatusReason": - if err := awsRestjson1_deserializeDocumentInstanceStatusReason(&sv.StatusReason, value); err != nil { - return err + sv.RetentionPeriodHours = int32(i64) } default: @@ -23335,7 +25961,7 @@ func awsRestjson1_deserializeDocumentInstance(v **types.Instance, value interfac return nil } -func awsRestjson1_deserializeDocumentInstanceStatusReason(v **types.InstanceStatusReason, value interface{}) error { +func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23348,22 +25974,31 @@ func awsRestjson1_deserializeDocumentInstanceStatusReason(v **types.InstanceStat return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InstanceStatusReason + var sv *types.LexBot if *v == nil { - sv = &types.InstanceStatusReason{} + sv = &types.LexBot{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "LexRegion": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected LexRegion to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.LexRegion = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected BotName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) } default: @@ -23375,7 +26010,7 @@ func awsRestjson1_deserializeDocumentInstanceStatusReason(v **types.InstanceStat return nil } -func awsRestjson1_deserializeDocumentInstanceStorageConfig(v **types.InstanceStorageConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentLexBotConfig(v **types.LexBotConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23388,63 +26023,69 @@ func awsRestjson1_deserializeDocumentInstanceStorageConfig(v **types.InstanceSto return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InstanceStorageConfig + var sv *types.LexBotConfig if *v == nil { - sv = &types.InstanceStorageConfig{} + sv = &types.LexBotConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "AssociationId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AssociationId to be of type string, got %T instead", value) - } - sv.AssociationId = ptr.String(jtv) - } - - case "KinesisFirehoseConfig": - if err := awsRestjson1_deserializeDocumentKinesisFirehoseConfig(&sv.KinesisFirehoseConfig, value); err != nil { + case "LexBot": + if err := awsRestjson1_deserializeDocumentLexBot(&sv.LexBot, value); err != nil { return err } - case "KinesisStreamConfig": - if err := awsRestjson1_deserializeDocumentKinesisStreamConfig(&sv.KinesisStreamConfig, value); err != nil { + case "LexV2Bot": + if err := awsRestjson1_deserializeDocumentLexV2Bot(&sv.LexV2Bot, value); err != nil { return err } - case "KinesisVideoStreamConfig": - if err := awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(&sv.KinesisVideoStreamConfig, value); err != nil { - return err - } + default: + _, _ = key, value - case "S3Config": - if err := awsRestjson1_deserializeDocumentS3Config(&sv.S3Config, value); err != nil { - return err - } + } + } + *v = sv + return nil +} - case "StorageType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected StorageType to be of type string, got %T instead", value) - } - sv.StorageType = types.StorageType(jtv) - } +func awsRestjson1_deserializeDocumentLexBotConfigList(v *[]types.LexBotConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } - default: - _, _ = key, value + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + var cv []types.LexBotConfig + if *v == nil { + cv = []types.LexBotConfig{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.LexBotConfig + destAddr := &col + if err := awsRestjson1_deserializeDocumentLexBotConfig(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentInstanceStorageConfigs(v *[]types.InstanceStorageConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentLexBotsList(v *[]types.LexBot, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23457,17 +26098,17 @@ func awsRestjson1_deserializeDocumentInstanceStorageConfigs(v *[]types.InstanceS return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.InstanceStorageConfig + var cv []types.LexBot if *v == nil { - cv = []types.InstanceStorageConfig{} + cv = []types.LexBot{} } else { cv = *v } for _, value := range shape { - var col types.InstanceStorageConfig + var col types.LexBot destAddr := &col - if err := awsRestjson1_deserializeDocumentInstanceStorageConfig(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentLexBot(&destAddr, value); err != nil { return err } col = *destAddr @@ -23478,7 +26119,7 @@ func awsRestjson1_deserializeDocumentInstanceStorageConfigs(v *[]types.InstanceS return nil } -func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentLexV2Bot(v **types.LexV2Bot, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23491,101 +26132,22 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InstanceSummary + var sv *types.LexV2Bot if *v == nil { - sv = &types.InstanceSummary{} + sv = &types.LexV2Bot{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) - - } - } - - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } - - case "IdentityManagementType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DirectoryType to be of type string, got %T instead", value) - } - sv.IdentityManagementType = types.DirectoryType(jtv) - } - - case "InboundCallsEnabled": - if value != nil { - jtv, ok := value.(bool) - if !ok { - return fmt.Errorf("expected InboundCallsEnabled to be of type *bool, got %T instead", value) - } - sv.InboundCallsEnabled = ptr.Bool(jtv) - } - - case "InstanceAlias": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DirectoryAlias to be of type string, got %T instead", value) - } - sv.InstanceAlias = ptr.String(jtv) - } - - case "InstanceStatus": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected InstanceStatus to be of type string, got %T instead", value) - } - sv.InstanceStatus = types.InstanceStatus(jtv) - } - - case "OutboundCallsEnabled": - if value != nil { - jtv, ok := value.(bool) - if !ok { - return fmt.Errorf("expected OutboundCallsEnabled to be of type *bool, got %T instead", value) - } - sv.OutboundCallsEnabled = ptr.Bool(jtv) - } - - case "ServiceRole": + case "AliasArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected AliasArn to be of type string, got %T instead", value) } - sv.ServiceRole = ptr.String(jtv) + sv.AliasArn = ptr.String(jtv) } default: @@ -23597,7 +26159,7 @@ func awsRestjson1_deserializeDocumentInstanceSummary(v **types.InstanceSummary, return nil } -func awsRestjson1_deserializeDocumentInstanceSummaryList(v *[]types.InstanceSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExceededException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23605,33 +26167,39 @@ func awsRestjson1_deserializeDocumentInstanceSummaryList(v *[]types.InstanceSumm return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.InstanceSummary + var sv *types.LimitExceededException if *v == nil { - cv = []types.InstanceSummary{} + sv = &types.LimitExceededException{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col types.InstanceSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentInstanceSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + } } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.IntegrationAssociationSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhoneNumbersSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23644,85 +26212,67 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.IntegrationAssociationSummary + var sv *types.ListPhoneNumbersSummary if *v == nil { - sv = &types.IntegrationAssociationSummary{} + sv = &types.ListPhoneNumbersSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "InstanceId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) - } - sv.InstanceId = ptr.String(jtv) - } - - case "IntegrationArn": + case "PhoneNumber": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) } - sv.IntegrationArn = ptr.String(jtv) + sv.PhoneNumber = ptr.String(jtv) } - case "IntegrationAssociationArn": + case "PhoneNumberArn": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.IntegrationAssociationArn = ptr.String(jtv) - } - - case "IntegrationAssociationId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected IntegrationAssociationId to be of type string, got %T instead", value) - } - sv.IntegrationAssociationId = ptr.String(jtv) + sv.PhoneNumberArn = ptr.String(jtv) } - case "IntegrationType": + case "PhoneNumberCountryCode": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected IntegrationType to be of type string, got %T instead", value) + return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) } - sv.IntegrationType = types.IntegrationType(jtv) + sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) } - case "SourceApplicationName": + case "PhoneNumberId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected SourceApplicationName to be of type string, got %T instead", value) + return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) } - sv.SourceApplicationName = ptr.String(jtv) + sv.PhoneNumberId = ptr.String(jtv) } - case "SourceApplicationUrl": + case "PhoneNumberType": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected URI to be of type string, got %T instead", value) + return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) } - sv.SourceApplicationUrl = ptr.String(jtv) + sv.PhoneNumberType = types.PhoneNumberType(jtv) } - case "SourceType": + case "TargetArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected SourceType to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.SourceType = types.SourceType(jtv) + sv.TargetArn = ptr.String(jtv) } default: @@ -23734,7 +26284,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummary(v **types.Int return nil } -func awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(v *[]types.IntegrationAssociationSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentListPhoneNumbersSummaryList(v *[]types.ListPhoneNumbersSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23747,17 +26297,51 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(v *[]type return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.IntegrationAssociationSummary + var cv []types.ListPhoneNumbersSummary + if *v == nil { + cv = []types.ListPhoneNumbersSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ListPhoneNumbersSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentListPhoneNumbersSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentMediaConcurrencies(v *[]types.MediaConcurrency, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.MediaConcurrency if *v == nil { - cv = []types.IntegrationAssociationSummary{} + cv = []types.MediaConcurrency{} } else { cv = *v } for _, value := range shape { - var col types.IntegrationAssociationSummary + var col types.MediaConcurrency destAddr := &col - if err := awsRestjson1_deserializeDocumentIntegrationAssociationSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentMediaConcurrency(&destAddr, value); err != nil { return err } col = *destAddr @@ -23768,7 +26352,7 @@ func awsRestjson1_deserializeDocumentIntegrationAssociationSummaryList(v *[]type return nil } -func awsRestjson1_deserializeDocumentInternalServiceException(v **types.InternalServiceException, value interface{}) error { +func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23781,22 +26365,35 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InternalServiceException + var sv *types.MediaConcurrency if *v == nil { - sv = &types.InternalServiceException{} + sv = &types.MediaConcurrency{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "Channel": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) + return fmt.Errorf("expected Channel to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.Channel = types.Channel(jtv) + } + + case "Concurrency": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Concurrency to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Concurrency = int32(i64) } default: @@ -23808,7 +26405,7 @@ func awsRestjson1_deserializeDocumentInternalServiceException(v **types.Internal return nil } -func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.InvalidContactFlowException, value interface{}) error { +func awsRestjson1_deserializeDocumentNumberReference(v **types.NumberReference, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23821,18 +26418,31 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.Inval return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InvalidContactFlowException + var sv *types.NumberReference if *v == nil { - sv = &types.InvalidContactFlowException{} + sv = &types.NumberReference{} } else { sv = *v } for key, value := range shape { switch key { - case "problems": - if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { - return err + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReferenceKey to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "Value": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReferenceValue to be of type string, got %T instead", value) + } + sv.Value = ptr.String(jtv) } default: @@ -23844,7 +26454,7 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowException(v **types.Inval return nil } -func awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(v **types.InvalidContactFlowModuleException, value interface{}) error { +func awsRestjson1_deserializeDocumentOriginsList(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23852,35 +26462,35 @@ func awsRestjson1_deserializeDocumentInvalidContactFlowModuleException(v **types return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InvalidContactFlowModuleException + var cv []string if *v == nil { - sv = &types.InvalidContactFlowModuleException{} + cv = []string{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "Problems": - if err := awsRestjson1_deserializeDocumentProblems(&sv.Problems, value); err != nil { - return err + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Origin to be of type string, got %T instead", value) } - - default: - _, _ = key, value - + col = jtv } + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.InvalidParameterException, value interface{}) error { +func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCallerConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23893,22 +26503,40 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InvalidParameterException + var sv *types.OutboundCallerConfig if *v == nil { - sv = &types.InvalidParameterException{} + sv = &types.OutboundCallerConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "OutboundCallerIdName": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) + return fmt.Errorf("expected OutboundCallerIdName to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.OutboundCallerIdName = ptr.String(jtv) + } + + case "OutboundCallerIdNumberId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) + } + sv.OutboundCallerIdNumberId = ptr.String(jtv) + } + + case "OutboundFlowId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + } + sv.OutboundFlowId = ptr.String(jtv) } default: @@ -23920,7 +26548,7 @@ func awsRestjson1_deserializeDocumentInvalidParameterException(v **types.Invalid return nil } -func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRequestException, value interface{}) error { +func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **types.OutboundContactNotPermittedException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23933,9 +26561,9 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InvalidRequestException + var sv *types.OutboundContactNotPermittedException if *v == nil { - sv = &types.InvalidRequestException{} + sv = &types.OutboundContactNotPermittedException{} } else { sv = *v } @@ -23960,7 +26588,43 @@ func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRe return nil } -func awsRestjson1_deserializeDocumentKinesisFirehoseConfig(v **types.KinesisFirehoseConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentPermissionsList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SecurityProfilePermission to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(v **types.PhoneNumberQuickConnectConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -23973,22 +26637,22 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseConfig(v **types.KinesisFire return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.KinesisFirehoseConfig + var sv *types.PhoneNumberQuickConnectConfig if *v == nil { - sv = &types.KinesisFirehoseConfig{} + sv = &types.PhoneNumberQuickConnectConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "FirehoseArn": + case "PhoneNumber": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) } - sv.FirehoseArn = ptr.String(jtv) + sv.PhoneNumber = ptr.String(jtv) } default: @@ -24000,7 +26664,7 @@ func awsRestjson1_deserializeDocumentKinesisFirehoseConfig(v **types.KinesisFire return nil } -func awsRestjson1_deserializeDocumentKinesisStreamConfig(v **types.KinesisStreamConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStatus, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24013,22 +26677,31 @@ func awsRestjson1_deserializeDocumentKinesisStreamConfig(v **types.KinesisStream return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.KinesisStreamConfig + var sv *types.PhoneNumberStatus if *v == nil { - sv = &types.KinesisStreamConfig{} + sv = &types.PhoneNumberStatus{} } else { sv = *v } for key, value := range shape { switch key { - case "StreamArn": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected PhoneNumberWorkflowMessage to be of type string, got %T instead", value) } - sv.StreamArn = ptr.String(jtv) + sv.Message = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberWorkflowStatus to be of type string, got %T instead", value) + } + sv.Status = types.PhoneNumberWorkflowStatus(jtv) } default: @@ -24040,7 +26713,7 @@ func awsRestjson1_deserializeDocumentKinesisStreamConfig(v **types.KinesisStream return nil } -func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisVideoStreamConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24053,52 +26726,104 @@ func awsRestjson1_deserializeDocumentKinesisVideoStreamConfig(v **types.KinesisV return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.KinesisVideoStreamConfig + var sv *types.PhoneNumberSummary if *v == nil { - sv = &types.KinesisVideoStreamConfig{} + sv = &types.PhoneNumberSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "EncryptionConfig": - if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { - return err + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) } - case "Prefix": + case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Prefix to be of type string, got %T instead", value) + return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) } - sv.Prefix = ptr.String(jtv) + sv.Id = ptr.String(jtv) } - case "RetentionPeriodHours": + case "PhoneNumber": if value != nil { - jtv, ok := value.(json.Number) + jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Hours to be json.Number, got %T instead", value) + return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) } - i64, err := jtv.Int64() - if err != nil { - return err + sv.PhoneNumber = ptr.String(jtv) + } + + case "PhoneNumberCountryCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) } - sv.RetentionPeriodHours = int32(i64) + sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) + } + + case "PhoneNumberType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) + } + sv.PhoneNumberType = types.PhoneNumberType(jtv) } - default: - _, _ = key, value + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentPhoneNumberSummaryList(v *[]types.PhoneNumberSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.PhoneNumberSummary + if *v == nil { + cv = []types.PhoneNumberSummary{} + } else { + cv = *v + } + for _, value := range shape { + var col types.PhoneNumberSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentPhoneNumberSummary(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) error { +func awsRestjson1_deserializeDocumentProblemDetail(v **types.ProblemDetail, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24111,31 +26836,22 @@ func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.LexBot + var sv *types.ProblemDetail if *v == nil { - sv = &types.LexBot{} + sv = &types.ProblemDetail{} } else { sv = *v } for key, value := range shape { switch key { - case "LexRegion": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LexRegion to be of type string, got %T instead", value) - } - sv.LexRegion = ptr.String(jtv) - } - - case "Name": + case "message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected BotName to be of type string, got %T instead", value) + return fmt.Errorf("expected ProblemMessageString to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.Message = ptr.String(jtv) } default: @@ -24147,7 +26863,7 @@ func awsRestjson1_deserializeDocumentLexBot(v **types.LexBot, value interface{}) return nil } -func awsRestjson1_deserializeDocumentLexBotConfig(v **types.LexBotConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentProblems(v *[]types.ProblemDetail, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24155,40 +26871,33 @@ func awsRestjson1_deserializeDocumentLexBotConfig(v **types.LexBotConfig, value return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.LexBotConfig + var cv []types.ProblemDetail if *v == nil { - sv = &types.LexBotConfig{} + cv = []types.ProblemDetail{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "LexBot": - if err := awsRestjson1_deserializeDocumentLexBot(&sv.LexBot, value); err != nil { - return err - } - - case "LexV2Bot": - if err := awsRestjson1_deserializeDocumentLexV2Bot(&sv.LexV2Bot, value); err != nil { - return err - } - - default: - _, _ = key, value - + for _, value := range shape { + var col types.ProblemDetail + destAddr := &col + if err := awsRestjson1_deserializeDocumentProblemDetail(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentLexBotConfigList(v *[]types.LexBotConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24196,33 +26905,57 @@ func awsRestjson1_deserializeDocumentLexBotConfigList(v *[]types.LexBotConfig, v return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.LexBotConfig + var sv *types.PromptSummary if *v == nil { - cv = []types.LexBotConfig{} + sv = &types.PromptSummary{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col types.LexBotConfig - destAddr := &col - if err := awsRestjson1_deserializeDocumentLexBotConfig(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PromptId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PromptName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + default: + _, _ = key, value + + } } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentLexBotsList(v *[]types.LexBot, value interface{}) error { +func awsRestjson1_deserializeDocumentPromptSummaryList(v *[]types.PromptSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24235,17 +26968,17 @@ func awsRestjson1_deserializeDocumentLexBotsList(v *[]types.LexBot, value interf return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.LexBot + var cv []types.PromptSummary if *v == nil { - cv = []types.LexBot{} + cv = []types.PromptSummary{} } else { cv = *v } for _, value := range shape { - var col types.LexBot + var col types.PromptSummary destAddr := &col - if err := awsRestjson1_deserializeDocumentLexBot(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentPromptSummary(&destAddr, value); err != nil { return err } col = *destAddr @@ -24256,7 +26989,7 @@ func awsRestjson1_deserializeDocumentLexBotsList(v *[]types.LexBot, value interf return nil } -func awsRestjson1_deserializeDocumentLexV2Bot(v **types.LexV2Bot, value interface{}) error { +func awsRestjson1_deserializeDocumentPropertyValidationException(v **types.PropertyValidationException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24269,22 +27002,27 @@ func awsRestjson1_deserializeDocumentLexV2Bot(v **types.LexV2Bot, value interfac return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.LexV2Bot + var sv *types.PropertyValidationException if *v == nil { - sv = &types.LexV2Bot{} + sv = &types.PropertyValidationException{} } else { sv = *v } for key, value := range shape { switch key { - case "AliasArn": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected AliasArn to be of type string, got %T instead", value) + return fmt.Errorf("expected Message to be of type string, got %T instead", value) } - sv.AliasArn = ptr.String(jtv) + sv.Message = ptr.String(jtv) + } + + case "PropertyList": + if err := awsRestjson1_deserializeDocumentPropertyValidationExceptionPropertyList(&sv.PropertyList, value); err != nil { + return err } default: @@ -24296,7 +27034,7 @@ func awsRestjson1_deserializeDocumentLexV2Bot(v **types.LexV2Bot, value interfac return nil } -func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExceededException, value interface{}) error { +func awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(v **types.PropertyValidationExceptionProperty, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24309,9 +27047,9 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.LimitExceededException + var sv *types.PropertyValidationExceptionProperty if *v == nil { - sv = &types.LimitExceededException{} + sv = &types.PropertyValidationExceptionProperty{} } else { sv = *v } @@ -24327,6 +27065,24 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee sv.Message = ptr.String(jtv) } + case "PropertyPath": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.PropertyPath = ptr.String(jtv) + } + + case "Reason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PropertyValidationExceptionReason to be of type string, got %T instead", value) + } + sv.Reason = types.PropertyValidationExceptionReason(jtv) + } + default: _, _ = key, value @@ -24336,7 +27092,41 @@ func awsRestjson1_deserializeDocumentLimitExceededException(v **types.LimitExcee return nil } -func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhoneNumbersSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentPropertyValidationExceptionPropertyList(v *[]types.PropertyValidationExceptionProperty, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.PropertyValidationExceptionProperty + if *v == nil { + cv = []types.PropertyValidationExceptionProperty{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.PropertyValidationExceptionProperty + destAddr := &col + if err := awsRestjson1_deserializeDocumentPropertyValidationExceptionProperty(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24349,67 +27139,90 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ListPhoneNumbersSummary + var sv *types.Queue if *v == nil { - sv = &types.ListPhoneNumbersSummary{} + sv = &types.Queue{} } else { sv = *v } for key, value := range shape { switch key { - case "PhoneNumber": + case "Description": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) + return fmt.Errorf("expected QueueDescription to be of type string, got %T instead", value) } - sv.PhoneNumber = ptr.String(jtv) + sv.Description = ptr.String(jtv) } - case "PhoneNumberArn": + case "HoursOfOperationId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected HoursOfOperationId to be of type string, got %T instead", value) } - sv.PhoneNumberArn = ptr.String(jtv) + sv.HoursOfOperationId = ptr.String(jtv) } - case "PhoneNumberCountryCode": + case "MaxContacts": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected QueueMaxContacts to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.MaxContacts = int32(i64) + } + + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) + return fmt.Errorf("expected CommonNameLength127 to be of type string, got %T instead", value) } - sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) + sv.Name = ptr.String(jtv) } - case "PhoneNumberId": + case "OutboundCallerConfig": + if err := awsRestjson1_deserializeDocumentOutboundCallerConfig(&sv.OutboundCallerConfig, value); err != nil { + return err + } + + case "QueueArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.PhoneNumberId = ptr.String(jtv) + sv.QueueArn = ptr.String(jtv) } - case "PhoneNumberType": + case "QueueId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) + return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) } - sv.PhoneNumberType = types.PhoneNumberType(jtv) + sv.QueueId = ptr.String(jtv) } - case "TargetArn": + case "Status": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected QueueStatus to be of type string, got %T instead", value) } - sv.TargetArn = ptr.String(jtv) + sv.Status = types.QueueStatus(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err } default: @@ -24421,7 +27234,7 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummary(v **types.ListPhone return nil } -func awsRestjson1_deserializeDocumentListPhoneNumbersSummaryList(v *[]types.ListPhoneNumbersSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24429,67 +27242,55 @@ func awsRestjson1_deserializeDocumentListPhoneNumbersSummaryList(v *[]types.List return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.ListPhoneNumbersSummary + var sv *types.QueueInfo if *v == nil { - cv = []types.ListPhoneNumbersSummary{} + sv = &types.QueueInfo{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col types.ListPhoneNumbersSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentListPhoneNumbersSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) + for key, value := range shape { + switch key { + case "EnqueueTimestamp": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.EnqueueTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) - } - *v = cv - return nil -} + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) -func awsRestjson1_deserializeDocumentMediaConcurrencies(v *[]types.MediaConcurrency, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } + } + } - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } - var cv []types.MediaConcurrency - if *v == nil { - cv = []types.MediaConcurrency{} - } else { - cv = *v - } + default: + _, _ = key, value - for _, value := range shape { - var col types.MediaConcurrency - destAddr := &col - if err := awsRestjson1_deserializeDocumentMediaConcurrency(&destAddr, value); err != nil { - return err } - col = *destAddr - cv = append(cv, col) - } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency, value interface{}) error { +func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuickConnectConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24502,35 +27303,31 @@ func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.MediaConcurrency + var sv *types.QueueQuickConnectConfig if *v == nil { - sv = &types.MediaConcurrency{} + sv = &types.QueueQuickConnectConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "Channel": + case "ContactFlowId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Channel to be of type string, got %T instead", value) + return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) } - sv.Channel = types.Channel(jtv) + sv.ContactFlowId = ptr.String(jtv) } - case "Concurrency": + case "QueueId": if value != nil { - jtv, ok := value.(json.Number) + jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Concurrency to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err + return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) } - sv.Concurrency = int32(i64) + sv.QueueId = ptr.String(jtv) } default: @@ -24542,43 +27339,7 @@ func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency return nil } -func awsRestjson1_deserializeDocumentOriginsList(v *[]string, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []string - if *v == nil { - cv = []string{} - } else { - cv = *v - } - - for _, value := range shape { - var col string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Origin to be of type string, got %T instead", value) - } - col = jtv - } - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCallerConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24591,40 +27352,31 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.OutboundCallerConfig + var sv *types.QueueReference if *v == nil { - sv = &types.OutboundCallerConfig{} + sv = &types.QueueReference{} } else { sv = *v } for key, value := range shape { switch key { - case "OutboundCallerIdName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected OutboundCallerIdName to be of type string, got %T instead", value) - } - sv.OutboundCallerIdName = ptr.String(jtv) - } - - case "OutboundCallerIdNumberId": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.OutboundCallerIdNumberId = ptr.String(jtv) + sv.Arn = ptr.String(jtv) } - case "OutboundFlowId": + case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) + return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) } - sv.OutboundFlowId = ptr.String(jtv) + sv.Id = ptr.String(jtv) } default: @@ -24636,7 +27388,7 @@ func awsRestjson1_deserializeDocumentOutboundCallerConfig(v **types.OutboundCall return nil } -func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **types.OutboundContactNotPermittedException, value interface{}) error { +func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24649,22 +27401,49 @@ func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **ty return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.OutboundContactNotPermittedException + var sv *types.QueueSummary if *v == nil { - sv = &types.OutboundContactNotPermittedException{} + sv = &types.QueueSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.Arn = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "QueueType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueType to be of type string, got %T instead", value) + } + sv.QueueType = types.QueueType(jtv) } default: @@ -24676,7 +27455,7 @@ func awsRestjson1_deserializeDocumentOutboundContactNotPermittedException(v **ty return nil } -func awsRestjson1_deserializeDocumentPermissionsList(v *[]string, value interface{}) error { +func awsRestjson1_deserializeDocumentQueueSummaryList(v *[]types.QueueSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24689,22 +27468,20 @@ func awsRestjson1_deserializeDocumentPermissionsList(v *[]string, value interfac return fmt.Errorf("unexpected JSON type %v", value) } - var cv []string + var cv []types.QueueSummary if *v == nil { - cv = []string{} + cv = []types.QueueSummary{} } else { cv = *v } for _, value := range shape { - var col string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityProfilePermission to be of type string, got %T instead", value) - } - col = jtv + var col types.QueueSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentQueueSummary(&destAddr, value); err != nil { + return err } + col = *destAddr cv = append(cv, col) } @@ -24712,7 +27489,7 @@ func awsRestjson1_deserializeDocumentPermissionsList(v *[]string, value interfac return nil } -func awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(v **types.PhoneNumberQuickConnectConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24720,27 +27497,64 @@ func awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(v **types.Pho return nil } - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.QuickConnect + if *v == nil { + sv = &types.QuickConnect{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QuickConnectDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QuickConnectName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "QuickConnectARN": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.QuickConnectARN = ptr.String(jtv) + } - var sv *types.PhoneNumberQuickConnectConfig - if *v == nil { - sv = &types.PhoneNumberQuickConnectConfig{} - } else { - sv = *v - } + case "QuickConnectConfig": + if err := awsRestjson1_deserializeDocumentQuickConnectConfig(&sv.QuickConnectConfig, value); err != nil { + return err + } - for key, value := range shape { - switch key { - case "PhoneNumber": + case "QuickConnectId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) + return fmt.Errorf("expected QuickConnectId to be of type string, got %T instead", value) } - sv.PhoneNumber = ptr.String(jtv) + sv.QuickConnectId = ptr.String(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err } default: @@ -24752,7 +27566,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(v **types.Pho return nil } -func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStatus, value interface{}) error { +func awsRestjson1_deserializeDocumentQuickConnectConfig(v **types.QuickConnectConfig, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24765,31 +27579,37 @@ func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStat return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.PhoneNumberStatus + var sv *types.QuickConnectConfig if *v == nil { - sv = &types.PhoneNumberStatus{} + sv = &types.QuickConnectConfig{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumberWorkflowMessage to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) + case "PhoneConfig": + if err := awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(&sv.PhoneConfig, value); err != nil { + return err } - case "Status": + case "QueueConfig": + if err := awsRestjson1_deserializeDocumentQueueQuickConnectConfig(&sv.QueueConfig, value); err != nil { + return err + } + + case "QuickConnectType": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberWorkflowStatus to be of type string, got %T instead", value) + return fmt.Errorf("expected QuickConnectType to be of type string, got %T instead", value) } - sv.Status = types.PhoneNumberWorkflowStatus(jtv) + sv.QuickConnectType = types.QuickConnectType(jtv) + } + + case "UserConfig": + if err := awsRestjson1_deserializeDocumentUserQuickConnectConfig(&sv.UserConfig, value); err != nil { + return err } default: @@ -24801,7 +27621,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberStatus(v **types.PhoneNumberStat return nil } -func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24814,9 +27634,9 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.PhoneNumberSummary + var sv *types.QuickConnectSummary if *v == nil { - sv = &types.PhoneNumberSummary{} + sv = &types.QuickConnectSummary{} } else { sv = *v } @@ -24836,36 +27656,27 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberId to be of type string, got %T instead", value) + return fmt.Errorf("expected QuickConnectId to be of type string, got %T instead", value) } sv.Id = ptr.String(jtv) } - case "PhoneNumber": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PhoneNumber to be of type string, got %T instead", value) - } - sv.PhoneNumber = ptr.String(jtv) - } - - case "PhoneNumberCountryCode": + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberCountryCode to be of type string, got %T instead", value) + return fmt.Errorf("expected QuickConnectName to be of type string, got %T instead", value) } - sv.PhoneNumberCountryCode = types.PhoneNumberCountryCode(jtv) + sv.Name = ptr.String(jtv) } - case "PhoneNumberType": + case "QuickConnectType": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PhoneNumberType to be of type string, got %T instead", value) + return fmt.Errorf("expected QuickConnectType to be of type string, got %T instead", value) } - sv.PhoneNumberType = types.PhoneNumberType(jtv) + sv.QuickConnectType = types.QuickConnectType(jtv) } default: @@ -24877,7 +27688,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummary(v **types.PhoneNumberSum return nil } -func awsRestjson1_deserializeDocumentPhoneNumberSummaryList(v *[]types.PhoneNumberSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentQuickConnectSummaryList(v *[]types.QuickConnectSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24890,17 +27701,17 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummaryList(v *[]types.PhoneNumb return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.PhoneNumberSummary + var cv []types.QuickConnectSummary if *v == nil { - cv = []types.PhoneNumberSummary{} + cv = []types.QuickConnectSummary{} } else { cv = *v } for _, value := range shape { - var col types.PhoneNumberSummary + var col types.QuickConnectSummary destAddr := &col - if err := awsRestjson1_deserializeDocumentPhoneNumberSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentQuickConnectSummary(&destAddr, value); err != nil { return err } col = *destAddr @@ -24911,7 +27722,7 @@ func awsRestjson1_deserializeDocumentPhoneNumberSummaryList(v *[]types.PhoneNumb return nil } -func awsRestjson1_deserializeDocumentProblemDetail(v **types.ProblemDetail, value interface{}) error { +func awsRestjson1_deserializeDocumentReadOnlyFieldInfo(v **types.ReadOnlyFieldInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24924,22 +27735,18 @@ func awsRestjson1_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ProblemDetail + var sv *types.ReadOnlyFieldInfo if *v == nil { - sv = &types.ProblemDetail{} + sv = &types.ReadOnlyFieldInfo{} } else { sv = *v } for key, value := range shape { switch key { - case "message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ProblemMessageString to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) + case "Id": + if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { + return err } default: @@ -24951,7 +27758,7 @@ func awsRestjson1_deserializeDocumentProblemDetail(v **types.ProblemDetail, valu return nil } -func awsRestjson1_deserializeDocumentProblems(v *[]types.ProblemDetail, value interface{}) error { +func awsRestjson1_deserializeDocumentReadOnlyTaskTemplateFields(v *[]types.ReadOnlyFieldInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24964,17 +27771,17 @@ func awsRestjson1_deserializeDocumentProblems(v *[]types.ProblemDetail, value in return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.ProblemDetail + var cv []types.ReadOnlyFieldInfo if *v == nil { - cv = []types.ProblemDetail{} + cv = []types.ReadOnlyFieldInfo{} } else { cv = *v } for _, value := range shape { - var col types.ProblemDetail + var col types.ReadOnlyFieldInfo destAddr := &col - if err := awsRestjson1_deserializeDocumentProblemDetail(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentReadOnlyFieldInfo(&destAddr, value); err != nil { return err } col = *destAddr @@ -24985,7 +27792,7 @@ func awsRestjson1_deserializeDocumentProblems(v *[]types.ProblemDetail, value in return nil } -func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentReferenceSummary(v *types.ReferenceSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -24998,40 +27805,140 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.PromptSummary - if *v == nil { - sv = &types.PromptSummary{} - } else { - sv = *v - } - + var uv types.ReferenceSummary +loop: for key, value := range shape { + if value == nil { + continue + } switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) + case "Attachment": + var mv types.AttachmentReference + destAddr := &mv + if err := awsRestjson1_deserializeDocumentAttachmentReference(&destAddr, value); err != nil { + return err } + mv = *destAddr + uv = &types.ReferenceSummaryMemberAttachment{Value: mv} + break loop - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PromptId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) + case "Date": + var mv types.DateReference + destAddr := &mv + if err := awsRestjson1_deserializeDocumentDateReference(&destAddr, value); err != nil { + return err } + mv = *destAddr + uv = &types.ReferenceSummaryMemberDate{Value: mv} + break loop - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PromptName to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) + case "Email": + var mv types.EmailReference + destAddr := &mv + if err := awsRestjson1_deserializeDocumentEmailReference(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.ReferenceSummaryMemberEmail{Value: mv} + break loop + + case "Number": + var mv types.NumberReference + destAddr := &mv + if err := awsRestjson1_deserializeDocumentNumberReference(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.ReferenceSummaryMemberNumber{Value: mv} + break loop + + case "String": + var mv types.StringReference + destAddr := &mv + if err := awsRestjson1_deserializeDocumentStringReference(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.ReferenceSummaryMemberString{Value: mv} + break loop + + case "Url": + var mv types.UrlReference + destAddr := &mv + if err := awsRestjson1_deserializeDocumentUrlReference(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.ReferenceSummaryMemberUrl{Value: mv} + break loop + + default: + uv = &types.UnknownUnionMember{Tag: key} + break loop + + } + } + *v = uv + return nil +} + +func awsRestjson1_deserializeDocumentReferenceSummaryList(v *[]types.ReferenceSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.ReferenceSummary + if *v == nil { + cv = []types.ReferenceSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ReferenceSummary + if err := awsRestjson1_deserializeDocumentReferenceSummary(&col, value); err != nil { + return err + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentRequiredFieldInfo(v **types.RequiredFieldInfo, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.RequiredFieldInfo + if *v == nil { + sv = &types.RequiredFieldInfo{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Id": + if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { + return err } default: @@ -25043,7 +27950,7 @@ func awsRestjson1_deserializeDocumentPromptSummary(v **types.PromptSummary, valu return nil } -func awsRestjson1_deserializeDocumentPromptSummaryList(v *[]types.PromptSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentRequiredTaskTemplateFields(v *[]types.RequiredFieldInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25056,17 +27963,17 @@ func awsRestjson1_deserializeDocumentPromptSummaryList(v *[]types.PromptSummary, return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.PromptSummary + var cv []types.RequiredFieldInfo if *v == nil { - cv = []types.PromptSummary{} + cv = []types.RequiredFieldInfo{} } else { cv = *v } for _, value := range shape { - var col types.PromptSummary + var col types.RequiredFieldInfo destAddr := &col - if err := awsRestjson1_deserializeDocumentPromptSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentRequiredFieldInfo(&destAddr, value); err != nil { return err } col = *destAddr @@ -25077,7 +27984,7 @@ func awsRestjson1_deserializeDocumentPromptSummaryList(v *[]types.PromptSummary, return nil } -func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) error { +func awsRestjson1_deserializeDocumentResourceConflictException(v **types.ResourceConflictException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25090,90 +27997,22 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.Queue + var sv *types.ResourceConflictException if *v == nil { - sv = &types.Queue{} + sv = &types.ResourceConflictException{} } else { sv = *v } for key, value := range shape { switch key { - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected QueueDescription to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } - - case "HoursOfOperationId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected HoursOfOperationId to be of type string, got %T instead", value) - } - sv.HoursOfOperationId = ptr.String(jtv) - } - - case "MaxContacts": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected QueueMaxContacts to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.MaxContacts = int32(i64) - } - - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected CommonNameLength127 to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) - } - - case "OutboundCallerConfig": - if err := awsRestjson1_deserializeDocumentOutboundCallerConfig(&sv.OutboundCallerConfig, value); err != nil { - return err - } - - case "QueueArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.QueueArn = ptr.String(jtv) - } - - case "QueueId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) - } - sv.QueueId = ptr.String(jtv) - } - - case "Status": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueStatus to be of type string, got %T instead", value) + return fmt.Errorf("expected Message to be of type string, got %T instead", value) } - sv.Status = types.QueueStatus(jtv) - } - - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { - return err + sv.Message = ptr.String(jtv) } default: @@ -25185,7 +28024,7 @@ func awsRestjson1_deserializeDocumentQueue(v **types.Queue, value interface{}) e return nil } -func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interface{}) error { +func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceInUseException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25198,38 +28037,40 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.QueueInfo + var sv *types.ResourceInUseException if *v == nil { - sv = &types.QueueInfo{} + sv = &types.ResourceInUseException{} } else { sv = *v } for key, value := range shape { switch key { - case "EnqueueTimestamp": + case "Message": if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.EnqueueTimestamp = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + case "ResourceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } + sv.ResourceId = ptr.String(jtv) } - case "Id": + case "ResourceType": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + return fmt.Errorf("expected ResourceType to be of type string, got %T instead", value) } - sv.Id = ptr.String(jtv) + sv.ResourceType = types.ResourceType(jtv) } default: @@ -25241,7 +28082,7 @@ func awsRestjson1_deserializeDocumentQueueInfo(v **types.QueueInfo, value interf return nil } -func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuickConnectConfig, value interface{}) error { +func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.ResourceNotFoundException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25254,31 +28095,22 @@ func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuic return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.QueueQuickConnectConfig + var sv *types.ResourceNotFoundException if *v == nil { - sv = &types.QueueQuickConnectConfig{} + sv = &types.ResourceNotFoundException{} } else { sv = *v } for key, value := range shape { switch key { - case "ContactFlowId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ContactFlowId to be of type string, got %T instead", value) - } - sv.ContactFlowId = ptr.String(jtv) - } - - case "QueueId": + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + return fmt.Errorf("expected Message to be of type string, got %T instead", value) } - sv.QueueId = ptr.String(jtv) + sv.Message = ptr.String(jtv) } default: @@ -25290,7 +28122,7 @@ func awsRestjson1_deserializeDocumentQueueQuickConnectConfig(v **types.QueueQuic return nil } -func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, value interface{}) error { +func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25303,31 +28135,77 @@ func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, va return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.QueueReference + var sv *types.RoutingProfile if *v == nil { - sv = &types.QueueReference{} + sv = &types.RoutingProfile{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": + case "DefaultOutboundQueueId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + } + sv.DefaultOutboundQueueId = ptr.String(jtv) + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RoutingProfileDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "InstanceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) + } + sv.InstanceId = ptr.String(jtv) + } + + case "MediaConcurrencies": + if err := awsRestjson1_deserializeDocumentMediaConcurrencies(&sv.MediaConcurrencies, value); err != nil { + return err + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RoutingProfileName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "RoutingProfileArn": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Arn = ptr.String(jtv) + sv.RoutingProfileArn = ptr.String(jtv) } - case "Id": + case "RoutingProfileId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + return fmt.Errorf("expected RoutingProfileId to be of type string, got %T instead", value) } - sv.Id = ptr.String(jtv) + sv.RoutingProfileId = ptr.String(jtv) + } + + case "Tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err } default: @@ -25339,7 +28217,7 @@ func awsRestjson1_deserializeDocumentQueueReference(v **types.QueueReference, va return nil } -func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types.RoutingProfileQueueConfigSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25352,49 +28230,75 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.QueueSummary + var sv *types.RoutingProfileQueueConfigSummary if *v == nil { - sv = &types.QueueSummary{} + sv = &types.RoutingProfileQueueConfigSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": + case "Channel": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected Channel to be of type string, got %T instead", value) } - sv.Arn = ptr.String(jtv) + sv.Channel = types.Channel(jtv) } - case "Id": + case "Delay": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Delay to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Delay = int32(i64) + } + + case "Priority": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Priority to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Priority = int32(i64) + } + + case "QueueArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Id = ptr.String(jtv) + sv.QueueArn = ptr.String(jtv) } - case "Name": + case "QueueId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueName to be of type string, got %T instead", value) + return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.QueueId = ptr.String(jtv) } - case "QueueType": + case "QueueName": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueType to be of type string, got %T instead", value) + return fmt.Errorf("expected QueueName to be of type string, got %T instead", value) } - sv.QueueType = types.QueueType(jtv) + sv.QueueName = ptr.String(jtv) } default: @@ -25406,7 +28310,7 @@ func awsRestjson1_deserializeDocumentQueueSummary(v **types.QueueSummary, value return nil } -func awsRestjson1_deserializeDocumentQueueSummaryList(v *[]types.QueueSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(v *[]types.RoutingProfileQueueConfigSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25419,17 +28323,17 @@ func awsRestjson1_deserializeDocumentQueueSummaryList(v *[]types.QueueSummary, v return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.QueueSummary + var cv []types.RoutingProfileQueueConfigSummary if *v == nil { - cv = []types.QueueSummary{} + cv = []types.RoutingProfileQueueConfigSummary{} } else { cv = *v } for _, value := range shape { - var col types.QueueSummary + var col types.RoutingProfileQueueConfigSummary destAddr := &col - if err := awsRestjson1_deserializeDocumentQueueSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(&destAddr, value); err != nil { return err } col = *destAddr @@ -25440,7 +28344,7 @@ func awsRestjson1_deserializeDocumentQueueSummaryList(v *[]types.QueueSummary, v return nil } -func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value interface{}) error { +func awsRestjson1_deserializeDocumentRoutingProfileReference(v **types.RoutingProfileReference, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25453,114 +28357,31 @@ func awsRestjson1_deserializeDocumentQuickConnect(v **types.QuickConnect, value return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.QuickConnect + var sv *types.RoutingProfileReference if *v == nil { - sv = &types.QuickConnect{} + sv = &types.RoutingProfileReference{} } else { sv = *v } for key, value := range shape { switch key { - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected QuickConnectDescription to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } - - case "Name": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected QuickConnectName to be of type string, got %T instead", value) - } - sv.Name = ptr.String(jtv) - } - - case "QuickConnectARN": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.QuickConnectARN = ptr.String(jtv) - } - - case "QuickConnectConfig": - if err := awsRestjson1_deserializeDocumentQuickConnectConfig(&sv.QuickConnectConfig, value); err != nil { - return err - } - - case "QuickConnectId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected QuickConnectId to be of type string, got %T instead", value) - } - sv.QuickConnectId = ptr.String(jtv) - } - - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentQuickConnectConfig(v **types.QuickConnectConfig, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.QuickConnectConfig - if *v == nil { - sv = &types.QuickConnectConfig{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "PhoneConfig": - if err := awsRestjson1_deserializeDocumentPhoneNumberQuickConnectConfig(&sv.PhoneConfig, value); err != nil { - return err - } - - case "QueueConfig": - if err := awsRestjson1_deserializeDocumentQueueQuickConnectConfig(&sv.QueueConfig, value); err != nil { - return err + sv.Arn = ptr.String(jtv) } - case "QuickConnectType": + case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QuickConnectType to be of type string, got %T instead", value) + return fmt.Errorf("expected RoutingProfileId to be of type string, got %T instead", value) } - sv.QuickConnectType = types.QuickConnectType(jtv) - } - - case "UserConfig": - if err := awsRestjson1_deserializeDocumentUserQuickConnectConfig(&sv.UserConfig, value); err != nil { - return err + sv.Id = ptr.String(jtv) } default: @@ -25572,7 +28393,7 @@ func awsRestjson1_deserializeDocumentQuickConnectConfig(v **types.QuickConnectCo return nil } -func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProfileSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25585,9 +28406,9 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.QuickConnectSummary + var sv *types.RoutingProfileSummary if *v == nil { - sv = &types.QuickConnectSummary{} + sv = &types.RoutingProfileSummary{} } else { sv = *v } @@ -25607,7 +28428,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QuickConnectId to be of type string, got %T instead", value) + return fmt.Errorf("expected RoutingProfileId to be of type string, got %T instead", value) } sv.Id = ptr.String(jtv) } @@ -25616,20 +28437,11 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QuickConnectName to be of type string, got %T instead", value) + return fmt.Errorf("expected RoutingProfileName to be of type string, got %T instead", value) } sv.Name = ptr.String(jtv) } - case "QuickConnectType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected QuickConnectType to be of type string, got %T instead", value) - } - sv.QuickConnectType = types.QuickConnectType(jtv) - } - default: _, _ = key, value @@ -25639,7 +28451,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummary(v **types.QuickConnectS return nil } -func awsRestjson1_deserializeDocumentQuickConnectSummaryList(v *[]types.QuickConnectSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentRoutingProfileSummaryList(v *[]types.RoutingProfileSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25652,17 +28464,17 @@ func awsRestjson1_deserializeDocumentQuickConnectSummaryList(v *[]types.QuickCon return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.QuickConnectSummary + var cv []types.RoutingProfileSummary if *v == nil { - cv = []types.QuickConnectSummary{} + cv = []types.RoutingProfileSummary{} } else { cv = *v } for _, value := range shape { - var col types.QuickConnectSummary + var col types.RoutingProfileSummary destAddr := &col - if err := awsRestjson1_deserializeDocumentQuickConnectSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentRoutingProfileSummary(&destAddr, value); err != nil { return err } col = *destAddr @@ -25673,89 +28485,7 @@ func awsRestjson1_deserializeDocumentQuickConnectSummaryList(v *[]types.QuickCon return nil } -func awsRestjson1_deserializeDocumentReferenceSummary(v *types.ReferenceSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var uv types.ReferenceSummary -loop: - for key, value := range shape { - if value == nil { - continue - } - switch key { - case "Attachment": - var mv types.AttachmentReference - destAddr := &mv - if err := awsRestjson1_deserializeDocumentAttachmentReference(&destAddr, value); err != nil { - return err - } - mv = *destAddr - uv = &types.ReferenceSummaryMemberAttachment{Value: mv} - break loop - - case "Url": - var mv types.UrlReference - destAddr := &mv - if err := awsRestjson1_deserializeDocumentUrlReference(&destAddr, value); err != nil { - return err - } - mv = *destAddr - uv = &types.ReferenceSummaryMemberUrl{Value: mv} - break loop - - default: - uv = &types.UnknownUnionMember{Tag: key} - break loop - - } - } - *v = uv - return nil -} - -func awsRestjson1_deserializeDocumentReferenceSummaryList(v *[]types.ReferenceSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []types.ReferenceSummary - if *v == nil { - cv = []types.ReferenceSummary{} - } else { - cv = *v - } - - for _, value := range shape { - var col types.ReferenceSummary - if err := awsRestjson1_deserializeDocumentReferenceSummary(&col, value); err != nil { - return err - } - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentResourceConflictException(v **types.ResourceConflictException, value interface{}) error { +func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25768,22 +28498,36 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ResourceConflictException + var sv *types.S3Config if *v == nil { - sv = &types.ResourceConflictException{} + sv = &types.S3Config{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "BucketName": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) + return fmt.Errorf("expected BucketName to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.BucketName = ptr.String(jtv) + } + + case "BucketPrefix": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Prefix to be of type string, got %T instead", value) + } + sv.BucketPrefix = ptr.String(jtv) + } + + case "EncryptionConfig": + if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { + return err } default: @@ -25795,7 +28539,7 @@ func awsRestjson1_deserializeDocumentResourceConflictException(v **types.Resourc return nil } -func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceInUseException, value interface{}) error { +func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25808,40 +28552,47 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ResourceInUseException + var sv *types.SecurityKey if *v == nil { - sv = &types.ResourceInUseException{} + sv = &types.SecurityKey{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "AssociationId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) + return fmt.Errorf("expected AssociationId to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.AssociationId = ptr.String(jtv) } - case "ResourceId": + case "CreationTime": if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + } - sv.ResourceId = ptr.String(jtv) } - case "ResourceType": + case "Key": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ResourceType to be of type string, got %T instead", value) + return fmt.Errorf("expected PEM to be of type string, got %T instead", value) } - sv.ResourceType = types.ResourceType(jtv) + sv.Key = ptr.String(jtv) } default: @@ -25853,7 +28604,7 @@ func awsRestjson1_deserializeDocumentResourceInUseException(v **types.ResourceIn return nil } -func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.ResourceNotFoundException, value interface{}) error { +func awsRestjson1_deserializeDocumentSecurityKeysList(v *[]types.SecurityKey, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25861,39 +28612,33 @@ func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.Resourc return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ResourceNotFoundException + var cv []types.SecurityKey if *v == nil { - sv = &types.ResourceNotFoundException{} + cv = []types.SecurityKey{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - + for _, value := range shape { + var col types.SecurityKey + destAddr := &col + if err := awsRestjson1_deserializeDocumentSecurityKey(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, value interface{}) error { +func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -25906,72 +28651,58 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.RoutingProfile + var sv *types.SecurityProfile if *v == nil { - sv = &types.RoutingProfile{} + sv = &types.SecurityProfile{} } else { sv = *v } for key, value := range shape { switch key { - case "DefaultOutboundQueueId": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.DefaultOutboundQueueId = ptr.String(jtv) + sv.Arn = ptr.String(jtv) } case "Description": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected RoutingProfileDescription to be of type string, got %T instead", value) + return fmt.Errorf("expected SecurityProfileDescription to be of type string, got %T instead", value) } sv.Description = ptr.String(jtv) } - case "InstanceId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) - } - sv.InstanceId = ptr.String(jtv) - } - - case "MediaConcurrencies": - if err := awsRestjson1_deserializeDocumentMediaConcurrencies(&sv.MediaConcurrencies, value); err != nil { - return err - } - - case "Name": + case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected RoutingProfileName to be of type string, got %T instead", value) + return fmt.Errorf("expected SecurityProfileId to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.Id = ptr.String(jtv) } - case "RoutingProfileArn": + case "OrganizationResourceId": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) } - sv.RoutingProfileArn = ptr.String(jtv) + sv.OrganizationResourceId = ptr.String(jtv) } - case "RoutingProfileId": + case "SecurityProfileName": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected RoutingProfileId to be of type string, got %T instead", value) + return fmt.Errorf("expected SecurityProfileName to be of type string, got %T instead", value) } - sv.RoutingProfileId = ptr.String(jtv) + sv.SecurityProfileName = ptr.String(jtv) } case "Tags": @@ -25988,7 +28719,43 @@ func awsRestjson1_deserializeDocumentRoutingProfile(v **types.RoutingProfile, va return nil } -func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types.RoutingProfileQueueConfigSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentSecurityProfileIds(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SecurityProfileId to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityProfileSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26001,75 +28768,114 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.RoutingProfileQueueConfigSummary + var sv *types.SecurityProfileSummary if *v == nil { - sv = &types.RoutingProfileQueueConfigSummary{} + sv = &types.SecurityProfileSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "Channel": + case "Arn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Channel to be of type string, got %T instead", value) - } - sv.Channel = types.Channel(jtv) - } - - case "Delay": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected Delay to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.Delay = int32(i64) - } - - case "Priority": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected Priority to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) } - sv.Priority = int32(i64) + sv.Arn = ptr.String(jtv) } - case "QueueArn": + case "Id": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + return fmt.Errorf("expected SecurityProfileId to be of type string, got %T instead", value) } - sv.QueueArn = ptr.String(jtv) + sv.Id = ptr.String(jtv) } - case "QueueId": + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueId to be of type string, got %T instead", value) + return fmt.Errorf("expected SecurityProfileName to be of type string, got %T instead", value) } - sv.QueueId = ptr.String(jtv) + sv.Name = ptr.String(jtv) } - case "QueueName": + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentSecurityProfileSummaryList(v *[]types.SecurityProfileSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.SecurityProfileSummary + if *v == nil { + cv = []types.SecurityProfileSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.SecurityProfileSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentSecurityProfileSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.ServiceQuotaExceededException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ServiceQuotaExceededException + if *v == nil { + sv = &types.ServiceQuotaExceededException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueueName to be of type string, got %T instead", value) + return fmt.Errorf("expected Message to be of type string, got %T instead", value) } - sv.QueueName = ptr.String(jtv) + sv.Message = ptr.String(jtv) } default: @@ -26081,7 +28887,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. return nil } -func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(v *[]types.RoutingProfileQueueConfigSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentSingleSelectOptions(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26094,20 +28900,22 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(v *[]t return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.RoutingProfileQueueConfigSummary + var cv []string if *v == nil { - cv = []types.RoutingProfileQueueConfigSummary{} + cv = []string{} } else { cv = *v } for _, value := range shape { - var col types.RoutingProfileQueueConfigSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(&destAddr, value); err != nil { - return err + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateSingleSelectOption to be of type string, got %T instead", value) + } + col = jtv } - col = *destAddr cv = append(cv, col) } @@ -26115,7 +28923,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummaryList(v *[]t return nil } -func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProfileSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentStringReference(v **types.StringReference, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26128,40 +28936,31 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.RoutingProfileSummary + var sv *types.StringReference if *v == nil { - sv = &types.RoutingProfileSummary{} + sv = &types.StringReference{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "Id": + case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected RoutingProfileId to be of type string, got %T instead", value) + return fmt.Errorf("expected ReferenceKey to be of type string, got %T instead", value) } - sv.Id = ptr.String(jtv) + sv.Name = ptr.String(jtv) } - case "Name": + case "Value": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected RoutingProfileName to be of type string, got %T instead", value) + return fmt.Errorf("expected ReferenceValue to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.Value = ptr.String(jtv) } default: @@ -26173,7 +28972,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummary(v **types.RoutingProf return nil } -func awsRestjson1_deserializeDocumentRoutingProfileSummaryList(v *[]types.RoutingProfileSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentTagMap(v *map[string]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26181,33 +28980,35 @@ func awsRestjson1_deserializeDocumentRoutingProfileSummaryList(v *[]types.Routin return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.RoutingProfileSummary + var mv map[string]string if *v == nil { - cv = []types.RoutingProfileSummary{} + mv = map[string]string{} } else { - cv = *v + mv = *v } - for _, value := range shape { - var col types.RoutingProfileSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentRoutingProfileSummary(&destAddr, value); err != nil { - return err + for key, value := range shape { + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TagValue to be of type string, got %T instead", value) + } + parsedVal = jtv } - col = *destAddr - cv = append(cv, col) + mv[key] = parsedVal } - *v = cv + *v = mv return nil } -func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateConstraints(v **types.TaskTemplateConstraints, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26220,35 +29021,27 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.S3Config + var sv *types.TaskTemplateConstraints if *v == nil { - sv = &types.S3Config{} + sv = &types.TaskTemplateConstraints{} } else { sv = *v } for key, value := range shape { switch key { - case "BucketName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected BucketName to be of type string, got %T instead", value) - } - sv.BucketName = ptr.String(jtv) + case "InvisibleFields": + if err := awsRestjson1_deserializeDocumentInvisibleTaskTemplateFields(&sv.InvisibleFields, value); err != nil { + return err } - case "BucketPrefix": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Prefix to be of type string, got %T instead", value) - } - sv.BucketPrefix = ptr.String(jtv) + case "ReadOnlyFields": + if err := awsRestjson1_deserializeDocumentReadOnlyTaskTemplateFields(&sv.ReadOnlyFields, value); err != nil { + return err } - case "EncryptionConfig": - if err := awsRestjson1_deserializeDocumentEncryptionConfig(&sv.EncryptionConfig, value); err != nil { + case "RequiredFields": + if err := awsRestjson1_deserializeDocumentRequiredTaskTemplateFields(&sv.RequiredFields, value); err != nil { return err } @@ -26261,7 +29054,7 @@ func awsRestjson1_deserializeDocumentS3Config(v **types.S3Config, value interfac return nil } -func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValue(v **types.TaskTemplateDefaultFieldValue, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26274,47 +29067,27 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.SecurityKey + var sv *types.TaskTemplateDefaultFieldValue if *v == nil { - sv = &types.SecurityKey{} + sv = &types.TaskTemplateDefaultFieldValue{} } else { sv = *v } for key, value := range shape { switch key { - case "AssociationId": + case "DefaultValue": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected AssociationId to be of type string, got %T instead", value) - } - sv.AssociationId = ptr.String(jtv) - } - - case "CreationTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) - + return fmt.Errorf("expected TaskTemplateFieldValue to be of type string, got %T instead", value) } + sv.DefaultValue = ptr.String(jtv) } - case "Key": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected PEM to be of type string, got %T instead", value) - } - sv.Key = ptr.String(jtv) + case "Id": + if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { + return err } default: @@ -26326,7 +29099,7 @@ func awsRestjson1_deserializeDocumentSecurityKey(v **types.SecurityKey, value in return nil } -func awsRestjson1_deserializeDocumentSecurityKeysList(v *[]types.SecurityKey, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValueList(v *[]types.TaskTemplateDefaultFieldValue, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26339,17 +29112,17 @@ func awsRestjson1_deserializeDocumentSecurityKeysList(v *[]types.SecurityKey, va return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.SecurityKey + var cv []types.TaskTemplateDefaultFieldValue if *v == nil { - cv = []types.SecurityKey{} + cv = []types.TaskTemplateDefaultFieldValue{} } else { cv = *v } for _, value := range shape { - var col types.SecurityKey + var col types.TaskTemplateDefaultFieldValue destAddr := &col - if err := awsRestjson1_deserializeDocumentSecurityKey(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValue(&destAddr, value); err != nil { return err } col = *destAddr @@ -26360,7 +29133,7 @@ func awsRestjson1_deserializeDocumentSecurityKeysList(v *[]types.SecurityKey, va return nil } -func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateDefaults(v **types.TaskTemplateDefaults, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26373,62 +29146,17 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.SecurityProfile + var sv *types.TaskTemplateDefaults if *v == nil { - sv = &types.SecurityProfile{} + sv = &types.TaskTemplateDefaults{} } else { sv = *v } for key, value := range shape { switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityProfileDescription to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } - - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityProfileId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } - - case "OrganizationResourceId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected InstanceId to be of type string, got %T instead", value) - } - sv.OrganizationResourceId = ptr.String(jtv) - } - - case "SecurityProfileName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityProfileName to be of type string, got %T instead", value) - } - sv.SecurityProfileName = ptr.String(jtv) - } - - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + case "DefaultFieldValues": + if err := awsRestjson1_deserializeDocumentTaskTemplateDefaultFieldValueList(&sv.DefaultFieldValues, value); err != nil { return err } @@ -26441,7 +29169,7 @@ func awsRestjson1_deserializeDocumentSecurityProfile(v **types.SecurityProfile, return nil } -func awsRestjson1_deserializeDocumentSecurityProfileIds(v *[]string, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateField(v **types.TaskTemplateField, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26449,35 +29177,58 @@ func awsRestjson1_deserializeDocumentSecurityProfileIds(v *[]string, value inter return nil } - shape, ok := value.([]interface{}) + shape, ok := value.(map[string]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var cv []string + var sv *types.TaskTemplateField if *v == nil { - cv = []string{} + sv = &types.TaskTemplateField{} } else { - cv = *v + sv = *v } - for _, value := range shape { - var col string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityProfileId to be of type string, got %T instead", value) + for key, value := range shape { + switch key { + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateFieldDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "Id": + if err := awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(&sv.Id, value); err != nil { + return err + } + + case "SingleSelectOptions": + if err := awsRestjson1_deserializeDocumentSingleSelectOptions(&sv.SingleSelectOptions, value); err != nil { + return err + } + + case "Type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateFieldType to be of type string, got %T instead", value) + } + sv.Type = types.TaskTemplateFieldType(jtv) } - col = jtv - } - cv = append(cv, col) + default: + _, _ = key, value + + } } - *v = cv + *v = sv return nil } -func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityProfileSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateFieldIdentifier(v **types.TaskTemplateFieldIdentifier, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26490,38 +29241,20 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.SecurityProfileSummary + var sv *types.TaskTemplateFieldIdentifier if *v == nil { - sv = &types.SecurityProfileSummary{} + sv = &types.TaskTemplateFieldIdentifier{} } else { sv = *v } for key, value := range shape { - switch key { - case "Arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "Id": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityProfileId to be of type string, got %T instead", value) - } - sv.Id = ptr.String(jtv) - } - + switch key { case "Name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected SecurityProfileName to be of type string, got %T instead", value) + return fmt.Errorf("expected TaskTemplateFieldName to be of type string, got %T instead", value) } sv.Name = ptr.String(jtv) } @@ -26535,7 +29268,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummary(v **types.SecurityPr return nil } -func awsRestjson1_deserializeDocumentSecurityProfileSummaryList(v *[]types.SecurityProfileSummary, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateFields(v *[]types.TaskTemplateField, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26548,17 +29281,17 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummaryList(v *[]types.Secur return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.SecurityProfileSummary + var cv []types.TaskTemplateField if *v == nil { - cv = []types.SecurityProfileSummary{} + cv = []types.TaskTemplateField{} } else { cv = *v } for _, value := range shape { - var col types.SecurityProfileSummary + var col types.TaskTemplateField destAddr := &col - if err := awsRestjson1_deserializeDocumentSecurityProfileSummary(&destAddr, value); err != nil { + if err := awsRestjson1_deserializeDocumentTaskTemplateField(&destAddr, value); err != nil { return err } col = *destAddr @@ -26569,7 +29302,7 @@ func awsRestjson1_deserializeDocumentSecurityProfileSummaryList(v *[]types.Secur return nil } -func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.ServiceQuotaExceededException, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateList(v *[]types.TaskTemplateMetadata, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26577,39 +29310,33 @@ func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.Ser return nil } - shape, ok := value.(map[string]interface{}) + shape, ok := value.([]interface{}) if !ok { return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ServiceQuotaExceededException + var cv []types.TaskTemplateMetadata if *v == nil { - sv = &types.ServiceQuotaExceededException{} + cv = []types.TaskTemplateMetadata{} } else { - sv = *v + cv = *v } - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Message to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - + for _, value := range shape { + var col types.TaskTemplateMetadata + destAddr := &col + if err := awsRestjson1_deserializeDocumentTaskTemplateMetadata(&destAddr, value); err != nil { + return err } + col = *destAddr + cv = append(cv, col) + } - *v = sv + *v = cv return nil } -func awsRestjson1_deserializeDocumentTagMap(v *map[string]string, value interface{}) error { +func awsRestjson1_deserializeDocumentTaskTemplateMetadata(v **types.TaskTemplateMetadata, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -26622,26 +29349,98 @@ func awsRestjson1_deserializeDocumentTagMap(v *map[string]string, value interfac return fmt.Errorf("unexpected JSON type %v", value) } - var mv map[string]string + var sv *types.TaskTemplateMetadata if *v == nil { - mv = map[string]string{} + sv = &types.TaskTemplateMetadata{} } else { - mv = *v + sv = *v } for key, value := range shape { - var parsedVal string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected TagValue to be of type string, got %T instead", value) + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "CreatedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "LastModifiedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) } - parsedVal = jtv - } - mv[key] = parsedVal + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TaskTemplateStatus to be of type string, got %T instead", value) + } + sv.Status = types.TaskTemplateStatus(jtv) + } + + default: + _, _ = key, value + + } } - *v = mv + *v = sv return nil } @@ -27005,6 +29804,111 @@ func awsRestjson1_deserializeDocumentUser(v **types.User, value interface{}) err return nil } +func awsRestjson1_deserializeDocumentUserData(v **types.UserData, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.UserData + if *v == nil { + sv = &types.UserData{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ActiveSlotsByChannel": + if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.ActiveSlotsByChannel, value); err != nil { + return err + } + + case "AvailableSlotsByChannel": + if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.AvailableSlotsByChannel, value); err != nil { + return err + } + + case "Contacts": + if err := awsRestjson1_deserializeDocumentAgentContactReferenceList(&sv.Contacts, value); err != nil { + return err + } + + case "HierarchyPath": + if err := awsRestjson1_deserializeDocumentHierarchyPathReference(&sv.HierarchyPath, value); err != nil { + return err + } + + case "MaxSlotsByChannel": + if err := awsRestjson1_deserializeDocumentChannelToCountMap(&sv.MaxSlotsByChannel, value); err != nil { + return err + } + + case "RoutingProfile": + if err := awsRestjson1_deserializeDocumentRoutingProfileReference(&sv.RoutingProfile, value); err != nil { + return err + } + + case "Status": + if err := awsRestjson1_deserializeDocumentAgentStatusReference(&sv.Status, value); err != nil { + return err + } + + case "User": + if err := awsRestjson1_deserializeDocumentUserReference(&sv.User, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentUserDataList(v *[]types.UserData, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.UserData + if *v == nil { + cv = []types.UserData{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.UserData + destAddr := &col + if err := awsRestjson1_deserializeDocumentUserData(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentUserIdentityInfo(v **types.UserIdentityInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -27272,6 +30176,55 @@ func awsRestjson1_deserializeDocumentUserQuickConnectConfig(v **types.UserQuickC return nil } +func awsRestjson1_deserializeDocumentUserReference(v **types.UserReference, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.UserReference + if *v == nil { + sv = &types.UserReference{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "Id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected UserId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentUserSearchSummary(v **types.UserSearchSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/connect/generated.json b/service/connect/generated.json index 478a0996bf6..553a0c0545b 100644 --- a/service/connect/generated.json +++ b/service/connect/generated.json @@ -29,6 +29,7 @@ "api_op_CreateQuickConnect.go", "api_op_CreateRoutingProfile.go", "api_op_CreateSecurityProfile.go", + "api_op_CreateTaskTemplate.go", "api_op_CreateUseCase.go", "api_op_CreateUser.go", "api_op_CreateUserHierarchyGroup.go", @@ -40,6 +41,7 @@ "api_op_DeleteIntegrationAssociation.go", "api_op_DeleteQuickConnect.go", "api_op_DeleteSecurityProfile.go", + "api_op_DeleteTaskTemplate.go", "api_op_DeleteUseCase.go", "api_op_DeleteUser.go", "api_op_DeleteUserHierarchyGroup.go", @@ -72,8 +74,10 @@ "api_op_DisassociateSecurityKey.go", "api_op_GetContactAttributes.go", "api_op_GetCurrentMetricData.go", + "api_op_GetCurrentUserData.go", "api_op_GetFederationToken.go", "api_op_GetMetricData.go", + "api_op_GetTaskTemplate.go", "api_op_ListAgentStatuses.go", "api_op_ListApprovedOrigins.go", "api_op_ListBots.go", @@ -100,6 +104,7 @@ "api_op_ListSecurityProfilePermissions.go", "api_op_ListSecurityProfiles.go", "api_op_ListTagsForResource.go", + "api_op_ListTaskTemplates.go", "api_op_ListUseCases.go", "api_op_ListUserHierarchyGroups.go", "api_op_ListUsers.go", @@ -119,6 +124,7 @@ "api_op_StopContactStreaming.go", "api_op_SuspendContactRecording.go", "api_op_TagResource.go", + "api_op_TransferContact.go", "api_op_UntagResource.go", "api_op_UpdateAgentStatus.go", "api_op_UpdateContact.go", @@ -145,6 +151,7 @@ "api_op_UpdateRoutingProfileName.go", "api_op_UpdateRoutingProfileQueues.go", "api_op_UpdateSecurityProfile.go", + "api_op_UpdateTaskTemplate.go", "api_op_UpdateUserHierarchy.go", "api_op_UpdateUserHierarchyGroupName.go", "api_op_UpdateUserHierarchyStructure.go", diff --git a/service/connect/go.mod b/service/connect/go.mod index 886bdda7037..8f413acb082 100644 --- a/service/connect/go.mod +++ b/service/connect/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/connect go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/connect/go.sum b/service/connect/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/connect/go.sum +++ b/service/connect/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/connect/go_module_metadata.go b/service/connect/go_module_metadata.go index c05de44659d..b755e0908d8 100644 --- a/service/connect/go_module_metadata.go +++ b/service/connect/go_module_metadata.go @@ -3,4 +3,4 @@ package connect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.1" +const goModuleVersion = "1.26.1" diff --git a/service/connect/serializers.go b/service/connect/serializers.go index 425cc136df6..2debb7a0dce 100644 --- a/service/connect/serializers.go +++ b/service/connect/serializers.go @@ -2014,6 +2014,128 @@ func awsRestjson1_serializeOpDocumentCreateSecurityProfileInput(v *CreateSecurit return nil } +type awsRestjson1_serializeOpCreateTaskTemplate struct { +} + +func (*awsRestjson1_serializeOpCreateTaskTemplate) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpCreateTaskTemplate) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateTaskTemplateInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/instance/{InstanceId}/task/template") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsCreateTaskTemplateInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentCreateTaskTemplateInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsCreateTaskTemplateInput(v *CreateTaskTemplateInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.InstanceId == nil || len(*v.InstanceId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member InstanceId must not be empty")} + } + if v.InstanceId != nil { + if err := encoder.SetURI("InstanceId").String(*v.InstanceId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentCreateTaskTemplateInput(v *CreateTaskTemplateInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ClientToken != nil { + ok := object.Key("ClientToken") + ok.String(*v.ClientToken) + } + + if v.Constraints != nil { + ok := object.Key("Constraints") + if err := awsRestjson1_serializeDocumentTaskTemplateConstraints(v.Constraints, ok); err != nil { + return err + } + } + + if v.ContactFlowId != nil { + ok := object.Key("ContactFlowId") + ok.String(*v.ContactFlowId) + } + + if v.Defaults != nil { + ok := object.Key("Defaults") + if err := awsRestjson1_serializeDocumentTaskTemplateDefaults(v.Defaults, ok); err != nil { + return err + } + } + + if v.Description != nil { + ok := object.Key("Description") + ok.String(*v.Description) + } + + if v.Fields != nil { + ok := object.Key("Fields") + if err := awsRestjson1_serializeDocumentTaskTemplateFields(v.Fields, ok); err != nil { + return err + } + } + + if v.Name != nil { + ok := object.Key("Name") + ok.String(*v.Name) + } + + if len(v.Status) > 0 { + ok := object.Key("Status") + ok.String(string(v.Status)) + } + + return nil +} + type awsRestjson1_serializeOpCreateUseCase struct { } @@ -2896,6 +3018,73 @@ func awsRestjson1_serializeOpHttpBindingsDeleteSecurityProfileInput(v *DeleteSec return nil } +type awsRestjson1_serializeOpDeleteTaskTemplate struct { +} + +func (*awsRestjson1_serializeOpDeleteTaskTemplate) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpDeleteTaskTemplate) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteTaskTemplateInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/instance/{InstanceId}/task/template/{TaskTemplateId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "DELETE" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsDeleteTaskTemplateInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsDeleteTaskTemplateInput(v *DeleteTaskTemplateInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.InstanceId == nil || len(*v.InstanceId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member InstanceId must not be empty")} + } + if v.InstanceId != nil { + if err := encoder.SetURI("InstanceId").String(*v.InstanceId); err != nil { + return err + } + } + + if v.TaskTemplateId == nil || len(*v.TaskTemplateId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member TaskTemplateId must not be empty")} + } + if v.TaskTemplateId != nil { + if err := encoder.SetURI("TaskTemplateId").String(*v.TaskTemplateId); err != nil { + return err + } + } + + return nil +} + type awsRestjson1_serializeOpDeleteUseCase struct { } @@ -5127,6 +5316,99 @@ func awsRestjson1_serializeOpDocumentGetCurrentMetricDataInput(v *GetCurrentMetr return nil } +type awsRestjson1_serializeOpGetCurrentUserData struct { +} + +func (*awsRestjson1_serializeOpGetCurrentUserData) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpGetCurrentUserData) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetCurrentUserDataInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/metrics/userdata/{InstanceId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsGetCurrentUserDataInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentGetCurrentUserDataInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsGetCurrentUserDataInput(v *GetCurrentUserDataInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.InstanceId == nil || len(*v.InstanceId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member InstanceId must not be empty")} + } + if v.InstanceId != nil { + if err := encoder.SetURI("InstanceId").String(*v.InstanceId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentGetCurrentUserDataInput(v *GetCurrentUserDataInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Filters != nil { + ok := object.Key("Filters") + if err := awsRestjson1_serializeDocumentUserDataFilters(v.Filters, ok); err != nil { + return err + } + } + + if v.MaxResults != 0 { + ok := object.Key("MaxResults") + ok.Integer(v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("NextToken") + ok.String(*v.NextToken) + } + + return nil +} + type awsRestjson1_serializeOpGetFederationToken struct { } @@ -5302,14 +5584,14 @@ func awsRestjson1_serializeOpDocumentGetMetricDataInput(v *GetMetricDataInput, v return nil } -type awsRestjson1_serializeOpListAgentStatuses struct { +type awsRestjson1_serializeOpGetTaskTemplate struct { } -func (*awsRestjson1_serializeOpListAgentStatuses) ID() string { +func (*awsRestjson1_serializeOpGetTaskTemplate) ID() string { return "OperationSerializer" } -func (m *awsRestjson1_serializeOpListAgentStatuses) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestjson1_serializeOpGetTaskTemplate) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { request, ok := in.Request.(*smithyhttp.Request) @@ -5317,13 +5599,13 @@ func (m *awsRestjson1_serializeOpListAgentStatuses) HandleSerialize(ctx context. return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*ListAgentStatusesInput) + input, ok := in.Parameters.(*GetTaskTemplateInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/agent-status/{InstanceId}") + opPath, opQuery := httpbinding.SplitURI("/instance/{InstanceId}/task/template/{TaskTemplateId}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "GET" @@ -5332,7 +5614,7 @@ func (m *awsRestjson1_serializeOpListAgentStatuses) HandleSerialize(ctx context. return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestjson1_serializeOpHttpBindingsListAgentStatusesInput(input, restEncoder); err != nil { + if err := awsRestjson1_serializeOpHttpBindingsGetTaskTemplateInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -5343,17 +5625,88 @@ func (m *awsRestjson1_serializeOpListAgentStatuses) HandleSerialize(ctx context. return next.HandleSerialize(ctx, in) } -func awsRestjson1_serializeOpHttpBindingsListAgentStatusesInput(v *ListAgentStatusesInput, encoder *httpbinding.Encoder) error { +func awsRestjson1_serializeOpHttpBindingsGetTaskTemplateInput(v *GetTaskTemplateInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.AgentStatusTypes != nil { - for i := range v.AgentStatusTypes { - encoder.AddQuery("AgentStatusTypes").String(string(v.AgentStatusTypes[i])) - } - } - + if v.InstanceId == nil || len(*v.InstanceId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member InstanceId must not be empty")} + } + if v.InstanceId != nil { + if err := encoder.SetURI("InstanceId").String(*v.InstanceId); err != nil { + return err + } + } + + if v.SnapshotVersion != nil { + encoder.SetQuery("snapshotVersion").String(*v.SnapshotVersion) + } + + if v.TaskTemplateId == nil || len(*v.TaskTemplateId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member TaskTemplateId must not be empty")} + } + if v.TaskTemplateId != nil { + if err := encoder.SetURI("TaskTemplateId").String(*v.TaskTemplateId); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpListAgentStatuses struct { +} + +func (*awsRestjson1_serializeOpListAgentStatuses) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListAgentStatuses) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListAgentStatusesInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/agent-status/{InstanceId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsListAgentStatusesInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListAgentStatusesInput(v *ListAgentStatusesInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.AgentStatusTypes != nil { + for i := range v.AgentStatusTypes { + encoder.AddQuery("AgentStatusTypes").String(string(v.AgentStatusTypes[i])) + } + } + if v.InstanceId == nil || len(*v.InstanceId) == 0 { return &smithy.SerializationError{Err: fmt.Errorf("input member InstanceId must not be empty")} } @@ -7147,6 +7500,80 @@ func awsRestjson1_serializeOpHttpBindingsListTagsForResourceInput(v *ListTagsFor return nil } +type awsRestjson1_serializeOpListTaskTemplates struct { +} + +func (*awsRestjson1_serializeOpListTaskTemplates) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListTaskTemplates) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListTaskTemplatesInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/instance/{InstanceId}/task/template") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsListTaskTemplatesInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListTaskTemplatesInput(v *ListTaskTemplatesInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.InstanceId == nil || len(*v.InstanceId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member InstanceId must not be empty")} + } + if v.InstanceId != nil { + if err := encoder.SetURI("InstanceId").String(*v.InstanceId); err != nil { + return err + } + } + + if v.MaxResults != 0 { + encoder.SetQuery("maxResults").Integer(v.MaxResults) + } + + if v.Name != nil { + encoder.SetQuery("name").String(*v.Name) + } + + if v.NextToken != nil { + encoder.SetQuery("nextToken").String(*v.NextToken) + } + + if len(v.Status) > 0 { + encoder.SetQuery("status").String(string(v.Status)) + } + + return nil +} + type awsRestjson1_serializeOpListUseCases struct { } @@ -8365,6 +8792,11 @@ func awsRestjson1_serializeOpDocumentStartTaskContactInput(v *StartTaskContactIn ok.String(*v.PreviousContactId) } + if v.QuickConnectId != nil { + ok := object.Key("QuickConnectId") + ok.String(*v.QuickConnectId) + } + if v.References != nil { ok := object.Key("References") if err := awsRestjson1_serializeDocumentContactReferences(v.References, ok); err != nil { @@ -8377,6 +8809,11 @@ func awsRestjson1_serializeOpDocumentStartTaskContactInput(v *StartTaskContactIn ok.Double(smithytime.FormatEpochSeconds(*v.ScheduledTime)) } + if v.TaskTemplateId != nil { + ok := object.Key("TaskTemplateId") + ok.String(*v.TaskTemplateId) + } + return nil } @@ -8770,6 +9207,99 @@ func awsRestjson1_serializeOpDocumentTagResourceInput(v *TagResourceInput, value return nil } +type awsRestjson1_serializeOpTransferContact struct { +} + +func (*awsRestjson1_serializeOpTransferContact) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpTransferContact) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*TransferContactInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/contact/transfer") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentTransferContactInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsTransferContactInput(v *TransferContactInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestjson1_serializeOpDocumentTransferContactInput(v *TransferContactInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ClientToken != nil { + ok := object.Key("ClientToken") + ok.String(*v.ClientToken) + } + + if v.ContactFlowId != nil { + ok := object.Key("ContactFlowId") + ok.String(*v.ContactFlowId) + } + + if v.ContactId != nil { + ok := object.Key("ContactId") + ok.String(*v.ContactId) + } + + if v.InstanceId != nil { + ok := object.Key("InstanceId") + ok.String(*v.InstanceId) + } + + if v.QueueId != nil { + ok := object.Key("QueueId") + ok.String(*v.QueueId) + } + + if v.UserId != nil { + ok := object.Key("UserId") + ok.String(*v.UserId) + } + + return nil +} + type awsRestjson1_serializeOpUntagResource struct { } @@ -11168,14 +11698,14 @@ func awsRestjson1_serializeOpDocumentUpdateSecurityProfileInput(v *UpdateSecurit return nil } -type awsRestjson1_serializeOpUpdateUserHierarchy struct { +type awsRestjson1_serializeOpUpdateTaskTemplate struct { } -func (*awsRestjson1_serializeOpUpdateUserHierarchy) ID() string { +func (*awsRestjson1_serializeOpUpdateTaskTemplate) ID() string { return "OperationSerializer" } -func (m *awsRestjson1_serializeOpUpdateUserHierarchy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsRestjson1_serializeOpUpdateTaskTemplate) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { request, ok := in.Request.(*smithyhttp.Request) @@ -11183,13 +11713,13 @@ func (m *awsRestjson1_serializeOpUpdateUserHierarchy) HandleSerialize(ctx contex return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*UpdateUserHierarchyInput) + input, ok := in.Parameters.(*UpdateTaskTemplateInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} } - opPath, opQuery := httpbinding.SplitURI("/users/{InstanceId}/{UserId}/hierarchy") + opPath, opQuery := httpbinding.SplitURI("/instance/{InstanceId}/task/template/{TaskTemplateId}") request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) request.Method = "POST" @@ -11198,14 +11728,14 @@ func (m *awsRestjson1_serializeOpUpdateUserHierarchy) HandleSerialize(ctx contex return out, metadata, &smithy.SerializationError{Err: err} } - if err := awsRestjson1_serializeOpHttpBindingsUpdateUserHierarchyInput(input, restEncoder); err != nil { + if err := awsRestjson1_serializeOpHttpBindingsUpdateTaskTemplateInput(input, restEncoder); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } restEncoder.SetHeader("Content-Type").String("application/json") jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentUpdateUserHierarchyInput(input, jsonEncoder.Value); err != nil { + if err := awsRestjson1_serializeOpDocumentUpdateTaskTemplateInput(input, jsonEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -11220,7 +11750,7 @@ func (m *awsRestjson1_serializeOpUpdateUserHierarchy) HandleSerialize(ctx contex return next.HandleSerialize(ctx, in) } -func awsRestjson1_serializeOpHttpBindingsUpdateUserHierarchyInput(v *UpdateUserHierarchyInput, encoder *httpbinding.Encoder) error { +func awsRestjson1_serializeOpHttpBindingsUpdateTaskTemplateInput(v *UpdateTaskTemplateInput, encoder *httpbinding.Encoder) error { if v == nil { return fmt.Errorf("unsupported serialization of nil %T", v) } @@ -11234,11 +11764,11 @@ func awsRestjson1_serializeOpHttpBindingsUpdateUserHierarchyInput(v *UpdateUserH } } - if v.UserId == nil || len(*v.UserId) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member UserId must not be empty")} + if v.TaskTemplateId == nil || len(*v.TaskTemplateId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member TaskTemplateId must not be empty")} } - if v.UserId != nil { - if err := encoder.SetURI("UserId").String(*v.UserId); err != nil { + if v.TaskTemplateId != nil { + if err := encoder.SetURI("TaskTemplateId").String(*v.TaskTemplateId); err != nil { return err } } @@ -11246,22 +11776,148 @@ func awsRestjson1_serializeOpHttpBindingsUpdateUserHierarchyInput(v *UpdateUserH return nil } -func awsRestjson1_serializeOpDocumentUpdateUserHierarchyInput(v *UpdateUserHierarchyInput, value smithyjson.Value) error { +func awsRestjson1_serializeOpDocumentUpdateTaskTemplateInput(v *UpdateTaskTemplateInput, value smithyjson.Value) error { object := value.Object() defer object.Close() - if v.HierarchyGroupId != nil { - ok := object.Key("HierarchyGroupId") - ok.String(*v.HierarchyGroupId) + if v.Constraints != nil { + ok := object.Key("Constraints") + if err := awsRestjson1_serializeDocumentTaskTemplateConstraints(v.Constraints, ok); err != nil { + return err + } } - return nil -} + if v.ContactFlowId != nil { + ok := object.Key("ContactFlowId") + ok.String(*v.ContactFlowId) + } -type awsRestjson1_serializeOpUpdateUserHierarchyGroupName struct { -} + if v.Defaults != nil { + ok := object.Key("Defaults") + if err := awsRestjson1_serializeDocumentTaskTemplateDefaults(v.Defaults, ok); err != nil { + return err + } + } -func (*awsRestjson1_serializeOpUpdateUserHierarchyGroupName) ID() string { + if v.Description != nil { + ok := object.Key("Description") + ok.String(*v.Description) + } + + if v.Fields != nil { + ok := object.Key("Fields") + if err := awsRestjson1_serializeDocumentTaskTemplateFields(v.Fields, ok); err != nil { + return err + } + } + + if v.Name != nil { + ok := object.Key("Name") + ok.String(*v.Name) + } + + if len(v.Status) > 0 { + ok := object.Key("Status") + ok.String(string(v.Status)) + } + + return nil +} + +type awsRestjson1_serializeOpUpdateUserHierarchy struct { +} + +func (*awsRestjson1_serializeOpUpdateUserHierarchy) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpUpdateUserHierarchy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateUserHierarchyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/users/{InstanceId}/{UserId}/hierarchy") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsUpdateUserHierarchyInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentUpdateUserHierarchyInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsUpdateUserHierarchyInput(v *UpdateUserHierarchyInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.InstanceId == nil || len(*v.InstanceId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member InstanceId must not be empty")} + } + if v.InstanceId != nil { + if err := encoder.SetURI("InstanceId").String(*v.InstanceId); err != nil { + return err + } + } + + if v.UserId == nil || len(*v.UserId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member UserId must not be empty")} + } + if v.UserId != nil { + if err := encoder.SetURI("UserId").String(*v.UserId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentUpdateUserHierarchyInput(v *UpdateUserHierarchyInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.HierarchyGroupId != nil { + ok := object.Key("HierarchyGroupId") + ok.String(*v.HierarchyGroupId) + } + + return nil +} + +type awsRestjson1_serializeOpUpdateUserHierarchyGroupName struct { +} + +func (*awsRestjson1_serializeOpUpdateUserHierarchyGroupName) ID() string { return "OperationSerializer" } @@ -11865,6 +12521,20 @@ func awsRestjson1_serializeDocumentChatStreamingConfiguration(v *types.ChatStrea return nil } +func awsRestjson1_serializeDocumentContactFilter(v *types.ContactFilter, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ContactStates != nil { + ok := object.Key("ContactStates") + if err := awsRestjson1_serializeDocumentContactStates(v.ContactStates, ok); err != nil { + return err + } + } + + return nil +} + func awsRestjson1_serializeDocumentContactReferences(v map[string]types.Reference, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -11879,6 +12549,17 @@ func awsRestjson1_serializeDocumentContactReferences(v map[string]types.Referenc return nil } +func awsRestjson1_serializeDocumentContactStates(v []types.ContactState, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(string(v[i])) + } + return nil +} + func awsRestjson1_serializeDocumentControlPlaneTagFilter(v *types.ControlPlaneTagFilter, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -12200,6 +12881,33 @@ func awsRestjson1_serializeDocumentInstanceStorageConfig(v *types.InstanceStorag return nil } +func awsRestjson1_serializeDocumentInvisibleFieldInfo(v *types.InvisibleFieldInfo, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Id != nil { + ok := object.Key("Id") + if err := awsRestjson1_serializeDocumentTaskTemplateFieldIdentifier(v.Id, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentInvisibleTaskTemplateFields(v []types.InvisibleFieldInfo, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentInvisibleFieldInfo(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentKinesisFirehoseConfig(v *types.KinesisFirehoseConfig, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -12458,6 +13166,33 @@ func awsRestjson1_serializeDocumentQuickConnectsList(v []string, value smithyjso return nil } +func awsRestjson1_serializeDocumentReadOnlyFieldInfo(v *types.ReadOnlyFieldInfo, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Id != nil { + ok := object.Key("Id") + if err := awsRestjson1_serializeDocumentTaskTemplateFieldIdentifier(v.Id, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentReadOnlyTaskTemplateFields(v []types.ReadOnlyFieldInfo, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentReadOnlyFieldInfo(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentReference(v *types.Reference, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -12475,6 +13210,33 @@ func awsRestjson1_serializeDocumentReference(v *types.Reference, value smithyjso return nil } +func awsRestjson1_serializeDocumentRequiredFieldInfo(v *types.RequiredFieldInfo, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Id != nil { + ok := object.Key("Id") + if err := awsRestjson1_serializeDocumentTaskTemplateFieldIdentifier(v.Id, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentRequiredTaskTemplateFields(v []types.RequiredFieldInfo, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentRequiredFieldInfo(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentRoutingProfileQueueConfig(v *types.RoutingProfileQueueConfig, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -12577,6 +13339,17 @@ func awsRestjson1_serializeDocumentSecurityProfileIds(v []string, value smithyjs return nil } +func awsRestjson1_serializeDocumentSingleSelectOptions(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsRestjson1_serializeDocumentStringCondition(v *types.StringCondition, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -12667,6 +13440,136 @@ func awsRestjson1_serializeDocumentTagOrConditionList(v [][]types.TagCondition, return nil } +func awsRestjson1_serializeDocumentTaskTemplateConstraints(v *types.TaskTemplateConstraints, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.InvisibleFields != nil { + ok := object.Key("InvisibleFields") + if err := awsRestjson1_serializeDocumentInvisibleTaskTemplateFields(v.InvisibleFields, ok); err != nil { + return err + } + } + + if v.ReadOnlyFields != nil { + ok := object.Key("ReadOnlyFields") + if err := awsRestjson1_serializeDocumentReadOnlyTaskTemplateFields(v.ReadOnlyFields, ok); err != nil { + return err + } + } + + if v.RequiredFields != nil { + ok := object.Key("RequiredFields") + if err := awsRestjson1_serializeDocumentRequiredTaskTemplateFields(v.RequiredFields, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentTaskTemplateDefaultFieldValue(v *types.TaskTemplateDefaultFieldValue, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DefaultValue != nil { + ok := object.Key("DefaultValue") + ok.String(*v.DefaultValue) + } + + if v.Id != nil { + ok := object.Key("Id") + if err := awsRestjson1_serializeDocumentTaskTemplateFieldIdentifier(v.Id, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentTaskTemplateDefaultFieldValueList(v []types.TaskTemplateDefaultFieldValue, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentTaskTemplateDefaultFieldValue(&v[i], av); err != nil { + return err + } + } + return nil +} + +func awsRestjson1_serializeDocumentTaskTemplateDefaults(v *types.TaskTemplateDefaults, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DefaultFieldValues != nil { + ok := object.Key("DefaultFieldValues") + if err := awsRestjson1_serializeDocumentTaskTemplateDefaultFieldValueList(v.DefaultFieldValues, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentTaskTemplateField(v *types.TaskTemplateField, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Description != nil { + ok := object.Key("Description") + ok.String(*v.Description) + } + + if v.Id != nil { + ok := object.Key("Id") + if err := awsRestjson1_serializeDocumentTaskTemplateFieldIdentifier(v.Id, ok); err != nil { + return err + } + } + + if v.SingleSelectOptions != nil { + ok := object.Key("SingleSelectOptions") + if err := awsRestjson1_serializeDocumentSingleSelectOptions(v.SingleSelectOptions, ok); err != nil { + return err + } + } + + if len(v.Type) > 0 { + ok := object.Key("Type") + ok.String(string(v.Type)) + } + + return nil +} + +func awsRestjson1_serializeDocumentTaskTemplateFieldIdentifier(v *types.TaskTemplateFieldIdentifier, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Name != nil { + ok := object.Key("Name") + ok.String(*v.Name) + } + + return nil +} + +func awsRestjson1_serializeDocumentTaskTemplateFields(v []types.TaskTemplateField, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentTaskTemplateField(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentThreshold(v *types.Threshold, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -12697,6 +13600,27 @@ func awsRestjson1_serializeDocumentThreshold(v *types.Threshold, value smithyjso return nil } +func awsRestjson1_serializeDocumentUserDataFilters(v *types.UserDataFilters, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ContactFilter != nil { + ok := object.Key("ContactFilter") + if err := awsRestjson1_serializeDocumentContactFilter(v.ContactFilter, ok); err != nil { + return err + } + } + + if v.Queues != nil { + ok := object.Key("Queues") + if err := awsRestjson1_serializeDocumentQueues(v.Queues, ok); err != nil { + return err + } + } + + return nil +} + func awsRestjson1_serializeDocumentUserIdentityInfo(v *types.UserIdentityInfo, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/connect/types/enums.go b/service/connect/types/enums.go index 51ad02a51e8..4246f09e1b6 100644 --- a/service/connect/types/enums.go +++ b/service/connect/types/enums.go @@ -188,6 +188,38 @@ func (ContactInitiationMethod) Values() []ContactInitiationMethod { } } +type ContactState string + +// Enum values for ContactState +const ( + ContactStateIncoming ContactState = "INCOMING" + ContactStatePending ContactState = "PENDING" + ContactStateConnecting ContactState = "CONNECTING" + ContactStateConnected ContactState = "CONNECTED" + ContactStateConnectedOnhold ContactState = "CONNECTED_ONHOLD" + ContactStateMissed ContactState = "MISSED" + ContactStateError ContactState = "ERROR" + ContactStateEnded ContactState = "ENDED" + ContactStateRejected ContactState = "REJECTED" +) + +// Values returns all known values for ContactState. Note that this can be expanded +// in the future, and so it is only as up to date as the client. The ordering of +// this slice is not guaranteed to be stable across updates. +func (ContactState) Values() []ContactState { + return []ContactState{ + "INCOMING", + "PENDING", + "CONNECTING", + "CONNECTED", + "CONNECTED_ONHOLD", + "MISSED", + "ERROR", + "ENDED", + "REJECTED", + } +} + type CurrentMetricName string // Enum values for CurrentMetricName @@ -1056,6 +1088,33 @@ func (PhoneType) Values() []PhoneType { } } +type PropertyValidationExceptionReason string + +// Enum values for PropertyValidationExceptionReason +const ( + PropertyValidationExceptionReasonInvalidFormat PropertyValidationExceptionReason = "INVALID_FORMAT" + PropertyValidationExceptionReasonUniqueConstraintViolated PropertyValidationExceptionReason = "UNIQUE_CONSTRAINT_VIOLATED" + PropertyValidationExceptionReasonReferencedResourceNotFound PropertyValidationExceptionReason = "REFERENCED_RESOURCE_NOT_FOUND" + PropertyValidationExceptionReasonResourceNameAlreadyExists PropertyValidationExceptionReason = "RESOURCE_NAME_ALREADY_EXISTS" + PropertyValidationExceptionReasonRequiredPropertyMissing PropertyValidationExceptionReason = "REQUIRED_PROPERTY_MISSING" + PropertyValidationExceptionReasonNotSupported PropertyValidationExceptionReason = "NOT_SUPPORTED" +) + +// Values returns all known values for PropertyValidationExceptionReason. Note that +// this can be expanded in the future, and so it is only as up to date as the +// client. The ordering of this slice is not guaranteed to be stable across +// updates. +func (PropertyValidationExceptionReason) Values() []PropertyValidationExceptionReason { + return []PropertyValidationExceptionReason{ + "INVALID_FORMAT", + "UNIQUE_CONSTRAINT_VIOLATED", + "REFERENCED_RESOURCE_NOT_FOUND", + "RESOURCE_NAME_ALREADY_EXISTS", + "REQUIRED_PROPERTY_MISSING", + "NOT_SUPPORTED", + } +} + type QueueStatus string // Enum values for QueueStatus @@ -1136,6 +1195,10 @@ type ReferenceType string const ( ReferenceTypeUrl ReferenceType = "URL" ReferenceTypeAttachment ReferenceType = "ATTACHMENT" + ReferenceTypeNumber ReferenceType = "NUMBER" + ReferenceTypeString ReferenceType = "STRING" + ReferenceTypeDate ReferenceType = "DATE" + ReferenceTypeEmail ReferenceType = "EMAIL" ) // Values returns all known values for ReferenceType. Note that this can be @@ -1145,6 +1208,10 @@ func (ReferenceType) Values() []ReferenceType { return []ReferenceType{ "URL", "ATTACHMENT", + "NUMBER", + "STRING", + "DATE", + "EMAIL", } } @@ -1256,6 +1323,62 @@ func (StringComparisonType) Values() []StringComparisonType { } } +type TaskTemplateFieldType string + +// Enum values for TaskTemplateFieldType +const ( + TaskTemplateFieldTypeName TaskTemplateFieldType = "NAME" + TaskTemplateFieldTypeDescription TaskTemplateFieldType = "DESCRIPTION" + TaskTemplateFieldTypeScheduledTime TaskTemplateFieldType = "SCHEDULED_TIME" + TaskTemplateFieldTypeQuickConnect TaskTemplateFieldType = "QUICK_CONNECT" + TaskTemplateFieldTypeUrl TaskTemplateFieldType = "URL" + TaskTemplateFieldTypeNumber TaskTemplateFieldType = "NUMBER" + TaskTemplateFieldTypeText TaskTemplateFieldType = "TEXT" + TaskTemplateFieldTypeTextArea TaskTemplateFieldType = "TEXT_AREA" + TaskTemplateFieldTypeDateTime TaskTemplateFieldType = "DATE_TIME" + TaskTemplateFieldTypeBoolean TaskTemplateFieldType = "BOOLEAN" + TaskTemplateFieldTypeSingleSelect TaskTemplateFieldType = "SINGLE_SELECT" + TaskTemplateFieldTypeEmail TaskTemplateFieldType = "EMAIL" +) + +// Values returns all known values for TaskTemplateFieldType. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (TaskTemplateFieldType) Values() []TaskTemplateFieldType { + return []TaskTemplateFieldType{ + "NAME", + "DESCRIPTION", + "SCHEDULED_TIME", + "QUICK_CONNECT", + "URL", + "NUMBER", + "TEXT", + "TEXT_AREA", + "DATE_TIME", + "BOOLEAN", + "SINGLE_SELECT", + "EMAIL", + } +} + +type TaskTemplateStatus string + +// Enum values for TaskTemplateStatus +const ( + TaskTemplateStatusActive TaskTemplateStatus = "ACTIVE" + TaskTemplateStatusInactive TaskTemplateStatus = "INACTIVE" +) + +// Values returns all known values for TaskTemplateStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (TaskTemplateStatus) Values() []TaskTemplateStatus { + return []TaskTemplateStatus{ + "ACTIVE", + "INACTIVE", + } +} + type TrafficType string // Enum values for TrafficType diff --git a/service/connect/types/errors.go b/service/connect/types/errors.go index 0bef7be88f7..08129865533 100644 --- a/service/connect/types/errors.go +++ b/service/connect/types/errors.go @@ -266,6 +266,27 @@ func (e *OutboundContactNotPermittedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// +type PropertyValidationException struct { + Message *string + + PropertyList []PropertyValidationExceptionProperty + + noSmithyDocumentSerde +} + +func (e *PropertyValidationException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *PropertyValidationException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *PropertyValidationException) ErrorCode() string { return "PropertyValidationException" } +func (e *PropertyValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // A resource already has that name. type ResourceConflictException struct { Message *string diff --git a/service/connect/types/types.go b/service/connect/types/types.go index dacbd7bdb70..de9a76cb9de 100644 --- a/service/connect/types/types.go +++ b/service/connect/types/types.go @@ -7,6 +7,36 @@ import ( "time" ) +// Information about the contact +// (https://docs.aws.amazon.com/connect/latest/APIReference/API_Contact.html) +// associated to the user. +type AgentContactReference struct { + + // The state of the contact + // (https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html). + AgentContactState ContactState + + // The channel of the contact. + Channel Channel + + // The time at which the contact was connected to an agent. + ConnectedToAgentTimestamp *time.Time + + // The identifier of the contact in this instance of Amazon Connect. + ContactId *string + + // How the contact was initiated. + InitiationMethod ContactInitiationMethod + + // Contains information about a queue resource for which metrics are returned. + Queue *QueueReference + + // The epoch timestamp when the contact state started. + StateStartTimestamp *time.Time + + noSmithyDocumentSerde +} + // Information about the agent who accepted the contact. type AgentInfo struct { @@ -49,6 +79,18 @@ type AgentStatus struct { noSmithyDocumentSerde } +// Information about the agent's status. +type AgentStatusReference struct { + + // The Amazon Resource Name (ARN) of the agent's status. + StatusArn *string + + // The start timestamp of the agent's status. + StatusStartTimestamp *time.Time + + noSmithyDocumentSerde +} + // Summary information for an agent status. type AgentStatusSummary struct { @@ -80,17 +122,17 @@ type AnswerMachineDetectionConfig struct { noSmithyDocumentSerde } -// Information about the attachment reference if the referenceType is ATTACHMENT. -// Otherwise, null. +// Information about a reference when the referenceType is ATTACHMENT. Otherwise, +// null. type AttachmentReference struct { // Identifier of the attachment reference. Name *string - // Status of an attachment reference type. + // Status of the attachment reference type. Status ReferenceStatus - // Contains the location path of the attachment reference. + // The location path of the attachment reference. Value *string noSmithyDocumentSerde @@ -244,6 +286,18 @@ type Contact struct { noSmithyDocumentSerde } +// Filters user data based on the contact information that is associated to the +// users. It contains a list of contact states +// (https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html). +type ContactFilter struct { + + // A list of up to 9 contact states + // (https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html). + ContactStates []ContactState + + noSmithyDocumentSerde +} + // Contains information about a contact flow. type ContactFlow struct { @@ -428,6 +482,18 @@ type CurrentMetricResult struct { noSmithyDocumentSerde } +// Information about a reference when the referenceType is DATE. Otherwise, null. +type DateReference struct { + + // Identifier of the date reference. + Name *string + + // A valid date. + Value *string + + noSmithyDocumentSerde +} + // Contains information about a default vocabulary. type DefaultVocabulary struct { @@ -469,6 +535,18 @@ type Dimensions struct { noSmithyDocumentSerde } +// Information about a reference when the referenceType is EMAIL. Otherwise, null. +type EmailReference struct { + + // Identifier of the email reference. + Name *string + + // A valid email address. + Value *string + + noSmithyDocumentSerde +} + // The encryption configuration. type EncryptionConfig struct { @@ -551,6 +629,18 @@ type HierarchyGroupSummary struct { noSmithyDocumentSerde } +// Information about the hierarchy group. +type HierarchyGroupSummaryReference struct { + + // The Amazon Resource Name (ARN) for the hierarchy group. + Arn *string + + // The unique identifier for the hierarchy group. + Id *string + + noSmithyDocumentSerde +} + // Contains information about a hierarchy level. type HierarchyLevel struct { @@ -598,6 +688,27 @@ type HierarchyPath struct { noSmithyDocumentSerde } +// Information about the levels in the hierarchy group. +type HierarchyPathReference struct { + + // Information about level five. + LevelFive *HierarchyGroupSummaryReference + + // Information about level four. + LevelFour *HierarchyGroupSummaryReference + + // Information about level one. + LevelOne *HierarchyGroupSummaryReference + + // Information about level three. + LevelThree *HierarchyGroupSummaryReference + + // Information about level two. + LevelTwo *HierarchyGroupSummaryReference + + noSmithyDocumentSerde +} + // Contains information about a hierarchy structure. type HierarchyStructure struct { @@ -901,6 +1012,15 @@ type IntegrationAssociationSummary struct { noSmithyDocumentSerde } +// A field that is invisible to an agent. +type InvisibleFieldInfo struct { + + // Identifier of the invisible field. + Id *TaskTemplateFieldIdentifier + + noSmithyDocumentSerde +} + // Configuration information of a Kinesis Data Firehose delivery stream. type KinesisFirehoseConfig struct { @@ -1026,6 +1146,18 @@ type MediaConcurrency struct { noSmithyDocumentSerde } +// Information about a reference when the referenceType is NUMBER. Otherwise, null. +type NumberReference struct { + + // Identifier of the number reference. + Name *string + + // A valid number. + Value *string + + noSmithyDocumentSerde +} + // The outbound caller ID name, number, and outbound whisper flow. type OutboundCallerConfig struct { @@ -1120,6 +1252,27 @@ type PromptSummary struct { noSmithyDocumentSerde } +// Contains information about why a property is not valid. +type PropertyValidationExceptionProperty struct { + + // A message describing why the property is not valid. + // + // This member is required. + Message *string + + // The full property path. + // + // This member is required. + PropertyPath *string + + // Why the property is not valid. + // + // This member is required. + Reason PropertyValidationExceptionReason + + noSmithyDocumentSerde +} + // Contains information about a queue. type Queue struct { @@ -1280,11 +1433,20 @@ type QuickConnectSummary struct { noSmithyDocumentSerde } -// A link that an agent selects to complete a given task. You can have up to 4,096 -// UTF-8 bytes across all references for a contact. +// Indicates a field that is read-only to an agent. +type ReadOnlyFieldInfo struct { + + // Identifier of the read-only field. + Id *TaskTemplateFieldIdentifier + + noSmithyDocumentSerde +} + +// Well-formed data on a contact, used by agents to complete a contact request. You +// can have up to 4,096 UTF-8 bytes across all references for a contact. type Reference struct { - // The type of the reference. Only URL type can be added or updated on a contact. + // The type of the reference. // // This member is required. Type ReferenceType @@ -1303,13 +1465,17 @@ type Reference struct { // // The following types satisfy this interface: // ReferenceSummaryMemberAttachment +// ReferenceSummaryMemberDate +// ReferenceSummaryMemberEmail +// ReferenceSummaryMemberNumber +// ReferenceSummaryMemberString // ReferenceSummaryMemberUrl type ReferenceSummary interface { isReferenceSummary() } -// Information about the attachment reference if the referenceType is ATTACHMENT. -// Otherwise, null. +// Information about the reference when the referenceType is ATTACHMENT. Otherwise, +// null. type ReferenceSummaryMemberAttachment struct { Value AttachmentReference @@ -1318,8 +1484,43 @@ type ReferenceSummaryMemberAttachment struct { func (*ReferenceSummaryMemberAttachment) isReferenceSummary() {} -// Information about the URL reference if the referenceType is URL. Otherwise, -// null. +// Information about a reference when the referenceType is DATE. Otherwise, null. +type ReferenceSummaryMemberDate struct { + Value DateReference + + noSmithyDocumentSerde +} + +func (*ReferenceSummaryMemberDate) isReferenceSummary() {} + +// Information about a reference when the referenceType is EMAIL. Otherwise, null. +type ReferenceSummaryMemberEmail struct { + Value EmailReference + + noSmithyDocumentSerde +} + +func (*ReferenceSummaryMemberEmail) isReferenceSummary() {} + +// Information about a reference when the referenceType is NUMBER. Otherwise, null. +type ReferenceSummaryMemberNumber struct { + Value NumberReference + + noSmithyDocumentSerde +} + +func (*ReferenceSummaryMemberNumber) isReferenceSummary() {} + +// Information about a reference when the referenceType is STRING. Otherwise, null. +type ReferenceSummaryMemberString struct { + Value StringReference + + noSmithyDocumentSerde +} + +func (*ReferenceSummaryMemberString) isReferenceSummary() {} + +// Information about the reference when the referenceType is URL. Otherwise, null. type ReferenceSummaryMemberUrl struct { Value UrlReference @@ -1328,6 +1529,15 @@ type ReferenceSummaryMemberUrl struct { func (*ReferenceSummaryMemberUrl) isReferenceSummary() {} +// Information about a required field. +type RequiredFieldInfo struct { + + // The unique identifier for the field. + Id *TaskTemplateFieldIdentifier + + noSmithyDocumentSerde +} + // Contains information about a routing profile. type RoutingProfile struct { @@ -1446,6 +1656,18 @@ type RoutingProfileQueueReference struct { noSmithyDocumentSerde } +// Information about the routing profile assigned to the user. +type RoutingProfileReference struct { + + // The Amazon Resource Name (ARN) of the routing profile. + Arn *string + + // The identifier of the routing profile. + Id *string + + noSmithyDocumentSerde +} + // Contains summary information about a routing profile. type RoutingProfileSummary struct { @@ -1551,6 +1773,18 @@ type StringCondition struct { noSmithyDocumentSerde } +// Information about a reference when the referenceType is STRING. Otherwise, null. +type StringReference struct { + + // Identifier of the string reference. + Name *string + + // A valid string. + Value *string + + noSmithyDocumentSerde +} + // A leaf node condition which can be used to specify a tag condition, for example, // HAVE BPO = 123. type TagCondition struct { @@ -1564,6 +1798,100 @@ type TagCondition struct { noSmithyDocumentSerde } +// Describes constraints that apply to the template fields. +type TaskTemplateConstraints struct { + + // Lists the fields that are invisible to agents. + InvisibleFields []InvisibleFieldInfo + + // Lists the fields that are read-only to agents, and cannot be edited. + ReadOnlyFields []ReadOnlyFieldInfo + + // Lists the fields that are required to be filled by agents. + RequiredFields []RequiredFieldInfo + + noSmithyDocumentSerde +} + +// Describes a default field and its corresponding value. +type TaskTemplateDefaultFieldValue struct { + + // Default value for the field. + DefaultValue *string + + // Identifier of a field. + Id *TaskTemplateFieldIdentifier + + noSmithyDocumentSerde +} + +// Describes default values for fields on a template. +type TaskTemplateDefaults struct { + + // Default value for the field. + DefaultFieldValues []TaskTemplateDefaultFieldValue + + noSmithyDocumentSerde +} + +// Describes a single task template field. +type TaskTemplateField struct { + + // The unique identifier for the field. + // + // This member is required. + Id *TaskTemplateFieldIdentifier + + // The description of the field. + Description *string + + // A list of options for a single select field. + SingleSelectOptions []string + + // Indicates the type of field. + Type TaskTemplateFieldType + + noSmithyDocumentSerde +} + +// The identifier of the task template field. +type TaskTemplateFieldIdentifier struct { + + // The name of the task template field. + Name *string + + noSmithyDocumentSerde +} + +// Contains summary information about the task template. +type TaskTemplateMetadata struct { + + // The Amazon Resource Name (ARN) of the task template. + Arn *string + + // The timestamp when the task template was created. + CreatedTime *time.Time + + // The description of the task template. + Description *string + + // A unique identifier for the task template. + Id *string + + // The timestamp when the task template was last modified. + LastModifiedTime *time.Time + + // The name of the task template. + Name *string + + // Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only + // be created from ACTIVE templates. If a template is marked as INACTIVE, then a + // task that refers to this template cannot be created. + Status TaskTemplateStatus + + noSmithyDocumentSerde +} + // Contains information about the threshold for service level metrics. type Threshold struct { @@ -1641,6 +1969,56 @@ type User struct { noSmithyDocumentSerde } +// Data for a user. +type UserData struct { + + // A map of active slots by channel. The key is a channel name. The value is an + // integer: the number of active slots. + ActiveSlotsByChannel map[string]int32 + + // A map of available slots by channel. The key is a channel name. The value is an + // integer: the available number of slots. + AvailableSlotsByChannel map[string]int32 + + // A list of contact reference information. + Contacts []AgentContactReference + + // Contains information about the levels of a hierarchy group assigned to a user. + HierarchyPath *HierarchyPathReference + + // A map of maximum slots by channel. The key is a channel name. The value is an + // integer: the maximum number of slots. This is calculated from MediaConcurrency + // (https://docs.aws.amazon.com/connect/latest/APIReference/API_MediaConcurrency.html) + // of the RoutingProfile assigned to the agent. + MaxSlotsByChannel map[string]int32 + + // Information about the routing profile that is assigned to the user. + RoutingProfile *RoutingProfileReference + + // The status of the agent that they manually set in their Contact Control Panel + // (CCP), or that the supervisor manually changes in the real-time metrics report. + Status *AgentStatusReference + + // Information about the user for the data that is returned. It contains resourceId + // and ARN of the user. + User *UserReference + + noSmithyDocumentSerde +} + +// A filter for the user data. +type UserDataFilters struct { + + // A filter for the user data based on the contact information that is associated + // to the user. It contains a list of contact states. + ContactFilter *ContactFilter + + // Contains information about a queue resource for which metrics are returned. + Queues []string + + noSmithyDocumentSerde +} + // Contains information about the identity of a user. type UserIdentityInfo struct { @@ -1708,6 +2086,18 @@ type UserQuickConnectConfig struct { noSmithyDocumentSerde } +// Information about the user. +type UserReference struct { + + // The Amazon Resource Name (ARN) for the user. + Arn *string + + // The unique identifier for the user. + Id *string + + noSmithyDocumentSerde +} + // The search criteria to be used to return users. type UserSearchCriteria struct { diff --git a/service/connect/types/types_exported_test.go b/service/connect/types/types_exported_test.go index 0a0f96aefea..71f2870909b 100644 --- a/service/connect/types/types_exported_test.go +++ b/service/connect/types/types_exported_test.go @@ -14,6 +14,18 @@ func ExampleReferenceSummary_outputUsage() { case *types.ReferenceSummaryMemberAttachment: _ = v.Value // Value is types.AttachmentReference + case *types.ReferenceSummaryMemberDate: + _ = v.Value // Value is types.DateReference + + case *types.ReferenceSummaryMemberEmail: + _ = v.Value // Value is types.EmailReference + + case *types.ReferenceSummaryMemberNumber: + _ = v.Value // Value is types.NumberReference + + case *types.ReferenceSummaryMemberString: + _ = v.Value // Value is types.StringReference + case *types.ReferenceSummaryMemberUrl: _ = v.Value // Value is types.UrlReference @@ -28,3 +40,7 @@ func ExampleReferenceSummary_outputUsage() { var _ *types.AttachmentReference var _ *types.UrlReference +var _ *types.NumberReference +var _ *types.StringReference +var _ *types.DateReference +var _ *types.EmailReference diff --git a/service/connect/validators.go b/service/connect/validators.go index 834d6c14066..2d7963d3a3d 100644 --- a/service/connect/validators.go +++ b/service/connect/validators.go @@ -430,6 +430,26 @@ func (m *validateOpCreateSecurityProfile) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpCreateTaskTemplate struct { +} + +func (*validateOpCreateTaskTemplate) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateTaskTemplate) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateTaskTemplateInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateTaskTemplateInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateUseCase struct { } @@ -650,6 +670,26 @@ func (m *validateOpDeleteSecurityProfile) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpDeleteTaskTemplate struct { +} + +func (*validateOpDeleteTaskTemplate) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteTaskTemplate) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteTaskTemplateInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteTaskTemplateInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDeleteUseCase struct { } @@ -1290,6 +1330,26 @@ func (m *validateOpGetCurrentMetricData) HandleInitialize(ctx context.Context, i return next.HandleInitialize(ctx, in) } +type validateOpGetCurrentUserData struct { +} + +func (*validateOpGetCurrentUserData) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetCurrentUserData) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetCurrentUserDataInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetCurrentUserDataInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetFederationToken struct { } @@ -1330,6 +1390,26 @@ func (m *validateOpGetMetricData) HandleInitialize(ctx context.Context, in middl return next.HandleInitialize(ctx, in) } +type validateOpGetTaskTemplate struct { +} + +func (*validateOpGetTaskTemplate) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetTaskTemplate) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetTaskTemplateInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetTaskTemplateInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListAgentStatuses struct { } @@ -1810,6 +1890,26 @@ func (m *validateOpListTagsForResource) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +type validateOpListTaskTemplates struct { +} + +func (*validateOpListTaskTemplates) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListTaskTemplates) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListTaskTemplatesInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListTaskTemplatesInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListUseCases struct { } @@ -2170,6 +2270,26 @@ func (m *validateOpTagResource) HandleInitialize(ctx context.Context, in middlew return next.HandleInitialize(ctx, in) } +type validateOpTransferContact struct { +} + +func (*validateOpTransferContact) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpTransferContact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*TransferContactInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpTransferContactInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUntagResource struct { } @@ -2690,6 +2810,26 @@ func (m *validateOpUpdateSecurityProfile) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpUpdateTaskTemplate struct { +} + +func (*validateOpUpdateTaskTemplate) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateTaskTemplate) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateTaskTemplateInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateTaskTemplateInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateUserHierarchyGroupName struct { } @@ -2914,6 +3054,10 @@ func addOpCreateSecurityProfileValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpCreateSecurityProfile{}, middleware.After) } +func addOpCreateTaskTemplateValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateTaskTemplate{}, middleware.After) +} + func addOpCreateUseCaseValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateUseCase{}, middleware.After) } @@ -2958,6 +3102,10 @@ func addOpDeleteSecurityProfileValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpDeleteSecurityProfile{}, middleware.After) } +func addOpDeleteTaskTemplateValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteTaskTemplate{}, middleware.After) +} + func addOpDeleteUseCaseValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteUseCase{}, middleware.After) } @@ -3086,6 +3234,10 @@ func addOpGetCurrentMetricDataValidationMiddleware(stack *middleware.Stack) erro return stack.Initialize.Add(&validateOpGetCurrentMetricData{}, middleware.After) } +func addOpGetCurrentUserDataValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetCurrentUserData{}, middleware.After) +} + func addOpGetFederationTokenValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetFederationToken{}, middleware.After) } @@ -3094,6 +3246,10 @@ func addOpGetMetricDataValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetMetricData{}, middleware.After) } +func addOpGetTaskTemplateValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetTaskTemplate{}, middleware.After) +} + func addOpListAgentStatusesValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListAgentStatuses{}, middleware.After) } @@ -3190,6 +3346,10 @@ func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) } +func addOpListTaskTemplatesValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListTaskTemplates{}, middleware.After) +} + func addOpListUseCasesValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListUseCases{}, middleware.After) } @@ -3262,6 +3422,10 @@ func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpTagResource{}, middleware.After) } +func addOpTransferContactValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpTransferContact{}, middleware.After) +} + func addOpUntagResourceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUntagResource{}, middleware.After) } @@ -3366,6 +3530,10 @@ func addOpUpdateSecurityProfileValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpUpdateSecurityProfile{}, middleware.After) } +func addOpUpdateTaskTemplateValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateTaskTemplate{}, middleware.After) +} + func addOpUpdateUserHierarchyGroupNameValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateUserHierarchyGroupName{}, middleware.After) } @@ -3882,6 +4050,38 @@ func validateS3Config(v *types.S3Config) error { } } +func validateTaskTemplateField(v *types.TaskTemplateField) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TaskTemplateField"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateTaskTemplateFields(v []types.TaskTemplateField) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TaskTemplateFields"} + for i := range v { + if err := validateTaskTemplateField(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateUserPhoneConfig(v *types.UserPhoneConfig) error { if v == nil { return nil @@ -4366,6 +4566,31 @@ func validateOpCreateSecurityProfileInput(v *CreateSecurityProfileInput) error { } } +func validateOpCreateTaskTemplateInput(v *CreateTaskTemplateInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateTaskTemplateInput"} + if v.InstanceId == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) + } + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if v.Fields == nil { + invalidParams.Add(smithy.NewErrParamRequired("Fields")) + } else if v.Fields != nil { + if err := validateTaskTemplateFields(v.Fields); err != nil { + invalidParams.AddNested("Fields", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateUseCaseInput(v *CreateUseCaseInput) error { if v == nil { return nil @@ -4583,6 +4808,24 @@ func validateOpDeleteSecurityProfileInput(v *DeleteSecurityProfileInput) error { } } +func validateOpDeleteTaskTemplateInput(v *DeleteTaskTemplateInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteTaskTemplateInput"} + if v.InstanceId == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) + } + if v.TaskTemplateId == nil { + invalidParams.Add(smithy.NewErrParamRequired("TaskTemplateId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDeleteUseCaseInput(v *DeleteUseCaseInput) error { if v == nil { return nil @@ -5172,6 +5415,24 @@ func validateOpGetCurrentMetricDataInput(v *GetCurrentMetricDataInput) error { } } +func validateOpGetCurrentUserDataInput(v *GetCurrentUserDataInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetCurrentUserDataInput"} + if v.InstanceId == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) + } + if v.Filters == nil { + invalidParams.Add(smithy.NewErrParamRequired("Filters")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetFederationTokenInput(v *GetFederationTokenInput) error { if v == nil { return nil @@ -5214,6 +5475,24 @@ func validateOpGetMetricDataInput(v *GetMetricDataInput) error { } } +func validateOpGetTaskTemplateInput(v *GetTaskTemplateInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetTaskTemplateInput"} + if v.InstanceId == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) + } + if v.TaskTemplateId == nil { + invalidParams.Add(smithy.NewErrParamRequired("TaskTemplateId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListAgentStatusesInput(v *ListAgentStatusesInput) error { if v == nil { return nil @@ -5595,6 +5874,21 @@ func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { } } +func validateOpListTaskTemplatesInput(v *ListTaskTemplatesInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListTaskTemplatesInput"} + if v.InstanceId == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListUseCasesInput(v *ListUseCasesInput) error { if v == nil { return nil @@ -5847,9 +6141,6 @@ func validateOpStartTaskContactInput(v *StartTaskContactInput) error { if v.InstanceId == nil { invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) } - if v.ContactFlowId == nil { - invalidParams.Add(smithy.NewErrParamRequired("ContactFlowId")) - } if v.Name == nil { invalidParams.Add(smithy.NewErrParamRequired("Name")) } @@ -5964,6 +6255,27 @@ func validateOpTagResourceInput(v *TagResourceInput) error { } } +func validateOpTransferContactInput(v *TransferContactInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TransferContactInput"} + if v.InstanceId == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) + } + if v.ContactId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ContactId")) + } + if v.ContactFlowId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ContactFlowId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUntagResourceInput(v *UntagResourceInput) error { if v == nil { return nil @@ -6500,6 +6812,29 @@ func validateOpUpdateSecurityProfileInput(v *UpdateSecurityProfileInput) error { } } +func validateOpUpdateTaskTemplateInput(v *UpdateTaskTemplateInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateTaskTemplateInput"} + if v.TaskTemplateId == nil { + invalidParams.Add(smithy.NewErrParamRequired("TaskTemplateId")) + } + if v.InstanceId == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceId")) + } + if v.Fields != nil { + if err := validateTaskTemplateFields(v.Fields); err != nil { + invalidParams.AddNested("Fields", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateUserHierarchyGroupNameInput(v *UpdateUserHierarchyGroupNameInput) error { if v == nil { return nil diff --git a/service/connectcontactlens/CHANGELOG.md b/service/connectcontactlens/CHANGELOG.md index c20c9233f43..750e1a1ab06 100644 --- a/service/connectcontactlens/CHANGELOG.md +++ b/service/connectcontactlens/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/connectcontactlens/go.mod b/service/connectcontactlens/go.mod index 60bc4820bfe..791625ea43f 100644 --- a/service/connectcontactlens/go.mod +++ b/service/connectcontactlens/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/connectcontactlens go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/connectcontactlens/go.sum b/service/connectcontactlens/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/connectcontactlens/go.sum +++ b/service/connectcontactlens/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/connectcontactlens/go_module_metadata.go b/service/connectcontactlens/go_module_metadata.go index 7f017a00a88..2c31db9de11 100644 --- a/service/connectcontactlens/go_module_metadata.go +++ b/service/connectcontactlens/go_module_metadata.go @@ -3,4 +3,4 @@ package connectcontactlens // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/connectparticipant/CHANGELOG.md b/service/connectparticipant/CHANGELOG.md index f7e79b290e9..1c5faec9998 100644 --- a/service/connectparticipant/CHANGELOG.md +++ b/service/connectparticipant/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/connectparticipant/go.mod b/service/connectparticipant/go.mod index 2d8df487c03..8b6da946d41 100644 --- a/service/connectparticipant/go.mod +++ b/service/connectparticipant/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/connectparticipant go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/connectparticipant/go.sum b/service/connectparticipant/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/connectparticipant/go.sum +++ b/service/connectparticipant/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/connectparticipant/go_module_metadata.go b/service/connectparticipant/go_module_metadata.go index 08c4b451e2a..1c2ac260dad 100644 --- a/service/connectparticipant/go_module_metadata.go +++ b/service/connectparticipant/go_module_metadata.go @@ -3,4 +3,4 @@ package connectparticipant // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/costandusagereportservice/CHANGELOG.md b/service/costandusagereportservice/CHANGELOG.md index 9523eb33da5..90538163b89 100644 --- a/service/costandusagereportservice/CHANGELOG.md +++ b/service/costandusagereportservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/costandusagereportservice/go.mod b/service/costandusagereportservice/go.mod index d8a3302686f..5a8969b2617 100644 --- a/service/costandusagereportservice/go.mod +++ b/service/costandusagereportservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/costandusagereportservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/costandusagereportservice/go.sum b/service/costandusagereportservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/costandusagereportservice/go.sum +++ b/service/costandusagereportservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/costandusagereportservice/go_module_metadata.go b/service/costandusagereportservice/go_module_metadata.go index e77c2ee1097..7f407d337c6 100644 --- a/service/costandusagereportservice/go_module_metadata.go +++ b/service/costandusagereportservice/go_module_metadata.go @@ -3,4 +3,4 @@ package costandusagereportservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/costexplorer/CHANGELOG.md b/service/costexplorer/CHANGELOG.md index 571f3fc1b5b..b21e3dab0e1 100644 --- a/service/costexplorer/CHANGELOG.md +++ b/service/costexplorer/CHANGELOG.md @@ -1,3 +1,8 @@ +# v1.19.0 (2022-06-07) + +* **Feature**: Added two new APIs to support cost allocation tags operations: ListCostAllocationTags, UpdateCostAllocationTagsStatus. +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/costexplorer/api_op_CreateAnomalyMonitor.go b/service/costexplorer/api_op_CreateAnomalyMonitor.go index 34bcc0ca582..e498f896203 100644 --- a/service/costexplorer/api_op_CreateAnomalyMonitor.go +++ b/service/costexplorer/api_op_CreateAnomalyMonitor.go @@ -51,16 +51,17 @@ type CreateAnomalyMonitorInput struct { // * The maximum length of a value is // 256 characters // - // * Valid characters for keys and values are: A-Z, a-z, spaces, - // _.:/=+- + // * Keys and values can only contain alphanumeric characters, + // spaces, and any of the following: _.:/=+@- // - // * Keys and values are case sensitive + // * Keys and values are case + // sensitive // - // * Keys and values are trimmed for - // any leading or trailing whitespaces + // * Keys and values are trimmed for any leading or trailing + // whitespaces // - // * Don’t use aws: as a prefix for your keys. - // This prefix is reserved for Amazon Web Services use + // * Don’t use aws: as a prefix for your keys. This prefix is reserved + // for Amazon Web Services use ResourceTags []types.ResourceTag noSmithyDocumentSerde diff --git a/service/costexplorer/api_op_CreateAnomalySubscription.go b/service/costexplorer/api_op_CreateAnomalySubscription.go index a6cf6c24beb..af5cbe156a1 100644 --- a/service/costexplorer/api_op_CreateAnomalySubscription.go +++ b/service/costexplorer/api_op_CreateAnomalySubscription.go @@ -53,16 +53,17 @@ type CreateAnomalySubscriptionInput struct { // * The maximum length of a // value is 256 characters // - // * Valid characters for keys and values are: A-Z, a-z, - // spaces, _.:/=+- - // - // * Keys and values are case sensitive + // * Keys and values can only contain alphanumeric + // characters, spaces, and any of the following: _.:/=+@- // // * Keys and values are - // trimmed for any leading or trailing whitespaces + // case sensitive + // + // * Keys and values are trimmed for any leading or trailing + // whitespaces // - // * Don’t use aws: as a prefix - // for your keys. This prefix is reserved for Amazon Web Services use + // * Don’t use aws: as a prefix for your keys. This prefix is reserved + // for Amazon Web Services use ResourceTags []types.ResourceTag noSmithyDocumentSerde diff --git a/service/costexplorer/api_op_CreateCostCategoryDefinition.go b/service/costexplorer/api_op_CreateCostCategoryDefinition.go index 1508b956a60..b97a921eb4a 100644 --- a/service/costexplorer/api_op_CreateCostCategoryDefinition.go +++ b/service/costexplorer/api_op_CreateCostCategoryDefinition.go @@ -65,16 +65,17 @@ type CreateCostCategoryDefinitionInput struct { // * The maximum length of a // value is 256 characters // - // * Valid characters for keys and values are: A-Z, a-z, - // spaces, _.:/=+- - // - // * Keys and values are case sensitive + // * Keys and values can only contain alphanumeric + // characters, spaces, and any of the following: _.:/=+@- // // * Keys and values are - // trimmed for any leading or trailing whitespaces + // case sensitive + // + // * Keys and values are trimmed for any leading or trailing + // whitespaces // - // * Don’t use aws: as a prefix - // for your keys. This prefix is reserved for Amazon Web Services use + // * Don’t use aws: as a prefix for your keys. This prefix is reserved + // for Amazon Web Services use ResourceTags []types.ResourceTag // The split charge rules used to allocate your charges between your Cost Category diff --git a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go index 401aa6a7c16..18c17f93254 100644 --- a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go @@ -43,7 +43,7 @@ type DeleteCostCategoryDefinitionOutput struct { CostCategoryArn *string // The effective end date of the Cost Category as a result of deleting it. No costs - // after this date will be categorized by the deleted Cost Category. + // after this date is categorized by the deleted Cost Category. EffectiveEnd *string // Metadata pertaining to the operation's result. diff --git a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go index 3f118e86dc5..268161bd478 100644 --- a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go @@ -11,11 +11,12 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns the name, ARN, rules, definition, and effective dates of a Cost Category -// that's defined in the account. You have the option to use EffectiveOn to return -// a Cost Category that is active on a specific date. If there is no EffectiveOn -// specified, you’ll see a Cost Category that is effective on the current date. If -// Cost Category is still effective, EffectiveEnd is omitted in the response. +// Returns the name, Amazon Resource Name (ARN), rules, definition, and effective +// dates of a Cost Category that's defined in the account. You have the option to +// use EffectiveOn to return a Cost Category that's active on a specific date. If +// there's no EffectiveOn specified, you see a Cost Category that's effective on +// the current date. If Cost Category is still effective, EffectiveEnd is omitted +// in the response. func (c *Client) DescribeCostCategoryDefinition(ctx context.Context, params *DescribeCostCategoryDefinitionInput, optFns ...func(*Options)) (*DescribeCostCategoryDefinitionOutput, error) { if params == nil { params = &DescribeCostCategoryDefinitionInput{} diff --git a/service/costexplorer/api_op_GetCostAndUsageWithResources.go b/service/costexplorer/api_op_GetCostAndUsageWithResources.go index 654efa93ceb..8a1ef7c200c 100644 --- a/service/costexplorer/api_op_GetCostAndUsageWithResources.go +++ b/service/costexplorer/api_op_GetCostAndUsageWithResources.go @@ -20,8 +20,8 @@ import ( // operation. Management account in an organization in Organizations have access to // all member accounts. This API is currently available for the Amazon Elastic // Compute Cloud – Compute service only. This is an opt-in only feature. You can -// enable this feature from the Cost Explorer Settings page. For information on how -// to access the Settings page, see Controlling Access for Cost Explorer +// enable this feature from the Cost Explorer Settings page. For information about +// how to access the Settings page, see Controlling Access for Cost Explorer // (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html) in // the Billing and Cost Management User Guide. func (c *Client) GetCostAndUsageWithResources(ctx context.Context, params *GetCostAndUsageWithResourcesInput, optFns ...func(*Options)) (*GetCostAndUsageWithResourcesOutput, error) { @@ -87,8 +87,8 @@ type GetCostAndUsageWithResourcesInput struct { // UsageQuantity metric, the service aggregates all usage numbers without taking // the units into account. For example, if you aggregate usageQuantity across all // of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours - // and data transfer are measured in different units (for example, hours vs. GB). - // To get more meaningful UsageQuantity metrics, filter by UsageType or + // and data transfer are measured in different units (for example, hour or GB). To + // get more meaningful UsageQuantity metrics, filter by UsageType or // UsageTypeGroups. Metrics is required for GetCostAndUsageWithResources requests. Metrics []string @@ -115,7 +115,7 @@ type GetCostAndUsageWithResourcesOutput struct { // maximum page size. NextPageToken *string - // The time period that is covered by the results in the response. + // The time period that's covered by the results in the response. ResultsByTime []types.ResultByTime // Metadata pertaining to the operation's result. diff --git a/service/costexplorer/api_op_GetCostCategories.go b/service/costexplorer/api_op_GetCostCategories.go index cbbc24baa69..3758c149485 100644 --- a/service/costexplorer/api_op_GetCostCategories.go +++ b/service/costexplorer/api_op_GetCostCategories.go @@ -74,27 +74,26 @@ type GetCostCategoriesInput struct { // aren't supported. Dimensions are limited to LINKED_ACCOUNT. Filter *types.Expression - // This field is only used when SortBy is provided in the request. The maximum - // number of objects that to be returned for this request. If MaxResults is not - // specified with SortBy, the request will return 1000 results as the default value - // for this parameter. For GetCostCategories, MaxResults has an upper limit of - // 1000. + // This field is only used when the SortBy value is provided in the request. The + // maximum number of objects that are returned for this request. If MaxResults + // isn't specified with the SortBy value, the request returns 1000 results as the + // default value for this parameter. For GetCostCategories, MaxResults has an upper + // quota of 1000. MaxResults int32 // If the number of objects that are still available for retrieval exceeds the - // limit, Amazon Web Services returns a NextPageToken value in the response. To - // retrieve the next batch of objects, provide the NextPageToken from the prior + // quota, Amazon Web Services returns a NextPageToken value in the response. To + // retrieve the next batch of objects, provide the NextPageToken from the previous // call in your next request. NextPageToken *string - // The value that you want to search the filter values for. If you do not specify a - // CostCategoryName, SearchString will be used to filter Cost Category names that - // match the SearchString pattern. If you do specifiy a CostCategoryName, - // SearchString will be used to filter Cost Category values that match the - // SearchString pattern. + // The value that you want to search the filter values for. If you don't specify a + // CostCategoryName, SearchString is used to filter Cost Category names that match + // the SearchString pattern. If you specify a CostCategoryName, SearchString is + // used to filter Cost Category values that match the SearchString pattern. SearchString *string - // The value by which you want to sort the data. The key represents cost and usage + // The value that you sort the data by. The key represents the cost and usage // metrics. The following values are supported: // // * BlendedCost @@ -113,8 +112,9 @@ type GetCostCategoriesInput struct { // * // NormalizedUsageAmount // - // Supported values for SortOrder are ASCENDING or - // DESCENDING. When using SortBy, NextPageToken and SearchString are not supported. + // The supported key values for the SortOrder value are + // ASCENDING and DESCENDING. When you use the SortBy value, the NextPageToken and + // SearchString key values aren't supported. SortBy []types.SortDefinition noSmithyDocumentSerde @@ -122,7 +122,7 @@ type GetCostCategoriesInput struct { type GetCostCategoriesOutput struct { - // The number of objects returned. + // The number of objects that are returned. // // This member is required. ReturnSize *int32 @@ -135,12 +135,12 @@ type GetCostCategoriesOutput struct { // The names of the Cost Categories. CostCategoryNames []string - // The Cost Category values. CostCategoryValues are not returned if - // CostCategoryName is not specified in the request. + // The Cost Category values. If the CostCategoryName key isn't specified in the + // request, the CostCategoryValues fields aren't returned. CostCategoryValues []string // If the number of objects that are still available for retrieval exceeds the - // limit, Amazon Web Services returns a NextPageToken value in the response. To + // quota, Amazon Web Services returns a NextPageToken value in the response. To // retrieve the next batch of objects, provide the marker from the prior call in // your next request. NextPageToken *string diff --git a/service/costexplorer/api_op_GetDimensionValues.go b/service/costexplorer/api_op_GetDimensionValues.go index 47082b492e3..ae6e1a6591b 100644 --- a/service/costexplorer/api_op_GetDimensionValues.go +++ b/service/costexplorer/api_op_GetDimensionValues.go @@ -57,71 +57,71 @@ type GetDimensionValuesInput struct { // * // BILLING_ENTITY - The Amazon Web Services seller that your account is with. // Possible values are the following: - Amazon Web Services(Amazon Web Services): - // The entity that sells Amazon Web Services services. - AISPL (Amazon Internet - // Services Pvt. Ltd.): The local Indian entity that is an acting reseller for - // Amazon Web Services services in India. - Amazon Web Services Marketplace: The - // entity that supports the sale of solutions built on Amazon Web Services by - // third-party software providers. + // The entity that sells Amazon Web Services. - AISPL (Amazon Internet Services + // Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web + // Services in India. - Amazon Web Services Marketplace: The entity that supports + // the sale of solutions that are built on Amazon Web Services by third-party + // software providers. // - // * CACHE_ENGINE - The Amazon ElastiCache - // operating system. Examples are Windows or Linux. + // * CACHE_ENGINE - The Amazon ElastiCache operating system. + // Examples are Windows or Linux. // - // * DEPLOYMENT_OPTION - The - // scope of Amazon Relational Database Service deployments. Valid values are - // SingleAZ and MultiAZ. + // * DEPLOYMENT_OPTION - The scope of Amazon + // Relational Database Service deployments. Valid values are SingleAZ and + // MultiAZ. // - // * DATABASE_ENGINE - The Amazon Relational Database - // Service database. Examples are Aurora or MySQL. + // * DATABASE_ENGINE - The Amazon Relational Database Service database. + // Examples are Aurora or MySQL. // - // * INSTANCE_TYPE - The type of - // Amazon EC2 instance. An example is m4.xlarge. + // * INSTANCE_TYPE - The type of Amazon EC2 + // instance. An example is m4.xlarge. // - // * INSTANCE_TYPE_FAMILY - A family - // of instance types optimized to fit different use cases. Examples are Compute - // Optimized (C4, C5, C6g, C7g etc.), Memory Optimization (R4, R5n, R5b, R6g - // etc). + // * INSTANCE_TYPE_FAMILY - A family of + // instance types optimized to fit different use cases. Examples are Compute + // Optimized (for example, C4, C5, C6g, and C7g), Memory Optimization (for example, + // R4, R5n, R5b, and R6g). // - // * INVOICING_ENTITY - The name of the entity issuing the Amazon Web - // Services invoice. + // * INVOICING_ENTITY - The name of the entity that issues + // the Amazon Web Services invoice. // - // * LEGAL_ENTITY_NAME - The name of the organization that sells - // you Amazon Web Services services, such as Amazon Web Services. + // * LEGAL_ENTITY_NAME - The name of the + // organization that sells you Amazon Web Services services, such as Amazon Web + // Services. // - // * LINKED_ACCOUNT - // - The description in the attribute map that includes the full name of the member - // account. The value field contains the Amazon Web Services ID of the member - // account. + // * LINKED_ACCOUNT - The description in the attribute map that includes + // the full name of the member account. The value field contains the Amazon Web + // Services ID of the member account. // - // * OPERATING_SYSTEM - The operating system. Examples are Windows or - // Linux. + // * OPERATING_SYSTEM - The operating system. + // Examples are Windows or Linux. // - // * OPERATION - The action performed. Examples include RunInstance and - // CreateBucket. + // * OPERATION - The action performed. Examples + // include RunInstance and CreateBucket. // - // * PLATFORM - The Amazon EC2 operating system. Examples are - // Windows or Linux. + // * PLATFORM - The Amazon EC2 operating + // system. Examples are Windows or Linux. // - // * PURCHASE_TYPE - The reservation type of the purchase to - // which this usage is related. Examples include On-Demand Instances and Standard - // Reserved Instances. + // * PURCHASE_TYPE - The reservation type + // of the purchase that this usage is related to. Examples include On-Demand + // Instances and Standard Reserved Instances. // - // * RESERVATION_ID - The unique identifier for an Amazon Web - // Services Reservation Instance. + // * RESERVATION_ID - The unique + // identifier for an Amazon Web Services Reservation Instance. // - // * SAVINGS_PLAN_ARN - The unique identifier for - // your Savings Plans. + // * SAVINGS_PLAN_ARN + // - The unique identifier for your Savings Plans. // - // * SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance - // or Compute). + // * SAVINGS_PLANS_TYPE - Type of + // Savings Plans (EC2 Instance or Compute). // - // * SERVICE - The Amazon Web Services service such as Amazon - // DynamoDB. + // * SERVICE - The Amazon Web Services + // service such as Amazon DynamoDB. // - // * TENANCY - The tenancy of a resource. Examples are shared or - // dedicated. + // * TENANCY - The tenancy of a resource. + // Examples are shared or dedicated. // - // * USAGE_TYPE - The type of usage. An example is - // DataTransfer-In-Bytes. The response for the GetDimensionValues operation + // * USAGE_TYPE - The type of usage. An example + // is DataTransfer-In-Bytes. The response for the GetDimensionValues operation // includes a unit attribute. Examples include GB and Hrs. // // * USAGE_TYPE_GROUP - @@ -132,20 +132,20 @@ type GetDimensionValuesInput struct { // The Amazon Web Services Region. // // * RECORD_TYPE - The different types of charges - // such as RI fees, usage costs, tax refunds, and credits. + // such as Reserved Instance (RI) fees, usage costs, tax refunds, and credits. // - // * RESOURCE_ID - The - // unique identifier of the resource. ResourceId is an opt-in feature only - // available for last 14 days for EC2-Compute Service. + // * + // RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in + // feature only available for last 14 days for EC2-Compute Service. // - // If you set the context to - // RESERVATIONS, you can use the following dimensions for searching: + // If you set the + // context to RESERVATIONS, you can use the following dimensions for searching: // - // * AZ - The - // Availability Zone. An example is us-east-1a. + // * + // AZ - The Availability Zone. An example is us-east-1a. // - // * CACHE_ENGINE - The Amazon - // ElastiCache operating system. Examples are Windows or Linux. + // * CACHE_ENGINE - The + // Amazon ElastiCache operating system. Examples are Windows or Linux. // // * // DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. @@ -180,13 +180,13 @@ type GetDimensionValuesInput struct { // * SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 // Instance or Compute) // - // * PAYMENT_OPTION - Payment option for the given Savings - // Plans (for example, All Upfront) + // * PAYMENT_OPTION - The payment option for the given + // Savings Plans (for example, All Upfront) // - // * REGION - The Amazon Web Services Region. + // * REGION - The Amazon Web Services + // Region. // - // * - // INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) + // * INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) // // * // LINKED_ACCOUNT - The description in the attribute map that includes the full @@ -233,10 +233,9 @@ type GetDimensionValuesInput struct { Filter *types.Expression // This field is only used when SortBy is provided in the request. The maximum - // number of objects that to be returned for this request. If MaxResults is not - // specified with SortBy, the request will return 1000 results as the default value - // for this parameter. For GetDimensionValues, MaxResults has an upper limit of - // 1000. + // number of objects that are returned for this request. If MaxResults isn't + // specified with SortBy, the request returns 1000 results as the default value for + // this parameter. For GetDimensionValues, MaxResults has an upper limit of 1000. MaxResults int32 // The token to retrieve the next set of results. Amazon Web Services provides the @@ -247,7 +246,7 @@ type GetDimensionValuesInput struct { // The value that you want to search the filter values for. SearchString *string - // The value by which you want to sort the data. The key represents cost and usage + // The value that you want to sort the data by. The key represents cost and usage // metrics. The following values are supported: // // * BlendedCost @@ -266,10 +265,10 @@ type GetDimensionValuesInput struct { // * // NormalizedUsageAmount // - // Supported values for SortOrder are ASCENDING or - // DESCENDING. When you specify a SortBy paramater, the context must be - // COST_AND_USAGE. Further, when using SortBy, NextPageToken and SearchString are - // not supported. + // The supported values for the SortOrder key are ASCENDING + // or DESCENDING. When you specify a SortBy paramater, the context must be + // COST_AND_USAGE. Further, when using SortBy, NextPageToken and SearchString + // aren't supported. SortBy []types.SortDefinition noSmithyDocumentSerde diff --git a/service/costexplorer/api_op_GetReservationCoverage.go b/service/costexplorer/api_op_GetReservationCoverage.go index ff1114002b5..539d8357ddf 100644 --- a/service/costexplorer/api_op_GetReservationCoverage.go +++ b/service/costexplorer/api_op_GetReservationCoverage.go @@ -11,13 +11,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves the reservation coverage for your account. This enables you to see how -// much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational -// Database Service, or Amazon Redshift usage is covered by a reservation. An -// organization's management account can see the coverage of the associated member -// accounts. This supports dimensions, Cost Categories, and nested expressions. For -// any time period, you can filter data about reservation usage by the following -// dimensions: +// Retrieves the reservation coverage for your account, which you can use to see +// how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon +// Relational Database Service, or Amazon Redshift usage is covered by a +// reservation. An organization's management account can see the coverage of the +// associated member accounts. This supports dimensions, Cost Categories, and +// nested expressions. For any time period, you can filter data about reservation +// usage by the following dimensions: // // * AZ // @@ -25,28 +25,28 @@ import ( // // * DATABASE_ENGINE // -// * DEPLOYMENT_OPTION -// // * -// INSTANCE_TYPE +// DEPLOYMENT_OPTION +// +// * INSTANCE_TYPE // // * LINKED_ACCOUNT // // * OPERATING_SYSTEM // -// * PLATFORM +// * +// PLATFORM // // * REGION // -// * -// SERVICE +// * SERVICE // // * TAG // // * TENANCY // -// To determine valid values for a dimension, use the -// GetDimensionValues operation. +// To determine valid values for a +// dimension, use the GetDimensionValues operation. func (c *Client) GetReservationCoverage(ctx context.Context, params *GetReservationCoverageInput, optFns ...func(*Options)) (*GetReservationCoverageOutput, error) { if params == nil { params = &GetReservationCoverageInput{} diff --git a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go index cb64b42a79b..e921a2fec4b 100644 --- a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go @@ -11,23 +11,23 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets recommendations for which reservations to purchase. These recommendations -// could help you reduce your costs. Reservations provide a discounted hourly rate -// (up to 75%) compared to On-Demand pricing. Amazon Web Services generates your +// Gets recommendations for reservation purchases. These recommendations might help +// you to reduce your costs. Reservations provide a discounted hourly rate (up to +// 75%) compared to On-Demand pricing. Amazon Web Services generates your // recommendations by identifying your On-Demand usage during a specific time // period and collecting your usage into categories that are eligible for a // reservation. After Amazon Web Services has these categories, it simulates every // combination of reservations in each category of usage to identify the best -// number of each type of RI to purchase to maximize your estimated savings. For -// example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, -// shared tenancy, and c4 family usage in the US West (Oregon) Region and -// recommends that you buy size-flexible regional reservations to apply to the c4 -// family usage. Amazon Web Services recommends the smallest size instance in an -// instance family. This makes it easier to purchase a size-flexible RI. Amazon Web -// Services also shows the equal number of normalized units so that you can -// purchase any instance size that you want. For this example, your RI -// recommendation would be for c4.large because that is the smallest size instance -// in the c4 instance family. +// number of each type of Reserved Instance (RI) to purchase to maximize your +// estimated savings. For example, Amazon Web Services automatically aggregates +// your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West +// (Oregon) Region and recommends that you buy size-flexible regional reservations +// to apply to the c4 family usage. Amazon Web Services recommends the smallest +// size instance in an instance family. This makes it easier to purchase a +// size-flexible Reserved Instance (RI). Amazon Web Services also shows the equal +// number of normalized units. This way, you can purchase any instance size that +// you want. For this example, your RI recommendation is for c4.large because that +// is the smallest size instance in the c4 instance family. func (c *Client) GetReservationPurchaseRecommendation(ctx context.Context, params *GetReservationPurchaseRecommendationInput, optFns ...func(*Options)) (*GetReservationPurchaseRecommendationOutput, error) { if params == nil { params = &GetReservationPurchaseRecommendationInput{} @@ -50,7 +50,7 @@ type GetReservationPurchaseRecommendationInput struct { // This member is required. Service *string - // The account ID that is associated with the recommendation. + // The account ID that's associated with the recommendation. AccountId *string // The account scope that you want your recommendations for. Amazon Web Services diff --git a/service/costexplorer/api_op_GetReservationUtilization.go b/service/costexplorer/api_op_GetReservationUtilization.go index bf34c99459b..24056171a3d 100644 --- a/service/costexplorer/api_op_GetReservationUtilization.go +++ b/service/costexplorer/api_op_GetReservationUtilization.go @@ -32,10 +32,11 @@ func (c *Client) GetReservationUtilization(ctx context.Context, params *GetReser type GetReservationUtilizationInput struct { - // Sets the start and end dates for retrieving RI utilization. The start date is - // inclusive, but the end date is exclusive. For example, if start is 2017-01-01 - // and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 - // up to and including 2017-04-30 but not including 2017-05-01. + // Sets the start and end dates for retrieving Reserved Instance (RI) utilization. + // The start date is inclusive, but the end date is exclusive. For example, if + // start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is + // retrieved from 2017-01-01 up to and including 2017-04-30 but not including + // 2017-05-01. // // This member is required. TimePeriod *types.DateInterval @@ -95,7 +96,7 @@ type GetReservationUtilizationInput struct { // page size. NextPageToken *string - // The value by which you want to sort the data. The following values are supported + // The value that you want to sort the data by. The following values are supported // for Key: // // * UtilizationPercentage @@ -137,7 +138,8 @@ type GetReservationUtilizationInput struct { // * // UnrealizedSavings // - // Supported values for SortOrder are ASCENDING or DESCENDING. + // The supported values for SortOrder are ASCENDING and + // DESCENDING. SortBy *types.SortDefinition noSmithyDocumentSerde @@ -145,7 +147,7 @@ type GetReservationUtilizationInput struct { type GetReservationUtilizationOutput struct { - // The amount of time that you used your RIs. + // The amount of time that you used your Reserved Instances (RIs). // // This member is required. UtilizationsByTime []types.UtilizationByTime @@ -155,7 +157,7 @@ type GetReservationUtilizationOutput struct { // maximum page size. NextPageToken *string - // The total amount of time that you used your RIs. + // The total amount of time that you used your Reserved Instances (RIs). Total *types.ReservationAggregates // Metadata pertaining to the operation's result. diff --git a/service/costexplorer/api_op_GetRightsizingRecommendation.go b/service/costexplorer/api_op_GetRightsizingRecommendation.go index 779380623be..8dffe849b59 100644 --- a/service/costexplorer/api_op_GetRightsizingRecommendation.go +++ b/service/costexplorer/api_op_GetRightsizingRecommendation.go @@ -14,8 +14,8 @@ import ( // Creates recommendations that help you save cost by identifying idle and // underutilized Amazon EC2 instances. Recommendations are generated to either // downsize or terminate instances, along with providing savings detail and -// metrics. For details on calculation and function, see Optimizing Your Cost with -// Rightsizing Recommendations +// metrics. For more information about calculation and function, see Optimizing +// Your Cost with Rightsizing Recommendations // (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html) // in the Billing and Cost Management User Guide. func (c *Client) GetRightsizingRecommendation(ctx context.Context, params *GetRightsizingRecommendationInput, optFns ...func(*Options)) (*GetRightsizingRecommendationOutput, error) { @@ -41,11 +41,11 @@ type GetRightsizingRecommendationInput struct { // This member is required. Service *string - // Enables you to customize recommendations across two attributes. You can choose - // to view recommendations for instances within the same instance families or - // across different instance families. You can also choose to view your estimated - // savings associated with recommendations with consideration of existing Savings - // Plans or RI benefits, or neither. + // You can use Configuration to customize recommendations across two attributes. + // You can choose to view recommendations for instances within the same instance + // families or across different instance families. You can also choose to view your + // estimated savings that are associated with recommendations with consideration of + // existing Savings Plans or RI benefits, or neither. Configuration *types.RightsizingRecommendationConfiguration // Use Expression to filter by cost or by usage. There are two patterns: @@ -96,11 +96,11 @@ type GetRightsizingRecommendationInput struct { type GetRightsizingRecommendationOutput struct { - // Enables you to customize recommendations across two attributes. You can choose - // to view recommendations for instances within the same instance families or - // across different instance families. You can also choose to view your estimated - // savings associated with recommendations with consideration of existing Savings - // Plans or RI benefits, or neither. + // You can use Configuration to customize recommendations across two attributes. + // You can choose to view recommendations for instances within the same instance + // families or across different instance families. You can also choose to view your + // estimated savings that are associated with recommendations with consideration of + // existing Savings Plans or RI benefits, or neither. Configuration *types.RightsizingRecommendationConfiguration // Information regarding this specific recommendation set. diff --git a/service/costexplorer/api_op_GetSavingsPlansCoverage.go b/service/costexplorer/api_op_GetSavingsPlansCoverage.go index 3d599089b5a..74925335f05 100644 --- a/service/costexplorer/api_op_GetSavingsPlansCoverage.go +++ b/service/costexplorer/api_op_GetSavingsPlansCoverage.go @@ -94,7 +94,7 @@ type GetSavingsPlansCoverageInput struct { // page size. NextToken *string - // The value by which you want to sort the data. The following values are supported + // The value that you want to sort the data by. The following values are supported // for Key: // // * SpendCoveredBySavingsPlan @@ -112,8 +112,8 @@ type GetSavingsPlansCoverageInput struct { // // * Service // - // Supported values for SortOrder - // are ASCENDING or DESCENDING. + // The supported values for + // SortOrder are ASCENDING and DESCENDING. SortBy *types.SortDefinition noSmithyDocumentSerde diff --git a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go index 964c79d53eb..71ad527f631 100644 --- a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go @@ -30,22 +30,23 @@ func (c *Client) GetSavingsPlansPurchaseRecommendation(ctx context.Context, para type GetSavingsPlansPurchaseRecommendationInput struct { - // The lookback period used to generate the recommendation. + // The lookback period that's used to generate the recommendation. // // This member is required. LookbackPeriodInDays types.LookbackPeriodInDays - // The payment option used to generate these recommendations. + // The payment option that's used to generate these recommendations. // // This member is required. PaymentOption types.PaymentOption - // The Savings Plans recommendation type requested. + // The Savings Plans recommendation type that's requested. // // This member is required. SavingsPlansType types.SupportedSavingsPlansType - // The savings plan recommendation term used to generate these recommendations. + // The savings plan recommendation term that's used to generate these + // recommendations. // // This member is required. TermInYears types.TermInYears @@ -58,13 +59,13 @@ type GetSavingsPlansPurchaseRecommendationInput struct { // You can filter your recommendations by Account ID with the LINKED_ACCOUNT // dimension. To filter your recommendations by Account ID, specify Key as - // LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) for which you want - // to see Savings Plans purchase recommendations. For - // GetSavingsPlansPurchaseRecommendation, the Filter does not include - // CostCategories or Tags. It only includes Dimensions. With Dimensions, Key must - // be LINKED_ACCOUNT and Value can be a single Account ID or multiple - // comma-separated Account IDs for which you want to see Savings Plans Purchase - // Recommendations. AND and OR operators are not supported. + // LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) that you want to + // see Savings Plans purchase recommendations for. For + // GetSavingsPlansPurchaseRecommendation, the Filter doesn't include CostCategories + // or Tags. It only includes Dimensions. With Dimensions, Key must be + // LINKED_ACCOUNT and Value can be a single Account ID or multiple comma-separated + // Account IDs that you want to see Savings Plans Purchase Recommendations for. AND + // and OR operators are not supported. Filter *types.Expression // The token to retrieve the next set of results. Amazon Web Services provides the @@ -81,7 +82,7 @@ type GetSavingsPlansPurchaseRecommendationInput struct { type GetSavingsPlansPurchaseRecommendationOutput struct { - // Information regarding this specific recommendation set. + // Information that regards this specific recommendation set. Metadata *types.SavingsPlansPurchaseRecommendationMetadata // The token for the next set of retrievable results. Amazon Web Services provides diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilization.go b/service/costexplorer/api_op_GetSavingsPlansUtilization.go index 85c8122ad29..d4b3c622f53 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilization.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilization.go @@ -14,7 +14,7 @@ import ( // Retrieves the Savings Plans utilization for your account across date ranges with // daily or monthly granularity. Management account in an organization have access // to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine -// the possible dimension values. You cannot group by any dimension values for +// the possible dimension values. You can't group by any dimension values for // GetSavingsPlansUtilization. func (c *Client) GetSavingsPlansUtilization(ctx context.Context, params *GetSavingsPlansUtilizationInput, optFns ...func(*Options)) (*GetSavingsPlansUtilizationOutput, error) { if params == nil { @@ -68,7 +68,7 @@ type GetSavingsPlansUtilizationInput struct { // granularities. Granularity types.Granularity - // The value by which you want to sort the data. The following values are supported + // The value that you want to sort the data by. The following values are supported // for Key: // // * UtilizationPercentage @@ -82,8 +82,8 @@ type GetSavingsPlansUtilizationInput struct { // // * NetSavings // - // Supported values for SortOrder are ASCENDING or - // DESCENDING. + // The supported values for SortOrder are ASCENDING + // and DESCENDING. SortBy *types.SortDefinition noSmithyDocumentSerde @@ -97,8 +97,8 @@ type GetSavingsPlansUtilizationOutput struct { // This member is required. Total *types.SavingsPlansUtilizationAggregates - // The amount of cost/commitment you used your Savings Plans. This allows you to - // specify date ranges. + // The amount of cost/commitment that you used your Savings Plans. You can use it + // to specify date ranges. SavingsPlansUtilizationsByTime []types.SavingsPlansUtilizationByTime // Metadata pertaining to the operation's result. diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go index 6d010074b1e..1c0fba5fd68 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go @@ -75,7 +75,7 @@ type GetSavingsPlansUtilizationDetailsInput struct { // page size. NextToken *string - // The value by which you want to sort the data. The following values are supported + // The value that you want to sort the data by. The following values are supported // for Key: // // * UtilizationPercentage @@ -94,7 +94,7 @@ type GetSavingsPlansUtilizationDetailsInput struct { // * // AmortizedUpfrontCommitment // - // Supported values for SortOrder are ASCENDING or + // The supported values for SortOrder are ASCENDING and // DESCENDING. SortBy *types.SortDefinition diff --git a/service/costexplorer/api_op_GetTags.go b/service/costexplorer/api_op_GetTags.go index 74055a6af93..1c3c4f507cf 100644 --- a/service/costexplorer/api_op_GetTags.go +++ b/service/costexplorer/api_op_GetTags.go @@ -74,9 +74,9 @@ type GetTagsInput struct { Filter *types.Expression // This field is only used when SortBy is provided in the request. The maximum - // number of objects that to be returned for this request. If MaxResults is not - // specified with SortBy, the request will return 1000 results as the default value - // for this parameter. For GetTags, MaxResults has an upper limit of 1000. + // number of objects that are returned for this request. If MaxResults isn't + // specified with SortBy, the request returns 1000 results as the default value for + // this parameter. For GetTags, MaxResults has an upper quota of 1000. MaxResults int32 // The token to retrieve the next set of results. Amazon Web Services provides the @@ -87,7 +87,7 @@ type GetTagsInput struct { // The value that you want to search for. SearchString *string - // The value by which you want to sort the data. The key represents cost and usage + // The value that you want to sort the data by. The key represents cost and usage // metrics. The following values are supported: // // * BlendedCost @@ -106,8 +106,9 @@ type GetTagsInput struct { // * // NormalizedUsageAmount // - // Supported values for SortOrder are ASCENDING or - // DESCENDING. When using SortBy, NextPageToken and SearchString are not supported. + // The supported values for SortOrder are ASCENDING and + // DESCENDING. When you use SortBy, NextPageToken and SearchString aren't + // supported. SortBy []types.SortDefinition // The key of the tag that you want to return values for. diff --git a/service/costexplorer/api_op_GetUsageForecast.go b/service/costexplorer/api_op_GetUsageForecast.go index ab72aa49156..9767ad3b61e 100644 --- a/service/costexplorer/api_op_GetUsageForecast.go +++ b/service/costexplorer/api_op_GetUsageForecast.go @@ -49,11 +49,11 @@ type GetUsageForecastInput struct { Metric types.Metric // The start and end dates of the period that you want to retrieve usage forecast - // for. The start date is inclusive, but the end date is exclusive. For example, if - // start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is - // retrieved from 2017-01-01 up to and including 2017-04-30 but not including - // 2017-05-01. The start date must be equal to or later than the current date to - // avoid a validation error. + // for. The start date is included in the period, but the end date isn't included + // in the period. For example, if start is 2017-01-01 and end is 2017-05-01, then + // the cost and usage data is retrieved from 2017-01-01 up to and including + // 2017-04-30 but not including 2017-05-01. The start date must be equal to or + // later than the current date to avoid a validation error. // // This member is required. TimePeriod *types.DateInterval @@ -113,11 +113,11 @@ type GetUsageForecastInput struct { // * SAVINGS_PLAN_ARN Filter *types.Expression - // Cost Explorer always returns the mean forecast as a single point. You can - // request a prediction interval around the mean by specifying a confidence level. - // The higher the confidence level, the more confident Cost Explorer is about the - // actual value falling in the prediction interval. Higher confidence levels result - // in wider prediction intervals. + // Amazon Web Services Cost Explorer always returns the mean forecast as a single + // point. You can request a prediction interval around the mean by specifying a + // confidence level. The higher the confidence level, the more confident Cost + // Explorer is about the actual value falling in the prediction interval. Higher + // confidence levels result in wider prediction intervals. PredictionIntervalLevel *int32 noSmithyDocumentSerde diff --git a/service/costexplorer/api_op_ListCostAllocationTags.go b/service/costexplorer/api_op_ListCostAllocationTags.go new file mode 100644 index 00000000000..517f3222e1a --- /dev/null +++ b/service/costexplorer/api_op_ListCostAllocationTags.go @@ -0,0 +1,229 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package costexplorer + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/costexplorer/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Get a list of cost allocation tags. All inputs in the API are optional and serve +// as filters. By default, all cost allocation tags are returned. +func (c *Client) ListCostAllocationTags(ctx context.Context, params *ListCostAllocationTagsInput, optFns ...func(*Options)) (*ListCostAllocationTagsOutput, error) { + if params == nil { + params = &ListCostAllocationTagsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListCostAllocationTags", params, optFns, c.addOperationListCostAllocationTagsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListCostAllocationTagsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListCostAllocationTagsInput struct { + + // The maximum number of objects that are returned for this request. By default, + // the request returns 100 results. + MaxResults int32 + + // The token to retrieve the next set of results. Amazon Web Services provides the + // token when the response from a previous call has more results than the maximum + // page size. + NextToken *string + + // The status of cost allocation tag keys that are returned for this request. + Status types.CostAllocationTagStatus + + // The list of cost allocation tag keys that are returned for this request. + TagKeys []string + + // The type of CostAllocationTag object that are returned for this request. The + // AWSGenerated type tags are tags that Amazon Web Services defines and applies to + // support Amazon Web Services resources for cost allocation purposes. The + // UserDefined type tags are tags that you define, create, and apply to resources. + Type types.CostAllocationTagType + + noSmithyDocumentSerde +} + +type ListCostAllocationTagsOutput struct { + + // A list of cost allocation tags that includes the detailed metadata for each one. + CostAllocationTags []types.CostAllocationTag + + // The token to retrieve the next set of results. Amazon Web Services provides the + // token when the response from a previous call has more results than the maximum + // page size. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListCostAllocationTagsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListCostAllocationTags{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListCostAllocationTags{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCostAllocationTags(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListCostAllocationTagsAPIClient is a client that implements the +// ListCostAllocationTags operation. +type ListCostAllocationTagsAPIClient interface { + ListCostAllocationTags(context.Context, *ListCostAllocationTagsInput, ...func(*Options)) (*ListCostAllocationTagsOutput, error) +} + +var _ ListCostAllocationTagsAPIClient = (*Client)(nil) + +// ListCostAllocationTagsPaginatorOptions is the paginator options for +// ListCostAllocationTags +type ListCostAllocationTagsPaginatorOptions struct { + // The maximum number of objects that are returned for this request. By default, + // the request returns 100 results. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListCostAllocationTagsPaginator is a paginator for ListCostAllocationTags +type ListCostAllocationTagsPaginator struct { + options ListCostAllocationTagsPaginatorOptions + client ListCostAllocationTagsAPIClient + params *ListCostAllocationTagsInput + nextToken *string + firstPage bool +} + +// NewListCostAllocationTagsPaginator returns a new ListCostAllocationTagsPaginator +func NewListCostAllocationTagsPaginator(client ListCostAllocationTagsAPIClient, params *ListCostAllocationTagsInput, optFns ...func(*ListCostAllocationTagsPaginatorOptions)) *ListCostAllocationTagsPaginator { + if params == nil { + params = &ListCostAllocationTagsInput{} + } + + options := ListCostAllocationTagsPaginatorOptions{} + if params.MaxResults != 0 { + options.Limit = params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListCostAllocationTagsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListCostAllocationTagsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListCostAllocationTags page. +func (p *ListCostAllocationTagsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCostAllocationTagsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + params.MaxResults = p.options.Limit + + result, err := p.client.ListCostAllocationTags(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListCostAllocationTags(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "ce", + OperationName: "ListCostAllocationTags", + } +} diff --git a/service/costexplorer/api_op_ListCostCategoryDefinitions.go b/service/costexplorer/api_op_ListCostCategoryDefinitions.go index 3308c1e8731..795ab04198f 100644 --- a/service/costexplorer/api_op_ListCostCategoryDefinitions.go +++ b/service/costexplorer/api_op_ListCostCategoryDefinitions.go @@ -12,13 +12,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns the name, ARN, NumberOfRules and effective dates of all Cost Categories -// defined in the account. You have the option to use EffectiveOn to return a list -// of Cost Categories that were active on a specific date. If there is no -// EffectiveOn specified, you’ll see Cost Categories that are effective on the -// current date. If Cost Category is still effective, EffectiveEnd is omitted in -// the response. ListCostCategoryDefinitions supports pagination. The request can -// have a MaxResults range up to 100. +// Returns the name, Amazon Resource Name (ARN), NumberOfRules and effective dates +// of all Cost Categories defined in the account. You have the option to use +// EffectiveOn to return a list of Cost Categories that were active on a specific +// date. If there is no EffectiveOn specified, you’ll see Cost Categories that are +// effective on the current date. If Cost Category is still effective, EffectiveEnd +// is omitted in the response. ListCostCategoryDefinitions supports pagination. The +// request can have a MaxResults range up to 100. func (c *Client) ListCostCategoryDefinitions(ctx context.Context, params *ListCostCategoryDefinitionsInput, optFns ...func(*Options)) (*ListCostCategoryDefinitionsOutput, error) { if params == nil { params = &ListCostCategoryDefinitionsInput{} @@ -52,7 +52,7 @@ type ListCostCategoryDefinitionsInput struct { type ListCostCategoryDefinitionsOutput struct { - // A reference to a Cost Category containing enough information to identify the + // A reference to a Cost Category that contains enough information to identify the // Cost Category. CostCategoryReferences []types.CostCategoryReference diff --git a/service/costexplorer/api_op_ListTagsForResource.go b/service/costexplorer/api_op_ListTagsForResource.go index 7e1203f410b..78d3591b1dc 100644 --- a/service/costexplorer/api_op_ListTagsForResource.go +++ b/service/costexplorer/api_op_ListTagsForResource.go @@ -42,7 +42,7 @@ type ListTagsForResourceInput struct { type ListTagsForResourceOutput struct { - // A list of tag key value pairs that are associated with the response. + // A list of tag key value pairs that are associated with the resource. ResourceTags []types.ResourceTag // Metadata pertaining to the operation's result. diff --git a/service/costexplorer/api_op_TagResource.go b/service/costexplorer/api_op_TagResource.go index 94ab4dea5e5..77f333676ea 100644 --- a/service/costexplorer/api_op_TagResource.go +++ b/service/costexplorer/api_op_TagResource.go @@ -56,17 +56,17 @@ type TagResourceInput struct { // // * The maximum length of a value is 256 characters // - // * - // Valid characters for keys and values are: A-Z, a-z, spaces, _.:/=+- + // * Keys + // and values can only contain alphanumeric characters, spaces, and any of the + // following: _.:/=+@- // - // * Keys and - // values are case sensitive + // * Keys and values are case sensitive // - // * Keys and values are trimmed for any leading or - // trailing whitespaces + // * Keys and values are + // trimmed for any leading or trailing whitespaces // - // * Don’t use aws: as a prefix for your keys. This prefix is - // reserved for Amazon Web Services use + // * Don’t use aws: as a prefix + // for your keys. This prefix is reserved for Amazon Web Services use // // This member is required. ResourceTags []types.ResourceTag diff --git a/service/costexplorer/api_op_UntagResource.go b/service/costexplorer/api_op_UntagResource.go index 12c67c690b9..528be986888 100644 --- a/service/costexplorer/api_op_UntagResource.go +++ b/service/costexplorer/api_op_UntagResource.go @@ -10,8 +10,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Removes one or more tags from a resource. Specify only tag key(s) in your -// request. Do not specify the value. +// Removes one or more tags from a resource. Specify only tag keys in your request. +// Don't specify the value. func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { if params == nil { params = &UntagResourceInput{} @@ -37,7 +37,7 @@ type UntagResourceInput struct { ResourceArn *string // A list of tag keys associated with tags that need to be removed from the - // resource. If you specify a tag key that does not exist, it is ignored. Although + // resource. If you specify a tag key that doesn't exist, it's ignored. Although // the maximum number of array members is 200, user-tag maximum is 50. The // remaining are reserved for Amazon Web Services use. // diff --git a/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go b/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go new file mode 100644 index 00000000000..2d9a318094c --- /dev/null +++ b/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go @@ -0,0 +1,127 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package costexplorer + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/costexplorer/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates status for cost allocation tags in bulk, with maximum batch size of 20. +// If the tag status that's updated is the same as the existing tag status, the +// request doesn't fail. Instead, it doesn't have any effect on the tag status (for +// example, activating the active tag). +func (c *Client) UpdateCostAllocationTagsStatus(ctx context.Context, params *UpdateCostAllocationTagsStatusInput, optFns ...func(*Options)) (*UpdateCostAllocationTagsStatusOutput, error) { + if params == nil { + params = &UpdateCostAllocationTagsStatusInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateCostAllocationTagsStatus", params, optFns, c.addOperationUpdateCostAllocationTagsStatusMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateCostAllocationTagsStatusOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateCostAllocationTagsStatusInput struct { + + // The list of CostAllocationTagStatusEntry objects that are used to update cost + // allocation tags status for this request. + // + // This member is required. + CostAllocationTagsStatus []types.CostAllocationTagStatusEntry + + noSmithyDocumentSerde +} + +type UpdateCostAllocationTagsStatusOutput struct { + + // A list of UpdateCostAllocationTagsStatusError objects with error details about + // each cost allocation tag that can't be updated. If there's no failure, an empty + // array returns. + Errors []types.UpdateCostAllocationTagsStatusError + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateCostAllocationTagsStatusMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateCostAllocationTagsStatus{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateCostAllocationTagsStatus{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateCostAllocationTagsStatusValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCostAllocationTagsStatus(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateCostAllocationTagsStatus(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "ce", + OperationName: "UpdateCostAllocationTagsStatus", + } +} diff --git a/service/costexplorer/deserializers.go b/service/costexplorer/deserializers.go index a5d9884971d..a0afc010255 100644 --- a/service/costexplorer/deserializers.go +++ b/service/costexplorer/deserializers.go @@ -2935,6 +2935,120 @@ func awsAwsjson11_deserializeOpErrorGetUsageForecast(response *smithyhttp.Respon } } +type awsAwsjson11_deserializeOpListCostAllocationTags struct { +} + +func (*awsAwsjson11_deserializeOpListCostAllocationTags) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListCostAllocationTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListCostAllocationTags(response, &metadata) + } + output := &ListCostAllocationTagsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListCostAllocationTagsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListCostAllocationTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InvalidNextTokenException", errorCode): + return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) + + case strings.EqualFold("LimitExceededException", errorCode): + return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsjson11_deserializeOpListCostCategoryDefinitions struct { } @@ -3733,6 +3847,117 @@ func awsAwsjson11_deserializeOpErrorUpdateAnomalySubscription(response *smithyht } } +type awsAwsjson11_deserializeOpUpdateCostAllocationTagsStatus struct { +} + +func (*awsAwsjson11_deserializeOpUpdateCostAllocationTagsStatus) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateCostAllocationTagsStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateCostAllocationTagsStatus(response, &metadata) + } + output := &UpdateCostAllocationTagsStatusOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateCostAllocationTagsStatusOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateCostAllocationTagsStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("LimitExceededException", errorCode): + return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsjson11_deserializeOpUpdateCostCategoryDefinition struct { } @@ -4835,6 +5060,98 @@ func awsAwsjson11_deserializeDocumentBillExpirationException(v **types.BillExpir return nil } +func awsAwsjson11_deserializeDocumentCostAllocationTag(v **types.CostAllocationTag, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.CostAllocationTag + if *v == nil { + sv = &types.CostAllocationTag{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CostAllocationTagStatus to be of type string, got %T instead", value) + } + sv.Status = types.CostAllocationTagStatus(jtv) + } + + case "TagKey": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TagKey to be of type string, got %T instead", value) + } + sv.TagKey = ptr.String(jtv) + } + + case "Type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CostAllocationTagType to be of type string, got %T instead", value) + } + sv.Type = types.CostAllocationTagType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentCostAllocationTagList(v *[]types.CostAllocationTag, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.CostAllocationTag + if *v == nil { + cv = []types.CostAllocationTag{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.CostAllocationTag + destAddr := &col + if err := awsAwsjson11_deserializeDocumentCostAllocationTag(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentCostCategory(v **types.CostCategory, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -11290,6 +11607,98 @@ func awsAwsjson11_deserializeDocumentUnresolvableUsageUnitException(v **types.Un return nil } +func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(v **types.UpdateCostAllocationTagsStatusError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.UpdateCostAllocationTagsStatusError + if *v == nil { + sv = &types.UpdateCostAllocationTagsStatusError{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected GenericString to be of type string, got %T instead", value) + } + sv.Code = ptr.String(jtv) + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "TagKey": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TagKey to be of type string, got %T instead", value) + } + sv.TagKey = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusErrors(v *[]types.UpdateCostAllocationTagsStatusError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.UpdateCostAllocationTagsStatusError + if *v == nil { + cv = []types.UpdateCostAllocationTagsStatusError{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.UpdateCostAllocationTagsStatusError + destAddr := &col + if err := awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusError(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentUtilizationByTime(v **types.UtilizationByTime, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -12628,6 +13037,51 @@ func awsAwsjson11_deserializeOpDocumentGetUsageForecastOutput(v **GetUsageForeca return nil } +func awsAwsjson11_deserializeOpDocumentListCostAllocationTagsOutput(v **ListCostAllocationTagsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListCostAllocationTagsOutput + if *v == nil { + sv = &ListCostAllocationTagsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "CostAllocationTags": + if err := awsAwsjson11_deserializeDocumentCostAllocationTagList(&sv.CostAllocationTags, value); err != nil { + return err + } + + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextPageToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeOpDocumentListCostCategoryDefinitionsOutput(v **ListCostCategoryDefinitionsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -12891,6 +13345,42 @@ func awsAwsjson11_deserializeOpDocumentUpdateAnomalySubscriptionOutput(v **Updat return nil } +func awsAwsjson11_deserializeOpDocumentUpdateCostAllocationTagsStatusOutput(v **UpdateCostAllocationTagsStatusOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateCostAllocationTagsStatusOutput + if *v == nil { + sv = &UpdateCostAllocationTagsStatusOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Errors": + if err := awsAwsjson11_deserializeDocumentUpdateCostAllocationTagsStatusErrors(&sv.Errors, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeOpDocumentUpdateCostCategoryDefinitionOutput(v **UpdateCostCategoryDefinitionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/costexplorer/generated.json b/service/costexplorer/generated.json index 0d125c399ba..c12615d1ccf 100644 --- a/service/costexplorer/generated.json +++ b/service/costexplorer/generated.json @@ -33,6 +33,7 @@ "api_op_GetSavingsPlansUtilizationDetails.go", "api_op_GetTags.go", "api_op_GetUsageForecast.go", + "api_op_ListCostAllocationTags.go", "api_op_ListCostCategoryDefinitions.go", "api_op_ListTagsForResource.go", "api_op_ProvideAnomalyFeedback.go", @@ -40,6 +41,7 @@ "api_op_UntagResource.go", "api_op_UpdateAnomalyMonitor.go", "api_op_UpdateAnomalySubscription.go", + "api_op_UpdateCostAllocationTagsStatus.go", "api_op_UpdateCostCategoryDefinition.go", "deserializers.go", "doc.go", diff --git a/service/costexplorer/go.mod b/service/costexplorer/go.mod index ac752124831..951ad257404 100644 --- a/service/costexplorer/go.mod +++ b/service/costexplorer/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/costexplorer go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/costexplorer/go.sum b/service/costexplorer/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/costexplorer/go.sum +++ b/service/costexplorer/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/costexplorer/go_module_metadata.go b/service/costexplorer/go_module_metadata.go index 8f774616ac6..7c69b0c498f 100644 --- a/service/costexplorer/go_module_metadata.go +++ b/service/costexplorer/go_module_metadata.go @@ -3,4 +3,4 @@ package costexplorer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.5" +const goModuleVersion = "1.19.0" diff --git a/service/costexplorer/serializers.go b/service/costexplorer/serializers.go index 63acfec4a25..d27223af9ef 100644 --- a/service/costexplorer/serializers.go +++ b/service/costexplorer/serializers.go @@ -1391,6 +1391,61 @@ func (m *awsAwsjson11_serializeOpGetUsageForecast) HandleSerialize(ctx context.C return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpListCostAllocationTags struct { +} + +func (*awsAwsjson11_serializeOpListCostAllocationTags) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListCostAllocationTags) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListCostAllocationTagsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AWSInsightsIndexService.ListCostAllocationTags") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListCostAllocationTagsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpListCostCategoryDefinitions struct { } @@ -1776,6 +1831,61 @@ func (m *awsAwsjson11_serializeOpUpdateAnomalySubscription) HandleSerialize(ctx return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpUpdateCostAllocationTagsStatus struct { +} + +func (*awsAwsjson11_serializeOpUpdateCostAllocationTagsStatus) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateCostAllocationTagsStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateCostAllocationTagsStatusInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AWSInsightsIndexService.UpdateCostAllocationTagsStatus") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateCostAllocationTagsStatusInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpUpdateCostCategoryDefinition struct { } @@ -1960,6 +2070,47 @@ func awsAwsjson11_serializeDocumentAnomalySubscription(v *types.AnomalySubscript return nil } +func awsAwsjson11_serializeDocumentCostAllocationTagKeyList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsAwsjson11_serializeDocumentCostAllocationTagStatusEntry(v *types.CostAllocationTagStatusEntry, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.Status) > 0 { + ok := object.Key("Status") + ok.String(string(v.Status)) + } + + if v.TagKey != nil { + ok := object.Key("TagKey") + ok.String(*v.TagKey) + } + + return nil +} + +func awsAwsjson11_serializeDocumentCostAllocationTagStatusList(v []types.CostAllocationTagStatusEntry, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsAwsjson11_serializeDocumentCostAllocationTagStatusEntry(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsAwsjson11_serializeDocumentCostCategoryInheritedValueDimension(v *types.CostCategoryInheritedValueDimension, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3489,6 +3640,40 @@ func awsAwsjson11_serializeOpDocumentGetUsageForecastInput(v *GetUsageForecastIn return nil } +func awsAwsjson11_serializeOpDocumentListCostAllocationTagsInput(v *ListCostAllocationTagsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MaxResults != 0 { + ok := object.Key("MaxResults") + ok.Integer(v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("NextToken") + ok.String(*v.NextToken) + } + + if len(v.Status) > 0 { + ok := object.Key("Status") + ok.String(string(v.Status)) + } + + if v.TagKeys != nil { + ok := object.Key("TagKeys") + if err := awsAwsjson11_serializeDocumentCostAllocationTagKeyList(v.TagKeys, ok); err != nil { + return err + } + } + + if len(v.Type) > 0 { + ok := object.Key("Type") + ok.String(string(v.Type)) + } + + return nil +} + func awsAwsjson11_serializeOpDocumentListCostCategoryDefinitionsInput(v *ListCostCategoryDefinitionsInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3649,6 +3834,20 @@ func awsAwsjson11_serializeOpDocumentUpdateAnomalySubscriptionInput(v *UpdateAno return nil } +func awsAwsjson11_serializeOpDocumentUpdateCostAllocationTagsStatusInput(v *UpdateCostAllocationTagsStatusInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.CostAllocationTagsStatus != nil { + ok := object.Key("CostAllocationTagsStatus") + if err := awsAwsjson11_serializeDocumentCostAllocationTagStatusList(v.CostAllocationTagsStatus, ok); err != nil { + return err + } + } + + return nil +} + func awsAwsjson11_serializeOpDocumentUpdateCostCategoryDefinitionInput(v *UpdateCostCategoryDefinitionInput, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/costexplorer/types/enums.go b/service/costexplorer/types/enums.go index bfe9e07e7cf..8a0f5466705 100644 --- a/service/costexplorer/types/enums.go +++ b/service/costexplorer/types/enums.go @@ -80,6 +80,42 @@ func (Context) Values() []Context { } } +type CostAllocationTagStatus string + +// Enum values for CostAllocationTagStatus +const ( + CostAllocationTagStatusActive CostAllocationTagStatus = "Active" + CostAllocationTagStatusInactive CostAllocationTagStatus = "Inactive" +) + +// Values returns all known values for CostAllocationTagStatus. Note that this can +// be expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (CostAllocationTagStatus) Values() []CostAllocationTagStatus { + return []CostAllocationTagStatus{ + "Active", + "Inactive", + } +} + +type CostAllocationTagType string + +// Enum values for CostAllocationTagType +const ( + CostAllocationTagTypeAwsGenerated CostAllocationTagType = "AWSGenerated" + CostAllocationTagTypeUserDefined CostAllocationTagType = "UserDefined" +) + +// Values returns all known values for CostAllocationTagType. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (CostAllocationTagType) Values() []CostAllocationTagType { + return []CostAllocationTagType{ + "AWSGenerated", + "UserDefined", + } +} + type CostCategoryInheritedValueDimensionName string // Enum values for CostCategoryInheritedValueDimensionName diff --git a/service/costexplorer/types/types.go b/service/costexplorer/types/types.go index 2f3e758d7ad..a9c7fb1295e 100644 --- a/service/costexplorer/types/types.go +++ b/service/costexplorer/types/types.go @@ -36,8 +36,8 @@ type Anomaly struct { // The first day the anomaly is detected. AnomalyStartDate *string - // The dimension for the anomaly (for example, an Amazon Web Services service in a - // service monitor). + // The dimension for the anomaly (for example, an Amazon Web Service in a service + // monitor). DimensionValue *string // The feedback value. @@ -190,6 +190,48 @@ type AnomalySubscription struct { noSmithyDocumentSerde } +// The cost allocation tag structure. This includes detailed metadata for the +// CostAllocationTag object. +type CostAllocationTag struct { + + // The status of a cost allocation tag. + // + // This member is required. + Status CostAllocationTagStatus + + // The key for the cost allocation tag. + // + // This member is required. + TagKey *string + + // The type of cost allocation tag. You can use AWSGenerated or UserDefined type + // tags. AWSGenerated type tags are tags that Amazon Web Services defines and + // applies to support Amazon Web Services resources for cost allocation purposes. + // UserDefined type tags are tags that you define, create, and apply to resources. + // + // This member is required. + Type CostAllocationTagType + + noSmithyDocumentSerde +} + +// The cost allocation tag status. The status of a key can either be active or +// inactive. +type CostAllocationTagStatusEntry struct { + + // The status of a cost allocation tag. + // + // This member is required. + Status CostAllocationTagStatus + + // The key for the cost allocation tag. + // + // This member is required. + TagKey *string + + noSmithyDocumentSerde +} + // The structure of Cost Categories. This includes detailed metadata and the set of // rules for the CostCategory object. type CostCategory struct { @@ -238,13 +280,13 @@ type CostCategory struct { noSmithyDocumentSerde } -// When creating or updating a cost category, you can define the CostCategoryRule -// rule type as INHERITED_VALUE. This rule type adds the flexibility of defining a +// When you create or update a cost category, you can define the CostCategoryRule +// rule type as INHERITED_VALUE. This rule type adds the flexibility to define a // rule that dynamically inherits the cost category value from the dimension value -// defined by CostCategoryInheritedValueDimension. For example, if you want to -// dynamically group costs that are based on the value of a specific tag key, first -// choose an inherited value rule type, then choose the tag dimension and specify -// the tag key to use. +// that's defined by CostCategoryInheritedValueDimension. For example, suppose that +// you want to dynamically group costs that are based on the value of a specific +// tag key. First, choose an inherited value rule type, and then choose the tag +// dimension and specify the tag key to use. type CostCategoryInheritedValueDimension struct { // The key to extract cost category values. @@ -252,8 +294,8 @@ type CostCategoryInheritedValueDimension struct { // The name of the dimension that's used to group costs. If you specify // LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you - // specify TAG, the cost category value will be based on the value of the specified - // tag key. + // specify TAG, the cost category value is based on the value of the specified tag + // key. DimensionName CostCategoryInheritedValueDimensionName noSmithyDocumentSerde @@ -329,12 +371,12 @@ type CostCategoryRule struct { Rule *Expression // You can define the CostCategoryRule rule type as either REGULAR or - // INHERITED_VALUE. The INHERITED_VALUE rule type adds the flexibility of defining - // a rule that dynamically inherits the cost category value from the dimension - // value defined by CostCategoryInheritedValueDimension. For example, if you want - // to dynamically group costs based on the value of a specific tag key, first - // choose an inherited value rule type, then choose the tag dimension and specify - // the tag key to use. + // INHERITED_VALUE. The INHERITED_VALUE rule type adds the flexibility to define a + // rule that dynamically inherits the cost category value. This value is from the + // dimension value that's defined by CostCategoryInheritedValueDimension. For + // example, suppose that you want to costs to be dynamically grouped based on the + // value of a specific tag key. First, choose an inherited value rule type, and + // then choose the tag dimension and specify the tag key to use. Type CostCategoryRuleType // The default value for the cost category. @@ -700,7 +742,7 @@ type EC2ResourceDetails struct { noSmithyDocumentSerde } -// Utilization metrics of the instance. +// Utilization metrics for the instance. type EC2ResourceUtilization struct { // The field that contains a list of disk (local storage) metrics that are @@ -935,7 +977,7 @@ type MetricValue struct { noSmithyDocumentSerde } -// Details on the modification recommendation. +// Details for the modification recommendation. type ModifyRecommendationDetail struct { // Determines whether this instance type is the Amazon Web Services default @@ -949,16 +991,16 @@ type ModifyRecommendationDetail struct { // with the current instance. type NetworkResourceUtilization struct { - // The network inbound throughput utilization measured in Bytes per second. + // The network inbound throughput utilization measured in Bytes per second (Bps). NetworkInBytesPerSecond *string - // The network outbound throughput utilization measured in Bytes per second. + // The network outbound throughput utilization measured in Bytes per second (Bps). NetworkOutBytesPerSecond *string - // The network ingress packets that are measured in packets per second. + // The network inbound packets that are measured in packets per second. NetworkPacketsInPerSecond *string - // The network outgress packets that are measured in packets per second. + // The network outbound packets that are measured in packets per second. NetworkPacketsOutPerSecond *string noSmithyDocumentSerde @@ -1135,7 +1177,7 @@ type ReservationPurchaseRecommendation struct { // Details about your recommended reservation purchase. type ReservationPurchaseRecommendationDetail struct { - // The account that this RI recommendation is for. + // The account that this Reserved Instance (RI) recommendation is for. AccountId *string // The average number of normalized units that you used in an hour during the @@ -1164,16 +1206,16 @@ type ReservationPurchaseRecommendationDetail struct { // a month. EstimatedMonthlyOnDemandCost *string - // How much Amazon Web Services estimates that this specific recommendation could + // How much Amazon Web Services estimates that this specific recommendation might // save you in a month. EstimatedMonthlySavingsAmount *string - // How much Amazon Web Services estimates that this specific recommendation could + // How much Amazon Web Services estimates that this specific recommendation might // save you in a month, as a percentage of your overall costs. EstimatedMonthlySavingsPercentage *string - // How much Amazon Web Services estimates that you would have spent for all usage - // during the specified historical period if you had a reservation. + // How much Amazon Web Services estimates that you might spend for all usage during + // the specified historical period if you had a reservation. EstimatedReservationCostForLookbackPeriod *string // Details about the instances that Amazon Web Services recommends that you @@ -1266,10 +1308,10 @@ type ReservationUtilizationGroup struct { noSmithyDocumentSerde } -// Details on the resource. +// Details for the resource. type ResourceDetails struct { - // Details on the Amazon EC2 resource. + // Details for the Amazon EC2 resource. EC2ResourceDetails *EC2ResourceDetails noSmithyDocumentSerde @@ -1284,12 +1326,12 @@ type ResourceDetails struct { // (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html). type ResourceTag struct { - // The key that is associated with the tag. + // The key that's associated with the tag. // // This member is required. Key *string - // The value that is associated with the tag. + // The value that's associated with the tag. // // This member is required. Value *string @@ -1333,8 +1375,8 @@ type RightsizingRecommendation struct { // Context regarding the current instance. CurrentInstance *CurrentInstance - // The list of possible reasons why the recommendation is generated such as under - // or over utilization of specific metrics (for example, CPU, Memory, Network). + // The list of possible reasons why the recommendation is generated, such as under- + // or over-utilization of specific metrics (for example, CPU, Memory, Network). FindingReasonCodes []FindingReasonCode // The details for the modification recommendations. @@ -1353,8 +1395,8 @@ type RightsizingRecommendation struct { // across two attributes. You can choose to view recommendations for instances // within the same instance families or across different instance families. You can // also choose to view your estimated savings that are associated with -// recommendations with consideration of existing Savings Plans or RI benefits, or -// neither. +// recommendations with consideration of existing Savings Plans or Reserved +// Instance (RI) benefits, or neither. type RightsizingRecommendationConfiguration struct { // The option to consider RI or Savings Plans discount benefits in your savings @@ -1411,8 +1453,8 @@ type RightsizingRecommendationSummary struct { noSmithyDocumentSerde } -// The combination of Amazon Web Services service, linked account, Region, and -// usage type where a cost anomaly is observed. +// The combination of Amazon Web Service, linked account, Region, and usage type +// where a cost anomaly is observed. type RootCause struct { // The member account value that's associated with the cost anomaly. @@ -1421,7 +1463,7 @@ type RootCause struct { // The Amazon Web Services Region that's associated with the cost anomaly. Region *string - // The Amazon Web Services service name that's associated with the cost anomaly. + // The Amazon Web Service name that's associated with the cost anomaly. Service *string // The UsageType value that's associated with the cost anomaly. @@ -1449,7 +1491,7 @@ type SavingsPlansAmortizedCommitment struct { noSmithyDocumentSerde } -// The amount of Savings Plans eligible usage that is covered by Savings Plans. All +// The amount of Savings Plans eligible usage that's covered by Savings Plans. All // calculations consider the On-Demand equivalent of your Savings Plans usage. type SavingsPlansCoverage struct { @@ -1476,7 +1518,7 @@ type SavingsPlansCoverageData struct { // The cost of your Amazon Web Services usage at the public On-Demand rate. OnDemandCost *string - // The amount of your Amazon Web Services usage that is covered by a Savings Plans. + // The amount of your Amazon Web Services usage that's covered by a Savings Plans. SpendCoveredBySavingsPlans *string // The total cost of your Amazon Web Services usage, regardless of your purchase @@ -1512,14 +1554,14 @@ type SavingsPlansPurchaseRecommendation struct { // are calculated for individual member accounts only. AccountScope AccountScope - // The lookback period in days, used to generate the recommendation. + // The lookback period in days that's used to generate the recommendation. LookbackPeriodInDays LookbackPeriodInDays - // The payment option used to generate the recommendation. + // The payment option that's used to generate the recommendation. PaymentOption PaymentOption - // Details for the Savings Plans we recommend that you purchase to cover existing - // Savings Plans eligible workloads. + // Details for the Savings Plans that we recommend that you purchase to cover + // existing Savings Plans eligible workloads. SavingsPlansPurchaseRecommendationDetails []SavingsPlansPurchaseRecommendationDetail // Summary metrics for your Savings Plans Recommendations. @@ -1567,8 +1609,8 @@ type SavingsPlansPurchaseRecommendationDetail struct { // Savings Plans, over the length of the lookback period. EstimatedOnDemandCost *string - // The estimated On-Demand costs you would expect with no additional commitment, - // based on your usage of the selected time period and the Savings Plans you own. + // The estimated On-Demand costs you expect with no additional commitment, based on + // your usage of the selected time period and the Savings Plans you own. EstimatedOnDemandCostWithCurrentCommitment *string // The estimated return on investment that's based on the recommended Savings Plans @@ -1608,7 +1650,7 @@ type SavingsPlansPurchaseRecommendationMetadata struct { // Additional metadata that might be applicable to the recommendation. AdditionalMetadata *string - // The timestamp showing when the recommendations were generated. + // The timestamp that shows when the recommendations were generated. GenerationTimestamp *string // The unique identifier for the recommendation set. @@ -1635,9 +1677,8 @@ type SavingsPlansPurchaseRecommendationSummary struct { // Plans purchase. EstimatedMonthlySavingsAmount *string - // The estimated On-Demand costs you would expect with no additional commitment. - // It's based on your usage of the selected time period and the Savings Plans you - // own. + // The estimated On-Demand costs you expect with no additional commitment. It's + // based on your usage of the selected time period and the Savings Plans you own. EstimatedOnDemandCostWithCurrentCommitment *string // The estimated return on investment that's based on the recommended Savings Plans @@ -1718,15 +1759,15 @@ type SavingsPlansUtilizationAggregates struct { // upfront and recurring Savings Plans fees. AmortizedCommitment *SavingsPlansAmortizedCommitment - // The amount saved by using existing Savings Plans. Savings returns both net - // savings from Savings Plans, as well as the onDemandCostEquivalent of the Savings - // Plans when considering the utilization rate. + // The amount that's saved by using existing Savings Plans. Savings returns both + // net savings from Savings Plans and also the onDemandCostEquivalent of the + // Savings Plans when considering the utilization rate. Savings *SavingsPlansSavings noSmithyDocumentSerde } -// The amount of Savings Plans utilization, in hours. +// The amount of Savings Plans utilization (in hours). type SavingsPlansUtilizationByTime struct { // The time period of the request. @@ -1744,15 +1785,15 @@ type SavingsPlansUtilizationByTime struct { // upfront and recurring Savings Plans fees. AmortizedCommitment *SavingsPlansAmortizedCommitment - // The amount saved by using existing Savings Plans. Savings returns both net - // savings from Savings Plans as well as the onDemandCostEquivalent of the Savings - // Plans when considering the utilization rate. + // The amount that's saved by using existing Savings Plans. Savings returns both + // net savings from Savings Plans and also the onDemandCostEquivalent of the + // Savings Plans when considering the utilization rate. Savings *SavingsPlansSavings noSmithyDocumentSerde } -// A single daily or monthly Savings Plans utilization rate, and details for your +// A single daily or monthly Savings Plans utilization rate and details for your // account. A management account in an organization have access to member accounts. // You can use GetDimensionValues to determine the possible dimension values. type SavingsPlansUtilizationDetail struct { @@ -1765,7 +1806,7 @@ type SavingsPlansUtilizationDetail struct { Attributes map[string]string // The amount saved by using existing Savings Plans. Savings returns both net - // savings from savings plans as well as the onDemandCostEquivalent of the Savings + // savings from savings plans and also the onDemandCostEquivalent of the Savings // Plans when considering the utilization rate. Savings *SavingsPlansSavings @@ -1789,7 +1830,7 @@ type ServiceSpecification struct { noSmithyDocumentSerde } -// The details of how to sort the data. +// The details for how to sort the data. type SortDefinition struct { // The key that's used to sort the data. @@ -1859,8 +1900,8 @@ type TargetInstance struct { // The expected utilization metrics for target instance type. ExpectedResourceUtilization *ResourceUtilization - // Explains the actions you might need to take in order to successfully migrate - // your workloads from the current instance type to the recommended instance type. + // Explains the actions that you might need to take to successfully migrate your + // workloads from the current instance type to the recommended instance type. PlatformDifferences []PlatformDifference // Details on the target instance type. @@ -1901,6 +1942,22 @@ type TotalImpactFilter struct { noSmithyDocumentSerde } +// Gives a detailed description of the result of an action. It's on each cost +// allocation tag entry in the request. +type UpdateCostAllocationTagsStatusError struct { + + // An error code representing why the action failed on this entry. + Code *string + + // A message explaining why the action failed on this entry. + Message *string + + // The key for the cost allocation tag. + TagKey *string + + noSmithyDocumentSerde +} + // The amount of utilization, in hours. type UtilizationByTime struct { diff --git a/service/costexplorer/validators.go b/service/costexplorer/validators.go index f15ec7b339c..e2fb7cf77d7 100644 --- a/service/costexplorer/validators.go +++ b/service/costexplorer/validators.go @@ -590,6 +590,26 @@ func (m *validateOpUpdateAnomalySubscription) HandleInitialize(ctx context.Conte return next.HandleInitialize(ctx, in) } +type validateOpUpdateCostAllocationTagsStatus struct { +} + +func (*validateOpUpdateCostAllocationTagsStatus) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateCostAllocationTagsStatus) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateCostAllocationTagsStatusInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateCostAllocationTagsStatusInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateCostCategoryDefinition struct { } @@ -726,6 +746,10 @@ func addOpUpdateAnomalySubscriptionValidationMiddleware(stack *middleware.Stack) return stack.Initialize.Add(&validateOpUpdateAnomalySubscription{}, middleware.After) } +func addOpUpdateCostAllocationTagsStatusValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateCostAllocationTagsStatus{}, middleware.After) +} + func addOpUpdateCostCategoryDefinitionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateCostCategoryDefinition{}, middleware.After) } @@ -790,6 +814,41 @@ func validateAnomalySubscription(v *types.AnomalySubscription) error { } } +func validateCostAllocationTagStatusEntry(v *types.CostAllocationTagStatusEntry) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CostAllocationTagStatusEntry"} + if v.TagKey == nil { + invalidParams.Add(smithy.NewErrParamRequired("TagKey")) + } + if len(v.Status) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("Status")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateCostAllocationTagStatusList(v []types.CostAllocationTagStatusEntry) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CostAllocationTagStatusList"} + for i := range v { + if err := validateCostAllocationTagStatusEntry(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateCostCategorySplitChargeRule(v *types.CostCategorySplitChargeRule) error { if v == nil { return nil @@ -1603,6 +1662,25 @@ func validateOpUpdateAnomalySubscriptionInput(v *UpdateAnomalySubscriptionInput) } } +func validateOpUpdateCostAllocationTagsStatusInput(v *UpdateCostAllocationTagsStatusInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateCostAllocationTagsStatusInput"} + if v.CostAllocationTagsStatus == nil { + invalidParams.Add(smithy.NewErrParamRequired("CostAllocationTagsStatus")) + } else if v.CostAllocationTagsStatus != nil { + if err := validateCostAllocationTagStatusList(v.CostAllocationTagsStatus); err != nil { + invalidParams.AddNested("CostAllocationTagsStatus", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateCostCategoryDefinitionInput(v *UpdateCostCategoryDefinitionInput) error { if v == nil { return nil diff --git a/service/customerprofiles/CHANGELOG.md b/service/customerprofiles/CHANGELOG.md index e7ade94ccda..a430bd9c2eb 100644 --- a/service/customerprofiles/CHANGELOG.md +++ b/service/customerprofiles/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/customerprofiles/go.mod b/service/customerprofiles/go.mod index 8366655dbf1..d1ae212c1bd 100644 --- a/service/customerprofiles/go.mod +++ b/service/customerprofiles/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/customerprofiles go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/customerprofiles/go.sum b/service/customerprofiles/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/customerprofiles/go.sum +++ b/service/customerprofiles/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/customerprofiles/go_module_metadata.go b/service/customerprofiles/go_module_metadata.go index b20f2a085fe..8fc0e44ec48 100644 --- a/service/customerprofiles/go_module_metadata.go +++ b/service/customerprofiles/go_module_metadata.go @@ -3,4 +3,4 @@ package customerprofiles // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.6" +const goModuleVersion = "1.17.7" diff --git a/service/databasemigrationservice/CHANGELOG.md b/service/databasemigrationservice/CHANGELOG.md index f9ad248c1f6..bc8b4724605 100644 --- a/service/databasemigrationservice/CHANGELOG.md +++ b/service/databasemigrationservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/databasemigrationservice/go.mod b/service/databasemigrationservice/go.mod index d2cf1982760..b2176d57063 100644 --- a/service/databasemigrationservice/go.mod +++ b/service/databasemigrationservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/databasemigrationservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/databasemigrationservice/go.sum b/service/databasemigrationservice/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/databasemigrationservice/go.sum +++ b/service/databasemigrationservice/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/databasemigrationservice/go_module_metadata.go b/service/databasemigrationservice/go_module_metadata.go index c3da4bfc564..e31eb2b6e14 100644 --- a/service/databasemigrationservice/go_module_metadata.go +++ b/service/databasemigrationservice/go_module_metadata.go @@ -3,4 +3,4 @@ package databasemigrationservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.5" +const goModuleVersion = "1.18.6" diff --git a/service/databrew/CHANGELOG.md b/service/databrew/CHANGELOG.md index 5ed4ef267ea..c4d87f38dfe 100644 --- a/service/databrew/CHANGELOG.md +++ b/service/databrew/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.20.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/databrew/go.mod b/service/databrew/go.mod index 0f64073ebaf..12aa5f73b79 100644 --- a/service/databrew/go.mod +++ b/service/databrew/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/databrew go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/databrew/go.sum b/service/databrew/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/databrew/go.sum +++ b/service/databrew/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/databrew/go_module_metadata.go b/service/databrew/go_module_metadata.go index 674a1871e8b..b03fe7104b8 100644 --- a/service/databrew/go_module_metadata.go +++ b/service/databrew/go_module_metadata.go @@ -3,4 +3,4 @@ package databrew // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/dataexchange/CHANGELOG.md b/service/dataexchange/CHANGELOG.md index d02a242875a..f87278d02bd 100644 --- a/service/dataexchange/CHANGELOG.md +++ b/service/dataexchange/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/dataexchange/go.mod b/service/dataexchange/go.mod index 6605dd9597c..2e685016065 100644 --- a/service/dataexchange/go.mod +++ b/service/dataexchange/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/dataexchange go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dataexchange/go.sum b/service/dataexchange/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/dataexchange/go.sum +++ b/service/dataexchange/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/dataexchange/go_module_metadata.go b/service/dataexchange/go_module_metadata.go index 5866f76cf7f..8cf9f735c78 100644 --- a/service/dataexchange/go_module_metadata.go +++ b/service/dataexchange/go_module_metadata.go @@ -3,4 +3,4 @@ package dataexchange // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/datapipeline/CHANGELOG.md b/service/datapipeline/CHANGELOG.md index 9523eb33da5..90538163b89 100644 --- a/service/datapipeline/CHANGELOG.md +++ b/service/datapipeline/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/datapipeline/go.mod b/service/datapipeline/go.mod index 87fb79ce5b7..19adee9a792 100644 --- a/service/datapipeline/go.mod +++ b/service/datapipeline/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/datapipeline go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/datapipeline/go.sum b/service/datapipeline/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/datapipeline/go.sum +++ b/service/datapipeline/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/datapipeline/go_module_metadata.go b/service/datapipeline/go_module_metadata.go index 96605547d59..4f39a50b16b 100644 --- a/service/datapipeline/go_module_metadata.go +++ b/service/datapipeline/go_module_metadata.go @@ -3,4 +3,4 @@ package datapipeline // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/datasync/CHANGELOG.md b/service/datasync/CHANGELOG.md index fbcfa7799a1..0d45af7630d 100644 --- a/service/datasync/CHANGELOG.md +++ b/service/datasync/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.17.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.17.0 (2022-05-27) + +* **Feature**: AWS DataSync now supports TLS encryption in transit, file system policies and access points for EFS locations. + # v1.16.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/datasync/api_op_CreateLocationEfs.go b/service/datasync/api_op_CreateLocationEfs.go index 07787e59392..83c7822bb61 100644 --- a/service/datasync/api_op_CreateLocationEfs.go +++ b/service/datasync/api_op_CreateLocationEfs.go @@ -11,7 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates an endpoint for an Amazon EFS file system. +// Creates an endpoint for an Amazon EFS file system that DataSync can access for a +// transfer. For more information, see Creating a location for Amazon EFS +// (https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html). func (c *Client) CreateLocationEfs(ctx context.Context, params *CreateLocationEfsInput, optFns ...func(*Options)) (*CreateLocationEfsOutput, error) { if params == nil { params = &CreateLocationEfsInput{} @@ -30,42 +32,41 @@ func (c *Client) CreateLocationEfs(ctx context.Context, params *CreateLocationEf // CreateLocationEfsRequest type CreateLocationEfsInput struct { - // The subnet and security group that the Amazon EFS file system uses. The security - // group that you provide needs to be able to communicate with the security group - // on the mount target in the subnet specified. The exact relationship between - // security group M (of the mount target) and security group S (which you provide - // for DataSync to use at this stage) is as follows: - // - // * Security group M (which you - // associate with the mount target) must allow inbound access for the Transmission - // Control Protocol (TCP) on the NFS port (2049) from security group S. You can - // enable inbound connections either by IP address (CIDR range) or security - // group. - // - // * Security group S (provided to DataSync to access EFS) should have a - // rule that enables outbound connections to the NFS port on one of the file - // system’s mount targets. You can enable outbound connections either by IP address - // (CIDR range) or security group. For information about security groups and mount - // targets, see Security Groups for Amazon EC2 Instances and Mount Targets in the - // Amazon EFS User Guide. + // Specifies the subnet and security groups DataSync uses to access your Amazon EFS + // file system. // // This member is required. Ec2Config *types.Ec2Config - // The Amazon Resource Name (ARN) for the Amazon EFS file system. + // Specifies the ARN for the Amazon EFS file system. // // This member is required. EfsFilesystemArn *string - // A subdirectory in the location’s path. This subdirectory in the EFS file system - // is used to read data from the EFS source location or write data to the EFS - // destination. By default, DataSync uses the root directory. Subdirectory must be - // specified with forward slashes. For example, /path/to/folder. + // Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses + // to access the Amazon EFS file system. + AccessPointArn *string + + // Specifies an Identity and Access Management (IAM) role that DataSync assumes + // when mounting the Amazon EFS file system. + FileSystemAccessRoleArn *string + + // Specifies whether you want DataSync to use TLS encryption when transferring data + // to or from your Amazon EFS file system. If you specify an access point using + // AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this + // parameter to TLS1_2. + InTransitEncryption types.EfsInTransitEncryption + + // Specifies a mount path for your Amazon EFS file system. This is where DataSync + // reads or writes data (depending on if this is a source or destination location). + // By default, DataSync uses the root directory, but you can also include + // subdirectories. You must specify a value with forward slashes (for example, + // /path/to/folder). Subdirectory *string - // The key-value pair that represents a tag that you want to add to the resource. - // The value can be an empty string. This value helps you manage, filter, and - // search for your resources. We recommend that you create a name tag for your + // Specifies the key-value pair that represents a tag that you want to add to the + // resource. The value can be an empty string. This value helps you manage, filter, + // and search for your resources. We recommend that you create a name tag for your // location. Tags []types.TagListEntry @@ -75,8 +76,8 @@ type CreateLocationEfsInput struct { // CreateLocationEfs type CreateLocationEfsOutput struct { - // The Amazon Resource Name (ARN) of the Amazon EFS file system location that is - // created. + // The Amazon Resource Name (ARN) of the Amazon EFS file system location that you + // create. LocationArn *string // Metadata pertaining to the operation's result. diff --git a/service/datasync/api_op_DescribeLocationEfs.go b/service/datasync/api_op_DescribeLocationEfs.go index 3f04ca8a577..2f6b0697de2 100644 --- a/service/datasync/api_op_DescribeLocationEfs.go +++ b/service/datasync/api_op_DescribeLocationEfs.go @@ -12,7 +12,7 @@ import ( "time" ) -// Returns metadata, such as the path information about an Amazon EFS location. +// Returns metadata about your DataSync location for an Amazon EFS file system. func (c *Client) DescribeLocationEfs(ctx context.Context, params *DescribeLocationEfsInput, optFns ...func(*Options)) (*DescribeLocationEfsOutput, error) { if params == nil { params = &DescribeLocationEfsInput{} @@ -31,7 +31,8 @@ func (c *Client) DescribeLocationEfs(ctx context.Context, params *DescribeLocati // DescribeLocationEfsRequest type DescribeLocationEfsInput struct { - // The Amazon Resource Name (ARN) of the EFS location to describe. + // The Amazon Resource Name (ARN) of the Amazon EFS file system location that you + // want information about. // // This member is required. LocationArn *string @@ -42,19 +43,29 @@ type DescribeLocationEfsInput struct { // DescribeLocationEfsResponse type DescribeLocationEfsOutput struct { - // The time that the EFS location was created. + // The ARN of the access point that DataSync uses to access the Amazon EFS file + // system. + AccessPointArn *string + + // The time that the location was created. CreationTime *time.Time - // The subnet that DataSync uses to access target EFS file system. The subnet must - // have at least one mount target for that file system. The security group that you - // provide needs to be able to communicate with the security group on the mount - // target in the subnet specified. + // The subnet and security groups that DataSync uses to access your Amazon EFS file + // system. Ec2Config *types.Ec2Config - // The Amazon Resource Name (ARN) of the EFS location that was described. + // The Identity and Access Management (IAM) role that DataSync assumes when + // mounting the Amazon EFS file system. + FileSystemAccessRoleArn *string + + // Whether DataSync uses TLS encryption when transferring data to or from your + // Amazon EFS file system. + InTransitEncryption types.EfsInTransitEncryption + + // The ARN of the Amazon EFS file system location. LocationArn *string - // The URL of the EFS location that was described. + // The URL of the Amazon EFS file system location. LocationUri *string // Metadata pertaining to the operation's result. diff --git a/service/datasync/deserializers.go b/service/datasync/deserializers.go index a55ce58d58f..2f6178822c5 100644 --- a/service/datasync/deserializers.go +++ b/service/datasync/deserializers.go @@ -7212,6 +7212,15 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc for key, value := range shape { switch key { + case "AccessPointArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EfsAccessPointArn to be of type string, got %T instead", value) + } + sv.AccessPointArn = ptr.String(jtv) + } + case "CreationTime": if value != nil { switch jtv := value.(type) { @@ -7233,6 +7242,24 @@ func awsAwsjson11_deserializeOpDocumentDescribeLocationEfsOutput(v **DescribeLoc return err } + case "FileSystemAccessRoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IamRoleArn to be of type string, got %T instead", value) + } + sv.FileSystemAccessRoleArn = ptr.String(jtv) + } + + case "InTransitEncryption": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EfsInTransitEncryption to be of type string, got %T instead", value) + } + sv.InTransitEncryption = types.EfsInTransitEncryption(jtv) + } + case "LocationArn": if value != nil { jtv, ok := value.(string) diff --git a/service/datasync/go.mod b/service/datasync/go.mod index bf11b1b1827..01277d33fe5 100644 --- a/service/datasync/go.mod +++ b/service/datasync/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/datasync go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/datasync/go.sum b/service/datasync/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/datasync/go.sum +++ b/service/datasync/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/datasync/go_module_metadata.go b/service/datasync/go_module_metadata.go index 7498df770bb..a76dbce09d3 100644 --- a/service/datasync/go_module_metadata.go +++ b/service/datasync/go_module_metadata.go @@ -3,4 +3,4 @@ package datasync // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.1" +const goModuleVersion = "1.17.1" diff --git a/service/datasync/serializers.go b/service/datasync/serializers.go index a26d1a1d9e4..15d14f3f026 100644 --- a/service/datasync/serializers.go +++ b/service/datasync/serializers.go @@ -2821,6 +2821,11 @@ func awsAwsjson11_serializeOpDocumentCreateLocationEfsInput(v *CreateLocationEfs object := value.Object() defer object.Close() + if v.AccessPointArn != nil { + ok := object.Key("AccessPointArn") + ok.String(*v.AccessPointArn) + } + if v.Ec2Config != nil { ok := object.Key("Ec2Config") if err := awsAwsjson11_serializeDocumentEc2Config(v.Ec2Config, ok); err != nil { @@ -2833,6 +2838,16 @@ func awsAwsjson11_serializeOpDocumentCreateLocationEfsInput(v *CreateLocationEfs ok.String(*v.EfsFilesystemArn) } + if v.FileSystemAccessRoleArn != nil { + ok := object.Key("FileSystemAccessRoleArn") + ok.String(*v.FileSystemAccessRoleArn) + } + + if len(v.InTransitEncryption) > 0 { + ok := object.Key("InTransitEncryption") + ok.String(string(v.InTransitEncryption)) + } + if v.Subdirectory != nil { ok := object.Key("Subdirectory") ok.String(*v.Subdirectory) diff --git a/service/datasync/types/enums.go b/service/datasync/types/enums.go index fdba8f714fe..2c7305f20ab 100644 --- a/service/datasync/types/enums.go +++ b/service/datasync/types/enums.go @@ -38,6 +38,24 @@ func (Atime) Values() []Atime { } } +type EfsInTransitEncryption string + +// Enum values for EfsInTransitEncryption +const ( + EfsInTransitEncryptionNone EfsInTransitEncryption = "NONE" + EfsInTransitEncryptionTls12 EfsInTransitEncryption = "TLS1_2" +) + +// Values returns all known values for EfsInTransitEncryption. Note that this can +// be expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (EfsInTransitEncryption) Values() []EfsInTransitEncryption { + return []EfsInTransitEncryption{ + "NONE", + "TLS1_2", + } +} + type EndpointType string // Enum values for EndpointType diff --git a/service/datasync/types/types.go b/service/datasync/types/types.go index 0f639ec33de..02f6d66dd8c 100644 --- a/service/datasync/types/types.go +++ b/service/datasync/types/types.go @@ -24,19 +24,29 @@ type AgentListEntry struct { noSmithyDocumentSerde } -// The subnet that DataSync uses to access target EFS file system. The subnet must -// have at least one mount target for that file system. The security group that you -// provide needs to be able to communicate with the security group on the mount -// target in the subnet specified. +// The subnet and security groups that DataSync uses to access your Amazon EFS file +// system. type Ec2Config struct { - // The Amazon Resource Names (ARNs) of the security groups that are configured for - // the Amazon EC2 resource. + // Specifies the Amazon Resource Names (ARNs) of the security groups associated + // with an Amazon EFS file system's mount target. // // This member is required. SecurityGroupArns []string - // The ARN of the subnet that DataSync uses to access the target EFS file system. + // Specifies the ARN of a subnet where DataSync creates the network interfaces + // (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces) + // for managing traffic during your transfer. The subnet must be located: + // + // * In the + // same virtual private cloud (VPC) as the Amazon EFS file system. + // + // * In the same + // Availability Zone as at least one mount target for the Amazon EFS file + // system. + // + // You don't need to specify a subnet that includes a file system mount + // target. // // This member is required. SubnetArn *string diff --git a/service/dax/CHANGELOG.md b/service/dax/CHANGELOG.md index aaab71ad948..bfb6e974de8 100644 --- a/service/dax/CHANGELOG.md +++ b/service/dax/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/dax/go.mod b/service/dax/go.mod index f818938d084..e41bfcfe6d1 100644 --- a/service/dax/go.mod +++ b/service/dax/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/dax go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dax/go.sum b/service/dax/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/dax/go.sum +++ b/service/dax/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/dax/go_module_metadata.go b/service/dax/go_module_metadata.go index ccca3fe869d..a0c7dd49eac 100644 --- a/service/dax/go_module_metadata.go +++ b/service/dax/go_module_metadata.go @@ -3,4 +3,4 @@ package dax // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/detective/CHANGELOG.md b/service/detective/CHANGELOG.md index 2d8a7699f9d..816e16534d5 100644 --- a/service/detective/CHANGELOG.md +++ b/service/detective/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/detective/go.mod b/service/detective/go.mod index bb51fa586bb..634a94bbc56 100644 --- a/service/detective/go.mod +++ b/service/detective/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/detective go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/detective/go.sum b/service/detective/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/detective/go.sum +++ b/service/detective/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/detective/go_module_metadata.go b/service/detective/go_module_metadata.go index ec6cf6f97a2..d3bb581248c 100644 --- a/service/detective/go_module_metadata.go +++ b/service/detective/go_module_metadata.go @@ -3,4 +3,4 @@ package detective // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/devicefarm/CHANGELOG.md b/service/devicefarm/CHANGELOG.md index e2377b1314a..aa8fff6e7ed 100644 --- a/service/devicefarm/CHANGELOG.md +++ b/service/devicefarm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/devicefarm/go.mod b/service/devicefarm/go.mod index 878268ef00d..84da68b1298 100644 --- a/service/devicefarm/go.mod +++ b/service/devicefarm/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/devicefarm go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/devicefarm/go.sum b/service/devicefarm/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/devicefarm/go.sum +++ b/service/devicefarm/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/devicefarm/go_module_metadata.go b/service/devicefarm/go_module_metadata.go index c0635534e42..e572b2f0729 100644 --- a/service/devicefarm/go_module_metadata.go +++ b/service/devicefarm/go_module_metadata.go @@ -3,4 +3,4 @@ package devicefarm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/devopsguru/CHANGELOG.md b/service/devopsguru/CHANGELOG.md index ed6d1e05e42..9eb6d5fd698 100644 --- a/service/devopsguru/CHANGELOG.md +++ b/service/devopsguru/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/devopsguru/go.mod b/service/devopsguru/go.mod index 750ea0fe3bc..ac8752c4d44 100644 --- a/service/devopsguru/go.mod +++ b/service/devopsguru/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/devopsguru go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/devopsguru/go.sum b/service/devopsguru/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/devopsguru/go.sum +++ b/service/devopsguru/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/devopsguru/go_module_metadata.go b/service/devopsguru/go_module_metadata.go index a00c6ded71f..2e1d3b34b15 100644 --- a/service/devopsguru/go_module_metadata.go +++ b/service/devopsguru/go_module_metadata.go @@ -3,4 +3,4 @@ package devopsguru // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/directconnect/CHANGELOG.md b/service/directconnect/CHANGELOG.md index 9bf238fa0c2..7591d2690c4 100644 --- a/service/directconnect/CHANGELOG.md +++ b/service/directconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/directconnect/go.mod b/service/directconnect/go.mod index 62a7c7123b8..186bb4d8932 100644 --- a/service/directconnect/go.mod +++ b/service/directconnect/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/directconnect go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/directconnect/go.sum b/service/directconnect/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/directconnect/go.sum +++ b/service/directconnect/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/directconnect/go_module_metadata.go b/service/directconnect/go_module_metadata.go index cff0c325d29..b9c1a71708e 100644 --- a/service/directconnect/go_module_metadata.go +++ b/service/directconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package directconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.5" +const goModuleVersion = "1.17.6" diff --git a/service/directoryservice/CHANGELOG.md b/service/directoryservice/CHANGELOG.md index df46121659f..60b658b7f4b 100644 --- a/service/directoryservice/CHANGELOG.md +++ b/service/directoryservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/directoryservice/go.mod b/service/directoryservice/go.mod index b61e711ef05..8add87fde1e 100644 --- a/service/directoryservice/go.mod +++ b/service/directoryservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/directoryservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/directoryservice/go.sum b/service/directoryservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/directoryservice/go.sum +++ b/service/directoryservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/directoryservice/go_module_metadata.go b/service/directoryservice/go_module_metadata.go index 52a85d9cbed..6b9a9306852 100644 --- a/service/directoryservice/go_module_metadata.go +++ b/service/directoryservice/go_module_metadata.go @@ -3,4 +3,4 @@ package directoryservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/dlm/CHANGELOG.md b/service/dlm/CHANGELOG.md index 98c1ad2b764..9d23bd1512e 100644 --- a/service/dlm/CHANGELOG.md +++ b/service/dlm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/dlm/go.mod b/service/dlm/go.mod index 5c98a762c68..8a4a3f8ee92 100644 --- a/service/dlm/go.mod +++ b/service/dlm/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/dlm go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dlm/go.sum b/service/dlm/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/dlm/go.sum +++ b/service/dlm/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/dlm/go_module_metadata.go b/service/dlm/go_module_metadata.go index b0c09e10bb1..09252f1b843 100644 --- a/service/dlm/go_module_metadata.go +++ b/service/dlm/go_module_metadata.go @@ -3,4 +3,4 @@ package dlm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/docdb/CHANGELOG.md b/service/docdb/CHANGELOG.md index f81ebc43c25..6c71d5b4550 100644 --- a/service/docdb/CHANGELOG.md +++ b/service/docdb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/docdb/go.mod b/service/docdb/go.mod index 07ff1e291ad..5c74e09ee17 100644 --- a/service/docdb/go.mod +++ b/service/docdb/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/docdb go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/docdb/go.sum b/service/docdb/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/docdb/go.sum +++ b/service/docdb/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/docdb/go_module_metadata.go b/service/docdb/go_module_metadata.go index f413d0835f7..9968ced690a 100644 --- a/service/docdb/go_module_metadata.go +++ b/service/docdb/go_module_metadata.go @@ -3,4 +3,4 @@ package docdb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/drs/CHANGELOG.md b/service/drs/CHANGELOG.md index 8878cb26c6e..f7959a1b019 100644 --- a/service/drs/CHANGELOG.md +++ b/service/drs/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.6.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.6.0 (2022-05-31) + +* **Feature**: Changed existing APIs and added new APIs to accommodate using multiple AWS accounts with AWS Elastic Disaster Recovery. + # v1.5.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/drs/api_op_CreateExtendedSourceServer.go b/service/drs/api_op_CreateExtendedSourceServer.go new file mode 100644 index 00000000000..4d7375e8ceb --- /dev/null +++ b/service/drs/api_op_CreateExtendedSourceServer.go @@ -0,0 +1,126 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package drs + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/drs/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Create an extended source server in the target Account based on the source +// server in staging account. +func (c *Client) CreateExtendedSourceServer(ctx context.Context, params *CreateExtendedSourceServerInput, optFns ...func(*Options)) (*CreateExtendedSourceServerOutput, error) { + if params == nil { + params = &CreateExtendedSourceServerInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateExtendedSourceServer", params, optFns, c.addOperationCreateExtendedSourceServerMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateExtendedSourceServerOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateExtendedSourceServerInput struct { + + // This defines the ARN of the source server in staging Account based on which you + // want to create an extended source server. + // + // This member is required. + SourceServerArn *string + + // A list of tags associated with the extended source server. + Tags map[string]string + + noSmithyDocumentSerde +} + +type CreateExtendedSourceServerOutput struct { + + // Created extended source server. + SourceServer *types.SourceServer + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateExtendedSourceServerMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpCreateExtendedSourceServer{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpCreateExtendedSourceServer{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateExtendedSourceServerValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateExtendedSourceServer(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateExtendedSourceServer(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "drs", + OperationName: "CreateExtendedSourceServer", + } +} diff --git a/service/drs/api_op_DescribeJobs.go b/service/drs/api_op_DescribeJobs.go index 5d0642992d3..14228745968 100644 --- a/service/drs/api_op_DescribeJobs.go +++ b/service/drs/api_op_DescribeJobs.go @@ -36,8 +36,6 @@ func (c *Client) DescribeJobs(ctx context.Context, params *DescribeJobsInput, op type DescribeJobsInput struct { // A set of filters by which to return Jobs. - // - // This member is required. Filters *types.DescribeJobsRequestFilters // Maximum number of Jobs to retrieve. @@ -108,9 +106,6 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } - if err = addOpDescribeJobsValidationMiddleware(stack); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeRecoveryInstances.go b/service/drs/api_op_DescribeRecoveryInstances.go index acbbaa64d37..bc096bf0ce6 100644 --- a/service/drs/api_op_DescribeRecoveryInstances.go +++ b/service/drs/api_op_DescribeRecoveryInstances.go @@ -31,8 +31,6 @@ func (c *Client) DescribeRecoveryInstances(ctx context.Context, params *Describe type DescribeRecoveryInstancesInput struct { // A set of filters by which to return Recovery Instances. - // - // This member is required. Filters *types.DescribeRecoveryInstancesRequestFilters // Maximum number of Recovery Instances to retrieve. @@ -103,9 +101,6 @@ func (c *Client) addOperationDescribeRecoveryInstancesMiddlewares(stack *middlew if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } - if err = addOpDescribeRecoveryInstancesValidationMiddleware(stack); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecoveryInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeReplicationConfigurationTemplates.go b/service/drs/api_op_DescribeReplicationConfigurationTemplates.go index a234e36ae00..11659f32ce0 100644 --- a/service/drs/api_op_DescribeReplicationConfigurationTemplates.go +++ b/service/drs/api_op_DescribeReplicationConfigurationTemplates.go @@ -30,18 +30,16 @@ func (c *Client) DescribeReplicationConfigurationTemplates(ctx context.Context, type DescribeReplicationConfigurationTemplatesInput struct { - // The IDs of the Replication Configuration Templates to retrieve. An empty list - // means all Replication Configuration Templates. - // - // This member is required. - ReplicationConfigurationTemplateIDs []string - // Maximum number of Replication Configuration Templates to retrieve. MaxResults int32 // The token of the next Replication Configuration Template to retrieve. NextToken *string + // The IDs of the Replication Configuration Templates to retrieve. An empty list + // means all Replication Configuration Templates. + ReplicationConfigurationTemplateIDs []string + noSmithyDocumentSerde } @@ -104,9 +102,6 @@ func (c *Client) addOperationDescribeReplicationConfigurationTemplatesMiddleware if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } - if err = addOpDescribeReplicationConfigurationTemplatesValidationMiddleware(stack); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeSourceServers.go b/service/drs/api_op_DescribeSourceServers.go index 51ed6138412..62d04b48421 100644 --- a/service/drs/api_op_DescribeSourceServers.go +++ b/service/drs/api_op_DescribeSourceServers.go @@ -31,8 +31,6 @@ func (c *Client) DescribeSourceServers(ctx context.Context, params *DescribeSour type DescribeSourceServersInput struct { // A set of filters by which to return Source Servers. - // - // This member is required. Filters *types.DescribeSourceServersRequestFilters // Maximum number of Source Servers to retrieve. @@ -103,9 +101,6 @@ func (c *Client) addOperationDescribeSourceServersMiddlewares(stack *middleware. if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } - if err = addOpDescribeSourceServersValidationMiddleware(stack); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DisconnectSourceServer.go b/service/drs/api_op_DisconnectSourceServer.go index 8dc3976bf17..16eeed6cb97 100644 --- a/service/drs/api_op_DisconnectSourceServer.go +++ b/service/drs/api_op_DisconnectSourceServer.go @@ -71,6 +71,9 @@ type DisconnectSourceServerOutput struct { // The ID of the Source Server. SourceServerID *string + // The staging area of the source server. + StagingArea *types.StagingArea + // The tags associated with the Source Server. Tags map[string]string diff --git a/service/drs/api_op_ListExtensibleSourceServers.go b/service/drs/api_op_ListExtensibleSourceServers.go new file mode 100644 index 00000000000..759666c8043 --- /dev/null +++ b/service/drs/api_op_ListExtensibleSourceServers.go @@ -0,0 +1,223 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package drs + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/drs/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns a list of source servers on a staging account that are extensible, which +// means that: a. The source server is not already extended into this Account. b. +// The source server on the Account we’re reading from is not an extension of +// another source server. +func (c *Client) ListExtensibleSourceServers(ctx context.Context, params *ListExtensibleSourceServersInput, optFns ...func(*Options)) (*ListExtensibleSourceServersOutput, error) { + if params == nil { + params = &ListExtensibleSourceServersInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListExtensibleSourceServers", params, optFns, c.addOperationListExtensibleSourceServersMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListExtensibleSourceServersOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListExtensibleSourceServersInput struct { + + // The Id of the staging Account to retrieve extensible source servers from. + // + // This member is required. + StagingAccountID *string + + // The maximum number of extensible source servers to retrieve. + MaxResults int32 + + // The token of the next extensible source server to retrieve. + NextToken *string + + noSmithyDocumentSerde +} + +type ListExtensibleSourceServersOutput struct { + + // A list of source servers on a staging Account that are extensible. + Items []types.StagingSourceServer + + // The token of the next extensible source server to retrieve. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListExtensibleSourceServersMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpListExtensibleSourceServers{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListExtensibleSourceServers{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListExtensibleSourceServersValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensibleSourceServers(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListExtensibleSourceServersAPIClient is a client that implements the +// ListExtensibleSourceServers operation. +type ListExtensibleSourceServersAPIClient interface { + ListExtensibleSourceServers(context.Context, *ListExtensibleSourceServersInput, ...func(*Options)) (*ListExtensibleSourceServersOutput, error) +} + +var _ ListExtensibleSourceServersAPIClient = (*Client)(nil) + +// ListExtensibleSourceServersPaginatorOptions is the paginator options for +// ListExtensibleSourceServers +type ListExtensibleSourceServersPaginatorOptions struct { + // The maximum number of extensible source servers to retrieve. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListExtensibleSourceServersPaginator is a paginator for +// ListExtensibleSourceServers +type ListExtensibleSourceServersPaginator struct { + options ListExtensibleSourceServersPaginatorOptions + client ListExtensibleSourceServersAPIClient + params *ListExtensibleSourceServersInput + nextToken *string + firstPage bool +} + +// NewListExtensibleSourceServersPaginator returns a new +// ListExtensibleSourceServersPaginator +func NewListExtensibleSourceServersPaginator(client ListExtensibleSourceServersAPIClient, params *ListExtensibleSourceServersInput, optFns ...func(*ListExtensibleSourceServersPaginatorOptions)) *ListExtensibleSourceServersPaginator { + if params == nil { + params = &ListExtensibleSourceServersInput{} + } + + options := ListExtensibleSourceServersPaginatorOptions{} + if params.MaxResults != 0 { + options.Limit = params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListExtensibleSourceServersPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListExtensibleSourceServersPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListExtensibleSourceServers page. +func (p *ListExtensibleSourceServersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExtensibleSourceServersOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + params.MaxResults = p.options.Limit + + result, err := p.client.ListExtensibleSourceServers(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListExtensibleSourceServers(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "drs", + OperationName: "ListExtensibleSourceServers", + } +} diff --git a/service/drs/api_op_ListStagingAccounts.go b/service/drs/api_op_ListStagingAccounts.go new file mode 100644 index 00000000000..f81888e9078 --- /dev/null +++ b/service/drs/api_op_ListStagingAccounts.go @@ -0,0 +1,214 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package drs + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/drs/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns an array of staging accounts for existing extended source servers. +func (c *Client) ListStagingAccounts(ctx context.Context, params *ListStagingAccountsInput, optFns ...func(*Options)) (*ListStagingAccountsOutput, error) { + if params == nil { + params = &ListStagingAccountsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListStagingAccounts", params, optFns, c.addOperationListStagingAccountsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListStagingAccountsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListStagingAccountsInput struct { + + // The maximum number of staging Accounts to retrieve. + MaxResults *int32 + + // The token of the next staging Account to retrieve. + NextToken *string + + noSmithyDocumentSerde +} + +type ListStagingAccountsOutput struct { + + // An array of staging AWS Accounts. + Accounts []types.Account + + // The token of the next staging Account to retrieve. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListStagingAccountsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpListStagingAccounts{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListStagingAccounts{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStagingAccounts(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListStagingAccountsAPIClient is a client that implements the ListStagingAccounts +// operation. +type ListStagingAccountsAPIClient interface { + ListStagingAccounts(context.Context, *ListStagingAccountsInput, ...func(*Options)) (*ListStagingAccountsOutput, error) +} + +var _ ListStagingAccountsAPIClient = (*Client)(nil) + +// ListStagingAccountsPaginatorOptions is the paginator options for +// ListStagingAccounts +type ListStagingAccountsPaginatorOptions struct { + // The maximum number of staging Accounts to retrieve. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListStagingAccountsPaginator is a paginator for ListStagingAccounts +type ListStagingAccountsPaginator struct { + options ListStagingAccountsPaginatorOptions + client ListStagingAccountsAPIClient + params *ListStagingAccountsInput + nextToken *string + firstPage bool +} + +// NewListStagingAccountsPaginator returns a new ListStagingAccountsPaginator +func NewListStagingAccountsPaginator(client ListStagingAccountsAPIClient, params *ListStagingAccountsInput, optFns ...func(*ListStagingAccountsPaginatorOptions)) *ListStagingAccountsPaginator { + if params == nil { + params = &ListStagingAccountsInput{} + } + + options := ListStagingAccountsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListStagingAccountsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListStagingAccountsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListStagingAccounts page. +func (p *ListStagingAccountsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListStagingAccountsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListStagingAccounts(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListStagingAccounts(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "drs", + OperationName: "ListStagingAccounts", + } +} diff --git a/service/drs/api_op_RetryDataReplication.go b/service/drs/api_op_RetryDataReplication.go index 26333eef678..637223f7212 100644 --- a/service/drs/api_op_RetryDataReplication.go +++ b/service/drs/api_op_RetryDataReplication.go @@ -63,6 +63,9 @@ type RetryDataReplicationOutput struct { // The ID of the Source Server. SourceServerID *string + // The staging area of the source server. + StagingArea *types.StagingArea + // The tags associated with the Source Server. Tags map[string]string diff --git a/service/drs/deserializers.go b/service/drs/deserializers.go index 546d0b6ec3f..54c1b3c50ba 100644 --- a/service/drs/deserializers.go +++ b/service/drs/deserializers.go @@ -20,6 +20,171 @@ import ( "strings" ) +type awsRestjson1_deserializeOpCreateExtendedSourceServer struct { +} + +func (*awsRestjson1_deserializeOpCreateExtendedSourceServer) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpCreateExtendedSourceServer) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorCreateExtendedSourceServer(response, &metadata) + } + output := &CreateExtendedSourceServerOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentCreateExtendedSourceServerOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorCreateExtendedSourceServer(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("UninitializedAccountException", errorCode): + return awsRestjson1_deserializeErrorUninitializedAccountException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentCreateExtendedSourceServerOutput(v **CreateExtendedSourceServerOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateExtendedSourceServerOutput + if *v == nil { + sv = &CreateExtendedSourceServerOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "sourceServer": + if err := awsRestjson1_deserializeDocumentSourceServer(&sv.SourceServer, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpCreateReplicationConfigurationTemplate struct { } @@ -1991,6 +2156,11 @@ func awsRestjson1_deserializeOpDocumentDisconnectSourceServerOutput(v **Disconne sv.SourceServerID = ptr.String(jtv) } + case "stagingArea": + if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { + return err + } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err @@ -2513,6 +2683,9 @@ func awsRestjson1_deserializeOpErrorGetReplicationConfiguration(response *smithy } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) @@ -2790,14 +2963,14 @@ func awsRestjson1_deserializeOpErrorInitializeService(response *smithyhttp.Respo } } -type awsRestjson1_deserializeOpListTagsForResource struct { +type awsRestjson1_deserializeOpListExtensibleSourceServers struct { } -func (*awsRestjson1_deserializeOpListTagsForResource) ID() string { +func (*awsRestjson1_deserializeOpListExtensibleSourceServers) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListExtensibleSourceServers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2811,9 +2984,9 @@ func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListTagsForResource(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListExtensibleSourceServers(response, &metadata) } - output := &ListTagsForResourceOutput{} + output := &ListExtensibleSourceServersOutput{} out.Result = output var buff [1024]byte @@ -2834,7 +3007,7 @@ func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListExtensibleSourceServersOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2847,7 +3020,7 @@ func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListExtensibleSourceServers(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2894,12 +3067,12 @@ func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Res case strings.EqualFold("InternalServerException", errorCode): return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + case strings.EqualFold("UninitializedAccountException", errorCode): + return awsRestjson1_deserializeErrorUninitializedAccountException(response, errorBody) + case strings.EqualFold("ValidationException", errorCode): return awsRestjson1_deserializeErrorValidationException(response, errorBody) @@ -2913,7 +3086,7 @@ func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Res } } -func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListExtensibleSourceServersOutput(v **ListExtensibleSourceServersOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -2926,20 +3099,29 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListTagsForResourceOutput + var sv *ListExtensibleSourceServersOutput if *v == nil { - sv = &ListTagsForResourceOutput{} + sv = &ListExtensibleSourceServersOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "tags": - if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { + case "items": + if err := awsRestjson1_deserializeDocumentStagingSourceServersList(&sv.Items, value); err != nil { return err } + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PaginationToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + default: _, _ = key, value @@ -2949,14 +3131,14 @@ func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsFor return nil } -type awsRestjson1_deserializeOpRetryDataReplication struct { +type awsRestjson1_deserializeOpListStagingAccounts struct { } -func (*awsRestjson1_deserializeOpRetryDataReplication) ID() string { +func (*awsRestjson1_deserializeOpListStagingAccounts) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpRetryDataReplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListStagingAccounts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2970,9 +3152,9 @@ func (m *awsRestjson1_deserializeOpRetryDataReplication) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorRetryDataReplication(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListStagingAccounts(response, &metadata) } - output := &RetryDataReplicationOutput{} + output := &ListStagingAccountsOutput{} out.Result = output var buff [1024]byte @@ -2993,7 +3175,7 @@ func (m *awsRestjson1_deserializeOpRetryDataReplication) HandleDeserialize(ctx c return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListStagingAccountsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3006,7 +3188,7 @@ func (m *awsRestjson1_deserializeOpRetryDataReplication) HandleDeserialize(ctx c return out, metadata, err } -func awsRestjson1_deserializeOpErrorRetryDataReplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListStagingAccounts(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3047,12 +3229,12 @@ func awsRestjson1_deserializeOpErrorRetryDataReplication(response *smithyhttp.Re } switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -3072,7 +3254,7 @@ func awsRestjson1_deserializeOpErrorRetryDataReplication(response *smithyhttp.Re } } -func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataReplicationOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListStagingAccountsOutput(v **ListStagingAccountsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -3085,69 +3267,27 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR return fmt.Errorf("unexpected JSON type %v", value) } - var sv *RetryDataReplicationOutput + var sv *ListStagingAccountsOutput if *v == nil { - sv = &RetryDataReplicationOutput{} + sv = &ListStagingAccountsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "arn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ARN to be of type string, got %T instead", value) - } - sv.Arn = ptr.String(jtv) - } - - case "dataReplicationInfo": - if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { - return err - } - - case "lastLaunchResult": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LastLaunchResult to be of type string, got %T instead", value) - } - sv.LastLaunchResult = types.LastLaunchResult(jtv) - } - - case "lifeCycle": - if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { - return err - } - - case "recoveryInstanceId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected RecoveryInstanceID to be of type string, got %T instead", value) - } - sv.RecoveryInstanceId = ptr.String(jtv) - } - - case "sourceProperties": - if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { + case "accounts": + if err := awsRestjson1_deserializeDocumentAccounts(&sv.Accounts, value); err != nil { return err } - case "sourceServerID": + case "nextToken": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected SourceServerID to be of type string, got %T instead", value) + return fmt.Errorf("expected PaginationToken to be of type string, got %T instead", value) } - sv.SourceServerID = ptr.String(jtv) - } - - case "tags": - if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { - return err + sv.NextToken = ptr.String(jtv) } default: @@ -3159,10 +3299,384 @@ func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataR return nil } -type awsRestjson1_deserializeOpStartFailbackLaunch struct { +type awsRestjson1_deserializeOpListTagsForResource struct { } -func (*awsRestjson1_deserializeOpStartFailbackLaunch) ID() string { +func (*awsRestjson1_deserializeOpListTagsForResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorListTagsForResource(response, &metadata) + } + output := &ListTagsForResourceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListTagsForResourceOutput + if *v == nil { + sv = &ListTagsForResourceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "tags": + if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpRetryDataReplication struct { +} + +func (*awsRestjson1_deserializeOpRetryDataReplication) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpRetryDataReplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorRetryDataReplication(response, &metadata) + } + output := &RetryDataReplicationOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorRetryDataReplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("UninitializedAccountException", errorCode): + return awsRestjson1_deserializeErrorUninitializedAccountException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentRetryDataReplicationOutput(v **RetryDataReplicationOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *RetryDataReplicationOutput + if *v == nil { + sv = &RetryDataReplicationOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "dataReplicationInfo": + if err := awsRestjson1_deserializeDocumentDataReplicationInfo(&sv.DataReplicationInfo, value); err != nil { + return err + } + + case "lastLaunchResult": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LastLaunchResult to be of type string, got %T instead", value) + } + sv.LastLaunchResult = types.LastLaunchResult(jtv) + } + + case "lifeCycle": + if err := awsRestjson1_deserializeDocumentLifeCycle(&sv.LifeCycle, value); err != nil { + return err + } + + case "recoveryInstanceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RecoveryInstanceID to be of type string, got %T instead", value) + } + sv.RecoveryInstanceId = ptr.String(jtv) + } + + case "sourceProperties": + if err := awsRestjson1_deserializeDocumentSourceProperties(&sv.SourceProperties, value); err != nil { + return err + } + + case "sourceServerID": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SourceServerID to be of type string, got %T instead", value) + } + sv.SourceServerID = ptr.String(jtv) + } + + case "stagingArea": + if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { + return err + } + + case "tags": + if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpStartFailbackLaunch struct { +} + +func (*awsRestjson1_deserializeOpStartFailbackLaunch) ID() string { return "OperationDeserializer" } @@ -5187,39 +5701,216 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie if *v == nil { sv = &types.AccessDeniedException{} } else { - sv = *v + sv = *v + } + + for key, value := range shape { + switch key { + case "code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + } + sv.Code = ptr.String(jtv) + } + + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAccount(v **types.Account, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Account + if *v == nil { + sv = &types.Account{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "accountID": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AccountID to be of type string, got %T instead", value) + } + sv.AccountID = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAccounts(v *[]types.Account, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Account + if *v == nil { + cv = []types.Account{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Account + destAddr := &col + if err := awsRestjson1_deserializeDocumentAccount(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ConflictException + if *v == nil { + sv = &types.ConflictException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + } + sv.Code = ptr.String(jtv) + } + + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "resourceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + } + sv.ResourceId = ptr.String(jtv) + } + + case "resourceType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + } + sv.ResourceType = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentConversionMap(v *map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]string + if *v == nil { + mv = map[string]string{} + } else { + mv = *v } for key, value := range shape { - switch key { - case "code": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) - } - sv.Code = ptr.String(jtv) - } - - case "message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ebsSnapshot to be of type string, got %T instead", value) } - - default: - _, _ = key, value - + parsedVal = jtv } + mv[key] = parsedVal + } - *v = sv + *v = mv return nil } -func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictException, value interface{}) error { +func awsRestjson1_deserializeDocumentConversionProperties(v **types.ConversionProperties, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -5232,49 +5923,50 @@ func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictExcepti return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.ConflictException + var sv *types.ConversionProperties if *v == nil { - sv = &types.ConflictException{} + sv = &types.ConversionProperties{} } else { sv = *v } for key, value := range shape { switch key { - case "code": + case "dataTimestamp": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) } - sv.Code = ptr.String(jtv) + sv.DataTimestamp = ptr.String(jtv) } - case "message": + case "forceUefi": if value != nil { - jtv, ok := value.(string) + jtv, ok := value.(bool) if !ok { - return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.ForceUefi = ptr.Bool(jtv) } - case "resourceId": + case "rootVolumeName": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) } - sv.ResourceId = ptr.String(jtv) + sv.RootVolumeName = ptr.String(jtv) } - case "resourceType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) - } - sv.ResourceType = ptr.String(jtv) + case "volumeToConversionMap": + if err := awsRestjson1_deserializeDocumentVolumeToConversionMap(&sv.VolumeToConversionMap, value); err != nil { + return err + } + + case "volumeToVolumeSize": + if err := awsRestjson1_deserializeDocumentVolumeToSizeMap(&sv.VolumeToVolumeSize, value); err != nil { + return err } default: @@ -6251,6 +6943,11 @@ func awsRestjson1_deserializeDocumentJobLogEventData(v **types.JobLogEventData, for key, value := range shape { switch key { + case "conversionProperties": + if err := awsRestjson1_deserializeDocumentConversionProperties(&sv.ConversionProperties, value); err != nil { + return err + } + case "conversionServerID": if value != nil { jtv, ok := value.(string) @@ -8466,6 +9163,11 @@ func awsRestjson1_deserializeDocumentSourceServer(v **types.SourceServer, value sv.SourceServerID = ptr.String(jtv) } + case "stagingArea": + if err := awsRestjson1_deserializeDocumentStagingArea(&sv.StagingArea, value); err != nil { + return err + } + case "tags": if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { return err @@ -8514,6 +9216,161 @@ func awsRestjson1_deserializeDocumentSourceServersList(v *[]types.SourceServer, return nil } +func awsRestjson1_deserializeDocumentStagingArea(v **types.StagingArea, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.StagingArea + if *v == nil { + sv = &types.StagingArea{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "errorMessage": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LargeBoundedString to be of type string, got %T instead", value) + } + sv.ErrorMessage = ptr.String(jtv) + } + + case "stagingAccountID": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AccountID to be of type string, got %T instead", value) + } + sv.StagingAccountID = ptr.String(jtv) + } + + case "stagingSourceServerArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ARN to be of type string, got %T instead", value) + } + sv.StagingSourceServerArn = ptr.String(jtv) + } + + case "status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ExtensionStatus to be of type string, got %T instead", value) + } + sv.Status = types.ExtensionStatus(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentStagingSourceServer(v **types.StagingSourceServer, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.StagingSourceServer + if *v == nil { + sv = &types.StagingSourceServer{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SourceServerARN to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "hostname": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected BoundedString to be of type string, got %T instead", value) + } + sv.Hostname = ptr.String(jtv) + } + + case "tags": + if err := awsRestjson1_deserializeDocumentTagsMap(&sv.Tags, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentStagingSourceServersList(v *[]types.StagingSourceServer, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.StagingSourceServer + if *v == nil { + cv = []types.StagingSourceServer{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.StagingSourceServer + destAddr := &col + if err := awsRestjson1_deserializeDocumentStagingSourceServer(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentTagsMap(v *map[string]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -8811,3 +9668,77 @@ func awsRestjson1_deserializeDocumentValidationExceptionFieldList(v *[]types.Val *v = cv return nil } + +func awsRestjson1_deserializeDocumentVolumeToConversionMap(v *map[string]map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]map[string]string + if *v == nil { + mv = map[string]map[string]string{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal map[string]string + mapVar := parsedVal + if err := awsRestjson1_deserializeDocumentConversionMap(&mapVar, value); err != nil { + return err + } + parsedVal = mapVar + mv[key] = parsedVal + + } + *v = mv + return nil +} + +func awsRestjson1_deserializeDocumentVolumeToSizeMap(v *map[string]int64, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]int64 + if *v == nil { + mv = map[string]int64{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal int64 + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected PositiveInteger to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + parsedVal = i64 + } + mv[key] = parsedVal + + } + *v = mv + return nil +} diff --git a/service/drs/generated.json b/service/drs/generated.json index e7a03eccfb1..6a06fafe2d2 100644 --- a/service/drs/generated.json +++ b/service/drs/generated.json @@ -8,6 +8,7 @@ "files": [ "api_client.go", "api_client_test.go", + "api_op_CreateExtendedSourceServer.go", "api_op_CreateReplicationConfigurationTemplate.go", "api_op_DeleteJob.go", "api_op_DeleteRecoveryInstance.go", @@ -25,6 +26,8 @@ "api_op_GetLaunchConfiguration.go", "api_op_GetReplicationConfiguration.go", "api_op_InitializeService.go", + "api_op_ListExtensibleSourceServers.go", + "api_op_ListStagingAccounts.go", "api_op_ListTagsForResource.go", "api_op_RetryDataReplication.go", "api_op_StartFailbackLaunch.go", diff --git a/service/drs/go.mod b/service/drs/go.mod index 1ea01a439ab..fd9cbc8a427 100644 --- a/service/drs/go.mod +++ b/service/drs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/drs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/drs/go.sum b/service/drs/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/drs/go.sum +++ b/service/drs/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/drs/go_module_metadata.go b/service/drs/go_module_metadata.go index 2b21db16563..d17f36ab5dd 100644 --- a/service/drs/go_module_metadata.go +++ b/service/drs/go_module_metadata.go @@ -3,4 +3,4 @@ package drs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.5" +const goModuleVersion = "1.6.1" diff --git a/service/drs/serializers.go b/service/drs/serializers.go index 4bb7f0a3ad1..e1f25812494 100644 --- a/service/drs/serializers.go +++ b/service/drs/serializers.go @@ -14,6 +14,81 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +type awsRestjson1_serializeOpCreateExtendedSourceServer struct { +} + +func (*awsRestjson1_serializeOpCreateExtendedSourceServer) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpCreateExtendedSourceServer) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateExtendedSourceServerInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/CreateExtendedSourceServer") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentCreateExtendedSourceServerInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsCreateExtendedSourceServerInput(v *CreateExtendedSourceServerInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestjson1_serializeOpDocumentCreateExtendedSourceServerInput(v *CreateExtendedSourceServerInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.SourceServerArn != nil { + ok := object.Key("sourceServerArn") + ok.String(*v.SourceServerArn) + } + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsRestjson1_serializeDocumentTagsMap(v.Tags, ok); err != nil { + return err + } + } + + return nil +} + type awsRestjson1_serializeOpCreateReplicationConfigurationTemplate struct { } @@ -1300,6 +1375,141 @@ func awsRestjson1_serializeOpHttpBindingsInitializeServiceInput(v *InitializeSer return nil } +type awsRestjson1_serializeOpListExtensibleSourceServers struct { +} + +func (*awsRestjson1_serializeOpListExtensibleSourceServers) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListExtensibleSourceServers) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListExtensibleSourceServersInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/ListExtensibleSourceServers") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentListExtensibleSourceServersInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListExtensibleSourceServersInput(v *ListExtensibleSourceServersInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestjson1_serializeOpDocumentListExtensibleSourceServersInput(v *ListExtensibleSourceServersInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MaxResults != 0 { + ok := object.Key("maxResults") + ok.Integer(v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + if v.StagingAccountID != nil { + ok := object.Key("stagingAccountID") + ok.String(*v.StagingAccountID) + } + + return nil +} + +type awsRestjson1_serializeOpListStagingAccounts struct { +} + +func (*awsRestjson1_serializeOpListStagingAccounts) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListStagingAccounts) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListStagingAccountsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/ListStagingAccounts") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsListStagingAccountsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListStagingAccountsInput(v *ListStagingAccountsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("nextToken").String(*v.NextToken) + } + + return nil +} + type awsRestjson1_serializeOpListTagsForResource struct { } @@ -2348,6 +2558,17 @@ func awsRestjson1_serializeOpDocumentUpdateReplicationConfigurationTemplateInput return nil } +func awsRestjson1_serializeDocumentAccountIDs(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsRestjson1_serializeDocumentDescribeJobsRequestFilters(v *types.DescribeJobsRequestFilters, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -2437,6 +2658,13 @@ func awsRestjson1_serializeDocumentDescribeSourceServersRequestFilters(v *types. } } + if v.StagingAccountIDs != nil { + ok := object.Key("stagingAccountIDs") + if err := awsRestjson1_serializeDocumentAccountIDs(v.StagingAccountIDs, ok); err != nil { + return err + } + } + return nil } diff --git a/service/drs/types/enums.go b/service/drs/types/enums.go index 9ce52ae8423..e86dbcf2322 100644 --- a/service/drs/types/enums.go +++ b/service/drs/types/enums.go @@ -168,6 +168,26 @@ func (EC2InstanceState) Values() []EC2InstanceState { } } +type ExtensionStatus string + +// Enum values for ExtensionStatus +const ( + ExtensionStatusExtended ExtensionStatus = "EXTENDED" + ExtensionStatusExtensionError ExtensionStatus = "EXTENSION_ERROR" + ExtensionStatusNotExtended ExtensionStatus = "NOT_EXTENDED" +) + +// Values returns all known values for ExtensionStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (ExtensionStatus) Values() []ExtensionStatus { + return []ExtensionStatus{ + "EXTENDED", + "EXTENSION_ERROR", + "NOT_EXTENDED", + } +} + type FailbackReplicationError string // Enum values for FailbackReplicationError @@ -233,6 +253,7 @@ const ( InitiatedByFailback InitiatedBy = "FAILBACK" InitiatedByDiagnostic InitiatedBy = "DIAGNOSTIC" InitiatedByTerminateRecoveryInstances InitiatedBy = "TERMINATE_RECOVERY_INSTANCES" + InitiatedByTargetAccount InitiatedBy = "TARGET_ACCOUNT" ) // Values returns all known values for InitiatedBy. Note that this can be expanded @@ -245,6 +266,7 @@ func (InitiatedBy) Values() []InitiatedBy { "FAILBACK", "DIAGNOSTIC", "TERMINATE_RECOVERY_INSTANCES", + "TARGET_ACCOUNT", } } @@ -320,8 +342,9 @@ type JobType string // Enum values for JobType const ( - JobTypeLaunch JobType = "LAUNCH" - JobTypeTerminate JobType = "TERMINATE" + JobTypeLaunch JobType = "LAUNCH" + JobTypeTerminate JobType = "TERMINATE" + JobTypeCreateConvertedSnapshot JobType = "CREATE_CONVERTED_SNAPSHOT" ) // Values returns all known values for JobType. Note that this can be expanded in @@ -331,6 +354,7 @@ func (JobType) Values() []JobType { return []JobType{ "LAUNCH", "TERMINATE", + "CREATE_CONVERTED_SNAPSHOT", } } diff --git a/service/drs/types/errors.go b/service/drs/types/errors.go index 3074af67669..c930669cbd6 100644 --- a/service/drs/types/errors.go +++ b/service/drs/types/errors.go @@ -7,7 +7,7 @@ import ( smithy "github.com/aws/smithy-go" ) -// TYou do not have sufficient access to perform this action. +// You do not have sufficient access to perform this action. type AccessDeniedException struct { Message *string diff --git a/service/drs/types/types.go b/service/drs/types/types.go index 8a6f954287e..116307982d1 100644 --- a/service/drs/types/types.go +++ b/service/drs/types/types.go @@ -6,6 +6,36 @@ import ( smithydocument "github.com/aws/smithy-go/document" ) +// AWS account. +type Account struct { + + // Account ID of AWS account. + AccountID *string + + noSmithyDocumentSerde +} + +// Properties of a conversion job +type ConversionProperties struct { + + // The timestamp of when the snapshot being converted was taken + DataTimestamp *string + + // Whether the volume being converted uses UEFI or not + ForceUefi *bool + + // The root volume name of a conversion job + RootVolumeName *string + + // A mapping between the volumes being converted and the converted snapshot ids + VolumeToConversionMap map[string]map[string]string + + // A mapping between the volumes and their sizes + VolumeToVolumeSize map[string]int64 + + noSmithyDocumentSerde +} + // Information about a server's CPU. type CPU struct { @@ -154,6 +184,10 @@ type DescribeSourceServersRequestFilters struct { // Source Servers. SourceServerIDs []string + // An array of staging account IDs that extended source servers belong to. An empty + // array means all source servers will be shown. + StagingAccountIDs []string + noSmithyDocumentSerde } @@ -240,6 +274,9 @@ type JobLog struct { // Metadata associated with a Job log. type JobLogEventData struct { + // Properties of a conversion job + ConversionProperties *ConversionProperties + // The ID of a conversion server. ConversionServerID *string @@ -744,12 +781,56 @@ type SourceServer struct { // The ID of the Source Server. SourceServerID *string + // The staging area of the source server. + StagingArea *StagingArea + // The tags associated with the Source Server. Tags map[string]string noSmithyDocumentSerde } +// Staging information related to source server. +type StagingArea struct { + + // Shows an error message that occurred when DRS tried to access the staging source + // server. In this case StagingArea$status will have value EXTENSION_ERROR + ErrorMessage *string + + // Account ID of the account to which source server belongs. If this source server + // is extended - shows Account ID of staging source server. + StagingAccountID *string + + // Arn of the staging source server if this source server is extended + StagingSourceServerArn *string + + // Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a + // source server that is replicating in the current account. (b) EXTENDED - Source + // server is extended from a staging source server. In this case, the value of + // stagingSourceServerArn is pointing to the Arn of the source server in the + // staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing + // staging source server. In this case, errorMessage field will contain an error + // message that explains what happened. + Status ExtensionStatus + + noSmithyDocumentSerde +} + +// Source server in staging account that extended source server connected to. +type StagingSourceServer struct { + + // The ARN of the source server. + Arn *string + + // Hostname of staging source server. + Hostname *string + + // A list of tags associated with the staging source server. + Tags map[string]string + + noSmithyDocumentSerde +} + // An object representing the Source Server to recover. type StartRecoveryRequestSourceServer struct { diff --git a/service/drs/validators.go b/service/drs/validators.go index c9e46c8fa63..ac82a9d653f 100644 --- a/service/drs/validators.go +++ b/service/drs/validators.go @@ -10,6 +10,26 @@ import ( "github.com/aws/smithy-go/middleware" ) +type validateOpCreateExtendedSourceServer struct { +} + +func (*validateOpCreateExtendedSourceServer) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateExtendedSourceServer) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateExtendedSourceServerInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateExtendedSourceServerInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateReplicationConfigurationTemplate struct { } @@ -130,46 +150,6 @@ func (m *validateOpDescribeJobLogItems) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } -type validateOpDescribeJobs struct { -} - -func (*validateOpDescribeJobs) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeJobs) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeJobsInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeJobsInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeRecoveryInstances struct { -} - -func (*validateOpDescribeRecoveryInstances) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeRecoveryInstances) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeRecoveryInstancesInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeRecoveryInstancesInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpDescribeRecoverySnapshots struct { } @@ -190,46 +170,6 @@ func (m *validateOpDescribeRecoverySnapshots) HandleInitialize(ctx context.Conte return next.HandleInitialize(ctx, in) } -type validateOpDescribeReplicationConfigurationTemplates struct { -} - -func (*validateOpDescribeReplicationConfigurationTemplates) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeReplicationConfigurationTemplates) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeReplicationConfigurationTemplatesInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeReplicationConfigurationTemplatesInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeSourceServers struct { -} - -func (*validateOpDescribeSourceServers) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeSourceServers) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeSourceServersInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeSourceServersInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpDisconnectRecoveryInstance struct { } @@ -330,6 +270,26 @@ func (m *validateOpGetReplicationConfiguration) HandleInitialize(ctx context.Con return next.HandleInitialize(ctx, in) } +type validateOpListExtensibleSourceServers struct { +} + +func (*validateOpListExtensibleSourceServers) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListExtensibleSourceServers) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListExtensibleSourceServersInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListExtensibleSourceServersInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListTagsForResource struct { } @@ -570,6 +530,10 @@ func (m *validateOpUpdateReplicationConfigurationTemplate) HandleInitialize(ctx return next.HandleInitialize(ctx, in) } +func addOpCreateExtendedSourceServerValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateExtendedSourceServer{}, middleware.After) +} + func addOpCreateReplicationConfigurationTemplateValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateReplicationConfigurationTemplate{}, middleware.After) } @@ -594,26 +558,10 @@ func addOpDescribeJobLogItemsValidationMiddleware(stack *middleware.Stack) error return stack.Initialize.Add(&validateOpDescribeJobLogItems{}, middleware.After) } -func addOpDescribeJobsValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeJobs{}, middleware.After) -} - -func addOpDescribeRecoveryInstancesValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeRecoveryInstances{}, middleware.After) -} - func addOpDescribeRecoverySnapshotsValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribeRecoverySnapshots{}, middleware.After) } -func addOpDescribeReplicationConfigurationTemplatesValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeReplicationConfigurationTemplates{}, middleware.After) -} - -func addOpDescribeSourceServersValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeSourceServers{}, middleware.After) -} - func addOpDisconnectRecoveryInstanceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDisconnectRecoveryInstance{}, middleware.After) } @@ -634,6 +582,10 @@ func addOpGetReplicationConfigurationValidationMiddleware(stack *middleware.Stac return stack.Initialize.Add(&validateOpGetReplicationConfiguration{}, middleware.After) } +func addOpListExtensibleSourceServersValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListExtensibleSourceServers{}, middleware.After) +} + func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) } @@ -746,6 +698,21 @@ func validateStartRecoveryRequestSourceServers(v []types.StartRecoveryRequestSou } } +func validateOpCreateExtendedSourceServerInput(v *CreateExtendedSourceServerInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateExtendedSourceServerInput"} + if v.SourceServerArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("SourceServerArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateReplicationConfigurationTemplateInput(v *CreateReplicationConfigurationTemplateInput) error { if v == nil { return nil @@ -870,36 +837,6 @@ func validateOpDescribeJobLogItemsInput(v *DescribeJobLogItemsInput) error { } } -func validateOpDescribeJobsInput(v *DescribeJobsInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeJobsInput"} - if v.Filters == nil { - invalidParams.Add(smithy.NewErrParamRequired("Filters")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeRecoveryInstancesInput(v *DescribeRecoveryInstancesInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeRecoveryInstancesInput"} - if v.Filters == nil { - invalidParams.Add(smithy.NewErrParamRequired("Filters")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpDescribeRecoverySnapshotsInput(v *DescribeRecoverySnapshotsInput) error { if v == nil { return nil @@ -915,36 +852,6 @@ func validateOpDescribeRecoverySnapshotsInput(v *DescribeRecoverySnapshotsInput) } } -func validateOpDescribeReplicationConfigurationTemplatesInput(v *DescribeReplicationConfigurationTemplatesInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeReplicationConfigurationTemplatesInput"} - if v.ReplicationConfigurationTemplateIDs == nil { - invalidParams.Add(smithy.NewErrParamRequired("ReplicationConfigurationTemplateIDs")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeSourceServersInput(v *DescribeSourceServersInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeSourceServersInput"} - if v.Filters == nil { - invalidParams.Add(smithy.NewErrParamRequired("Filters")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpDisconnectRecoveryInstanceInput(v *DisconnectRecoveryInstanceInput) error { if v == nil { return nil @@ -1020,6 +927,21 @@ func validateOpGetReplicationConfigurationInput(v *GetReplicationConfigurationIn } } +func validateOpListExtensibleSourceServersInput(v *ListExtensibleSourceServersInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListExtensibleSourceServersInput"} + if v.StagingAccountID == nil { + invalidParams.Add(smithy.NewErrParamRequired("StagingAccountID")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { if v == nil { return nil diff --git a/service/dynamodb/CHANGELOG.md b/service/dynamodb/CHANGELOG.md index 401c26076d6..5eb31cc2400 100644 --- a/service/dynamodb/CHANGELOG.md +++ b/service/dynamodb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/dynamodb/go.mod b/service/dynamodb/go.mod index 9c469340da0..8d08470cae9 100644 --- a/service/dynamodb/go.mod +++ b/service/dynamodb/go.mod @@ -3,12 +3,12 @@ module github.com/aws/aws-sdk-go-v2/service/dynamodb go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.1 - github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.2 + github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/dynamodb/go.sum b/service/dynamodb/go.sum index b6c8f6d8958..448801e7286 100644 --- a/service/dynamodb/go.sum +++ b/service/dynamodb/go.sum @@ -1,10 +1,10 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -12,8 +12,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/dynamodb/go_module_metadata.go b/service/dynamodb/go_module_metadata.go index 6c7fb88300a..7a77f621bd9 100644 --- a/service/dynamodb/go_module_metadata.go +++ b/service/dynamodb/go_module_metadata.go @@ -3,4 +3,4 @@ package dynamodb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/dynamodbstreams/CHANGELOG.md b/service/dynamodbstreams/CHANGELOG.md index 2755cacc224..08a3a40d7f6 100644 --- a/service/dynamodbstreams/CHANGELOG.md +++ b/service/dynamodbstreams/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/dynamodbstreams/go.mod b/service/dynamodbstreams/go.mod index 8bd861ae49d..c7bac7a06c2 100644 --- a/service/dynamodbstreams/go.mod +++ b/service/dynamodbstreams/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/dynamodbstreams go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dynamodbstreams/go.sum b/service/dynamodbstreams/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/dynamodbstreams/go.sum +++ b/service/dynamodbstreams/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/dynamodbstreams/go_module_metadata.go b/service/dynamodbstreams/go_module_metadata.go index ac13936ae9d..763bfd66beb 100644 --- a/service/dynamodbstreams/go_module_metadata.go +++ b/service/dynamodbstreams/go_module_metadata.go @@ -3,4 +3,4 @@ package dynamodbstreams // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/ebs/CHANGELOG.md b/service/ebs/CHANGELOG.md index e318e7b7aad..b226e01720c 100644 --- a/service/ebs/CHANGELOG.md +++ b/service/ebs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.5 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.4 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ebs/go.mod b/service/ebs/go.mod index 8e8243220da..f910120d12e 100644 --- a/service/ebs/go.mod +++ b/service/ebs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ebs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ebs/go.sum b/service/ebs/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ebs/go.sum +++ b/service/ebs/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ebs/go_module_metadata.go b/service/ebs/go_module_metadata.go index cfe20df156f..130565fb844 100644 --- a/service/ebs/go_module_metadata.go +++ b/service/ebs/go_module_metadata.go @@ -3,4 +3,4 @@ package ebs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.4" +const goModuleVersion = "1.15.5" diff --git a/service/ec2/CHANGELOG.md b/service/ec2/CHANGELOG.md index b78b583d9bc..245485c595d 100644 --- a/service/ec2/CHANGELOG.md +++ b/service/ec2/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.45.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.45.0 (2022-05-26) + +* **Feature**: C7g instances, powered by the latest generation AWS Graviton3 processors, provide the best price performance in Amazon EC2 for compute-intensive workloads. + +# v1.44.0 (2022-05-24) + +* **Feature**: Stop Protection feature enables customers to protect their instances from accidental stop actions. + # v1.43.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ec2/api_op_CreateLaunchTemplate.go b/service/ec2/api_op_CreateLaunchTemplate.go index 7b1f429a433..a5e243a70dc 100644 --- a/service/ec2/api_op_CreateLaunchTemplate.go +++ b/service/ec2/api_op_CreateLaunchTemplate.go @@ -14,7 +14,7 @@ import ( // Creates a launch template. A launch template contains the parameters to launch // an instance. When you launch an instance using RunInstances, you can specify a // launch template instead of providing the launch parameters in the request. For -// more information, see Launching an instance from a launch template +// more information, see Launch an instance from a launch template // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) // in the Amazon Elastic Compute Cloud User Guide. If you want to clone an existing // launch template as the basis for creating a new launch template, you can use the @@ -51,7 +51,7 @@ type CreateLaunchTemplateInput struct { LaunchTemplateName *string // Unique, case-sensitive identifier you provide to ensure the idempotency of the - // request. For more information, see Ensuring Idempotency + // request. For more information, see Ensuring idempotency // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // Constraint: Maximum 128 ASCII characters. ClientToken *string diff --git a/service/ec2/api_op_CreateLaunchTemplateVersion.go b/service/ec2/api_op_CreateLaunchTemplateVersion.go index b1df7c743d2..715d2cc2a1d 100644 --- a/service/ec2/api_op_CreateLaunchTemplateVersion.go +++ b/service/ec2/api_op_CreateLaunchTemplateVersion.go @@ -14,8 +14,11 @@ import ( // Creates a new version for a launch template. You can specify an existing version // of launch template from which to base the new version. Launch template versions // are numbered in the order in which they are created. You cannot specify, change, -// or replace the numbering of launch template versions. For more information, see -// Managing launch template versions +// or replace the numbering of launch template versions. Launch templates are +// immutable; after you create a launch template, you can't modify it. Instead, you +// can create a new version of the launch template that includes any changes you +// require. For more information, see Modify a launch template (manage launch +// template versions) // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions)in // the Amazon Elastic Compute Cloud User Guide. func (c *Client) CreateLaunchTemplateVersion(ctx context.Context, params *CreateLaunchTemplateVersionInput, optFns ...func(*Options)) (*CreateLaunchTemplateVersionOutput, error) { @@ -41,7 +44,7 @@ type CreateLaunchTemplateVersionInput struct { LaunchTemplateData *types.RequestLaunchTemplateData // Unique, case-sensitive identifier you provide to ensure the idempotency of the - // request. For more information, see Ensuring Idempotency + // request. For more information, see Ensuring idempotency // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // Constraint: Maximum 128 ASCII characters. ClientToken *string diff --git a/service/ec2/api_op_DescribeInstanceAttribute.go b/service/ec2/api_op_DescribeInstanceAttribute.go index fbb125a496e..f339939cda4 100644 --- a/service/ec2/api_op_DescribeInstanceAttribute.go +++ b/service/ec2/api_op_DescribeInstanceAttribute.go @@ -59,6 +59,10 @@ type DescribeInstanceAttributeOutput struct { // The block device mapping of the instance. BlockDeviceMappings []types.InstanceBlockDeviceMapping + // To enable the instance for Amazon Web Services Stop Protection, set this + // parameter to true; otherwise, set it to false. + DisableApiStop *types.AttributeBooleanValue + // If the value is true, you can't terminate the instance through the Amazon EC2 // console, CLI, or API; otherwise, you can. DisableApiTermination *types.AttributeBooleanValue diff --git a/service/ec2/api_op_ModifyInstanceAttribute.go b/service/ec2/api_op_ModifyInstanceAttribute.go index fb99b391058..61113d2d549 100644 --- a/service/ec2/api_op_ModifyInstanceAttribute.go +++ b/service/ec2/api_op_ModifyInstanceAttribute.go @@ -56,6 +56,11 @@ type ModifyInstanceAttributeInput struct { // in the Amazon EC2 User Guide. BlockDeviceMappings []types.InstanceBlockDeviceMappingSpecification + // Indicates whether an instance is enabled for stop protection. For more + // information, see Stop Protection + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + DisableApiStop *types.AttributeBooleanValue + // If the value is true, you can't terminate the instance using the Amazon EC2 // console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot // Instances. diff --git a/service/ec2/api_op_ModifyLaunchTemplate.go b/service/ec2/api_op_ModifyLaunchTemplate.go index 10ef0fe1d08..d88a2171602 100644 --- a/service/ec2/api_op_ModifyLaunchTemplate.go +++ b/service/ec2/api_op_ModifyLaunchTemplate.go @@ -32,7 +32,7 @@ func (c *Client) ModifyLaunchTemplate(ctx context.Context, params *ModifyLaunchT type ModifyLaunchTemplateInput struct { // Unique, case-sensitive identifier you provide to ensure the idempotency of the - // request. For more information, see Ensuring Idempotency + // request. For more information, see Ensuring idempotency // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). // Constraint: Maximum 128 ASCII characters. ClientToken *string diff --git a/service/ec2/api_op_RunInstances.go b/service/ec2/api_op_RunInstances.go index 4326c633e90..d05347fecc5 100644 --- a/service/ec2/api_op_RunInstances.go +++ b/service/ec2/api_op_RunInstances.go @@ -149,6 +149,11 @@ type RunInstancesInput struct { // supported. CreditSpecification *types.CreditSpecificationRequest + // Indicates whether an instance is enabled for stop protection. For more + // information, see Stop Protection + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + DisableApiStop *bool + // If you set this parameter to true, you can't terminate the instance using the // Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute // after launch, use ModifyInstanceAttribute diff --git a/service/ec2/deserializers.go b/service/ec2/deserializers.go index cf59802191e..b6432b13a0d 100644 --- a/service/ec2/deserializers.go +++ b/service/ec2/deserializers.go @@ -96776,6 +96776,22 @@ func awsEc2query_deserializeDocumentResponseLaunchTemplateData(v **types.Respons return err } + case strings.EqualFold("disableApiStop", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) + } + sv.DisableApiStop = ptr.Bool(xtv) + } + case strings.EqualFold("disableApiTermination", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -129258,6 +129274,12 @@ func awsEc2query_deserializeOpDocumentDescribeInstanceAttributeOutput(v **Descri return err } + case strings.EqualFold("disableApiStop", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentAttributeBooleanValue(&sv.DisableApiStop, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("disableApiTermination", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsEc2query_deserializeDocumentAttributeBooleanValue(&sv.DisableApiTermination, nodeDecoder); err != nil { diff --git a/service/ec2/go.mod b/service/ec2/go.mod index 9b5b2f37501..f39253fa3ac 100644 --- a/service/ec2/go.mod +++ b/service/ec2/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/ec2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ec2/go.sum b/service/ec2/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/ec2/go.sum +++ b/service/ec2/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/ec2/go_module_metadata.go b/service/ec2/go_module_metadata.go index 98b9a4e7edf..89f73c8a0d0 100644 --- a/service/ec2/go_module_metadata.go +++ b/service/ec2/go_module_metadata.go @@ -3,4 +3,4 @@ package ec2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.43.1" +const goModuleVersion = "1.45.1" diff --git a/service/ec2/serializers.go b/service/ec2/serializers.go index 492b53c9583..11a559aaa92 100644 --- a/service/ec2/serializers.go +++ b/service/ec2/serializers.go @@ -39292,6 +39292,11 @@ func awsEc2query_serializeDocumentRequestLaunchTemplateData(v *types.RequestLaun } } + if v.DisableApiStop != nil { + objectKey := object.Key("DisableApiStop") + objectKey.Boolean(*v.DisableApiStop) + } + if v.DisableApiTermination != nil { objectKey := object.Key("DisableApiTermination") objectKey.Boolean(*v.DisableApiTermination) @@ -55191,6 +55196,13 @@ func awsEc2query_serializeOpDocumentModifyInstanceAttributeInput(v *ModifyInstan } } + if v.DisableApiStop != nil { + objectKey := object.Key("DisableApiStop") + if err := awsEc2query_serializeDocumentAttributeBooleanValue(v.DisableApiStop, objectKey); err != nil { + return err + } + } + if v.DisableApiTermination != nil { objectKey := object.Key("DisableApiTermination") if err := awsEc2query_serializeDocumentAttributeBooleanValue(v.DisableApiTermination, objectKey); err != nil { @@ -58278,6 +58290,11 @@ func awsEc2query_serializeOpDocumentRunInstancesInput(v *RunInstancesInput, valu } } + if v.DisableApiStop != nil { + objectKey := object.Key("DisableApiStop") + objectKey.Boolean(*v.DisableApiStop) + } + if v.DisableApiTermination != nil { objectKey := object.Key("DisableApiTermination") objectKey.Boolean(*v.DisableApiTermination) diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index 49e8a73f0a4..45363a1e18c 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -2298,6 +2298,7 @@ const ( InstanceAttributeNameSriovNetSupport InstanceAttributeName = "sriovNetSupport" InstanceAttributeNameEnaSupport InstanceAttributeName = "enaSupport" InstanceAttributeNameEnclaveOptions InstanceAttributeName = "enclaveOptions" + InstanceAttributeNameDisableApiStop InstanceAttributeName = "disableApiStop" ) // Values returns all known values for InstanceAttributeName. Note that this can be @@ -2320,6 +2321,7 @@ func (InstanceAttributeName) Values() []InstanceAttributeName { "sriovNetSupport", "enaSupport", "enclaveOptions", + "disableApiStop", } } @@ -3110,6 +3112,17 @@ const ( InstanceTypeI4i8xlarge InstanceType = "i4i.8xlarge" InstanceTypeI4i16xlarge InstanceType = "i4i.16xlarge" InstanceTypeI4i32xlarge InstanceType = "i4i.32xlarge" + InstanceTypeI4iMetal InstanceType = "i4i.metal" + InstanceTypeX2idnMetal InstanceType = "x2idn.metal" + InstanceTypeX2iednMetal InstanceType = "x2iedn.metal" + InstanceTypeC7gMedium InstanceType = "c7g.medium" + InstanceTypeC7gLarge InstanceType = "c7g.large" + InstanceTypeC7gXlarge InstanceType = "c7g.xlarge" + InstanceTypeC7g2xlarge InstanceType = "c7g.2xlarge" + InstanceTypeC7g4xlarge InstanceType = "c7g.4xlarge" + InstanceTypeC7g8xlarge InstanceType = "c7g.8xlarge" + InstanceTypeC7g12xlarge InstanceType = "c7g.12xlarge" + InstanceTypeC7g16xlarge InstanceType = "c7g.16xlarge" ) // Values returns all known values for InstanceType. Note that this can be expanded @@ -3631,6 +3644,17 @@ func (InstanceType) Values() []InstanceType { "i4i.8xlarge", "i4i.16xlarge", "i4i.32xlarge", + "i4i.metal", + "x2idn.metal", + "x2iedn.metal", + "c7g.medium", + "c7g.large", + "c7g.xlarge", + "c7g.2xlarge", + "c7g.4xlarge", + "c7g.8xlarge", + "c7g.12xlarge", + "c7g.16xlarge", } } diff --git a/service/ec2/types/types.go b/service/ec2/types/types.go index 5b422c379a2..4fa8dc7cacc 100644 --- a/service/ec2/types/types.go +++ b/service/ec2/types/types.go @@ -7677,7 +7677,7 @@ type LaunchTemplateEnclaveOptions struct { } // Indicates whether the instance is enabled for Amazon Web Services Nitro -// Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? +// Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? // (https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) in the // Amazon Web Services Nitro Enclaves User Guide. type LaunchTemplateEnclaveOptionsRequest struct { @@ -7701,7 +7701,7 @@ type LaunchTemplateHibernationOptions struct { // Indicates whether the instance is configured for hibernation. This parameter is // valid only if the instance meets the hibernation prerequisites -// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). +// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). type LaunchTemplateHibernationOptionsRequest struct { // If you set this parameter to true, the instance is enabled for hibernation. @@ -10639,6 +10639,11 @@ type RequestLaunchTemplateData struct { // instances only. CreditSpecification *CreditSpecificationRequest + // Indicates whether to enable the instance for stop protection. For more + // information, see Stop Protection + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + DisableApiStop *bool + // If you set this parameter to true, you can't terminate the instance using the // Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute // after launch, use ModifyInstanceAttribute @@ -10669,7 +10674,7 @@ type RequestLaunchTemplateData struct { // Indicates whether an instance is enabled for hibernation. This parameter is // valid only if the instance meets the hibernation prerequisites - // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). // For more information, see Hibernate your instance // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the // Amazon Elastic Compute Cloud User Guide. @@ -10694,14 +10699,14 @@ type RequestLaunchTemplateData struct { // InstanceRequirements, you can't specify InstanceTypes. InstanceRequirements *InstanceRequirementsRequest - // The instance type. For more information, see Instance Types + // The instance type. For more information, see Instance types // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the // Amazon Elastic Compute Cloud User Guide. If you specify InstanceTypes, you can't // specify InstanceRequirements. InstanceType InstanceType // The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and - // RAM disks. For more information, see User Provided Kernels + // RAM disks. For more information, see User provided kernels // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // in the Amazon Elastic Compute Cloud User Guide. KernelId *string @@ -10741,7 +10746,7 @@ type RequestLaunchTemplateData struct { PrivateDnsNameOptions *LaunchTemplatePrivateDnsNameOptionsRequest // The ID of the RAM disk. We recommend that you use PV-GRUB instead of kernels and - // RAM disks. For more information, see User Provided Kernels + // RAM disks. For more information, see User provided kernels // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) // in the Amazon Elastic Compute Cloud User Guide. RamDiskId *string @@ -10766,13 +10771,14 @@ type RequestLaunchTemplateData struct { TagSpecifications []LaunchTemplateTagSpecificationRequest // The user data to make available to the instance. You must provide base64-encoded - // text. User data is limited to 16 KB. For more information, see Running Commands - // on Your Linux Instance at Launch + // text. User data is limited to 16 KB. For more information, see Run commands on + // your Linux instance at launch // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) (Linux) or - // Adding User Data - // (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data) - // (Windows). If you are creating the launch template for use with Batch, the user - // data must be provided in the MIME multi-part archive format + // Work with instance user data + // (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instancedata-add-user-data.html) + // (Windows) in the Amazon Elastic Compute Cloud User Guide. If you are creating + // the launch template for use with Batch, the user data must be provided in the + // MIME multi-part archive format // (https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive). // For more information, see Amazon EC2 user data in launch templates // (https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) in @@ -11259,6 +11265,11 @@ type ResponseLaunchTemplateData struct { // The credit option for CPU usage of the instance. CreditSpecification *CreditSpecification + // Indicates whether the instance is enabled for stop protection. For more + // information, see Stop Protection + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + DisableApiStop *bool + // If set to true, indicates that the instance cannot be terminated using the // Amazon EC2 console, command line tool, or API. DisableApiTermination *bool @@ -14997,13 +15008,13 @@ type UserIdGroupPair struct { type ValidationError struct { // The error code that indicates why the parameter or parameter combination is not - // valid. For more information about error codes, see Error Codes - // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). + // valid. For more information about error codes, see Error codes + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). Code *string // The error message that describes why the parameter or parameter combination is - // not valid. For more information about error messages, see Error Codes - // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html). + // not valid. For more information about error messages, see Error codes + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). Message *string noSmithyDocumentSerde diff --git a/service/ec2instanceconnect/CHANGELOG.md b/service/ec2instanceconnect/CHANGELOG.md index 8aab1564d38..bfb8b2c0128 100644 --- a/service/ec2instanceconnect/CHANGELOG.md +++ b/service/ec2instanceconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ec2instanceconnect/go.mod b/service/ec2instanceconnect/go.mod index 948d7eca45d..457ce4f7826 100644 --- a/service/ec2instanceconnect/go.mod +++ b/service/ec2instanceconnect/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ec2instanceconnect go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ec2instanceconnect/go.sum b/service/ec2instanceconnect/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ec2instanceconnect/go.sum +++ b/service/ec2instanceconnect/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ec2instanceconnect/go_module_metadata.go b/service/ec2instanceconnect/go_module_metadata.go index e4ec2e516ff..efa390fff41 100644 --- a/service/ec2instanceconnect/go_module_metadata.go +++ b/service/ec2instanceconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package ec2instanceconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/ecr/CHANGELOG.md b/service/ecr/CHANGELOG.md index 39cc79d8b93..e7965999ab3 100644 --- a/service/ecr/CHANGELOG.md +++ b/service/ecr/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ecr/go.mod b/service/ecr/go.mod index a890bab205f..c5ddd52bf8c 100644 --- a/service/ecr/go.mod +++ b/service/ecr/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ecr go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ecr/go.sum b/service/ecr/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/ecr/go.sum +++ b/service/ecr/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/ecr/go_module_metadata.go b/service/ecr/go_module_metadata.go index 960fea944ff..6dd05030db0 100644 --- a/service/ecr/go_module_metadata.go +++ b/service/ecr/go_module_metadata.go @@ -3,4 +3,4 @@ package ecr // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.5" +const goModuleVersion = "1.17.6" diff --git a/service/ecrpublic/CHANGELOG.md b/service/ecrpublic/CHANGELOG.md index 71bd4cdff8a..26c156062bb 100644 --- a/service/ecrpublic/CHANGELOG.md +++ b/service/ecrpublic/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ecrpublic/go.mod b/service/ecrpublic/go.mod index 4b6d6c11476..ec4f4bd43c5 100644 --- a/service/ecrpublic/go.mod +++ b/service/ecrpublic/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ecrpublic go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ecrpublic/go.sum b/service/ecrpublic/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ecrpublic/go.sum +++ b/service/ecrpublic/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ecrpublic/go_module_metadata.go b/service/ecrpublic/go_module_metadata.go index 729e23d1d9a..3c492be3429 100644 --- a/service/ecrpublic/go_module_metadata.go +++ b/service/ecrpublic/go_module_metadata.go @@ -3,4 +3,4 @@ package ecrpublic // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/ecs/CHANGELOG.md b/service/ecs/CHANGELOG.md index 0c779ef207b..79da66d2946 100644 --- a/service/ecs/CHANGELOG.md +++ b/service/ecs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.8 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.7 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ecs/go.mod b/service/ecs/go.mod index f5a7ea9ad4a..0266c336728 100644 --- a/service/ecs/go.mod +++ b/service/ecs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ecs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ecs/go.sum b/service/ecs/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/ecs/go.sum +++ b/service/ecs/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/ecs/go_module_metadata.go b/service/ecs/go_module_metadata.go index c38e073d2bd..a836536c956 100644 --- a/service/ecs/go_module_metadata.go +++ b/service/ecs/go_module_metadata.go @@ -3,4 +3,4 @@ package ecs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.7" +const goModuleVersion = "1.18.8" diff --git a/service/efs/CHANGELOG.md b/service/efs/CHANGELOG.md index d36e0efb7a7..61b9fce80be 100644 --- a/service/efs/CHANGELOG.md +++ b/service/efs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.4 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/efs/go.mod b/service/efs/go.mod index 8887e14bae2..594a314b77f 100644 --- a/service/efs/go.mod +++ b/service/efs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/efs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/efs/go.sum b/service/efs/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/efs/go.sum +++ b/service/efs/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/efs/go_module_metadata.go b/service/efs/go_module_metadata.go index b312af37d3c..cd7cbb5bae2 100644 --- a/service/efs/go_module_metadata.go +++ b/service/efs/go_module_metadata.go @@ -3,4 +3,4 @@ package efs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.3" +const goModuleVersion = "1.17.4" diff --git a/service/eks/CHANGELOG.md b/service/eks/CHANGELOG.md index e7d372fa645..1abd1c7c5de 100644 --- a/service/eks/CHANGELOG.md +++ b/service/eks/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.21.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/eks/go.mod b/service/eks/go.mod index 8d0a591bdff..898d405647b 100644 --- a/service/eks/go.mod +++ b/service/eks/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/eks go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/eks/go.sum b/service/eks/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/eks/go.sum +++ b/service/eks/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/eks/go_module_metadata.go b/service/eks/go_module_metadata.go index e96e89617f9..b02bc7e596d 100644 --- a/service/eks/go_module_metadata.go +++ b/service/eks/go_module_metadata.go @@ -3,4 +3,4 @@ package eks // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.1" +const goModuleVersion = "1.21.2" diff --git a/service/elasticache/CHANGELOG.md b/service/elasticache/CHANGELOG.md index ccfed2317cd..84e4ef1abd8 100644 --- a/service/elasticache/CHANGELOG.md +++ b/service/elasticache/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.21.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.21.0 (2022-05-23) + +* **Feature**: Added support for encryption in transit for Memcached clusters. Customers can now launch Memcached cluster with encryption in transit enabled when using Memcached version 1.6.12 or later. + # v1.20.7 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/elasticache/api_op_CreateCacheCluster.go b/service/elasticache/api_op_CreateCacheCluster.go index 3187df4e253..9e7a72f5690 100644 --- a/service/elasticache/api_op_CreateCacheCluster.go +++ b/service/elasticache/api_op_CreateCacheCluster.go @@ -98,54 +98,49 @@ type CreateCacheClusterInput struct { // cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized: + // * Memory optimized: // - // * Current generation: R6g node types (available only for - // Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 - // onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g + // node types (available only for Redis engine version 5.0.6 onward and for + // Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, + // cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, + // cache.r6g.16xlarge For region availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // The name of the parameter group to associate with this cluster. If this argument @@ -276,6 +271,13 @@ type CreateCacheClusterInput struct { // A list of tags to be added to this resource. Tags []types.Tag + // A flag that enables in-transit encryption when set to true. You cannot modify + // the value of TransitEncryptionEnabled after the cluster is created. To enable + // in-transit encryption on a cluster you must set TransitEncryptionEnabled to true + // when you create a cluster. Required: Only available when creating a cache + // cluster in an Amazon VPC using Memcached version 1.6.12 or later. + TransitEncryptionEnabled *bool + noSmithyDocumentSerde } diff --git a/service/elasticache/api_op_CreateReplicationGroup.go b/service/elasticache/api_op_CreateReplicationGroup.go index bfa1efc32b9..c22d9545865 100644 --- a/service/elasticache/api_op_CreateReplicationGroup.go +++ b/service/elasticache/api_op_CreateReplicationGroup.go @@ -142,61 +142,57 @@ type CreateReplicationGroupInput struct { // cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized with data tiering: + // * Memory optimized with data tiering: // - // * Current generation: R6gd node types - // (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, - // cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, - // cache.r6gd.16xlarge + // * Current + // generation: R6gd node types (available only for Redis engine version 6.2 + // onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, + // cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // - // * Memory optimized: + // * Memory + // optimized: // - // * Current generation: R6g node types - // (available only for Redis engine version 5.0.6 onward and for Memcached engine - // version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g node types (available only for Redis + // engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). + // cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, + // cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region + // availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // The name of the parameter group to associate with this replication group. If diff --git a/service/elasticache/api_op_DescribeReservedCacheNodes.go b/service/elasticache/api_op_DescribeReservedCacheNodes.go index c5855b8f3ae..d91ae077c8d 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodes.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodes.go @@ -56,61 +56,57 @@ type DescribeReservedCacheNodesInput struct { // cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized with data tiering: + // * Memory optimized with data tiering: // - // * Current generation: R6gd node types - // (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, - // cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, - // cache.r6gd.16xlarge + // * Current + // generation: R6gd node types (available only for Redis engine version 6.2 + // onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, + // cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // - // * Memory optimized: + // * Memory + // optimized: // - // * Current generation: R6g node types - // (available only for Redis engine version 5.0.6 onward and for Memcached engine - // version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g node types (available only for Redis + // engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). + // cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, + // cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region + // availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // The duration filter value, specified in years or seconds. Use this parameter to diff --git a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go index cccf7345cd1..958dbe0d442 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go @@ -55,61 +55,57 @@ type DescribeReservedCacheNodesOfferingsInput struct { // cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized with data tiering: + // * Memory optimized with data tiering: // - // * Current generation: R6gd node types - // (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, - // cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, - // cache.r6gd.16xlarge + // * Current + // generation: R6gd node types (available only for Redis engine version 6.2 + // onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, + // cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // - // * Memory optimized: + // * Memory + // optimized: // - // * Current generation: R6g node types - // (available only for Redis engine version 5.0.6 onward and for Memcached engine - // version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g node types (available only for Redis + // engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). + // cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, + // cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region + // availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // Duration filter value, specified in years or seconds. Use this parameter to show diff --git a/service/elasticache/go.mod b/service/elasticache/go.mod index c29154a3d27..97cf58fb699 100644 --- a/service/elasticache/go.mod +++ b/service/elasticache/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/elasticache go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticache/go.sum b/service/elasticache/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/elasticache/go.sum +++ b/service/elasticache/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/elasticache/go_module_metadata.go b/service/elasticache/go_module_metadata.go index 42a37e7ec42..8103493e87e 100644 --- a/service/elasticache/go_module_metadata.go +++ b/service/elasticache/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticache // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.7" +const goModuleVersion = "1.21.1" diff --git a/service/elasticache/serializers.go b/service/elasticache/serializers.go index 95ba9e6e09c..6f378b6c13e 100644 --- a/service/elasticache/serializers.go +++ b/service/elasticache/serializers.go @@ -5192,6 +5192,11 @@ func awsAwsquery_serializeOpDocumentCreateCacheClusterInput(v *CreateCacheCluste } } + if v.TransitEncryptionEnabled != nil { + objectKey := object.Key("TransitEncryptionEnabled") + objectKey.Boolean(*v.TransitEncryptionEnabled) + } + return nil } diff --git a/service/elasticache/types/types.go b/service/elasticache/types/types.go index 561b8d3dcae..85668393f16 100644 --- a/service/elasticache/types/types.go +++ b/service/elasticache/types/types.go @@ -88,61 +88,57 @@ type CacheCluster struct { // cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized with data tiering: + // * Memory optimized with data tiering: // - // * Current generation: R6gd node types - // (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, - // cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, - // cache.r6gd.16xlarge + // * Current + // generation: R6gd node types (available only for Redis engine version 6.2 + // onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, + // cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // - // * Memory optimized: + // * Memory + // optimized: // - // * Current generation: R6g node types - // (available only for Redis engine version 5.0.6 onward and for Memcached engine - // version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g node types (available only for Redis + // engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). + // cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, + // cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region + // availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // A list of cache nodes that are members of the cluster. @@ -297,61 +293,57 @@ type CacheEngineVersion struct { // cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // -// * Previous generation: (not recommended. Existing clusters are -// still supported but creation of new clusters is not supported for these types.) -// T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, -// cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, -// cache.m3.xlarge, cache.m3.2xlarge +// * Previous generation: (not recommended) T1 node types: +// cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, +// cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, +// cache.m3.2xlarge // // * Compute optimized: // -// * Previous generation: -// (not recommended. Existing clusters are still supported but creation of new -// clusters is not supported for these types.) C1 node types: cache.c1.xlarge +// * Previous generation: (not recommended) +// C1 node types: cache.c1.xlarge // -// * -// Memory optimized with data tiering: +// * Memory optimized with data tiering: // -// * Current generation: R6gd node types -// (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, -// cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, -// cache.r6gd.16xlarge +// * Current +// generation: R6gd node types (available only for Redis engine version 6.2 +// onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, +// cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // -// * Memory optimized: +// * Memory +// optimized: // -// * Current generation: R6g node types -// (available only for Redis engine version 5.0.6 onward and for Memcached engine -// version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, -// cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For -// region availability, see Supported Node Types +// * Current generation: R6g node types (available only for Redis +// engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). +// cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, +// cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region +// availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // -// * Previous generation: (not recommended. -// Existing clusters are still supported but creation of new clusters is not -// supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, -// cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, -// cache.r3.2xlarge, +// * Previous generation: (not recommended) M2 +// node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: +// cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // -// cache.r3.4xlarge, cache.r3.8xlarge +// cache.r3.4xlarge, +// cache.r3.8xlarge // -// Additional node type -// info +// Additional node type info // -// * All current generation instance types are created in Amazon VPC by -// default. +// * All current generation instance +// types are created in Amazon VPC by default. // -// * Redis append-only files (AOF) are not supported for T1 or T2 -// instances. +// * Redis append-only files (AOF) are +// not supported for T1 or T2 instances. // -// * Redis Multi-AZ with automatic failover is not supported on T1 -// instances. +// * Redis Multi-AZ with automatic failover +// is not supported on T1 instances. // -// * Redis configuration variables appendonly and appendfsync are not -// supported on Redis version 2.8.22 and later. +// * Redis configuration variables appendonly +// and appendfsync are not supported on Redis version 2.8.22 and later. type CacheNode struct { // The date and time when the cache node was created. @@ -1416,61 +1408,57 @@ type ReservedCacheNode struct { // cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized with data tiering: + // * Memory optimized with data tiering: // - // * Current generation: R6gd node types - // (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, - // cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, - // cache.r6gd.16xlarge + // * Current + // generation: R6gd node types (available only for Redis engine version 6.2 + // onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, + // cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // - // * Memory optimized: + // * Memory + // optimized: // - // * Current generation: R6g node types - // (available only for Redis engine version 5.0.6 onward and for Memcached engine - // version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g node types (available only for Redis + // engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). + // cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, + // cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region + // availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // The duration of the reservation in seconds. @@ -1536,61 +1524,57 @@ type ReservedCacheNodesOffering struct { // cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized with data tiering: + // * Memory optimized with data tiering: // - // * Current generation: R6gd node types - // (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, - // cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, - // cache.r6gd.16xlarge + // * Current + // generation: R6gd node types (available only for Redis engine version 6.2 + // onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, + // cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // - // * Memory optimized: + // * Memory + // optimized: // - // * Current generation: R6g node types - // (available only for Redis engine version 5.0.6 onward and for Memcached engine - // version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g node types (available only for Redis + // engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). + // cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, + // cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region + // availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, // cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // The duration of the offering. in seconds. @@ -1754,33 +1738,31 @@ type Snapshot struct { // cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, // cache.t2.medium // - // * Previous generation: (not recommended. Existing clusters are - // still supported but creation of new clusters is not supported for these types.) - // T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, - // cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, - // cache.m3.xlarge, cache.m3.2xlarge + // * Previous generation: (not recommended) T1 node types: + // cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, + // cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, + // cache.m3.2xlarge // // * Compute optimized: // - // * Previous generation: - // (not recommended. Existing clusters are still supported but creation of new - // clusters is not supported for these types.) C1 node types: cache.c1.xlarge + // * Previous generation: (not recommended) + // C1 node types: cache.c1.xlarge // - // * - // Memory optimized with data tiering: + // * Memory optimized with data tiering: // - // * Current generation: R6gd node types - // (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, - // cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, - // cache.r6gd.16xlarge + // * Current + // generation: R6gd node types (available only for Redis engine version 6.2 + // onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, + // cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge // - // * Memory optimized: + // * Memory + // optimized: // - // * Current generation: R6g node types - // (available only for Redis engine version 5.0.6 onward and for Memcached engine - // version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, - // cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For - // region availability, see Supported Node Types + // * Current generation: R6g node types (available only for Redis + // engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). + // cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, + // cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region + // availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) // For region availability, see Supported Node Types // (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) @@ -1789,28 +1771,26 @@ type Snapshot struct { // cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, // cache.r4.8xlarge, cache.r4.16xlarge // - // * Previous generation: (not recommended. - // Existing clusters are still supported but creation of new clusters is not - // supported for these types.) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, - // cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, - // cache.r3.2xlarge, + // * Previous generation: (not recommended) M2 + // node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: + // cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, // - // cache.r3.4xlarge, cache.r3.8xlarge + // cache.r3.4xlarge, + // cache.r3.8xlarge // - // Additional node type - // info + // Additional node type info // - // * All current generation instance types are created in Amazon VPC by - // default. + // * All current generation instance + // types are created in Amazon VPC by default. // - // * Redis append-only files (AOF) are not supported for T1 or T2 - // instances. + // * Redis append-only files (AOF) are + // not supported for T1 or T2 instances. // - // * Redis Multi-AZ with automatic failover is not supported on T1 - // instances. + // * Redis Multi-AZ with automatic failover + // is not supported on T1 instances. // - // * Redis configuration variables appendonly and appendfsync are not - // supported on Redis version 2.8.22 and later. + // * Redis configuration variables appendonly + // and appendfsync are not supported on Redis version 2.8.22 and later. CacheNodeType *string // The cache parameter group that is associated with the source cluster. diff --git a/service/elasticbeanstalk/CHANGELOG.md b/service/elasticbeanstalk/CHANGELOG.md index cc0eb74d5fb..c72313461b0 100644 --- a/service/elasticbeanstalk/CHANGELOG.md +++ b/service/elasticbeanstalk/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/elasticbeanstalk/go.mod b/service/elasticbeanstalk/go.mod index e07722f4f98..08ffc06085b 100644 --- a/service/elasticbeanstalk/go.mod +++ b/service/elasticbeanstalk/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticbeanstalk/go.sum b/service/elasticbeanstalk/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/elasticbeanstalk/go.sum +++ b/service/elasticbeanstalk/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/elasticbeanstalk/go_module_metadata.go b/service/elasticbeanstalk/go_module_metadata.go index d3ea962121d..0720cb407b9 100644 --- a/service/elasticbeanstalk/go_module_metadata.go +++ b/service/elasticbeanstalk/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticbeanstalk // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/elasticinference/CHANGELOG.md b/service/elasticinference/CHANGELOG.md index d1b4269529a..a0abac976a7 100644 --- a/service/elasticinference/CHANGELOG.md +++ b/service/elasticinference/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/elasticinference/go.mod b/service/elasticinference/go.mod index 44c500ccaf4..97cb112791d 100644 --- a/service/elasticinference/go.mod +++ b/service/elasticinference/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/elasticinference go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/elasticinference/go.sum b/service/elasticinference/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/elasticinference/go.sum +++ b/service/elasticinference/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/elasticinference/go_module_metadata.go b/service/elasticinference/go_module_metadata.go index b6c88db7c72..79696000411 100644 --- a/service/elasticinference/go_module_metadata.go +++ b/service/elasticinference/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticinference // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/elasticloadbalancing/CHANGELOG.md b/service/elasticloadbalancing/CHANGELOG.md index 6c68cb55ec6..e5d0f225551 100644 --- a/service/elasticloadbalancing/CHANGELOG.md +++ b/service/elasticloadbalancing/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/elasticloadbalancing/go.mod b/service/elasticloadbalancing/go.mod index 4e05df079ab..5a11a1ae36d 100644 --- a/service/elasticloadbalancing/go.mod +++ b/service/elasticloadbalancing/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticloadbalancing/go.sum b/service/elasticloadbalancing/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/elasticloadbalancing/go.sum +++ b/service/elasticloadbalancing/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/elasticloadbalancing/go_module_metadata.go b/service/elasticloadbalancing/go_module_metadata.go index 2a17674943f..10a4fcd55f5 100644 --- a/service/elasticloadbalancing/go_module_metadata.go +++ b/service/elasticloadbalancing/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticloadbalancing // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/elasticloadbalancingv2/CHANGELOG.md b/service/elasticloadbalancingv2/CHANGELOG.md index d2ff9b74ad3..66bdb5693d4 100644 --- a/service/elasticloadbalancingv2/CHANGELOG.md +++ b/service/elasticloadbalancingv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/elasticloadbalancingv2/go.mod b/service/elasticloadbalancingv2/go.mod index 3605a8a3d8a..04006708783 100644 --- a/service/elasticloadbalancingv2/go.mod +++ b/service/elasticloadbalancingv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticloadbalancingv2/go.sum b/service/elasticloadbalancingv2/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/elasticloadbalancingv2/go.sum +++ b/service/elasticloadbalancingv2/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/elasticloadbalancingv2/go_module_metadata.go b/service/elasticloadbalancingv2/go_module_metadata.go index d668244fa1d..3167f4d2e5a 100644 --- a/service/elasticloadbalancingv2/go_module_metadata.go +++ b/service/elasticloadbalancingv2/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticloadbalancingv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.5" +const goModuleVersion = "1.18.6" diff --git a/service/elasticsearchservice/CHANGELOG.md b/service/elasticsearchservice/CHANGELOG.md index e426a03eab0..89faf963c88 100644 --- a/service/elasticsearchservice/CHANGELOG.md +++ b/service/elasticsearchservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/elasticsearchservice/go.mod b/service/elasticsearchservice/go.mod index 04a1824e160..a6fde1ff871 100644 --- a/service/elasticsearchservice/go.mod +++ b/service/elasticsearchservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/elasticsearchservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/elasticsearchservice/go.sum b/service/elasticsearchservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/elasticsearchservice/go.sum +++ b/service/elasticsearchservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/elasticsearchservice/go_module_metadata.go b/service/elasticsearchservice/go_module_metadata.go index 0486dff40ad..a5a8d81e91d 100644 --- a/service/elasticsearchservice/go_module_metadata.go +++ b/service/elasticsearchservice/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticsearchservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/elastictranscoder/CHANGELOG.md b/service/elastictranscoder/CHANGELOG.md index 021d5107d70..ffc83b714c3 100644 --- a/service/elastictranscoder/CHANGELOG.md +++ b/service/elastictranscoder/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/elastictranscoder/go.mod b/service/elastictranscoder/go.mod index 72fda68a36d..7f06ec58c9a 100644 --- a/service/elastictranscoder/go.mod +++ b/service/elastictranscoder/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/elastictranscoder go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elastictranscoder/go.sum b/service/elastictranscoder/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/elastictranscoder/go.sum +++ b/service/elastictranscoder/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/elastictranscoder/go_module_metadata.go b/service/elastictranscoder/go_module_metadata.go index 90360b28306..424e624e4c1 100644 --- a/service/elastictranscoder/go_module_metadata.go +++ b/service/elastictranscoder/go_module_metadata.go @@ -3,4 +3,4 @@ package elastictranscoder // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/emr/CHANGELOG.md b/service/emr/CHANGELOG.md index 1d090d7b130..ae75d6e089a 100644 --- a/service/emr/CHANGELOG.md +++ b/service/emr/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/emr/go.mod b/service/emr/go.mod index 849e86b2a89..f1df89acb9d 100644 --- a/service/emr/go.mod +++ b/service/emr/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/emr go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/emr/go.sum b/service/emr/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/emr/go.sum +++ b/service/emr/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/emr/go_module_metadata.go b/service/emr/go_module_metadata.go index 46e42096015..a60eaf80e55 100644 --- a/service/emr/go_module_metadata.go +++ b/service/emr/go_module_metadata.go @@ -3,4 +3,4 @@ package emr // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.1" +const goModuleVersion = "1.18.2" diff --git a/service/emrcontainers/CHANGELOG.md b/service/emrcontainers/CHANGELOG.md index 258077c92c5..a43c3035ab6 100644 --- a/service/emrcontainers/CHANGELOG.md +++ b/service/emrcontainers/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/emrcontainers/go.mod b/service/emrcontainers/go.mod index 706fcda96fb..cfc4b983c71 100644 --- a/service/emrcontainers/go.mod +++ b/service/emrcontainers/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/emrcontainers go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/emrcontainers/go.sum b/service/emrcontainers/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/emrcontainers/go.sum +++ b/service/emrcontainers/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/emrcontainers/go_module_metadata.go b/service/emrcontainers/go_module_metadata.go index 8895e0103a3..0011c06a835 100644 --- a/service/emrcontainers/go_module_metadata.go +++ b/service/emrcontainers/go_module_metadata.go @@ -3,4 +3,4 @@ package emrcontainers // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/emrserverless/CHANGELOG.md b/service/emrserverless/CHANGELOG.md new file mode 100644 index 00000000000..dff03e5dc06 --- /dev/null +++ b/service/emrserverless/CHANGELOG.md @@ -0,0 +1,13 @@ +# v1.1.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.1.0 (2022-05-27) + +* **Feature**: This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. + +# v1.0.0 (2022-05-26) + +* **Release**: New AWS service client module +* **Feature**: This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. + diff --git a/service/emrserverless/LICENSE.txt b/service/emrserverless/LICENSE.txt new file mode 100644 index 00000000000..d6456956733 --- /dev/null +++ b/service/emrserverless/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/service/emrserverless/api_client.go b/service/emrserverless/api_client.go new file mode 100644 index 00000000000..5f93d9fe2c9 --- /dev/null +++ b/service/emrserverless/api_client.go @@ -0,0 +1,453 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + cryptorand "crypto/rand" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/aws/defaults" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/retry" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + awshttp "github.com/aws/aws-sdk-go-v2/aws/transport/http" + internalConfig "github.com/aws/aws-sdk-go-v2/internal/configsources" + smithy "github.com/aws/smithy-go" + smithydocument "github.com/aws/smithy-go/document" + "github.com/aws/smithy-go/logging" + "github.com/aws/smithy-go/middleware" + smithyrand "github.com/aws/smithy-go/rand" + smithyhttp "github.com/aws/smithy-go/transport/http" + "net" + "net/http" + "time" +) + +const ServiceID = "EMR Serverless" +const ServiceAPIVersion = "2021-07-13" + +// Client provides the API client to make operations call for EMR Serverless. +type Client struct { + options Options +} + +// New returns an initialized Client based on the functional options. Provide +// additional functional options to further configure the behavior of the client, +// such as changing the client's endpoint or adding custom middleware behavior. +func New(options Options, optFns ...func(*Options)) *Client { + options = options.Copy() + + resolveDefaultLogger(&options) + + setResolvedDefaultsMode(&options) + + resolveRetryer(&options) + + resolveHTTPClient(&options) + + resolveHTTPSignerV4(&options) + + resolveDefaultEndpointConfiguration(&options) + + resolveIdempotencyTokenProvider(&options) + + for _, fn := range optFns { + fn(&options) + } + + client := &Client{ + options: options, + } + + return client +} + +type Options struct { + // Set of options to modify how an operation is invoked. These apply to all + // operations invoked for this client. Use functional options on operation call to + // modify this list for per operation behavior. + APIOptions []func(*middleware.Stack) error + + // Configures the events that will be sent to the configured logger. + ClientLogMode aws.ClientLogMode + + // The credentials object to use when signing requests. + Credentials aws.CredentialsProvider + + // The configuration DefaultsMode that the SDK should use when constructing the + // clients initial default settings. + DefaultsMode aws.DefaultsMode + + // The endpoint options to be used when attempting to resolve an endpoint. + EndpointOptions EndpointResolverOptions + + // The service endpoint resolver. + EndpointResolver EndpointResolver + + // Signature Version 4 (SigV4) Signer + HTTPSignerV4 HTTPSignerV4 + + // Provides idempotency tokens values that will be automatically populated into + // idempotent API operations. + IdempotencyTokenProvider IdempotencyTokenProvider + + // The logger writer interface to write logging messages to. + Logger logging.Logger + + // The region to send requests to. (Required) + Region string + + // RetryMaxAttempts specifies the maximum number attempts an API client will call + // an operation that fails with a retryable error. A value of 0 is ignored, and + // will not be used to configure the API client created default retryer, or modify + // per operation call's retry max attempts. When creating a new API Clients this + // member will only be used if the Retryer Options member is nil. This value will + // be ignored if Retryer is not nil. If specified in an operation call's functional + // options with a value that is different than the constructed client's Options, + // the Client's Retryer will be wrapped to use the operation's specific + // RetryMaxAttempts value. + RetryMaxAttempts int + + // RetryMode specifies the retry mode the API client will be created with, if + // Retryer option is not also specified. When creating a new API Clients this + // member will only be used if the Retryer Options member is nil. This value will + // be ignored if Retryer is not nil. Currently does not support per operation call + // overrides, may in the future. + RetryMode aws.RetryMode + + // Retryer guides how HTTP requests should be retried in case of recoverable + // failures. When nil the API client will use a default retryer. The kind of + // default retry created by the API client can be changed with the RetryMode + // option. + Retryer aws.Retryer + + // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set + // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig. You + // should not populate this structure programmatically, or rely on the values here + // within your applications. + RuntimeEnvironment aws.RuntimeEnvironment + + // The initial DefaultsMode used when the client options were constructed. If the + // DefaultsMode was set to aws.DefaultsModeAuto this will store what the resolved + // value was at that point in time. Currently does not support per operation call + // overrides, may in the future. + resolvedDefaultsMode aws.DefaultsMode + + // The HTTP client to invoke API calls with. Defaults to client's default HTTP + // implementation if nil. + HTTPClient HTTPClient +} + +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + +// WithEndpointResolver returns a functional option for setting the Client's +// EndpointResolver option. +func WithEndpointResolver(v EndpointResolver) func(*Options) { + return func(o *Options) { + o.EndpointResolver = v + } +} + +type HTTPClient interface { + Do(*http.Request) (*http.Response, error) +} + +// Copy creates a clone where the APIOptions list is deep copied. +func (o Options) Copy() Options { + to := o + to.APIOptions = make([]func(*middleware.Stack) error, len(o.APIOptions)) + copy(to.APIOptions, o.APIOptions) + + return to +} +func (c *Client) invokeOperation(ctx context.Context, opID string, params interface{}, optFns []func(*Options), stackFns ...func(*middleware.Stack, Options) error) (result interface{}, metadata middleware.Metadata, err error) { + ctx = middleware.ClearStackValues(ctx) + stack := middleware.NewStack(opID, smithyhttp.NewStackRequest) + options := c.options.Copy() + for _, fn := range optFns { + fn(&options) + } + + finalizeRetryMaxAttemptOptions(&options, *c) + + finalizeClientEndpointResolverOptions(&options) + + for _, fn := range stackFns { + if err := fn(stack, options); err != nil { + return nil, metadata, err + } + } + + for _, fn := range options.APIOptions { + if err := fn(stack); err != nil { + return nil, metadata, err + } + } + + handler := middleware.DecorateHandler(smithyhttp.NewClientHandler(options.HTTPClient), stack) + result, metadata, err = handler.Handle(ctx, params) + if err != nil { + err = &smithy.OperationError{ + ServiceID: ServiceID, + OperationName: opID, + Err: err, + } + } + return result, metadata, err +} + +type noSmithyDocumentSerde = smithydocument.NoSerde + +func resolveDefaultLogger(o *Options) { + if o.Logger != nil { + return + } + o.Logger = logging.Nop{} +} + +func addSetLoggerMiddleware(stack *middleware.Stack, o Options) error { + return middleware.AddSetLoggerMiddleware(stack, o.Logger) +} + +func setResolvedDefaultsMode(o *Options) { + if len(o.resolvedDefaultsMode) > 0 { + return + } + + var mode aws.DefaultsMode + mode.SetFromString(string(o.DefaultsMode)) + + if mode == aws.DefaultsModeAuto { + mode = defaults.ResolveDefaultsModeAuto(o.Region, o.RuntimeEnvironment) + } + + o.resolvedDefaultsMode = mode +} + +// NewFromConfig returns a new client from the provided config. +func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client { + opts := Options{ + Region: cfg.Region, + DefaultsMode: cfg.DefaultsMode, + RuntimeEnvironment: cfg.RuntimeEnvironment, + HTTPClient: cfg.HTTPClient, + Credentials: cfg.Credentials, + APIOptions: cfg.APIOptions, + Logger: cfg.Logger, + ClientLogMode: cfg.ClientLogMode, + } + resolveAWSRetryerProvider(cfg, &opts) + resolveAWSRetryMaxAttempts(cfg, &opts) + resolveAWSRetryMode(cfg, &opts) + resolveAWSEndpointResolver(cfg, &opts) + resolveUseDualStackEndpoint(cfg, &opts) + resolveUseFIPSEndpoint(cfg, &opts) + return New(opts, optFns...) +} + +func resolveHTTPClient(o *Options) { + var buildable *awshttp.BuildableClient + + if o.HTTPClient != nil { + var ok bool + buildable, ok = o.HTTPClient.(*awshttp.BuildableClient) + if !ok { + return + } + } else { + buildable = awshttp.NewBuildableClient() + } + + modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) + if err == nil { + buildable = buildable.WithDialerOptions(func(dialer *net.Dialer) { + if dialerTimeout, ok := modeConfig.GetConnectTimeout(); ok { + dialer.Timeout = dialerTimeout + } + }) + + buildable = buildable.WithTransportOptions(func(transport *http.Transport) { + if tlsHandshakeTimeout, ok := modeConfig.GetTLSNegotiationTimeout(); ok { + transport.TLSHandshakeTimeout = tlsHandshakeTimeout + } + }) + } + + o.HTTPClient = buildable +} + +func resolveRetryer(o *Options) { + if o.Retryer != nil { + return + } + + if len(o.RetryMode) == 0 { + modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) + if err == nil { + o.RetryMode = modeConfig.RetryMode + } + } + if len(o.RetryMode) == 0 { + o.RetryMode = aws.RetryModeStandard + } + + var standardOptions []func(*retry.StandardOptions) + if v := o.RetryMaxAttempts; v != 0 { + standardOptions = append(standardOptions, func(so *retry.StandardOptions) { + so.MaxAttempts = v + }) + } + + switch o.RetryMode { + case aws.RetryModeAdaptive: + var adaptiveOptions []func(*retry.AdaptiveModeOptions) + if len(standardOptions) != 0 { + adaptiveOptions = append(adaptiveOptions, func(ao *retry.AdaptiveModeOptions) { + ao.StandardOptions = append(ao.StandardOptions, standardOptions...) + }) + } + o.Retryer = retry.NewAdaptiveMode(adaptiveOptions...) + + default: + o.Retryer = retry.NewStandard(standardOptions...) + } +} + +func resolveAWSRetryerProvider(cfg aws.Config, o *Options) { + if cfg.Retryer == nil { + return + } + o.Retryer = cfg.Retryer() +} + +func resolveAWSRetryMode(cfg aws.Config, o *Options) { + if len(cfg.RetryMode) == 0 { + return + } + o.RetryMode = cfg.RetryMode +} +func resolveAWSRetryMaxAttempts(cfg aws.Config, o *Options) { + if cfg.RetryMaxAttempts == 0 { + return + } + o.RetryMaxAttempts = cfg.RetryMaxAttempts +} + +func finalizeRetryMaxAttemptOptions(o *Options, client Client) { + if v := o.RetryMaxAttempts; v == 0 || v == client.options.RetryMaxAttempts { + return + } + + o.Retryer = retry.AddWithMaxAttempts(o.Retryer, o.RetryMaxAttempts) +} + +func resolveAWSEndpointResolver(cfg aws.Config, o *Options) { + if cfg.EndpointResolver == nil && cfg.EndpointResolverWithOptions == nil { + return + } + o.EndpointResolver = withEndpointResolver(cfg.EndpointResolver, cfg.EndpointResolverWithOptions, NewDefaultEndpointResolver()) +} + +func addClientUserAgent(stack *middleware.Stack) error { + return awsmiddleware.AddSDKAgentKeyValue(awsmiddleware.APIMetadata, "emrserverless", goModuleVersion)(stack) +} + +func addHTTPSignerV4Middleware(stack *middleware.Stack, o Options) error { + mw := v4.NewSignHTTPRequestMiddleware(v4.SignHTTPRequestMiddlewareOptions{ + CredentialsProvider: o.Credentials, + Signer: o.HTTPSignerV4, + LogSigning: o.ClientLogMode.IsSigning(), + }) + return stack.Finalize.Add(mw, middleware.After) +} + +type HTTPSignerV4 interface { + SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error +} + +func resolveHTTPSignerV4(o *Options) { + if o.HTTPSignerV4 != nil { + return + } + o.HTTPSignerV4 = newDefaultV4Signer(*o) +} + +func newDefaultV4Signer(o Options) *v4.Signer { + return v4.NewSigner(func(so *v4.SignerOptions) { + so.Logger = o.Logger + so.LogSigning = o.ClientLogMode.IsSigning() + }) +} + +func resolveIdempotencyTokenProvider(o *Options) { + if o.IdempotencyTokenProvider != nil { + return + } + o.IdempotencyTokenProvider = smithyrand.NewUUIDIdempotencyToken(cryptorand.Reader) +} + +func addRetryMiddlewares(stack *middleware.Stack, o Options) error { + mo := retry.AddRetryMiddlewaresOptions{ + Retryer: o.Retryer, + LogRetryAttempts: o.ClientLogMode.IsRetries(), + } + return retry.AddRetryMiddlewares(stack, mo) +} + +// resolves dual-stack endpoint configuration +func resolveUseDualStackEndpoint(cfg aws.Config, o *Options) error { + if len(cfg.ConfigSources) == 0 { + return nil + } + value, found, err := internalConfig.ResolveUseDualStackEndpoint(context.Background(), cfg.ConfigSources) + if err != nil { + return err + } + if found { + o.EndpointOptions.UseDualStackEndpoint = value + } + return nil +} + +// resolves FIPS endpoint configuration +func resolveUseFIPSEndpoint(cfg aws.Config, o *Options) error { + if len(cfg.ConfigSources) == 0 { + return nil + } + value, found, err := internalConfig.ResolveUseFIPSEndpoint(context.Background(), cfg.ConfigSources) + if err != nil { + return err + } + if found { + o.EndpointOptions.UseFIPSEndpoint = value + } + return nil +} + +// IdempotencyTokenProvider interface for providing idempotency token +type IdempotencyTokenProvider interface { + GetIdempotencyToken() (string, error) +} + +func addRequestIDRetrieverMiddleware(stack *middleware.Stack) error { + return awsmiddleware.AddRequestIDRetrieverMiddleware(stack) +} + +func addResponseErrorMiddleware(stack *middleware.Stack) error { + return awshttp.AddResponseErrorMiddleware(stack) +} + +func addRequestResponseLogging(stack *middleware.Stack, o Options) error { + return stack.Deserialize.Add(&smithyhttp.RequestResponseLogger{ + LogRequest: o.ClientLogMode.IsRequest(), + LogRequestWithBody: o.ClientLogMode.IsRequestWithBody(), + LogResponse: o.ClientLogMode.IsResponse(), + LogResponseWithBody: o.ClientLogMode.IsResponseWithBody(), + }, middleware.After) +} diff --git a/service/emrserverless/api_client_test.go b/service/emrserverless/api_client_test.go new file mode 100644 index 00000000000..6f04f97969e --- /dev/null +++ b/service/emrserverless/api_client_test.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "io/ioutil" + "net/http" + "strings" + "testing" +) + +func TestClient_resolveRetryOptions(t *testing.T) { + nopClient := smithyhttp.ClientDoFunc(func(_ *http.Request) (*http.Response, error) { + return &http.Response{ + StatusCode: 200, + Header: http.Header{}, + Body: ioutil.NopCloser(strings.NewReader("")), + }, nil + }) + + cases := map[string]struct { + defaultsMode aws.DefaultsMode + retryer aws.Retryer + retryMaxAttempts int + opRetryMaxAttempts *int + retryMode aws.RetryMode + expectClientRetryMode aws.RetryMode + expectClientMaxAttempts int + expectOpMaxAttempts int + }{ + "defaults": { + defaultsMode: aws.DefaultsModeStandard, + expectClientRetryMode: aws.RetryModeStandard, + expectClientMaxAttempts: 3, + expectOpMaxAttempts: 3, + }, + "custom default retry": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 10, + }, + "custom op max attempts": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + opRetryMaxAttempts: aws.Int(2), + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 2, + }, + "custom op no change max attempts": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + opRetryMaxAttempts: aws.Int(10), + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 10, + }, + "custom op 0 max attempts": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + opRetryMaxAttempts: aws.Int(0), + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 10, + }, + } + + for name, c := range cases { + t.Run(name, func(t *testing.T) { + client := NewFromConfig(aws.Config{ + DefaultsMode: c.defaultsMode, + Retryer: func() func() aws.Retryer { + if c.retryer == nil { + return nil + } + + return func() aws.Retryer { return c.retryer } + }(), + HTTPClient: nopClient, + RetryMaxAttempts: c.retryMaxAttempts, + RetryMode: c.retryMode, + }) + + if e, a := c.expectClientRetryMode, client.options.RetryMode; e != a { + t.Errorf("expect %v retry mode, got %v", e, a) + } + if e, a := c.expectClientMaxAttempts, client.options.Retryer.MaxAttempts(); e != a { + t.Errorf("expect %v max attempts, got %v", e, a) + } + + _, _, err := client.invokeOperation(context.Background(), "mockOperation", struct{}{}, + []func(*Options){ + func(o *Options) { + if c.opRetryMaxAttempts == nil { + return + } + o.RetryMaxAttempts = *c.opRetryMaxAttempts + }, + }, + func(s *middleware.Stack, o Options) error { + s.Initialize.Clear() + s.Serialize.Clear() + s.Build.Clear() + s.Finalize.Clear() + s.Deserialize.Clear() + + if e, a := c.expectOpMaxAttempts, o.Retryer.MaxAttempts(); e != a { + t.Errorf("expect %v op max attempts, got %v", e, a) + } + return nil + }) + if err != nil { + t.Fatalf("expect no operation error, got %v", err) + } + }) + } +} diff --git a/service/emrserverless/api_op_CancelJobRun.go b/service/emrserverless/api_op_CancelJobRun.go new file mode 100644 index 00000000000..8e12c3dc6ae --- /dev/null +++ b/service/emrserverless/api_op_CancelJobRun.go @@ -0,0 +1,132 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Cancels a job run. +func (c *Client) CancelJobRun(ctx context.Context, params *CancelJobRunInput, optFns ...func(*Options)) (*CancelJobRunOutput, error) { + if params == nil { + params = &CancelJobRunInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CancelJobRun", params, optFns, c.addOperationCancelJobRunMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CancelJobRunOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CancelJobRunInput struct { + + // The ID of the application on which the job run will be canceled. + // + // This member is required. + ApplicationId *string + + // The ID of the job run to cancel. + // + // This member is required. + JobRunId *string + + noSmithyDocumentSerde +} + +type CancelJobRunOutput struct { + + // The output contains the application ID on which the job run is cancelled. + // + // This member is required. + ApplicationId *string + + // The output contains the ID of the cancelled job run. + // + // This member is required. + JobRunId *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCancelJobRunMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpCancelJobRun{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpCancelJobRun{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCancelJobRunValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelJobRun(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCancelJobRun(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "CancelJobRun", + } +} diff --git a/service/emrserverless/api_op_CreateApplication.go b/service/emrserverless/api_op_CreateApplication.go new file mode 100644 index 00000000000..c4a6e4551fb --- /dev/null +++ b/service/emrserverless/api_op_CreateApplication.go @@ -0,0 +1,204 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates an application. +func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error) { + if params == nil { + params = &CreateApplicationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateApplication", params, optFns, c.addOperationCreateApplicationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateApplicationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateApplicationInput struct { + + // The client idempotency token of the application to create. Its value must be + // unique for each request. + // + // This member is required. + ClientToken *string + + // The EMR release version associated with the application. + // + // This member is required. + ReleaseLabel *string + + // The type of application you want to start, such as Spark or Hive. + // + // This member is required. + Type *string + + // The configuration for an application to automatically start on job submission. + AutoStartConfiguration *types.AutoStartConfig + + // The configuration for an application to automatically stop after a certain + // amount of time being idle. + AutoStopConfiguration *types.AutoStopConfig + + // The capacity to initialize when the application is created. + InitialCapacity map[string]types.InitialCapacityConfig + + // The maximum capacity to allocate when the application is created. This is + // cumulative across all workers at any given point in time, not just when an + // application is created. No new resources will be created once any one of the + // defined limits is hit. + MaximumCapacity *types.MaximumAllowedResources + + // The name of the application. + Name *string + + // The network configuration for customer VPC connectivity. + NetworkConfiguration *types.NetworkConfiguration + + // The tags assigned to the application. + Tags map[string]string + + noSmithyDocumentSerde +} + +type CreateApplicationOutput struct { + + // The output contains the application ID. + // + // This member is required. + ApplicationId *string + + // The output contains the ARN of the application. + // + // This member is required. + Arn *string + + // The output contains the name of the application. + Name *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpCreateApplication{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpCreateApplication{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { + return err + } + if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApplication(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +type idempotencyToken_initializeOpCreateApplication struct { + tokenProvider IdempotencyTokenProvider +} + +func (*idempotencyToken_initializeOpCreateApplication) ID() string { + return "OperationIdempotencyTokenAutoFill" +} + +func (m *idempotencyToken_initializeOpCreateApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + if m.tokenProvider == nil { + return next.HandleInitialize(ctx, in) + } + + input, ok := in.Parameters.(*CreateApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("expected middleware input to be of type *CreateApplicationInput ") + } + + if input.ClientToken == nil { + t, err := m.tokenProvider.GetIdempotencyToken() + if err != nil { + return out, metadata, err + } + input.ClientToken = &t + } + return next.HandleInitialize(ctx, in) +} +func addIdempotencyToken_opCreateApplicationMiddleware(stack *middleware.Stack, cfg Options) error { + return stack.Initialize.Add(&idempotencyToken_initializeOpCreateApplication{tokenProvider: cfg.IdempotencyTokenProvider}, middleware.Before) +} + +func newServiceMetadataMiddleware_opCreateApplication(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "CreateApplication", + } +} diff --git a/service/emrserverless/api_op_DeleteApplication.go b/service/emrserverless/api_op_DeleteApplication.go new file mode 100644 index 00000000000..e5efe546a34 --- /dev/null +++ b/service/emrserverless/api_op_DeleteApplication.go @@ -0,0 +1,117 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes an application. An application has to be in a stopped or created state +// in order to be deleted. +func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error) { + if params == nil { + params = &DeleteApplicationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteApplication", params, optFns, c.addOperationDeleteApplicationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteApplicationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteApplicationInput struct { + + // The ID of the application that will be deleted. + // + // This member is required. + ApplicationId *string + + noSmithyDocumentSerde +} + +type DeleteApplicationOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpDeleteApplication{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDeleteApplication{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApplication(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteApplication(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "DeleteApplication", + } +} diff --git a/service/emrserverless/api_op_GetApplication.go b/service/emrserverless/api_op_GetApplication.go new file mode 100644 index 00000000000..4b71fd3bce0 --- /dev/null +++ b/service/emrserverless/api_op_GetApplication.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Displays detailed information about a specified application. +func (c *Client) GetApplication(ctx context.Context, params *GetApplicationInput, optFns ...func(*Options)) (*GetApplicationOutput, error) { + if params == nil { + params = &GetApplicationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetApplication", params, optFns, c.addOperationGetApplicationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetApplicationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetApplicationInput struct { + + // The ID of the application that will be described. + // + // This member is required. + ApplicationId *string + + noSmithyDocumentSerde +} + +type GetApplicationOutput struct { + + // The output displays information about the specified application. + // + // This member is required. + Application *types.Application + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpGetApplication{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpGetApplication{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetApplicationValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetApplication(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "GetApplication", + } +} diff --git a/service/emrserverless/api_op_GetJobRun.go b/service/emrserverless/api_op_GetJobRun.go new file mode 100644 index 00000000000..80ba1f708c7 --- /dev/null +++ b/service/emrserverless/api_op_GetJobRun.go @@ -0,0 +1,128 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Displays detailed information about a job run. +func (c *Client) GetJobRun(ctx context.Context, params *GetJobRunInput, optFns ...func(*Options)) (*GetJobRunOutput, error) { + if params == nil { + params = &GetJobRunInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetJobRun", params, optFns, c.addOperationGetJobRunMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetJobRunOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetJobRunInput struct { + + // The ID of the application on which the job run is submitted. + // + // This member is required. + ApplicationId *string + + // The ID of the job run. + // + // This member is required. + JobRunId *string + + noSmithyDocumentSerde +} + +type GetJobRunOutput struct { + + // The output displays information about the job run. + // + // This member is required. + JobRun *types.JobRun + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetJobRunMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpGetJobRun{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpGetJobRun{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetJobRunValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobRun(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetJobRun(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "GetJobRun", + } +} diff --git a/service/emrserverless/api_op_ListApplications.go b/service/emrserverless/api_op_ListApplications.go new file mode 100644 index 00000000000..ea5e053a710 --- /dev/null +++ b/service/emrserverless/api_op_ListApplications.go @@ -0,0 +1,220 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists applications based on a set of parameters. +func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error) { + if params == nil { + params = &ListApplicationsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListApplications", params, optFns, c.addOperationListApplicationsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListApplicationsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListApplicationsInput struct { + + // The maximum number of applications that can be listed. + MaxResults *int32 + + // The token for the next set of application results. + NextToken *string + + // An optional filter for application states. Note that if this filter contains + // multiple states, the resulting list will be grouped by the state. + States []types.ApplicationState + + noSmithyDocumentSerde +} + +type ListApplicationsOutput struct { + + // The output lists the specified applications. + // + // This member is required. + Applications []types.ApplicationSummary + + // The output displays the token for the next set of application results. This is + // required for pagination and is available as a response of the previous request. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpListApplications{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListApplications{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListApplicationsAPIClient is a client that implements the ListApplications +// operation. +type ListApplicationsAPIClient interface { + ListApplications(context.Context, *ListApplicationsInput, ...func(*Options)) (*ListApplicationsOutput, error) +} + +var _ ListApplicationsAPIClient = (*Client)(nil) + +// ListApplicationsPaginatorOptions is the paginator options for ListApplications +type ListApplicationsPaginatorOptions struct { + // The maximum number of applications that can be listed. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListApplicationsPaginator is a paginator for ListApplications +type ListApplicationsPaginator struct { + options ListApplicationsPaginatorOptions + client ListApplicationsAPIClient + params *ListApplicationsInput + nextToken *string + firstPage bool +} + +// NewListApplicationsPaginator returns a new ListApplicationsPaginator +func NewListApplicationsPaginator(client ListApplicationsAPIClient, params *ListApplicationsInput, optFns ...func(*ListApplicationsPaginatorOptions)) *ListApplicationsPaginator { + if params == nil { + params = &ListApplicationsInput{} + } + + options := ListApplicationsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListApplicationsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListApplicationsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListApplications page. +func (p *ListApplicationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListApplicationsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListApplications(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListApplications(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "ListApplications", + } +} diff --git a/service/emrserverless/api_op_ListJobRuns.go b/service/emrserverless/api_op_ListJobRuns.go new file mode 100644 index 00000000000..4e2cd279253 --- /dev/null +++ b/service/emrserverless/api_op_ListJobRuns.go @@ -0,0 +1,234 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Lists job runs based on a set of parameters. +func (c *Client) ListJobRuns(ctx context.Context, params *ListJobRunsInput, optFns ...func(*Options)) (*ListJobRunsOutput, error) { + if params == nil { + params = &ListJobRunsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListJobRuns", params, optFns, c.addOperationListJobRunsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListJobRunsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListJobRunsInput struct { + + // The ID of the application for which to list the job run. + // + // This member is required. + ApplicationId *string + + // The lower bound of the option to filter by creation date and time. + CreatedAtAfter *time.Time + + // The upper bound of the option to filter by creation date and time. + CreatedAtBefore *time.Time + + // The maximum number of job runs that can be listed. + MaxResults *int32 + + // The token for the next set of job run results. + NextToken *string + + // An optional filter for job run states. Note that if this filter contains + // multiple states, the resulting list will be grouped by the state. + States []types.JobRunState + + noSmithyDocumentSerde +} + +type ListJobRunsOutput struct { + + // The output lists information about the specified job runs. + // + // This member is required. + JobRuns []types.JobRunSummary + + // The output displays the token for the next set of job run results. This is + // required for pagination and is available as a response of the previous request. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpListJobRuns{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListJobRuns{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListJobRunsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobRuns(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListJobRunsAPIClient is a client that implements the ListJobRuns operation. +type ListJobRunsAPIClient interface { + ListJobRuns(context.Context, *ListJobRunsInput, ...func(*Options)) (*ListJobRunsOutput, error) +} + +var _ ListJobRunsAPIClient = (*Client)(nil) + +// ListJobRunsPaginatorOptions is the paginator options for ListJobRuns +type ListJobRunsPaginatorOptions struct { + // The maximum number of job runs that can be listed. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListJobRunsPaginator is a paginator for ListJobRuns +type ListJobRunsPaginator struct { + options ListJobRunsPaginatorOptions + client ListJobRunsAPIClient + params *ListJobRunsInput + nextToken *string + firstPage bool +} + +// NewListJobRunsPaginator returns a new ListJobRunsPaginator +func NewListJobRunsPaginator(client ListJobRunsAPIClient, params *ListJobRunsInput, optFns ...func(*ListJobRunsPaginatorOptions)) *ListJobRunsPaginator { + if params == nil { + params = &ListJobRunsInput{} + } + + options := ListJobRunsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListJobRunsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListJobRunsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListJobRuns page. +func (p *ListJobRunsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListJobRunsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListJobRuns(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListJobRuns(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "ListJobRuns", + } +} diff --git a/service/emrserverless/api_op_ListTagsForResource.go b/service/emrserverless/api_op_ListTagsForResource.go new file mode 100644 index 00000000000..301411402bf --- /dev/null +++ b/service/emrserverless/api_op_ListTagsForResource.go @@ -0,0 +1,122 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists the tags assigned to the resources. +func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { + if params == nil { + params = &ListTagsForResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListTagsForResource", params, optFns, c.addOperationListTagsForResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListTagsForResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListTagsForResourceInput struct { + + // The Amazon Resource Name (ARN) that identifies the resource to list the tags + // for. Currently, the supported resources are Amazon EMR Serverless applications + // and job runs. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type ListTagsForResourceOutput struct { + + // The tags for the resource. + Tags map[string]string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpListTagsForResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListTagsForResource{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opListTagsForResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "ListTagsForResource", + } +} diff --git a/service/emrserverless/api_op_StartApplication.go b/service/emrserverless/api_op_StartApplication.go new file mode 100644 index 00000000000..d85b0020a89 --- /dev/null +++ b/service/emrserverless/api_op_StartApplication.go @@ -0,0 +1,116 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Starts a specified application and initializes initial capacity if configured. +func (c *Client) StartApplication(ctx context.Context, params *StartApplicationInput, optFns ...func(*Options)) (*StartApplicationOutput, error) { + if params == nil { + params = &StartApplicationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "StartApplication", params, optFns, c.addOperationStartApplicationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*StartApplicationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type StartApplicationInput struct { + + // The ID of the application to start. + // + // This member is required. + ApplicationId *string + + noSmithyDocumentSerde +} + +type StartApplicationOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpStartApplication{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpStartApplication{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpStartApplicationValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartApplication(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opStartApplication(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "StartApplication", + } +} diff --git a/service/emrserverless/api_op_StartJobRun.go b/service/emrserverless/api_op_StartJobRun.go new file mode 100644 index 00000000000..4b7de95294c --- /dev/null +++ b/service/emrserverless/api_op_StartJobRun.go @@ -0,0 +1,197 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Starts a job run. +func (c *Client) StartJobRun(ctx context.Context, params *StartJobRunInput, optFns ...func(*Options)) (*StartJobRunOutput, error) { + if params == nil { + params = &StartJobRunInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "StartJobRun", params, optFns, c.addOperationStartJobRunMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*StartJobRunOutput) + out.ResultMetadata = metadata + return out, nil +} + +type StartJobRunInput struct { + + // The ID of the application on which to run the job. + // + // This member is required. + ApplicationId *string + + // The client idempotency token of the job run to start. Its value must be unique + // for each request. + // + // This member is required. + ClientToken *string + + // The execution role ARN for the job run. + // + // This member is required. + ExecutionRoleArn *string + + // The configuration overrides for the job run. + ConfigurationOverrides *types.ConfigurationOverrides + + // The maximum duration for the job run to run. If the job run runs beyond this + // duration, it will be automatically cancelled. + ExecutionTimeoutMinutes int64 + + // The job driver for the job run. + JobDriver types.JobDriver + + // The optional job run name. This doesn't have to be unique. + Name *string + + // The tags assigned to the job run. + Tags map[string]string + + noSmithyDocumentSerde +} + +type StartJobRunOutput struct { + + // This output displays the application ID on which the job run was submitted. + // + // This member is required. + ApplicationId *string + + // The output lists the execution role ARN of the job run. + // + // This member is required. + Arn *string + + // The output contains the ID of the started job run. + // + // This member is required. + JobRunId *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpStartJobRun{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpStartJobRun{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addIdempotencyToken_opStartJobRunMiddleware(stack, options); err != nil { + return err + } + if err = addOpStartJobRunValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartJobRun(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +type idempotencyToken_initializeOpStartJobRun struct { + tokenProvider IdempotencyTokenProvider +} + +func (*idempotencyToken_initializeOpStartJobRun) ID() string { + return "OperationIdempotencyTokenAutoFill" +} + +func (m *idempotencyToken_initializeOpStartJobRun) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + if m.tokenProvider == nil { + return next.HandleInitialize(ctx, in) + } + + input, ok := in.Parameters.(*StartJobRunInput) + if !ok { + return out, metadata, fmt.Errorf("expected middleware input to be of type *StartJobRunInput ") + } + + if input.ClientToken == nil { + t, err := m.tokenProvider.GetIdempotencyToken() + if err != nil { + return out, metadata, err + } + input.ClientToken = &t + } + return next.HandleInitialize(ctx, in) +} +func addIdempotencyToken_opStartJobRunMiddleware(stack *middleware.Stack, cfg Options) error { + return stack.Initialize.Add(&idempotencyToken_initializeOpStartJobRun{tokenProvider: cfg.IdempotencyTokenProvider}, middleware.Before) +} + +func newServiceMetadataMiddleware_opStartJobRun(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "StartJobRun", + } +} diff --git a/service/emrserverless/api_op_StopApplication.go b/service/emrserverless/api_op_StopApplication.go new file mode 100644 index 00000000000..fe0ee645b21 --- /dev/null +++ b/service/emrserverless/api_op_StopApplication.go @@ -0,0 +1,118 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Stops a specified application and releases initial capacity if configured. All +// scheduled and running jobs must be completed or cancelled before stopping an +// application. +func (c *Client) StopApplication(ctx context.Context, params *StopApplicationInput, optFns ...func(*Options)) (*StopApplicationOutput, error) { + if params == nil { + params = &StopApplicationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "StopApplication", params, optFns, c.addOperationStopApplicationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*StopApplicationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type StopApplicationInput struct { + + // The ID of the application to stop. + // + // This member is required. + ApplicationId *string + + noSmithyDocumentSerde +} + +type StopApplicationOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpStopApplication{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpStopApplication{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpStopApplicationValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopApplication(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opStopApplication(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "StopApplication", + } +} diff --git a/service/emrserverless/api_op_TagResource.go b/service/emrserverless/api_op_TagResource.go new file mode 100644 index 00000000000..5f1aad135c8 --- /dev/null +++ b/service/emrserverless/api_op_TagResource.go @@ -0,0 +1,127 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Assigns tags to resources. A tag is a label that you assign to an AWS resource. +// Each tag consists of a key and an optional value, both of which you define. Tags +// enable you to categorize your AWS resources by attributes such as purpose, +// owner, or environment. When you have many resources of the same type, you can +// quickly identify a specific resource based on the tags you've assigned to it. +func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { + if params == nil { + params = &TagResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "TagResource", params, optFns, c.addOperationTagResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*TagResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type TagResourceInput struct { + + // The Amazon Resource Name (ARN) that identifies the resource to list the tags + // for. Currently, the supported resources are Amazon EMR Serverless applications + // and job runs. + // + // This member is required. + ResourceArn *string + + // The tags to add to the resource. A tag is an array of key-value pairs. + // + // This member is required. + Tags map[string]string + + noSmithyDocumentSerde +} + +type TagResourceOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpTagResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpTagResource{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpTagResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opTagResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "TagResource", + } +} diff --git a/service/emrserverless/api_op_UntagResource.go b/service/emrserverless/api_op_UntagResource.go new file mode 100644 index 00000000000..d1174a2826a --- /dev/null +++ b/service/emrserverless/api_op_UntagResource.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Removes tags from resources. +func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { + if params == nil { + params = &UntagResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UntagResource", params, optFns, c.addOperationUntagResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UntagResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UntagResourceInput struct { + + // The Amazon Resource Name (ARN) that identifies the resource to list the tags + // for. Currently, the supported resources are Amazon EMR Serverless applications + // and job runs. + // + // This member is required. + ResourceArn *string + + // The keys of the tags to be removed. + // + // This member is required. + TagKeys []string + + noSmithyDocumentSerde +} + +type UntagResourceOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpUntagResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUntagResource{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUntagResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUntagResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "UntagResource", + } +} diff --git a/service/emrserverless/api_op_UpdateApplication.go b/service/emrserverless/api_op_UpdateApplication.go new file mode 100644 index 00000000000..8d5829341df --- /dev/null +++ b/service/emrserverless/api_op_UpdateApplication.go @@ -0,0 +1,186 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates a specified application. An application has to be in a stopped or +// created state in order to be updated. +func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error) { + if params == nil { + params = &UpdateApplicationInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateApplication", params, optFns, c.addOperationUpdateApplicationMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateApplicationOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateApplicationInput struct { + + // The ID of the application to update. + // + // This member is required. + ApplicationId *string + + // The client idempotency token of the application to update. Its value must be + // unique for each request. + // + // This member is required. + ClientToken *string + + // The configuration for an application to automatically start on job submission. + AutoStartConfiguration *types.AutoStartConfig + + // The configuration for an application to automatically stop after a certain + // amount of time being idle. + AutoStopConfiguration *types.AutoStopConfig + + // The capacity to initialize when the application is updated. + InitialCapacity map[string]types.InitialCapacityConfig + + // The maximum capacity to allocate when the application is updated. This is + // cumulative across all workers at any given point in time during the lifespan of + // the application. No new resources will be created once any one of the defined + // limits is hit. + MaximumCapacity *types.MaximumAllowedResources + + // The network configuration for customer VPC connectivity. + NetworkConfiguration *types.NetworkConfiguration + + noSmithyDocumentSerde +} + +type UpdateApplicationOutput struct { + + // Information about the updated application. + // + // This member is required. + Application *types.Application + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateApplication{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateApplication{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addIdempotencyToken_opUpdateApplicationMiddleware(stack, options); err != nil { + return err + } + if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +type idempotencyToken_initializeOpUpdateApplication struct { + tokenProvider IdempotencyTokenProvider +} + +func (*idempotencyToken_initializeOpUpdateApplication) ID() string { + return "OperationIdempotencyTokenAutoFill" +} + +func (m *idempotencyToken_initializeOpUpdateApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + if m.tokenProvider == nil { + return next.HandleInitialize(ctx, in) + } + + input, ok := in.Parameters.(*UpdateApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("expected middleware input to be of type *UpdateApplicationInput ") + } + + if input.ClientToken == nil { + t, err := m.tokenProvider.GetIdempotencyToken() + if err != nil { + return out, metadata, err + } + input.ClientToken = &t + } + return next.HandleInitialize(ctx, in) +} +func addIdempotencyToken_opUpdateApplicationMiddleware(stack *middleware.Stack, cfg Options) error { + return stack.Initialize.Add(&idempotencyToken_initializeOpUpdateApplication{tokenProvider: cfg.IdempotencyTokenProvider}, middleware.Before) +} + +func newServiceMetadataMiddleware_opUpdateApplication(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "emr-serverless", + OperationName: "UpdateApplication", + } +} diff --git a/service/emrserverless/deserializers.go b/service/emrserverless/deserializers.go new file mode 100644 index 00000000000..9a71c16c99c --- /dev/null +++ b/service/emrserverless/deserializers.go @@ -0,0 +1,4056 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "github.com/aws/aws-sdk-go-v2/aws/protocol/restjson" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + smithy "github.com/aws/smithy-go" + smithyio "github.com/aws/smithy-go/io" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/ptr" + smithytime "github.com/aws/smithy-go/time" + smithyhttp "github.com/aws/smithy-go/transport/http" + "io" + "math" + "strings" +) + +type awsRestjson1_deserializeOpCancelJobRun struct { +} + +func (*awsRestjson1_deserializeOpCancelJobRun) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpCancelJobRun) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorCancelJobRun(response, &metadata) + } + output := &CancelJobRunOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentCancelJobRunOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorCancelJobRun(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentCancelJobRunOutput(v **CancelJobRunOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CancelJobRunOutput + if *v == nil { + sv = &CancelJobRunOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applicationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationId to be of type string, got %T instead", value) + } + sv.ApplicationId = ptr.String(jtv) + } + + case "jobRunId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobRunId to be of type string, got %T instead", value) + } + sv.JobRunId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpCreateApplication struct { +} + +func (*awsRestjson1_deserializeOpCreateApplication) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpCreateApplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorCreateApplication(response, &metadata) + } + output := &CreateApplicationOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentCreateApplicationOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorCreateApplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentCreateApplicationOutput(v **CreateApplicationOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateApplicationOutput + if *v == nil { + sv = &CreateApplicationOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applicationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationId to be of type string, got %T instead", value) + } + sv.ApplicationId = ptr.String(jtv) + } + + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpDeleteApplication struct { +} + +func (*awsRestjson1_deserializeOpDeleteApplication) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpDeleteApplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorDeleteApplication(response, &metadata) + } + output := &DeleteApplicationOutput{} + out.Result = output + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorDeleteApplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestjson1_deserializeOpGetApplication struct { +} + +func (*awsRestjson1_deserializeOpGetApplication) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpGetApplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorGetApplication(response, &metadata) + } + output := &GetApplicationOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentGetApplicationOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorGetApplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentGetApplicationOutput(v **GetApplicationOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetApplicationOutput + if *v == nil { + sv = &GetApplicationOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "application": + if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpGetJobRun struct { +} + +func (*awsRestjson1_deserializeOpGetJobRun) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpGetJobRun) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorGetJobRun(response, &metadata) + } + output := &GetJobRunOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentGetJobRunOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorGetJobRun(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentGetJobRunOutput(v **GetJobRunOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetJobRunOutput + if *v == nil { + sv = &GetJobRunOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "jobRun": + if err := awsRestjson1_deserializeDocumentJobRun(&sv.JobRun, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpListApplications struct { +} + +func (*awsRestjson1_deserializeOpListApplications) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpListApplications) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorListApplications(response, &metadata) + } + output := &ListApplicationsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListApplicationsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorListApplications(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentListApplicationsOutput(v **ListApplicationsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListApplicationsOutput + if *v == nil { + sv = &ListApplicationsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applications": + if err := awsRestjson1_deserializeDocumentApplicationList(&sv.Applications, value); err != nil { + return err + } + + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpListJobRuns struct { +} + +func (*awsRestjson1_deserializeOpListJobRuns) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpListJobRuns) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorListJobRuns(response, &metadata) + } + output := &ListJobRunsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListJobRunsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorListJobRuns(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentListJobRunsOutput(v **ListJobRunsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListJobRunsOutput + if *v == nil { + sv = &ListJobRunsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "jobRuns": + if err := awsRestjson1_deserializeDocumentJobRuns(&sv.JobRuns, value); err != nil { + return err + } + + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpListTagsForResource struct { +} + +func (*awsRestjson1_deserializeOpListTagsForResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorListTagsForResource(response, &metadata) + } + output := &ListTagsForResourceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListTagsForResourceOutput + if *v == nil { + sv = &ListTagsForResourceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpStartApplication struct { +} + +func (*awsRestjson1_deserializeOpStartApplication) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpStartApplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorStartApplication(response, &metadata) + } + output := &StartApplicationOutput{} + out.Result = output + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorStartApplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestjson1_deserializeOpStartJobRun struct { +} + +func (*awsRestjson1_deserializeOpStartJobRun) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpStartJobRun) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorStartJobRun(response, &metadata) + } + output := &StartJobRunOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentStartJobRunOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorStartJobRun(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentStartJobRunOutput(v **StartJobRunOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *StartJobRunOutput + if *v == nil { + sv = &StartJobRunOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applicationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationId to be of type string, got %T instead", value) + } + sv.ApplicationId = ptr.String(jtv) + } + + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "jobRunId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobRunId to be of type string, got %T instead", value) + } + sv.JobRunId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +type awsRestjson1_deserializeOpStopApplication struct { +} + +func (*awsRestjson1_deserializeOpStopApplication) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpStopApplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorStopApplication(response, &metadata) + } + output := &StopApplicationOutput{} + out.Result = output + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorStopApplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestjson1_deserializeOpTagResource struct { +} + +func (*awsRestjson1_deserializeOpTagResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorTagResource(response, &metadata) + } + output := &TagResourceOutput{} + out.Result = output + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestjson1_deserializeOpUntagResource struct { +} + +func (*awsRestjson1_deserializeOpUntagResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUntagResource(response, &metadata) + } + output := &UntagResourceOutput{} + out.Result = output + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestjson1_deserializeOpUpdateApplication struct { +} + +func (*awsRestjson1_deserializeOpUpdateApplication) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpUpdateApplication) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateApplication(response, &metadata) + } + output := &UpdateApplicationOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorUpdateApplication(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentUpdateApplicationOutput(v **UpdateApplicationOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateApplicationOutput + if *v == nil { + sv = &UpdateApplicationOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "application": + if err := awsRestjson1_deserializeDocumentApplication(&sv.Application, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeErrorConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ConflictException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentConflictException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorInternalServerException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InternalServerException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentInternalServerException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorResourceNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ResourceNotFoundException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentResourceNotFoundException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorServiceQuotaExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ServiceQuotaExceededException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentServiceQuotaExceededException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeErrorValidationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ValidationException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + err := awsRestjson1_deserializeDocumentValidationException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + +func awsRestjson1_deserializeDocumentApplication(v **types.Application, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Application + if *v == nil { + sv = &types.Application{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applicationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationId to be of type string, got %T instead", value) + } + sv.ApplicationId = ptr.String(jtv) + } + + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "autoStartConfiguration": + if err := awsRestjson1_deserializeDocumentAutoStartConfig(&sv.AutoStartConfiguration, value); err != nil { + return err + } + + case "autoStopConfiguration": + if err := awsRestjson1_deserializeDocumentAutoStopConfig(&sv.AutoStopConfiguration, value); err != nil { + return err + } + + case "createdAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + case "initialCapacity": + if err := awsRestjson1_deserializeDocumentInitialCapacityConfigMap(&sv.InitialCapacity, value); err != nil { + return err + } + + case "maximumCapacity": + if err := awsRestjson1_deserializeDocumentMaximumAllowedResources(&sv.MaximumCapacity, value); err != nil { + return err + } + + case "name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "networkConfiguration": + if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { + return err + } + + case "releaseLabel": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReleaseLabel to be of type string, got %T instead", value) + } + sv.ReleaseLabel = ptr.String(jtv) + } + + case "state": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationState to be of type string, got %T instead", value) + } + sv.State = types.ApplicationState(jtv) + } + + case "stateDetails": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String256 to be of type string, got %T instead", value) + } + sv.StateDetails = ptr.String(jtv) + } + + case "tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + case "type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EngineType to be of type string, got %T instead", value) + } + sv.Type = ptr.String(jtv) + } + + case "updatedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.UpdatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentApplicationList(v *[]types.ApplicationSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.ApplicationSummary + if *v == nil { + cv = []types.ApplicationSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ApplicationSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentApplicationSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentApplicationSummary(v **types.ApplicationSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ApplicationSummary + if *v == nil { + sv = &types.ApplicationSummary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "createdAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + case "id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "releaseLabel": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReleaseLabel to be of type string, got %T instead", value) + } + sv.ReleaseLabel = ptr.String(jtv) + } + + case "state": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationState to be of type string, got %T instead", value) + } + sv.State = types.ApplicationState(jtv) + } + + case "stateDetails": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String256 to be of type string, got %T instead", value) + } + sv.StateDetails = ptr.String(jtv) + } + + case "type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EngineType to be of type string, got %T instead", value) + } + sv.Type = ptr.String(jtv) + } + + case "updatedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.UpdatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAutoStartConfig(v **types.AutoStartConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AutoStartConfig + if *v == nil { + sv = &types.AutoStartConfig{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "enabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.Enabled = ptr.Bool(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAutoStopConfig(v **types.AutoStopConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AutoStopConfig + if *v == nil { + sv = &types.AutoStopConfig{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "enabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.Enabled = ptr.Bool(jtv) + } + + case "idleTimeoutMinutes": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Integer to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.IdleTimeoutMinutes = ptr.Int32(int32(i64)) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentConfiguration(v **types.Configuration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Configuration + if *v == nil { + sv = &types.Configuration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "classification": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String1024 to be of type string, got %T instead", value) + } + sv.Classification = ptr.String(jtv) + } + + case "configurations": + if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.Configurations, value); err != nil { + return err + } + + case "properties": + if err := awsRestjson1_deserializeDocumentSensitivePropertiesMap(&sv.Properties, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentConfigurationList(v *[]types.Configuration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Configuration + if *v == nil { + cv = []types.Configuration{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Configuration + destAddr := &col + if err := awsRestjson1_deserializeDocumentConfiguration(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentConfigurationOverrides(v **types.ConfigurationOverrides, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ConfigurationOverrides + if *v == nil { + sv = &types.ConfigurationOverrides{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applicationConfiguration": + if err := awsRestjson1_deserializeDocumentConfigurationList(&sv.ApplicationConfiguration, value); err != nil { + return err + } + + case "monitoringConfiguration": + if err := awsRestjson1_deserializeDocumentMonitoringConfiguration(&sv.MonitoringConfiguration, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentConflictException(v **types.ConflictException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ConflictException + if *v == nil { + sv = &types.ConflictException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String1024 to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentEntryPointArguments(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EntryPointArgument to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentHive(v **types.Hive, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Hive + if *v == nil { + sv = &types.Hive{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "initQueryFile": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected InitScriptPath to be of type string, got %T instead", value) + } + sv.InitQueryFile = ptr.String(jtv) + } + + case "parameters": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HiveCliParameters to be of type string, got %T instead", value) + } + sv.Parameters = ptr.String(jtv) + } + + case "query": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Query to be of type string, got %T instead", value) + } + sv.Query = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentInitialCapacityConfig(v **types.InitialCapacityConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InitialCapacityConfig + if *v == nil { + sv = &types.InitialCapacityConfig{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "workerConfiguration": + if err := awsRestjson1_deserializeDocumentWorkerResourceConfig(&sv.WorkerConfiguration, value); err != nil { + return err + } + + case "workerCount": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected WorkerCounts to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.WorkerCount = i64 + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentInitialCapacityConfigMap(v *map[string]types.InitialCapacityConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]types.InitialCapacityConfig + if *v == nil { + mv = map[string]types.InitialCapacityConfig{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal types.InitialCapacityConfig + mapVar := parsedVal + destAddr := &mapVar + if err := awsRestjson1_deserializeDocumentInitialCapacityConfig(&destAddr, value); err != nil { + return err + } + parsedVal = *destAddr + mv[key] = parsedVal + + } + *v = mv + return nil +} + +func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalServerException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InternalServerException + if *v == nil { + sv = &types.InternalServerException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String1024 to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentJobDriver(v *types.JobDriver, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var uv types.JobDriver +loop: + for key, value := range shape { + if value == nil { + continue + } + switch key { + case "hive": + var mv types.Hive + destAddr := &mv + if err := awsRestjson1_deserializeDocumentHive(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.JobDriverMemberHive{Value: mv} + break loop + + case "sparkSubmit": + var mv types.SparkSubmit + destAddr := &mv + if err := awsRestjson1_deserializeDocumentSparkSubmit(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.JobDriverMemberSparkSubmit{Value: mv} + break loop + + default: + uv = &types.UnknownUnionMember{Tag: key} + break loop + + } + } + *v = uv + return nil +} + +func awsRestjson1_deserializeDocumentJobRun(v **types.JobRun, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.JobRun + if *v == nil { + sv = &types.JobRun{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applicationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationId to be of type string, got %T instead", value) + } + sv.ApplicationId = ptr.String(jtv) + } + + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "configurationOverrides": + if err := awsRestjson1_deserializeDocumentConfigurationOverrides(&sv.ConfigurationOverrides, value); err != nil { + return err + } + + case "createdAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + case "createdBy": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RequestIdentityUserArn to be of type string, got %T instead", value) + } + sv.CreatedBy = ptr.String(jtv) + } + + case "executionRole": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IAMRoleArn to be of type string, got %T instead", value) + } + sv.ExecutionRole = ptr.String(jtv) + } + + case "jobDriver": + if err := awsRestjson1_deserializeDocumentJobDriver(&sv.JobDriver, value); err != nil { + return err + } + + case "jobRunId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobRunId to be of type string, got %T instead", value) + } + sv.JobRunId = ptr.String(jtv) + } + + case "name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String256 to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "networkConfiguration": + if err := awsRestjson1_deserializeDocumentNetworkConfiguration(&sv.NetworkConfiguration, value); err != nil { + return err + } + + case "releaseLabel": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReleaseLabel to be of type string, got %T instead", value) + } + sv.ReleaseLabel = ptr.String(jtv) + } + + case "state": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobRunState to be of type string, got %T instead", value) + } + sv.State = types.JobRunState(jtv) + } + + case "stateDetails": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String256 to be of type string, got %T instead", value) + } + sv.StateDetails = ptr.String(jtv) + } + + case "tags": + if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { + return err + } + + case "totalExecutionDurationSeconds": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Integer to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.TotalExecutionDurationSeconds = ptr.Int32(int32(i64)) + } + + case "totalResourceUtilization": + if err := awsRestjson1_deserializeDocumentTotalResourceUtilization(&sv.TotalResourceUtilization, value); err != nil { + return err + } + + case "updatedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.UpdatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentJobRuns(v *[]types.JobRunSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.JobRunSummary + if *v == nil { + cv = []types.JobRunSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.JobRunSummary + destAddr := &col + if err := awsRestjson1_deserializeDocumentJobRunSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentJobRunSummary(v **types.JobRunSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.JobRunSummary + if *v == nil { + sv = &types.JobRunSummary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "applicationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ApplicationId to be of type string, got %T instead", value) + } + sv.ApplicationId = ptr.String(jtv) + } + + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "createdAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + case "createdBy": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RequestIdentityUserArn to be of type string, got %T instead", value) + } + sv.CreatedBy = ptr.String(jtv) + } + + case "executionRole": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IAMRoleArn to be of type string, got %T instead", value) + } + sv.ExecutionRole = ptr.String(jtv) + } + + case "id": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobRunId to be of type string, got %T instead", value) + } + sv.Id = ptr.String(jtv) + } + + case "name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String256 to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "releaseLabel": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReleaseLabel to be of type string, got %T instead", value) + } + sv.ReleaseLabel = ptr.String(jtv) + } + + case "state": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobRunState to be of type string, got %T instead", value) + } + sv.State = types.JobRunState(jtv) + } + + case "stateDetails": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String256 to be of type string, got %T instead", value) + } + sv.StateDetails = ptr.String(jtv) + } + + case "type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected JobRunType to be of type string, got %T instead", value) + } + sv.Type = ptr.String(jtv) + } + + case "updatedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.UpdatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(v **types.ManagedPersistenceMonitoringConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ManagedPersistenceMonitoringConfiguration + if *v == nil { + sv = &types.ManagedPersistenceMonitoringConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "enabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.Enabled = ptr.Bool(jtv) + } + + case "encryptionKeyArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EncryptionKeyArn to be of type string, got %T instead", value) + } + sv.EncryptionKeyArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentMaximumAllowedResources(v **types.MaximumAllowedResources, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.MaximumAllowedResources + if *v == nil { + sv = &types.MaximumAllowedResources{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "cpu": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CpuSize to be of type string, got %T instead", value) + } + sv.Cpu = ptr.String(jtv) + } + + case "disk": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DiskSize to be of type string, got %T instead", value) + } + sv.Disk = ptr.String(jtv) + } + + case "memory": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected MemorySize to be of type string, got %T instead", value) + } + sv.Memory = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.MonitoringConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.MonitoringConfiguration + if *v == nil { + sv = &types.MonitoringConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "managedPersistenceMonitoringConfiguration": + if err := awsRestjson1_deserializeDocumentManagedPersistenceMonitoringConfiguration(&sv.ManagedPersistenceMonitoringConfiguration, value); err != nil { + return err + } + + case "s3MonitoringConfiguration": + if err := awsRestjson1_deserializeDocumentS3MonitoringConfiguration(&sv.S3MonitoringConfiguration, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentNetworkConfiguration(v **types.NetworkConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.NetworkConfiguration + if *v == nil { + sv = &types.NetworkConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "securityGroupIds": + if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { + return err + } + + case "subnetIds": + if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.ResourceNotFoundException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ResourceNotFoundException + if *v == nil { + sv = &types.ResourceNotFoundException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String1024 to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentS3MonitoringConfiguration(v **types.S3MonitoringConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.S3MonitoringConfiguration + if *v == nil { + sv = &types.S3MonitoringConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "encryptionKeyArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EncryptionKeyArn to be of type string, got %T instead", value) + } + sv.EncryptionKeyArn = ptr.String(jtv) + } + + case "logUri": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected UriString to be of type string, got %T instead", value) + } + sv.LogUri = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentSecurityGroupIds(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SecurityGroupString to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentSensitivePropertiesMap(v *map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]string + if *v == nil { + mv = map[string]string{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String1024 to be of type string, got %T instead", value) + } + parsedVal = jtv + } + mv[key] = parsedVal + + } + *v = mv + return nil +} + +func awsRestjson1_deserializeDocumentServiceQuotaExceededException(v **types.ServiceQuotaExceededException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ServiceQuotaExceededException + if *v == nil { + sv = &types.ServiceQuotaExceededException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String1024 to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentSparkSubmit(v **types.SparkSubmit, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.SparkSubmit + if *v == nil { + sv = &types.SparkSubmit{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "entryPoint": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EntryPointPath to be of type string, got %T instead", value) + } + sv.EntryPoint = ptr.String(jtv) + } + + case "entryPointArguments": + if err := awsRestjson1_deserializeDocumentEntryPointArguments(&sv.EntryPointArguments, value); err != nil { + return err + } + + case "sparkSubmitParameters": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SparkSubmitParameters to be of type string, got %T instead", value) + } + sv.SparkSubmitParameters = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentSubnetIds(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SubnetString to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentTagMap(v *map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]string + if *v == nil { + mv = map[string]string{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TagValue to be of type string, got %T instead", value) + } + parsedVal = jtv + } + mv[key] = parsedVal + + } + *v = mv + return nil +} + +func awsRestjson1_deserializeDocumentTotalResourceUtilization(v **types.TotalResourceUtilization, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.TotalResourceUtilization + if *v == nil { + sv = &types.TotalResourceUtilization{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "memoryGBHour": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.MemoryGBHour = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.MemoryGBHour = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + case "storageGBHour": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.StorageGBHour = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.StorageGBHour = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + case "vCPUHour": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.VCPUHour = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.VCPUHour = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentValidationException(v **types.ValidationException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ValidationException + if *v == nil { + sv = &types.ValidationException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String1024 to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentWorkerResourceConfig(v **types.WorkerResourceConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.WorkerResourceConfig + if *v == nil { + sv = &types.WorkerResourceConfig{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "cpu": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CpuSize to be of type string, got %T instead", value) + } + sv.Cpu = ptr.String(jtv) + } + + case "disk": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DiskSize to be of type string, got %T instead", value) + } + sv.Disk = ptr.String(jtv) + } + + case "memory": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected MemorySize to be of type string, got %T instead", value) + } + sv.Memory = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} diff --git a/service/emrserverless/doc.go b/service/emrserverless/doc.go new file mode 100644 index 00000000000..67cc205635f --- /dev/null +++ b/service/emrserverless/doc.go @@ -0,0 +1,26 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +// Package emrserverless provides the API client, operations, and parameter types +// for EMR Serverless. +// +// Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless +// provides a serverless runtime environment that simplifies running analytics +// applications using the latest open source frameworks such as Apache Spark and +// Apache Hive. With EMR Serverless, you don’t have to configure, optimize, secure, +// or operate clusters to run applications with these frameworks. The API reference +// to Amazon EMR Serverless is emr-serverless. The emr-serverless prefix is used in +// the following scenarios: +// +// * It is the prefix in the CLI commands for Amazon EMR +// Serverless. For example, aws emr-serverless start-job-run. +// +// * It is the prefix +// before IAM policy actions for Amazon EMR Serverless. For example, "Action": +// ["emr-serverless:StartJobRun"]. For more information, see Policy actions for +// Amazon EMR Serverless +// (https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions). +// +// * +// It is the prefix used in Amazon EMR Serverless service endpoints. For example, +// emr-serverless.us-east-2.amazonaws.com. +package emrserverless diff --git a/service/emrserverless/endpoints.go b/service/emrserverless/endpoints.go new file mode 100644 index 00000000000..b91b59992ab --- /dev/null +++ b/service/emrserverless/endpoints.go @@ -0,0 +1,200 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "errors" + "fmt" + "github.com/aws/aws-sdk-go-v2/aws" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + internalendpoints "github.com/aws/aws-sdk-go-v2/service/emrserverless/internal/endpoints" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "net/url" + "strings" +) + +// EndpointResolverOptions is the service endpoint resolver options +type EndpointResolverOptions = internalendpoints.Options + +// EndpointResolver interface for resolving service endpoints. +type EndpointResolver interface { + ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) +} + +var _ EndpointResolver = &internalendpoints.Resolver{} + +// NewDefaultEndpointResolver constructs a new service endpoint resolver +func NewDefaultEndpointResolver() *internalendpoints.Resolver { + return internalendpoints.New() +} + +// EndpointResolverFunc is a helper utility that wraps a function so it satisfies +// the EndpointResolver interface. This is useful when you want to add additional +// endpoint resolving logic, or stub out specific endpoints with custom values. +type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error) + +func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { + return fn(region, options) +} + +func resolveDefaultEndpointConfiguration(o *Options) { + if o.EndpointResolver != nil { + return + } + o.EndpointResolver = NewDefaultEndpointResolver() +} + +// EndpointResolverFromURL returns an EndpointResolver configured using the +// provided endpoint url. By default, the resolved endpoint resolver uses the +// client region as signing region, and the endpoint source is set to +// EndpointSourceCustom.You can provide functional options to configure endpoint +// values for the resolved endpoint. +func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver { + e := aws.Endpoint{URL: url, Source: aws.EndpointSourceCustom} + for _, fn := range optFns { + fn(&e) + } + + return EndpointResolverFunc( + func(region string, options EndpointResolverOptions) (aws.Endpoint, error) { + if len(e.SigningRegion) == 0 { + e.SigningRegion = region + } + return e, nil + }, + ) +} + +type ResolveEndpoint struct { + Resolver EndpointResolver + Options EndpointResolverOptions +} + +func (*ResolveEndpoint) ID() string { + return "ResolveEndpoint" +} + +func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) + } + + if m.Resolver == nil { + return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") + } + + eo := m.Options + eo.Logger = middleware.GetLogger(ctx) + + var endpoint aws.Endpoint + endpoint, err = m.Resolver.ResolveEndpoint(awsmiddleware.GetRegion(ctx), eo) + if err != nil { + return out, metadata, fmt.Errorf("failed to resolve service endpoint, %w", err) + } + + req.URL, err = url.Parse(endpoint.URL) + if err != nil { + return out, metadata, fmt.Errorf("failed to parse endpoint URL: %w", err) + } + + if len(awsmiddleware.GetSigningName(ctx)) == 0 { + signingName := endpoint.SigningName + if len(signingName) == 0 { + signingName = "emr-serverless" + } + ctx = awsmiddleware.SetSigningName(ctx, signingName) + } + ctx = awsmiddleware.SetEndpointSource(ctx, endpoint.Source) + ctx = smithyhttp.SetHostnameImmutable(ctx, endpoint.HostnameImmutable) + ctx = awsmiddleware.SetSigningRegion(ctx, endpoint.SigningRegion) + ctx = awsmiddleware.SetPartitionID(ctx, endpoint.PartitionID) + return next.HandleSerialize(ctx, in) +} +func addResolveEndpointMiddleware(stack *middleware.Stack, o Options) error { + return stack.Serialize.Insert(&ResolveEndpoint{ + Resolver: o.EndpointResolver, + Options: o.EndpointOptions, + }, "OperationSerializer", middleware.Before) +} + +func removeResolveEndpointMiddleware(stack *middleware.Stack) error { + _, err := stack.Serialize.Remove((&ResolveEndpoint{}).ID()) + return err +} + +type wrappedEndpointResolver struct { + awsResolver aws.EndpointResolverWithOptions + resolver EndpointResolver +} + +func (w *wrappedEndpointResolver) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { + if w.awsResolver == nil { + goto fallback + } + endpoint, err = w.awsResolver.ResolveEndpoint(ServiceID, region, options) + if err == nil { + return endpoint, nil + } + + if nf := (&aws.EndpointNotFoundError{}); !errors.As(err, &nf) { + return endpoint, err + } + +fallback: + if w.resolver == nil { + return endpoint, fmt.Errorf("default endpoint resolver provided was nil") + } + return w.resolver.ResolveEndpoint(region, options) +} + +type awsEndpointResolverAdaptor func(service, region string) (aws.Endpoint, error) + +func (a awsEndpointResolverAdaptor) ResolveEndpoint(service, region string, options ...interface{}) (aws.Endpoint, error) { + return a(service, region) +} + +var _ aws.EndpointResolverWithOptions = awsEndpointResolverAdaptor(nil) + +// withEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. +// If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided +// fallbackResolver for resolution. +// +// fallbackResolver must not be nil +func withEndpointResolver(awsResolver aws.EndpointResolver, awsResolverWithOptions aws.EndpointResolverWithOptions, fallbackResolver EndpointResolver) EndpointResolver { + var resolver aws.EndpointResolverWithOptions + + if awsResolverWithOptions != nil { + resolver = awsResolverWithOptions + } else if awsResolver != nil { + resolver = awsEndpointResolverAdaptor(awsResolver.ResolveEndpoint) + } + + return &wrappedEndpointResolver{ + awsResolver: resolver, + resolver: fallbackResolver, + } +} + +func finalizeClientEndpointResolverOptions(options *Options) { + options.EndpointOptions.LogDeprecated = options.ClientLogMode.IsDeprecatedUsage() + + if len(options.EndpointOptions.ResolvedRegion) == 0 { + const fipsInfix = "-fips-" + const fipsPrefix = "fips-" + const fipsSuffix = "-fips" + + if strings.Contains(options.Region, fipsInfix) || + strings.Contains(options.Region, fipsPrefix) || + strings.Contains(options.Region, fipsSuffix) { + options.EndpointOptions.ResolvedRegion = strings.ReplaceAll(strings.ReplaceAll(strings.ReplaceAll( + options.Region, fipsInfix, "-"), fipsPrefix, ""), fipsSuffix, "") + options.EndpointOptions.UseFIPSEndpoint = aws.FIPSEndpointStateEnabled + } + } + +} diff --git a/service/emrserverless/generated.json b/service/emrserverless/generated.json new file mode 100644 index 00000000000..01443a30aac --- /dev/null +++ b/service/emrserverless/generated.json @@ -0,0 +1,42 @@ +{ + "dependencies": { + "github.com/aws/aws-sdk-go-v2": "v1.4.0", + "github.com/aws/aws-sdk-go-v2/internal/configsources": "v0.0.0-00010101000000-000000000000", + "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2": "v2.0.0-00010101000000-000000000000", + "github.com/aws/smithy-go": "v1.4.0" + }, + "files": [ + "api_client.go", + "api_client_test.go", + "api_op_CancelJobRun.go", + "api_op_CreateApplication.go", + "api_op_DeleteApplication.go", + "api_op_GetApplication.go", + "api_op_GetJobRun.go", + "api_op_ListApplications.go", + "api_op_ListJobRuns.go", + "api_op_ListTagsForResource.go", + "api_op_StartApplication.go", + "api_op_StartJobRun.go", + "api_op_StopApplication.go", + "api_op_TagResource.go", + "api_op_UntagResource.go", + "api_op_UpdateApplication.go", + "deserializers.go", + "doc.go", + "endpoints.go", + "generated.json", + "internal/endpoints/endpoints.go", + "internal/endpoints/endpoints_test.go", + "protocol_test.go", + "serializers.go", + "types/enums.go", + "types/errors.go", + "types/types.go", + "types/types_exported_test.go", + "validators.go" + ], + "go": "1.15", + "module": "github.com/aws/aws-sdk-go-v2/service/emrserverless", + "unstable": false +} diff --git a/service/emrserverless/go.mod b/service/emrserverless/go.mod new file mode 100644 index 00000000000..5d18671764b --- /dev/null +++ b/service/emrserverless/go.mod @@ -0,0 +1,16 @@ +module github.com/aws/aws-sdk-go-v2/service/emrserverless + +go 1.15 + +require ( + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 +) + +replace github.com/aws/aws-sdk-go-v2 => ../../ + +replace github.com/aws/aws-sdk-go-v2/internal/configsources => ../../internal/configsources/ + +replace github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 => ../../internal/endpoints/v2/ diff --git a/service/emrserverless/go.sum b/service/emrserverless/go.sum new file mode 100644 index 00000000000..86cce5bcbcc --- /dev/null +++ b/service/emrserverless/go.sum @@ -0,0 +1,11 @@ +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/emrserverless/go_module_metadata.go b/service/emrserverless/go_module_metadata.go new file mode 100644 index 00000000000..0895b96f3f0 --- /dev/null +++ b/service/emrserverless/go_module_metadata.go @@ -0,0 +1,6 @@ +// Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. + +package emrserverless + +// goModuleVersion is the tagged release for this module +const goModuleVersion = "1.1.1" diff --git a/service/emrserverless/internal/endpoints/endpoints.go b/service/emrserverless/internal/endpoints/endpoints.go new file mode 100644 index 00000000000..a30de355a9c --- /dev/null +++ b/service/emrserverless/internal/endpoints/endpoints.go @@ -0,0 +1,294 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package endpoints + +import ( + "github.com/aws/aws-sdk-go-v2/aws" + endpoints "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2" + "github.com/aws/smithy-go/logging" + "regexp" +) + +// Options is the endpoint resolver configuration options +type Options struct { + // Logger is a logging implementation that log events should be sent to. + Logger logging.Logger + + // LogDeprecated indicates that deprecated endpoints should be logged to the + // provided logger. + LogDeprecated bool + + // ResolvedRegion is used to override the region to be resolved, rather then the + // using the value passed to the ResolveEndpoint method. This value is used by the + // SDK to translate regions like fips-us-east-1 or us-east-1-fips to an alternative + // name. You must not set this value directly in your application. + ResolvedRegion string + + // DisableHTTPS informs the resolver to return an endpoint that does not use the + // HTTPS scheme. + DisableHTTPS bool + + // UseDualStackEndpoint specifies the resolver must resolve a dual-stack endpoint. + UseDualStackEndpoint aws.DualStackEndpointState + + // UseFIPSEndpoint specifies the resolver must resolve a FIPS endpoint. + UseFIPSEndpoint aws.FIPSEndpointState +} + +func (o Options) GetResolvedRegion() string { + return o.ResolvedRegion +} + +func (o Options) GetDisableHTTPS() bool { + return o.DisableHTTPS +} + +func (o Options) GetUseDualStackEndpoint() aws.DualStackEndpointState { + return o.UseDualStackEndpoint +} + +func (o Options) GetUseFIPSEndpoint() aws.FIPSEndpointState { + return o.UseFIPSEndpoint +} + +func transformToSharedOptions(options Options) endpoints.Options { + return endpoints.Options{ + Logger: options.Logger, + LogDeprecated: options.LogDeprecated, + ResolvedRegion: options.ResolvedRegion, + DisableHTTPS: options.DisableHTTPS, + UseDualStackEndpoint: options.UseDualStackEndpoint, + UseFIPSEndpoint: options.UseFIPSEndpoint, + } +} + +// Resolver EMR Serverless endpoint resolver +type Resolver struct { + partitions endpoints.Partitions +} + +// ResolveEndpoint resolves the service endpoint for the given region and options +func (r *Resolver) ResolveEndpoint(region string, options Options) (endpoint aws.Endpoint, err error) { + if len(region) == 0 { + return endpoint, &aws.MissingRegionError{} + } + + opt := transformToSharedOptions(options) + return r.partitions.ResolveEndpoint(region, opt) +} + +// New returns a new Resolver +func New() *Resolver { + return &Resolver{ + partitions: defaultPartitions, + } +} + +var partitionRegexp = struct { + Aws *regexp.Regexp + AwsCn *regexp.Regexp + AwsIso *regexp.Regexp + AwsIsoB *regexp.Regexp + AwsUsGov *regexp.Regexp +}{ + + Aws: regexp.MustCompile("^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$"), + AwsCn: regexp.MustCompile("^cn\\-\\w+\\-\\d+$"), + AwsIso: regexp.MustCompile("^us\\-iso\\-\\w+\\-\\d+$"), + AwsIsoB: regexp.MustCompile("^us\\-isob\\-\\w+\\-\\d+$"), + AwsUsGov: regexp.MustCompile("^us\\-gov\\-\\w+\\-\\d+$"), +} + +var defaultPartitions = endpoints.Partitions{ + { + ID: "aws", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "emr-serverless.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "emr-serverless-fips.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "emr-serverless-fips.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "emr-serverless.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.Aws, + IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "fips-us-east-1", + }: endpoints.Endpoint{ + Hostname: "emr-serverless-fips.us-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-east-1", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "fips-us-west-2", + }: endpoints.Endpoint{ + Hostname: "emr-serverless-fips.us-west-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-west-2", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "emr-serverless-fips.us-east-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "emr-serverless-fips.us-west-2.amazonaws.com", + }, + }, + }, + { + ID: "aws-cn", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "emr-serverless.{region}.api.amazonwebservices.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "emr-serverless-fips.{region}.amazonaws.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "emr-serverless-fips.{region}.api.amazonwebservices.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "emr-serverless.{region}.amazonaws.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsCn, + IsRegionalized: true, + }, + { + ID: "aws-iso", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "emr-serverless-fips.{region}.c2s.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "emr-serverless.{region}.c2s.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIso, + IsRegionalized: true, + }, + { + ID: "aws-iso-b", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "emr-serverless-fips.{region}.sc2s.sgov.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "emr-serverless.{region}.sc2s.sgov.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIsoB, + IsRegionalized: true, + }, + { + ID: "aws-us-gov", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "emr-serverless.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "emr-serverless-fips.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "emr-serverless-fips.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "emr-serverless.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsUsGov, + IsRegionalized: true, + }, +} diff --git a/service/emrserverless/internal/endpoints/endpoints_test.go b/service/emrserverless/internal/endpoints/endpoints_test.go new file mode 100644 index 00000000000..08e5da2d833 --- /dev/null +++ b/service/emrserverless/internal/endpoints/endpoints_test.go @@ -0,0 +1,11 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package endpoints + +import ( + "testing" +) + +func TestRegexCompile(t *testing.T) { + _ = defaultPartitions +} diff --git a/service/emrserverless/protocol_test.go b/service/emrserverless/protocol_test.go new file mode 100644 index 00000000000..1d78c97a77a --- /dev/null +++ b/service/emrserverless/protocol_test.go @@ -0,0 +1,3 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless diff --git a/service/emrserverless/serializers.go b/service/emrserverless/serializers.go new file mode 100644 index 00000000000..8c7ae607593 --- /dev/null +++ b/service/emrserverless/serializers.go @@ -0,0 +1,1455 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "bytes" + "context" + "fmt" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + smithy "github.com/aws/smithy-go" + "github.com/aws/smithy-go/encoding/httpbinding" + smithyjson "github.com/aws/smithy-go/encoding/json" + "github.com/aws/smithy-go/middleware" + smithytime "github.com/aws/smithy-go/time" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +type awsRestjson1_serializeOpCancelJobRun struct { +} + +func (*awsRestjson1_serializeOpCancelJobRun) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpCancelJobRun) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CancelJobRunInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}/jobruns/{jobRunId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "DELETE" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsCancelJobRunInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsCancelJobRunInput(v *CancelJobRunInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + if v.JobRunId == nil || len(*v.JobRunId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member jobRunId must not be empty")} + } + if v.JobRunId != nil { + if err := encoder.SetURI("jobRunId").String(*v.JobRunId); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpCreateApplication struct { +} + +func (*awsRestjson1_serializeOpCreateApplication) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpCreateApplication) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateApplicationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentCreateApplicationInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsCreateApplicationInput(v *CreateApplicationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestjson1_serializeOpDocumentCreateApplicationInput(v *CreateApplicationInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.AutoStartConfiguration != nil { + ok := object.Key("autoStartConfiguration") + if err := awsRestjson1_serializeDocumentAutoStartConfig(v.AutoStartConfiguration, ok); err != nil { + return err + } + } + + if v.AutoStopConfiguration != nil { + ok := object.Key("autoStopConfiguration") + if err := awsRestjson1_serializeDocumentAutoStopConfig(v.AutoStopConfiguration, ok); err != nil { + return err + } + } + + if v.ClientToken != nil { + ok := object.Key("clientToken") + ok.String(*v.ClientToken) + } + + if v.InitialCapacity != nil { + ok := object.Key("initialCapacity") + if err := awsRestjson1_serializeDocumentInitialCapacityConfigMap(v.InitialCapacity, ok); err != nil { + return err + } + } + + if v.MaximumCapacity != nil { + ok := object.Key("maximumCapacity") + if err := awsRestjson1_serializeDocumentMaximumAllowedResources(v.MaximumCapacity, ok); err != nil { + return err + } + } + + if v.Name != nil { + ok := object.Key("name") + ok.String(*v.Name) + } + + if v.NetworkConfiguration != nil { + ok := object.Key("networkConfiguration") + if err := awsRestjson1_serializeDocumentNetworkConfiguration(v.NetworkConfiguration, ok); err != nil { + return err + } + } + + if v.ReleaseLabel != nil { + ok := object.Key("releaseLabel") + ok.String(*v.ReleaseLabel) + } + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsRestjson1_serializeDocumentTagMap(v.Tags, ok); err != nil { + return err + } + } + + if v.Type != nil { + ok := object.Key("type") + ok.String(*v.Type) + } + + return nil +} + +type awsRestjson1_serializeOpDeleteApplication struct { +} + +func (*awsRestjson1_serializeOpDeleteApplication) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpDeleteApplication) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteApplicationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "DELETE" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsDeleteApplicationInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsDeleteApplicationInput(v *DeleteApplicationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpGetApplication struct { +} + +func (*awsRestjson1_serializeOpGetApplication) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpGetApplication) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetApplicationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsGetApplicationInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsGetApplicationInput(v *GetApplicationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpGetJobRun struct { +} + +func (*awsRestjson1_serializeOpGetJobRun) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpGetJobRun) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetJobRunInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}/jobruns/{jobRunId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsGetJobRunInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsGetJobRunInput(v *GetJobRunInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + if v.JobRunId == nil || len(*v.JobRunId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member jobRunId must not be empty")} + } + if v.JobRunId != nil { + if err := encoder.SetURI("jobRunId").String(*v.JobRunId); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpListApplications struct { +} + +func (*awsRestjson1_serializeOpListApplications) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListApplications) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListApplicationsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsListApplicationsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListApplicationsInput(v *ListApplicationsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("nextToken").String(*v.NextToken) + } + + if v.States != nil { + for i := range v.States { + encoder.AddQuery("states").String(string(v.States[i])) + } + } + + return nil +} + +type awsRestjson1_serializeOpListJobRuns struct { +} + +func (*awsRestjson1_serializeOpListJobRuns) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListJobRuns) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListJobRunsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}/jobruns") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsListJobRunsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListJobRunsInput(v *ListJobRunsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + if v.CreatedAtAfter != nil { + encoder.SetQuery("createdAtAfter").String(smithytime.FormatDateTime(*v.CreatedAtAfter)) + } + + if v.CreatedAtBefore != nil { + encoder.SetQuery("createdAtBefore").String(smithytime.FormatDateTime(*v.CreatedAtBefore)) + } + + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("nextToken").String(*v.NextToken) + } + + if v.States != nil { + for i := range v.States { + encoder.AddQuery("states").String(string(v.States[i])) + } + } + + return nil +} + +type awsRestjson1_serializeOpListTagsForResource struct { +} + +func (*awsRestjson1_serializeOpListTagsForResource) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListTagsForResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListTagsForResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/tags/{resourceArn}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsListTagsForResourceInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListTagsForResourceInput(v *ListTagsForResourceInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member resourceArn must not be empty")} + } + if v.ResourceArn != nil { + if err := encoder.SetURI("resourceArn").String(*v.ResourceArn); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpStartApplication struct { +} + +func (*awsRestjson1_serializeOpStartApplication) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpStartApplication) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*StartApplicationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}/start") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsStartApplicationInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsStartApplicationInput(v *StartApplicationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpStartJobRun struct { +} + +func (*awsRestjson1_serializeOpStartJobRun) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpStartJobRun) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*StartJobRunInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}/jobruns") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsStartJobRunInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentStartJobRunInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsStartJobRunInput(v *StartJobRunInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentStartJobRunInput(v *StartJobRunInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ClientToken != nil { + ok := object.Key("clientToken") + ok.String(*v.ClientToken) + } + + if v.ConfigurationOverrides != nil { + ok := object.Key("configurationOverrides") + if err := awsRestjson1_serializeDocumentConfigurationOverrides(v.ConfigurationOverrides, ok); err != nil { + return err + } + } + + if v.ExecutionRoleArn != nil { + ok := object.Key("executionRoleArn") + ok.String(*v.ExecutionRoleArn) + } + + if v.ExecutionTimeoutMinutes != 0 { + ok := object.Key("executionTimeoutMinutes") + ok.Long(v.ExecutionTimeoutMinutes) + } + + if v.JobDriver != nil { + ok := object.Key("jobDriver") + if err := awsRestjson1_serializeDocumentJobDriver(v.JobDriver, ok); err != nil { + return err + } + } + + if v.Name != nil { + ok := object.Key("name") + ok.String(*v.Name) + } + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsRestjson1_serializeDocumentTagMap(v.Tags, ok); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpStopApplication struct { +} + +func (*awsRestjson1_serializeOpStopApplication) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpStopApplication) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*StopApplicationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}/stop") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsStopApplicationInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsStopApplicationInput(v *StopApplicationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpTagResource struct { +} + +func (*awsRestjson1_serializeOpTagResource) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpTagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*TagResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/tags/{resourceArn}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsTagResourceInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentTagResourceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsTagResourceInput(v *TagResourceInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member resourceArn must not be empty")} + } + if v.ResourceArn != nil { + if err := encoder.SetURI("resourceArn").String(*v.ResourceArn); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentTagResourceInput(v *TagResourceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsRestjson1_serializeDocumentTagMap(v.Tags, ok); err != nil { + return err + } + } + + return nil +} + +type awsRestjson1_serializeOpUntagResource struct { +} + +func (*awsRestjson1_serializeOpUntagResource) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpUntagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UntagResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/tags/{resourceArn}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "DELETE" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsUntagResourceInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsUntagResourceInput(v *UntagResourceInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member resourceArn must not be empty")} + } + if v.ResourceArn != nil { + if err := encoder.SetURI("resourceArn").String(*v.ResourceArn); err != nil { + return err + } + } + + if v.TagKeys != nil { + for i := range v.TagKeys { + encoder.AddQuery("tagKeys").String(v.TagKeys[i]) + } + } + + return nil +} + +type awsRestjson1_serializeOpUpdateApplication struct { +} + +func (*awsRestjson1_serializeOpUpdateApplication) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpUpdateApplication) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateApplicationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/applications/{applicationId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PATCH" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsUpdateApplicationInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentUpdateApplicationInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsUpdateApplicationInput(v *UpdateApplicationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.ApplicationId == nil || len(*v.ApplicationId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member applicationId must not be empty")} + } + if v.ApplicationId != nil { + if err := encoder.SetURI("applicationId").String(*v.ApplicationId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentUpdateApplicationInput(v *UpdateApplicationInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.AutoStartConfiguration != nil { + ok := object.Key("autoStartConfiguration") + if err := awsRestjson1_serializeDocumentAutoStartConfig(v.AutoStartConfiguration, ok); err != nil { + return err + } + } + + if v.AutoStopConfiguration != nil { + ok := object.Key("autoStopConfiguration") + if err := awsRestjson1_serializeDocumentAutoStopConfig(v.AutoStopConfiguration, ok); err != nil { + return err + } + } + + if v.ClientToken != nil { + ok := object.Key("clientToken") + ok.String(*v.ClientToken) + } + + if v.InitialCapacity != nil { + ok := object.Key("initialCapacity") + if err := awsRestjson1_serializeDocumentInitialCapacityConfigMap(v.InitialCapacity, ok); err != nil { + return err + } + } + + if v.MaximumCapacity != nil { + ok := object.Key("maximumCapacity") + if err := awsRestjson1_serializeDocumentMaximumAllowedResources(v.MaximumCapacity, ok); err != nil { + return err + } + } + + if v.NetworkConfiguration != nil { + ok := object.Key("networkConfiguration") + if err := awsRestjson1_serializeDocumentNetworkConfiguration(v.NetworkConfiguration, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentAutoStartConfig(v *types.AutoStartConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Enabled != nil { + ok := object.Key("enabled") + ok.Boolean(*v.Enabled) + } + + return nil +} + +func awsRestjson1_serializeDocumentAutoStopConfig(v *types.AutoStopConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Enabled != nil { + ok := object.Key("enabled") + ok.Boolean(*v.Enabled) + } + + if v.IdleTimeoutMinutes != nil { + ok := object.Key("idleTimeoutMinutes") + ok.Integer(*v.IdleTimeoutMinutes) + } + + return nil +} + +func awsRestjson1_serializeDocumentConfiguration(v *types.Configuration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Classification != nil { + ok := object.Key("classification") + ok.String(*v.Classification) + } + + if v.Configurations != nil { + ok := object.Key("configurations") + if err := awsRestjson1_serializeDocumentConfigurationList(v.Configurations, ok); err != nil { + return err + } + } + + if v.Properties != nil { + ok := object.Key("properties") + if err := awsRestjson1_serializeDocumentSensitivePropertiesMap(v.Properties, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentConfigurationList(v []types.Configuration, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentConfiguration(&v[i], av); err != nil { + return err + } + } + return nil +} + +func awsRestjson1_serializeDocumentConfigurationOverrides(v *types.ConfigurationOverrides, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ApplicationConfiguration != nil { + ok := object.Key("applicationConfiguration") + if err := awsRestjson1_serializeDocumentConfigurationList(v.ApplicationConfiguration, ok); err != nil { + return err + } + } + + if v.MonitoringConfiguration != nil { + ok := object.Key("monitoringConfiguration") + if err := awsRestjson1_serializeDocumentMonitoringConfiguration(v.MonitoringConfiguration, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentEntryPointArguments(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsRestjson1_serializeDocumentHive(v *types.Hive, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.InitQueryFile != nil { + ok := object.Key("initQueryFile") + ok.String(*v.InitQueryFile) + } + + if v.Parameters != nil { + ok := object.Key("parameters") + ok.String(*v.Parameters) + } + + if v.Query != nil { + ok := object.Key("query") + ok.String(*v.Query) + } + + return nil +} + +func awsRestjson1_serializeDocumentInitialCapacityConfig(v *types.InitialCapacityConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.WorkerConfiguration != nil { + ok := object.Key("workerConfiguration") + if err := awsRestjson1_serializeDocumentWorkerResourceConfig(v.WorkerConfiguration, ok); err != nil { + return err + } + } + + { + ok := object.Key("workerCount") + ok.Long(v.WorkerCount) + } + + return nil +} + +func awsRestjson1_serializeDocumentInitialCapacityConfigMap(v map[string]types.InitialCapacityConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + for key := range v { + om := object.Key(key) + mapVar := v[key] + if err := awsRestjson1_serializeDocumentInitialCapacityConfig(&mapVar, om); err != nil { + return err + } + } + return nil +} + +func awsRestjson1_serializeDocumentJobDriver(v types.JobDriver, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + switch uv := v.(type) { + case *types.JobDriverMemberHive: + av := object.Key("hive") + if err := awsRestjson1_serializeDocumentHive(&uv.Value, av); err != nil { + return err + } + + case *types.JobDriverMemberSparkSubmit: + av := object.Key("sparkSubmit") + if err := awsRestjson1_serializeDocumentSparkSubmit(&uv.Value, av); err != nil { + return err + } + + default: + return fmt.Errorf("attempted to serialize unknown member type %T for union %T", uv, v) + + } + return nil +} + +func awsRestjson1_serializeDocumentManagedPersistenceMonitoringConfiguration(v *types.ManagedPersistenceMonitoringConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Enabled != nil { + ok := object.Key("enabled") + ok.Boolean(*v.Enabled) + } + + if v.EncryptionKeyArn != nil { + ok := object.Key("encryptionKeyArn") + ok.String(*v.EncryptionKeyArn) + } + + return nil +} + +func awsRestjson1_serializeDocumentMaximumAllowedResources(v *types.MaximumAllowedResources, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Cpu != nil { + ok := object.Key("cpu") + ok.String(*v.Cpu) + } + + if v.Disk != nil { + ok := object.Key("disk") + ok.String(*v.Disk) + } + + if v.Memory != nil { + ok := object.Key("memory") + ok.String(*v.Memory) + } + + return nil +} + +func awsRestjson1_serializeDocumentMonitoringConfiguration(v *types.MonitoringConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ManagedPersistenceMonitoringConfiguration != nil { + ok := object.Key("managedPersistenceMonitoringConfiguration") + if err := awsRestjson1_serializeDocumentManagedPersistenceMonitoringConfiguration(v.ManagedPersistenceMonitoringConfiguration, ok); err != nil { + return err + } + } + + if v.S3MonitoringConfiguration != nil { + ok := object.Key("s3MonitoringConfiguration") + if err := awsRestjson1_serializeDocumentS3MonitoringConfiguration(v.S3MonitoringConfiguration, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentNetworkConfiguration(v *types.NetworkConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.SecurityGroupIds != nil { + ok := object.Key("securityGroupIds") + if err := awsRestjson1_serializeDocumentSecurityGroupIds(v.SecurityGroupIds, ok); err != nil { + return err + } + } + + if v.SubnetIds != nil { + ok := object.Key("subnetIds") + if err := awsRestjson1_serializeDocumentSubnetIds(v.SubnetIds, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentS3MonitoringConfiguration(v *types.S3MonitoringConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EncryptionKeyArn != nil { + ok := object.Key("encryptionKeyArn") + ok.String(*v.EncryptionKeyArn) + } + + if v.LogUri != nil { + ok := object.Key("logUri") + ok.String(*v.LogUri) + } + + return nil +} + +func awsRestjson1_serializeDocumentSecurityGroupIds(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsRestjson1_serializeDocumentSensitivePropertiesMap(v map[string]string, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + for key := range v { + om := object.Key(key) + om.String(v[key]) + } + return nil +} + +func awsRestjson1_serializeDocumentSparkSubmit(v *types.SparkSubmit, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EntryPoint != nil { + ok := object.Key("entryPoint") + ok.String(*v.EntryPoint) + } + + if v.EntryPointArguments != nil { + ok := object.Key("entryPointArguments") + if err := awsRestjson1_serializeDocumentEntryPointArguments(v.EntryPointArguments, ok); err != nil { + return err + } + } + + if v.SparkSubmitParameters != nil { + ok := object.Key("sparkSubmitParameters") + ok.String(*v.SparkSubmitParameters) + } + + return nil +} + +func awsRestjson1_serializeDocumentSubnetIds(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsRestjson1_serializeDocumentTagMap(v map[string]string, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + for key := range v { + om := object.Key(key) + om.String(v[key]) + } + return nil +} + +func awsRestjson1_serializeDocumentWorkerResourceConfig(v *types.WorkerResourceConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Cpu != nil { + ok := object.Key("cpu") + ok.String(*v.Cpu) + } + + if v.Disk != nil { + ok := object.Key("disk") + ok.String(*v.Disk) + } + + if v.Memory != nil { + ok := object.Key("memory") + ok.String(*v.Memory) + } + + return nil +} diff --git a/service/emrserverless/types/enums.go b/service/emrserverless/types/enums.go new file mode 100644 index 00000000000..e3111ec8c7b --- /dev/null +++ b/service/emrserverless/types/enums.go @@ -0,0 +1,61 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +type ApplicationState string + +// Enum values for ApplicationState +const ( + ApplicationStateCreating ApplicationState = "CREATING" + ApplicationStateCreated ApplicationState = "CREATED" + ApplicationStateStarting ApplicationState = "STARTING" + ApplicationStateStarted ApplicationState = "STARTED" + ApplicationStateStopping ApplicationState = "STOPPING" + ApplicationStateStopped ApplicationState = "STOPPED" + ApplicationStateTerminated ApplicationState = "TERMINATED" +) + +// Values returns all known values for ApplicationState. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (ApplicationState) Values() []ApplicationState { + return []ApplicationState{ + "CREATING", + "CREATED", + "STARTING", + "STARTED", + "STOPPING", + "STOPPED", + "TERMINATED", + } +} + +type JobRunState string + +// Enum values for JobRunState +const ( + JobRunStateSubmitted JobRunState = "SUBMITTED" + JobRunStatePending JobRunState = "PENDING" + JobRunStateScheduled JobRunState = "SCHEDULED" + JobRunStateRunning JobRunState = "RUNNING" + JobRunStateSuccess JobRunState = "SUCCESS" + JobRunStateFailed JobRunState = "FAILED" + JobRunStateCancelling JobRunState = "CANCELLING" + JobRunStateCancelled JobRunState = "CANCELLED" +) + +// Values returns all known values for JobRunState. Note that this can be expanded +// in the future, and so it is only as up to date as the client. The ordering of +// this slice is not guaranteed to be stable across updates. +func (JobRunState) Values() []JobRunState { + return []JobRunState{ + "SUBMITTED", + "PENDING", + "SCHEDULED", + "RUNNING", + "SUCCESS", + "FAILED", + "CANCELLING", + "CANCELLED", + } +} diff --git a/service/emrserverless/types/errors.go b/service/emrserverless/types/errors.go new file mode 100644 index 00000000000..d2f72abaefa --- /dev/null +++ b/service/emrserverless/types/errors.go @@ -0,0 +1,104 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +import ( + "fmt" + smithy "github.com/aws/smithy-go" +) + +// The request could not be processed because of conflict in the current state of +// the resource. +type ConflictException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ConflictException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ConflictException) ErrorCode() string { return "ConflictException" } +func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// Request processing failed because of an error or failure with the service. +type InternalServerException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *InternalServerException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *InternalServerException) ErrorCode() string { return "InternalServerException" } +func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } + +// The specified resource was not found. +type ResourceNotFoundException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ResourceNotFoundException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ResourceNotFoundException) ErrorCode() string { return "ResourceNotFoundException" } +func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The maximum number of resources per account has been reached. +type ServiceQuotaExceededException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ServiceQuotaExceededException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ServiceQuotaExceededException) ErrorCode() string { return "ServiceQuotaExceededException" } +func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The input fails to satisfy the constraints specified by an AWS service. +type ValidationException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ValidationException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ValidationException) ErrorCode() string { return "ValidationException" } +func (e *ValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } diff --git a/service/emrserverless/types/types.go b/service/emrserverless/types/types.go new file mode 100644 index 00000000000..e16af3d46fc --- /dev/null +++ b/service/emrserverless/types/types.go @@ -0,0 +1,522 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +import ( + smithydocument "github.com/aws/smithy-go/document" + "time" +) + +// Information about an application. EMR Serverless uses applications to run jobs. +type Application struct { + + // The ID of the application. + // + // This member is required. + ApplicationId *string + + // The ARN of the application. + // + // This member is required. + Arn *string + + // The date and time when the application run was created. + // + // This member is required. + CreatedAt *time.Time + + // The EMR release version associated with the application. + // + // This member is required. + ReleaseLabel *string + + // The state of the application. + // + // This member is required. + State ApplicationState + + // The type of application, such as Spark or Hive. + // + // This member is required. + Type *string + + // The date and time when the application run was last updated. + // + // This member is required. + UpdatedAt *time.Time + + // The configuration for an application to automatically start on job submission. + AutoStartConfiguration *AutoStartConfig + + // The configuration for an application to automatically stop after a certain + // amount of time being idle. + AutoStopConfiguration *AutoStopConfig + + // The initial capacity of the application. + InitialCapacity map[string]InitialCapacityConfig + + // The maximum capacity of the application. This is cumulative across all workers + // at any given point in time during the lifespan of the application is created. No + // new resources will be created once any one of the defined limits is hit. + MaximumCapacity *MaximumAllowedResources + + // The name of the application. + Name *string + + // The network configuration for customer VPC connectivity for the application. + NetworkConfiguration *NetworkConfiguration + + // The state details of the application. + StateDetails *string + + // The tags assigned to the application. + Tags map[string]string + + noSmithyDocumentSerde +} + +// The summary of attributes associated with an application. +type ApplicationSummary struct { + + // The ARN of the application. + // + // This member is required. + Arn *string + + // The date and time when the application was created. + // + // This member is required. + CreatedAt *time.Time + + // The ID of the application. + // + // This member is required. + Id *string + + // The EMR release version associated with the application. + // + // This member is required. + ReleaseLabel *string + + // The state of the application. + // + // This member is required. + State ApplicationState + + // The type of application, such as Spark or Hive. + // + // This member is required. + Type *string + + // The date and time when the application was last updated. + // + // This member is required. + UpdatedAt *time.Time + + // The name of the application. + Name *string + + // The state details of the application. + StateDetails *string + + noSmithyDocumentSerde +} + +// The configuration for an application to automatically start on job submission. +type AutoStartConfig struct { + + // Enables the application to automatically start on job submission. Defaults to + // true. + Enabled *bool + + noSmithyDocumentSerde +} + +// The configuration for an application to automatically stop after a certain +// amount of time being idle. +type AutoStopConfig struct { + + // Enables the application to automatically stop after a certain amount of time + // being idle. Defaults to true. + Enabled *bool + + // The amount of idle time in minutes after which your application will + // automatically stop. Defaults to 15 minutes. + IdleTimeoutMinutes *int32 + + noSmithyDocumentSerde +} + +// A configuration specification to be used when provisioning an application. A +// configuration consists of a classification, properties, and optional nested +// configurations. A classification refers to an application-specific configuration +// file. Properties are the settings you want to change in that file. +type Configuration struct { + + // The classification within a configuration. + // + // This member is required. + Classification *string + + // A list of additional configurations to apply within a configuration object. + Configurations []Configuration + + // A set of properties specified within a configuration classification. + Properties map[string]string + + noSmithyDocumentSerde +} + +// A configuration specification to be used to override existing configurations. +type ConfigurationOverrides struct { + + // The override configurations for the application. + ApplicationConfiguration []Configuration + + // The override configurations for monitoring. + MonitoringConfiguration *MonitoringConfiguration + + noSmithyDocumentSerde +} + +// The configurations for the Hive job driver. +type Hive struct { + + // The query for the Hive job run. + // + // This member is required. + Query *string + + // The query file for the Hive job run. + InitQueryFile *string + + // The parameters for the Hive job run. + Parameters *string + + noSmithyDocumentSerde +} + +// The initial capacity configuration per worker. +type InitialCapacityConfig struct { + + // The number of workers in the initial capacity configuration. + // + // This member is required. + WorkerCount int64 + + // The resource configuration of the initial capacity configuration. + WorkerConfiguration *WorkerResourceConfig + + noSmithyDocumentSerde +} + +// The driver that the job runs on. +// +// The following types satisfy this interface: +// JobDriverMemberHive +// JobDriverMemberSparkSubmit +type JobDriver interface { + isJobDriver() +} + +// The job driver parameters specified for Hive. +type JobDriverMemberHive struct { + Value Hive + + noSmithyDocumentSerde +} + +func (*JobDriverMemberHive) isJobDriver() {} + +// The job driver parameters specified for Spark. +type JobDriverMemberSparkSubmit struct { + Value SparkSubmit + + noSmithyDocumentSerde +} + +func (*JobDriverMemberSparkSubmit) isJobDriver() {} + +// Information about a job run. A job run is a unit of work, such as a Spark JAR, +// Hive query, or SparkSQL query, that you submit to an EMR Serverless application. +type JobRun struct { + + // The ID of the application the job is running on. + // + // This member is required. + ApplicationId *string + + // The execution role ARN of the job run. + // + // This member is required. + Arn *string + + // The date and time when the job run was created. + // + // This member is required. + CreatedAt *time.Time + + // The user who created the job run. + // + // This member is required. + CreatedBy *string + + // The execution role ARN of the job run. + // + // This member is required. + ExecutionRole *string + + // The job driver for the job run. + // + // This member is required. + JobDriver JobDriver + + // The ID of the job run. + // + // This member is required. + JobRunId *string + + // The EMR release version associated with the application your job is running on. + // + // This member is required. + ReleaseLabel *string + + // The state of the job run. + // + // This member is required. + State JobRunState + + // The state details of the job run. + // + // This member is required. + StateDetails *string + + // The date and time when the job run was updated. + // + // This member is required. + UpdatedAt *time.Time + + // The configuration settings that are used to override default configuration. + ConfigurationOverrides *ConfigurationOverrides + + // The optional job run name. This doesn't have to be unique. + Name *string + + // The network configuration for customer VPC connectivity. + NetworkConfiguration *NetworkConfiguration + + // The tags assigned to the job run. + Tags map[string]string + + // The job run total execution duration in seconds. This field is only available + // for job runs in a COMPLETED, FAILED, or CANCELLED state. + TotalExecutionDurationSeconds *int32 + + // The aggregate vCPU, memory, and storage resources used from the time job start + // executing till the time job is terminated, rounded up to the nearest second. + TotalResourceUtilization *TotalResourceUtilization + + noSmithyDocumentSerde +} + +// The summary of attributes associated with a job run. +type JobRunSummary struct { + + // The ID of the application the job is running on. + // + // This member is required. + ApplicationId *string + + // The ARN of the job run. + // + // This member is required. + Arn *string + + // The date and time when the job run was created. + // + // This member is required. + CreatedAt *time.Time + + // The user who created the job run. + // + // This member is required. + CreatedBy *string + + // The execution role ARN of the job run. + // + // This member is required. + ExecutionRole *string + + // The ID of the job run. + // + // This member is required. + Id *string + + // The EMR release version associated with the application your job is running on. + // + // This member is required. + ReleaseLabel *string + + // The state of the job run. + // + // This member is required. + State JobRunState + + // The state details of the job run. + // + // This member is required. + StateDetails *string + + // The date and time when the job run was last updated. + // + // This member is required. + UpdatedAt *time.Time + + // The optional job run name. This doesn't have to be unique. + Name *string + + // The type of job run, such as Spark or Hive. + Type *string + + noSmithyDocumentSerde +} + +// The managed log persistence configuration for a job run. +type ManagedPersistenceMonitoringConfiguration struct { + + // Enables managed logging and defaults to true. If set to false, managed logging + // will be turned off. + Enabled *bool + + // The KMS key ARN to encrypt the logs stored in managed log persistence. + EncryptionKeyArn *string + + noSmithyDocumentSerde +} + +// The maximum allowed cumulative resources for an application. No new resources +// will be created once the limit is hit. +type MaximumAllowedResources struct { + + // The maximum allowed CPU for an application. + // + // This member is required. + Cpu *string + + // The maximum allowed resources for an application. + // + // This member is required. + Memory *string + + // The maximum allowed disk for an application. + Disk *string + + noSmithyDocumentSerde +} + +// The configuration setting for monitoring. +type MonitoringConfiguration struct { + + // The managed log persistence configuration for a job run. + ManagedPersistenceMonitoringConfiguration *ManagedPersistenceMonitoringConfiguration + + // The Amazon S3 configuration for monitoring log publishing. + S3MonitoringConfiguration *S3MonitoringConfiguration + + noSmithyDocumentSerde +} + +// The network configuration for customer VPC connectivity. +type NetworkConfiguration struct { + + // The array of security group Ids for customer VPC connectivity. + SecurityGroupIds []string + + // The array of subnet Ids for customer VPC connectivity. + SubnetIds []string + + noSmithyDocumentSerde +} + +// The Amazon S3 configuration for monitoring log publishing. You can configure +// your jobs to send log information to Amazon S3. +type S3MonitoringConfiguration struct { + + // The KMS key ARN to encrypt the logs published to the given Amazon S3 + // destination. + EncryptionKeyArn *string + + // The Amazon S3 destination URI for log publishing. + LogUri *string + + noSmithyDocumentSerde +} + +// The configurations for the Spark submit job driver. +type SparkSubmit struct { + + // The entry point for the Spark submit job run. + // + // This member is required. + EntryPoint *string + + // The arguments for the Spark submit job run. + EntryPointArguments []string + + // The parameters for the Spark submit job run. + SparkSubmitParameters *string + + noSmithyDocumentSerde +} + +// The aggregate vCPU, memory, and storage resources used from the time job start +// executing till the time job is terminated, rounded up to the nearest second. +type TotalResourceUtilization struct { + + // The aggregated memory used per hour from the time job start executing till the + // time job is terminated. + MemoryGBHour *float64 + + // The aggregated storage used per hour from the time job start executing till the + // time job is terminated. + StorageGBHour *float64 + + // The aggregated vCPU used per hour from the time job start executing till the + // time job is terminated. + VCPUHour *float64 + + noSmithyDocumentSerde +} + +// The cumulative configuration requirements for every worker instance of the +// worker type. +type WorkerResourceConfig struct { + + // The CPU requirements for every worker instance of the worker type. + // + // This member is required. + Cpu *string + + // The memory requirements for every worker instance of the worker type. + // + // This member is required. + Memory *string + + // The disk requirements for every worker instance of the worker type. + Disk *string + + noSmithyDocumentSerde +} + +type noSmithyDocumentSerde = smithydocument.NoSerde + +// UnknownUnionMember is returned when a union member is returned over the wire, +// but has an unknown tag. +type UnknownUnionMember struct { + Tag string + Value []byte + + noSmithyDocumentSerde +} + +func (*UnknownUnionMember) isJobDriver() {} diff --git a/service/emrserverless/types/types_exported_test.go b/service/emrserverless/types/types_exported_test.go new file mode 100644 index 00000000000..eff2b76a47a --- /dev/null +++ b/service/emrserverless/types/types_exported_test.go @@ -0,0 +1,30 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types_test + +import ( + "fmt" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" +) + +func ExampleJobDriver_outputUsage() { + var union types.JobDriver + // type switches can be used to check the union value + switch v := union.(type) { + case *types.JobDriverMemberHive: + _ = v.Value // Value is types.Hive + + case *types.JobDriverMemberSparkSubmit: + _ = v.Value // Value is types.SparkSubmit + + case *types.UnknownUnionMember: + fmt.Println("unknown tag:", v.Tag) + + default: + fmt.Println("union is nil or unknown type") + + } +} + +var _ *types.SparkSubmit +var _ *types.Hive diff --git a/service/emrserverless/validators.go b/service/emrserverless/validators.go new file mode 100644 index 00000000000..053dd89245e --- /dev/null +++ b/service/emrserverless/validators.go @@ -0,0 +1,754 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package emrserverless + +import ( + "context" + "fmt" + "github.com/aws/aws-sdk-go-v2/service/emrserverless/types" + smithy "github.com/aws/smithy-go" + "github.com/aws/smithy-go/middleware" +) + +type validateOpCancelJobRun struct { +} + +func (*validateOpCancelJobRun) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCancelJobRun) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CancelJobRunInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCancelJobRunInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpCreateApplication struct { +} + +func (*validateOpCreateApplication) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateApplicationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpDeleteApplication struct { +} + +func (*validateOpDeleteApplication) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteApplicationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetApplication struct { +} + +func (*validateOpGetApplication) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetApplicationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetJobRun struct { +} + +func (*validateOpGetJobRun) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetJobRun) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetJobRunInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetJobRunInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpListJobRuns struct { +} + +func (*validateOpListJobRuns) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListJobRuns) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListJobRunsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListJobRunsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpListTagsForResource struct { +} + +func (*validateOpListTagsForResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListTagsForResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListTagsForResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListTagsForResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpStartApplication struct { +} + +func (*validateOpStartApplication) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpStartApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*StartApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpStartApplicationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpStartJobRun struct { +} + +func (*validateOpStartJobRun) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpStartJobRun) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*StartJobRunInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpStartJobRunInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpStopApplication struct { +} + +func (*validateOpStopApplication) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpStopApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*StopApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpStopApplicationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpTagResource struct { +} + +func (*validateOpTagResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpTagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*TagResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpTagResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUntagResource struct { +} + +func (*validateOpUntagResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUntagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UntagResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUntagResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateApplication struct { +} + +func (*validateOpUpdateApplication) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateApplication) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateApplicationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateApplicationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +func addOpCancelJobRunValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCancelJobRun{}, middleware.After) +} + +func addOpCreateApplicationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateApplication{}, middleware.After) +} + +func addOpDeleteApplicationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteApplication{}, middleware.After) +} + +func addOpGetApplicationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetApplication{}, middleware.After) +} + +func addOpGetJobRunValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetJobRun{}, middleware.After) +} + +func addOpListJobRunsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListJobRuns{}, middleware.After) +} + +func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) +} + +func addOpStartApplicationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpStartApplication{}, middleware.After) +} + +func addOpStartJobRunValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpStartJobRun{}, middleware.After) +} + +func addOpStopApplicationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpStopApplication{}, middleware.After) +} + +func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpTagResource{}, middleware.After) +} + +func addOpUntagResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUntagResource{}, middleware.After) +} + +func addOpUpdateApplicationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateApplication{}, middleware.After) +} + +func validateConfiguration(v *types.Configuration) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "Configuration"} + if v.Classification == nil { + invalidParams.Add(smithy.NewErrParamRequired("Classification")) + } + if v.Configurations != nil { + if err := validateConfigurationList(v.Configurations); err != nil { + invalidParams.AddNested("Configurations", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateConfigurationList(v []types.Configuration) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ConfigurationList"} + for i := range v { + if err := validateConfiguration(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateConfigurationOverrides(v *types.ConfigurationOverrides) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ConfigurationOverrides"} + if v.ApplicationConfiguration != nil { + if err := validateConfigurationList(v.ApplicationConfiguration); err != nil { + invalidParams.AddNested("ApplicationConfiguration", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateHive(v *types.Hive) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "Hive"} + if v.Query == nil { + invalidParams.Add(smithy.NewErrParamRequired("Query")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateInitialCapacityConfig(v *types.InitialCapacityConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "InitialCapacityConfig"} + if v.WorkerConfiguration != nil { + if err := validateWorkerResourceConfig(v.WorkerConfiguration); err != nil { + invalidParams.AddNested("WorkerConfiguration", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateInitialCapacityConfigMap(v map[string]types.InitialCapacityConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "InitialCapacityConfigMap"} + for key := range v { + value := v[key] + if err := validateInitialCapacityConfig(&value); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%q]", key), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateJobDriver(v types.JobDriver) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "JobDriver"} + switch uv := v.(type) { + case *types.JobDriverMemberHive: + if err := validateHive(&uv.Value); err != nil { + invalidParams.AddNested("[hive]", err.(smithy.InvalidParamsError)) + } + + case *types.JobDriverMemberSparkSubmit: + if err := validateSparkSubmit(&uv.Value); err != nil { + invalidParams.AddNested("[sparkSubmit]", err.(smithy.InvalidParamsError)) + } + + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateMaximumAllowedResources(v *types.MaximumAllowedResources) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "MaximumAllowedResources"} + if v.Cpu == nil { + invalidParams.Add(smithy.NewErrParamRequired("Cpu")) + } + if v.Memory == nil { + invalidParams.Add(smithy.NewErrParamRequired("Memory")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateSparkSubmit(v *types.SparkSubmit) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "SparkSubmit"} + if v.EntryPoint == nil { + invalidParams.Add(smithy.NewErrParamRequired("EntryPoint")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateWorkerResourceConfig(v *types.WorkerResourceConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "WorkerResourceConfig"} + if v.Cpu == nil { + invalidParams.Add(smithy.NewErrParamRequired("Cpu")) + } + if v.Memory == nil { + invalidParams.Add(smithy.NewErrParamRequired("Memory")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCancelJobRunInput(v *CancelJobRunInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CancelJobRunInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if v.JobRunId == nil { + invalidParams.Add(smithy.NewErrParamRequired("JobRunId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateApplicationInput(v *CreateApplicationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateApplicationInput"} + if v.ReleaseLabel == nil { + invalidParams.Add(smithy.NewErrParamRequired("ReleaseLabel")) + } + if v.Type == nil { + invalidParams.Add(smithy.NewErrParamRequired("Type")) + } + if v.ClientToken == nil { + invalidParams.Add(smithy.NewErrParamRequired("ClientToken")) + } + if v.InitialCapacity != nil { + if err := validateInitialCapacityConfigMap(v.InitialCapacity); err != nil { + invalidParams.AddNested("InitialCapacity", err.(smithy.InvalidParamsError)) + } + } + if v.MaximumCapacity != nil { + if err := validateMaximumAllowedResources(v.MaximumCapacity); err != nil { + invalidParams.AddNested("MaximumCapacity", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpDeleteApplicationInput(v *DeleteApplicationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteApplicationInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetApplicationInput(v *GetApplicationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetApplicationInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetJobRunInput(v *GetJobRunInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetJobRunInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if v.JobRunId == nil { + invalidParams.Add(smithy.NewErrParamRequired("JobRunId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpListJobRunsInput(v *ListJobRunsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListJobRunsInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListTagsForResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpStartApplicationInput(v *StartApplicationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "StartApplicationInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpStartJobRunInput(v *StartJobRunInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "StartJobRunInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if v.ClientToken == nil { + invalidParams.Add(smithy.NewErrParamRequired("ClientToken")) + } + if v.ExecutionRoleArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ExecutionRoleArn")) + } + if v.JobDriver != nil { + if err := validateJobDriver(v.JobDriver); err != nil { + invalidParams.AddNested("JobDriver", err.(smithy.InvalidParamsError)) + } + } + if v.ConfigurationOverrides != nil { + if err := validateConfigurationOverrides(v.ConfigurationOverrides); err != nil { + invalidParams.AddNested("ConfigurationOverrides", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpStopApplicationInput(v *StopApplicationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "StopApplicationInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpTagResourceInput(v *TagResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TagResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if v.Tags == nil { + invalidParams.Add(smithy.NewErrParamRequired("Tags")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUntagResourceInput(v *UntagResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UntagResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if v.TagKeys == nil { + invalidParams.Add(smithy.NewErrParamRequired("TagKeys")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUpdateApplicationInput(v *UpdateApplicationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateApplicationInput"} + if v.ApplicationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationId")) + } + if v.ClientToken == nil { + invalidParams.Add(smithy.NewErrParamRequired("ClientToken")) + } + if v.InitialCapacity != nil { + if err := validateInitialCapacityConfigMap(v.InitialCapacity); err != nil { + invalidParams.AddNested("InitialCapacity", err.(smithy.InvalidParamsError)) + } + } + if v.MaximumCapacity != nil { + if err := validateMaximumAllowedResources(v.MaximumCapacity); err != nil { + invalidParams.AddNested("MaximumCapacity", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} diff --git a/service/eventbridge/CHANGELOG.md b/service/eventbridge/CHANGELOG.md index 045a55dbed6..8d0070ff820 100644 --- a/service/eventbridge/CHANGELOG.md +++ b/service/eventbridge/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/eventbridge/go.mod b/service/eventbridge/go.mod index b6c10b674c1..cafdb69a6c8 100644 --- a/service/eventbridge/go.mod +++ b/service/eventbridge/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/eventbridge go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.2 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.3 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/eventbridge/go.sum b/service/eventbridge/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/eventbridge/go.sum +++ b/service/eventbridge/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/eventbridge/go_module_metadata.go b/service/eventbridge/go_module_metadata.go index b88baccebe7..f8e44277b0d 100644 --- a/service/eventbridge/go_module_metadata.go +++ b/service/eventbridge/go_module_metadata.go @@ -3,4 +3,4 @@ package eventbridge // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.2" +const goModuleVersion = "1.16.3" diff --git a/service/evidently/CHANGELOG.md b/service/evidently/CHANGELOG.md index 598ee58fe6d..5b1cc609a96 100644 --- a/service/evidently/CHANGELOG.md +++ b/service/evidently/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.7.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/evidently/go.mod b/service/evidently/go.mod index 4e6c01a5771..a699817168f 100644 --- a/service/evidently/go.mod +++ b/service/evidently/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/evidently go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/evidently/go.sum b/service/evidently/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/evidently/go.sum +++ b/service/evidently/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/evidently/go_module_metadata.go b/service/evidently/go_module_metadata.go index 430c577f982..3b18000379a 100644 --- a/service/evidently/go_module_metadata.go +++ b/service/evidently/go_module_metadata.go @@ -3,4 +3,4 @@ package evidently // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.1" +const goModuleVersion = "1.7.2" diff --git a/service/finspace/CHANGELOG.md b/service/finspace/CHANGELOG.md index f56699c1350..bbd449519bd 100644 --- a/service/finspace/CHANGELOG.md +++ b/service/finspace/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.8.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/finspace/go.mod b/service/finspace/go.mod index 1f82f93e8dc..a1334fa2e04 100644 --- a/service/finspace/go.mod +++ b/service/finspace/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/finspace go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/finspace/go.sum b/service/finspace/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/finspace/go.sum +++ b/service/finspace/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/finspace/go_module_metadata.go b/service/finspace/go_module_metadata.go index 2387c9c36a7..6e8279da577 100644 --- a/service/finspace/go_module_metadata.go +++ b/service/finspace/go_module_metadata.go @@ -3,4 +3,4 @@ package finspace // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.5" +const goModuleVersion = "1.8.6" diff --git a/service/finspacedata/CHANGELOG.md b/service/finspacedata/CHANGELOG.md index 4895203babc..af7c9f858fd 100644 --- a/service/finspacedata/CHANGELOG.md +++ b/service/finspacedata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.10.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/finspacedata/go.mod b/service/finspacedata/go.mod index dc7b40ca14f..654d05eb8e5 100644 --- a/service/finspacedata/go.mod +++ b/service/finspacedata/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/finspacedata go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/finspacedata/go.sum b/service/finspacedata/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/finspacedata/go.sum +++ b/service/finspacedata/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/finspacedata/go_module_metadata.go b/service/finspacedata/go_module_metadata.go index c07da0ad622..cdd2bd50d8a 100644 --- a/service/finspacedata/go_module_metadata.go +++ b/service/finspacedata/go_module_metadata.go @@ -3,4 +3,4 @@ package finspacedata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.6" +const goModuleVersion = "1.10.7" diff --git a/service/firehose/CHANGELOG.md b/service/firehose/CHANGELOG.md index df1c2ce85c7..b856eb6377a 100644 --- a/service/firehose/CHANGELOG.md +++ b/service/firehose/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/firehose/go.mod b/service/firehose/go.mod index c5e5a45cfe5..d2e4238ba12 100644 --- a/service/firehose/go.mod +++ b/service/firehose/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/firehose go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/firehose/go.sum b/service/firehose/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/firehose/go.sum +++ b/service/firehose/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/firehose/go_module_metadata.go b/service/firehose/go_module_metadata.go index 5acf05dfdee..ab6a6026ab1 100644 --- a/service/firehose/go_module_metadata.go +++ b/service/firehose/go_module_metadata.go @@ -3,4 +3,4 @@ package firehose // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.6" +const goModuleVersion = "1.14.7" diff --git a/service/fis/CHANGELOG.md b/service/fis/CHANGELOG.md index 86b5f002c54..683f584939a 100644 --- a/service/fis/CHANGELOG.md +++ b/service/fis/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/fis/go.mod b/service/fis/go.mod index 31fdc66629e..a66f1387acf 100644 --- a/service/fis/go.mod +++ b/service/fis/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/fis go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/fis/go.sum b/service/fis/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/fis/go.sum +++ b/service/fis/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/fis/go_module_metadata.go b/service/fis/go_module_metadata.go index 7cd347324ce..4f7c9bc072b 100644 --- a/service/fis/go_module_metadata.go +++ b/service/fis/go_module_metadata.go @@ -3,4 +3,4 @@ package fis // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/fms/CHANGELOG.md b/service/fms/CHANGELOG.md index d58f12b5eb1..2e1f6a0586e 100644 --- a/service/fms/CHANGELOG.md +++ b/service/fms/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/fms/go.mod b/service/fms/go.mod index 459ba191740..8e1abf02d83 100644 --- a/service/fms/go.mod +++ b/service/fms/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/fms go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/fms/go.sum b/service/fms/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/fms/go.sum +++ b/service/fms/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/fms/go_module_metadata.go b/service/fms/go_module_metadata.go index 9d6a5133f50..6e0d8056566 100644 --- a/service/fms/go_module_metadata.go +++ b/service/fms/go_module_metadata.go @@ -3,4 +3,4 @@ package fms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/forecast/CHANGELOG.md b/service/forecast/CHANGELOG.md index e8e41b93313..619988c70fa 100644 --- a/service/forecast/CHANGELOG.md +++ b/service/forecast/CHANGELOG.md @@ -1,3 +1,19 @@ +# v1.22.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.22.0 (2022-06-01) + +* **Feature**: Added Format field to Import and Export APIs in Amazon Forecast. Added TimeSeriesSelector to Create Forecast API. + +# v1.21.0 (2022-05-26) + +* **Feature**: Introduced a new field in Auto Predictor as Time Alignment Boundary. It helps in aligning the timestamps generated during Forecast exports + +# v1.20.0 (2022-05-23) + +* **Feature**: New APIs for Monitor that help you understand how your predictors perform over time. + # v1.19.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/forecast/api_op_CreateAutoPredictor.go b/service/forecast/api_op_CreateAutoPredictor.go index 4f759968679..c1c9c64f907 100644 --- a/service/forecast/api_op_CreateAutoPredictor.go +++ b/service/forecast/api_op_CreateAutoPredictor.go @@ -27,21 +27,21 @@ import ( // granularity of your forecasts (hourly, daily, weekly, etc). // // * ForecastHorizon - -// The number of time steps being forecasted. +// The number of time-steps that the model predicts. The forecast horizon is also +// called the prediction length. // -// When creating a new predictor, do -// not specify a value for ReferencePredictorArn. Upgrading and retraining -// predictors The following parameters are required when retraining or upgrading a -// predictor: -// -// * PredictorName - A unique name for the predictor. +// When creating a new predictor, do not specify a +// value for ReferencePredictorArn. Upgrading and retraining predictors The +// following parameters are required when retraining or upgrading a predictor: // // * -// ReferencePredictorArn - The ARN of the predictor to retrain or upgrade. +// PredictorName - A unique name for the predictor. +// +// * ReferencePredictorArn - The +// ARN of the predictor to retrain or upgrade. // -// When -// upgrading or retraining a predictor, only specify values for the -// ReferencePredictorArn and PredictorName. +// When upgrading or retraining a +// predictor, only specify values for the ReferencePredictorArn and PredictorName. func (c *Client) CreateAutoPredictor(ctx context.Context, params *CreateAutoPredictorInput, optFns ...func(*Options)) (*CreateAutoPredictorOutput, error) { if params == nil { params = &CreateAutoPredictorInput{} @@ -91,7 +91,13 @@ type CreateAutoPredictorInput struct { ForecastFrequency *string // The number of time-steps that the model predicts. The forecast horizon is also - // called the prediction length. + // called the prediction length. The maximum forecast horizon is the lesser of 500 + // time-steps or 1/4 of the TARGET_TIME_SERIES dataset length. If you are + // retraining an existing AutoPredictor, then the maximum forecast horizon is the + // lesser of 500 time-steps or 1/3 of the TARGET_TIME_SERIES dataset length. If you + // are upgrading to an AutoPredictor or retraining an existing AutoPredictor, you + // cannot update the forecast horizon parameter. You can meet this requirement by + // providing longer time-series in the dataset. ForecastHorizon *int32 // The forecast types used to train a predictor. You can specify up to five @@ -99,6 +105,13 @@ type CreateAutoPredictorInput struct { // of 0.01 or higher. You can also specify the mean forecast with mean. ForecastTypes []string + // The configuration details for predictor monitoring. Provide a name for the + // monitor resource to enable predictor monitoring. Predictor monitoring allows you + // to see how your predictor's performance changes over time. For more information, + // see Predictor Monitoring + // (https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring.html). + MonitorConfig *types.MonitorConfig + // The accuracy metric used to optimize the predictor. OptimizationMetric types.OptimizationMetric @@ -137,6 +150,16 @@ type CreateAutoPredictorInput struct { // tags per resource limit. You cannot edit or delete tag keys with this prefix. Tags []types.Tag + // The time boundary Forecast uses to align and aggregate any data that doesn't + // align with your forecast frequency. Provide the unit of time and the time + // boundary as a key value pair. For more information on specifying a time + // boundary, see Specifying a Time Boundary + // (https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#specifying-time-boundary). + // If you don't provide a time boundary, Forecast uses a set of Default Time + // Boundaries + // (https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#default-time-boundaries). + TimeAlignmentBoundary *types.TimeAlignmentBoundary + noSmithyDocumentSerde } diff --git a/service/forecast/api_op_CreateDataset.go b/service/forecast/api_op_CreateDataset.go index dc02a85ecd0..1a61143ebde 100644 --- a/service/forecast/api_op_CreateDataset.go +++ b/service/forecast/api_op_CreateDataset.go @@ -30,12 +30,16 @@ import ( // After creating a // dataset, you import your training data into it and add the dataset to a dataset // group. You use the dataset group to create a predictor. For more information, -// see howitworks-datasets-groups. To get a list of all your datasets, use the -// ListDatasets operation. For example Forecast datasets, see the Amazon Forecast -// Sample GitHub repository -// (https://github.com/aws-samples/amazon-forecast-samples). The Status of a -// dataset must be ACTIVE before you can import training data. Use the -// DescribeDataset operation to get the status. +// see Importing datasets +// (https://docs.aws.amazon.com/forecast/latest/dg/howitworks-datasets-groups.html). +// To get a list of all your datasets, use the ListDatasets +// (https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasets.html) +// operation. For example Forecast datasets, see the Amazon Forecast Sample GitHub +// repository (https://github.com/aws-samples/amazon-forecast-samples). The Status +// of a dataset must be ACTIVE before you can import training data. Use the +// DescribeDataset +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDataset.html) +// operation to get the status. func (c *Client) CreateDataset(ctx context.Context, params *CreateDatasetInput, optFns ...func(*Options)) (*CreateDatasetOutput, error) { if params == nil { params = &CreateDatasetInput{} @@ -65,12 +69,14 @@ type CreateDatasetInput struct { // The domain associated with the dataset. When you add a dataset to a dataset // group, this value and the value specified for the Domain parameter of the - // CreateDatasetGroup operation must match. The Domain and DatasetType that you - // choose determine the fields that must be present in the training data that you - // import to the dataset. For example, if you choose the RETAIL domain and - // TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires item_id, - // timestamp, and demand fields to be present in your data. For more information, - // see howitworks-datasets-groups. + // CreateDatasetGroup + // (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html) + // operation must match. The Domain and DatasetType that you choose determine the + // fields that must be present in the training data that you import to the dataset. + // For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the + // DatasetType, Amazon Forecast requires item_id, timestamp, and demand fields to + // be present in your data. For more information, see Importing datasets + // (https://docs.aws.amazon.com/forecast/latest/dg/howitworks-datasets-groups.html). // // This member is required. Domain types.Domain @@ -78,8 +84,9 @@ type CreateDatasetInput struct { // The schema for the dataset. The schema attributes and their order must match the // fields in your data. The dataset Domain and DatasetType that you choose // determine the minimum required fields in your training data. For information - // about the required fields for a specific dataset domain and type, see - // howitworks-domains-ds-types. + // about the required fields for a specific dataset domain and type, see Dataset + // Domains and Dataset Types + // (https://docs.aws.amazon.com/forecast/latest/dg/howitworks-domains-ds-types.html). // // This member is required. Schema *types.Schema diff --git a/service/forecast/api_op_CreateDatasetGroup.go b/service/forecast/api_op_CreateDatasetGroup.go index 9ce27b81a99..918db543904 100644 --- a/service/forecast/api_op_CreateDatasetGroup.go +++ b/service/forecast/api_op_CreateDatasetGroup.go @@ -13,12 +13,19 @@ import ( // Creates a dataset group, which holds a collection of related datasets. You can // add datasets to the dataset group when you create the dataset group, or later by -// using the UpdateDatasetGroup operation. After creating a dataset group and -// adding datasets, you use the dataset group when you create a predictor. For more -// information, see howitworks-datasets-groups. To get a list of all your datasets -// groups, use the ListDatasetGroups operation. The Status of a dataset group must -// be ACTIVE before you can use the dataset group to create a predictor. To get the -// status, use the DescribeDatasetGroup operation. +// using the UpdateDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_UpdateDatasetGroup.html) +// operation. After creating a dataset group and adding datasets, you use the +// dataset group when you create a predictor. For more information, see Dataset +// groups +// (https://docs.aws.amazon.com/forecast/latest/dg/howitworks-datasets-groups.html). +// To get a list of all your datasets groups, use the ListDatasetGroups +// (https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetGroups.html) +// operation. The Status of a dataset group must be ACTIVE before you can use the +// dataset group to create a predictor. To get the status, use the +// DescribeDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html) +// operation. func (c *Client) CreateDatasetGroup(ctx context.Context, params *CreateDatasetGroupInput, optFns ...func(*Options)) (*CreateDatasetGroupOutput, error) { if params == nil { params = &CreateDatasetGroupInput{} @@ -43,12 +50,14 @@ type CreateDatasetGroupInput struct { // The domain associated with the dataset group. When you add a dataset to a // dataset group, this value and the value specified for the Domain parameter of - // the CreateDataset operation must match. The Domain and DatasetType that you - // choose determine the fields that must be present in training data that you - // import to a dataset. For example, if you choose the RETAIL domain and - // TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires that item_id, - // timestamp, and demand fields are present in your data. For more information, see - // howitworks-datasets-groups. + // the CreateDataset + // (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html) + // operation must match. The Domain and DatasetType that you choose determine the + // fields that must be present in training data that you import to a dataset. For + // example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the + // DatasetType, Amazon Forecast requires that item_id, timestamp, and demand fields + // are present in your data. For more information, see Dataset groups + // (https://docs.aws.amazon.com/forecast/latest/dg/howitworks-datasets-groups.html). // // This member is required. Domain types.Domain diff --git a/service/forecast/api_op_CreateDatasetImportJob.go b/service/forecast/api_op_CreateDatasetImportJob.go index 85d49e2b773..14f285807a5 100644 --- a/service/forecast/api_op_CreateDatasetImportJob.go +++ b/service/forecast/api_op_CreateDatasetImportJob.go @@ -14,19 +14,25 @@ import ( // Imports your training data to an Amazon Forecast dataset. You provide the // location of your training data in an Amazon Simple Storage Service (Amazon S3) // bucket and the Amazon Resource Name (ARN) of the dataset that you want to import -// the data to. You must specify a DataSource object that includes an AWS Identity -// and Access Management (IAM) role that Amazon Forecast can assume to access the -// data, as Amazon Forecast makes a copy of your data and processes it in an -// internal AWS system. For more information, see aws-forecast-iam-roles. The -// training data must be in CSV format. The delimiter must be a comma (,). You can -// specify the path to a specific CSV file, the S3 bucket, or to a folder in the S3 -// bucket. For the latter two cases, Amazon Forecast imports all files up to the -// limit of 10,000 files. Because dataset imports are not aggregated, your most -// recent dataset import is the one that is used when training a predictor or -// generating a forecast. Make sure that your most recent dataset import contains -// all of the data you want to model off of, and not just the new data collected -// since the previous import. To get a list of all your dataset import jobs, -// filtered by specified criteria, use the ListDatasetImportJobs operation. +// the data to. You must specify a DataSource +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DataSource.html) object that +// includes an AWS Identity and Access Management (IAM) role that Amazon Forecast +// can assume to access the data, as Amazon Forecast makes a copy of your data and +// processes it in an internal AWS system. For more information, see Set up +// permissions +// (https://docs.aws.amazon.com/forecast/latest/dg/aws-forecast-iam-roles.html). +// The training data must be in CSV or Parquet format. The delimiter must be a +// comma (,). You can specify the path to a specific file, the S3 bucket, or to a +// folder in the S3 bucket. For the latter two cases, Amazon Forecast imports all +// files up to the limit of 10,000 files. Because dataset imports are not +// aggregated, your most recent dataset import is the one that is used when +// training a predictor or generating a forecast. Make sure that your most recent +// dataset import contains all of the data you want to model off of, and not just +// the new data collected since the previous import. To get a list of all your +// dataset import jobs, filtered by specified criteria, use the +// ListDatasetImportJobs +// (https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetImportJobs.html) +// operation. func (c *Client) CreateDatasetImportJob(ctx context.Context, params *CreateDatasetImportJobInput, optFns ...func(*Options)) (*CreateDatasetImportJobOutput, error) { if params == nil { params = &CreateDatasetImportJobInput{} @@ -50,7 +56,9 @@ type CreateDatasetImportJobInput struct { // DataSource must include an AWS Key Management Service (KMS) key and the IAM role // must allow Amazon Forecast permission to access the key. The KMS key and IAM // role must match those specified in the EncryptionConfig parameter of the - // CreateDataset operation. + // CreateDataset + // (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html) + // operation. // // This member is required. DataSource *types.DataSource @@ -68,6 +76,9 @@ type CreateDatasetImportJobInput struct { // This member is required. DatasetImportJobName *string + // The format of the imported data, CSV or PARQUET. The default value is CSV. + Format *string + // The format of the geolocation attribute. The geolocation attribute can be // formatted in one of two ways: // diff --git a/service/forecast/api_op_CreateExplainability.go b/service/forecast/api_op_CreateExplainability.go index 68aa78a27f0..d9b8dc70e41 100644 --- a/service/forecast/api_op_CreateExplainability.go +++ b/service/forecast/api_op_CreateExplainability.go @@ -124,7 +124,7 @@ type CreateExplainabilityInput struct { // Service (KMS) key. DataSource *types.DataSource - // Create an Expainability visualization that is viewable within the AWS console. + // Create an Explainability visualization that is viewable within the AWS console. EnableVisualization *bool // If TimePointGranularity is set to SPECIFIC, define the last time point for the diff --git a/service/forecast/api_op_CreateExplainabilityExport.go b/service/forecast/api_op_CreateExplainabilityExport.go index b575e614e82..80b47c9d52d 100644 --- a/service/forecast/api_op_CreateExplainabilityExport.go +++ b/service/forecast/api_op_CreateExplainabilityExport.go @@ -53,6 +53,9 @@ type CreateExplainabilityExportInput struct { // This member is required. ExplainabilityExportName *string + // The format of the exported data, CSV or PARQUET. + Format *string + // Optional metadata to help you categorize and organize your resources. Each tag // consists of a key and an optional value, both of which you define. Tag keys and // values are case sensitive. The following restrictions apply to tags: diff --git a/service/forecast/api_op_CreateForecast.go b/service/forecast/api_op_CreateForecast.go index 3ecb47d6c8f..40cd6b3b276 100644 --- a/service/forecast/api_op_CreateForecast.go +++ b/service/forecast/api_op_CreateForecast.go @@ -23,7 +23,12 @@ import ( // dataset that was used to create the predictor. For more information, see // howitworks-forecast. The Status of the forecast must be ACTIVE before you can // query or export the forecast. Use the DescribeForecast operation to get the -// status. +// status. By default, a forecast includes predictions for every item (item_id) in +// the dataset group that was used to train the predictor. However, you can use the +// TimeSeriesSelector object to generate a forecast on a subset of time series. +// Forecast creation is skipped for any time series that you specify that are not +// in the input dataset. The forecast export file will not contain these time +// series or their forecasted values. func (c *Client) CreateForecast(ctx context.Context, params *CreateForecastInput, optFns ...func(*Options)) (*CreateForecastOutput, error) { if params == nil { params = &CreateForecastInput{} @@ -55,7 +60,9 @@ type CreateForecastInput struct { // specify up to 5 quantiles per forecast. Accepted values include 0.01 to 0.99 // (increments of .01 only) and mean. The mean forecast is different from the // median (0.50) when the distribution is not symmetric (for example, Beta and - // Negative Binomial). The default value is ["0.1", "0.5", "0.9"]. + // Negative Binomial). The default quantiles are the quantiles you specified during + // predictor creation. If you didn't specify quantiles, the default values are + // ["0.1", "0.5", "0.9"]. ForecastTypes []string // The optional metadata that you apply to the forecast to help you categorize and @@ -90,6 +97,17 @@ type CreateForecastInput struct { // prefix of aws do not count against your tags per resource limit. Tags []types.Tag + // Defines the set of time series that are used to create the forecasts in a + // TimeSeriesIdentifiers object. The TimeSeriesIdentifiers object needs the + // following information: + // + // * DataSource + // + // * Format + // + // * Schema + TimeSeriesSelector *types.TimeSeriesSelector + noSmithyDocumentSerde } diff --git a/service/forecast/api_op_CreateForecastExportJob.go b/service/forecast/api_op_CreateForecastExportJob.go index cb0c0ad40de..1db5a2f0311 100644 --- a/service/forecast/api_op_CreateForecastExportJob.go +++ b/service/forecast/api_op_CreateForecastExportJob.go @@ -58,6 +58,9 @@ type CreateForecastExportJobInput struct { // This member is required. ForecastExportJobName *string + // The format of the exported data, CSV or PARQUET. The default value is CSV. + Format *string + // The optional metadata that you apply to the forecast export job to help you // categorize and organize them. Each tag consists of a key and an optional value, // both of which you define. The following basic restrictions apply to tags: diff --git a/service/forecast/api_op_CreateMonitor.go b/service/forecast/api_op_CreateMonitor.go new file mode 100644 index 00000000000..ea6b1b221ce --- /dev/null +++ b/service/forecast/api_op_CreateMonitor.go @@ -0,0 +1,134 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package forecast + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/forecast/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a predictor monitor resource for an existing auto predictor. Predictor +// monitoring allows you to see how your predictor's performance changes over time. +// For more information, see Predictor Monitoring +// (https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring.html). +func (c *Client) CreateMonitor(ctx context.Context, params *CreateMonitorInput, optFns ...func(*Options)) (*CreateMonitorOutput, error) { + if params == nil { + params = &CreateMonitorInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateMonitor", params, optFns, c.addOperationCreateMonitorMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateMonitorOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateMonitorInput struct { + + // The name of the monitor resource. + // + // This member is required. + MonitorName *string + + // The Amazon Resource Name (ARN) of the predictor to monitor. + // + // This member is required. + ResourceArn *string + + // A list of tags + // (https://docs.aws.amazon.com/forecast/latest/dg/tagging-forecast-resources.html) + // to apply to the monitor resource. + Tags []types.Tag + + noSmithyDocumentSerde +} + +type CreateMonitorOutput struct { + + // The Amazon Resource Name (ARN) of the monitor resource. + MonitorArn *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpCreateMonitor{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpCreateMonitor{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateMonitorValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMonitor(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateMonitor(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "forecast", + OperationName: "CreateMonitor", + } +} diff --git a/service/forecast/api_op_CreatePredictorBacktestExportJob.go b/service/forecast/api_op_CreatePredictorBacktestExportJob.go index 324ab1fcd53..258d7f692f8 100644 --- a/service/forecast/api_op_CreatePredictorBacktestExportJob.go +++ b/service/forecast/api_op_CreatePredictorBacktestExportJob.go @@ -12,15 +12,15 @@ import ( ) // Exports backtest forecasts and accuracy metrics generated by the -// CreateAutoPredictor or CreatePredictor operations. Two folders containing CSV -// files are exported to your specified S3 bucket. The export file names will match -// the following conventions: __.csv The component is in Java SimpleDate format -// (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that includes -// an Amazon S3 bucket and an AWS Identity and Access Management (IAM) role that -// Amazon Forecast can assume to access the Amazon S3 bucket. For more information, -// see aws-forecast-iam-roles. The Status of the export job must be ACTIVE before -// you can access the export in your Amazon S3 bucket. To get the status, use the -// DescribePredictorBacktestExportJob operation. +// CreateAutoPredictor or CreatePredictor operations. Two folders containing CSV or +// Parquet files are exported to your specified S3 bucket. The export file names +// will match the following conventions: __.csv The component is in Java SimpleDate +// format (yyyy-MM-ddTHH-mm-ssZ). You must specify a DataDestination object that +// includes an Amazon S3 bucket and an AWS Identity and Access Management (IAM) +// role that Amazon Forecast can assume to access the Amazon S3 bucket. For more +// information, see aws-forecast-iam-roles. The Status of the export job must be +// ACTIVE before you can access the export in your Amazon S3 bucket. To get the +// status, use the DescribePredictorBacktestExportJob operation. func (c *Client) CreatePredictorBacktestExportJob(ctx context.Context, params *CreatePredictorBacktestExportJobInput, optFns ...func(*Options)) (*CreatePredictorBacktestExportJobOutput, error) { if params == nil { params = &CreatePredictorBacktestExportJobInput{} @@ -55,6 +55,9 @@ type CreatePredictorBacktestExportJobInput struct { // This member is required. PredictorBacktestExportJobName *string + // The format of the exported data, CSV or PARQUET. The default value is CSV. + Format *string + // Optional metadata to help you categorize and organize your backtests. Each tag // consists of a key and an optional value, both of which you define. Tag keys and // values are case sensitive. The following restrictions apply to tags: diff --git a/service/forecast/api_op_DeleteDataset.go b/service/forecast/api_op_DeleteDataset.go index b62bc116a77..816338ec1a1 100644 --- a/service/forecast/api_op_DeleteDataset.go +++ b/service/forecast/api_op_DeleteDataset.go @@ -11,11 +11,15 @@ import ( ) // Deletes an Amazon Forecast dataset that was created using the CreateDataset +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html) // operation. You can only delete datasets that have a status of ACTIVE or -// CREATE_FAILED. To get the status use the DescribeDataset operation. Forecast -// does not automatically update any dataset groups that contain the deleted -// dataset. In order to update the dataset group, use the operation, omitting the -// deleted dataset's ARN. +// CREATE_FAILED. To get the status use the DescribeDataset +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDataset.html) +// operation. Forecast does not automatically update any dataset groups that +// contain the deleted dataset. In order to update the dataset group, use the +// UpdateDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_UpdateDatasetGroup.html) +// operation, omitting the deleted dataset's ARN. func (c *Client) DeleteDataset(ctx context.Context, params *DeleteDatasetInput, optFns ...func(*Options)) (*DeleteDatasetOutput, error) { if params == nil { params = &DeleteDatasetInput{} diff --git a/service/forecast/api_op_DeleteDatasetGroup.go b/service/forecast/api_op_DeleteDatasetGroup.go index 7c6d386c7e3..4189c963d7b 100644 --- a/service/forecast/api_op_DeleteDatasetGroup.go +++ b/service/forecast/api_op_DeleteDatasetGroup.go @@ -10,10 +10,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a dataset group created using the CreateDatasetGroup operation. You can -// only delete dataset groups that have a status of ACTIVE, CREATE_FAILED, or -// UPDATE_FAILED. To get the status, use the DescribeDatasetGroup operation. This -// operation deletes only the dataset group, not the datasets in the group. +// Deletes a dataset group created using the CreateDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html) +// operation. You can only delete dataset groups that have a status of ACTIVE, +// CREATE_FAILED, or UPDATE_FAILED. To get the status, use the DescribeDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html) +// operation. This operation deletes only the dataset group, not the datasets in +// the group. func (c *Client) DeleteDatasetGroup(ctx context.Context, params *DeleteDatasetGroupInput, optFns ...func(*Options)) (*DeleteDatasetGroupOutput, error) { if params == nil { params = &DeleteDatasetGroupInput{} diff --git a/service/forecast/api_op_DeleteDatasetImportJob.go b/service/forecast/api_op_DeleteDatasetImportJob.go index b1d61716d85..6cbc83f5cff 100644 --- a/service/forecast/api_op_DeleteDatasetImportJob.go +++ b/service/forecast/api_op_DeleteDatasetImportJob.go @@ -10,9 +10,12 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a dataset import job created using the CreateDatasetImportJob operation. -// You can delete only dataset import jobs that have a status of ACTIVE or -// CREATE_FAILED. To get the status, use the DescribeDatasetImportJob operation. +// Deletes a dataset import job created using the CreateDatasetImportJob +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) +// operation. You can delete only dataset import jobs that have a status of ACTIVE +// or CREATE_FAILED. To get the status, use the DescribeDatasetImportJob +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetImportJob.html) +// operation. func (c *Client) DeleteDatasetImportJob(ctx context.Context, params *DeleteDatasetImportJobInput, optFns ...func(*Options)) (*DeleteDatasetImportJobOutput, error) { if params == nil { params = &DeleteDatasetImportJobInput{} diff --git a/service/forecast/api_op_DeleteMonitor.go b/service/forecast/api_op_DeleteMonitor.go new file mode 100644 index 00000000000..c8500085a40 --- /dev/null +++ b/service/forecast/api_op_DeleteMonitor.go @@ -0,0 +1,117 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package forecast + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a monitor resource. You can only delete a monitor resource with a status +// of ACTIVE, ACTIVE_STOPPED, CREATE_FAILED, or CREATE_STOPPED. +func (c *Client) DeleteMonitor(ctx context.Context, params *DeleteMonitorInput, optFns ...func(*Options)) (*DeleteMonitorOutput, error) { + if params == nil { + params = &DeleteMonitorInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteMonitor", params, optFns, c.addOperationDeleteMonitorMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteMonitorOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteMonitorInput struct { + + // The Amazon Resource Name (ARN) of the monitor resource to delete. + // + // This member is required. + MonitorArn *string + + noSmithyDocumentSerde +} + +type DeleteMonitorOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDeleteMonitor{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDeleteMonitor{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteMonitorValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMonitor(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteMonitor(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "forecast", + OperationName: "DeleteMonitor", + } +} diff --git a/service/forecast/api_op_DescribeAutoPredictor.go b/service/forecast/api_op_DescribeAutoPredictor.go index 6d608ae04d4..d838cc6ca4a 100644 --- a/service/forecast/api_op_DescribeAutoPredictor.go +++ b/service/forecast/api_op_DescribeAutoPredictor.go @@ -100,6 +100,9 @@ type DescribeAutoPredictorOutput struct { // In the event of an error, a message detailing the cause of the error. Message *string + // A object with the Amazon Resource Name (ARN) and status of the monitor resource. + MonitorInfo *types.MonitorInfo + // The accuracy metric used to optimize the predictor. OptimizationMetric types.OptimizationMetric @@ -126,6 +129,9 @@ type DescribeAutoPredictorOutput struct { // DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED Status *string + // The time boundary Forecast uses when aggregating data. + TimeAlignmentBoundary *types.TimeAlignmentBoundary + // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/forecast/api_op_DescribeDataset.go b/service/forecast/api_op_DescribeDataset.go index 15f179b4263..d819caa54c4 100644 --- a/service/forecast/api_op_DescribeDataset.go +++ b/service/forecast/api_op_DescribeDataset.go @@ -12,14 +12,15 @@ import ( "time" ) -// Describes an Amazon Forecast dataset created using the CreateDataset operation. -// In addition to listing the parameters specified in the CreateDataset request, -// this operation includes the following dataset properties: -// -// * CreationTime +// Describes an Amazon Forecast dataset created using the CreateDataset +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html) +// operation. In addition to listing the parameters specified in the CreateDataset +// request, this operation includes the following dataset properties: // // * -// LastModificationTime +// CreationTime +// +// * LastModificationTime // // * Status func (c *Client) DescribeDataset(ctx context.Context, params *DescribeDatasetInput, optFns ...func(*Options)) (*DescribeDatasetOutput, error) { @@ -76,8 +77,10 @@ type DescribeDatasetOutput struct { // When you create a dataset, LastModificationTime is the same as CreationTime. // While data is being imported to the dataset, LastModificationTime is the current - // time of the DescribeDataset call. After a CreateDatasetImportJob operation has - // finished, LastModificationTime is when the import job completed or failed. + // time of the DescribeDataset call. After a CreateDatasetImportJob + // (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) + // operation has finished, LastModificationTime is when the import job completed or + // failed. LastModificationTime *time.Time // An array of SchemaAttribute objects that specify the dataset fields. Each @@ -98,10 +101,12 @@ type DescribeDatasetOutput struct { // // The UPDATE // states apply while data is imported to the dataset from a call to the - // CreateDatasetImportJob operation and reflect the status of the dataset import - // job. For example, when the import job status is CREATE_IN_PROGRESS, the status - // of the dataset is UPDATE_IN_PROGRESS. The Status of the dataset must be ACTIVE - // before you can import training data. + // CreateDatasetImportJob + // (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) + // operation and reflect the status of the dataset import job. For example, when + // the import job status is CREATE_IN_PROGRESS, the status of the dataset is + // UPDATE_IN_PROGRESS. The Status of the dataset must be ACTIVE before you can + // import training data. Status *string // Metadata pertaining to the operation's result. diff --git a/service/forecast/api_op_DescribeDatasetGroup.go b/service/forecast/api_op_DescribeDatasetGroup.go index 199136d0725..9642726170b 100644 --- a/service/forecast/api_op_DescribeDatasetGroup.go +++ b/service/forecast/api_op_DescribeDatasetGroup.go @@ -12,16 +12,18 @@ import ( "time" ) -// Describes a dataset group created using the CreateDatasetGroup operation. In -// addition to listing the parameters provided in the CreateDatasetGroup request, -// this operation includes the following properties: +// Describes a dataset group created using the CreateDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html) +// operation. In addition to listing the parameters provided in the +// CreateDatasetGroup request, this operation includes the following properties: // -// * DatasetArns - The datasets -// belonging to the group. +// * +// DatasetArns - The datasets belonging to the group. // // * CreationTime // -// * LastModificationTime +// * +// LastModificationTime // // * Status func (c *Client) DescribeDatasetGroup(ctx context.Context, params *DescribeDatasetGroupInput, optFns ...func(*Options)) (*DescribeDatasetGroupOutput, error) { @@ -68,8 +70,10 @@ type DescribeDatasetGroupOutput struct { Domain types.Domain // When the dataset group was created or last updated from a call to the - // UpdateDatasetGroup operation. While the dataset group is being updated, - // LastModificationTime is the current time of the DescribeDatasetGroup call. + // UpdateDatasetGroup + // (https://docs.aws.amazon.com/forecast/latest/dg/API_UpdateDatasetGroup.html) + // operation. While the dataset group is being updated, LastModificationTime is the + // current time of the DescribeDatasetGroup call. LastModificationTime *time.Time // The status of the dataset group. States include: @@ -85,9 +89,10 @@ type DescribeDatasetGroupOutput struct { // * UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED // // The UPDATE - // states apply when you call the UpdateDatasetGroup operation. The Status of the - // dataset group must be ACTIVE before you can use the dataset group to create a - // predictor. + // states apply when you call the UpdateDatasetGroup + // (https://docs.aws.amazon.com/forecast/latest/dg/API_UpdateDatasetGroup.html) + // operation. The Status of the dataset group must be ACTIVE before you can use the + // dataset group to create a predictor. Status *string // Metadata pertaining to the operation's result. diff --git a/service/forecast/api_op_DescribeDatasetImportJob.go b/service/forecast/api_op_DescribeDatasetImportJob.go index 40cd4fd5a42..d60f9d4d14a 100644 --- a/service/forecast/api_op_DescribeDatasetImportJob.go +++ b/service/forecast/api_op_DescribeDatasetImportJob.go @@ -13,6 +13,7 @@ import ( ) // Describes a dataset import job created using the CreateDatasetImportJob +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) // operation. In addition to listing the parameters provided in the // CreateDatasetImportJob request, this operation includes the following // properties: @@ -84,6 +85,9 @@ type DescribeDatasetImportJobOutput struct { // Statistical information about each field in the input data. FieldStatistics map[string]types.Statistics + // The format of the imported data, CSV or PARQUET. + Format *string + // The format of the geolocation attribute. Valid Values:"LAT_LONG" and // "CC_POSTALCODE". GeolocationFormat *string diff --git a/service/forecast/api_op_DescribeExplainabilityExport.go b/service/forecast/api_op_DescribeExplainabilityExport.go index 35711227dfa..0170989829b 100644 --- a/service/forecast/api_op_DescribeExplainabilityExport.go +++ b/service/forecast/api_op_DescribeExplainabilityExport.go @@ -49,7 +49,7 @@ type DescribeExplainabilityExportOutput struct { // and an AWS Key Management Service (KMS) key (optional). Destination *types.DataDestination - // The Amazon Resource Name (ARN) of the Explainability. + // The Amazon Resource Name (ARN) of the Explainability export. ExplainabilityArn *string // The Amazon Resource Name (ARN) of the Explainability export. @@ -58,6 +58,9 @@ type DescribeExplainabilityExportOutput struct { // The name of the Explainability export. ExplainabilityExportName *string + // The format of the exported data, CSV or PARQUET. + Format *string + // The last time the resource was modified. The timestamp depends on the status of // the job: // diff --git a/service/forecast/api_op_DescribeForecast.go b/service/forecast/api_op_DescribeForecast.go index c7d0a5afdbb..7298b806ba1 100644 --- a/service/forecast/api_op_DescribeForecast.go +++ b/service/forecast/api_op_DescribeForecast.go @@ -6,6 +6,7 @@ import ( "context" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/forecast/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" "time" @@ -110,6 +111,9 @@ type DescribeForecastOutput struct { // must be ACTIVE before you can query or export the forecast. Status *string + // The time series to include in the forecast. + TimeSeriesSelector *types.TimeSeriesSelector + // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/forecast/api_op_DescribeForecastExportJob.go b/service/forecast/api_op_DescribeForecastExportJob.go index 8bb449dd70a..de19217d3b8 100644 --- a/service/forecast/api_op_DescribeForecastExportJob.go +++ b/service/forecast/api_op_DescribeForecastExportJob.go @@ -68,6 +68,9 @@ type DescribeForecastExportJobOutput struct { // The name of the forecast export job. ForecastExportJobName *string + // The format of the exported data, CSV or PARQUET. + Format *string + // The last time the resource was modified. The timestamp depends on the status of // the job: // diff --git a/service/forecast/api_op_DescribeMonitor.go b/service/forecast/api_op_DescribeMonitor.go new file mode 100644 index 00000000000..c7c30276191 --- /dev/null +++ b/service/forecast/api_op_DescribeMonitor.go @@ -0,0 +1,171 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package forecast + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/forecast/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Describes a monitor resource. In addition to listing the properties provided in +// the CreateMonitor request, this operation lists the following properties: +// +// * +// Baseline +// +// * CreationTime +// +// * LastEvaluationTime +// +// * LastEvaluationState +// +// * +// LastModificationTime +// +// * Message +// +// * Status +func (c *Client) DescribeMonitor(ctx context.Context, params *DescribeMonitorInput, optFns ...func(*Options)) (*DescribeMonitorOutput, error) { + if params == nil { + params = &DescribeMonitorInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DescribeMonitor", params, optFns, c.addOperationDescribeMonitorMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DescribeMonitorOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DescribeMonitorInput struct { + + // The Amazon Resource Name (ARN) of the monitor resource to describe. + // + // This member is required. + MonitorArn *string + + noSmithyDocumentSerde +} + +type DescribeMonitorOutput struct { + + // Metrics you can use as a baseline for comparison purposes. Use these values you + // interpret monitoring results for an auto predictor. + Baseline *types.Baseline + + // The timestamp for when the monitor resource was created. + CreationTime *time.Time + + // The estimated number of minutes remaining before the monitor resource finishes + // its current evaluation. + EstimatedEvaluationTimeRemainingInMinutes *int64 + + // The state of the monitor's latest evaluation. + LastEvaluationState *string + + // The timestamp of the latest evaluation completed by the monitor. + LastEvaluationTime *time.Time + + // The timestamp of the latest modification to the monitor. + LastModificationTime *time.Time + + // An error message, if any, for the monitor. + Message *string + + // The Amazon Resource Name (ARN) of the monitor resource described. + MonitorArn *string + + // The name of the monitor. + MonitorName *string + + // The Amazon Resource Name (ARN) of the auto predictor being monitored. + ResourceArn *string + + // The status of the monitor resource. + Status *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDescribeMonitorMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDescribeMonitor{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDescribeMonitor{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDescribeMonitorValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMonitor(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDescribeMonitor(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "forecast", + OperationName: "DescribeMonitor", + } +} diff --git a/service/forecast/api_op_DescribePredictorBacktestExportJob.go b/service/forecast/api_op_DescribePredictorBacktestExportJob.go index 61c7c07633d..d05b7a7046b 100644 --- a/service/forecast/api_op_DescribePredictorBacktestExportJob.go +++ b/service/forecast/api_op_DescribePredictorBacktestExportJob.go @@ -60,6 +60,9 @@ type DescribePredictorBacktestExportJobOutput struct { // and an AWS Key Management Service (KMS) key (optional). Destination *types.DataDestination + // The format of the exported data, CSV or PARQUET. + Format *string + // The last time the resource was modified. The timestamp depends on the status of // the job: // diff --git a/service/forecast/api_op_ListDatasetGroups.go b/service/forecast/api_op_ListDatasetGroups.go index 36995358749..208b3b2aeb9 100644 --- a/service/forecast/api_op_ListDatasetGroups.go +++ b/service/forecast/api_op_ListDatasetGroups.go @@ -12,10 +12,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns a list of dataset groups created using the CreateDatasetGroup operation. -// For each dataset group, this operation returns a summary of its properties, -// including its Amazon Resource Name (ARN). You can retrieve the complete set of -// properties by using the dataset group ARN with the DescribeDatasetGroup +// Returns a list of dataset groups created using the CreateDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetGroup.html) +// operation. For each dataset group, this operation returns a summary of its +// properties, including its Amazon Resource Name (ARN). You can retrieve the +// complete set of properties by using the dataset group ARN with the +// DescribeDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html) // operation. func (c *Client) ListDatasetGroups(ctx context.Context, params *ListDatasetGroupsInput, optFns ...func(*Options)) (*ListDatasetGroupsOutput, error) { if params == nil { diff --git a/service/forecast/api_op_ListDatasetImportJobs.go b/service/forecast/api_op_ListDatasetImportJobs.go index d4d95d93f11..d3d4627e3d6 100644 --- a/service/forecast/api_op_ListDatasetImportJobs.go +++ b/service/forecast/api_op_ListDatasetImportJobs.go @@ -13,10 +13,13 @@ import ( ) // Returns a list of dataset import jobs created using the CreateDatasetImportJob +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) // operation. For each import job, this operation returns a summary of its // properties, including its Amazon Resource Name (ARN). You can retrieve the // complete set of properties by using the ARN with the DescribeDatasetImportJob -// operation. You can filter the list by providing an array of Filter objects. +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetImportJob.html) +// operation. You can filter the list by providing an array of Filter +// (https://docs.aws.amazon.com/forecast/latest/dg/API_Filter.html) objects. func (c *Client) ListDatasetImportJobs(ctx context.Context, params *ListDatasetImportJobsInput, optFns ...func(*Options)) (*ListDatasetImportJobsOutput, error) { if params == nil { params = &ListDatasetImportJobsInput{} diff --git a/service/forecast/api_op_ListDatasets.go b/service/forecast/api_op_ListDatasets.go index 0b320f7c8c5..c218040f23d 100644 --- a/service/forecast/api_op_ListDatasets.go +++ b/service/forecast/api_op_ListDatasets.go @@ -12,10 +12,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns a list of datasets created using the CreateDataset operation. For each -// dataset, a summary of its properties, including its Amazon Resource Name (ARN), -// is returned. To retrieve the complete set of properties, use the ARN with the -// DescribeDataset operation. +// Returns a list of datasets created using the CreateDataset +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDataset.html) +// operation. For each dataset, a summary of its properties, including its Amazon +// Resource Name (ARN), is returned. To retrieve the complete set of properties, +// use the ARN with the DescribeDataset +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDataset.html) +// operation. func (c *Client) ListDatasets(ctx context.Context, params *ListDatasetsInput, optFns ...func(*Options)) (*ListDatasetsOutput, error) { if params == nil { params = &ListDatasetsInput{} diff --git a/service/forecast/api_op_ListExplainabilities.go b/service/forecast/api_op_ListExplainabilities.go index 2e75a4c5057..8dfd3135d15 100644 --- a/service/forecast/api_op_ListExplainabilities.go +++ b/service/forecast/api_op_ListExplainabilities.go @@ -4,6 +4,7 @@ package forecast import ( "context" + "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/aws/signer/v4" "github.com/aws/aws-sdk-go-v2/service/forecast/types" @@ -138,6 +139,97 @@ func (c *Client) addOperationListExplainabilitiesMiddlewares(stack *middleware.S return nil } +// ListExplainabilitiesAPIClient is a client that implements the +// ListExplainabilities operation. +type ListExplainabilitiesAPIClient interface { + ListExplainabilities(context.Context, *ListExplainabilitiesInput, ...func(*Options)) (*ListExplainabilitiesOutput, error) +} + +var _ ListExplainabilitiesAPIClient = (*Client)(nil) + +// ListExplainabilitiesPaginatorOptions is the paginator options for +// ListExplainabilities +type ListExplainabilitiesPaginatorOptions struct { + // The number of items returned in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListExplainabilitiesPaginator is a paginator for ListExplainabilities +type ListExplainabilitiesPaginator struct { + options ListExplainabilitiesPaginatorOptions + client ListExplainabilitiesAPIClient + params *ListExplainabilitiesInput + nextToken *string + firstPage bool +} + +// NewListExplainabilitiesPaginator returns a new ListExplainabilitiesPaginator +func NewListExplainabilitiesPaginator(client ListExplainabilitiesAPIClient, params *ListExplainabilitiesInput, optFns ...func(*ListExplainabilitiesPaginatorOptions)) *ListExplainabilitiesPaginator { + if params == nil { + params = &ListExplainabilitiesInput{} + } + + options := ListExplainabilitiesPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListExplainabilitiesPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListExplainabilitiesPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListExplainabilities page. +func (p *ListExplainabilitiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExplainabilitiesOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListExplainabilities(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + func newServiceMetadataMiddleware_opListExplainabilities(region string) *awsmiddleware.RegisterServiceMetadata { return &awsmiddleware.RegisterServiceMetadata{ Region: region, diff --git a/service/forecast/api_op_ListExplainabilityExports.go b/service/forecast/api_op_ListExplainabilityExports.go index 2deb08a4fa9..d452f89ae10 100644 --- a/service/forecast/api_op_ListExplainabilityExports.go +++ b/service/forecast/api_op_ListExplainabilityExports.go @@ -4,6 +4,7 @@ package forecast import ( "context" + "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/aws/signer/v4" "github.com/aws/aws-sdk-go-v2/service/forecast/types" @@ -137,6 +138,98 @@ func (c *Client) addOperationListExplainabilityExportsMiddlewares(stack *middlew return nil } +// ListExplainabilityExportsAPIClient is a client that implements the +// ListExplainabilityExports operation. +type ListExplainabilityExportsAPIClient interface { + ListExplainabilityExports(context.Context, *ListExplainabilityExportsInput, ...func(*Options)) (*ListExplainabilityExportsOutput, error) +} + +var _ ListExplainabilityExportsAPIClient = (*Client)(nil) + +// ListExplainabilityExportsPaginatorOptions is the paginator options for +// ListExplainabilityExports +type ListExplainabilityExportsPaginatorOptions struct { + // The number of items to return in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListExplainabilityExportsPaginator is a paginator for ListExplainabilityExports +type ListExplainabilityExportsPaginator struct { + options ListExplainabilityExportsPaginatorOptions + client ListExplainabilityExportsAPIClient + params *ListExplainabilityExportsInput + nextToken *string + firstPage bool +} + +// NewListExplainabilityExportsPaginator returns a new +// ListExplainabilityExportsPaginator +func NewListExplainabilityExportsPaginator(client ListExplainabilityExportsAPIClient, params *ListExplainabilityExportsInput, optFns ...func(*ListExplainabilityExportsPaginatorOptions)) *ListExplainabilityExportsPaginator { + if params == nil { + params = &ListExplainabilityExportsInput{} + } + + options := ListExplainabilityExportsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListExplainabilityExportsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListExplainabilityExportsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListExplainabilityExports page. +func (p *ListExplainabilityExportsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExplainabilityExportsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListExplainabilityExports(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + func newServiceMetadataMiddleware_opListExplainabilityExports(region string) *awsmiddleware.RegisterServiceMetadata { return &awsmiddleware.RegisterServiceMetadata{ Region: region, diff --git a/service/forecast/api_op_ListMonitorEvaluations.go b/service/forecast/api_op_ListMonitorEvaluations.go new file mode 100644 index 00000000000..790ea9b0491 --- /dev/null +++ b/service/forecast/api_op_ListMonitorEvaluations.go @@ -0,0 +1,255 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package forecast + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/forecast/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns a list of the monitoring evaluation results and predictor events +// collected by the monitor resource during different windows of time. For +// information about monitoring see predictor-monitoring. For more information +// about retrieving monitoring results see Viewing Monitoring Results +// (https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring-results.html). +func (c *Client) ListMonitorEvaluations(ctx context.Context, params *ListMonitorEvaluationsInput, optFns ...func(*Options)) (*ListMonitorEvaluationsOutput, error) { + if params == nil { + params = &ListMonitorEvaluationsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListMonitorEvaluations", params, optFns, c.addOperationListMonitorEvaluationsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListMonitorEvaluationsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListMonitorEvaluationsInput struct { + + // The Amazon Resource Name (ARN) of the monitor resource to get results from. + // + // This member is required. + MonitorArn *string + + // An array of filters. For each filter, provide a condition and a match statement. + // The condition is either IS or IS_NOT, which specifies whether to include or + // exclude the resources that match the statement from the list. The match + // statement consists of a key and a value. Filter properties + // + // * Condition - The + // condition to apply. Valid values are IS and IS_NOT. + // + // * Key - The name of the + // parameter to filter on. The only valid value is EvaluationState. + // + // * Value - The + // value to match. Valid values are only SUCCESS or FAILURE. + // + // For example, to list + // only successful monitor evaluations, you would specify: "Filters": [ { + // "Condition": "IS", "Key": "EvaluationState", "Value": "SUCCESS" } ] + Filters []types.Filter + + // The maximum number of monitoring results to return. + MaxResults *int32 + + // If the result of the previous request was truncated, the response includes a + // NextToken. To retrieve the next set of results, use the token in the next + // request. Tokens expire after 24 hours. + NextToken *string + + noSmithyDocumentSerde +} + +type ListMonitorEvaluationsOutput struct { + + // If the response is truncated, Amazon Forecast returns this token. To retrieve + // the next set of results, use the token in the next request. Tokens expire after + // 24 hours. + NextToken *string + + // The monitoring results and predictor events collected by the monitor resource + // during different windows of time. For information about monitoring see Viewing + // Monitoring Results + // (https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring-results.html). + // For more information about retrieving monitoring results see Viewing Monitoring + // Results + // (https://docs.aws.amazon.com/forecast/latest/dg/predictor-monitoring-results.html). + PredictorMonitorEvaluations []types.PredictorMonitorEvaluation + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListMonitorEvaluationsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListMonitorEvaluations{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListMonitorEvaluations{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListMonitorEvaluationsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitorEvaluations(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListMonitorEvaluationsAPIClient is a client that implements the +// ListMonitorEvaluations operation. +type ListMonitorEvaluationsAPIClient interface { + ListMonitorEvaluations(context.Context, *ListMonitorEvaluationsInput, ...func(*Options)) (*ListMonitorEvaluationsOutput, error) +} + +var _ ListMonitorEvaluationsAPIClient = (*Client)(nil) + +// ListMonitorEvaluationsPaginatorOptions is the paginator options for +// ListMonitorEvaluations +type ListMonitorEvaluationsPaginatorOptions struct { + // The maximum number of monitoring results to return. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListMonitorEvaluationsPaginator is a paginator for ListMonitorEvaluations +type ListMonitorEvaluationsPaginator struct { + options ListMonitorEvaluationsPaginatorOptions + client ListMonitorEvaluationsAPIClient + params *ListMonitorEvaluationsInput + nextToken *string + firstPage bool +} + +// NewListMonitorEvaluationsPaginator returns a new ListMonitorEvaluationsPaginator +func NewListMonitorEvaluationsPaginator(client ListMonitorEvaluationsAPIClient, params *ListMonitorEvaluationsInput, optFns ...func(*ListMonitorEvaluationsPaginatorOptions)) *ListMonitorEvaluationsPaginator { + if params == nil { + params = &ListMonitorEvaluationsInput{} + } + + options := ListMonitorEvaluationsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListMonitorEvaluationsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListMonitorEvaluationsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListMonitorEvaluations page. +func (p *ListMonitorEvaluationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMonitorEvaluationsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListMonitorEvaluations(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListMonitorEvaluations(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "forecast", + OperationName: "ListMonitorEvaluations", + } +} diff --git a/service/forecast/api_op_ListMonitors.go b/service/forecast/api_op_ListMonitors.go new file mode 100644 index 00000000000..30f067082d3 --- /dev/null +++ b/service/forecast/api_op_ListMonitors.go @@ -0,0 +1,241 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package forecast + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/forecast/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns a list of monitors created with the CreateMonitor operation and +// CreateAutoPredictor operation. For each monitor resource, this operation returns +// of a summary of its properties, including its Amazon Resource Name (ARN). You +// can retrieve a complete set of properties of a monitor resource by specify the +// monitor's ARN in the DescribeMonitor operation. +func (c *Client) ListMonitors(ctx context.Context, params *ListMonitorsInput, optFns ...func(*Options)) (*ListMonitorsOutput, error) { + if params == nil { + params = &ListMonitorsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListMonitors", params, optFns, c.addOperationListMonitorsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListMonitorsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListMonitorsInput struct { + + // An array of filters. For each filter, provide a condition and a match statement. + // The condition is either IS or IS_NOT, which specifies whether to include or + // exclude the resources that match the statement from the list. The match + // statement consists of a key and a value. Filter properties + // + // * Condition - The + // condition to apply. Valid values are IS and IS_NOT. + // + // * Key - The name of the + // parameter to filter on. The only valid value is Status. + // + // * Value - The value to + // match. + // + // For example, to list all monitors who's status is ACTIVE, you would + // specify: "Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } + // ] + Filters []types.Filter + + // The maximum number of monitors to include in the response. + MaxResults *int32 + + // If the result of the previous request was truncated, the response includes a + // NextToken. To retrieve the next set of results, use the token in the next + // request. Tokens expire after 24 hours. + NextToken *string + + noSmithyDocumentSerde +} + +type ListMonitorsOutput struct { + + // An array of objects that summarize each monitor's properties. + Monitors []types.MonitorSummary + + // If the response is truncated, Amazon Forecast returns this token. To retrieve + // the next set of results, use the token in the next request. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListMonitors{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListMonitors{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListMonitorsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitors(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListMonitorsAPIClient is a client that implements the ListMonitors operation. +type ListMonitorsAPIClient interface { + ListMonitors(context.Context, *ListMonitorsInput, ...func(*Options)) (*ListMonitorsOutput, error) +} + +var _ ListMonitorsAPIClient = (*Client)(nil) + +// ListMonitorsPaginatorOptions is the paginator options for ListMonitors +type ListMonitorsPaginatorOptions struct { + // The maximum number of monitors to include in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListMonitorsPaginator is a paginator for ListMonitors +type ListMonitorsPaginator struct { + options ListMonitorsPaginatorOptions + client ListMonitorsAPIClient + params *ListMonitorsInput + nextToken *string + firstPage bool +} + +// NewListMonitorsPaginator returns a new ListMonitorsPaginator +func NewListMonitorsPaginator(client ListMonitorsAPIClient, params *ListMonitorsInput, optFns ...func(*ListMonitorsPaginatorOptions)) *ListMonitorsPaginator { + if params == nil { + params = &ListMonitorsInput{} + } + + options := ListMonitorsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListMonitorsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListMonitorsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListMonitors page. +func (p *ListMonitorsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMonitorsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListMonitors(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListMonitors(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "forecast", + OperationName: "ListMonitors", + } +} diff --git a/service/forecast/api_op_ResumeResource.go b/service/forecast/api_op_ResumeResource.go new file mode 100644 index 00000000000..ba357a9f219 --- /dev/null +++ b/service/forecast/api_op_ResumeResource.go @@ -0,0 +1,116 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package forecast + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Resumes a stopped monitor resource. +func (c *Client) ResumeResource(ctx context.Context, params *ResumeResourceInput, optFns ...func(*Options)) (*ResumeResourceOutput, error) { + if params == nil { + params = &ResumeResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ResumeResource", params, optFns, c.addOperationResumeResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ResumeResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ResumeResourceInput struct { + + // The Amazon Resource Name (ARN) of the monitor resource to resume. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type ResumeResourceOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationResumeResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpResumeResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpResumeResource{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpResumeResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResumeResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opResumeResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "forecast", + OperationName: "ResumeResource", + } +} diff --git a/service/forecast/api_op_UpdateDatasetGroup.go b/service/forecast/api_op_UpdateDatasetGroup.go index 05ef6f25e7e..5244084e012 100644 --- a/service/forecast/api_op_UpdateDatasetGroup.go +++ b/service/forecast/api_op_UpdateDatasetGroup.go @@ -12,7 +12,9 @@ import ( // Replaces the datasets in a dataset group with the specified datasets. The Status // of the dataset group must be ACTIVE before you can use the dataset group to -// create a predictor. Use the DescribeDatasetGroup operation to get the status. +// create a predictor. Use the DescribeDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html) +// operation to get the status. func (c *Client) UpdateDatasetGroup(ctx context.Context, params *UpdateDatasetGroupInput, optFns ...func(*Options)) (*UpdateDatasetGroupOutput, error) { if params == nil { params = &UpdateDatasetGroupInput{} diff --git a/service/forecast/deserializers.go b/service/forecast/deserializers.go index d7917739a36..e029367eec3 100644 --- a/service/forecast/deserializers.go +++ b/service/forecast/deserializers.go @@ -999,6 +999,129 @@ func awsAwsjson11_deserializeOpErrorCreateForecastExportJob(response *smithyhttp } } +type awsAwsjson11_deserializeOpCreateMonitor struct { +} + +func (*awsAwsjson11_deserializeOpCreateMonitor) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpCreateMonitor) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorCreateMonitor(response, &metadata) + } + output := &CreateMonitorOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentCreateMonitorOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorCreateMonitor(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("LimitExceededException", errorCode): + return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("ResourceAlreadyExistsException", errorCode): + return awsAwsjson11_deserializeErrorResourceAlreadyExistsException(response, errorBody) + + case strings.EqualFold("ResourceInUseException", errorCode): + return awsAwsjson11_deserializeErrorResourceInUseException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsjson11_deserializeOpCreatePredictor struct { } @@ -1910,6 +2033,101 @@ func awsAwsjson11_deserializeOpErrorDeleteForecastExportJob(response *smithyhttp } } +type awsAwsjson11_deserializeOpDeleteMonitor struct { +} + +func (*awsAwsjson11_deserializeOpDeleteMonitor) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDeleteMonitor) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDeleteMonitor(response, &metadata) + } + output := &DeleteMonitorOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDeleteMonitor(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("ResourceInUseException", errorCode): + return awsAwsjson11_deserializeErrorResourceInUseException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsjson11_deserializeOpDeletePredictor struct { } @@ -3107,14 +3325,14 @@ func awsAwsjson11_deserializeOpErrorDescribeForecastExportJob(response *smithyht } } -type awsAwsjson11_deserializeOpDescribePredictor struct { +type awsAwsjson11_deserializeOpDescribeMonitor struct { } -func (*awsAwsjson11_deserializeOpDescribePredictor) ID() string { +func (*awsAwsjson11_deserializeOpDescribeMonitor) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribePredictor) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeMonitor) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3128,9 +3346,9 @@ func (m *awsAwsjson11_deserializeOpDescribePredictor) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribePredictor(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeMonitor(response, &metadata) } - output := &DescribePredictorOutput{} + output := &DescribeMonitorOutput{} out.Result = output var buff [1024]byte @@ -3150,7 +3368,7 @@ func (m *awsAwsjson11_deserializeOpDescribePredictor) HandleDeserialize(ctx cont return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3164,7 +3382,7 @@ func (m *awsAwsjson11_deserializeOpDescribePredictor) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribePredictor(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeMonitor(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3221,14 +3439,14 @@ func awsAwsjson11_deserializeOpErrorDescribePredictor(response *smithyhttp.Respo } } -type awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob struct { +type awsAwsjson11_deserializeOpDescribePredictor struct { } -func (*awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob) ID() string { +func (*awsAwsjson11_deserializeOpDescribePredictor) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribePredictor) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3242,9 +3460,9 @@ func (m *awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribePredictorBacktestExportJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribePredictor(response, &metadata) } - output := &DescribePredictorBacktestExportJobOutput{} + output := &DescribePredictorOutput{} out.Result = output var buff [1024]byte @@ -3264,7 +3482,7 @@ func (m *awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob) HandleDes return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribePredictorOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3278,7 +3496,7 @@ func (m *awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob) HandleDes return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribePredictorBacktestExportJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribePredictor(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3335,14 +3553,14 @@ func awsAwsjson11_deserializeOpErrorDescribePredictorBacktestExportJob(response } } -type awsAwsjson11_deserializeOpGetAccuracyMetrics struct { +type awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob struct { } -func (*awsAwsjson11_deserializeOpGetAccuracyMetrics) ID() string { +func (*awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpGetAccuracyMetrics) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribePredictorBacktestExportJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3356,9 +3574,9 @@ func (m *awsAwsjson11_deserializeOpGetAccuracyMetrics) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorGetAccuracyMetrics(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribePredictorBacktestExportJob(response, &metadata) } - output := &GetAccuracyMetricsOutput{} + output := &DescribePredictorBacktestExportJobOutput{} out.Result = output var buff [1024]byte @@ -3378,7 +3596,7 @@ func (m *awsAwsjson11_deserializeOpGetAccuracyMetrics) HandleDeserialize(ctx con return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3392,7 +3610,7 @@ func (m *awsAwsjson11_deserializeOpGetAccuracyMetrics) HandleDeserialize(ctx con return out, metadata, err } -func awsAwsjson11_deserializeOpErrorGetAccuracyMetrics(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribePredictorBacktestExportJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3436,9 +3654,6 @@ func awsAwsjson11_deserializeOpErrorGetAccuracyMetrics(response *smithyhttp.Resp case strings.EqualFold("InvalidInputException", errorCode): return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("ResourceInUseException", errorCode): - return awsAwsjson11_deserializeErrorResourceInUseException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) @@ -3452,14 +3667,14 @@ func awsAwsjson11_deserializeOpErrorGetAccuracyMetrics(response *smithyhttp.Resp } } -type awsAwsjson11_deserializeOpListDatasetGroups struct { +type awsAwsjson11_deserializeOpGetAccuracyMetrics struct { } -func (*awsAwsjson11_deserializeOpListDatasetGroups) ID() string { +func (*awsAwsjson11_deserializeOpGetAccuracyMetrics) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListDatasetGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpGetAccuracyMetrics) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3473,9 +3688,9 @@ func (m *awsAwsjson11_deserializeOpListDatasetGroups) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListDatasetGroups(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorGetAccuracyMetrics(response, &metadata) } - output := &ListDatasetGroupsOutput{} + output := &GetAccuracyMetricsOutput{} out.Result = output var buff [1024]byte @@ -3495,7 +3710,7 @@ func (m *awsAwsjson11_deserializeOpListDatasetGroups) HandleDeserialize(ctx cont return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentGetAccuracyMetricsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3509,7 +3724,7 @@ func (m *awsAwsjson11_deserializeOpListDatasetGroups) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListDatasetGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorGetAccuracyMetrics(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3550,8 +3765,14 @@ func awsAwsjson11_deserializeOpErrorListDatasetGroups(response *smithyhttp.Respo } switch { - case strings.EqualFold("InvalidNextTokenException", errorCode): - return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("ResourceInUseException", errorCode): + return awsAwsjson11_deserializeErrorResourceInUseException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -3563,14 +3784,14 @@ func awsAwsjson11_deserializeOpErrorListDatasetGroups(response *smithyhttp.Respo } } -type awsAwsjson11_deserializeOpListDatasetImportJobs struct { +type awsAwsjson11_deserializeOpListDatasetGroups struct { } -func (*awsAwsjson11_deserializeOpListDatasetImportJobs) ID() string { +func (*awsAwsjson11_deserializeOpListDatasetGroups) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListDatasetImportJobs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListDatasetGroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3584,9 +3805,9 @@ func (m *awsAwsjson11_deserializeOpListDatasetImportJobs) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListDatasetImportJobs(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListDatasetGroups(response, &metadata) } - output := &ListDatasetImportJobsOutput{} + output := &ListDatasetGroupsOutput{} out.Result = output var buff [1024]byte @@ -3606,7 +3827,7 @@ func (m *awsAwsjson11_deserializeOpListDatasetImportJobs) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListDatasetGroupsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3620,7 +3841,7 @@ func (m *awsAwsjson11_deserializeOpListDatasetImportJobs) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListDatasetImportJobs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListDatasetGroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3661,9 +3882,6 @@ func awsAwsjson11_deserializeOpErrorListDatasetImportJobs(response *smithyhttp.R } switch { - case strings.EqualFold("InvalidInputException", errorCode): - return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("InvalidNextTokenException", errorCode): return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) @@ -3677,14 +3895,14 @@ func awsAwsjson11_deserializeOpErrorListDatasetImportJobs(response *smithyhttp.R } } -type awsAwsjson11_deserializeOpListDatasets struct { +type awsAwsjson11_deserializeOpListDatasetImportJobs struct { } -func (*awsAwsjson11_deserializeOpListDatasets) ID() string { +func (*awsAwsjson11_deserializeOpListDatasetImportJobs) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListDatasets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListDatasetImportJobs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3698,9 +3916,9 @@ func (m *awsAwsjson11_deserializeOpListDatasets) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListDatasets(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListDatasetImportJobs(response, &metadata) } - output := &ListDatasetsOutput{} + output := &ListDatasetImportJobsOutput{} out.Result = output var buff [1024]byte @@ -3720,7 +3938,7 @@ func (m *awsAwsjson11_deserializeOpListDatasets) HandleDeserialize(ctx context.C return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListDatasetsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListDatasetImportJobsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3734,7 +3952,7 @@ func (m *awsAwsjson11_deserializeOpListDatasets) HandleDeserialize(ctx context.C return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListDatasets(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListDatasetImportJobs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3775,6 +3993,9 @@ func awsAwsjson11_deserializeOpErrorListDatasets(response *smithyhttp.Response, } switch { + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + case strings.EqualFold("InvalidNextTokenException", errorCode): return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) @@ -3788,14 +4009,14 @@ func awsAwsjson11_deserializeOpErrorListDatasets(response *smithyhttp.Response, } } -type awsAwsjson11_deserializeOpListExplainabilities struct { +type awsAwsjson11_deserializeOpListDatasets struct { } -func (*awsAwsjson11_deserializeOpListExplainabilities) ID() string { +func (*awsAwsjson11_deserializeOpListDatasets) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListExplainabilities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListDatasets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3809,9 +4030,9 @@ func (m *awsAwsjson11_deserializeOpListExplainabilities) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListExplainabilities(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListDatasets(response, &metadata) } - output := &ListExplainabilitiesOutput{} + output := &ListDatasetsOutput{} out.Result = output var buff [1024]byte @@ -3831,7 +4052,7 @@ func (m *awsAwsjson11_deserializeOpListExplainabilities) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListExplainabilitiesOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListDatasetsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3845,7 +4066,7 @@ func (m *awsAwsjson11_deserializeOpListExplainabilities) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListExplainabilities(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListDatasets(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3886,9 +4107,6 @@ func awsAwsjson11_deserializeOpErrorListExplainabilities(response *smithyhttp.Re } switch { - case strings.EqualFold("InvalidInputException", errorCode): - return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("InvalidNextTokenException", errorCode): return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) @@ -3902,14 +4120,14 @@ func awsAwsjson11_deserializeOpErrorListExplainabilities(response *smithyhttp.Re } } -type awsAwsjson11_deserializeOpListExplainabilityExports struct { +type awsAwsjson11_deserializeOpListExplainabilities struct { } -func (*awsAwsjson11_deserializeOpListExplainabilityExports) ID() string { +func (*awsAwsjson11_deserializeOpListExplainabilities) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListExplainabilityExports) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListExplainabilities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3923,9 +4141,9 @@ func (m *awsAwsjson11_deserializeOpListExplainabilityExports) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListExplainabilityExports(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListExplainabilities(response, &metadata) } - output := &ListExplainabilityExportsOutput{} + output := &ListExplainabilitiesOutput{} out.Result = output var buff [1024]byte @@ -3945,7 +4163,7 @@ func (m *awsAwsjson11_deserializeOpListExplainabilityExports) HandleDeserialize( return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListExplainabilityExportsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListExplainabilitiesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3959,7 +4177,7 @@ func (m *awsAwsjson11_deserializeOpListExplainabilityExports) HandleDeserialize( return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListExplainabilityExports(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListExplainabilities(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4016,14 +4234,14 @@ func awsAwsjson11_deserializeOpErrorListExplainabilityExports(response *smithyht } } -type awsAwsjson11_deserializeOpListForecastExportJobs struct { +type awsAwsjson11_deserializeOpListExplainabilityExports struct { } -func (*awsAwsjson11_deserializeOpListForecastExportJobs) ID() string { +func (*awsAwsjson11_deserializeOpListExplainabilityExports) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListForecastExportJobs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListExplainabilityExports) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4037,9 +4255,9 @@ func (m *awsAwsjson11_deserializeOpListForecastExportJobs) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListForecastExportJobs(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListExplainabilityExports(response, &metadata) } - output := &ListForecastExportJobsOutput{} + output := &ListExplainabilityExportsOutput{} out.Result = output var buff [1024]byte @@ -4059,7 +4277,7 @@ func (m *awsAwsjson11_deserializeOpListForecastExportJobs) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListForecastExportJobsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListExplainabilityExportsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4073,7 +4291,7 @@ func (m *awsAwsjson11_deserializeOpListForecastExportJobs) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListForecastExportJobs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListExplainabilityExports(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4130,14 +4348,14 @@ func awsAwsjson11_deserializeOpErrorListForecastExportJobs(response *smithyhttp. } } -type awsAwsjson11_deserializeOpListForecasts struct { +type awsAwsjson11_deserializeOpListForecastExportJobs struct { } -func (*awsAwsjson11_deserializeOpListForecasts) ID() string { +func (*awsAwsjson11_deserializeOpListForecastExportJobs) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListForecasts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListForecastExportJobs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4151,9 +4369,9 @@ func (m *awsAwsjson11_deserializeOpListForecasts) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListForecasts(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListForecastExportJobs(response, &metadata) } - output := &ListForecastsOutput{} + output := &ListForecastExportJobsOutput{} out.Result = output var buff [1024]byte @@ -4173,7 +4391,7 @@ func (m *awsAwsjson11_deserializeOpListForecasts) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListForecastsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListForecastExportJobsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4187,7 +4405,7 @@ func (m *awsAwsjson11_deserializeOpListForecasts) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListForecasts(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListForecastExportJobs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4244,14 +4462,14 @@ func awsAwsjson11_deserializeOpErrorListForecasts(response *smithyhttp.Response, } } -type awsAwsjson11_deserializeOpListPredictorBacktestExportJobs struct { +type awsAwsjson11_deserializeOpListForecasts struct { } -func (*awsAwsjson11_deserializeOpListPredictorBacktestExportJobs) ID() string { +func (*awsAwsjson11_deserializeOpListForecasts) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListPredictorBacktestExportJobs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListForecasts) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4265,9 +4483,9 @@ func (m *awsAwsjson11_deserializeOpListPredictorBacktestExportJobs) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListPredictorBacktestExportJobs(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListForecasts(response, &metadata) } - output := &ListPredictorBacktestExportJobsOutput{} + output := &ListForecastsOutput{} out.Result = output var buff [1024]byte @@ -4287,7 +4505,7 @@ func (m *awsAwsjson11_deserializeOpListPredictorBacktestExportJobs) HandleDeseri return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListPredictorBacktestExportJobsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListForecastsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4301,7 +4519,7 @@ func (m *awsAwsjson11_deserializeOpListPredictorBacktestExportJobs) HandleDeseri return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListPredictorBacktestExportJobs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListForecasts(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4358,14 +4576,14 @@ func awsAwsjson11_deserializeOpErrorListPredictorBacktestExportJobs(response *sm } } -type awsAwsjson11_deserializeOpListPredictors struct { +type awsAwsjson11_deserializeOpListMonitorEvaluations struct { } -func (*awsAwsjson11_deserializeOpListPredictors) ID() string { +func (*awsAwsjson11_deserializeOpListMonitorEvaluations) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListPredictors) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListMonitorEvaluations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4379,9 +4597,9 @@ func (m *awsAwsjson11_deserializeOpListPredictors) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListPredictors(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListMonitorEvaluations(response, &metadata) } - output := &ListPredictorsOutput{} + output := &ListMonitorEvaluationsOutput{} out.Result = output var buff [1024]byte @@ -4401,7 +4619,7 @@ func (m *awsAwsjson11_deserializeOpListPredictors) HandleDeserialize(ctx context return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListPredictorsOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListMonitorEvaluationsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4415,7 +4633,7 @@ func (m *awsAwsjson11_deserializeOpListPredictors) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListPredictors(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListMonitorEvaluations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4462,6 +4680,9 @@ func awsAwsjson11_deserializeOpErrorListPredictors(response *smithyhttp.Response case strings.EqualFold("InvalidNextTokenException", errorCode): return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -4472,14 +4693,14 @@ func awsAwsjson11_deserializeOpErrorListPredictors(response *smithyhttp.Response } } -type awsAwsjson11_deserializeOpListTagsForResource struct { +type awsAwsjson11_deserializeOpListMonitors struct { } -func (*awsAwsjson11_deserializeOpListTagsForResource) ID() string { +func (*awsAwsjson11_deserializeOpListMonitors) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListMonitors) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4493,9 +4714,9 @@ func (m *awsAwsjson11_deserializeOpListTagsForResource) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorListTagsForResource(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListMonitors(response, &metadata) } - output := &ListTagsForResourceOutput{} + output := &ListMonitorsOutput{} out.Result = output var buff [1024]byte @@ -4515,7 +4736,7 @@ func (m *awsAwsjson11_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListMonitorsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4529,7 +4750,7 @@ func (m *awsAwsjson11_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListMonitors(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4573,8 +4794,8 @@ func awsAwsjson11_deserializeOpErrorListTagsForResource(response *smithyhttp.Res case strings.EqualFold("InvalidInputException", errorCode): return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("InvalidNextTokenException", errorCode): + return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4586,14 +4807,14 @@ func awsAwsjson11_deserializeOpErrorListTagsForResource(response *smithyhttp.Res } } -type awsAwsjson11_deserializeOpStopResource struct { +type awsAwsjson11_deserializeOpListPredictorBacktestExportJobs struct { } -func (*awsAwsjson11_deserializeOpStopResource) ID() string { +func (*awsAwsjson11_deserializeOpListPredictorBacktestExportJobs) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpStopResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListPredictorBacktestExportJobs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4607,21 +4828,43 @@ func (m *awsAwsjson11_deserializeOpStopResource) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorStopResource(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListPredictorBacktestExportJobs(response, &metadata) } - output := &StopResourceOutput{} + output := &ListPredictorBacktestExportJobsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListPredictorBacktestExportJobsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } + return out, metadata, err } return out, metadata, err } -func awsAwsjson11_deserializeOpErrorStopResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListPredictorBacktestExportJobs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4665,11 +4908,8 @@ func awsAwsjson11_deserializeOpErrorStopResource(response *smithyhttp.Response, case strings.EqualFold("InvalidInputException", errorCode): return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceededException", errorCode): - return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("InvalidNextTokenException", errorCode): + return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4681,14 +4921,14 @@ func awsAwsjson11_deserializeOpErrorStopResource(response *smithyhttp.Response, } } -type awsAwsjson11_deserializeOpTagResource struct { +type awsAwsjson11_deserializeOpListPredictors struct { } -func (*awsAwsjson11_deserializeOpTagResource) ID() string { +func (*awsAwsjson11_deserializeOpListPredictors) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListPredictors) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4702,9 +4942,9 @@ func (m *awsAwsjson11_deserializeOpTagResource) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorTagResource(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListPredictors(response, &metadata) } - output := &TagResourceOutput{} + output := &ListPredictorsOutput{} out.Result = output var buff [1024]byte @@ -4724,7 +4964,7 @@ func (m *awsAwsjson11_deserializeOpTagResource) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentTagResourceOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListPredictorsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4738,7 +4978,7 @@ func (m *awsAwsjson11_deserializeOpTagResource) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListPredictors(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4782,11 +5022,8 @@ func awsAwsjson11_deserializeOpErrorTagResource(response *smithyhttp.Response, m case strings.EqualFold("InvalidInputException", errorCode): return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("LimitExceededException", errorCode): - return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("InvalidNextTokenException", errorCode): + return awsAwsjson11_deserializeErrorInvalidNextTokenException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -4798,14 +5035,14 @@ func awsAwsjson11_deserializeOpErrorTagResource(response *smithyhttp.Response, m } } -type awsAwsjson11_deserializeOpUntagResource struct { +type awsAwsjson11_deserializeOpListTagsForResource struct { } -func (*awsAwsjson11_deserializeOpUntagResource) ID() string { +func (*awsAwsjson11_deserializeOpListTagsForResource) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4819,9 +5056,9 @@ func (m *awsAwsjson11_deserializeOpUntagResource) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUntagResource(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorListTagsForResource(response, &metadata) } - output := &UntagResourceOutput{} + output := &ListTagsForResourceOutput{} out.Result = output var buff [1024]byte @@ -4841,7 +5078,7 @@ func (m *awsAwsjson11_deserializeOpUntagResource) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUntagResourceOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4855,7 +5092,7 @@ func (m *awsAwsjson11_deserializeOpUntagResource) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4912,14 +5149,14 @@ func awsAwsjson11_deserializeOpErrorUntagResource(response *smithyhttp.Response, } } -type awsAwsjson11_deserializeOpUpdateDatasetGroup struct { +type awsAwsjson11_deserializeOpResumeResource struct { } -func (*awsAwsjson11_deserializeOpUpdateDatasetGroup) ID() string { +func (*awsAwsjson11_deserializeOpResumeResource) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateDatasetGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpResumeResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4933,43 +5170,21 @@ func (m *awsAwsjson11_deserializeOpUpdateDatasetGroup) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateDatasetGroup(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorResumeResource(response, &metadata) } - output := &UpdateDatasetGroupOutput{} + output := &ResumeResourceOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsAwsjson11_deserializeOpDocumentUpdateDatasetGroupOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateDatasetGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorResumeResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5013,7 +5228,453 @@ func awsAwsjson11_deserializeOpErrorUpdateDatasetGroup(response *smithyhttp.Resp case strings.EqualFold("InvalidInputException", errorCode): return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) - case strings.EqualFold("ResourceInUseException", errorCode): + case strings.EqualFold("LimitExceededException", errorCode): + return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("ResourceInUseException", errorCode): + return awsAwsjson11_deserializeErrorResourceInUseException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpStopResource struct { +} + +func (*awsAwsjson11_deserializeOpStopResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpStopResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorStopResource(response, &metadata) + } + output := &StopResourceOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorStopResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("LimitExceededException", errorCode): + return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpTagResource struct { +} + +func (*awsAwsjson11_deserializeOpTagResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorTagResource(response, &metadata) + } + output := &TagResourceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentTagResourceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("LimitExceededException", errorCode): + return awsAwsjson11_deserializeErrorLimitExceededException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUntagResource struct { +} + +func (*awsAwsjson11_deserializeOpUntagResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUntagResource(response, &metadata) + } + output := &UntagResourceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUntagResourceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateDatasetGroup struct { +} + +func (*awsAwsjson11_deserializeOpUpdateDatasetGroup) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateDatasetGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateDatasetGroup(response, &metadata) + } + output := &UpdateDatasetGroupOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateDatasetGroupOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateDatasetGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InvalidInputException", errorCode): + return awsAwsjson11_deserializeErrorInvalidInputException(response, errorBody) + + case strings.EqualFold("ResourceInUseException", errorCode): return awsAwsjson11_deserializeErrorResourceInUseException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): @@ -5345,16 +6006,131 @@ func awsAwsjson11_deserializeDocumentArnList(v *[]string, value interface{}) err if !ok { return fmt.Errorf("expected Arn to be of type string, got %T instead", value) } - col = jtv - } - cv = append(cv, col) + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentAttributeConfig(v **types.AttributeConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AttributeConfig + if *v == nil { + sv = &types.AttributeConfig{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AttributeName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Name to be of type string, got %T instead", value) + } + sv.AttributeName = ptr.String(jtv) + } + + case "Transformations": + if err := awsAwsjson11_deserializeDocumentTransformations(&sv.Transformations, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentAttributeConfigs(v *[]types.AttributeConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AttributeConfig + if *v == nil { + cv = []types.AttributeConfig{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AttributeConfig + destAddr := &col + if err := awsAwsjson11_deserializeDocumentAttributeConfig(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentBaseline(v **types.Baseline, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Baseline + if *v == nil { + sv = &types.Baseline{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PredictorBaseline": + if err := awsAwsjson11_deserializeDocumentPredictorBaseline(&sv.PredictorBaseline, value); err != nil { + return err + } + + default: + _, _ = key, value + } } - *v = cv + *v = sv return nil } -func awsAwsjson11_deserializeDocumentAttributeConfig(v **types.AttributeConfig, value interface{}) error { +func awsAwsjson11_deserializeDocumentBaselineMetric(v **types.BaselineMetric, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -5367,27 +6143,56 @@ func awsAwsjson11_deserializeDocumentAttributeConfig(v **types.AttributeConfig, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AttributeConfig + var sv *types.BaselineMetric if *v == nil { - sv = &types.AttributeConfig{} + sv = &types.BaselineMetric{} } else { sv = *v } for key, value := range shape { switch key { - case "AttributeName": + case "Name": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected Name to be of type string, got %T instead", value) } - sv.AttributeName = ptr.String(jtv) + sv.Name = ptr.String(jtv) } - case "Transformations": - if err := awsAwsjson11_deserializeDocumentTransformations(&sv.Transformations, value); err != nil { - return err + case "Value": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.Value = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.Value = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } } default: @@ -5399,7 +6204,7 @@ func awsAwsjson11_deserializeDocumentAttributeConfig(v **types.AttributeConfig, return nil } -func awsAwsjson11_deserializeDocumentAttributeConfigs(v *[]types.AttributeConfig, value interface{}) error { +func awsAwsjson11_deserializeDocumentBaselineMetrics(v *[]types.BaselineMetric, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -5412,17 +6217,17 @@ func awsAwsjson11_deserializeDocumentAttributeConfigs(v *[]types.AttributeConfig return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.AttributeConfig + var cv []types.BaselineMetric if *v == nil { - cv = []types.AttributeConfig{} + cv = []types.BaselineMetric{} } else { cv = *v } for _, value := range shape { - var col types.AttributeConfig + var col types.BaselineMetric destAddr := &col - if err := awsAwsjson11_deserializeDocumentAttributeConfig(&destAddr, value); err != nil { + if err := awsAwsjson11_deserializeDocumentBaselineMetric(&destAddr, value); err != nil { return err } col = *destAddr @@ -7727,22 +8532,250 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara sv.MinValue = ptr.Int32(int32(i64)) } - case "Name": + case "Name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Name to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "ScalingType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ScalingType to be of type string, got %T instead", value) + } + sv.ScalingType = types.ScalingType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentIntegerParameterRanges(v *[]types.IntegerParameterRange, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.IntegerParameterRange + if *v == nil { + cv = []types.IntegerParameterRange{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.IntegerParameterRange + destAddr := &col + if err := awsAwsjson11_deserializeDocumentIntegerParameterRange(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInputException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InvalidInputException + if *v == nil { + sv = &types.InvalidInputException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.InvalidNextTokenException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InvalidNextTokenException + if *v == nil { + sv = &types.InvalidNextTokenException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExceededException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.LimitExceededException + if *v == nil { + sv = &types.LimitExceededException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentMetricResult(v **types.MetricResult, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.MetricResult + if *v == nil { + sv = &types.MetricResult{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "MetricName": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected Name to be of type string, got %T instead", value) + return fmt.Errorf("expected MetricName to be of type string, got %T instead", value) } - sv.Name = ptr.String(jtv) + sv.MetricName = ptr.String(jtv) } - case "ScalingType": + case "MetricValue": if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ScalingType to be of type string, got %T instead", value) + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.MetricValue = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.MetricValue = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + } - sv.ScalingType = types.ScalingType(jtv) } default: @@ -7754,7 +8787,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerPara return nil } -func awsAwsjson11_deserializeDocumentIntegerParameterRanges(v *[]types.IntegerParameterRange, value interface{}) error { +func awsAwsjson11_deserializeDocumentMetricResults(v *[]types.MetricResult, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -7767,17 +8800,17 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRanges(v *[]types.IntegerPa return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.IntegerParameterRange + var cv []types.MetricResult if *v == nil { - cv = []types.IntegerParameterRange{} + cv = []types.MetricResult{} } else { cv = *v } for _, value := range shape { - var col types.IntegerParameterRange + var col types.MetricResult destAddr := &col - if err := awsAwsjson11_deserializeDocumentIntegerParameterRange(&destAddr, value); err != nil { + if err := awsAwsjson11_deserializeDocumentMetricResult(&destAddr, value); err != nil { return err } col = *destAddr @@ -7788,7 +8821,7 @@ func awsAwsjson11_deserializeDocumentIntegerParameterRanges(v *[]types.IntegerPa return nil } -func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInputException, value interface{}) error { +func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -7801,22 +8834,91 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InvalidInputException + var sv *types.Metrics if *v == nil { - sv = &types.InvalidInputException{} + sv = &types.Metrics{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "AverageWeightedQuantileLoss": if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.AverageWeightedQuantileLoss = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.AverageWeightedQuantileLoss = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + } - sv.Message = ptr.String(jtv) + } + + case "ErrorMetrics": + if err := awsAwsjson11_deserializeDocumentErrorMetrics(&sv.ErrorMetrics, value); err != nil { + return err + } + + case "RMSE": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.RMSE = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.RMSE = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + case "WeightedQuantileLosses": + if err := awsAwsjson11_deserializeDocumentWeightedQuantileLosses(&sv.WeightedQuantileLosses, value); err != nil { + return err } default: @@ -7828,7 +8930,7 @@ func awsAwsjson11_deserializeDocumentInvalidInputException(v **types.InvalidInpu return nil } -func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.InvalidNextTokenException, value interface{}) error { +func awsAwsjson11_deserializeDocumentMonitorDataSource(v **types.MonitorDataSource, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -7841,22 +8943,40 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.InvalidNextTokenException + var sv *types.MonitorDataSource if *v == nil { - sv = &types.InvalidNextTokenException{} + sv = &types.MonitorDataSource{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "DatasetImportJobArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.DatasetImportJobArn = ptr.String(jtv) + } + + case "ForecastArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ForecastArn = ptr.String(jtv) + } + + case "PredictorArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.PredictorArn = ptr.String(jtv) } default: @@ -7868,7 +8988,7 @@ func awsAwsjson11_deserializeDocumentInvalidNextTokenException(v **types.Invalid return nil } -func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExceededException, value interface{}) error { +func awsAwsjson11_deserializeDocumentMonitorInfo(v **types.MonitorInfo, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -7881,22 +9001,31 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.LimitExceededException + var sv *types.MonitorInfo if *v == nil { - sv = &types.LimitExceededException{} + sv = &types.MonitorInfo{} } else { sv = *v } for key, value := range shape { switch key { - case "Message": + case "MonitorArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.MonitorArn = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Status to be of type string, got %T instead", value) + } + sv.Status = ptr.String(jtv) } default: @@ -7908,7 +9037,41 @@ func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExcee return nil } -func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{}) error { +func awsAwsjson11_deserializeDocumentMonitors(v *[]types.MonitorSummary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.MonitorSummary + if *v == nil { + cv = []types.MonitorSummary{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.MonitorSummary + destAddr := &col + if err := awsAwsjson11_deserializeDocumentMonitorSummary(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentMonitorSummary(v **types.MonitorSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -7921,16 +9084,16 @@ func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{ return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.Metrics + var sv *types.MonitorSummary if *v == nil { - sv = &types.Metrics{} + sv = &types.MonitorSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "AverageWeightedQuantileLoss": + case "CreationTime": if value != nil { switch jtv := value.(type) { case json.Number: @@ -7938,38 +9101,15 @@ func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{ if err != nil { return err } - sv.AverageWeightedQuantileLoss = ptr.Float64(f64) - - case string: - var f64 float64 - switch { - case strings.EqualFold(jtv, "NaN"): - f64 = math.NaN() - - case strings.EqualFold(jtv, "Infinity"): - f64 = math.Inf(1) - - case strings.EqualFold(jtv, "-Infinity"): - f64 = math.Inf(-1) - - default: - return fmt.Errorf("unknown JSON number value: %s", jtv) - - } - sv.AverageWeightedQuantileLoss = ptr.Float64(f64) + sv.CreationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) default: - return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) } } - case "ErrorMetrics": - if err := awsAwsjson11_deserializeDocumentErrorMetrics(&sv.ErrorMetrics, value); err != nil { - return err - } - - case "RMSE": + case "LastModificationTime": if value != nil { switch jtv := value.(type) { case json.Number: @@ -7977,35 +9117,48 @@ func awsAwsjson11_deserializeDocumentMetrics(v **types.Metrics, value interface{ if err != nil { return err } - sv.RMSE = ptr.Float64(f64) - - case string: - var f64 float64 - switch { - case strings.EqualFold(jtv, "NaN"): - f64 = math.NaN() - - case strings.EqualFold(jtv, "Infinity"): - f64 = math.Inf(1) - - case strings.EqualFold(jtv, "-Infinity"): - f64 = math.Inf(-1) - - default: - return fmt.Errorf("unknown JSON number value: %s", jtv) - - } - sv.RMSE = ptr.Float64(f64) + sv.LastModificationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) default: - return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) } } - case "WeightedQuantileLosses": - if err := awsAwsjson11_deserializeDocumentWeightedQuantileLosses(&sv.WeightedQuantileLosses, value); err != nil { - return err + case "MonitorArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.MonitorArn = ptr.String(jtv) + } + + case "MonitorName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Name to be of type string, got %T instead", value) + } + sv.MonitorName = ptr.String(jtv) + } + + case "ResourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Status to be of type string, got %T instead", value) + } + sv.Status = ptr.String(jtv) } default: @@ -8201,6 +9354,42 @@ func awsAwsjson11_deserializeDocumentPredictorBacktestExportJobSummary(v **types return nil } +func awsAwsjson11_deserializeDocumentPredictorBaseline(v **types.PredictorBaseline, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PredictorBaseline + if *v == nil { + sv = &types.PredictorBaseline{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "BaselineMetrics": + if err := awsAwsjson11_deserializeDocumentBaselineMetrics(&sv.BaselineMetrics, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentPredictorEvaluationResults(v *[]types.EvaluationResult, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -8235,6 +9424,62 @@ func awsAwsjson11_deserializeDocumentPredictorEvaluationResults(v *[]types.Evalu return nil } +func awsAwsjson11_deserializeDocumentPredictorEvent(v **types.PredictorEvent, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PredictorEvent + if *v == nil { + sv = &types.PredictorEvent{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Datetime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.Datetime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Detail": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Detail to be of type string, got %T instead", value) + } + sv.Detail = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentPredictorExecution(v **types.PredictorExecution, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -8263,48 +9508,225 @@ func awsAwsjson11_deserializeDocumentPredictorExecution(v **types.PredictorExecu if !ok { return fmt.Errorf("expected Arn to be of type string, got %T instead", value) } - sv.AlgorithmArn = ptr.String(jtv) + sv.AlgorithmArn = ptr.String(jtv) + } + + case "TestWindows": + if err := awsAwsjson11_deserializeDocumentTestWindowDetails(&sv.TestWindows, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentPredictorExecutionDetails(v **types.PredictorExecutionDetails, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PredictorExecutionDetails + if *v == nil { + sv = &types.PredictorExecutionDetails{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PredictorExecutions": + if err := awsAwsjson11_deserializeDocumentPredictorExecutions(&sv.PredictorExecutions, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentPredictorExecutions(v *[]types.PredictorExecution, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.PredictorExecution + if *v == nil { + cv = []types.PredictorExecution{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.PredictorExecution + destAddr := &col + if err := awsAwsjson11_deserializeDocumentPredictorExecution(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(v **types.PredictorMonitorEvaluation, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PredictorMonitorEvaluation + if *v == nil { + sv = &types.PredictorMonitorEvaluation{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "EvaluationState": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EvaluationState to be of type string, got %T instead", value) + } + sv.EvaluationState = ptr.String(jtv) + } + + case "EvaluationTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.EvaluationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "MetricResults": + if err := awsAwsjson11_deserializeDocumentMetricResults(&sv.MetricResults, value); err != nil { + return err + } + + case "MonitorArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.MonitorArn = ptr.String(jtv) } - case "TestWindows": - if err := awsAwsjson11_deserializeDocumentTestWindowDetails(&sv.TestWindows, value); err != nil { + case "MonitorDataSource": + if err := awsAwsjson11_deserializeDocumentMonitorDataSource(&sv.MonitorDataSource, value); err != nil { return err } - default: - _, _ = key, value + case "NumItemsEvaluated": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Long to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.NumItemsEvaluated = ptr.Int64(i64) + } - } - } - *v = sv - return nil -} + case "PredictorEvent": + if err := awsAwsjson11_deserializeDocumentPredictorEvent(&sv.PredictorEvent, value); err != nil { + return err + } -func awsAwsjson11_deserializeDocumentPredictorExecutionDetails(v **types.PredictorExecutionDetails, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } + case "ResourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + case "WindowEndDatetime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.WindowEndDatetime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - var sv *types.PredictorExecutionDetails - if *v == nil { - sv = &types.PredictorExecutionDetails{} - } else { - sv = *v - } + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) - for key, value := range shape { - switch key { - case "PredictorExecutions": - if err := awsAwsjson11_deserializeDocumentPredictorExecutions(&sv.PredictorExecutions, value); err != nil { - return err + } + } + + case "WindowStartDatetime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.WindowStartDatetime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } } default: @@ -8316,7 +9738,7 @@ func awsAwsjson11_deserializeDocumentPredictorExecutionDetails(v **types.Predict return nil } -func awsAwsjson11_deserializeDocumentPredictorExecutions(v *[]types.PredictorExecution, value interface{}) error { +func awsAwsjson11_deserializeDocumentPredictorMonitorEvaluations(v *[]types.PredictorMonitorEvaluation, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8329,17 +9751,17 @@ func awsAwsjson11_deserializeDocumentPredictorExecutions(v *[]types.PredictorExe return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.PredictorExecution + var cv []types.PredictorMonitorEvaluation if *v == nil { - cv = []types.PredictorExecution{} + cv = []types.PredictorMonitorEvaluation{} } else { cv = *v } for _, value := range shape { - var col types.PredictorExecution + var col types.PredictorMonitorEvaluation destAddr := &col - if err := awsAwsjson11_deserializeDocumentPredictorExecution(&destAddr, value); err != nil { + if err := awsAwsjson11_deserializeDocumentPredictorMonitorEvaluation(&destAddr, value); err != nil { return err } col = *destAddr @@ -9388,6 +10810,167 @@ func awsAwsjson11_deserializeDocumentTestWindowSummary(v **types.TestWindowSumma return nil } +func awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(v **types.TimeAlignmentBoundary, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.TimeAlignmentBoundary + if *v == nil { + sv = &types.TimeAlignmentBoundary{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "DayOfMonth": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected DayOfMonth to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.DayOfMonth = ptr.Int32(int32(i64)) + } + + case "DayOfWeek": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DayOfWeek to be of type string, got %T instead", value) + } + sv.DayOfWeek = types.DayOfWeek(jtv) + } + + case "Hour": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Hour to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Hour = ptr.Int32(int32(i64)) + } + + case "Month": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Month to be of type string, got %T instead", value) + } + sv.Month = types.Month(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(v **types.TimeSeriesIdentifiers, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.TimeSeriesIdentifiers + if *v == nil { + sv = &types.TimeSeriesIdentifiers{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "DataSource": + if err := awsAwsjson11_deserializeDocumentDataSource(&sv.DataSource, value); err != nil { + return err + } + + case "Format": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Format to be of type string, got %T instead", value) + } + sv.Format = ptr.String(jtv) + } + + case "Schema": + if err := awsAwsjson11_deserializeDocumentSchema(&sv.Schema, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentTimeSeriesSelector(v **types.TimeSeriesSelector, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.TimeSeriesSelector + if *v == nil { + sv = &types.TimeSeriesSelector{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "TimeSeriesIdentifiers": + if err := awsAwsjson11_deserializeDocumentTimeSeriesIdentifiers(&sv.TimeSeriesIdentifiers, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentTrainingParameters(v *map[string]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -9987,7 +11570,47 @@ func awsAwsjson11_deserializeOpDocumentCreateForecastExportJobOutput(v **CreateF if !ok { return fmt.Errorf("expected Arn to be of type string, got %T instead", value) } - sv.ForecastExportJobArn = ptr.String(jtv) + sv.ForecastExportJobArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentCreateForecastOutput(v **CreateForecastOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateForecastOutput + if *v == nil { + sv = &CreateForecastOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ForecastArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ForecastArn = ptr.String(jtv) } default: @@ -9999,7 +11622,7 @@ func awsAwsjson11_deserializeOpDocumentCreateForecastExportJobOutput(v **CreateF return nil } -func awsAwsjson11_deserializeOpDocumentCreateForecastOutput(v **CreateForecastOutput, value interface{}) error { +func awsAwsjson11_deserializeOpDocumentCreateMonitorOutput(v **CreateMonitorOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10012,22 +11635,22 @@ func awsAwsjson11_deserializeOpDocumentCreateForecastOutput(v **CreateForecastOu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *CreateForecastOutput + var sv *CreateMonitorOutput if *v == nil { - sv = &CreateForecastOutput{} + sv = &CreateMonitorOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "ForecastArn": + case "MonitorArn": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected Arn to be of type string, got %T instead", value) } - sv.ForecastArn = ptr.String(jtv) + sv.MonitorArn = ptr.String(jtv) } default: @@ -10247,6 +11870,11 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA sv.Message = ptr.String(jtv) } + case "MonitorInfo": + if err := awsAwsjson11_deserializeDocumentMonitorInfo(&sv.MonitorInfo, value); err != nil { + return err + } + case "OptimizationMetric": if value != nil { jtv, ok := value.(string) @@ -10288,6 +11916,11 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoPredictorOutput(v **DescribeA sv.Status = ptr.String(jtv) } + case "TimeAlignmentBoundary": + if err := awsAwsjson11_deserializeDocumentTimeAlignmentBoundary(&sv.TimeAlignmentBoundary, value); err != nil { + return err + } + default: _, _ = key, value @@ -10523,6 +12156,15 @@ func awsAwsjson11_deserializeOpDocumentDescribeDatasetImportJobOutput(v **Descri return err } + case "Format": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Format to be of type string, got %T instead", value) + } + sv.Format = ptr.String(jtv) + } + case "GeolocationFormat": if value != nil { jtv, ok := value.(string) @@ -10799,6 +12441,15 @@ func awsAwsjson11_deserializeOpDocumentDescribeExplainabilityExportOutput(v **De sv.ExplainabilityExportName = ptr.String(jtv) } + case "Format": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Format to be of type string, got %T instead", value) + } + sv.Format = ptr.String(jtv) + } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -11075,6 +12726,15 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastExportJobOutput(v **Descr sv.ForecastExportJobName = ptr.String(jtv) } + case "Format": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Format to be of type string, got %T instead", value) + } + sv.Format = ptr.String(jtv) + } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -11244,6 +12904,162 @@ func awsAwsjson11_deserializeOpDocumentDescribeForecastOutput(v **DescribeForeca sv.Status = ptr.String(jtv) } + case "TimeSeriesSelector": + if err := awsAwsjson11_deserializeDocumentTimeSeriesSelector(&sv.TimeSeriesSelector, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentDescribeMonitorOutput(v **DescribeMonitorOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DescribeMonitorOutput + if *v == nil { + sv = &DescribeMonitorOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Baseline": + if err := awsAwsjson11_deserializeDocumentBaseline(&sv.Baseline, value); err != nil { + return err + } + + case "CreationTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "EstimatedEvaluationTimeRemainingInMinutes": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Long to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.EstimatedEvaluationTimeRemainingInMinutes = ptr.Int64(i64) + } + + case "LastEvaluationState": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EvaluationState to be of type string, got %T instead", value) + } + sv.LastEvaluationState = ptr.String(jtv) + } + + case "LastEvaluationTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastEvaluationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "LastModificationTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModificationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "MonitorArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.MonitorArn = ptr.String(jtv) + } + + case "MonitorName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Name to be of type string, got %T instead", value) + } + sv.MonitorName = ptr.String(jtv) + } + + case "ResourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Status to be of type string, got %T instead", value) + } + sv.Status = ptr.String(jtv) + } + default: _, _ = key, value @@ -11296,6 +13112,15 @@ func awsAwsjson11_deserializeOpDocumentDescribePredictorBacktestExportJobOutput( return err } + case "Format": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Format to be of type string, got %T instead", value) + } + sv.Format = ptr.String(jtv) + } + case "LastModificationTime": if value != nil { switch jtv := value.(type) { @@ -11973,6 +13798,96 @@ func awsAwsjson11_deserializeOpDocumentListForecastsOutput(v **ListForecastsOutp return nil } +func awsAwsjson11_deserializeOpDocumentListMonitorEvaluationsOutput(v **ListMonitorEvaluationsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListMonitorEvaluationsOutput + if *v == nil { + sv = &ListMonitorEvaluationsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "PredictorMonitorEvaluations": + if err := awsAwsjson11_deserializeDocumentPredictorMonitorEvaluations(&sv.PredictorMonitorEvaluations, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListMonitorsOutput(v **ListMonitorsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListMonitorsOutput + if *v == nil { + sv = &ListMonitorsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Monitors": + if err := awsAwsjson11_deserializeDocumentMonitors(&sv.Monitors, value); err != nil { + return err + } + + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeOpDocumentListPredictorBacktestExportJobsOutput(v **ListPredictorBacktestExportJobsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/forecast/generated.json b/service/forecast/generated.json index bacd4c5f6da..8e8d78e7965 100644 --- a/service/forecast/generated.json +++ b/service/forecast/generated.json @@ -16,6 +16,7 @@ "api_op_CreateExplainabilityExport.go", "api_op_CreateForecast.go", "api_op_CreateForecastExportJob.go", + "api_op_CreateMonitor.go", "api_op_CreatePredictor.go", "api_op_CreatePredictorBacktestExportJob.go", "api_op_DeleteDataset.go", @@ -25,6 +26,7 @@ "api_op_DeleteExplainabilityExport.go", "api_op_DeleteForecast.go", "api_op_DeleteForecastExportJob.go", + "api_op_DeleteMonitor.go", "api_op_DeletePredictor.go", "api_op_DeletePredictorBacktestExportJob.go", "api_op_DeleteResourceTree.go", @@ -36,6 +38,7 @@ "api_op_DescribeExplainabilityExport.go", "api_op_DescribeForecast.go", "api_op_DescribeForecastExportJob.go", + "api_op_DescribeMonitor.go", "api_op_DescribePredictor.go", "api_op_DescribePredictorBacktestExportJob.go", "api_op_GetAccuracyMetrics.go", @@ -46,9 +49,12 @@ "api_op_ListExplainabilityExports.go", "api_op_ListForecastExportJobs.go", "api_op_ListForecasts.go", + "api_op_ListMonitorEvaluations.go", + "api_op_ListMonitors.go", "api_op_ListPredictorBacktestExportJobs.go", "api_op_ListPredictors.go", "api_op_ListTagsForResource.go", + "api_op_ResumeResource.go", "api_op_StopResource.go", "api_op_TagResource.go", "api_op_UntagResource.go", diff --git a/service/forecast/go.mod b/service/forecast/go.mod index 93c8ab91ff8..2e972c49e96 100644 --- a/service/forecast/go.mod +++ b/service/forecast/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/forecast go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/forecast/go.sum b/service/forecast/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/forecast/go.sum +++ b/service/forecast/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/forecast/go_module_metadata.go b/service/forecast/go_module_metadata.go index ac45ab9a86b..8f724095546 100644 --- a/service/forecast/go_module_metadata.go +++ b/service/forecast/go_module_metadata.go @@ -3,4 +3,4 @@ package forecast // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.5" +const goModuleVersion = "1.22.1" diff --git a/service/forecast/serializers.go b/service/forecast/serializers.go index db402d48afd..c5ef70827e2 100644 --- a/service/forecast/serializers.go +++ b/service/forecast/serializers.go @@ -456,6 +456,61 @@ func (m *awsAwsjson11_serializeOpCreateForecastExportJob) HandleSerialize(ctx co return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpCreateMonitor struct { +} + +func (*awsAwsjson11_serializeOpCreateMonitor) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpCreateMonitor) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateMonitorInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AmazonForecast.CreateMonitor") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentCreateMonitorInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpCreatePredictor struct { } @@ -951,6 +1006,61 @@ func (m *awsAwsjson11_serializeOpDeleteForecastExportJob) HandleSerialize(ctx co return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpDeleteMonitor struct { +} + +func (*awsAwsjson11_serializeOpDeleteMonitor) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDeleteMonitor) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteMonitorInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AmazonForecast.DeleteMonitor") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDeleteMonitorInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpDeletePredictor struct { } @@ -1556,6 +1666,61 @@ func (m *awsAwsjson11_serializeOpDescribeForecastExportJob) HandleSerialize(ctx return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpDescribeMonitor struct { +} + +func (*awsAwsjson11_serializeOpDescribeMonitor) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDescribeMonitor) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DescribeMonitorInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AmazonForecast.DescribeMonitor") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDescribeMonitorInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpDescribePredictor struct { } @@ -2106,6 +2271,116 @@ func (m *awsAwsjson11_serializeOpListForecasts) HandleSerialize(ctx context.Cont return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpListMonitorEvaluations struct { +} + +func (*awsAwsjson11_serializeOpListMonitorEvaluations) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListMonitorEvaluations) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListMonitorEvaluationsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AmazonForecast.ListMonitorEvaluations") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListMonitorEvaluationsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListMonitors struct { +} + +func (*awsAwsjson11_serializeOpListMonitors) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListMonitors) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListMonitorsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AmazonForecast.ListMonitors") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListMonitorsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpListPredictorBacktestExportJobs struct { } @@ -2271,6 +2546,61 @@ func (m *awsAwsjson11_serializeOpListTagsForResource) HandleSerialize(ctx contex return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpResumeResource struct { +} + +func (*awsAwsjson11_serializeOpResumeResource) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpResumeResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ResumeResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AmazonForecast.ResumeResource") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentResumeResourceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpStopResource struct { } @@ -3015,6 +3345,18 @@ func awsAwsjson11_serializeDocumentIntegerParameterRanges(v []types.IntegerParam return nil } +func awsAwsjson11_serializeDocumentMonitorConfig(v *types.MonitorConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MonitorName != nil { + ok := object.Key("MonitorName") + ok.String(*v.MonitorName) + } + + return nil +} + func awsAwsjson11_serializeDocumentParameterRanges(v *types.ParameterRanges, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3180,6 +3522,73 @@ func awsAwsjson11_serializeDocumentTags(v []types.Tag, value smithyjson.Value) e return nil } +func awsAwsjson11_serializeDocumentTimeAlignmentBoundary(v *types.TimeAlignmentBoundary, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DayOfMonth != nil { + ok := object.Key("DayOfMonth") + ok.Integer(*v.DayOfMonth) + } + + if len(v.DayOfWeek) > 0 { + ok := object.Key("DayOfWeek") + ok.String(string(v.DayOfWeek)) + } + + if v.Hour != nil { + ok := object.Key("Hour") + ok.Integer(*v.Hour) + } + + if len(v.Month) > 0 { + ok := object.Key("Month") + ok.String(string(v.Month)) + } + + return nil +} + +func awsAwsjson11_serializeDocumentTimeSeriesIdentifiers(v *types.TimeSeriesIdentifiers, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DataSource != nil { + ok := object.Key("DataSource") + if err := awsAwsjson11_serializeDocumentDataSource(v.DataSource, ok); err != nil { + return err + } + } + + if v.Format != nil { + ok := object.Key("Format") + ok.String(*v.Format) + } + + if v.Schema != nil { + ok := object.Key("Schema") + if err := awsAwsjson11_serializeDocumentSchema(v.Schema, ok); err != nil { + return err + } + } + + return nil +} + +func awsAwsjson11_serializeDocumentTimeSeriesSelector(v *types.TimeSeriesSelector, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.TimeSeriesIdentifiers != nil { + ok := object.Key("TimeSeriesIdentifiers") + if err := awsAwsjson11_serializeDocumentTimeSeriesIdentifiers(v.TimeSeriesIdentifiers, ok); err != nil { + return err + } + } + + return nil +} + func awsAwsjson11_serializeDocumentTrainingParameters(v map[string]string, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3260,6 +3669,13 @@ func awsAwsjson11_serializeOpDocumentCreateAutoPredictorInput(v *CreateAutoPredi } } + if v.MonitorConfig != nil { + ok := object.Key("MonitorConfig") + if err := awsAwsjson11_serializeDocumentMonitorConfig(v.MonitorConfig, ok); err != nil { + return err + } + } + if len(v.OptimizationMetric) > 0 { ok := object.Key("OptimizationMetric") ok.String(string(v.OptimizationMetric)) @@ -3282,6 +3698,13 @@ func awsAwsjson11_serializeOpDocumentCreateAutoPredictorInput(v *CreateAutoPredi } } + if v.TimeAlignmentBoundary != nil { + ok := object.Key("TimeAlignmentBoundary") + if err := awsAwsjson11_serializeDocumentTimeAlignmentBoundary(v.TimeAlignmentBoundary, ok); err != nil { + return err + } + } + return nil } @@ -3337,6 +3760,11 @@ func awsAwsjson11_serializeOpDocumentCreateDatasetImportJobInput(v *CreateDatase } } + if v.Format != nil { + ok := object.Key("Format") + ok.String(*v.Format) + } + if v.GeolocationFormat != nil { ok := object.Key("GeolocationFormat") ok.String(*v.GeolocationFormat) @@ -3436,6 +3864,11 @@ func awsAwsjson11_serializeOpDocumentCreateExplainabilityExportInput(v *CreateEx ok.String(*v.ExplainabilityExportName) } + if v.Format != nil { + ok := object.Key("Format") + ok.String(*v.Format) + } + if v.Tags != nil { ok := object.Key("Tags") if err := awsAwsjson11_serializeDocumentTags(v.Tags, ok); err != nil { @@ -3527,6 +3960,11 @@ func awsAwsjson11_serializeOpDocumentCreateForecastExportJobInput(v *CreateForec ok.String(*v.ForecastExportJobName) } + if v.Format != nil { + ok := object.Key("Format") + ok.String(*v.Format) + } + if v.Tags != nil { ok := object.Key("Tags") if err := awsAwsjson11_serializeDocumentTags(v.Tags, ok); err != nil { @@ -3565,6 +4003,37 @@ func awsAwsjson11_serializeOpDocumentCreateForecastInput(v *CreateForecastInput, } } + if v.TimeSeriesSelector != nil { + ok := object.Key("TimeSeriesSelector") + if err := awsAwsjson11_serializeDocumentTimeSeriesSelector(v.TimeSeriesSelector, ok); err != nil { + return err + } + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentCreateMonitorInput(v *CreateMonitorInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MonitorName != nil { + ok := object.Key("MonitorName") + ok.String(*v.MonitorName) + } + + if v.ResourceArn != nil { + ok := object.Key("ResourceArn") + ok.String(*v.ResourceArn) + } + + if v.Tags != nil { + ok := object.Key("Tags") + if err := awsAwsjson11_serializeDocumentTags(v.Tags, ok); err != nil { + return err + } + } + return nil } @@ -3579,6 +4048,11 @@ func awsAwsjson11_serializeOpDocumentCreatePredictorBacktestExportJobInput(v *Cr } } + if v.Format != nil { + ok := object.Key("Format") + ok.String(*v.Format) + } + if v.PredictorArn != nil { ok := object.Key("PredictorArn") ok.String(*v.PredictorArn) @@ -3781,6 +4255,18 @@ func awsAwsjson11_serializeOpDocumentDeleteForecastInput(v *DeleteForecastInput, return nil } +func awsAwsjson11_serializeOpDocumentDeleteMonitorInput(v *DeleteMonitorInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MonitorArn != nil { + ok := object.Key("MonitorArn") + ok.String(*v.MonitorArn) + } + + return nil +} + func awsAwsjson11_serializeOpDocumentDeletePredictorBacktestExportJobInput(v *DeletePredictorBacktestExportJobInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3913,6 +4399,18 @@ func awsAwsjson11_serializeOpDocumentDescribeForecastInput(v *DescribeForecastIn return nil } +func awsAwsjson11_serializeOpDocumentDescribeMonitorInput(v *DescribeMonitorInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MonitorArn != nil { + ok := object.Key("MonitorArn") + ok.String(*v.MonitorArn) + } + + return nil +} + func awsAwsjson11_serializeOpDocumentDescribePredictorBacktestExportJobInput(v *DescribePredictorBacktestExportJobInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -4103,6 +4601,59 @@ func awsAwsjson11_serializeOpDocumentListForecastsInput(v *ListForecastsInput, v return nil } +func awsAwsjson11_serializeOpDocumentListMonitorEvaluationsInput(v *ListMonitorEvaluationsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Filters != nil { + ok := object.Key("Filters") + if err := awsAwsjson11_serializeDocumentFilters(v.Filters, ok); err != nil { + return err + } + } + + if v.MaxResults != nil { + ok := object.Key("MaxResults") + ok.Integer(*v.MaxResults) + } + + if v.MonitorArn != nil { + ok := object.Key("MonitorArn") + ok.String(*v.MonitorArn) + } + + if v.NextToken != nil { + ok := object.Key("NextToken") + ok.String(*v.NextToken) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListMonitorsInput(v *ListMonitorsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Filters != nil { + ok := object.Key("Filters") + if err := awsAwsjson11_serializeDocumentFilters(v.Filters, ok); err != nil { + return err + } + } + + if v.MaxResults != nil { + ok := object.Key("MaxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("NextToken") + ok.String(*v.NextToken) + } + + return nil +} + func awsAwsjson11_serializeOpDocumentListPredictorBacktestExportJobsInput(v *ListPredictorBacktestExportJobsInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -4163,6 +4714,18 @@ func awsAwsjson11_serializeOpDocumentListTagsForResourceInput(v *ListTagsForReso return nil } +func awsAwsjson11_serializeOpDocumentResumeResourceInput(v *ResumeResourceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ResourceArn != nil { + ok := object.Key("ResourceArn") + ok.String(*v.ResourceArn) + } + + return nil +} + func awsAwsjson11_serializeOpDocumentStopResourceInput(v *StopResourceInput, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/forecast/types/enums.go b/service/forecast/types/enums.go index a5de4ef473c..bf9cdce9211 100644 --- a/service/forecast/types/enums.go +++ b/service/forecast/types/enums.go @@ -64,6 +64,34 @@ func (DatasetType) Values() []DatasetType { } } +type DayOfWeek string + +// Enum values for DayOfWeek +const ( + DayOfWeekMonday DayOfWeek = "MONDAY" + DayOfWeekTuesday DayOfWeek = "TUESDAY" + DayOfWeekWednesday DayOfWeek = "WEDNESDAY" + DayOfWeekThursday DayOfWeek = "THURSDAY" + DayOfWeekFriday DayOfWeek = "FRIDAY" + DayOfWeekSaturday DayOfWeek = "SATURDAY" + DayOfWeekSunday DayOfWeek = "SUNDAY" +) + +// Values returns all known values for DayOfWeek. Note that this can be expanded in +// the future, and so it is only as up to date as the client. The ordering of this +// slice is not guaranteed to be stable across updates. +func (DayOfWeek) Values() []DayOfWeek { + return []DayOfWeek{ + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + } +} + type Domain string // Enum values for Domain @@ -144,6 +172,44 @@ func (FilterConditionString) Values() []FilterConditionString { } } +type Month string + +// Enum values for Month +const ( + MonthJanuary Month = "JANUARY" + MonthFebruary Month = "FEBRUARY" + MonthMarch Month = "MARCH" + MonthApril Month = "APRIL" + MonthMay Month = "MAY" + MonthJune Month = "JUNE" + MonthJuly Month = "JULY" + MonthAugust Month = "AUGUST" + MonthSeptember Month = "SEPTEMBER" + MonthOctober Month = "OCTOBER" + MonthNovember Month = "NOVEMBER" + MonthDecember Month = "DECEMBER" +) + +// Values returns all known values for Month. Note that this can be expanded in the +// future, and so it is only as up to date as the client. The ordering of this +// slice is not guaranteed to be stable across updates. +func (Month) Values() []Month { + return []Month{ + "JANUARY", + "FEBRUARY", + "MARCH", + "APRIL", + "MAY", + "JUNE", + "JULY", + "AUGUST", + "SEPTEMBER", + "OCTOBER", + "NOVEMBER", + "DECEMBER", + } +} + type OptimizationMetric string // Enum values for OptimizationMetric diff --git a/service/forecast/types/types.go b/service/forecast/types/types.go index 66c738c416b..174fb10f547 100644 --- a/service/forecast/types/types.go +++ b/service/forecast/types/types.go @@ -28,8 +28,8 @@ type AdditionalDataset struct { Name *string // Weather Index To enable the Weather Index, do not specify a value for - // Configuration. Holidays To enable Holidays, set CountryCode to one of the - // following two-letter country codes: + // Configuration. Holidays Holidays To enable Holidays, set CountryCode to one of + // the following two-letter country codes: // // * "AL" - ALBANIA // @@ -240,6 +240,32 @@ type AttributeConfig struct { noSmithyDocumentSerde } +// Metrics you can use as a baseline for comparison purposes. Use these metrics +// when you interpret monitoring results for an auto predictor. +type Baseline struct { + + // The initial accuracy metrics + // (https://docs.aws.amazon.com/forecast/latest/dg/metrics.html) for the predictor + // you are monitoring. Use these metrics as a baseline for comparison purposes as + // you use your predictor and the metrics change. + PredictorBaseline *PredictorBaseline + + noSmithyDocumentSerde +} + +// An individual metric that you can use for comparison as you evaluate your +// monitoring results. +type BaselineMetric struct { + + // The name of the metric. + Name *string + + // The value for the metric. + Value *float64 + + noSmithyDocumentSerde +} + // Specifies a categorical hyperparameter and it's range of tunable values. This // object is part of the ParameterRanges object. type CategoricalParameterRange struct { @@ -326,7 +352,9 @@ type DataDestination struct { } // Provides a summary of the dataset group properties used in the ListDatasetGroups +// (https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetGroups.html) // operation. To get the complete set of properties, call the DescribeDatasetGroup +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html) // operation, and provide the DatasetGroupArn. type DatasetGroupSummary struct { @@ -340,16 +368,22 @@ type DatasetGroupSummary struct { DatasetGroupName *string // When the dataset group was created or last updated from a call to the - // UpdateDatasetGroup operation. While the dataset group is being updated, - // LastModificationTime is the current time of the ListDatasetGroups call. + // UpdateDatasetGroup + // (https://docs.aws.amazon.com/forecast/latest/dg/API_UpdateDatasetGroup.html) + // operation. While the dataset group is being updated, LastModificationTime is the + // current time of the ListDatasetGroups call. LastModificationTime *time.Time noSmithyDocumentSerde } // Provides a summary of the dataset import job properties used in the -// ListDatasetImportJobs operation. To get the complete set of properties, call the -// DescribeDatasetImportJob operation, and provide the DatasetImportJobArn. +// ListDatasetImportJobs +// (https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasetImportJobs.html) +// operation. To get the complete set of properties, call the +// DescribeDatasetImportJob +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetImportJob.html) +// operation, and provide the DatasetImportJobArn. type DatasetImportJobSummary struct { // When the dataset import job was created. @@ -403,9 +437,11 @@ type DatasetImportJobSummary struct { noSmithyDocumentSerde } -// Provides a summary of the dataset properties used in the ListDatasets operation. -// To get the complete set of properties, call the DescribeDataset operation, and -// provide the DatasetArn. +// Provides a summary of the dataset properties used in the ListDatasets +// (https://docs.aws.amazon.com/forecast/latest/dg/API_ListDatasets.html) +// operation. To get the complete set of properties, call the DescribeDataset +// (https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDataset.html) +// operation, and provide the DatasetArn. type DatasetSummary struct { // When the dataset was created. @@ -425,8 +461,10 @@ type DatasetSummary struct { // When you create a dataset, LastModificationTime is the same as CreationTime. // While data is being imported to the dataset, LastModificationTime is the current - // time of the ListDatasets call. After a CreateDatasetImportJob operation has - // finished, LastModificationTime is when the import job completed or failed. + // time of the ListDatasets call. After a CreateDatasetImportJob + // (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) + // operation has finished, LastModificationTime is when the import job completed or + // failed. LastModificationTime *time.Time noSmithyDocumentSerde @@ -544,8 +582,8 @@ type ExplainabilityConfig struct { // To create an Explainability for all time series in your datasets, use ALL. To // create an Explainability for specific time series in your datasets, use - // SPECIFIC. Specify time series by uploading a CSV file to an Amazon S3 bucket and - // set the location within the DataDestination data type. + // SPECIFIC. Specify time series by uploading a CSV or Parquet file to an Amazon S3 + // bucket and set the location within the DataDestination data type. // // This member is required. TimeSeriesGranularity TimeSeriesGranularity @@ -1044,6 +1082,22 @@ type IntegerParameterRange struct { noSmithyDocumentSerde } +// An individual metric Forecast calculated when monitoring predictor usage. You +// can compare the value for this metric to the metric's value in the Baseline to +// see how your predictor's performance is changing. For more information about +// metrics generated by Forecast see Evaluating Predictor Accuracy +// (https://docs.aws.amazon.com/forecast/latest/dg/metrics.html) +type MetricResult struct { + + // The name of the metric. + MetricName *string + + // The value for the metric. + MetricValue *float64 + + noSmithyDocumentSerde +} + // Provides metrics that are used to evaluate the performance of a predictor. This // object is part of the WindowSummary object. type Metrics struct { @@ -1070,6 +1124,107 @@ type Metrics struct { noSmithyDocumentSerde } +// The configuration details for the predictor monitor. +type MonitorConfig struct { + + // The name of the monitor resource. + // + // This member is required. + MonitorName *string + + noSmithyDocumentSerde +} + +// The source of the data the monitor used during the evaluation. +type MonitorDataSource struct { + + // The Amazon Resource Name (ARN) of the dataset import job used to import the data + // that initiated the monitor evaluation. + DatasetImportJobArn *string + + // The Amazon Resource Name (ARN) of the forecast the monitor used during the + // evaluation. + ForecastArn *string + + // The Amazon Resource Name (ARN) of the predictor resource you are monitoring. + PredictorArn *string + + noSmithyDocumentSerde +} + +// Provides information about the monitor resource. +type MonitorInfo struct { + + // The Amazon Resource Name (ARN) of the monitor resource. + MonitorArn *string + + // The status of the monitor. States include: + // + // * ACTIVE + // + // * ACTIVE_STOPPING, + // ACTIVE_STOPPED + // + // * UPDATE_IN_PROGRESS + // + // * CREATE_PENDING, CREATE_IN_PROGRESS, + // CREATE_FAILED + // + // * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED + Status *string + + noSmithyDocumentSerde +} + +// Provides a summary of the monitor properties used in the ListMonitors operation. +// To get a complete set of properties, call the DescribeMonitor operation, and +// provide the listed MonitorArn. +type MonitorSummary struct { + + // When the monitor resource was created. + CreationTime *time.Time + + // The last time the monitor resource was modified. The timestamp depends on the + // status of the job: + // + // * CREATE_PENDING - The CreationTime. + // + // * CREATE_IN_PROGRESS - + // The current timestamp. + // + // * STOPPED - When the resource stopped. + // + // * ACTIVE or + // CREATE_FAILED - When the monitor creation finished or failed. + LastModificationTime *time.Time + + // The Amazon Resource Name (ARN) of the monitor resource. + MonitorArn *string + + // The name of the monitor resource. + MonitorName *string + + // The Amazon Resource Name (ARN) of the predictor being monitored. + ResourceArn *string + + // The status of the monitor. States include: + // + // * ACTIVE + // + // * ACTIVE_STOPPING, + // ACTIVE_STOPPED + // + // * UPDATE_IN_PROGRESS + // + // * CREATE_PENDING, CREATE_IN_PROGRESS, + // CREATE_FAILED + // + // * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED + Status *string + + noSmithyDocumentSerde +} + // Specifies the categorical, continuous, and integer hyperparameters, and their // ranges of tunable values. The range of tunable values determines which values // that a hyperparameter tuning job can choose for the specified hyperparameter. @@ -1144,6 +1299,34 @@ type PredictorBacktestExportJobSummary struct { noSmithyDocumentSerde } +// Metrics you can use as a baseline for comparison purposes. Use these metrics +// when you interpret monitoring results for an auto predictor. +type PredictorBaseline struct { + + // The initial accuracy metrics + // (https://docs.aws.amazon.com/forecast/latest/dg/metrics.html) for the predictor. + // Use these metrics as a baseline for comparison purposes as you use your + // predictor and the metrics change. + BaselineMetrics []BaselineMetric + + noSmithyDocumentSerde +} + +// Provides details about a predictor event, such as a retraining. +type PredictorEvent struct { + + // The timestamp for when the event occurred. + Datetime *time.Time + + // The type of event. For example, Retrain. A retraining event denotes the + // timepoint when a predictor was retrained. Any monitor results from before the + // Datetime are from the previous predictor. Any new metrics are for the newly + // retrained predictor. + Detail *string + + noSmithyDocumentSerde +} + // The algorithm used to perform a backtest and the status of those tests. type PredictorExecution struct { @@ -1172,6 +1355,50 @@ type PredictorExecutionDetails struct { noSmithyDocumentSerde } +// Describes the results of a monitor evaluation. +type PredictorMonitorEvaluation struct { + + // The status of the monitor evaluation. The state can be SUCCESS or FAILURE. + EvaluationState *string + + // The timestamp that indicates when the monitor evaluation was started. + EvaluationTime *time.Time + + // Information about any errors that may have occurred during the monitor + // evaluation. + Message *string + + // A list of metrics Forecast calculated when monitoring a predictor. You can + // compare the value for each metric in the list to the metric's value in the + // Baseline to see how your predictor's performance is changing. + MetricResults []MetricResult + + // The Amazon Resource Name (ARN) of the monitor resource. + MonitorArn *string + + // The source of the data the monitor resource used during the evaluation. + MonitorDataSource *MonitorDataSource + + // The number of items considered during the evaluation. + NumItemsEvaluated *int64 + + // Provides details about a predictor event, such as a retraining. + PredictorEvent *PredictorEvent + + // The Amazon Resource Name (ARN) of the resource to monitor. + ResourceArn *string + + // The timestamp that indicates the end of the window that is used for monitor + // evaluation. + WindowEndDatetime *time.Time + + // The timestamp that indicates the start of the window that is used for monitor + // evaluation. + WindowStartDatetime *time.Time + + noSmithyDocumentSerde +} + // Provides a summary of the predictor properties that are used in the // ListPredictors operation. To get the complete set of properties, call the // DescribePredictor operation, and provide the listed PredictorArn. @@ -1287,21 +1514,26 @@ type Schema struct { } // An attribute of a schema, which defines a dataset field. A schema attribute is -// required for every field in a dataset. The Schema object contains an array of -// SchemaAttribute objects. +// required for every field in a dataset. The Schema +// (https://docs.aws.amazon.com/forecast/latest/dg/API_Schema.html) object contains +// an array of SchemaAttribute objects. type SchemaAttribute struct { // The name of the dataset field. AttributeName *string - // The data type of the field. + // The data type of the field. For a related time series dataset, other than date, + // item_id, and forecast dimensions attributes, all attributes should be of + // numerical type (integer/float). AttributeType AttributeType noSmithyDocumentSerde } // Provides statistics for each data field imported into to an Amazon Forecast -// dataset with the CreateDatasetImportJob operation. +// dataset with the CreateDatasetImportJob +// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html) +// operation. type Statistics struct { // For a numeric field, the average value in the field. @@ -1605,6 +1837,71 @@ type TestWindowSummary struct { noSmithyDocumentSerde } +// The time boundary Forecast uses to align and aggregate your data to match your +// forecast frequency. Provide the unit of time and the time boundary as a key +// value pair. If you don't provide a time boundary, Forecast uses a set of Default +// Time Boundaries +// (https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#default-time-boundaries). +// For more information about aggregation, see Data Aggregation for Different +// Forecast Frequencies +// (https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html). For more +// information setting a custom time boundary, see Specifying a Time Boundary +// (https://docs.aws.amazon.com/forecast/latest/dg/data-aggregation.html#specifying-time-boundary). +type TimeAlignmentBoundary struct { + + // The day of the month to use for time alignment during aggregation. + DayOfMonth *int32 + + // The day of week to use for time alignment during aggregation. The day must be in + // uppercase. + DayOfWeek DayOfWeek + + // The hour of day to use for time alignment during aggregation. + Hour *int32 + + // The month to use for time alignment during aggregation. The month must be in + // uppercase. + Month Month + + noSmithyDocumentSerde +} + +// Details about the import file that contains the time series for which you want +// to create forecasts. +type TimeSeriesIdentifiers struct { + + // The source of your data, an AWS Identity and Access Management (IAM) role that + // allows Amazon Forecast to access the data and, optionally, an AWS Key Management + // Service (KMS) key. + DataSource *DataSource + + // The format of the data, either CSV or PARQUET. + Format *string + + // Defines the fields of a dataset. + Schema *Schema + + noSmithyDocumentSerde +} + +// Defines the set of time series that are used to create the forecasts in a +// TimeSeriesIdentifiers object. The TimeSeriesIdentifiers object needs the +// following information: +// +// * DataSource +// +// * Format +// +// * Schema +type TimeSeriesSelector struct { + + // Details about the import file that contains the time series for which you want + // to create forecasts. + TimeSeriesIdentifiers *TimeSeriesIdentifiers + + noSmithyDocumentSerde +} + // The weighted loss value for a quantile. This object is part of the Metrics // object. type WeightedQuantileLoss struct { diff --git a/service/forecast/validators.go b/service/forecast/validators.go index 1ebc4e337dc..75cc2299c0d 100644 --- a/service/forecast/validators.go +++ b/service/forecast/validators.go @@ -170,6 +170,26 @@ func (m *validateOpCreateForecast) HandleInitialize(ctx context.Context, in midd return next.HandleInitialize(ctx, in) } +type validateOpCreateMonitor struct { +} + +func (*validateOpCreateMonitor) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateMonitor) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateMonitorInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateMonitorInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreatePredictorBacktestExportJob struct { } @@ -350,6 +370,26 @@ func (m *validateOpDeleteForecast) HandleInitialize(ctx context.Context, in midd return next.HandleInitialize(ctx, in) } +type validateOpDeleteMonitor struct { +} + +func (*validateOpDeleteMonitor) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteMonitor) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteMonitorInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteMonitorInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDeletePredictorBacktestExportJob struct { } @@ -570,6 +610,26 @@ func (m *validateOpDescribeForecast) HandleInitialize(ctx context.Context, in mi return next.HandleInitialize(ctx, in) } +type validateOpDescribeMonitor struct { +} + +func (*validateOpDescribeMonitor) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDescribeMonitor) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DescribeMonitorInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDescribeMonitorInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDescribePredictorBacktestExportJob struct { } @@ -730,6 +790,46 @@ func (m *validateOpListForecasts) HandleInitialize(ctx context.Context, in middl return next.HandleInitialize(ctx, in) } +type validateOpListMonitorEvaluations struct { +} + +func (*validateOpListMonitorEvaluations) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListMonitorEvaluations) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListMonitorEvaluationsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListMonitorEvaluationsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpListMonitors struct { +} + +func (*validateOpListMonitors) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListMonitors) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListMonitorsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListMonitorsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListPredictorBacktestExportJobs struct { } @@ -790,6 +890,26 @@ func (m *validateOpListTagsForResource) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +type validateOpResumeResource struct { +} + +func (*validateOpResumeResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpResumeResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ResumeResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpResumeResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpStopResource struct { } @@ -902,6 +1022,10 @@ func addOpCreateForecastValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateForecast{}, middleware.After) } +func addOpCreateMonitorValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateMonitor{}, middleware.After) +} + func addOpCreatePredictorBacktestExportJobValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreatePredictorBacktestExportJob{}, middleware.After) } @@ -938,6 +1062,10 @@ func addOpDeleteForecastValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteForecast{}, middleware.After) } +func addOpDeleteMonitorValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteMonitor{}, middleware.After) +} + func addOpDeletePredictorBacktestExportJobValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeletePredictorBacktestExportJob{}, middleware.After) } @@ -982,6 +1110,10 @@ func addOpDescribeForecastValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribeForecast{}, middleware.After) } +func addOpDescribeMonitorValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDescribeMonitor{}, middleware.After) +} + func addOpDescribePredictorBacktestExportJobValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribePredictorBacktestExportJob{}, middleware.After) } @@ -1014,6 +1146,14 @@ func addOpListForecastsValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListForecasts{}, middleware.After) } +func addOpListMonitorEvaluationsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListMonitorEvaluations{}, middleware.After) +} + +func addOpListMonitorsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListMonitors{}, middleware.After) +} + func addOpListPredictorBacktestExportJobsValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListPredictorBacktestExportJobs{}, middleware.After) } @@ -1026,6 +1166,10 @@ func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) } +func addOpResumeResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpResumeResource{}, middleware.After) +} + func addOpStopResourceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpStopResource{}, middleware.After) } @@ -1483,6 +1627,21 @@ func validateIntegerParameterRanges(v []types.IntegerParameterRange) error { } } +func validateMonitorConfig(v *types.MonitorConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "MonitorConfig"} + if v.MonitorName == nil { + invalidParams.Add(smithy.NewErrParamRequired("MonitorName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateParameterRanges(v *types.ParameterRanges) error { if v == nil { return nil @@ -1598,6 +1757,40 @@ func validateTags(v []types.Tag) error { } } +func validateTimeSeriesIdentifiers(v *types.TimeSeriesIdentifiers) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TimeSeriesIdentifiers"} + if v.DataSource != nil { + if err := validateDataSource(v.DataSource); err != nil { + invalidParams.AddNested("DataSource", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateTimeSeriesSelector(v *types.TimeSeriesSelector) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TimeSeriesSelector"} + if v.TimeSeriesIdentifiers != nil { + if err := validateTimeSeriesIdentifiers(v.TimeSeriesIdentifiers); err != nil { + invalidParams.AddNested("TimeSeriesIdentifiers", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateAutoPredictorInput(v *CreateAutoPredictorInput) error { if v == nil { return nil @@ -1621,6 +1814,11 @@ func validateOpCreateAutoPredictorInput(v *CreateAutoPredictorInput) error { invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) } } + if v.MonitorConfig != nil { + if err := validateMonitorConfig(v.MonitorConfig); err != nil { + invalidParams.AddNested("MonitorConfig", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1826,6 +2024,34 @@ func validateOpCreateForecastInput(v *CreateForecastInput) error { invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) } } + if v.TimeSeriesSelector != nil { + if err := validateTimeSeriesSelector(v.TimeSeriesSelector); err != nil { + invalidParams.AddNested("TimeSeriesSelector", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateMonitorInput(v *CreateMonitorInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateMonitorInput"} + if v.MonitorName == nil { + invalidParams.Add(smithy.NewErrParamRequired("MonitorName")) + } + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if v.Tags != nil { + if err := validateTags(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2015,6 +2241,21 @@ func validateOpDeleteForecastInput(v *DeleteForecastInput) error { } } +func validateOpDeleteMonitorInput(v *DeleteMonitorInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteMonitorInput"} + if v.MonitorArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("MonitorArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDeletePredictorBacktestExportJobInput(v *DeletePredictorBacktestExportJobInput) error { if v == nil { return nil @@ -2180,6 +2421,21 @@ func validateOpDescribeForecastInput(v *DescribeForecastInput) error { } } +func validateOpDescribeMonitorInput(v *DescribeMonitorInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DescribeMonitorInput"} + if v.MonitorArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("MonitorArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDescribePredictorBacktestExportJobInput(v *DescribePredictorBacktestExportJobInput) error { if v == nil { return nil @@ -2310,6 +2566,43 @@ func validateOpListForecastsInput(v *ListForecastsInput) error { } } +func validateOpListMonitorEvaluationsInput(v *ListMonitorEvaluationsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListMonitorEvaluationsInput"} + if v.MonitorArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("MonitorArn")) + } + if v.Filters != nil { + if err := validateFilters(v.Filters); err != nil { + invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpListMonitorsInput(v *ListMonitorsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListMonitorsInput"} + if v.Filters != nil { + if err := validateFilters(v.Filters); err != nil { + invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListPredictorBacktestExportJobsInput(v *ListPredictorBacktestExportJobsInput) error { if v == nil { return nil @@ -2359,6 +2652,21 @@ func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { } } +func validateOpResumeResourceInput(v *ResumeResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ResumeResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpStopResourceInput(v *StopResourceInput) error { if v == nil { return nil diff --git a/service/forecastquery/CHANGELOG.md b/service/forecastquery/CHANGELOG.md index 667819d34e4..80ccdc16a5d 100644 --- a/service/forecastquery/CHANGELOG.md +++ b/service/forecastquery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/forecastquery/go.mod b/service/forecastquery/go.mod index 98e188272d6..43f83d1ee35 100644 --- a/service/forecastquery/go.mod +++ b/service/forecastquery/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/forecastquery go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/forecastquery/go.sum b/service/forecastquery/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/forecastquery/go.sum +++ b/service/forecastquery/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/forecastquery/go_module_metadata.go b/service/forecastquery/go_module_metadata.go index 27f0c9c34b2..3e6350bf35e 100644 --- a/service/forecastquery/go_module_metadata.go +++ b/service/forecastquery/go_module_metadata.go @@ -3,4 +3,4 @@ package forecastquery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/frauddetector/CHANGELOG.md b/service/frauddetector/CHANGELOG.md index 020736c5220..44ad7889a2b 100644 --- a/service/frauddetector/CHANGELOG.md +++ b/service/frauddetector/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.19.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/frauddetector/go.mod b/service/frauddetector/go.mod index 3a6bbb493b1..37d96dde90c 100644 --- a/service/frauddetector/go.mod +++ b/service/frauddetector/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/frauddetector go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/frauddetector/go.sum b/service/frauddetector/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/frauddetector/go.sum +++ b/service/frauddetector/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/frauddetector/go_module_metadata.go b/service/frauddetector/go_module_metadata.go index 50f943810dc..e8bbf56f9b2 100644 --- a/service/frauddetector/go_module_metadata.go +++ b/service/frauddetector/go_module_metadata.go @@ -3,4 +3,4 @@ package frauddetector // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.5" +const goModuleVersion = "1.19.6" diff --git a/service/fsx/CHANGELOG.md b/service/fsx/CHANGELOG.md index 1f8ba6daba9..2aed02c5849 100644 --- a/service/fsx/CHANGELOG.md +++ b/service/fsx/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.24.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.24.0 (2022-05-25) + +* **Feature**: This release adds root squash support to FSx for Lustre to restrict root level access from clients by mapping root users to a less-privileged user/group with limited permissions. + # v1.23.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/fsx/api_op_UpdateFileSystem.go b/service/fsx/api_op_UpdateFileSystem.go index a0d84a989e4..df8e093dd18 100644 --- a/service/fsx/api_op_UpdateFileSystem.go +++ b/service/fsx/api_op_UpdateFileSystem.go @@ -46,6 +46,9 @@ import ( // // * DataCompressionType // +// * +// LustreRootSquashConfiguration +// // * StorageCapacity // // * diff --git a/service/fsx/deserializers.go b/service/fsx/deserializers.go index 628c55878c5..c1045344568 100644 --- a/service/fsx/deserializers.go +++ b/service/fsx/deserializers.go @@ -8886,6 +8886,11 @@ func awsAwsjson11_deserializeDocumentLustreFileSystemConfiguration(v **types.Lus sv.PerUnitStorageThroughput = ptr.Int32(int32(i64)) } + case "RootSquashConfiguration": + if err := awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(&sv.RootSquashConfiguration, value); err != nil { + return err + } + case "WeeklyMaintenanceStartTime": if value != nil { jtv, ok := value.(string) @@ -8953,6 +8958,87 @@ func awsAwsjson11_deserializeDocumentLustreLogConfiguration(v **types.LustreLogC return nil } +func awsAwsjson11_deserializeDocumentLustreNoSquashNids(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LustreNoSquashNid to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentLustreRootSquashConfiguration(v **types.LustreRootSquashConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.LustreRootSquashConfiguration + if *v == nil { + sv = &types.LustreRootSquashConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "NoSquashNids": + if err := awsAwsjson11_deserializeDocumentLustreNoSquashNids(&sv.NoSquashNids, value); err != nil { + return err + } + + case "RootSquash": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LustreRootSquash to be of type string, got %T instead", value) + } + sv.RootSquash = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentMissingFileSystemConfiguration(v **types.MissingFileSystemConfiguration, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/fsx/go.mod b/service/fsx/go.mod index 93665e7d679..26c3a35d68e 100644 --- a/service/fsx/go.mod +++ b/service/fsx/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/fsx go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/fsx/go.sum b/service/fsx/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/fsx/go.sum +++ b/service/fsx/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/fsx/go_module_metadata.go b/service/fsx/go_module_metadata.go index 8d92d883a41..dc28ba865ee 100644 --- a/service/fsx/go_module_metadata.go +++ b/service/fsx/go_module_metadata.go @@ -3,4 +3,4 @@ package fsx // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.24.1" diff --git a/service/fsx/serializers.go b/service/fsx/serializers.go index 5012693523a..0880f0befe8 100644 --- a/service/fsx/serializers.go +++ b/service/fsx/serializers.go @@ -2192,6 +2192,13 @@ func awsAwsjson11_serializeDocumentCreateFileSystemLustreConfiguration(v *types. ok.Integer(*v.PerUnitStorageThroughput) } + if v.RootSquashConfiguration != nil { + ok := object.Key("RootSquashConfiguration") + if err := awsAwsjson11_serializeDocumentLustreRootSquashConfiguration(v.RootSquashConfiguration, ok); err != nil { + return err + } + } + if v.WeeklyMaintenanceStartTime != nil { ok := object.Key("WeeklyMaintenanceStartTime") ok.String(*v.WeeklyMaintenanceStartTime) @@ -2817,6 +2824,36 @@ func awsAwsjson11_serializeDocumentLustreLogCreateConfiguration(v *types.LustreL return nil } +func awsAwsjson11_serializeDocumentLustreNoSquashNids(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsAwsjson11_serializeDocumentLustreRootSquashConfiguration(v *types.LustreRootSquashConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.NoSquashNids != nil { + ok := object.Key("NoSquashNids") + if err := awsAwsjson11_serializeDocumentLustreNoSquashNids(v.NoSquashNids, ok); err != nil { + return err + } + } + + if v.RootSquash != nil { + ok := object.Key("RootSquash") + ok.String(*v.RootSquash) + } + + return nil +} + func awsAwsjson11_serializeDocumentOpenZFSClientConfiguration(v *types.OpenZFSClientConfiguration, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3299,6 +3336,13 @@ func awsAwsjson11_serializeDocumentUpdateFileSystemLustreConfiguration(v *types. } } + if v.RootSquashConfiguration != nil { + ok := object.Key("RootSquashConfiguration") + if err := awsAwsjson11_serializeDocumentLustreRootSquashConfiguration(v.RootSquashConfiguration, ok); err != nil { + return err + } + } + if v.WeeklyMaintenanceStartTime != nil { ok := object.Key("WeeklyMaintenanceStartTime") ok.String(*v.WeeklyMaintenanceStartTime) diff --git a/service/fsx/types/types.go b/service/fsx/types/types.go index c1545ccac37..a15e419bc7f 100644 --- a/service/fsx/types/types.go +++ b/service/fsx/types/types.go @@ -571,6 +571,11 @@ type CreateFileSystemLustreConfiguration struct { // * For PERSISTENT_2 SSD storage: 125, 250, 500, 1000 MB/s/TiB. PerUnitStorageThroughput *int32 + // The Lustre root squash configuration used when creating an Amazon FSx for Lustre + // file system. When enabled, root squash restricts root-level access from clients + // that try to access your file system as a root user. + RootSquashConfiguration *LustreRootSquashConfiguration + // (Optional) The preferred start time to perform weekly maintenance, formatted // d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, // beginning with Monday and ending with Sunday. @@ -594,8 +599,8 @@ type CreateFileSystemOntapConfiguration struct { // redundancy. // // For information about the use cases for Multi-AZ and Single-AZ - // deployments, refer to Choosing Multi-AZ or Single-AZ file system deployment - // (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/high-availability-multiAZ.html). + // deployments, refer to Choosing a file system deployment type + // (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/high-availability-AZ.html). // // This member is required. DeploymentType OntapDeploymentType @@ -1838,6 +1843,11 @@ type LustreFileSystemConfiguration struct { // 125, 250, 500, 1000. PerUnitStorageThroughput *int32 + // The Lustre root squash configuration for an Amazon FSx for Lustre file system. + // When enabled, root squash restricts root-level access from clients that try to + // access your file system as a root user. + RootSquashConfiguration *LustreRootSquashConfiguration + // The preferred start time to perform weekly maintenance, formatted d:HH:MM in the // UTC time zone. Here, d is the weekday number, from 1 through 7, beginning with // Monday and ending with Sunday. @@ -1935,6 +1945,48 @@ type LustreLogCreateConfiguration struct { noSmithyDocumentSerde } +// The configuration for Lustre root squash used to restrict root-level access from +// clients that try to access your FSx for Lustre file system as root. Use the +// RootSquash parameter to enable root squash. To learn more about Lustre root +// squash, see Lustre root squash +// (https://docs.aws.amazon.com/fsx/latest/LustreGuide/root-squash.html). You can +// also use the NoSquashNids parameter to provide an array of clients who are not +// affected by the root squash setting. These clients will access the file system +// as root, with unrestricted privileges. +type LustreRootSquashConfiguration struct { + + // When root squash is enabled, you can optionally specify an array of NIDs of + // clients for which root squash does not apply. A client NID is a Lustre Network + // Identifier used to uniquely identify a client. You can specify the NID as either + // a single address or a range of addresses: + // + // * A single address is described in + // standard Lustre NID format by specifying the client’s IP address followed by the + // Lustre network ID (for example, 10.0.1.6@tcp). + // + // * An address range is described + // using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp). + NoSquashNids []string + + // You enable root squash by setting a user ID (UID) and group ID (GID) for the + // file system in the format UID:GID (for example, 365534:65534). The UID and GID + // values can range from 0 to 4294967294: + // + // * A non-zero value for UID and GID + // enables root squash. The UID and GID values can be different, but each must be a + // non-zero value. + // + // * A value of 0 (zero) for UID and GID indicates root, and + // therefore disables root squash. + // + // When root squash is enabled, the user ID and + // group ID of a root user accessing the file system are re-mapped to the UID and + // GID you provide. + RootSquash *string + + noSmithyDocumentSerde +} + // Configuration for the FSx for NetApp ONTAP file system. type OntapFileSystemConfiguration struct { @@ -2802,6 +2854,11 @@ type UpdateFileSystemLustreConfiguration struct { // data repositories associated with your file system to Amazon CloudWatch Logs. LogConfiguration *LustreLogCreateConfiguration + // The Lustre root squash configuration used when updating an Amazon FSx for Lustre + // file system. When enabled, root squash restricts root-level access from clients + // that try to access your file system as a root user. + RootSquashConfiguration *LustreRootSquashConfiguration + // (Optional) The preferred start time to perform weekly maintenance, formatted // d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, // beginning with Monday and ending with Sunday. diff --git a/service/gamelift/CHANGELOG.md b/service/gamelift/CHANGELOG.md index 2571157dab6..f976176ee12 100644 --- a/service/gamelift/CHANGELOG.md +++ b/service/gamelift/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/gamelift/go.mod b/service/gamelift/go.mod index f1da963d166..375a8608cbc 100644 --- a/service/gamelift/go.mod +++ b/service/gamelift/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/gamelift go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/gamelift/go.sum b/service/gamelift/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/gamelift/go.sum +++ b/service/gamelift/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/gamelift/go_module_metadata.go b/service/gamelift/go_module_metadata.go index 4e8db4514f5..039eb60fac0 100644 --- a/service/gamelift/go_module_metadata.go +++ b/service/gamelift/go_module_metadata.go @@ -3,4 +3,4 @@ package gamelift // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/gamesparks/CHANGELOG.md b/service/gamesparks/CHANGELOG.md index 1e02c12d692..1d23c2a117d 100644 --- a/service/gamesparks/CHANGELOG.md +++ b/service/gamesparks/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.1.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.1.0 (2022-05-19) + +* **Feature**: This release adds an optional DeploymentResult field in the responses of GetStageDeploymentIntegrationTests and ListStageDeploymentIntegrationTests APIs. + # v1.0.4 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/gamesparks/deserializers.go b/service/gamesparks/deserializers.go index d2df9bb929f..b057fa804cd 100644 --- a/service/gamesparks/deserializers.go +++ b/service/gamesparks/deserializers.go @@ -5540,6 +5540,55 @@ func awsRestjson1_deserializeDocumentConnectionList(v *[]types.Connection, value return nil } +func awsRestjson1_deserializeDocumentDeploymentResult(v **types.DeploymentResult, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.DeploymentResult + if *v == nil { + sv = &types.DeploymentResult{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Message to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "ResultCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResultCode to be of type string, got %T instead", value) + } + sv.ResultCode = types.ResultCode(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentDocument(v *document.Interface, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -6576,6 +6625,11 @@ func awsRestjson1_deserializeDocumentStageDeploymentDetails(v **types.StageDeplo sv.DeploymentId = ptr.String(jtv) } + case "DeploymentResult": + if err := awsRestjson1_deserializeDocumentDeploymentResult(&sv.DeploymentResult, value); err != nil { + return err + } + case "DeploymentState": if value != nil { jtv, ok := value.(string) @@ -6690,6 +6744,11 @@ func awsRestjson1_deserializeDocumentStageDeploymentSummary(v **types.StageDeplo sv.DeploymentId = ptr.String(jtv) } + case "DeploymentResult": + if err := awsRestjson1_deserializeDocumentDeploymentResult(&sv.DeploymentResult, value); err != nil { + return err + } + case "DeploymentState": if value != nil { jtv, ok := value.(string) diff --git a/service/gamesparks/go.mod b/service/gamesparks/go.mod index 69d0a5acc32..96c3ace4ea8 100644 --- a/service/gamesparks/go.mod +++ b/service/gamesparks/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/gamesparks go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/gamesparks/go.sum b/service/gamesparks/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/gamesparks/go.sum +++ b/service/gamesparks/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/gamesparks/go_module_metadata.go b/service/gamesparks/go_module_metadata.go index bad4a7be432..7954e7a0919 100644 --- a/service/gamesparks/go_module_metadata.go +++ b/service/gamesparks/go_module_metadata.go @@ -3,4 +3,4 @@ package gamesparks // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.4" +const goModuleVersion = "1.1.1" diff --git a/service/gamesparks/types/enums.go b/service/gamesparks/types/enums.go index b81bdcec203..573d8550f22 100644 --- a/service/gamesparks/types/enums.go +++ b/service/gamesparks/types/enums.go @@ -102,6 +102,26 @@ func (Operation) Values() []Operation { } } +type ResultCode string + +// Enum values for ResultCode +const ( + ResultCodeSuccess ResultCode = "SUCCESS" + ResultCodeInvalidRoleFailure ResultCode = "INVALID_ROLE_FAILURE" + ResultCodeUnspecifiedFailure ResultCode = "UNSPECIFIED_FAILURE" +) + +// Values returns all known values for ResultCode. Note that this can be expanded +// in the future, and so it is only as up to date as the client. The ordering of +// this slice is not guaranteed to be stable across updates. +func (ResultCode) Values() []ResultCode { + return []ResultCode{ + "SUCCESS", + "INVALID_ROLE_FAILURE", + "UNSPECIFIED_FAILURE", + } +} + type StageState string // Enum values for StageState diff --git a/service/gamesparks/types/types.go b/service/gamesparks/types/types.go index 1f369af13b6..825924fc52e 100644 --- a/service/gamesparks/types/types.go +++ b/service/gamesparks/types/types.go @@ -20,6 +20,18 @@ type Connection struct { noSmithyDocumentSerde } +// The result of the deployment. +type DeploymentResult struct { + + // Details about the deployment result. + Message *string + + // The type of deployment result. + ResultCode ResultCode + + noSmithyDocumentSerde +} + // Details about the extension. type ExtensionDetails struct { @@ -262,6 +274,9 @@ type StageDeploymentDetails struct { // The identifier of the deployment. DeploymentId *string + // The result of the deployment. + DeploymentResult *DeploymentResult + // The state of the deployment. DeploymentState DeploymentState @@ -283,6 +298,9 @@ type StageDeploymentSummary struct { // The identifier of the deployment. DeploymentId *string + // The result of the deployment. + DeploymentResult *DeploymentResult + // The state of the deployment. DeploymentState DeploymentState diff --git a/service/glacier/CHANGELOG.md b/service/glacier/CHANGELOG.md index 8786a9223ca..1bc7a082250 100644 --- a/service/glacier/CHANGELOG.md +++ b/service/glacier/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/glacier/go.mod b/service/glacier/go.mod index 0f0eb376d51..119fb9caf2f 100644 --- a/service/glacier/go.mod +++ b/service/glacier/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/glacier go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/glacier/go.sum b/service/glacier/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/glacier/go.sum +++ b/service/glacier/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/glacier/go_module_metadata.go b/service/glacier/go_module_metadata.go index b8200e3e0bf..70d76cea542 100644 --- a/service/glacier/go_module_metadata.go +++ b/service/glacier/go_module_metadata.go @@ -3,4 +3,4 @@ package glacier // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/globalaccelerator/CHANGELOG.md b/service/globalaccelerator/CHANGELOG.md index 9523eb33da5..90538163b89 100644 --- a/service/globalaccelerator/CHANGELOG.md +++ b/service/globalaccelerator/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/globalaccelerator/go.mod b/service/globalaccelerator/go.mod index 4f519cf9576..379b690e877 100644 --- a/service/globalaccelerator/go.mod +++ b/service/globalaccelerator/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/globalaccelerator go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/globalaccelerator/go.sum b/service/globalaccelerator/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/globalaccelerator/go.sum +++ b/service/globalaccelerator/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/globalaccelerator/go_module_metadata.go b/service/globalaccelerator/go_module_metadata.go index f8fadfcf1c5..868c0545c36 100644 --- a/service/globalaccelerator/go_module_metadata.go +++ b/service/globalaccelerator/go_module_metadata.go @@ -3,4 +3,4 @@ package globalaccelerator // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/glue/CHANGELOG.md b/service/glue/CHANGELOG.md index ac0a3b87725..cbf5396a2af 100644 --- a/service/glue/CHANGELOG.md +++ b/service/glue/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.25.0 (2022-05-17) * **Feature**: This release adds a new optional parameter called codeGenNodeConfiguration to CRUD job APIs that allows users to manage visual jobs via APIs. The updated CreateJob and UpdateJob will create jobs that can be viewed in Glue Studio as a visual graph. GetJob can be used to get codeGenNodeConfiguration. diff --git a/service/glue/go.mod b/service/glue/go.mod index 5f71219d0fe..12ea5dcf270 100644 --- a/service/glue/go.mod +++ b/service/glue/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/glue go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/glue/go.sum b/service/glue/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/glue/go.sum +++ b/service/glue/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/glue/go_module_metadata.go b/service/glue/go_module_metadata.go index 30acead0b1b..cdb22146210 100644 --- a/service/glue/go_module_metadata.go +++ b/service/glue/go_module_metadata.go @@ -3,4 +3,4 @@ package glue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.0" +const goModuleVersion = "1.25.1" diff --git a/service/grafana/CHANGELOG.md b/service/grafana/CHANGELOG.md index e0205f60ec7..386d40b3781 100644 --- a/service/grafana/CHANGELOG.md +++ b/service/grafana/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/grafana/go.mod b/service/grafana/go.mod index 732b7dd62be..f6c138ae749 100644 --- a/service/grafana/go.mod +++ b/service/grafana/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/grafana go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/grafana/go.sum b/service/grafana/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/grafana/go.sum +++ b/service/grafana/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/grafana/go_module_metadata.go b/service/grafana/go_module_metadata.go index 86663252458..c0148149693 100644 --- a/service/grafana/go_module_metadata.go +++ b/service/grafana/go_module_metadata.go @@ -3,4 +3,4 @@ package grafana // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.1" +const goModuleVersion = "1.9.2" diff --git a/service/greengrass/CHANGELOG.md b/service/greengrass/CHANGELOG.md index 815e1ac58e0..79520d0c125 100644 --- a/service/greengrass/CHANGELOG.md +++ b/service/greengrass/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/greengrass/go.mod b/service/greengrass/go.mod index 85f7a3cc6ec..191d3839b1f 100644 --- a/service/greengrass/go.mod +++ b/service/greengrass/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/greengrass go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/greengrass/go.sum b/service/greengrass/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/greengrass/go.sum +++ b/service/greengrass/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/greengrass/go_module_metadata.go b/service/greengrass/go_module_metadata.go index f558e465f35..406f5d41c72 100644 --- a/service/greengrass/go_module_metadata.go +++ b/service/greengrass/go_module_metadata.go @@ -3,4 +3,4 @@ package greengrass // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/greengrassv2/CHANGELOG.md b/service/greengrassv2/CHANGELOG.md index 23fd9a39425..de0dcd3c8c4 100644 --- a/service/greengrassv2/CHANGELOG.md +++ b/service/greengrassv2/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.16.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.16.0 (2022-05-18) + +* **Feature**: This release adds the new DeleteDeployment API operation that you can use to delete deployment resources. This release also adds support for discontinued AWS-provided components, so AWS can communicate when a component has any issues that you should consider before you deploy it. + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/greengrassv2/api_op_CreateComponentVersion.go b/service/greengrassv2/api_op_CreateComponentVersion.go index b8920b0dad9..1d4f9040d29 100644 --- a/service/greengrassv2/api_op_CreateComponentVersion.go +++ b/service/greengrassv2/api_op_CreateComponentVersion.go @@ -41,12 +41,19 @@ import ( // // * Python 3.8 – python3.8 // -// * Java 8 – java8 +// * Python 3.9 – python3.9 // -// * Node.js 10 – -// nodejs10.x +// * Java 8 – +// java8 // -// * Node.js 12 – nodejs12.x +// * Java 11 – java11 +// +// * Node.js 10 – nodejs10.x +// +// * Node.js 12 – +// nodejs12.x +// +// * Node.js 14 – nodejs14.x // // To create a component from a Lambda // function, specify lambdaFunction when you call this operation. IoT Greengrass diff --git a/service/greengrassv2/api_op_DeleteDeployment.go b/service/greengrassv2/api_op_DeleteDeployment.go new file mode 100644 index 00000000000..1db50275d13 --- /dev/null +++ b/service/greengrassv2/api_op_DeleteDeployment.go @@ -0,0 +1,122 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package greengrassv2 + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a deployment. To delete an active deployment, you must first cancel it. +// For more information, see CancelDeployment +// (https://docs.aws.amazon.com/iot/latest/apireference/API_CancelDeployment.html). +// Deleting a deployment doesn't affect core devices that run that deployment, +// because core devices store the deployment's configuration on the device. +// Additionally, core devices can roll back to a previous deployment that has been +// deleted. +func (c *Client) DeleteDeployment(ctx context.Context, params *DeleteDeploymentInput, optFns ...func(*Options)) (*DeleteDeploymentOutput, error) { + if params == nil { + params = &DeleteDeploymentInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteDeployment", params, optFns, c.addOperationDeleteDeploymentMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteDeploymentOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteDeploymentInput struct { + + // The ID of the deployment. + // + // This member is required. + DeploymentId *string + + noSmithyDocumentSerde +} + +type DeleteDeploymentOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpDeleteDeployment{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDeleteDeployment{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteDeploymentValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDeployment(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteDeployment(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "greengrass", + OperationName: "DeleteDeployment", + } +} diff --git a/service/greengrassv2/api_op_GetComponentVersionArtifact.go b/service/greengrassv2/api_op_GetComponentVersionArtifact.go index 08e2628baae..6f74eed6971 100644 --- a/service/greengrassv2/api_op_GetComponentVersionArtifact.go +++ b/service/greengrassv2/api_op_GetComponentVersionArtifact.go @@ -10,9 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets the pre-signed URL to download a public component artifact. Core devices -// call this operation to identify the URL that they can use to download an -// artifact to install. +// Gets the pre-signed URL to download a public or a Lambda component artifact. +// Core devices call this operation to identify the URL that they can use to +// download an artifact to install. func (c *Client) GetComponentVersionArtifact(ctx context.Context, params *GetComponentVersionArtifactInput, optFns ...func(*Options)) (*GetComponentVersionArtifactOutput, error) { if params == nil { params = &GetComponentVersionArtifactInput{} @@ -32,7 +32,8 @@ type GetComponentVersionArtifactInput struct { // The ARN // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of - // the component version. Specify the ARN of a public component version. + // the component version. Specify the ARN of a public or a Lambda component + // version. // // This member is required. Arn *string diff --git a/service/greengrassv2/api_op_GetCoreDevice.go b/service/greengrassv2/api_op_GetCoreDevice.go index 8db5fbe148c..ff344a475b5 100644 --- a/service/greengrassv2/api_op_GetCoreDevice.go +++ b/service/greengrassv2/api_op_GetCoreDevice.go @@ -12,7 +12,26 @@ import ( "time" ) -// Retrieves metadata for a Greengrass core device. +// Retrieves metadata for a Greengrass core device. IoT Greengrass relies on +// individual devices to send status updates to the Amazon Web Services Cloud. If +// the IoT Greengrass Core software isn't running on the device, or if device isn't +// connected to the Amazon Web Services Cloud, then the reported status of that +// device might not reflect its current status. The status timestamp indicates when +// the device status was last updated. Core devices send status updates at the +// following times: +// +// * When the IoT Greengrass Core software starts +// +// * When the +// core device receives a deployment from the Amazon Web Services Cloud +// +// * When the +// status of any component on the core device becomes BROKEN +// +// * At a regular +// interval that you can configure +// (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), +// which defaults to 24 hours func (c *Client) GetCoreDevice(ctx context.Context, params *GetCoreDeviceInput, optFns ...func(*Options)) (*GetCoreDeviceOutput, error) { if params == nil { params = &GetCoreDeviceInput{} diff --git a/service/greengrassv2/api_op_ListComponentVersions.go b/service/greengrassv2/api_op_ListComponentVersions.go index bb73cc127a3..e6594fb1aaa 100644 --- a/service/greengrassv2/api_op_ListComponentVersions.go +++ b/service/greengrassv2/api_op_ListComponentVersions.go @@ -33,7 +33,7 @@ type ListComponentVersionsInput struct { // The ARN // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of - // the component version. + // the component. // // This member is required. Arn *string diff --git a/service/greengrassv2/api_op_ListCoreDevices.go b/service/greengrassv2/api_op_ListCoreDevices.go index ecc9bf09a7f..f2a940a66c0 100644 --- a/service/greengrassv2/api_op_ListCoreDevices.go +++ b/service/greengrassv2/api_op_ListCoreDevices.go @@ -12,7 +12,26 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves a paginated list of Greengrass core devices. +// Retrieves a paginated list of Greengrass core devices. IoT Greengrass relies on +// individual devices to send status updates to the Amazon Web Services Cloud. If +// the IoT Greengrass Core software isn't running on the device, or if device isn't +// connected to the Amazon Web Services Cloud, then the reported status of that +// device might not reflect its current status. The status timestamp indicates when +// the device status was last updated. Core devices send status updates at the +// following times: +// +// * When the IoT Greengrass Core software starts +// +// * When the +// core device receives a deployment from the Amazon Web Services Cloud +// +// * When the +// status of any component on the core device becomes BROKEN +// +// * At a regular +// interval that you can configure +// (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), +// which defaults to 24 hours func (c *Client) ListCoreDevices(ctx context.Context, params *ListCoreDevicesInput, optFns ...func(*Options)) (*ListCoreDevicesOutput, error) { if params == nil { params = &ListCoreDevicesInput{} @@ -50,7 +69,9 @@ type ListCoreDevicesInput struct { // The ARN // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of // the IoT thing group by which to filter. If you specify this parameter, the list - // includes only core devices that are members of this thing group. + // includes only core devices that have successfully deployed a deployment that + // targets the thing group. When you remove a core device from a thing group, the + // list continues to include that core device. ThingGroupArn *string noSmithyDocumentSerde diff --git a/service/greengrassv2/api_op_ListInstalledComponents.go b/service/greengrassv2/api_op_ListInstalledComponents.go index b8d559efc78..be9d1d5f90a 100644 --- a/service/greengrassv2/api_op_ListInstalledComponents.go +++ b/service/greengrassv2/api_op_ListInstalledComponents.go @@ -13,6 +13,27 @@ import ( ) // Retrieves a paginated list of the components that a Greengrass core device runs. +// This list doesn't include components that are deployed from local deployments or +// components that are deployed as dependencies of other components. IoT Greengrass +// relies on individual devices to send status updates to the Amazon Web Services +// Cloud. If the IoT Greengrass Core software isn't running on the device, or if +// device isn't connected to the Amazon Web Services Cloud, then the reported +// status of that device might not reflect its current status. The status timestamp +// indicates when the device status was last updated. Core devices send status +// updates at the following times: +// +// * When the IoT Greengrass Core software +// starts +// +// * When the core device receives a deployment from the Amazon Web +// Services Cloud +// +// * When the status of any component on the core device becomes +// BROKEN +// +// * At a regular interval that you can configure +// (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), +// which defaults to 24 hours func (c *Client) ListInstalledComponents(ctx context.Context, params *ListInstalledComponentsInput, optFns ...func(*Options)) (*ListInstalledComponentsOutput, error) { if params == nil { params = &ListInstalledComponentsInput{} diff --git a/service/greengrassv2/api_op_ResolveComponentCandidates.go b/service/greengrassv2/api_op_ResolveComponentCandidates.go index 9aa44125de8..078a3dc0b35 100644 --- a/service/greengrassv2/api_op_ResolveComponentCandidates.go +++ b/service/greengrassv2/api_op_ResolveComponentCandidates.go @@ -43,13 +43,9 @@ func (c *Client) ResolveComponentCandidates(ctx context.Context, params *Resolve type ResolveComponentCandidatesInput struct { // The list of components to resolve. - // - // This member is required. ComponentCandidates []types.ComponentCandidate // The platform to use to resolve compatible components. - // - // This member is required. Platform *types.ComponentPlatform noSmithyDocumentSerde @@ -113,9 +109,6 @@ func (c *Client) addOperationResolveComponentCandidatesMiddlewares(stack *middle if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } - if err = addOpResolveComponentCandidatesValidationMiddleware(stack); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveComponentCandidates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrassv2/deserializers.go b/service/greengrassv2/deserializers.go index a36535aa6a7..57b3b68c668 100644 --- a/service/greengrassv2/deserializers.go +++ b/service/greengrassv2/deserializers.go @@ -970,6 +970,9 @@ func awsRestjson1_deserializeOpErrorCreateDeployment(response *smithyhttp.Respon case strings.EqualFold("AccessDeniedException", errorCode): return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) @@ -1261,6 +1264,110 @@ func awsRestjson1_deserializeOpErrorDeleteCoreDevice(response *smithyhttp.Respon } } +type awsRestjson1_deserializeOpDeleteDeployment struct { +} + +func (*awsRestjson1_deserializeOpDeleteDeployment) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpDeleteDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorDeleteDeployment(response, &metadata) + } + output := &DeleteDeploymentOutput{} + out.Result = output + + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorDeleteDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsRestjson1_deserializeOpDescribeComponent struct { } @@ -3059,6 +3166,9 @@ func awsRestjson1_deserializeOpErrorListComponents(response *smithyhttp.Response case strings.EqualFold("InternalServerException", errorCode): return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) @@ -5205,6 +5315,24 @@ func awsRestjson1_deserializeDocumentCloudComponentStatus(v **types.CloudCompone sv.Message = ptr.String(jtv) } + case "vendorGuidance": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected VendorGuidance to be of type string, got %T instead", value) + } + sv.VendorGuidance = types.VendorGuidance(jtv) + } + + case "vendorGuidanceMessage": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NonEmptyString to be of type string, got %T instead", value) + } + sv.VendorGuidanceMessage = ptr.String(jtv) + } + default: _, _ = key, value @@ -7319,6 +7447,15 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved sv.ComponentVersion = ptr.String(jtv) } + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NonEmptyString to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + case "recipe": if value != nil { jtv, ok := value.(string) @@ -7332,6 +7469,15 @@ func awsRestjson1_deserializeDocumentResolvedComponentVersion(v **types.Resolved sv.Recipe = dv } + case "vendorGuidance": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected VendorGuidance to be of type string, got %T instead", value) + } + sv.VendorGuidance = types.VendorGuidance(jtv) + } + default: _, _ = key, value diff --git a/service/greengrassv2/generated.json b/service/greengrassv2/generated.json index 664b433c17b..fb5df73e97b 100644 --- a/service/greengrassv2/generated.json +++ b/service/greengrassv2/generated.json @@ -16,6 +16,7 @@ "api_op_CreateDeployment.go", "api_op_DeleteComponent.go", "api_op_DeleteCoreDevice.go", + "api_op_DeleteDeployment.go", "api_op_DescribeComponent.go", "api_op_DisassociateServiceRoleFromAccount.go", "api_op_GetComponent.go", diff --git a/service/greengrassv2/go.mod b/service/greengrassv2/go.mod index a9f20cda7e5..19fa154c2fd 100644 --- a/service/greengrassv2/go.mod +++ b/service/greengrassv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/greengrassv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/greengrassv2/go.sum b/service/greengrassv2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/greengrassv2/go.sum +++ b/service/greengrassv2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/greengrassv2/go_module_metadata.go b/service/greengrassv2/go_module_metadata.go index 3001f14ba75..d144d9b3da0 100644 --- a/service/greengrassv2/go_module_metadata.go +++ b/service/greengrassv2/go_module_metadata.go @@ -3,4 +3,4 @@ package greengrassv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.16.1" diff --git a/service/greengrassv2/serializers.go b/service/greengrassv2/serializers.go index a8a83305447..3e92343e935 100644 --- a/service/greengrassv2/serializers.go +++ b/service/greengrassv2/serializers.go @@ -616,6 +616,64 @@ func awsRestjson1_serializeOpHttpBindingsDeleteCoreDeviceInput(v *DeleteCoreDevi return nil } +type awsRestjson1_serializeOpDeleteDeployment struct { +} + +func (*awsRestjson1_serializeOpDeleteDeployment) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpDeleteDeployment) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteDeploymentInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/greengrass/v2/deployments/{deploymentId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "DELETE" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsDeleteDeploymentInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsDeleteDeploymentInput(v *DeleteDeploymentInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.DeploymentId == nil || len(*v.DeploymentId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member deploymentId must not be empty")} + } + if v.DeploymentId != nil { + if err := encoder.SetURI("deploymentId").String(*v.DeploymentId); err != nil { + return err + } + } + + return nil +} + type awsRestjson1_serializeOpDescribeComponent struct { } diff --git a/service/greengrassv2/types/enums.go b/service/greengrassv2/types/enums.go index 26d14228a48..e78b77d0ce3 100644 --- a/service/greengrassv2/types/enums.go +++ b/service/greengrassv2/types/enums.go @@ -370,3 +370,23 @@ func (ValidationExceptionReason) Values() []ValidationExceptionReason { "OTHER", } } + +type VendorGuidance string + +// Enum values for VendorGuidance +const ( + VendorGuidanceActive VendorGuidance = "ACTIVE" + VendorGuidanceDiscontinued VendorGuidance = "DISCONTINUED" + VendorGuidanceDeleted VendorGuidance = "DELETED" +) + +// Values returns all known values for VendorGuidance. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (VendorGuidance) Values() []VendorGuidance { + return []VendorGuidance{ + "ACTIVE", + "DISCONTINUED", + "DELETED", + } +} diff --git a/service/greengrassv2/types/types.go b/service/greengrassv2/types/types.go index 7f1f5c717e5..4ef11b794af 100644 --- a/service/greengrassv2/types/types.go +++ b/service/greengrassv2/types/types.go @@ -52,22 +52,44 @@ type AssociatedClientDevice struct { noSmithyDocumentSerde } -// Contains the status of a component in the IoT Greengrass service. +// Contains the status of a component version in the IoT Greengrass service. type CloudComponentStatus struct { - // The state of the component. + // The state of the component version. ComponentState CloudComponentState - // A dictionary of errors that communicate why the component is in an error state. - // For example, if IoT Greengrass can't access an artifact for the component, then - // errors contains the artifact's URI as a key, and the error message as the value - // for that key. + // A dictionary of errors that communicate why the component version is in an error + // state. For example, if IoT Greengrass can't access an artifact for the component + // version, then errors contains the artifact's URI as a key, and the error message + // as the value for that key. Errors map[string]string // A message that communicates details, such as errors, about the status of the - // component. + // component version. Message *string + // The vendor guidance state for the component version. This state indicates + // whether the component version has any issues that you should consider before you + // deploy it. The vendor guidance state can be: + // + // * ACTIVE – This component version + // is available and recommended for use. + // + // * DISCONTINUED – This component version + // has been discontinued by its publisher. You can deploy this component version, + // but we recommend that you use a different version of this component. + // + // * DELETED + // – This component version has been deleted by its publisher, so you can't deploy + // it. If you have any existing deployments that specify this component version, + // those deployments will fail. + VendorGuidance VendorGuidance + + // A message that communicates details about the vendor guidance state of the + // component version. This message communicates why a component version is + // discontinued or deleted. + VendorGuidanceMessage *string + noSmithyDocumentSerde } @@ -900,9 +922,31 @@ type ResolvedComponentVersion struct { // The version of the component. ComponentVersion *string + // A message that communicates details about the vendor guidance state of the + // component version. This message communicates why a component version is + // discontinued or deleted. + Message *string + // The recipe of the component version. Recipe []byte + // The vendor guidance state for the component version. This state indicates + // whether the component version has any issues that you should consider before you + // deploy it. The vendor guidance state can be: + // + // * ACTIVE – This component version + // is available and recommended for use. + // + // * DISCONTINUED – This component version + // has been discontinued by its publisher. You can deploy this component version, + // but we recommend that you use a different version of this component. + // + // * DELETED + // – This component version has been deleted by its publisher, so you can't deploy + // it. If you have any existing deployments that specify this component version, + // those deployments will fail. + VendorGuidance VendorGuidance + noSmithyDocumentSerde } diff --git a/service/greengrassv2/validators.go b/service/greengrassv2/validators.go index fae07f8aac0..b97cc988143 100644 --- a/service/greengrassv2/validators.go +++ b/service/greengrassv2/validators.go @@ -170,6 +170,26 @@ func (m *validateOpDeleteCoreDevice) HandleInitialize(ctx context.Context, in mi return next.HandleInitialize(ctx, in) } +type validateOpDeleteDeployment struct { +} + +func (*validateOpDeleteDeployment) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteDeployment) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteDeploymentInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteDeploymentInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDescribeComponent struct { } @@ -390,26 +410,6 @@ func (m *validateOpListTagsForResource) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } -type validateOpResolveComponentCandidates struct { -} - -func (*validateOpResolveComponentCandidates) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpResolveComponentCandidates) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*ResolveComponentCandidatesInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpResolveComponentCandidatesInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpTagResource struct { } @@ -502,6 +502,10 @@ func addOpDeleteCoreDeviceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteCoreDevice{}, middleware.After) } +func addOpDeleteDeploymentValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteDeployment{}, middleware.After) +} + func addOpDescribeComponentValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribeComponent{}, middleware.After) } @@ -546,10 +550,6 @@ func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) } -func addOpResolveComponentCandidatesValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpResolveComponentCandidates{}, middleware.After) -} - func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpTagResource{}, middleware.After) } @@ -1054,6 +1054,21 @@ func validateOpDeleteCoreDeviceInput(v *DeleteCoreDeviceInput) error { } } +func validateOpDeleteDeploymentInput(v *DeleteDeploymentInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteDeploymentInput"} + if v.DeploymentId == nil { + invalidParams.Add(smithy.NewErrParamRequired("DeploymentId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDescribeComponentInput(v *DescribeComponentInput) error { if v == nil { return nil @@ -1222,24 +1237,6 @@ func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { } } -func validateOpResolveComponentCandidatesInput(v *ResolveComponentCandidatesInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "ResolveComponentCandidatesInput"} - if v.Platform == nil { - invalidParams.Add(smithy.NewErrParamRequired("Platform")) - } - if v.ComponentCandidates == nil { - invalidParams.Add(smithy.NewErrParamRequired("ComponentCandidates")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpTagResourceInput(v *TagResourceInput) error { if v == nil { return nil diff --git a/service/groundstation/CHANGELOG.md b/service/groundstation/CHANGELOG.md index fd74cd2c9cf..853673d4786 100644 --- a/service/groundstation/CHANGELOG.md +++ b/service/groundstation/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/groundstation/go.mod b/service/groundstation/go.mod index a65c9ff731d..74a4294ca56 100644 --- a/service/groundstation/go.mod +++ b/service/groundstation/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/groundstation go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/groundstation/go.sum b/service/groundstation/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/groundstation/go.sum +++ b/service/groundstation/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/groundstation/go_module_metadata.go b/service/groundstation/go_module_metadata.go index 02a325c7ada..882066eb682 100644 --- a/service/groundstation/go_module_metadata.go +++ b/service/groundstation/go_module_metadata.go @@ -3,4 +3,4 @@ package groundstation // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/guardduty/CHANGELOG.md b/service/guardduty/CHANGELOG.md index feb3851c805..9ea779c81b0 100644 --- a/service/guardduty/CHANGELOG.md +++ b/service/guardduty/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/guardduty/go.mod b/service/guardduty/go.mod index 2ca021a66e2..39673dc31fc 100644 --- a/service/guardduty/go.mod +++ b/service/guardduty/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/guardduty go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/guardduty/go.sum b/service/guardduty/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/guardduty/go.sum +++ b/service/guardduty/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/guardduty/go_module_metadata.go b/service/guardduty/go_module_metadata.go index c1c5041867a..1213f887182 100644 --- a/service/guardduty/go_module_metadata.go +++ b/service/guardduty/go_module_metadata.go @@ -3,4 +3,4 @@ package guardduty // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.6" +const goModuleVersion = "1.13.7" diff --git a/service/health/CHANGELOG.md b/service/health/CHANGELOG.md index 32f97658c16..5a168d816d2 100644 --- a/service/health/CHANGELOG.md +++ b/service/health/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.15.8 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.15.7 (2022-05-26) + +* No change notes available for this release. + +# v1.15.6 (2022-05-19) + +* No change notes available for this release. + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/health/go.mod b/service/health/go.mod index 98522925c06..539c86d99a4 100644 --- a/service/health/go.mod +++ b/service/health/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/health go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/health/go.sum b/service/health/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/health/go.sum +++ b/service/health/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/health/go_module_metadata.go b/service/health/go_module_metadata.go index cf4750e67a4..625eef7e569 100644 --- a/service/health/go_module_metadata.go +++ b/service/health/go_module_metadata.go @@ -3,4 +3,4 @@ package health // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.8" diff --git a/service/healthlake/CHANGELOG.md b/service/healthlake/CHANGELOG.md index ef77d5dc97d..3ebabfd63bb 100644 --- a/service/healthlake/CHANGELOG.md +++ b/service/healthlake/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/healthlake/go.mod b/service/healthlake/go.mod index 98ffa432741..d27ee3365b6 100644 --- a/service/healthlake/go.mod +++ b/service/healthlake/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/healthlake go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/healthlake/go.sum b/service/healthlake/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/healthlake/go.sum +++ b/service/healthlake/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/healthlake/go_module_metadata.go b/service/healthlake/go_module_metadata.go index 586460bec3f..d3ef0771f1d 100644 --- a/service/healthlake/go_module_metadata.go +++ b/service/healthlake/go_module_metadata.go @@ -3,4 +3,4 @@ package healthlake // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/honeycode/CHANGELOG.md b/service/honeycode/CHANGELOG.md index 79d90e6a02a..47bc8b2acfe 100644 --- a/service/honeycode/CHANGELOG.md +++ b/service/honeycode/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/honeycode/go.mod b/service/honeycode/go.mod index ed40246681e..5ba645682bd 100644 --- a/service/honeycode/go.mod +++ b/service/honeycode/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/honeycode go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/honeycode/go.sum b/service/honeycode/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/honeycode/go.sum +++ b/service/honeycode/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/honeycode/go_module_metadata.go b/service/honeycode/go_module_metadata.go index 482e6e9bda1..5e7a138cdac 100644 --- a/service/honeycode/go_module_metadata.go +++ b/service/honeycode/go_module_metadata.go @@ -3,4 +3,4 @@ package honeycode // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/iam/CHANGELOG.md b/service/iam/CHANGELOG.md index e397df6c63c..de36a8bd393 100644 --- a/service/iam/CHANGELOG.md +++ b/service/iam/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iam/go.mod b/service/iam/go.mod index aca16d07fff..6e245595948 100644 --- a/service/iam/go.mod +++ b/service/iam/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iam go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iam/go.sum b/service/iam/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iam/go.sum +++ b/service/iam/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iam/go_module_metadata.go b/service/iam/go_module_metadata.go index 0f9bf827ab6..9006f1350b9 100644 --- a/service/iam/go_module_metadata.go +++ b/service/iam/go_module_metadata.go @@ -3,4 +3,4 @@ package iam // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.5" +const goModuleVersion = "1.18.6" diff --git a/service/identitystore/CHANGELOG.md b/service/identitystore/CHANGELOG.md index e0366993053..aa0bed7c223 100644 --- a/service/identitystore/CHANGELOG.md +++ b/service/identitystore/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/identitystore/go.mod b/service/identitystore/go.mod index ef6e67bb5a6..4f075a04395 100644 --- a/service/identitystore/go.mod +++ b/service/identitystore/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/identitystore go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/identitystore/go.sum b/service/identitystore/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/identitystore/go.sum +++ b/service/identitystore/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/identitystore/go_module_metadata.go b/service/identitystore/go_module_metadata.go index 55928db57b3..ded90998e4f 100644 --- a/service/identitystore/go_module_metadata.go +++ b/service/identitystore/go_module_metadata.go @@ -3,4 +3,4 @@ package identitystore // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/imagebuilder/CHANGELOG.md b/service/imagebuilder/CHANGELOG.md index 8722a19adde..1d71f02c5e9 100644 --- a/service/imagebuilder/CHANGELOG.md +++ b/service/imagebuilder/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.19.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/imagebuilder/go.mod b/service/imagebuilder/go.mod index 7e5585a64c7..b7f640aac6b 100644 --- a/service/imagebuilder/go.mod +++ b/service/imagebuilder/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/imagebuilder go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/imagebuilder/go.sum b/service/imagebuilder/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/imagebuilder/go.sum +++ b/service/imagebuilder/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/imagebuilder/go_module_metadata.go b/service/imagebuilder/go_module_metadata.go index 37bb425698a..13514ada841 100644 --- a/service/imagebuilder/go_module_metadata.go +++ b/service/imagebuilder/go_module_metadata.go @@ -3,4 +3,4 @@ package imagebuilder // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.5" +const goModuleVersion = "1.19.6" diff --git a/service/inspector/CHANGELOG.md b/service/inspector/CHANGELOG.md index 3c611ea93f1..2a4d2f68315 100644 --- a/service/inspector/CHANGELOG.md +++ b/service/inspector/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/inspector/go.mod b/service/inspector/go.mod index 650003d9b58..b030ab99856 100644 --- a/service/inspector/go.mod +++ b/service/inspector/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/inspector go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/inspector/go.sum b/service/inspector/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/inspector/go.sum +++ b/service/inspector/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/inspector/go_module_metadata.go b/service/inspector/go_module_metadata.go index 357882b574a..2cba273c5e8 100644 --- a/service/inspector/go_module_metadata.go +++ b/service/inspector/go_module_metadata.go @@ -3,4 +3,4 @@ package inspector // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/inspector2/CHANGELOG.md b/service/inspector2/CHANGELOG.md index d02a8a8c90c..014ee25ac3e 100644 --- a/service/inspector2/CHANGELOG.md +++ b/service/inspector2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.6.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/inspector2/go.mod b/service/inspector2/go.mod index 20344dd878a..c17a2147765 100644 --- a/service/inspector2/go.mod +++ b/service/inspector2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/inspector2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/inspector2/go.sum b/service/inspector2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/inspector2/go.sum +++ b/service/inspector2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/inspector2/go_module_metadata.go b/service/inspector2/go_module_metadata.go index 7bd7f9c8890..b44dcee77b2 100644 --- a/service/inspector2/go_module_metadata.go +++ b/service/inspector2/go_module_metadata.go @@ -3,4 +3,4 @@ package inspector2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.5" +const goModuleVersion = "1.6.6" diff --git a/service/internal/accept-encoding/CHANGELOG.md b/service/internal/accept-encoding/CHANGELOG.md index 7cc42a1936a..6ebd41d1ec6 100644 --- a/service/internal/accept-encoding/CHANGELOG.md +++ b/service/internal/accept-encoding/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.2 (2022-06-07) + +* No change notes available for this release. + # v1.9.1 (2022-03-24) * No change notes available for this release. diff --git a/service/internal/accept-encoding/go.mod b/service/internal/accept-encoding/go.mod index 7c4d2440a83..8753fceffba 100644 --- a/service/internal/accept-encoding/go.mod +++ b/service/internal/accept-encoding/go.mod @@ -2,4 +2,4 @@ module github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding go 1.15 -require github.com/aws/smithy-go v1.11.2 +require github.com/aws/smithy-go v1.11.3 diff --git a/service/internal/accept-encoding/go.sum b/service/internal/accept-encoding/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/internal/accept-encoding/go.sum +++ b/service/internal/accept-encoding/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/internal/accept-encoding/go_module_metadata.go b/service/internal/accept-encoding/go_module_metadata.go index af9bc67b3e3..4db9310f8d2 100644 --- a/service/internal/accept-encoding/go_module_metadata.go +++ b/service/internal/accept-encoding/go_module_metadata.go @@ -3,4 +3,4 @@ package acceptencoding // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.1" +const goModuleVersion = "1.9.2" diff --git a/service/internal/benchmark/go.mod b/service/internal/benchmark/go.mod index b047c7ebf06..fea403a5003 100644 --- a/service/internal/benchmark/go.mod +++ b/service/internal/benchmark/go.mod @@ -3,13 +3,13 @@ module github.com/aws/aws-sdk-go-v2/service/internal/benchmark go 1.15 require ( - github.com/aws/aws-sdk-go v1.34.33 - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.5 - github.com/aws/aws-sdk-go-v2/service/lexruntimeservice v1.12.5 - github.com/aws/aws-sdk-go-v2/service/s3 v1.26.10 - github.com/aws/aws-sdk-go-v2/service/schemas v1.14.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go v1.44.28 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.6 + github.com/aws/aws-sdk-go-v2/service/lexruntimeservice v1.12.6 + github.com/aws/aws-sdk-go-v2/service/s3 v1.26.11 + github.com/aws/aws-sdk-go-v2/service/schemas v1.14.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/benchmark/go.sum b/service/internal/benchmark/go.sum index fc752170413..5f57b0122fb 100644 --- a/service/internal/benchmark/go.sum +++ b/service/internal/benchmark/go.sum @@ -1,12 +1,11 @@ -github.com/aws/aws-sdk-go v1.34.33 h1:ymkFm0rNPEOlgjyX3ojEd4zqzW6kGICBkqWs7LqgHtU= -github.com/aws/aws-sdk-go v1.34.33/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48= -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/aws-sdk-go v1.44.28 h1:h/OAqEqY18wq//v6h4GNPMmCkxuzSDrWuGyrvSiRqf4= +github.com/aws/aws-sdk-go v1.44.28/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -15,14 +14,14 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/internal/checksum/CHANGELOG.md b/service/internal/checksum/CHANGELOG.md index 02e27d44173..3162c276fc5 100644 --- a/service/internal/checksum/CHANGELOG.md +++ b/service/internal/checksum/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.1.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.1.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/internal/checksum/go.mod b/service/internal/checksum/go.mod index 877dcb07cae..3b13e5bedc2 100644 --- a/service/internal/checksum/go.mod +++ b/service/internal/checksum/go.mod @@ -3,9 +3,9 @@ module github.com/aws/aws-sdk-go-v2/service/internal/checksum go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/checksum/go.sum b/service/internal/checksum/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/internal/checksum/go.sum +++ b/service/internal/checksum/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/internal/checksum/go_module_metadata.go b/service/internal/checksum/go_module_metadata.go index 4273075ebe8..5e5f48ec732 100644 --- a/service/internal/checksum/go_module_metadata.go +++ b/service/internal/checksum/go_module_metadata.go @@ -3,4 +3,4 @@ package checksum // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.6" +const goModuleVersion = "1.1.7" diff --git a/service/internal/endpoint-discovery/CHANGELOG.md b/service/internal/endpoint-discovery/CHANGELOG.md index 3a077c04299..8036e688f75 100644 --- a/service/internal/endpoint-discovery/CHANGELOG.md +++ b/service/internal/endpoint-discovery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.7.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/internal/endpoint-discovery/go.mod b/service/internal/endpoint-discovery/go.mod index d88ffe54de8..863600069e6 100644 --- a/service/internal/endpoint-discovery/go.mod +++ b/service/internal/endpoint-discovery/go.mod @@ -3,8 +3,8 @@ module github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/endpoint-discovery/go.sum b/service/internal/endpoint-discovery/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/internal/endpoint-discovery/go.sum +++ b/service/internal/endpoint-discovery/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/internal/endpoint-discovery/go_module_metadata.go b/service/internal/endpoint-discovery/go_module_metadata.go index 17b40150220..79e45b00904 100644 --- a/service/internal/endpoint-discovery/go_module_metadata.go +++ b/service/internal/endpoint-discovery/go_module_metadata.go @@ -3,4 +3,4 @@ package endpointdiscovery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.5" +const goModuleVersion = "1.7.6" diff --git a/service/internal/eventstreamtesting/CHANGELOG.md b/service/internal/eventstreamtesting/CHANGELOG.md index a38adfe7622..b0324afe00c 100644 --- a/service/internal/eventstreamtesting/CHANGELOG.md +++ b/service/internal/eventstreamtesting/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.0.18 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.0.17 (2022-05-26) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.0.16 (2022-05-25) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.0.15 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/internal/eventstreamtesting/go.mod b/service/internal/eventstreamtesting/go.mod index 5da22fa7d33..6890c0fa0e3 100644 --- a/service/internal/eventstreamtesting/go.mod +++ b/service/internal/eventstreamtesting/go.mod @@ -3,9 +3,9 @@ module github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 - github.com/aws/aws-sdk-go-v2/credentials v1.12.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 + github.com/aws/aws-sdk-go-v2/credentials v1.12.5 golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd ) diff --git a/service/internal/eventstreamtesting/go.sum b/service/internal/eventstreamtesting/go.sum index 2c1e16f2de6..f8a451bdc25 100644 --- a/service/internal/eventstreamtesting/go.sum +++ b/service/internal/eventstreamtesting/go.sum @@ -1,8 +1,8 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -15,7 +15,5 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/internal/eventstreamtesting/go_module_metadata.go b/service/internal/eventstreamtesting/go_module_metadata.go index 1490f5e5085..941e0cc09a4 100644 --- a/service/internal/eventstreamtesting/go_module_metadata.go +++ b/service/internal/eventstreamtesting/go_module_metadata.go @@ -3,4 +3,4 @@ package eventstreamtesting // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.15" +const goModuleVersion = "1.0.18" diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index 2efdee5b39a..b29c50b3d3b 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -1,93 +1,93 @@ module github.com/aws/aws-sdk-go-v2/service/internal/integrationtest require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/service/acm v1.14.5 - github.com/aws/aws-sdk-go-v2/service/apigateway v1.15.5 - github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.15.5 - github.com/aws/aws-sdk-go-v2/service/applicationdiscoveryservice v1.13.1 - github.com/aws/aws-sdk-go-v2/service/appstream v1.16.2 - github.com/aws/aws-sdk-go-v2/service/athena v1.15.2 - github.com/aws/aws-sdk-go-v2/service/autoscaling v1.23.2 - github.com/aws/aws-sdk-go-v2/service/batch v1.18.2 - github.com/aws/aws-sdk-go-v2/service/cloudformation v1.20.5 - github.com/aws/aws-sdk-go-v2/service/cloudfront v1.18.1 - github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.13.5 - github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.13.5 - github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.16.1 - github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.18.3 - github.com/aws/aws-sdk-go-v2/service/codebuild v1.19.5 - github.com/aws/aws-sdk-go-v2/service/codecommit v1.13.5 - github.com/aws/aws-sdk-go-v2/service/codedeploy v1.14.5 - github.com/aws/aws-sdk-go-v2/service/codepipeline v1.13.5 - github.com/aws/aws-sdk-go-v2/service/codestar v1.11.5 - github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.15.5 - github.com/aws/aws-sdk-go-v2/service/configservice v1.21.2 - github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.13.5 - github.com/aws/aws-sdk-go-v2/service/databasemigrationservice v1.18.5 - github.com/aws/aws-sdk-go-v2/service/devicefarm v1.13.5 - github.com/aws/aws-sdk-go-v2/service/directconnect v1.17.5 - github.com/aws/aws-sdk-go-v2/service/directoryservice v1.13.5 - github.com/aws/aws-sdk-go-v2/service/docdb v1.18.2 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.5 - github.com/aws/aws-sdk-go-v2/service/ec2 v1.43.1 - github.com/aws/aws-sdk-go-v2/service/ecr v1.17.5 - github.com/aws/aws-sdk-go-v2/service/ecs v1.18.7 - github.com/aws/aws-sdk-go-v2/service/efs v1.17.3 - github.com/aws/aws-sdk-go-v2/service/elasticache v1.20.7 - github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.14.5 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.14.5 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.18.5 - github.com/aws/aws-sdk-go-v2/service/elasticsearchservice v1.15.5 - github.com/aws/aws-sdk-go-v2/service/elastictranscoder v1.13.5 - github.com/aws/aws-sdk-go-v2/service/emr v1.18.1 - github.com/aws/aws-sdk-go-v2/service/eventbridge v1.16.2 - github.com/aws/aws-sdk-go-v2/service/firehose v1.14.6 - github.com/aws/aws-sdk-go-v2/service/gamelift v1.14.5 - github.com/aws/aws-sdk-go-v2/service/glacier v1.13.5 - github.com/aws/aws-sdk-go-v2/service/glue v1.25.0 - github.com/aws/aws-sdk-go-v2/service/health v1.15.5 - github.com/aws/aws-sdk-go-v2/service/iam v1.18.5 - github.com/aws/aws-sdk-go-v2/service/inspector v1.12.5 - github.com/aws/aws-sdk-go-v2/service/iot v1.25.2 - github.com/aws/aws-sdk-go-v2/service/kinesis v1.15.6 - github.com/aws/aws-sdk-go-v2/service/kms v1.17.2 - github.com/aws/aws-sdk-go-v2/service/lambda v1.23.1 - github.com/aws/aws-sdk-go-v2/service/lightsail v1.21.1 - github.com/aws/aws-sdk-go-v2/service/marketplacecommerceanalytics v1.11.5 - github.com/aws/aws-sdk-go-v2/service/neptune v1.16.5 - github.com/aws/aws-sdk-go-v2/service/opsworks v1.13.5 - github.com/aws/aws-sdk-go-v2/service/pinpointemail v1.11.5 - github.com/aws/aws-sdk-go-v2/service/polly v1.15.2 - github.com/aws/aws-sdk-go-v2/service/rds v1.21.2 - github.com/aws/aws-sdk-go-v2/service/redshift v1.24.1 - github.com/aws/aws-sdk-go-v2/service/rekognition v1.18.2 - github.com/aws/aws-sdk-go-v2/service/route53 v1.20.5 - github.com/aws/aws-sdk-go-v2/service/route53domains v1.12.5 - github.com/aws/aws-sdk-go-v2/service/route53resolver v1.15.6 - github.com/aws/aws-sdk-go-v2/service/s3 v1.26.10 - github.com/aws/aws-sdk-go-v2/service/s3control v1.21.6 - github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.8 - github.com/aws/aws-sdk-go-v2/service/servicecatalog v1.14.3 - github.com/aws/aws-sdk-go-v2/service/ses v1.14.5 - github.com/aws/aws-sdk-go-v2/service/sfn v1.13.5 - github.com/aws/aws-sdk-go-v2/service/shield v1.16.5 - github.com/aws/aws-sdk-go-v2/service/sms v1.12.6 - github.com/aws/aws-sdk-go-v2/service/snowball v1.15.5 - github.com/aws/aws-sdk-go-v2/service/sns v1.17.6 - github.com/aws/aws-sdk-go-v2/service/sqs v1.18.5 - github.com/aws/aws-sdk-go-v2/service/ssm v1.27.1 - github.com/aws/aws-sdk-go-v2/service/sts v1.16.6 - github.com/aws/aws-sdk-go-v2/service/support v1.13.5 - github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.13.5 - github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.6.6 - github.com/aws/aws-sdk-go-v2/service/waf v1.11.5 - github.com/aws/aws-sdk-go-v2/service/wafregional v1.12.6 - github.com/aws/aws-sdk-go-v2/service/wafv2 v1.20.1 - github.com/aws/aws-sdk-go-v2/service/workspaces v1.18.2 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/service/acm v1.14.6 + github.com/aws/aws-sdk-go-v2/service/apigateway v1.15.7 + github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.15.6 + github.com/aws/aws-sdk-go-v2/service/applicationdiscoveryservice v1.13.2 + github.com/aws/aws-sdk-go-v2/service/appstream v1.16.3 + github.com/aws/aws-sdk-go-v2/service/athena v1.15.3 + github.com/aws/aws-sdk-go-v2/service/autoscaling v1.23.3 + github.com/aws/aws-sdk-go-v2/service/batch v1.18.5 + github.com/aws/aws-sdk-go-v2/service/cloudformation v1.21.1 + github.com/aws/aws-sdk-go-v2/service/cloudfront v1.18.2 + github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.13.6 + github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.13.6 + github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.16.2 + github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.18.4 + github.com/aws/aws-sdk-go-v2/service/codebuild v1.19.6 + github.com/aws/aws-sdk-go-v2/service/codecommit v1.13.6 + github.com/aws/aws-sdk-go-v2/service/codedeploy v1.14.6 + github.com/aws/aws-sdk-go-v2/service/codepipeline v1.13.6 + github.com/aws/aws-sdk-go-v2/service/codestar v1.11.6 + github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.17.1 + github.com/aws/aws-sdk-go-v2/service/configservice v1.21.3 + github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.13.6 + github.com/aws/aws-sdk-go-v2/service/databasemigrationservice v1.18.6 + github.com/aws/aws-sdk-go-v2/service/devicefarm v1.13.6 + github.com/aws/aws-sdk-go-v2/service/directconnect v1.17.6 + github.com/aws/aws-sdk-go-v2/service/directoryservice v1.13.6 + github.com/aws/aws-sdk-go-v2/service/docdb v1.18.3 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.6 + github.com/aws/aws-sdk-go-v2/service/ec2 v1.45.1 + github.com/aws/aws-sdk-go-v2/service/ecr v1.17.6 + github.com/aws/aws-sdk-go-v2/service/ecs v1.18.8 + github.com/aws/aws-sdk-go-v2/service/efs v1.17.4 + github.com/aws/aws-sdk-go-v2/service/elasticache v1.21.1 + github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.14.6 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.14.6 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.18.6 + github.com/aws/aws-sdk-go-v2/service/elasticsearchservice v1.15.6 + github.com/aws/aws-sdk-go-v2/service/elastictranscoder v1.13.6 + github.com/aws/aws-sdk-go-v2/service/emr v1.18.2 + github.com/aws/aws-sdk-go-v2/service/eventbridge v1.16.3 + github.com/aws/aws-sdk-go-v2/service/firehose v1.14.7 + github.com/aws/aws-sdk-go-v2/service/gamelift v1.14.6 + github.com/aws/aws-sdk-go-v2/service/glacier v1.13.6 + github.com/aws/aws-sdk-go-v2/service/glue v1.25.1 + github.com/aws/aws-sdk-go-v2/service/health v1.15.8 + github.com/aws/aws-sdk-go-v2/service/iam v1.18.6 + github.com/aws/aws-sdk-go-v2/service/inspector v1.12.6 + github.com/aws/aws-sdk-go-v2/service/iot v1.25.3 + github.com/aws/aws-sdk-go-v2/service/kinesis v1.15.7 + github.com/aws/aws-sdk-go-v2/service/kms v1.17.3 + github.com/aws/aws-sdk-go-v2/service/lambda v1.23.2 + github.com/aws/aws-sdk-go-v2/service/lightsail v1.22.1 + github.com/aws/aws-sdk-go-v2/service/marketplacecommerceanalytics v1.11.6 + github.com/aws/aws-sdk-go-v2/service/neptune v1.16.6 + github.com/aws/aws-sdk-go-v2/service/opsworks v1.13.6 + github.com/aws/aws-sdk-go-v2/service/pinpointemail v1.11.7 + github.com/aws/aws-sdk-go-v2/service/polly v1.15.3 + github.com/aws/aws-sdk-go-v2/service/rds v1.21.3 + github.com/aws/aws-sdk-go-v2/service/redshift v1.24.2 + github.com/aws/aws-sdk-go-v2/service/rekognition v1.18.3 + github.com/aws/aws-sdk-go-v2/service/route53 v1.21.1 + github.com/aws/aws-sdk-go-v2/service/route53domains v1.12.6 + github.com/aws/aws-sdk-go-v2/service/route53resolver v1.15.7 + github.com/aws/aws-sdk-go-v2/service/s3 v1.26.11 + github.com/aws/aws-sdk-go-v2/service/s3control v1.21.7 + github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.10 + github.com/aws/aws-sdk-go-v2/service/servicecatalog v1.14.4 + github.com/aws/aws-sdk-go-v2/service/ses v1.14.7 + github.com/aws/aws-sdk-go-v2/service/sfn v1.13.6 + github.com/aws/aws-sdk-go-v2/service/shield v1.16.6 + github.com/aws/aws-sdk-go-v2/service/sms v1.12.7 + github.com/aws/aws-sdk-go-v2/service/snowball v1.15.6 + github.com/aws/aws-sdk-go-v2/service/sns v1.17.7 + github.com/aws/aws-sdk-go-v2/service/sqs v1.18.6 + github.com/aws/aws-sdk-go-v2/service/ssm v1.27.2 + github.com/aws/aws-sdk-go-v2/service/sts v1.16.7 + github.com/aws/aws-sdk-go-v2/service/support v1.13.6 + github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.13.6 + github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.6.7 + github.com/aws/aws-sdk-go-v2/service/waf v1.11.6 + github.com/aws/aws-sdk-go-v2/service/wafregional v1.12.7 + github.com/aws/aws-sdk-go-v2/service/wafv2 v1.20.2 + github.com/aws/aws-sdk-go-v2/service/workspaces v1.18.3 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) go 1.15 diff --git a/service/internal/integrationtest/go.sum b/service/internal/integrationtest/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/internal/integrationtest/go.sum +++ b/service/internal/integrationtest/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/internal/presigned-url/CHANGELOG.md b/service/internal/presigned-url/CHANGELOG.md index 66704c2e7b5..15abe58b3b1 100644 --- a/service/internal/presigned-url/CHANGELOG.md +++ b/service/internal/presigned-url/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/internal/presigned-url/go.mod b/service/internal/presigned-url/go.mod index e3811e44143..3fb71f6757c 100644 --- a/service/internal/presigned-url/go.mod +++ b/service/internal/presigned-url/go.mod @@ -3,9 +3,9 @@ module github.com/aws/aws-sdk-go-v2/service/internal/presigned-url go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/presigned-url/go.sum b/service/internal/presigned-url/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/internal/presigned-url/go.sum +++ b/service/internal/presigned-url/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/internal/presigned-url/go_module_metadata.go b/service/internal/presigned-url/go_module_metadata.go index 2d41ce5e8fa..016b482387b 100644 --- a/service/internal/presigned-url/go_module_metadata.go +++ b/service/internal/presigned-url/go_module_metadata.go @@ -3,4 +3,4 @@ package presignedurl // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.5" +const goModuleVersion = "1.9.6" diff --git a/service/internal/s3shared/CHANGELOG.md b/service/internal/s3shared/CHANGELOG.md index 19e47ea3ede..1f7bf464863 100644 --- a/service/internal/s3shared/CHANGELOG.md +++ b/service/internal/s3shared/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/internal/s3shared/go.mod b/service/internal/s3shared/go.mod index 549d106b6f2..63dfb426855 100644 --- a/service/internal/s3shared/go.mod +++ b/service/internal/s3shared/go.mod @@ -3,8 +3,8 @@ module github.com/aws/aws-sdk-go-v2/service/internal/s3shared go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/s3shared/go.sum b/service/internal/s3shared/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/internal/s3shared/go.sum +++ b/service/internal/s3shared/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/internal/s3shared/go_module_metadata.go b/service/internal/s3shared/go_module_metadata.go index 32b60faadb7..3f73133a49b 100644 --- a/service/internal/s3shared/go_module_metadata.go +++ b/service/internal/s3shared/go_module_metadata.go @@ -3,4 +3,4 @@ package s3shared // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/iot/CHANGELOG.md b/service/iot/CHANGELOG.md index 563b8aa4f2c..db37a0ef90e 100644 --- a/service/iot/CHANGELOG.md +++ b/service/iot/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.25.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iot/go.mod b/service/iot/go.mod index 237476c4f5f..7302728b30f 100644 --- a/service/iot/go.mod +++ b/service/iot/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iot go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iot/go.sum b/service/iot/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iot/go.sum +++ b/service/iot/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iot/go_module_metadata.go b/service/iot/go_module_metadata.go index 693a7c8785b..228354fafe1 100644 --- a/service/iot/go_module_metadata.go +++ b/service/iot/go_module_metadata.go @@ -3,4 +3,4 @@ package iot // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/iot1clickdevicesservice/CHANGELOG.md b/service/iot1clickdevicesservice/CHANGELOG.md index 2e326cddbfc..2036cf78231 100644 --- a/service/iot1clickdevicesservice/CHANGELOG.md +++ b/service/iot1clickdevicesservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.10.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iot1clickdevicesservice/go.mod b/service/iot1clickdevicesservice/go.mod index b7a639a512c..db49267b6d2 100644 --- a/service/iot1clickdevicesservice/go.mod +++ b/service/iot1clickdevicesservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iot1clickdevicesservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iot1clickdevicesservice/go.sum b/service/iot1clickdevicesservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iot1clickdevicesservice/go.sum +++ b/service/iot1clickdevicesservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iot1clickdevicesservice/go_module_metadata.go b/service/iot1clickdevicesservice/go_module_metadata.go index fcd520ac76c..bf1fd1a43f7 100644 --- a/service/iot1clickdevicesservice/go_module_metadata.go +++ b/service/iot1clickdevicesservice/go_module_metadata.go @@ -3,4 +3,4 @@ package iot1clickdevicesservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.5" +const goModuleVersion = "1.10.6" diff --git a/service/iot1clickprojects/CHANGELOG.md b/service/iot1clickprojects/CHANGELOG.md index d1b4269529a..a0abac976a7 100644 --- a/service/iot1clickprojects/CHANGELOG.md +++ b/service/iot1clickprojects/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iot1clickprojects/go.mod b/service/iot1clickprojects/go.mod index ff867be2d45..bdcaf7c6ff6 100644 --- a/service/iot1clickprojects/go.mod +++ b/service/iot1clickprojects/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iot1clickprojects go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iot1clickprojects/go.sum b/service/iot1clickprojects/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iot1clickprojects/go.sum +++ b/service/iot1clickprojects/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iot1clickprojects/go_module_metadata.go b/service/iot1clickprojects/go_module_metadata.go index cbbe1054622..2dfd111f58b 100644 --- a/service/iot1clickprojects/go_module_metadata.go +++ b/service/iot1clickprojects/go_module_metadata.go @@ -3,4 +3,4 @@ package iot1clickprojects // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/iotanalytics/CHANGELOG.md b/service/iotanalytics/CHANGELOG.md index dd981cc4c48..c299d7c8ead 100644 --- a/service/iotanalytics/CHANGELOG.md +++ b/service/iotanalytics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotanalytics/go.mod b/service/iotanalytics/go.mod index a69081f998b..26ca237574c 100644 --- a/service/iotanalytics/go.mod +++ b/service/iotanalytics/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotanalytics go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotanalytics/go.sum b/service/iotanalytics/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotanalytics/go.sum +++ b/service/iotanalytics/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotanalytics/go_module_metadata.go b/service/iotanalytics/go_module_metadata.go index c3c96046c1b..7cd75243a7c 100644 --- a/service/iotanalytics/go_module_metadata.go +++ b/service/iotanalytics/go_module_metadata.go @@ -3,4 +3,4 @@ package iotanalytics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/iotdataplane/CHANGELOG.md b/service/iotdataplane/CHANGELOG.md index b7b60465c0d..91e61c25933 100644 --- a/service/iotdataplane/CHANGELOG.md +++ b/service/iotdataplane/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.4 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotdataplane/go.mod b/service/iotdataplane/go.mod index bec1c011d85..3f1ef392129 100644 --- a/service/iotdataplane/go.mod +++ b/service/iotdataplane/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotdataplane go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotdataplane/go.sum b/service/iotdataplane/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotdataplane/go.sum +++ b/service/iotdataplane/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotdataplane/go_module_metadata.go b/service/iotdataplane/go_module_metadata.go index 9a09646b2af..e119a19203e 100644 --- a/service/iotdataplane/go_module_metadata.go +++ b/service/iotdataplane/go_module_metadata.go @@ -3,4 +3,4 @@ package iotdataplane // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.3" +const goModuleVersion = "1.12.4" diff --git a/service/iotdeviceadvisor/CHANGELOG.md b/service/iotdeviceadvisor/CHANGELOG.md index f0f4016679c..d8065c1e777 100644 --- a/service/iotdeviceadvisor/CHANGELOG.md +++ b/service/iotdeviceadvisor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotdeviceadvisor/go.mod b/service/iotdeviceadvisor/go.mod index d9ca9cba5a0..89bf7464691 100644 --- a/service/iotdeviceadvisor/go.mod +++ b/service/iotdeviceadvisor/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotdeviceadvisor go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotdeviceadvisor/go.sum b/service/iotdeviceadvisor/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotdeviceadvisor/go.sum +++ b/service/iotdeviceadvisor/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotdeviceadvisor/go_module_metadata.go b/service/iotdeviceadvisor/go_module_metadata.go index 8d9231a0494..e37ceaa1875 100644 --- a/service/iotdeviceadvisor/go_module_metadata.go +++ b/service/iotdeviceadvisor/go_module_metadata.go @@ -3,4 +3,4 @@ package iotdeviceadvisor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/iotevents/CHANGELOG.md b/service/iotevents/CHANGELOG.md index 07e313d4fc9..877f2d165bb 100644 --- a/service/iotevents/CHANGELOG.md +++ b/service/iotevents/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.14.6 (2022-06-06) + +* No change notes available for this release. + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotevents/go.mod b/service/iotevents/go.mod index 043fb9ff66b..bcf15e4e893 100644 --- a/service/iotevents/go.mod +++ b/service/iotevents/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotevents go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotevents/go.sum b/service/iotevents/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotevents/go.sum +++ b/service/iotevents/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotevents/go_module_metadata.go b/service/iotevents/go_module_metadata.go index 53870562e2e..00c4de6b911 100644 --- a/service/iotevents/go_module_metadata.go +++ b/service/iotevents/go_module_metadata.go @@ -3,4 +3,4 @@ package iotevents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.7" diff --git a/service/iotevents/internal/endpoints/endpoints.go b/service/iotevents/internal/endpoints/endpoints.go index 0d32b8a06a0..9855adfe4de 100644 --- a/service/iotevents/internal/endpoints/endpoints.go +++ b/service/iotevents/internal/endpoints/endpoints.go @@ -150,6 +150,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, diff --git a/service/ioteventsdata/CHANGELOG.md b/service/ioteventsdata/CHANGELOG.md index 5ff658b6155..fb882bd2145 100644 --- a/service/ioteventsdata/CHANGELOG.md +++ b/service/ioteventsdata/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.12.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.12.0 (2022-05-18) + +* **Feature**: Introducing new API for deleting detectors: BatchDeleteDetector. + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ioteventsdata/api_op_BatchDeleteDetector.go b/service/ioteventsdata/api_op_BatchDeleteDetector.go new file mode 100644 index 00000000000..42c5b104eff --- /dev/null +++ b/service/ioteventsdata/api_op_BatchDeleteDetector.go @@ -0,0 +1,128 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package ioteventsdata + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/ioteventsdata/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes one or more detectors that were created. When a detector is deleted, its +// state will be cleared and the detector will be removed from the list of +// detectors. The deleted detector will no longer appear if referenced in the +// ListDetectors +// (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_ListDetectors.html) +// API call. +func (c *Client) BatchDeleteDetector(ctx context.Context, params *BatchDeleteDetectorInput, optFns ...func(*Options)) (*BatchDeleteDetectorOutput, error) { + if params == nil { + params = &BatchDeleteDetectorInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "BatchDeleteDetector", params, optFns, c.addOperationBatchDeleteDetectorMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*BatchDeleteDetectorOutput) + out.ResultMetadata = metadata + return out, nil +} + +type BatchDeleteDetectorInput struct { + + // The list of one or more detectors to be deleted. + // + // This member is required. + Detectors []types.DeleteDetectorRequest + + noSmithyDocumentSerde +} + +type BatchDeleteDetectorOutput struct { + + // A list of errors associated with the request, or an empty array ([]) if there + // are no errors. Each error entry contains a messageId that helps you identify the + // entry that failed. + BatchDeleteDetectorErrorEntries []types.BatchDeleteDetectorErrorEntry + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationBatchDeleteDetectorMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpBatchDeleteDetector{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpBatchDeleteDetector{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpBatchDeleteDetectorValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteDetector(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opBatchDeleteDetector(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "ioteventsdata", + OperationName: "BatchDeleteDetector", + } +} diff --git a/service/ioteventsdata/deserializers.go b/service/ioteventsdata/deserializers.go index 5e828897858..ca3cf0839d4 100644 --- a/service/ioteventsdata/deserializers.go +++ b/service/ioteventsdata/deserializers.go @@ -175,6 +175,162 @@ func awsRestjson1_deserializeOpDocumentBatchAcknowledgeAlarmOutput(v **BatchAckn return nil } +type awsRestjson1_deserializeOpBatchDeleteDetector struct { +} + +func (*awsRestjson1_deserializeOpBatchDeleteDetector) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpBatchDeleteDetector) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorBatchDeleteDetector(response, &metadata) + } + output := &BatchDeleteDetectorOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentBatchDeleteDetectorOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorBatchDeleteDetector(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalFailureException", errorCode): + return awsRestjson1_deserializeErrorInternalFailureException(response, errorBody) + + case strings.EqualFold("InvalidRequestException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) + + case strings.EqualFold("ServiceUnavailableException", errorCode): + return awsRestjson1_deserializeErrorServiceUnavailableException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentBatchDeleteDetectorOutput(v **BatchDeleteDetectorOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *BatchDeleteDetectorOutput + if *v == nil { + sv = &BatchDeleteDetectorOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "batchDeleteDetectorErrorEntries": + if err := awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntries(&sv.BatchDeleteDetectorErrorEntries, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpBatchDisableAlarm struct { } @@ -2373,6 +2529,98 @@ func awsRestjson1_deserializeDocumentBatchAlarmActionErrorEntry(v **types.BatchA return nil } +func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntries(v *[]types.BatchDeleteDetectorErrorEntry, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.BatchDeleteDetectorErrorEntry + if *v == nil { + cv = []types.BatchDeleteDetectorErrorEntry{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.BatchDeleteDetectorErrorEntry + destAddr := &col + if err := awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentBatchDeleteDetectorErrorEntry(v **types.BatchDeleteDetectorErrorEntry, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.BatchDeleteDetectorErrorEntry + if *v == nil { + sv = &types.BatchDeleteDetectorErrorEntry{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "errorCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorCode to be of type string, got %T instead", value) + } + sv.ErrorCode = types.ErrorCode(jtv) + } + + case "errorMessage": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + } + sv.ErrorMessage = ptr.String(jtv) + } + + case "messageId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected MessageId to be of type string, got %T instead", value) + } + sv.MessageId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentBatchPutMessageErrorEntries(v *[]types.BatchPutMessageErrorEntry, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/ioteventsdata/generated.json b/service/ioteventsdata/generated.json index 136980e94c7..7205430badb 100644 --- a/service/ioteventsdata/generated.json +++ b/service/ioteventsdata/generated.json @@ -9,6 +9,7 @@ "api_client.go", "api_client_test.go", "api_op_BatchAcknowledgeAlarm.go", + "api_op_BatchDeleteDetector.go", "api_op_BatchDisableAlarm.go", "api_op_BatchEnableAlarm.go", "api_op_BatchPutMessage.go", diff --git a/service/ioteventsdata/go.mod b/service/ioteventsdata/go.mod index fb5cebdbb7c..9483dc89130 100644 --- a/service/ioteventsdata/go.mod +++ b/service/ioteventsdata/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ioteventsdata go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ioteventsdata/go.sum b/service/ioteventsdata/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ioteventsdata/go.sum +++ b/service/ioteventsdata/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ioteventsdata/go_module_metadata.go b/service/ioteventsdata/go_module_metadata.go index 47b71980374..ed63c1cb364 100644 --- a/service/ioteventsdata/go_module_metadata.go +++ b/service/ioteventsdata/go_module_metadata.go @@ -3,4 +3,4 @@ package ioteventsdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.12.1" diff --git a/service/ioteventsdata/serializers.go b/service/ioteventsdata/serializers.go index a943a380898..9d27e28bcfa 100644 --- a/service/ioteventsdata/serializers.go +++ b/service/ioteventsdata/serializers.go @@ -84,6 +84,76 @@ func awsRestjson1_serializeOpDocumentBatchAcknowledgeAlarmInput(v *BatchAcknowle return nil } +type awsRestjson1_serializeOpBatchDeleteDetector struct { +} + +func (*awsRestjson1_serializeOpBatchDeleteDetector) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpBatchDeleteDetector) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*BatchDeleteDetectorInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/detectors/delete") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentBatchDeleteDetectorInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsBatchDeleteDetectorInput(v *BatchDeleteDetectorInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestjson1_serializeOpDocumentBatchDeleteDetectorInput(v *BatchDeleteDetectorInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Detectors != nil { + ok := object.Key("detectors") + if err := awsRestjson1_serializeDocumentDeleteDetectorRequests(v.Detectors, ok); err != nil { + return err + } + } + + return nil +} + type awsRestjson1_serializeOpBatchDisableAlarm struct { } @@ -804,6 +874,41 @@ func awsRestjson1_serializeDocumentAcknowledgeAlarmActionRequests(v []types.Ackn return nil } +func awsRestjson1_serializeDocumentDeleteDetectorRequest(v *types.DeleteDetectorRequest, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DetectorModelName != nil { + ok := object.Key("detectorModelName") + ok.String(*v.DetectorModelName) + } + + if v.KeyValue != nil { + ok := object.Key("keyValue") + ok.String(*v.KeyValue) + } + + if v.MessageId != nil { + ok := object.Key("messageId") + ok.String(*v.MessageId) + } + + return nil +} + +func awsRestjson1_serializeDocumentDeleteDetectorRequests(v []types.DeleteDetectorRequest, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentDeleteDetectorRequest(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentDetectorStateDefinition(v *types.DetectorStateDefinition, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/ioteventsdata/types/types.go b/service/ioteventsdata/types/types.go index afb5a206e8e..823b033b3a3 100644 --- a/service/ioteventsdata/types/types.go +++ b/service/ioteventsdata/types/types.go @@ -196,6 +196,24 @@ type BatchAlarmActionErrorEntry struct { noSmithyDocumentSerde } +// Contains error messages associated with the deletion request. +type BatchDeleteDetectorErrorEntry struct { + + // The error code. + ErrorCode ErrorCode + + // A message that describes the error. + ErrorMessage *string + + // The ID of the message that caused the error. (See the value of the "messageId" + // in the detectors + // (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchDeleteDetector.html#iotevents-iotevents-data_BatchDeleteDetector-request-detectors) + // object of the DeleteDetectorRequest.) + MessageId *string + + noSmithyDocumentSerde +} + // Contains information about the errors encountered. type BatchPutMessageErrorEntry struct { @@ -272,6 +290,28 @@ type CustomerAction struct { noSmithyDocumentSerde } +// Information used to delete the detector model. +type DeleteDetectorRequest struct { + + // The name of the detector model that was used to create the detector instance. + // + // This member is required. + DetectorModelName *string + + // The ID to assign to the DeleteDetectorRequest. Each "messageId" must be unique + // within each batch sent. + // + // This member is required. + MessageId *string + + // The value of the key + // (https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateDetectorModel.html#iotevents-CreateDetectorModel-request-key) + // used to identify the detector. + KeyValue *string + + noSmithyDocumentSerde +} + // Information about the detector (instance). type Detector struct { diff --git a/service/ioteventsdata/validators.go b/service/ioteventsdata/validators.go index bb6515a8297..57b38a030f8 100644 --- a/service/ioteventsdata/validators.go +++ b/service/ioteventsdata/validators.go @@ -30,6 +30,26 @@ func (m *validateOpBatchAcknowledgeAlarm) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpBatchDeleteDetector struct { +} + +func (*validateOpBatchDeleteDetector) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpBatchDeleteDetector) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*BatchDeleteDetectorInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpBatchDeleteDetectorInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpBatchDisableAlarm struct { } @@ -234,6 +254,10 @@ func addOpBatchAcknowledgeAlarmValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpBatchAcknowledgeAlarm{}, middleware.After) } +func addOpBatchDeleteDetectorValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpBatchDeleteDetector{}, middleware.After) +} + func addOpBatchDisableAlarmValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpBatchDisableAlarm{}, middleware.After) } @@ -309,6 +333,41 @@ func validateAcknowledgeAlarmActionRequests(v []types.AcknowledgeAlarmActionRequ } } +func validateDeleteDetectorRequest(v *types.DeleteDetectorRequest) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteDetectorRequest"} + if v.MessageId == nil { + invalidParams.Add(smithy.NewErrParamRequired("MessageId")) + } + if v.DetectorModelName == nil { + invalidParams.Add(smithy.NewErrParamRequired("DetectorModelName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateDeleteDetectorRequests(v []types.DeleteDetectorRequest) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteDetectorRequests"} + for i := range v { + if err := validateDeleteDetectorRequest(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateDetectorStateDefinition(v *types.DetectorStateDefinition) error { if v == nil { return nil @@ -650,6 +709,25 @@ func validateOpBatchAcknowledgeAlarmInput(v *BatchAcknowledgeAlarmInput) error { } } +func validateOpBatchDeleteDetectorInput(v *BatchDeleteDetectorInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "BatchDeleteDetectorInput"} + if v.Detectors == nil { + invalidParams.Add(smithy.NewErrParamRequired("Detectors")) + } else if v.Detectors != nil { + if err := validateDeleteDetectorRequests(v.Detectors); err != nil { + invalidParams.AddNested("Detectors", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpBatchDisableAlarmInput(v *BatchDisableAlarmInput) error { if v == nil { return nil diff --git a/service/iotfleethub/CHANGELOG.md b/service/iotfleethub/CHANGELOG.md index 14a3694f9dd..99ddc950769 100644 --- a/service/iotfleethub/CHANGELOG.md +++ b/service/iotfleethub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotfleethub/go.mod b/service/iotfleethub/go.mod index 2d02cfcefa5..14243afc1f3 100644 --- a/service/iotfleethub/go.mod +++ b/service/iotfleethub/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotfleethub go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotfleethub/go.sum b/service/iotfleethub/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotfleethub/go.sum +++ b/service/iotfleethub/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotfleethub/go_module_metadata.go b/service/iotfleethub/go_module_metadata.go index 5a9a55719a1..9b79250033e 100644 --- a/service/iotfleethub/go_module_metadata.go +++ b/service/iotfleethub/go_module_metadata.go @@ -3,4 +3,4 @@ package iotfleethub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/iotjobsdataplane/CHANGELOG.md b/service/iotjobsdataplane/CHANGELOG.md index 0a444747c9b..3d0f6b2e3fa 100644 --- a/service/iotjobsdataplane/CHANGELOG.md +++ b/service/iotjobsdataplane/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotjobsdataplane/go.mod b/service/iotjobsdataplane/go.mod index d0659d90254..a8cfb812434 100644 --- a/service/iotjobsdataplane/go.mod +++ b/service/iotjobsdataplane/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotjobsdataplane go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotjobsdataplane/go.sum b/service/iotjobsdataplane/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotjobsdataplane/go.sum +++ b/service/iotjobsdataplane/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotjobsdataplane/go_module_metadata.go b/service/iotjobsdataplane/go_module_metadata.go index ff7ff79e944..893fabbd298 100644 --- a/service/iotjobsdataplane/go_module_metadata.go +++ b/service/iotjobsdataplane/go_module_metadata.go @@ -3,4 +3,4 @@ package iotjobsdataplane // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/iotsecuretunneling/CHANGELOG.md b/service/iotsecuretunneling/CHANGELOG.md index f1a1c31cfac..5e9da7f890f 100644 --- a/service/iotsecuretunneling/CHANGELOG.md +++ b/service/iotsecuretunneling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.1 (2022-05-17) * **Bug Fix**: Fixes iotsecuretunneling and mobile API clients to use the correct name for signing requests, Fixes [#1686](https://github.com/aws/aws-sdk-go-v2/issues/1686). diff --git a/service/iotsecuretunneling/go.mod b/service/iotsecuretunneling/go.mod index e5399fa37fa..8b02618c524 100644 --- a/service/iotsecuretunneling/go.mod +++ b/service/iotsecuretunneling/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotsecuretunneling go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotsecuretunneling/go.sum b/service/iotsecuretunneling/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotsecuretunneling/go.sum +++ b/service/iotsecuretunneling/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotsecuretunneling/go_module_metadata.go b/service/iotsecuretunneling/go_module_metadata.go index 439efd20643..a9af27fed32 100644 --- a/service/iotsecuretunneling/go_module_metadata.go +++ b/service/iotsecuretunneling/go_module_metadata.go @@ -3,4 +3,4 @@ package iotsecuretunneling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.1" +const goModuleVersion = "1.13.2" diff --git a/service/iotsitewise/CHANGELOG.md b/service/iotsitewise/CHANGELOG.md index 5155078ff9d..d85fcc07588 100644 --- a/service/iotsitewise/CHANGELOG.md +++ b/service/iotsitewise/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.22.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.22.1 (2022-06-06) + +* No change notes available for this release. + +# v1.22.0 (2022-05-31) + +* **Feature**: This release adds the following new optional field to the IoT SiteWise asset resource: assetDescription. + # v1.21.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotsitewise/api_op_CreateAsset.go b/service/iotsitewise/api_op_CreateAsset.go index 59c3ef5613b..efe3f528d99 100644 --- a/service/iotsitewise/api_op_CreateAsset.go +++ b/service/iotsitewise/api_op_CreateAsset.go @@ -43,6 +43,9 @@ type CreateAssetInput struct { // This member is required. AssetName *string + // A description for the asset. + AssetDescription *string + // A unique case-sensitive identifier that you can provide to ensure the // idempotency of the request. Don't reuse this client token if a new idempotent // request is required. diff --git a/service/iotsitewise/api_op_DescribeAsset.go b/service/iotsitewise/api_op_DescribeAsset.go index b61090ed134..cee71e0933a 100644 --- a/service/iotsitewise/api_op_DescribeAsset.go +++ b/service/iotsitewise/api_op_DescribeAsset.go @@ -99,6 +99,9 @@ type DescribeAssetOutput struct { // The composite models for the asset. AssetCompositeModels []types.AssetCompositeModel + // A description for the asset. + AssetDescription *string + // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/iotsitewise/api_op_DescribeStorageConfiguration.go b/service/iotsitewise/api_op_DescribeStorageConfiguration.go index 70e9c1cb005..80933eb5750 100644 --- a/service/iotsitewise/api_op_DescribeStorageConfiguration.go +++ b/service/iotsitewise/api_op_DescribeStorageConfiguration.go @@ -48,7 +48,7 @@ type DescribeStorageConfigurationOutput struct { // // * // MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the - // cold tier. The cold tier is a customer-managed Amazon S3 bucket. + // hot tier. The cold tier is a customer-managed Amazon S3 bucket. // // This member is required. StorageType types.StorageType diff --git a/service/iotsitewise/api_op_PutStorageConfiguration.go b/service/iotsitewise/api_op_PutStorageConfiguration.go index 6a29c9aff00..0370486514a 100644 --- a/service/iotsitewise/api_op_PutStorageConfiguration.go +++ b/service/iotsitewise/api_op_PutStorageConfiguration.go @@ -38,7 +38,7 @@ type PutStorageConfigurationInput struct { // // * // MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the - // cold tier. The cold tier is a customer-managed Amazon S3 bucket. + // hot tier. The cold tier is a customer-managed Amazon S3 bucket. // // This member is required. StorageType types.StorageType @@ -86,7 +86,7 @@ type PutStorageConfigurationOutput struct { // // * // MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the - // cold tier. The cold tier is a customer-managed Amazon S3 bucket. + // hot tier. The cold tier is a customer-managed Amazon S3 bucket. // // This member is required. StorageType types.StorageType diff --git a/service/iotsitewise/api_op_UpdateAsset.go b/service/iotsitewise/api_op_UpdateAsset.go index 8aa0f77c229..a2fa5077ef8 100644 --- a/service/iotsitewise/api_op_UpdateAsset.go +++ b/service/iotsitewise/api_op_UpdateAsset.go @@ -42,6 +42,9 @@ type UpdateAssetInput struct { // This member is required. AssetName *string + // A description for the asset. + AssetDescription *string + // A unique case-sensitive identifier that you can provide to ensure the // idempotency of the request. Don't reuse this client token if a new idempotent // request is required. diff --git a/service/iotsitewise/deserializers.go b/service/iotsitewise/deserializers.go index 276e9bc1b3d..1d6686a6456 100644 --- a/service/iotsitewise/deserializers.go +++ b/service/iotsitewise/deserializers.go @@ -3824,6 +3824,15 @@ func awsRestjson1_deserializeOpDocumentDescribeAssetOutput(v **DescribeAssetOutp } } + case "assetDescription": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Description to be of type string, got %T instead", value) + } + sv.AssetDescription = ptr.String(jtv) + } + case "assetHierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.AssetHierarchies, value); err != nil { return err @@ -12977,6 +12986,15 @@ func awsRestjson1_deserializeDocumentAssetSummary(v **types.AssetSummary, value } } + case "description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Description to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + case "hierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.Hierarchies, value); err != nil { return err @@ -13120,6 +13138,15 @@ func awsRestjson1_deserializeDocumentAssociatedAssetsSummary(v **types.Associate } } + case "description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Description to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + case "hierarchies": if err := awsRestjson1_deserializeDocumentAssetHierarchies(&sv.Hierarchies, value); err != nil { return err diff --git a/service/iotsitewise/go.mod b/service/iotsitewise/go.mod index 7be96bfedbe..ecbbe5e7e8a 100644 --- a/service/iotsitewise/go.mod +++ b/service/iotsitewise/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotsitewise go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/iotsitewise/go.sum b/service/iotsitewise/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/iotsitewise/go.sum +++ b/service/iotsitewise/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/iotsitewise/go_module_metadata.go b/service/iotsitewise/go_module_metadata.go index 530b8089432..a0dab757fb3 100644 --- a/service/iotsitewise/go_module_metadata.go +++ b/service/iotsitewise/go_module_metadata.go @@ -3,4 +3,4 @@ package iotsitewise // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.22.2" diff --git a/service/iotsitewise/internal/endpoints/endpoints.go b/service/iotsitewise/internal/endpoints/endpoints.go index c0cd77ea820..939ed707dbf 100644 --- a/service/iotsitewise/internal/endpoints/endpoints.go +++ b/service/iotsitewise/internal/endpoints/endpoints.go @@ -150,12 +150,30 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "iotsitewise-fips.ca-central-1.amazonaws.com", + }, endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "fips-ca-central-1", + }: endpoints.Endpoint{ + Hostname: "iotsitewise-fips.ca-central-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "ca-central-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "fips-us-east-1", }: endpoints.Endpoint{ @@ -165,6 +183,15 @@ var defaultPartitions = endpoints.Partitions{ }, Deprecated: aws.TrueTernary, }, + endpoints.EndpointKey{ + Region: "fips-us-east-2", + }: endpoints.Endpoint{ + Hostname: "iotsitewise-fips.us-east-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-east-2", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "fips-us-west-2", }: endpoints.Endpoint{ @@ -183,6 +210,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "iotsitewise-fips.us-east-1.amazonaws.com", }, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-2", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "iotsitewise-fips.us-east-2.amazonaws.com", + }, endpoints.EndpointKey{ Region: "us-west-2", }: endpoints.Endpoint{}, diff --git a/service/iotsitewise/serializers.go b/service/iotsitewise/serializers.go index 8a65fbc43b0..f390982eb14 100644 --- a/service/iotsitewise/serializers.go +++ b/service/iotsitewise/serializers.go @@ -826,6 +826,11 @@ func awsRestjson1_serializeOpDocumentCreateAssetInput(v *CreateAssetInput, value object := value.Object() defer object.Close() + if v.AssetDescription != nil { + ok := object.Key("assetDescription") + ok.String(*v.AssetDescription) + } + if v.AssetModelId != nil { ok := object.Key("assetModelId") ok.String(*v.AssetModelId) @@ -4421,6 +4426,11 @@ func awsRestjson1_serializeOpDocumentUpdateAssetInput(v *UpdateAssetInput, value object := value.Object() defer object.Close() + if v.AssetDescription != nil { + ok := object.Key("assetDescription") + ok.String(*v.AssetDescription) + } + if v.AssetName != nil { ok := object.Key("assetName") ok.String(*v.AssetName) diff --git a/service/iotsitewise/types/types.go b/service/iotsitewise/types/types.go index d28debc6d99..9150a65122c 100644 --- a/service/iotsitewise/types/types.go +++ b/service/iotsitewise/types/types.go @@ -555,6 +555,9 @@ type AssetSummary struct { // This member is required. Status *AssetStatus + // A description for the asset. + Description *string + noSmithyDocumentSerde } @@ -605,6 +608,9 @@ type AssociatedAssetsSummary struct { // This member is required. Status *AssetStatus + // A description for the asset. + Description *string + noSmithyDocumentSerde } diff --git a/service/iotthingsgraph/CHANGELOG.md b/service/iotthingsgraph/CHANGELOG.md index 3c611ea93f1..2a4d2f68315 100644 --- a/service/iotthingsgraph/CHANGELOG.md +++ b/service/iotthingsgraph/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotthingsgraph/go.mod b/service/iotthingsgraph/go.mod index 1120fcf7f72..833d4068dd7 100644 --- a/service/iotthingsgraph/go.mod +++ b/service/iotthingsgraph/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotthingsgraph go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotthingsgraph/go.sum b/service/iotthingsgraph/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotthingsgraph/go.sum +++ b/service/iotthingsgraph/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotthingsgraph/go_module_metadata.go b/service/iotthingsgraph/go_module_metadata.go index 1b9c3f5afe8..d812e658da5 100644 --- a/service/iotthingsgraph/go_module_metadata.go +++ b/service/iotthingsgraph/go_module_metadata.go @@ -3,4 +3,4 @@ package iotthingsgraph // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/iottwinmaker/CHANGELOG.md b/service/iottwinmaker/CHANGELOG.md index 9968a91f178..e774d8d9d4f 100644 --- a/service/iottwinmaker/CHANGELOG.md +++ b/service/iottwinmaker/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.7.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iottwinmaker/go.mod b/service/iottwinmaker/go.mod index 207c0866944..043ceee8972 100644 --- a/service/iottwinmaker/go.mod +++ b/service/iottwinmaker/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iottwinmaker go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iottwinmaker/go.sum b/service/iottwinmaker/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iottwinmaker/go.sum +++ b/service/iottwinmaker/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iottwinmaker/go_module_metadata.go b/service/iottwinmaker/go_module_metadata.go index d302d79e514..7c8d0979aef 100644 --- a/service/iottwinmaker/go_module_metadata.go +++ b/service/iottwinmaker/go_module_metadata.go @@ -3,4 +3,4 @@ package iottwinmaker // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.2" +const goModuleVersion = "1.7.3" diff --git a/service/iotwireless/CHANGELOG.md b/service/iotwireless/CHANGELOG.md index 3eb350765d9..b8fba0a8a31 100644 --- a/service/iotwireless/CHANGELOG.md +++ b/service/iotwireless/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.19.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/iotwireless/go.mod b/service/iotwireless/go.mod index ed0646e982c..7abfe0d3633 100644 --- a/service/iotwireless/go.mod +++ b/service/iotwireless/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/iotwireless go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotwireless/go.sum b/service/iotwireless/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/iotwireless/go.sum +++ b/service/iotwireless/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/iotwireless/go_module_metadata.go b/service/iotwireless/go_module_metadata.go index a6df279abf1..f1881b6b5d7 100644 --- a/service/iotwireless/go_module_metadata.go +++ b/service/iotwireless/go_module_metadata.go @@ -3,4 +3,4 @@ package iotwireless // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.1" +const goModuleVersion = "1.19.2" diff --git a/service/ivs/CHANGELOG.md b/service/ivs/CHANGELOG.md index 8d417b91e1c..be9fb01c638 100644 --- a/service/ivs/CHANGELOG.md +++ b/service/ivs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ivs/go.mod b/service/ivs/go.mod index 6403a806b90..cc82256fa59 100644 --- a/service/ivs/go.mod +++ b/service/ivs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ivs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ivs/go.sum b/service/ivs/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ivs/go.sum +++ b/service/ivs/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ivs/go_module_metadata.go b/service/ivs/go_module_metadata.go index 89645459ecc..709dc68fc6b 100644 --- a/service/ivs/go_module_metadata.go +++ b/service/ivs/go_module_metadata.go @@ -3,4 +3,4 @@ package ivs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.6" +const goModuleVersion = "1.16.7" diff --git a/service/ivschat/CHANGELOG.md b/service/ivschat/CHANGELOG.md index 4b664e9a2b5..c4069904961 100644 --- a/service/ivschat/CHANGELOG.md +++ b/service/ivschat/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.0.5 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.0.4 (2022-05-24) + +* **Documentation**: Doc-only update. For MessageReviewHandler structure, added timeout period in the description of the fallbackResult field + # v1.0.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ivschat/go.mod b/service/ivschat/go.mod index acb62ef4230..1f94e30eb3b 100644 --- a/service/ivschat/go.mod +++ b/service/ivschat/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ivschat go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ivschat/go.sum b/service/ivschat/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ivschat/go.sum +++ b/service/ivschat/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ivschat/go_module_metadata.go b/service/ivschat/go_module_metadata.go index a11c5d9657b..84470f6000c 100644 --- a/service/ivschat/go_module_metadata.go +++ b/service/ivschat/go_module_metadata.go @@ -3,4 +3,4 @@ package ivschat // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.3" +const goModuleVersion = "1.0.5" diff --git a/service/ivschat/types/types.go b/service/ivschat/types/types.go index b9c6eef349b..d9fc37d0408 100644 --- a/service/ivschat/types/types.go +++ b/service/ivschat/types/types.go @@ -11,10 +11,12 @@ import ( type MessageReviewHandler struct { // Specifies the fallback behavior (whether the message is allowed or denied) if - // the handler does not return a valid response, encounters an error or times out. - // If allowed, the message is delivered with returned content to all users - // connected to the room. If denied, the message is not delivered to any user. - // Default: ALLOW. + // the handler does not return a valid response, encounters an error, or times out. + // (For the timeout period, see Service Quotas + // (https://docs.aws.amazon.com/ivs/latest/userguide/service-quotas.html).) If + // allowed, the message is delivered with returned content to all users connected + // to the room. If denied, the message is not delivered to any user. Default: + // ALLOW. FallbackResult FallbackResult // Identifier of the message review handler. Currently this must be an ARN of a diff --git a/service/kafka/CHANGELOG.md b/service/kafka/CHANGELOG.md index 409254bcbb6..759dac1508d 100644 --- a/service/kafka/CHANGELOG.md +++ b/service/kafka/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kafka/go.mod b/service/kafka/go.mod index 41ff37ec8c8..0d93f299996 100644 --- a/service/kafka/go.mod +++ b/service/kafka/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kafka go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kafka/go.sum b/service/kafka/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kafka/go.sum +++ b/service/kafka/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kafka/go_module_metadata.go b/service/kafka/go_module_metadata.go index 14f37bdb5d3..996ac03eae8 100644 --- a/service/kafka/go_module_metadata.go +++ b/service/kafka/go_module_metadata.go @@ -3,4 +3,4 @@ package kafka // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.5" +const goModuleVersion = "1.17.6" diff --git a/service/kafkaconnect/CHANGELOG.md b/service/kafkaconnect/CHANGELOG.md index b76e6e8a62a..61640099b9a 100644 --- a/service/kafkaconnect/CHANGELOG.md +++ b/service/kafkaconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.8.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kafkaconnect/go.mod b/service/kafkaconnect/go.mod index 09ee8858a4a..22023217062 100644 --- a/service/kafkaconnect/go.mod +++ b/service/kafkaconnect/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kafkaconnect go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kafkaconnect/go.sum b/service/kafkaconnect/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kafkaconnect/go.sum +++ b/service/kafkaconnect/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kafkaconnect/go_module_metadata.go b/service/kafkaconnect/go_module_metadata.go index 876b880faec..5be91922b8a 100644 --- a/service/kafkaconnect/go_module_metadata.go +++ b/service/kafkaconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package kafkaconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.5" +const goModuleVersion = "1.8.6" diff --git a/service/kendra/CHANGELOG.md b/service/kendra/CHANGELOG.md index 962b8195fb0..bb87965cdaa 100644 --- a/service/kendra/CHANGELOG.md +++ b/service/kendra/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.28.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.28.0 (2022-06-02) + +* **Feature**: Amazon Kendra now provides a data source connector for GitHub. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html + # v1.27.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kendra/deserializers.go b/service/kendra/deserializers.go index b22ebc283cd..eff1b4e2063 100644 --- a/service/kendra/deserializers.go +++ b/service/kendra/deserializers.go @@ -9034,6 +9034,11 @@ func awsAwsjson11_deserializeDocumentDataSourceConfiguration(v **types.DataSourc return err } + case "GitHubConfiguration": + if err := awsAwsjson11_deserializeDocumentGitHubConfiguration(&sv.GitHubConfiguration, value); err != nil { + return err + } + case "GoogleDriveConfiguration": if err := awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(&sv.GoogleDriveConfiguration, value); err != nil { return err @@ -11236,6 +11241,253 @@ func awsAwsjson11_deserializeDocumentFsxConfiguration(v **types.FsxConfiguration return nil } +func awsAwsjson11_deserializeDocumentGitHubConfiguration(v **types.GitHubConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.GitHubConfiguration + if *v == nil { + sv = &types.GitHubConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ExclusionFileNamePatterns": + if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFileNamePatterns, value); err != nil { + return err + } + + case "ExclusionFileTypePatterns": + if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFileTypePatterns, value); err != nil { + return err + } + + case "ExclusionFolderNamePatterns": + if err := awsAwsjson11_deserializeDocumentStringList(&sv.ExclusionFolderNamePatterns, value); err != nil { + return err + } + + case "GitHubCommitConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubCommitConfigurationFieldMappings, value); err != nil { + return err + } + + case "GitHubDocumentCrawlProperties": + if err := awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(&sv.GitHubDocumentCrawlProperties, value); err != nil { + return err + } + + case "GitHubIssueAttachmentConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueAttachmentConfigurationFieldMappings, value); err != nil { + return err + } + + case "GitHubIssueCommentConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueCommentConfigurationFieldMappings, value); err != nil { + return err + } + + case "GitHubIssueDocumentConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubIssueDocumentConfigurationFieldMappings, value); err != nil { + return err + } + + case "GitHubPullRequestCommentConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestCommentConfigurationFieldMappings, value); err != nil { + return err + } + + case "GitHubPullRequestDocumentAttachmentConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, value); err != nil { + return err + } + + case "GitHubPullRequestDocumentConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubPullRequestDocumentConfigurationFieldMappings, value); err != nil { + return err + } + + case "GitHubRepositoryConfigurationFieldMappings": + if err := awsAwsjson11_deserializeDocumentDataSourceToIndexFieldMappingList(&sv.GitHubRepositoryConfigurationFieldMappings, value); err != nil { + return err + } + + case "InclusionFileNamePatterns": + if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFileNamePatterns, value); err != nil { + return err + } + + case "InclusionFileTypePatterns": + if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFileTypePatterns, value); err != nil { + return err + } + + case "InclusionFolderNamePatterns": + if err := awsAwsjson11_deserializeDocumentStringList(&sv.InclusionFolderNamePatterns, value); err != nil { + return err + } + + case "OnPremiseConfiguration": + if err := awsAwsjson11_deserializeDocumentOnPremiseConfiguration(&sv.OnPremiseConfiguration, value); err != nil { + return err + } + + case "RepositoryFilter": + if err := awsAwsjson11_deserializeDocumentRepositoryNames(&sv.RepositoryFilter, value); err != nil { + return err + } + + case "SaaSConfiguration": + if err := awsAwsjson11_deserializeDocumentSaaSConfiguration(&sv.SaaSConfiguration, value); err != nil { + return err + } + + case "SecretArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SecretArn to be of type string, got %T instead", value) + } + sv.SecretArn = ptr.String(jtv) + } + + case "Type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Type to be of type string, got %T instead", value) + } + sv.Type = types.Type(jtv) + } + + case "UseChangeLog": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.UseChangeLog = jtv + } + + case "VpcConfiguration": + if err := awsAwsjson11_deserializeDocumentDataSourceVpcConfiguration(&sv.VpcConfiguration, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentGitHubDocumentCrawlProperties(v **types.GitHubDocumentCrawlProperties, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.GitHubDocumentCrawlProperties + if *v == nil { + sv = &types.GitHubDocumentCrawlProperties{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "CrawlIssue": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.CrawlIssue = jtv + } + + case "CrawlIssueComment": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.CrawlIssueComment = jtv + } + + case "CrawlIssueCommentAttachment": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.CrawlIssueCommentAttachment = jtv + } + + case "CrawlPullRequest": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.CrawlPullRequest = jtv + } + + case "CrawlPullRequestComment": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.CrawlPullRequestComment = jtv + } + + case "CrawlPullRequestCommentAttachment": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.CrawlPullRequestCommentAttachment = jtv + } + + case "CrawlRepositoryDocuments": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.CrawlRepositoryDocuments = jtv + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentGoogleDriveConfiguration(v **types.GoogleDriveConfiguration, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -12546,6 +12798,60 @@ func awsAwsjson11_deserializeDocumentOneDriveUsers(v **types.OneDriveUsers, valu return nil } +func awsAwsjson11_deserializeDocumentOnPremiseConfiguration(v **types.OnPremiseConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.OnPremiseConfiguration + if *v == nil { + sv = &types.OnPremiseConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "HostUrl": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Url to be of type string, got %T instead", value) + } + sv.HostUrl = ptr.String(jtv) + } + + case "OrganizationName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OrganizationName to be of type string, got %T instead", value) + } + sv.OrganizationName = ptr.String(jtv) + } + + case "SslCertificateS3Path": + if err := awsAwsjson11_deserializeDocumentS3Path(&sv.SslCertificateS3Path, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentPersonasSummary(v **types.PersonasSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -13290,6 +13596,42 @@ func awsAwsjson11_deserializeDocumentRelevance(v **types.Relevance, value interf return nil } +func awsAwsjson11_deserializeDocumentRepositoryNames(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RepositoryName to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentResourceAlreadyExistException(v **types.ResourceAlreadyExistException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -13564,6 +13906,55 @@ func awsAwsjson11_deserializeDocumentS3Path(v **types.S3Path, value interface{}) return nil } +func awsAwsjson11_deserializeDocumentSaaSConfiguration(v **types.SaaSConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.SaaSConfiguration + if *v == nil { + sv = &types.SaaSConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "HostUrl": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Url to be of type string, got %T instead", value) + } + sv.HostUrl = ptr.String(jtv) + } + + case "OrganizationName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OrganizationName to be of type string, got %T instead", value) + } + sv.OrganizationName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentSalesforceChatterFeedConfiguration(v **types.SalesforceChatterFeedConfiguration, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -15340,6 +15731,42 @@ func awsAwsjson11_deserializeDocumentStatus(v **types.Status, value interface{}) return nil } +func awsAwsjson11_deserializeDocumentStringList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentSubnetIdList(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/kendra/go.mod b/service/kendra/go.mod index bef1a587e59..ec3658609e9 100644 --- a/service/kendra/go.mod +++ b/service/kendra/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kendra go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kendra/go.sum b/service/kendra/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kendra/go.sum +++ b/service/kendra/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kendra/go_module_metadata.go b/service/kendra/go_module_metadata.go index f9d7890e6a4..4b00617bd72 100644 --- a/service/kendra/go_module_metadata.go +++ b/service/kendra/go_module_metadata.go @@ -3,4 +3,4 @@ package kendra // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.1" +const goModuleVersion = "1.28.1" diff --git a/service/kendra/serializers.go b/service/kendra/serializers.go index 3e7af3fbf47..b0434ab9ee5 100644 --- a/service/kendra/serializers.go +++ b/service/kendra/serializers.go @@ -3874,6 +3874,13 @@ func awsAwsjson11_serializeDocumentDataSourceConfiguration(v *types.DataSourceCo } } + if v.GitHubConfiguration != nil { + ok := object.Key("GitHubConfiguration") + if err := awsAwsjson11_serializeDocumentGitHubConfiguration(v.GitHubConfiguration, ok); err != nil { + return err + } + } + if v.GoogleDriveConfiguration != nil { ok := object.Key("GoogleDriveConfiguration") if err := awsAwsjson11_serializeDocumentGoogleDriveConfiguration(v.GoogleDriveConfiguration, ok); err != nil { @@ -4643,6 +4650,203 @@ func awsAwsjson11_serializeDocumentFsxConfiguration(v *types.FsxConfiguration, v return nil } +func awsAwsjson11_serializeDocumentGitHubConfiguration(v *types.GitHubConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ExclusionFileNamePatterns != nil { + ok := object.Key("ExclusionFileNamePatterns") + if err := awsAwsjson11_serializeDocumentStringList(v.ExclusionFileNamePatterns, ok); err != nil { + return err + } + } + + if v.ExclusionFileTypePatterns != nil { + ok := object.Key("ExclusionFileTypePatterns") + if err := awsAwsjson11_serializeDocumentStringList(v.ExclusionFileTypePatterns, ok); err != nil { + return err + } + } + + if v.ExclusionFolderNamePatterns != nil { + ok := object.Key("ExclusionFolderNamePatterns") + if err := awsAwsjson11_serializeDocumentStringList(v.ExclusionFolderNamePatterns, ok); err != nil { + return err + } + } + + if v.GitHubCommitConfigurationFieldMappings != nil { + ok := object.Key("GitHubCommitConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubCommitConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.GitHubDocumentCrawlProperties != nil { + ok := object.Key("GitHubDocumentCrawlProperties") + if err := awsAwsjson11_serializeDocumentGitHubDocumentCrawlProperties(v.GitHubDocumentCrawlProperties, ok); err != nil { + return err + } + } + + if v.GitHubIssueAttachmentConfigurationFieldMappings != nil { + ok := object.Key("GitHubIssueAttachmentConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubIssueAttachmentConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.GitHubIssueCommentConfigurationFieldMappings != nil { + ok := object.Key("GitHubIssueCommentConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubIssueCommentConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.GitHubIssueDocumentConfigurationFieldMappings != nil { + ok := object.Key("GitHubIssueDocumentConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubIssueDocumentConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.GitHubPullRequestCommentConfigurationFieldMappings != nil { + ok := object.Key("GitHubPullRequestCommentConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubPullRequestCommentConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings != nil { + ok := object.Key("GitHubPullRequestDocumentAttachmentConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.GitHubPullRequestDocumentConfigurationFieldMappings != nil { + ok := object.Key("GitHubPullRequestDocumentConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubPullRequestDocumentConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.GitHubRepositoryConfigurationFieldMappings != nil { + ok := object.Key("GitHubRepositoryConfigurationFieldMappings") + if err := awsAwsjson11_serializeDocumentDataSourceToIndexFieldMappingList(v.GitHubRepositoryConfigurationFieldMappings, ok); err != nil { + return err + } + } + + if v.InclusionFileNamePatterns != nil { + ok := object.Key("InclusionFileNamePatterns") + if err := awsAwsjson11_serializeDocumentStringList(v.InclusionFileNamePatterns, ok); err != nil { + return err + } + } + + if v.InclusionFileTypePatterns != nil { + ok := object.Key("InclusionFileTypePatterns") + if err := awsAwsjson11_serializeDocumentStringList(v.InclusionFileTypePatterns, ok); err != nil { + return err + } + } + + if v.InclusionFolderNamePatterns != nil { + ok := object.Key("InclusionFolderNamePatterns") + if err := awsAwsjson11_serializeDocumentStringList(v.InclusionFolderNamePatterns, ok); err != nil { + return err + } + } + + if v.OnPremiseConfiguration != nil { + ok := object.Key("OnPremiseConfiguration") + if err := awsAwsjson11_serializeDocumentOnPremiseConfiguration(v.OnPremiseConfiguration, ok); err != nil { + return err + } + } + + if v.RepositoryFilter != nil { + ok := object.Key("RepositoryFilter") + if err := awsAwsjson11_serializeDocumentRepositoryNames(v.RepositoryFilter, ok); err != nil { + return err + } + } + + if v.SaaSConfiguration != nil { + ok := object.Key("SaaSConfiguration") + if err := awsAwsjson11_serializeDocumentSaaSConfiguration(v.SaaSConfiguration, ok); err != nil { + return err + } + } + + if v.SecretArn != nil { + ok := object.Key("SecretArn") + ok.String(*v.SecretArn) + } + + if len(v.Type) > 0 { + ok := object.Key("Type") + ok.String(string(v.Type)) + } + + if v.UseChangeLog { + ok := object.Key("UseChangeLog") + ok.Boolean(v.UseChangeLog) + } + + if v.VpcConfiguration != nil { + ok := object.Key("VpcConfiguration") + if err := awsAwsjson11_serializeDocumentDataSourceVpcConfiguration(v.VpcConfiguration, ok); err != nil { + return err + } + } + + return nil +} + +func awsAwsjson11_serializeDocumentGitHubDocumentCrawlProperties(v *types.GitHubDocumentCrawlProperties, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.CrawlIssue { + ok := object.Key("CrawlIssue") + ok.Boolean(v.CrawlIssue) + } + + if v.CrawlIssueComment { + ok := object.Key("CrawlIssueComment") + ok.Boolean(v.CrawlIssueComment) + } + + if v.CrawlIssueCommentAttachment { + ok := object.Key("CrawlIssueCommentAttachment") + ok.Boolean(v.CrawlIssueCommentAttachment) + } + + if v.CrawlPullRequest { + ok := object.Key("CrawlPullRequest") + ok.Boolean(v.CrawlPullRequest) + } + + if v.CrawlPullRequestComment { + ok := object.Key("CrawlPullRequestComment") + ok.Boolean(v.CrawlPullRequestComment) + } + + if v.CrawlPullRequestCommentAttachment { + ok := object.Key("CrawlPullRequestCommentAttachment") + ok.Boolean(v.CrawlPullRequestCommentAttachment) + } + + if v.CrawlRepositoryDocuments { + ok := object.Key("CrawlRepositoryDocuments") + ok.Boolean(v.CrawlRepositoryDocuments) + } + + return nil +} + func awsAwsjson11_serializeDocumentGoogleDriveConfiguration(v *types.GoogleDriveConfiguration, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -5161,6 +5365,30 @@ func awsAwsjson11_serializeDocumentOneDriveUsers(v *types.OneDriveUsers, value s return nil } +func awsAwsjson11_serializeDocumentOnPremiseConfiguration(v *types.OnPremiseConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.HostUrl != nil { + ok := object.Key("HostUrl") + ok.String(*v.HostUrl) + } + + if v.OrganizationName != nil { + ok := object.Key("OrganizationName") + ok.String(*v.OrganizationName) + } + + if v.SslCertificateS3Path != nil { + ok := object.Key("SslCertificateS3Path") + if err := awsAwsjson11_serializeDocumentS3Path(v.SslCertificateS3Path, ok); err != nil { + return err + } + } + + return nil +} + func awsAwsjson11_serializeDocumentPrincipal(v *types.Principal, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -5401,6 +5629,17 @@ func awsAwsjson11_serializeDocumentRelevanceFeedbackList(v []types.RelevanceFeed return nil } +func awsAwsjson11_serializeDocumentRepositoryNames(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsAwsjson11_serializeDocumentS3DataSourceConfiguration(v *types.S3DataSourceConfiguration, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -5465,6 +5704,23 @@ func awsAwsjson11_serializeDocumentS3Path(v *types.S3Path, value smithyjson.Valu return nil } +func awsAwsjson11_serializeDocumentSaaSConfiguration(v *types.SaaSConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.HostUrl != nil { + ok := object.Key("HostUrl") + ok.String(*v.HostUrl) + } + + if v.OrganizationName != nil { + ok := object.Key("OrganizationName") + ok.String(*v.OrganizationName) + } + + return nil +} + func awsAwsjson11_serializeDocumentSalesforceChatterFeedConfiguration(v *types.SalesforceChatterFeedConfiguration, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -6207,6 +6463,17 @@ func awsAwsjson11_serializeDocumentSqlConfiguration(v *types.SqlConfiguration, v return nil } +func awsAwsjson11_serializeDocumentStringList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsAwsjson11_serializeDocumentSubnetIdList(v []string, value smithyjson.Value) error { array := value.Array() defer array.Close() diff --git a/service/kendra/types/enums.go b/service/kendra/types/enums.go index b3b77972930..a3f003f60d9 100644 --- a/service/kendra/types/enums.go +++ b/service/kendra/types/enums.go @@ -320,6 +320,7 @@ const ( DataSourceTypeBox DataSourceType = "BOX" DataSourceTypeQuip DataSourceType = "QUIP" DataSourceTypeJira DataSourceType = "JIRA" + DataSourceTypeGithub DataSourceType = "GITHUB" ) // Values returns all known values for DataSourceType. Note that this can be @@ -343,6 +344,7 @@ func (DataSourceType) Values() []DataSourceType { "BOX", "QUIP", "JIRA", + "GITHUB", } } @@ -1130,6 +1132,24 @@ func (ThesaurusStatus) Values() []ThesaurusStatus { } } +type Type string + +// Enum values for Type +const ( + TypeSaas Type = "SAAS" + TypeOnPremise Type = "ON_PREMISE" +) + +// Values returns all known values for Type. Note that this can be expanded in the +// future, and so it is only as up to date as the client. The ordering of this +// slice is not guaranteed to be stable across updates. +func (Type) Values() []Type { + return []Type{ + "SAAS", + "ON_PREMISE", + } +} + type UserContextPolicy string // Enum values for UserContextPolicy diff --git a/service/kendra/types/types.go b/service/kendra/types/types.go index f799302525a..87c83acba73 100644 --- a/service/kendra/types/types.go +++ b/service/kendra/types/types.go @@ -795,6 +795,9 @@ type DataSourceConfiguration struct { // source. FsxConfiguration *FsxConfiguration + // Provides the configuration information to connect to GitHub as your data source. + GitHubConfiguration *GitHubConfiguration + // Provides the configuration information to connect to Google Drive as your data // source. GoogleDriveConfiguration *GoogleDriveConfiguration @@ -1016,7 +1019,11 @@ type DataSourceVpcConfiguration struct { // A document in an index. type Document struct { - // A unique identifier of the document in the index. + // A unique identifier of the document in the index. Note, each document ID must be + // unique per index. You cannot create a data source to index your documents with + // their unique IDs and then use the BatchPutDocument API to index the same + // documents, or vice versa. You can delete a data source and then use the + // BatchPutDocument API to index the same documents, or vice versa. // // This member is required. Id *string @@ -1592,6 +1599,188 @@ type FsxConfiguration struct { noSmithyDocumentSerde } +// Provides the configuration information to connect to GitHub as your data source. +type GitHubConfiguration struct { + + // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the + // key-value pairs required to connect to your GitHub. The secret must contain a + // JSON structure with the following keys: + // + // * githubToken—The access token created + // in GitHub. For more information on creating a token in GitHub, see + // Authentication for a GitHub data source + // (https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html#github-authentication). + // + // This member is required. + SecretArn *string + + // A list of regular expression patterns to exclude certain file names in your + // GitHub repository or repositories. File names that match the patterns are + // excluded from the index. File names that don't match the patterns are included + // in the index. If a file matches both an exclusion and inclusion pattern, the + // exclusion pattern takes precedence and the file isn't included in the index. + ExclusionFileNamePatterns []string + + // A list of regular expression patterns to exclude certain file types in your + // GitHub repository or repositories. File types that match the patterns are + // excluded from the index. File types that don't match the patterns are included + // in the index. If a file matches both an exclusion and inclusion pattern, the + // exclusion pattern takes precedence and the file isn't included in the index. + ExclusionFileTypePatterns []string + + // A list of regular expression patterns to exclude certain folder names in your + // GitHub repository or repositories. Folder names that match the patterns are + // excluded from the index. Folder names that don't match the patterns are included + // in the index. If a folder matches both an exclusion and inclusion pattern, the + // exclusion pattern takes precedence and the folder isn't included in the index. + ExclusionFolderNamePatterns []string + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of GitHub commits to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to GitHub fields. For more + // information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubCommitConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // Configuration information to include certain types of GitHub content. You can + // configure to index repository files only, or also include issues and pull + // requests, comments, and comment attachments. + GitHubDocumentCrawlProperties *GitHubDocumentCrawlProperties + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of GitHub issue attachments to Amazon Kendra index field names. To create + // custom fields, use the UpdateIndex API before you map to GitHub fields. For more + // information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubIssueAttachmentConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of GitHub issue comments to Amazon Kendra index field names. To create + // custom fields, use the UpdateIndex API before you map to GitHub fields. For more + // information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubIssueCommentConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of GitHub issues to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to GitHub fields. For more + // information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubIssueDocumentConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of GitHub pull request comments to Amazon Kendra index field names. To + // create custom fields, use the UpdateIndex API before you map to GitHub fields. + // For more information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubPullRequestCommentConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of GitHub pull request attachments to Amazon Kendra index field names. To + // create custom fields, use the UpdateIndex API before you map to GitHub fields. + // For more information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubPullRequestDocumentAttachmentConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of GitHub pull requests to Amazon Kendra index field names. To create + // custom fields, use the UpdateIndex API before you map to GitHub fields. For more + // information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubPullRequestDocumentConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // A list of DataSourceToIndexFieldMapping objects that map GitHub repository + // attributes or field names to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to GitHub fields. For more + // information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The GitHub + // data source field names must exist in your GitHub custom metadata. + GitHubRepositoryConfigurationFieldMappings []DataSourceToIndexFieldMapping + + // A list of regular expression patterns to include certain file names in your + // GitHub repository or repositories. File names that match the patterns are + // included in the index. File names that don't match the patterns are excluded + // from the index. If a file matches both an inclusion and exclusion pattern, the + // exclusion pattern takes precedence and the file isn't included in the index. + InclusionFileNamePatterns []string + + // A list of regular expression patterns to include certain file types in your + // GitHub repository or repositories. File types that match the patterns are + // included in the index. File types that don't match the patterns are excluded + // from the index. If a file matches both an inclusion and exclusion pattern, the + // exclusion pattern takes precedence and the file isn't included in the index. + InclusionFileTypePatterns []string + + // A list of regular expression patterns to include certain folder names in your + // GitHub repository or repositories. Folder names that match the patterns are + // included in the index. Folder names that don't match the patterns are excluded + // from the index. If a folder matches both an inclusion and exclusion pattern, the + // exclusion pattern takes precedence and the folder isn't included in the index. + InclusionFolderNamePatterns []string + + // Configuration information to connect to GitHub Enterprise Server (on premises). + OnPremiseConfiguration *OnPremiseConfiguration + + // A list of names of the specific repositories you want to index. + RepositoryFilter []string + + // Configuration information to connect to GitHub Enterprise Cloud (SaaS). + SaaSConfiguration *SaaSConfiguration + + // The type of GitHub service you want to connect to—GitHub Enterprise Cloud (SaaS) + // or GitHub Enterprise Server (on premises). + Type Type + + // TRUE to use the GitHub change log to determine which documents require updating + // in the index. Depending on the GitHub change log's size, it may take longer for + // Amazon Kendra to use the change log than to scan all of your documents in + // GitHub. + UseChangeLog bool + + // Configuration information of an Amazon Virtual Private Cloud to connect to your + // GitHub. For more information, see Configuring a VPC + // (https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html). + VpcConfiguration *DataSourceVpcConfiguration + + noSmithyDocumentSerde +} + +// Provides the configuration information to include certain types of GitHub +// content. You can configure to index repository files only, or also include +// issues and pull requests, comments, and comment attachments. +type GitHubDocumentCrawlProperties struct { + + // TRUE to index all issues within a repository. + CrawlIssue bool + + // TRUE to index all comments on issues. + CrawlIssueComment bool + + // TRUE to include all comment attachments for issues. + CrawlIssueCommentAttachment bool + + // TRUE to index all pull requests within a repository. + CrawlPullRequest bool + + // TRUE to index all comments on pull requests. + CrawlPullRequestComment bool + + // TRUE to include all comment attachments for pull requests. + CrawlPullRequestCommentAttachment bool + + // TRUE to index all files with a repository. + CrawlRepositoryDocuments bool + + noSmithyDocumentSerde +} + // Provides the configuration information to connect to Google Drive as your data // source. type GoogleDriveConfiguration struct { @@ -1864,6 +2053,7 @@ type InlineCustomDocumentEnrichmentConfiguration struct { noSmithyDocumentSerde } +// Provides the configuration information to connect to Jira as your data source. type JiraConfiguration struct { // The URL of the Jira account. For example, company.attlassian.net or @@ -1877,12 +2067,10 @@ type JiraConfiguration struct { // key-value pairs required to connect to your Jira data source. The secret must // contain a JSON structure with the following keys: // - // * jira-id—The Active - // Directory user name, along with the Domain Name System (DNS) domain name. For - // example, user@corp.example.com. + // * jira-id—The ID of the Jira + // account. // - // * jiraCredentials—The password of the Jira - // account user. + // * jiraCredentials—The password of the Jira account user. // // This member is required. SecretArn *string @@ -2106,6 +2294,32 @@ type OneDriveUsers struct { noSmithyDocumentSerde } +// Provides the configuration information to connect to GitHub Enterprise Server +// (on premises). +type OnPremiseConfiguration struct { + + // The GitHub host URL or API endpoint URL. For example, + // https://on-prem-host-url/api/v3/ + // + // This member is required. + HostUrl *string + + // The name of the organization of the GitHub Enterprise Server (in-premise) + // account you want to connect to. You can find your organization name by logging + // into GitHub desktop and selecting Your organizations under your profile picture + // dropdown. + // + // This member is required. + OrganizationName *string + + // Information required to find a specific file in an Amazon S3 bucket. + // + // This member is required. + SslCertificateS3Path *S3Path + + noSmithyDocumentSerde +} + // Summary information for users or groups in your Amazon Web Services SSO identity // source. This applies to users and groups with specific permissions that define // their level of access to your Amazon Kendra experience. You can create an Amazon @@ -2482,6 +2696,25 @@ type S3Path struct { noSmithyDocumentSerde } +// Provides the configuration information to connect to GitHub Enterprise Cloud +// (SaaS). +type SaaSConfiguration struct { + + // The GitHub host URL or API endpoint URL. For example, https://api.github.com. + // + // This member is required. + HostUrl *string + + // The name of the organization of the GitHub Enterprise Cloud (SaaS) account you + // want to connect to. You can find your organization name by logging into GitHub + // desktop and selecting Your organizations under your profile picture dropdown. + // + // This member is required. + OrganizationName *string + + noSmithyDocumentSerde +} + // The configuration information for syncing a Salesforce chatter feed. The // contents of the object comes from the Salesforce FeedItem table. type SalesforceChatterFeedConfiguration struct { @@ -2765,12 +2998,11 @@ type SeedUrlConfiguration struct { noSmithyDocumentSerde } -// Provides the identifier of the KMScustomer master key (CMK) used to encrypt data -// indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs. +// Provides the identifier of the KMS key used to encrypt data indexed by Amazon +// Kendra. Amazon Kendra doesn't support asymmetric keys. type ServerSideEncryptionConfiguration struct { - // The identifier of the KMScustomer master key (CMK). Amazon Kendra doesn't - // support asymmetric CMKs. + // The identifier of the KMS key. Amazon Kendra doesn't support asymmetric keys. KmsKeyId *string noSmithyDocumentSerde diff --git a/service/kendra/validators.go b/service/kendra/validators.go index 1b552e80998..4b68467f4a0 100644 --- a/service/kendra/validators.go +++ b/service/kendra/validators.go @@ -1793,6 +1793,11 @@ func validateDataSourceConfiguration(v *types.DataSourceConfiguration) error { invalidParams.AddNested("JiraConfiguration", err.(smithy.InvalidParamsError)) } } + if v.GitHubConfiguration != nil { + if err := validateGitHubConfiguration(v.GitHubConfiguration); err != nil { + invalidParams.AddNested("GitHubConfiguration", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2215,6 +2220,76 @@ func validateFsxConfiguration(v *types.FsxConfiguration) error { } } +func validateGitHubConfiguration(v *types.GitHubConfiguration) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GitHubConfiguration"} + if v.SaaSConfiguration != nil { + if err := validateSaaSConfiguration(v.SaaSConfiguration); err != nil { + invalidParams.AddNested("SaaSConfiguration", err.(smithy.InvalidParamsError)) + } + } + if v.OnPremiseConfiguration != nil { + if err := validateOnPremiseConfiguration(v.OnPremiseConfiguration); err != nil { + invalidParams.AddNested("OnPremiseConfiguration", err.(smithy.InvalidParamsError)) + } + } + if v.SecretArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("SecretArn")) + } + if v.VpcConfiguration != nil { + if err := validateDataSourceVpcConfiguration(v.VpcConfiguration); err != nil { + invalidParams.AddNested("VpcConfiguration", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubRepositoryConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubRepositoryConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubRepositoryConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubCommitConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubCommitConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubCommitConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubIssueDocumentConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubIssueDocumentConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubIssueDocumentConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubIssueCommentConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubIssueCommentConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubIssueCommentConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubIssueAttachmentConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubIssueAttachmentConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubIssueAttachmentConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubPullRequestCommentConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubPullRequestCommentConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubPullRequestCommentConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubPullRequestDocumentConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubPullRequestDocumentConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubPullRequestDocumentConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if v.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings != nil { + if err := validateDataSourceToIndexFieldMappingList(v.GitHubPullRequestDocumentAttachmentConfigurationFieldMappings); err != nil { + invalidParams.AddNested("GitHubPullRequestDocumentAttachmentConfigurationFieldMappings", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateGoogleDriveConfiguration(v *types.GoogleDriveConfiguration) error { if v == nil { return nil @@ -2547,6 +2622,31 @@ func validateOneDriveUsers(v *types.OneDriveUsers) error { } } +func validateOnPremiseConfiguration(v *types.OnPremiseConfiguration) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "OnPremiseConfiguration"} + if v.HostUrl == nil { + invalidParams.Add(smithy.NewErrParamRequired("HostUrl")) + } + if v.OrganizationName == nil { + invalidParams.Add(smithy.NewErrParamRequired("OrganizationName")) + } + if v.SslCertificateS3Path == nil { + invalidParams.Add(smithy.NewErrParamRequired("SslCertificateS3Path")) + } else if v.SslCertificateS3Path != nil { + if err := validateS3Path(v.SslCertificateS3Path); err != nil { + invalidParams.AddNested("SslCertificateS3Path", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validatePrincipal(v *types.Principal) error { if v == nil { return nil @@ -2709,6 +2809,24 @@ func validateS3Path(v *types.S3Path) error { } } +func validateSaaSConfiguration(v *types.SaaSConfiguration) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "SaaSConfiguration"} + if v.OrganizationName == nil { + invalidParams.Add(smithy.NewErrParamRequired("OrganizationName")) + } + if v.HostUrl == nil { + invalidParams.Add(smithy.NewErrParamRequired("HostUrl")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateSalesforceChatterFeedConfiguration(v *types.SalesforceChatterFeedConfiguration) error { if v == nil { return nil diff --git a/service/keyspaces/CHANGELOG.md b/service/keyspaces/CHANGELOG.md index 8007e6c713b..79ed9bffc04 100644 --- a/service/keyspaces/CHANGELOG.md +++ b/service/keyspaces/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.0.8 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.0.7 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/keyspaces/go.mod b/service/keyspaces/go.mod index 29bc0f3baa6..6d814281682 100644 --- a/service/keyspaces/go.mod +++ b/service/keyspaces/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/keyspaces go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/keyspaces/go.sum b/service/keyspaces/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/keyspaces/go.sum +++ b/service/keyspaces/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/keyspaces/go_module_metadata.go b/service/keyspaces/go_module_metadata.go index 81723655581..31b29f73c9e 100644 --- a/service/keyspaces/go_module_metadata.go +++ b/service/keyspaces/go_module_metadata.go @@ -3,4 +3,4 @@ package keyspaces // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.7" +const goModuleVersion = "1.0.8" diff --git a/service/kinesis/CHANGELOG.md b/service/kinesis/CHANGELOG.md index a76a01d27dd..7856ab33cf0 100644 --- a/service/kinesis/CHANGELOG.md +++ b/service/kinesis/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kinesis/go.mod b/service/kinesis/go.mod index 20cedd6477c..d064871d591 100644 --- a/service/kinesis/go.mod +++ b/service/kinesis/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/kinesis go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/kinesis/go.sum b/service/kinesis/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/kinesis/go.sum +++ b/service/kinesis/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/kinesis/go_module_metadata.go b/service/kinesis/go_module_metadata.go index 96e2f5424a3..8dcc2880a9e 100644 --- a/service/kinesis/go_module_metadata.go +++ b/service/kinesis/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesis // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.6" +const goModuleVersion = "1.15.7" diff --git a/service/kinesis/internal/testing/go.mod b/service/kinesis/internal/testing/go.mod index 7c34dd8a4ad..fab07b7e0f1 100644 --- a/service/kinesis/internal/testing/go.mod +++ b/service/kinesis/internal/testing/go.mod @@ -3,12 +3,12 @@ module github.com/aws/aws-sdk-go-v2/service/kinesis/internal/testing go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 - github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.0.15 - github.com/aws/aws-sdk-go-v2/service/kinesis v1.15.6 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 + github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.0.18 + github.com/aws/aws-sdk-go-v2/service/kinesis v1.15.7 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/service/kinesis/internal/testing/go.sum b/service/kinesis/internal/testing/go.sum index b6c316403be..e8e8de04228 100644 --- a/service/kinesis/internal/testing/go.sum +++ b/service/kinesis/internal/testing/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -19,8 +19,6 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/kinesisanalytics/CHANGELOG.md b/service/kinesisanalytics/CHANGELOG.md index 75e3186dfd0..9c0512a3e43 100644 --- a/service/kinesisanalytics/CHANGELOG.md +++ b/service/kinesisanalytics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kinesisanalytics/go.mod b/service/kinesisanalytics/go.mod index 379523d9e38..1073d41b5f2 100644 --- a/service/kinesisanalytics/go.mod +++ b/service/kinesisanalytics/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kinesisanalytics go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisanalytics/go.sum b/service/kinesisanalytics/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kinesisanalytics/go.sum +++ b/service/kinesisanalytics/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kinesisanalytics/go_module_metadata.go b/service/kinesisanalytics/go_module_metadata.go index 70c3bb8bf4a..0b135cdf3f4 100644 --- a/service/kinesisanalytics/go_module_metadata.go +++ b/service/kinesisanalytics/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisanalytics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/kinesisanalyticsv2/CHANGELOG.md b/service/kinesisanalyticsv2/CHANGELOG.md index 34e2ba09da4..c8820447e15 100644 --- a/service/kinesisanalyticsv2/CHANGELOG.md +++ b/service/kinesisanalyticsv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kinesisanalyticsv2/go.mod b/service/kinesisanalyticsv2/go.mod index f1afbe46db6..2a5e41fc5b5 100644 --- a/service/kinesisanalyticsv2/go.mod +++ b/service/kinesisanalyticsv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kinesisanalyticsv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisanalyticsv2/go.sum b/service/kinesisanalyticsv2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kinesisanalyticsv2/go.sum +++ b/service/kinesisanalyticsv2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kinesisanalyticsv2/go_module_metadata.go b/service/kinesisanalyticsv2/go_module_metadata.go index ebd87cd31da..58beef4c19c 100644 --- a/service/kinesisanalyticsv2/go_module_metadata.go +++ b/service/kinesisanalyticsv2/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisanalyticsv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/kinesisvideo/CHANGELOG.md b/service/kinesisvideo/CHANGELOG.md index 56618102321..e471dcc9004 100644 --- a/service/kinesisvideo/CHANGELOG.md +++ b/service/kinesisvideo/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kinesisvideo/go.mod b/service/kinesisvideo/go.mod index 73db38bbece..a00d87ebbdd 100644 --- a/service/kinesisvideo/go.mod +++ b/service/kinesisvideo/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kinesisvideo go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideo/go.sum b/service/kinesisvideo/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kinesisvideo/go.sum +++ b/service/kinesisvideo/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kinesisvideo/go_module_metadata.go b/service/kinesisvideo/go_module_metadata.go index a811d948792..f04d350a14b 100644 --- a/service/kinesisvideo/go_module_metadata.go +++ b/service/kinesisvideo/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideo // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.1" +const goModuleVersion = "1.12.2" diff --git a/service/kinesisvideoarchivedmedia/CHANGELOG.md b/service/kinesisvideoarchivedmedia/CHANGELOG.md index 3ccb9d503e1..7a31a94615e 100644 --- a/service/kinesisvideoarchivedmedia/CHANGELOG.md +++ b/service/kinesisvideoarchivedmedia/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kinesisvideoarchivedmedia/go.mod b/service/kinesisvideoarchivedmedia/go.mod index 2119d2a75c0..0cbab32a0c4 100644 --- a/service/kinesisvideoarchivedmedia/go.mod +++ b/service/kinesisvideoarchivedmedia/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kinesisvideoarchivedmedia go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideoarchivedmedia/go.sum b/service/kinesisvideoarchivedmedia/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kinesisvideoarchivedmedia/go.sum +++ b/service/kinesisvideoarchivedmedia/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kinesisvideoarchivedmedia/go_module_metadata.go b/service/kinesisvideoarchivedmedia/go_module_metadata.go index 453b57d974b..b4b9d415ab9 100644 --- a/service/kinesisvideoarchivedmedia/go_module_metadata.go +++ b/service/kinesisvideoarchivedmedia/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideoarchivedmedia // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.1" +const goModuleVersion = "1.13.2" diff --git a/service/kinesisvideomedia/CHANGELOG.md b/service/kinesisvideomedia/CHANGELOG.md index 6c70e84dabe..2c1ccd12a36 100644 --- a/service/kinesisvideomedia/CHANGELOG.md +++ b/service/kinesisvideomedia/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.10.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kinesisvideomedia/go.mod b/service/kinesisvideomedia/go.mod index 7627b26ba98..3ce2c5f0901 100644 --- a/service/kinesisvideomedia/go.mod +++ b/service/kinesisvideomedia/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kinesisvideomedia go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideomedia/go.sum b/service/kinesisvideomedia/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kinesisvideomedia/go.sum +++ b/service/kinesisvideomedia/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kinesisvideomedia/go_module_metadata.go b/service/kinesisvideomedia/go_module_metadata.go index 6fbe6764839..d43a7c7b868 100644 --- a/service/kinesisvideomedia/go_module_metadata.go +++ b/service/kinesisvideomedia/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideomedia // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.5" +const goModuleVersion = "1.10.6" diff --git a/service/kinesisvideosignaling/CHANGELOG.md b/service/kinesisvideosignaling/CHANGELOG.md index 6c70e84dabe..2c1ccd12a36 100644 --- a/service/kinesisvideosignaling/CHANGELOG.md +++ b/service/kinesisvideosignaling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.10.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/kinesisvideosignaling/go.mod b/service/kinesisvideosignaling/go.mod index d2e8efbfbaf..1460d1f2957 100644 --- a/service/kinesisvideosignaling/go.mod +++ b/service/kinesisvideosignaling/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kinesisvideosignaling go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideosignaling/go.sum b/service/kinesisvideosignaling/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kinesisvideosignaling/go.sum +++ b/service/kinesisvideosignaling/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kinesisvideosignaling/go_module_metadata.go b/service/kinesisvideosignaling/go_module_metadata.go index 4356a79b432..f907518616d 100644 --- a/service/kinesisvideosignaling/go_module_metadata.go +++ b/service/kinesisvideosignaling/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideosignaling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.5" +const goModuleVersion = "1.10.6" diff --git a/service/kms/CHANGELOG.md b/service/kms/CHANGELOG.md index 8133e8d48cf..a851607ca2c 100644 --- a/service/kms/CHANGELOG.md +++ b/service/kms/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.2 (2022-05-17) * **Documentation**: Add HMAC best practice tip, annual rotation of AWS managed keys. diff --git a/service/kms/go.mod b/service/kms/go.mod index 1fd58bd997d..1fb65b18559 100644 --- a/service/kms/go.mod +++ b/service/kms/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/kms go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kms/go.sum b/service/kms/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/kms/go.sum +++ b/service/kms/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/kms/go_module_metadata.go b/service/kms/go_module_metadata.go index b3f3cf19e87..252f2216976 100644 --- a/service/kms/go_module_metadata.go +++ b/service/kms/go_module_metadata.go @@ -3,4 +3,4 @@ package kms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/lakeformation/CHANGELOG.md b/service/lakeformation/CHANGELOG.md index 8de557df803..54425d0e6e4 100644 --- a/service/lakeformation/CHANGELOG.md +++ b/service/lakeformation/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lakeformation/go.mod b/service/lakeformation/go.mod index c32f26241e3..40076964d70 100644 --- a/service/lakeformation/go.mod +++ b/service/lakeformation/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lakeformation go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lakeformation/go.sum b/service/lakeformation/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lakeformation/go.sum +++ b/service/lakeformation/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lakeformation/go_module_metadata.go b/service/lakeformation/go_module_metadata.go index 911985b2cdd..e5be4d0d544 100644 --- a/service/lakeformation/go_module_metadata.go +++ b/service/lakeformation/go_module_metadata.go @@ -3,4 +3,4 @@ package lakeformation // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.5" +const goModuleVersion = "1.16.6" diff --git a/service/lambda/CHANGELOG.md b/service/lambda/CHANGELOG.md index 6f8c337c8b2..3c29f76888f 100644 --- a/service/lambda/CHANGELOG.md +++ b/service/lambda/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.23.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lambda/go.mod b/service/lambda/go.mod index 3e3d76dd2ea..9ccaafd9827 100644 --- a/service/lambda/go.mod +++ b/service/lambda/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lambda go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/lambda/go.sum b/service/lambda/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/lambda/go.sum +++ b/service/lambda/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/lambda/go_module_metadata.go b/service/lambda/go_module_metadata.go index d6aedaf4f7e..7d32d771074 100644 --- a/service/lambda/go_module_metadata.go +++ b/service/lambda/go_module_metadata.go @@ -3,4 +3,4 @@ package lambda // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.1" +const goModuleVersion = "1.23.2" diff --git a/service/lexmodelbuildingservice/CHANGELOG.md b/service/lexmodelbuildingservice/CHANGELOG.md index c834b334b02..2b22fafbf16 100644 --- a/service/lexmodelbuildingservice/CHANGELOG.md +++ b/service/lexmodelbuildingservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lexmodelbuildingservice/go.mod b/service/lexmodelbuildingservice/go.mod index f28e5d990a1..762c846d101 100644 --- a/service/lexmodelbuildingservice/go.mod +++ b/service/lexmodelbuildingservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lexmodelbuildingservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lexmodelbuildingservice/go.sum b/service/lexmodelbuildingservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lexmodelbuildingservice/go.sum +++ b/service/lexmodelbuildingservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lexmodelbuildingservice/go_module_metadata.go b/service/lexmodelbuildingservice/go_module_metadata.go index 00d92bed8fb..5b5c62242f1 100644 --- a/service/lexmodelbuildingservice/go_module_metadata.go +++ b/service/lexmodelbuildingservice/go_module_metadata.go @@ -3,4 +3,4 @@ package lexmodelbuildingservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.5" +const goModuleVersion = "1.16.6" diff --git a/service/lexmodelsv2/CHANGELOG.md b/service/lexmodelsv2/CHANGELOG.md index 9d4f631de77..b5379eaa016 100644 --- a/service/lexmodelsv2/CHANGELOG.md +++ b/service/lexmodelsv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.20.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lexmodelsv2/go.mod b/service/lexmodelsv2/go.mod index 228d516fac3..378e2eb4f36 100644 --- a/service/lexmodelsv2/go.mod +++ b/service/lexmodelsv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/lexmodelsv2/go.sum b/service/lexmodelsv2/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/lexmodelsv2/go.sum +++ b/service/lexmodelsv2/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/lexmodelsv2/go_module_metadata.go b/service/lexmodelsv2/go_module_metadata.go index ac914850090..9c329643b0c 100644 --- a/service/lexmodelsv2/go_module_metadata.go +++ b/service/lexmodelsv2/go_module_metadata.go @@ -3,4 +3,4 @@ package lexmodelsv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.5" +const goModuleVersion = "1.20.6" diff --git a/service/lexruntimeservice/CHANGELOG.md b/service/lexruntimeservice/CHANGELOG.md index 919cb6db6ca..b167937293f 100644 --- a/service/lexruntimeservice/CHANGELOG.md +++ b/service/lexruntimeservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lexruntimeservice/go.mod b/service/lexruntimeservice/go.mod index 3e0dbb06466..dd2020a8e73 100644 --- a/service/lexruntimeservice/go.mod +++ b/service/lexruntimeservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lexruntimeservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lexruntimeservice/go.sum b/service/lexruntimeservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lexruntimeservice/go.sum +++ b/service/lexruntimeservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lexruntimeservice/go_module_metadata.go b/service/lexruntimeservice/go_module_metadata.go index 8d88d68fbce..74e6e2fb175 100644 --- a/service/lexruntimeservice/go_module_metadata.go +++ b/service/lexruntimeservice/go_module_metadata.go @@ -3,4 +3,4 @@ package lexruntimeservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/lexruntimev2/CHANGELOG.md b/service/lexruntimev2/CHANGELOG.md index 8de2fcecbf9..e5eec3c241f 100644 --- a/service/lexruntimev2/CHANGELOG.md +++ b/service/lexruntimev2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lexruntimev2/go.mod b/service/lexruntimev2/go.mod index 13aa3353be9..1a6beed83c9 100644 --- a/service/lexruntimev2/go.mod +++ b/service/lexruntimev2/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/lexruntimev2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lexruntimev2/go.sum b/service/lexruntimev2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lexruntimev2/go.sum +++ b/service/lexruntimev2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lexruntimev2/go_module_metadata.go b/service/lexruntimev2/go_module_metadata.go index 2b84ae58dfa..82b2f4e7908 100644 --- a/service/lexruntimev2/go_module_metadata.go +++ b/service/lexruntimev2/go_module_metadata.go @@ -3,4 +3,4 @@ package lexruntimev2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.6" +const goModuleVersion = "1.14.7" diff --git a/service/licensemanager/CHANGELOG.md b/service/licensemanager/CHANGELOG.md index 76e6a422e70..8128fd762c2 100644 --- a/service/licensemanager/CHANGELOG.md +++ b/service/licensemanager/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/licensemanager/go.mod b/service/licensemanager/go.mod index ed163747b84..20587345d5c 100644 --- a/service/licensemanager/go.mod +++ b/service/licensemanager/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/licensemanager go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/licensemanager/go.sum b/service/licensemanager/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/licensemanager/go.sum +++ b/service/licensemanager/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/licensemanager/go_module_metadata.go b/service/licensemanager/go_module_metadata.go index 9eac3e31b20..82b830b29d1 100644 --- a/service/licensemanager/go_module_metadata.go +++ b/service/licensemanager/go_module_metadata.go @@ -3,4 +3,4 @@ package licensemanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.6" +const goModuleVersion = "1.15.7" diff --git a/service/lightsail/CHANGELOG.md b/service/lightsail/CHANGELOG.md index 35cebd28766..8dd2e3bba01 100644 --- a/service/lightsail/CHANGELOG.md +++ b/service/lightsail/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.22.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.22.0 (2022-05-26) + +* **Feature**: Amazon Lightsail now supports the ability to configure a Lightsail Container Service to pull images from Amazon ECR private repositories in your account. + # v1.21.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lightsail/api_op_CreateContainerService.go b/service/lightsail/api_op_CreateContainerService.go index 037d621b8a4..5ef48d667ee 100644 --- a/service/lightsail/api_op_CreateContainerService.go +++ b/service/lightsail/api_op_CreateContainerService.go @@ -85,6 +85,14 @@ type CreateContainerServiceInput struct { // HTTPS port to use, and the health check configuration. Deployment *types.ContainerServiceDeploymentRequest + // An object to describe the configuration for the container service to access + // private container image repositories, such as Amazon Elastic Container Registry + // (Amazon ECR) private repositories. For more information, see Configuring access + // to an Amazon ECR private repository for an Amazon Lightsail container service + // (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access) + // in the Amazon Lightsail Developer Guide. + PrivateRegistryAccess *types.PrivateRegistryAccessRequest + // The public domain names to use with the container service, such as example.com // and www.example.com. You can specify up to four public domain names for a // container service. The domain names that you specify are used when you create a diff --git a/service/lightsail/api_op_UpdateContainerService.go b/service/lightsail/api_op_UpdateContainerService.go index 8b17783b65d..ac3496c2f81 100644 --- a/service/lightsail/api_op_UpdateContainerService.go +++ b/service/lightsail/api_op_UpdateContainerService.go @@ -47,6 +47,14 @@ type UpdateContainerServiceInput struct { // option. Power types.ContainerServicePowerName + // An object to describe the configuration for the container service to access + // private container image repositories, such as Amazon Elastic Container Registry + // (Amazon ECR) private repositories. For more information, see Configuring access + // to an Amazon ECR private repository for an Amazon Lightsail container service + // (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access) + // in the Amazon Lightsail Developer Guide. + PrivateRegistryAccess *types.PrivateRegistryAccessRequest + // The public domain names to use with the container service, such as example.com // and www.example.com. You can specify up to four public domain names for a // container service. The domain names that you specify are used when you create a diff --git a/service/lightsail/deserializers.go b/service/lightsail/deserializers.go index e5b4d66fdf7..615c13a9ac4 100644 --- a/service/lightsail/deserializers.go +++ b/service/lightsail/deserializers.go @@ -23128,6 +23128,11 @@ func awsAwsjson11_deserializeDocumentContainerService(v **types.ContainerService sv.PrivateDomainName = ptr.String(jtv) } + case "privateRegistryAccess": + if err := awsAwsjson11_deserializeDocumentPrivateRegistryAccess(&sv.PrivateRegistryAccess, value); err != nil { + return err + } + case "publicDomainNames": if err := awsAwsjson11_deserializeDocumentContainerServicePublicDomains(&sv.PublicDomainNames, value); err != nil { return err @@ -23305,6 +23310,55 @@ func awsAwsjson11_deserializeDocumentContainerServiceDeploymentList(v *[]types.C return nil } +func awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(v **types.ContainerServiceECRImagePullerRole, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ContainerServiceECRImagePullerRole + if *v == nil { + sv = &types.ContainerServiceECRImagePullerRole{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "isActive": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected boolean to be of type *bool, got %T instead", value) + } + sv.IsActive = ptr.Bool(jtv) + } + + case "principalArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected string to be of type string, got %T instead", value) + } + sv.PrincipalArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentContainerServiceEndpoint(v **types.ContainerServiceEndpoint, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -29550,6 +29604,42 @@ func awsAwsjson11_deserializeDocumentPortMap(v *map[string]types.ContainerServic return nil } +func awsAwsjson11_deserializeDocumentPrivateRegistryAccess(v **types.PrivateRegistryAccess, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PrivateRegistryAccess + if *v == nil { + sv = &types.PrivateRegistryAccess{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "ecrImagePullerRole": + if err := awsAwsjson11_deserializeDocumentContainerServiceECRImagePullerRole(&sv.EcrImagePullerRole, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentQueryStringObject(v **types.QueryStringObject, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/lightsail/go.mod b/service/lightsail/go.mod index fb0f93234eb..a09e61ef0b6 100644 --- a/service/lightsail/go.mod +++ b/service/lightsail/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lightsail go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lightsail/go.sum b/service/lightsail/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lightsail/go.sum +++ b/service/lightsail/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lightsail/go_module_metadata.go b/service/lightsail/go_module_metadata.go index 3f01bc69264..0b9b4c08cfc 100644 --- a/service/lightsail/go_module_metadata.go +++ b/service/lightsail/go_module_metadata.go @@ -3,4 +3,4 @@ package lightsail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.1" +const goModuleVersion = "1.22.1" diff --git a/service/lightsail/serializers.go b/service/lightsail/serializers.go index 9d47ba393b2..68ba90a051e 100644 --- a/service/lightsail/serializers.go +++ b/service/lightsail/serializers.go @@ -8770,6 +8770,18 @@ func awsAwsjson11_serializeDocumentContainerServiceDeploymentRequest(v *types.Co return nil } +func awsAwsjson11_serializeDocumentContainerServiceECRImagePullerRoleRequest(v *types.ContainerServiceECRImagePullerRoleRequest, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.IsActive != nil { + ok := object.Key("isActive") + ok.Boolean(*v.IsActive) + } + + return nil +} + func awsAwsjson11_serializeDocumentContainerServiceHealthCheckConfig(v *types.ContainerServiceHealthCheckConfig, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -9176,6 +9188,20 @@ func awsAwsjson11_serializeDocumentPortMap(v map[string]types.ContainerServicePr return nil } +func awsAwsjson11_serializeDocumentPrivateRegistryAccessRequest(v *types.PrivateRegistryAccessRequest, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EcrImagePullerRole != nil { + ok := object.Key("ecrImagePullerRole") + if err := awsAwsjson11_serializeDocumentContainerServiceECRImagePullerRoleRequest(v.EcrImagePullerRole, ok); err != nil { + return err + } + } + + return nil +} + func awsAwsjson11_serializeDocumentQueryStringObject(v *types.QueryStringObject, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -9634,6 +9660,13 @@ func awsAwsjson11_serializeOpDocumentCreateContainerServiceInput(v *CreateContai ok.String(string(v.Power)) } + if v.PrivateRegistryAccess != nil { + ok := object.Key("privateRegistryAccess") + if err := awsAwsjson11_serializeDocumentPrivateRegistryAccessRequest(v.PrivateRegistryAccess, ok); err != nil { + return err + } + } + if v.PublicDomainNames != nil { ok := object.Key("publicDomainNames") if err := awsAwsjson11_serializeDocumentContainerServicePublicDomains(v.PublicDomainNames, ok); err != nil { @@ -12273,6 +12306,13 @@ func awsAwsjson11_serializeOpDocumentUpdateContainerServiceInput(v *UpdateContai ok.String(string(v.Power)) } + if v.PrivateRegistryAccess != nil { + ok := object.Key("privateRegistryAccess") + if err := awsAwsjson11_serializeDocumentPrivateRegistryAccessRequest(v.PrivateRegistryAccess, ok); err != nil { + return err + } + } + if v.PublicDomainNames != nil { ok := object.Key("publicDomainNames") if err := awsAwsjson11_serializeDocumentContainerServicePublicDomains(v.PublicDomainNames, ok); err != nil { diff --git a/service/lightsail/types/types.go b/service/lightsail/types/types.go index 730a7998f38..4923995e3d9 100644 --- a/service/lightsail/types/types.go +++ b/service/lightsail/types/types.go @@ -1170,6 +1170,14 @@ type ContainerService struct { // (VPC) of your Lightsail account. PrivateDomainName *string + // An object that describes the configuration for the container service to access + // private container image repositories, such as Amazon Elastic Container Registry + // (Amazon ECR) private repositories. For more information, see Configuring access + // to an Amazon ECR private repository for an Amazon Lightsail container service + // (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access) + // in the Amazon Lightsail Developer Guide. + PrivateRegistryAccess *PrivateRegistryAccess + // The public domain name of the container service, such as example.com and // www.example.com. You can specify up to four public domain names for a container // service. The domain names that you specify are used when you create a deployment @@ -1284,6 +1292,48 @@ type ContainerServiceDeploymentRequest struct { noSmithyDocumentSerde } +// Describes the activation status of the role that you can use to grant an Amazon +// Lightsail container service access to Amazon Elastic Container Registry (Amazon +// ECR) private repositories. When activated, Lightsail creates an Identity and +// Access Management (IAM) role for the specified Lightsail container service. You +// can use the ARN of the role to create a trust relationship between your +// Lightsail container service and an Amazon ECR private repository in your Amazon +// Web Services account. This allows your container service to pull images from +// Amazon ECR private repositories. For more information, see Configuring access to +// an Amazon ECR private repository for an Amazon Lightsail container service +// (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access) +// in the Amazon Lightsail Developer Guide. +type ContainerServiceECRImagePullerRole struct { + + // A Boolean value that indicates whether the role is activated. + IsActive *bool + + // The Amazon Resource Name (ARN) of the role, if it is activated. + PrincipalArn *string + + noSmithyDocumentSerde +} + +// Describes a request to activate or deactivate the role that you can use to grant +// an Amazon Lightsail container service access to Amazon Elastic Container +// Registry (Amazon ECR) private repositories. When activated, Lightsail creates an +// Identity and Access Management (IAM) role for the specified Lightsail container +// service. You can use the ARN of the role to create a trust relationship between +// your Lightsail container service and an Amazon ECR private repository in your +// Amazon Web Services account. This allows your container service to pull images +// from Amazon ECR private repositories. For more information, see Configuring +// access to an Amazon ECR private repository for an Amazon Lightsail container +// service +// (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access) +// in the Amazon Lightsail Developer Guide. +type ContainerServiceECRImagePullerRoleRequest struct { + + // A Boolean value that indicates whether to activate the role. + IsActive *bool + + noSmithyDocumentSerde +} + // Describes the public endpoint configuration of a deployment of an Amazon // Lightsail container service. type ContainerServiceEndpoint struct { @@ -3306,6 +3356,39 @@ type PortInfo struct { noSmithyDocumentSerde } +// Describes the configuration for an Amazon Lightsail container service to access +// private container image repositories, such as Amazon Elastic Container Registry +// (Amazon ECR) private repositories. For more information, see Configuring access +// to an Amazon ECR private repository for an Amazon Lightsail container service +// (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access) +// in the Amazon Lightsail Developer Guide. +type PrivateRegistryAccess struct { + + // An object that describes the activation status of the role that you can use to + // grant a Lightsail container service access to Amazon ECR private repositories. + // If the role is activated, the Amazon Resource Name (ARN) of the role is also + // listed. + EcrImagePullerRole *ContainerServiceECRImagePullerRole + + noSmithyDocumentSerde +} + +// Describes a request to configure an Amazon Lightsail container service to access +// private container image repositories, such as Amazon Elastic Container Registry +// (Amazon ECR) private repositories. For more information, see Configuring access +// to an Amazon ECR private repository for an Amazon Lightsail container service +// (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access) +// in the Amazon Lightsail Developer Guide. +type PrivateRegistryAccessRequest struct { + + // An object to describe a request to activate or deactivate the role that you can + // use to grant an Amazon Lightsail container service access to Amazon Elastic + // Container Registry (Amazon ECR) private repositories. + EcrImagePullerRole *ContainerServiceECRImagePullerRoleRequest + + noSmithyDocumentSerde +} + // Describes the query string parameters that an Amazon Lightsail content delivery // network (CDN) distribution to bases caching on. For the query strings that you // specify, your distribution caches separate versions of the specified content diff --git a/service/location/CHANGELOG.md b/service/location/CHANGELOG.md index 301a2b90d88..10470025e85 100644 --- a/service/location/CHANGELOG.md +++ b/service/location/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/location/go.mod b/service/location/go.mod index ba97fce9ba5..239f70f96e9 100644 --- a/service/location/go.mod +++ b/service/location/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/location go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/location/go.sum b/service/location/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/location/go.sum +++ b/service/location/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/location/go_module_metadata.go b/service/location/go_module_metadata.go index 00eef9663c1..bb10d7774ec 100644 --- a/service/location/go_module_metadata.go +++ b/service/location/go_module_metadata.go @@ -3,4 +3,4 @@ package location // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.1" +const goModuleVersion = "1.17.2" diff --git a/service/lookoutequipment/CHANGELOG.md b/service/lookoutequipment/CHANGELOG.md index 671e40e3888..c8f34e9e438 100644 --- a/service/lookoutequipment/CHANGELOG.md +++ b/service/lookoutequipment/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lookoutequipment/go.mod b/service/lookoutequipment/go.mod index 0067a6c06fa..235f99e5c05 100644 --- a/service/lookoutequipment/go.mod +++ b/service/lookoutequipment/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lookoutequipment go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lookoutequipment/go.sum b/service/lookoutequipment/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lookoutequipment/go.sum +++ b/service/lookoutequipment/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lookoutequipment/go_module_metadata.go b/service/lookoutequipment/go_module_metadata.go index 4deb4f5b86c..0f070cc3355 100644 --- a/service/lookoutequipment/go_module_metadata.go +++ b/service/lookoutequipment/go_module_metadata.go @@ -3,4 +3,4 @@ package lookoutequipment // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.1" +const goModuleVersion = "1.13.2" diff --git a/service/lookoutmetrics/CHANGELOG.md b/service/lookoutmetrics/CHANGELOG.md index f0763a48e69..57a6322a85e 100644 --- a/service/lookoutmetrics/CHANGELOG.md +++ b/service/lookoutmetrics/CHANGELOG.md @@ -1,3 +1,19 @@ +# v1.15.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.15.0 (2022-05-31) + +* **Feature**: Adding backtest mode to detectors using the Cloudwatch data source. + +# v1.14.0 (2022-05-25) + +* **Feature**: Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source. + +# v1.13.0 (2022-05-19) + +* **Feature**: In this release we added SnsFormat to SNSConfiguration to support human readable alert. + # v1.12.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lookoutmetrics/api_op_UpdateMetricSet.go b/service/lookoutmetrics/api_op_UpdateMetricSet.go index d136e5bfaef..f144a603372 100644 --- a/service/lookoutmetrics/api_op_UpdateMetricSet.go +++ b/service/lookoutmetrics/api_op_UpdateMetricSet.go @@ -46,7 +46,7 @@ type UpdateMetricSetInput struct { // The dataset's interval. MetricSetFrequency types.Frequency - // Contains information about source data used to generate a metric. + // Contains information about source data used to generate metrics. MetricSource *types.MetricSource // After an interval ends, the amount of seconds that the detector waits before diff --git a/service/lookoutmetrics/deserializers.go b/service/lookoutmetrics/deserializers.go index 83ec9a5ae1a..8d4d018b05c 100644 --- a/service/lookoutmetrics/deserializers.go +++ b/service/lookoutmetrics/deserializers.go @@ -5457,6 +5457,96 @@ func awsRestjson1_deserializeDocumentAppFlowConfig(v **types.AppFlowConfig, valu return nil } +func awsRestjson1_deserializeDocumentAthenaSourceConfig(v **types.AthenaSourceConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AthenaSourceConfig + if *v == nil { + sv = &types.AthenaSourceConfig{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "BackTestConfiguration": + if err := awsRestjson1_deserializeDocumentBackTestConfiguration(&sv.BackTestConfiguration, value); err != nil { + return err + } + + case "DatabaseName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AthenaDatabaseName to be of type string, got %T instead", value) + } + sv.DatabaseName = ptr.String(jtv) + } + + case "DataCatalog": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AthenaDataCatalog to be of type string, got %T instead", value) + } + sv.DataCatalog = ptr.String(jtv) + } + + case "RoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.RoleArn = ptr.String(jtv) + } + + case "S3ResultsPath": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AthenaS3ResultsPath to be of type string, got %T instead", value) + } + sv.S3ResultsPath = ptr.String(jtv) + } + + case "TableName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AthenaTableName to be of type string, got %T instead", value) + } + sv.TableName = ptr.String(jtv) + } + + case "WorkGroupName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AthenaWorkGroupName to be of type string, got %T instead", value) + } + sv.WorkGroupName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -5530,6 +5620,46 @@ func awsRestjson1_deserializeDocumentAttributeValue(v **types.AttributeValue, va return nil } +func awsRestjson1_deserializeDocumentBackTestConfiguration(v **types.BackTestConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.BackTestConfiguration + if *v == nil { + sv = &types.BackTestConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "RunBackTestMode": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.RunBackTestMode = ptr.Bool(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentBinaryListAttributeValue(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -5588,6 +5718,11 @@ func awsRestjson1_deserializeDocumentCloudWatchConfig(v **types.CloudWatchConfig for key, value := range shape { switch key { + case "BackTestConfiguration": + if err := awsRestjson1_deserializeDocumentBackTestConfiguration(&sv.BackTestConfiguration, value); err != nil { + return err + } + case "RoleArn": if value != nil { jtv, ok := value.(string) @@ -7343,6 +7478,11 @@ func awsRestjson1_deserializeDocumentMetricSource(v **types.MetricSource, value return err } + case "AthenaSourceConfig": + if err := awsRestjson1_deserializeDocumentAthenaSourceConfig(&sv.AthenaSourceConfig, value); err != nil { + return err + } + case "CloudWatchConfig": if err := awsRestjson1_deserializeDocumentCloudWatchConfig(&sv.CloudWatchConfig, value); err != nil { return err @@ -7999,6 +8139,15 @@ func awsRestjson1_deserializeDocumentSNSConfiguration(v **types.SNSConfiguration sv.RoleArn = ptr.String(jtv) } + case "SnsFormat": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SnsFormat to be of type string, got %T instead", value) + } + sv.SnsFormat = types.SnsFormat(jtv) + } + case "SnsTopicArn": if value != nil { jtv, ok := value.(string) diff --git a/service/lookoutmetrics/go.mod b/service/lookoutmetrics/go.mod index ebdc942cf00..bb474272b43 100644 --- a/service/lookoutmetrics/go.mod +++ b/service/lookoutmetrics/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lookoutmetrics go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lookoutmetrics/go.sum b/service/lookoutmetrics/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lookoutmetrics/go.sum +++ b/service/lookoutmetrics/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lookoutmetrics/go_module_metadata.go b/service/lookoutmetrics/go_module_metadata.go index 4799d29a02f..7eff6ea80d7 100644 --- a/service/lookoutmetrics/go_module_metadata.go +++ b/service/lookoutmetrics/go_module_metadata.go @@ -3,4 +3,4 @@ package lookoutmetrics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.15.1" diff --git a/service/lookoutmetrics/serializers.go b/service/lookoutmetrics/serializers.go index 5dfaf3fab84..507cc63c62d 100644 --- a/service/lookoutmetrics/serializers.go +++ b/service/lookoutmetrics/serializers.go @@ -2314,6 +2314,50 @@ func awsRestjson1_serializeDocumentAppFlowConfig(v *types.AppFlowConfig, value s return nil } +func awsRestjson1_serializeDocumentAthenaSourceConfig(v *types.AthenaSourceConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.BackTestConfiguration != nil { + ok := object.Key("BackTestConfiguration") + if err := awsRestjson1_serializeDocumentBackTestConfiguration(v.BackTestConfiguration, ok); err != nil { + return err + } + } + + if v.DatabaseName != nil { + ok := object.Key("DatabaseName") + ok.String(*v.DatabaseName) + } + + if v.DataCatalog != nil { + ok := object.Key("DataCatalog") + ok.String(*v.DataCatalog) + } + + if v.RoleArn != nil { + ok := object.Key("RoleArn") + ok.String(*v.RoleArn) + } + + if v.S3ResultsPath != nil { + ok := object.Key("S3ResultsPath") + ok.String(*v.S3ResultsPath) + } + + if v.TableName != nil { + ok := object.Key("TableName") + ok.String(*v.TableName) + } + + if v.WorkGroupName != nil { + ok := object.Key("WorkGroupName") + ok.String(*v.WorkGroupName) + } + + return nil +} + func awsRestjson1_serializeDocumentAutoDetectionMetricSource(v *types.AutoDetectionMetricSource, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -2349,10 +2393,29 @@ func awsRestjson1_serializeDocumentAutoDetectionS3SourceConfig(v *types.AutoDete return nil } +func awsRestjson1_serializeDocumentBackTestConfiguration(v *types.BackTestConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.RunBackTestMode != nil { + ok := object.Key("RunBackTestMode") + ok.Boolean(*v.RunBackTestMode) + } + + return nil +} + func awsRestjson1_serializeDocumentCloudWatchConfig(v *types.CloudWatchConfig, value smithyjson.Value) error { object := value.Object() defer object.Close() + if v.BackTestConfiguration != nil { + ok := object.Key("BackTestConfiguration") + if err := awsRestjson1_serializeDocumentBackTestConfiguration(v.BackTestConfiguration, ok); err != nil { + return err + } + } + if v.RoleArn != nil { ok := object.Key("RoleArn") ok.String(*v.RoleArn) @@ -2534,6 +2597,13 @@ func awsRestjson1_serializeDocumentMetricSource(v *types.MetricSource, value smi } } + if v.AthenaSourceConfig != nil { + ok := object.Key("AthenaSourceConfig") + if err := awsRestjson1_serializeDocumentAthenaSourceConfig(v.AthenaSourceConfig, ok); err != nil { + return err + } + } + if v.CloudWatchConfig != nil { ok := object.Key("CloudWatchConfig") if err := awsRestjson1_serializeDocumentCloudWatchConfig(v.CloudWatchConfig, ok); err != nil { @@ -2749,6 +2819,11 @@ func awsRestjson1_serializeDocumentSNSConfiguration(v *types.SNSConfiguration, v ok.String(*v.RoleArn) } + if len(v.SnsFormat) > 0 { + ok := object.Key("SnsFormat") + ok.String(string(v.SnsFormat)) + } + if v.SnsTopicArn != nil { ok := object.Key("SnsTopicArn") ok.String(*v.SnsTopicArn) diff --git a/service/lookoutmetrics/types/enums.go b/service/lookoutmetrics/types/enums.go index d7e7c042673..b323b575803 100644 --- a/service/lookoutmetrics/types/enums.go +++ b/service/lookoutmetrics/types/enums.go @@ -234,6 +234,26 @@ func (RelationshipType) Values() []RelationshipType { } } +type SnsFormat string + +// Enum values for SnsFormat +const ( + SnsFormatLongText SnsFormat = "LONG_TEXT" + SnsFormatShortText SnsFormat = "SHORT_TEXT" + SnsFormatJson SnsFormat = "JSON" +) + +// Values returns all known values for SnsFormat. Note that this can be expanded in +// the future, and so it is only as up to date as the client. The ordering of this +// slice is not guaranteed to be stable across updates. +func (SnsFormat) Values() []SnsFormat { + return []SnsFormat{ + "LONG_TEXT", + "SHORT_TEXT", + "JSON", + } +} + type ValidationExceptionReason string // Enum values for ValidationExceptionReason diff --git a/service/lookoutmetrics/types/types.go b/service/lookoutmetrics/types/types.go index fdd9a8415d4..681dd1aad58 100644 --- a/service/lookoutmetrics/types/types.go +++ b/service/lookoutmetrics/types/types.go @@ -243,6 +243,33 @@ type AppFlowConfig struct { noSmithyDocumentSerde } +// Details about an Amazon Athena datasource. +type AthenaSourceConfig struct { + + // Settings for backtest mode. + BackTestConfiguration *BackTestConfiguration + + // The database's data catalog. + DataCatalog *string + + // The database's name. + DatabaseName *string + + // An IAM role that gives Amazon Lookout for Metrics permission to access the data. + RoleArn *string + + // The database's results path. + S3ResultsPath *string + + // The database's table name. + TableName *string + + // The database's work group name. + WorkGroupName *string + + noSmithyDocumentSerde +} + // An attribute value. type AttributeValue struct { @@ -288,9 +315,23 @@ type AutoDetectionS3SourceConfig struct { noSmithyDocumentSerde } +// Settings for backtest mode. +type BackTestConfiguration struct { + + // Run a backtest instead of monitoring new data. + // + // This member is required. + RunBackTestMode *bool + + noSmithyDocumentSerde +} + // Details about an Amazon CloudWatch datasource. type CloudWatchConfig struct { + // Settings for backtest mode. + BackTestConfiguration *BackTestConfiguration + // An IAM role that gives Amazon Lookout for Metrics permission to access data in // Amazon CloudWatch. RoleArn *string @@ -619,22 +660,22 @@ type MetricSetSummary struct { noSmithyDocumentSerde } -// Contains information about source data used to generate a metric. +// Contains information about source data used to generate metrics. type MetricSource struct { - // An object containing information about the AppFlow configuration. + // Details about an AppFlow datasource. AppFlowConfig *AppFlowConfig - // An object containing information about the Amazon CloudWatch monitoring - // configuration. + // Details about an Amazon Athena datasource. + AthenaSourceConfig *AthenaSourceConfig + + // Details about an Amazon CloudWatch monitoring datasource. CloudWatchConfig *CloudWatchConfig - // An object containing information about the Amazon Relational Database Service - // (RDS) configuration. + // Details about an Amazon Relational Database Service (RDS) datasource. RDSSourceConfig *RDSSourceConfig - // An object containing information about the Amazon Redshift database - // configuration. + // Details about an Amazon Redshift database datasource. RedshiftSourceConfig *RedshiftSourceConfig // Contains information about the configuration of the S3 bucket that contains @@ -762,6 +803,9 @@ type SNSConfiguration struct { // This member is required. SnsTopicArn *string + // The format of the SNS topic. + SnsFormat SnsFormat + noSmithyDocumentSerde } diff --git a/service/lookoutmetrics/validators.go b/service/lookoutmetrics/validators.go index c5254216e17..27109e4f1b8 100644 --- a/service/lookoutmetrics/validators.go +++ b/service/lookoutmetrics/validators.go @@ -668,6 +668,55 @@ func validateAnomalyGroupTimeSeriesFeedback(v *types.AnomalyGroupTimeSeriesFeedb } } +func validateAthenaSourceConfig(v *types.AthenaSourceConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "AthenaSourceConfig"} + if v.BackTestConfiguration != nil { + if err := validateBackTestConfiguration(v.BackTestConfiguration); err != nil { + invalidParams.AddNested("BackTestConfiguration", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateBackTestConfiguration(v *types.BackTestConfiguration) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "BackTestConfiguration"} + if v.RunBackTestMode == nil { + invalidParams.Add(smithy.NewErrParamRequired("RunBackTestMode")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateCloudWatchConfig(v *types.CloudWatchConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CloudWatchConfig"} + if v.BackTestConfiguration != nil { + if err := validateBackTestConfiguration(v.BackTestConfiguration); err != nil { + invalidParams.AddNested("BackTestConfiguration", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateLambdaConfiguration(v *types.LambdaConfiguration) error { if v == nil { return nil @@ -726,6 +775,11 @@ func validateMetricSource(v *types.MetricSource) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "MetricSource"} + if v.CloudWatchConfig != nil { + if err := validateCloudWatchConfig(v.CloudWatchConfig); err != nil { + invalidParams.AddNested("CloudWatchConfig", err.(smithy.InvalidParamsError)) + } + } if v.RDSSourceConfig != nil { if err := validateRDSSourceConfig(v.RDSSourceConfig); err != nil { invalidParams.AddNested("RDSSourceConfig", err.(smithy.InvalidParamsError)) @@ -736,6 +790,11 @@ func validateMetricSource(v *types.MetricSource) error { invalidParams.AddNested("RedshiftSourceConfig", err.(smithy.InvalidParamsError)) } } + if v.AthenaSourceConfig != nil { + if err := validateAthenaSourceConfig(v.AthenaSourceConfig); err != nil { + invalidParams.AddNested("AthenaSourceConfig", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/lookoutvision/CHANGELOG.md b/service/lookoutvision/CHANGELOG.md index 5656ff576cb..f4fd60c2cf2 100644 --- a/service/lookoutvision/CHANGELOG.md +++ b/service/lookoutvision/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/lookoutvision/go.mod b/service/lookoutvision/go.mod index 84080399eb8..d203fcb7997 100644 --- a/service/lookoutvision/go.mod +++ b/service/lookoutvision/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/lookoutvision go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lookoutvision/go.sum b/service/lookoutvision/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/lookoutvision/go.sum +++ b/service/lookoutvision/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/lookoutvision/go_module_metadata.go b/service/lookoutvision/go_module_metadata.go index 77d44af1811..6362e9cefc4 100644 --- a/service/lookoutvision/go_module_metadata.go +++ b/service/lookoutvision/go_module_metadata.go @@ -3,4 +3,4 @@ package lookoutvision // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/machinelearning/CHANGELOG.md b/service/machinelearning/CHANGELOG.md index 030fa55a7a4..8240a2570fd 100644 --- a/service/machinelearning/CHANGELOG.md +++ b/service/machinelearning/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/machinelearning/go.mod b/service/machinelearning/go.mod index 58ad7d4491a..0e22966dea8 100644 --- a/service/machinelearning/go.mod +++ b/service/machinelearning/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/machinelearning go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/machinelearning/go.sum b/service/machinelearning/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/machinelearning/go.sum +++ b/service/machinelearning/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/machinelearning/go_module_metadata.go b/service/machinelearning/go_module_metadata.go index 42bfd120272..92737bd4dcf 100644 --- a/service/machinelearning/go_module_metadata.go +++ b/service/machinelearning/go_module_metadata.go @@ -3,4 +3,4 @@ package machinelearning // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/macie/CHANGELOG.md b/service/macie/CHANGELOG.md index 9c2cc335d1b..a12f53a51af 100644 --- a/service/macie/CHANGELOG.md +++ b/service/macie/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/macie/go.mod b/service/macie/go.mod index 35d4e9d960b..a162e7ae214 100644 --- a/service/macie/go.mod +++ b/service/macie/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/macie go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/macie/go.sum b/service/macie/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/macie/go.sum +++ b/service/macie/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/macie/go_module_metadata.go b/service/macie/go_module_metadata.go index cbcdeeb83ef..497cf01c5e5 100644 --- a/service/macie/go_module_metadata.go +++ b/service/macie/go_module_metadata.go @@ -3,4 +3,4 @@ package macie // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/macie2/CHANGELOG.md b/service/macie2/CHANGELOG.md index e564cfd66d2..feeb0d0c9ae 100644 --- a/service/macie2/CHANGELOG.md +++ b/service/macie2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.21.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/macie2/go.mod b/service/macie2/go.mod index c07abb36891..25974896fc1 100644 --- a/service/macie2/go.mod +++ b/service/macie2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/macie2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/macie2/go.sum b/service/macie2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/macie2/go.sum +++ b/service/macie2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/macie2/go_module_metadata.go b/service/macie2/go_module_metadata.go index 15ea1636904..ba15febf138 100644 --- a/service/macie2/go_module_metadata.go +++ b/service/macie2/go_module_metadata.go @@ -3,4 +3,4 @@ package macie2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/managedblockchain/CHANGELOG.md b/service/managedblockchain/CHANGELOG.md index d10314d7bee..0bf0507e4cc 100644 --- a/service/managedblockchain/CHANGELOG.md +++ b/service/managedblockchain/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/managedblockchain/go.mod b/service/managedblockchain/go.mod index 4fcdc6f266c..1ead57ea258 100644 --- a/service/managedblockchain/go.mod +++ b/service/managedblockchain/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/managedblockchain go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/managedblockchain/go.sum b/service/managedblockchain/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/managedblockchain/go.sum +++ b/service/managedblockchain/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/managedblockchain/go_module_metadata.go b/service/managedblockchain/go_module_metadata.go index cc413bf8b39..ddab3eee33a 100644 --- a/service/managedblockchain/go_module_metadata.go +++ b/service/managedblockchain/go_module_metadata.go @@ -3,4 +3,4 @@ package managedblockchain // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/marketplacecatalog/CHANGELOG.md b/service/marketplacecatalog/CHANGELOG.md index 16dca12fd89..c3630fa183e 100644 --- a/service/marketplacecatalog/CHANGELOG.md +++ b/service/marketplacecatalog/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/marketplacecatalog/go.mod b/service/marketplacecatalog/go.mod index 08e299f4500..31e3dbd6260 100644 --- a/service/marketplacecatalog/go.mod +++ b/service/marketplacecatalog/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/marketplacecatalog go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplacecatalog/go.sum b/service/marketplacecatalog/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/marketplacecatalog/go.sum +++ b/service/marketplacecatalog/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/marketplacecatalog/go_module_metadata.go b/service/marketplacecatalog/go_module_metadata.go index b0480479d76..a2bfdd99291 100644 --- a/service/marketplacecatalog/go_module_metadata.go +++ b/service/marketplacecatalog/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplacecatalog // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/marketplacecatalog/internal/endpoints/endpoints.go b/service/marketplacecatalog/internal/endpoints/endpoints.go index 54794c8162d..a9e63d48f86 100644 --- a/service/marketplacecatalog/internal/endpoints/endpoints.go +++ b/service/marketplacecatalog/internal/endpoints/endpoints.go @@ -134,6 +134,11 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.Aws, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-cn", diff --git a/service/marketplacecommerceanalytics/CHANGELOG.md b/service/marketplacecommerceanalytics/CHANGELOG.md index 527db45b18a..486e47532f5 100644 --- a/service/marketplacecommerceanalytics/CHANGELOG.md +++ b/service/marketplacecommerceanalytics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/marketplacecommerceanalytics/go.mod b/service/marketplacecommerceanalytics/go.mod index e51b79fa0f9..e2aa5adef72 100644 --- a/service/marketplacecommerceanalytics/go.mod +++ b/service/marketplacecommerceanalytics/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/marketplacecommerceanalytics go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplacecommerceanalytics/go.sum b/service/marketplacecommerceanalytics/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/marketplacecommerceanalytics/go.sum +++ b/service/marketplacecommerceanalytics/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/marketplacecommerceanalytics/go_module_metadata.go b/service/marketplacecommerceanalytics/go_module_metadata.go index 4b1eaae17c2..2c0a6f13960 100644 --- a/service/marketplacecommerceanalytics/go_module_metadata.go +++ b/service/marketplacecommerceanalytics/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplacecommerceanalytics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/marketplaceentitlementservice/CHANGELOG.md b/service/marketplaceentitlementservice/CHANGELOG.md index 527db45b18a..486e47532f5 100644 --- a/service/marketplaceentitlementservice/CHANGELOG.md +++ b/service/marketplaceentitlementservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/marketplaceentitlementservice/go.mod b/service/marketplaceentitlementservice/go.mod index 201a0e9c25a..d6920f53f2d 100644 --- a/service/marketplaceentitlementservice/go.mod +++ b/service/marketplaceentitlementservice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/marketplaceentitlementservice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplaceentitlementservice/go.sum b/service/marketplaceentitlementservice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/marketplaceentitlementservice/go.sum +++ b/service/marketplaceentitlementservice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/marketplaceentitlementservice/go_module_metadata.go b/service/marketplaceentitlementservice/go_module_metadata.go index 2c989f56bdf..c7ca8b59c53 100644 --- a/service/marketplaceentitlementservice/go_module_metadata.go +++ b/service/marketplaceentitlementservice/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplaceentitlementservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/marketplacemetering/CHANGELOG.md b/service/marketplacemetering/CHANGELOG.md index 25a6b290852..802e796c96f 100644 --- a/service/marketplacemetering/CHANGELOG.md +++ b/service/marketplacemetering/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/marketplacemetering/go.mod b/service/marketplacemetering/go.mod index 7dbc0890771..6538cd5feb5 100644 --- a/service/marketplacemetering/go.mod +++ b/service/marketplacemetering/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/marketplacemetering go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplacemetering/go.sum b/service/marketplacemetering/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/marketplacemetering/go.sum +++ b/service/marketplacemetering/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/marketplacemetering/go_module_metadata.go b/service/marketplacemetering/go_module_metadata.go index 623753c77e0..4bd22c8af1d 100644 --- a/service/marketplacemetering/go_module_metadata.go +++ b/service/marketplacemetering/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplacemetering // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/mediaconnect/CHANGELOG.md b/service/mediaconnect/CHANGELOG.md index 113fc5dc976..166a5fc93f3 100644 --- a/service/mediaconnect/CHANGELOG.md +++ b/service/mediaconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mediaconnect/go.mod b/service/mediaconnect/go.mod index 734795592c8..3dee3e9c04e 100644 --- a/service/mediaconnect/go.mod +++ b/service/mediaconnect/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mediaconnect go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/mediaconnect/go.sum b/service/mediaconnect/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/mediaconnect/go.sum +++ b/service/mediaconnect/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/mediaconnect/go_module_metadata.go b/service/mediaconnect/go_module_metadata.go index fc4765f1309..3d63bf656b3 100644 --- a/service/mediaconnect/go_module_metadata.go +++ b/service/mediaconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package mediaconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.5" +const goModuleVersion = "1.16.6" diff --git a/service/mediaconvert/CHANGELOG.md b/service/mediaconvert/CHANGELOG.md index c6ee1840c13..84720ffbba5 100644 --- a/service/mediaconvert/CHANGELOG.md +++ b/service/mediaconvert/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.24.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.24.0 (2022-05-24) + +* **Feature**: AWS Elemental MediaConvert SDK has added support for rules that constrain Automatic-ABR rendition selection when generating ABR package ladders. + # v1.23.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mediaconvert/deserializers.go b/service/mediaconvert/deserializers.go index 84e1d238460..2d30db40a60 100644 --- a/service/mediaconvert/deserializers.go +++ b/service/mediaconvert/deserializers.go @@ -4602,6 +4602,40 @@ func awsRestjson1_deserializeDocument__listOf__stringPatternS3ASSETMAPXml(v *[]s return nil } +func awsRestjson1_deserializeDocument__listOfAllowedRenditionSize(v *[]types.AllowedRenditionSize, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AllowedRenditionSize + if *v == nil { + cv = []types.AllowedRenditionSize{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AllowedRenditionSize + destAddr := &col + if err := awsRestjson1_deserializeDocumentAllowedRenditionSize(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocument__listOfAudioDescription(v *[]types.AudioDescription, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -4636,6 +4670,40 @@ func awsRestjson1_deserializeDocument__listOfAudioDescription(v *[]types.AudioDe return nil } +func awsRestjson1_deserializeDocument__listOfAutomatedAbrRule(v *[]types.AutomatedAbrRule, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AutomatedAbrRule + if *v == nil { + cv = []types.AutomatedAbrRule{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AutomatedAbrRule + destAddr := &col + if err := awsRestjson1_deserializeDocumentAutomatedAbrRule(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocument__listOfCaptionDescription(v *[]types.CaptionDescription, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -4806,6 +4874,40 @@ func awsRestjson1_deserializeDocument__listOfEndpoint(v *[]types.Endpoint, value return nil } +func awsRestjson1_deserializeDocument__listOfForceIncludeRenditionSize(v *[]types.ForceIncludeRenditionSize, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.ForceIncludeRenditionSize + if *v == nil { + cv = []types.ForceIncludeRenditionSize{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ForceIncludeRenditionSize + destAddr := &col + if err := awsRestjson1_deserializeDocumentForceIncludeRenditionSize(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocument__listOfHlsAdditionalManifest(v *[]types.HlsAdditionalManifest, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -6028,6 +6130,72 @@ func awsRestjson1_deserializeDocumentAiffSettings(v **types.AiffSettings, value return nil } +func awsRestjson1_deserializeDocumentAllowedRenditionSize(v **types.AllowedRenditionSize, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AllowedRenditionSize + if *v == nil { + sv = &types.AllowedRenditionSize{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "height": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Height = int32(i64) + } + + case "required": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RequiredFlag to be of type string, got %T instead", value) + } + sv.Required = types.RequiredFlag(jtv) + } + + case "width": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Width = int32(i64) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentAncillarySourceSettings(v **types.AncillarySourceSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -6610,6 +6778,66 @@ func awsRestjson1_deserializeDocumentAudioSelectorGroup(v **types.AudioSelectorG return nil } +func awsRestjson1_deserializeDocumentAutomatedAbrRule(v **types.AutomatedAbrRule, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AutomatedAbrRule + if *v == nil { + sv = &types.AutomatedAbrRule{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "allowedRenditions": + if err := awsRestjson1_deserializeDocument__listOfAllowedRenditionSize(&sv.AllowedRenditions, value); err != nil { + return err + } + + case "forceIncludeRenditions": + if err := awsRestjson1_deserializeDocument__listOfForceIncludeRenditionSize(&sv.ForceIncludeRenditions, value); err != nil { + return err + } + + case "minBottomRenditionSize": + if err := awsRestjson1_deserializeDocumentMinBottomRenditionSize(&sv.MinBottomRenditionSize, value); err != nil { + return err + } + + case "minTopRenditionSize": + if err := awsRestjson1_deserializeDocumentMinTopRenditionSize(&sv.MinTopRenditionSize, value); err != nil { + return err + } + + case "type": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RuleType to be of type string, got %T instead", value) + } + sv.Type = types.RuleType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbrSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -6671,6 +6899,11 @@ func awsRestjson1_deserializeDocumentAutomatedAbrSettings(v **types.AutomatedAbr sv.MinAbrBitrate = int32(i64) } + case "rules": + if err := awsRestjson1_deserializeDocument__listOfAutomatedAbrRule(&sv.Rules, value); err != nil { + return err + } + default: _, _ = key, value @@ -11176,6 +11409,63 @@ func awsRestjson1_deserializeDocumentForbiddenException(v **types.ForbiddenExcep return nil } +func awsRestjson1_deserializeDocumentForceIncludeRenditionSize(v **types.ForceIncludeRenditionSize, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ForceIncludeRenditionSize + if *v == nil { + sv = &types.ForceIncludeRenditionSize{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "height": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Height = int32(i64) + } + + case "width": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Width = int32(i64) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentFrameCaptureSettings(v **types.FrameCaptureSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -15960,6 +16250,120 @@ func awsRestjson1_deserializeDocumentM3u8Settings(v **types.M3u8Settings, value return nil } +func awsRestjson1_deserializeDocumentMinBottomRenditionSize(v **types.MinBottomRenditionSize, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.MinBottomRenditionSize + if *v == nil { + sv = &types.MinBottomRenditionSize{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "height": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Height = int32(i64) + } + + case "width": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Width = int32(i64) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentMinTopRenditionSize(v **types.MinTopRenditionSize, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.MinTopRenditionSize + if *v == nil { + sv = &types.MinTopRenditionSize{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "height": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Height = int32(i64) + } + + case "width": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin32Max8192 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Width = int32(i64) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentMotionImageInserter(v **types.MotionImageInserter, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/mediaconvert/go.mod b/service/mediaconvert/go.mod index 0d93e69f34f..a685c63d1bb 100644 --- a/service/mediaconvert/go.mod +++ b/service/mediaconvert/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mediaconvert go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediaconvert/go.sum b/service/mediaconvert/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mediaconvert/go.sum +++ b/service/mediaconvert/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mediaconvert/go_module_metadata.go b/service/mediaconvert/go_module_metadata.go index 43b2f6ea457..c7554f889ee 100644 --- a/service/mediaconvert/go_module_metadata.go +++ b/service/mediaconvert/go_module_metadata.go @@ -3,4 +3,4 @@ package mediaconvert // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.1" +const goModuleVersion = "1.24.1" diff --git a/service/mediaconvert/serializers.go b/service/mediaconvert/serializers.go index 858b704f422..a7b4c3fd391 100644 --- a/service/mediaconvert/serializers.go +++ b/service/mediaconvert/serializers.go @@ -2199,6 +2199,19 @@ func awsRestjson1_serializeDocument__listOf__stringPatternS3ASSETMAPXml(v []stri return nil } +func awsRestjson1_serializeDocument__listOfAllowedRenditionSize(v []types.AllowedRenditionSize, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentAllowedRenditionSize(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocument__listOfAudioDescription(v []types.AudioDescription, value smithyjson.Value) error { array := value.Array() defer array.Close() @@ -2212,6 +2225,19 @@ func awsRestjson1_serializeDocument__listOfAudioDescription(v []types.AudioDescr return nil } +func awsRestjson1_serializeDocument__listOfAutomatedAbrRule(v []types.AutomatedAbrRule, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentAutomatedAbrRule(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocument__listOfCaptionDescription(v []types.CaptionDescription, value smithyjson.Value) error { array := value.Array() defer array.Close() @@ -2264,6 +2290,19 @@ func awsRestjson1_serializeDocument__listOfDashAdditionalManifest(v []types.Dash return nil } +func awsRestjson1_serializeDocument__listOfForceIncludeRenditionSize(v []types.ForceIncludeRenditionSize, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentForceIncludeRenditionSize(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocument__listOfHlsAdditionalManifest(v []types.HlsAdditionalManifest, value smithyjson.Value) error { array := value.Array() defer array.Close() @@ -2638,6 +2677,28 @@ func awsRestjson1_serializeDocumentAiffSettings(v *types.AiffSettings, value smi return nil } +func awsRestjson1_serializeDocumentAllowedRenditionSize(v *types.AllowedRenditionSize, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Height != 0 { + ok := object.Key("height") + ok.Integer(v.Height) + } + + if len(v.Required) > 0 { + ok := object.Key("required") + ok.String(string(v.Required)) + } + + if v.Width != 0 { + ok := object.Key("width") + ok.Integer(v.Width) + } + + return nil +} + func awsRestjson1_serializeDocumentAncillarySourceSettings(v *types.AncillarySourceSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -2958,6 +3019,46 @@ func awsRestjson1_serializeDocumentAudioSelectorGroup(v *types.AudioSelectorGrou return nil } +func awsRestjson1_serializeDocumentAutomatedAbrRule(v *types.AutomatedAbrRule, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.AllowedRenditions != nil { + ok := object.Key("allowedRenditions") + if err := awsRestjson1_serializeDocument__listOfAllowedRenditionSize(v.AllowedRenditions, ok); err != nil { + return err + } + } + + if v.ForceIncludeRenditions != nil { + ok := object.Key("forceIncludeRenditions") + if err := awsRestjson1_serializeDocument__listOfForceIncludeRenditionSize(v.ForceIncludeRenditions, ok); err != nil { + return err + } + } + + if v.MinBottomRenditionSize != nil { + ok := object.Key("minBottomRenditionSize") + if err := awsRestjson1_serializeDocumentMinBottomRenditionSize(v.MinBottomRenditionSize, ok); err != nil { + return err + } + } + + if v.MinTopRenditionSize != nil { + ok := object.Key("minTopRenditionSize") + if err := awsRestjson1_serializeDocumentMinTopRenditionSize(v.MinTopRenditionSize, ok); err != nil { + return err + } + } + + if len(v.Type) > 0 { + ok := object.Key("type") + ok.String(string(v.Type)) + } + + return nil +} + func awsRestjson1_serializeDocumentAutomatedAbrSettings(v *types.AutomatedAbrSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -2977,6 +3078,13 @@ func awsRestjson1_serializeDocumentAutomatedAbrSettings(v *types.AutomatedAbrSet ok.Integer(v.MinAbrBitrate) } + if v.Rules != nil { + ok := object.Key("rules") + if err := awsRestjson1_serializeDocument__listOfAutomatedAbrRule(v.Rules, ok); err != nil { + return err + } + } + return nil } @@ -4974,6 +5082,23 @@ func awsRestjson1_serializeDocumentFileSourceSettings(v *types.FileSourceSetting return nil } +func awsRestjson1_serializeDocumentForceIncludeRenditionSize(v *types.ForceIncludeRenditionSize, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Height != 0 { + ok := object.Key("height") + ok.Integer(v.Height) + } + + if v.Width != 0 { + ok := object.Key("width") + ok.Integer(v.Width) + } + + return nil +} + func awsRestjson1_serializeDocumentFrameCaptureSettings(v *types.FrameCaptureSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -7064,6 +7189,40 @@ func awsRestjson1_serializeDocumentM3u8Settings(v *types.M3u8Settings, value smi return nil } +func awsRestjson1_serializeDocumentMinBottomRenditionSize(v *types.MinBottomRenditionSize, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Height != 0 { + ok := object.Key("height") + ok.Integer(v.Height) + } + + if v.Width != 0 { + ok := object.Key("width") + ok.Integer(v.Width) + } + + return nil +} + +func awsRestjson1_serializeDocumentMinTopRenditionSize(v *types.MinTopRenditionSize, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Height != 0 { + ok := object.Key("height") + ok.Integer(v.Height) + } + + if v.Width != 0 { + ok := object.Key("width") + ok.Integer(v.Width) + } + + return nil +} + func awsRestjson1_serializeDocumentMotionImageInserter(v *types.MotionImageInserter, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/mediaconvert/types/enums.go b/service/mediaconvert/types/enums.go index 05516c0df5e..cab3db1cff7 100644 --- a/service/mediaconvert/types/enums.go +++ b/service/mediaconvert/types/enums.go @@ -6956,6 +6956,24 @@ func (RenewalType) Values() []RenewalType { } } +type RequiredFlag string + +// Enum values for RequiredFlag +const ( + RequiredFlagEnabled RequiredFlag = "ENABLED" + RequiredFlagDisabled RequiredFlag = "DISABLED" +) + +// Values returns all known values for RequiredFlag. Note that this can be expanded +// in the future, and so it is only as up to date as the client. The ordering of +// this slice is not guaranteed to be stable across updates. +func (RequiredFlag) Values() []RequiredFlag { + return []RequiredFlag{ + "ENABLED", + "DISABLED", + } +} + type ReservationPlanStatus string // Enum values for ReservationPlanStatus @@ -6994,6 +7012,28 @@ func (RespondToAfd) Values() []RespondToAfd { } } +type RuleType string + +// Enum values for RuleType +const ( + RuleTypeMinTopRenditionSize RuleType = "MIN_TOP_RENDITION_SIZE" + RuleTypeMinBottomRenditionSize RuleType = "MIN_BOTTOM_RENDITION_SIZE" + RuleTypeForceIncludeRenditions RuleType = "FORCE_INCLUDE_RENDITIONS" + RuleTypeAllowedRenditions RuleType = "ALLOWED_RENDITIONS" +) + +// Values returns all known values for RuleType. Note that this can be expanded in +// the future, and so it is only as up to date as the client. The ordering of this +// slice is not guaranteed to be stable across updates. +func (RuleType) Values() []RuleType { + return []RuleType{ + "MIN_TOP_RENDITION_SIZE", + "MIN_BOTTOM_RENDITION_SIZE", + "FORCE_INCLUDE_RENDITIONS", + "ALLOWED_RENDITIONS", + } +} + type S3ObjectCannedAcl string // Enum values for S3ObjectCannedAcl diff --git a/service/mediaconvert/types/types.go b/service/mediaconvert/types/types.go index 3d98b2ef076..7f2ec4eb1db 100644 --- a/service/mediaconvert/types/types.go +++ b/service/mediaconvert/types/types.go @@ -164,6 +164,28 @@ type AiffSettings struct { noSmithyDocumentSerde } +// Use Allowed renditions to specify a list of possible resolutions in your ABR +// stack. * MediaConvert will create an ABR stack exclusively from the list of +// resolutions that you specify. * Some resolutions in the Allowed renditions list +// may not be included, however you can force a resolution to be included by +// setting Required to ENABLED. * You must specify at least one resolution that is +// greater than or equal to any resolutions that you specify in Min top rendition +// size or Min bottom rendition size. * If you specify Allowed renditions, you must +// not specify a separate rule for Force include renditions. +type AllowedRenditionSize struct { + + // Use Height to define the video resolution height, in pixels, for this rule. + Height int32 + + // Set to ENABLED to force a rendition to be included. + Required RequiredFlag + + // Use Width to define the video resolution width, in pixels, for this rule. + Width int32 + + noSmithyDocumentSerde +} + // Settings for ancillary captions source. type AncillarySourceSettings struct { @@ -478,6 +500,73 @@ type AudioSelectorGroup struct { noSmithyDocumentSerde } +// Specify one or more Automated ABR rule types. Note: Force include and Allowed +// renditions are mutually exclusive. +type AutomatedAbrRule struct { + + // When customer adds the allowed renditions rule for auto ABR ladder, they are + // required to add at leat one rendition to allowedRenditions list + AllowedRenditions []AllowedRenditionSize + + // When customer adds the force include renditions rule for auto ABR ladder, they + // are required to add at leat one rendition to forceIncludeRenditions list + ForceIncludeRenditions []ForceIncludeRenditionSize + + // Use Min bottom rendition size to specify a minimum size for the lowest + // resolution in your ABR stack. * The lowest resolution in your ABR stack will be + // equal to or greater than the value that you enter. For example: If you specify + // 640x360 the lowest resolution in your ABR stack will be equal to or greater than + // to 640x360. * If you specify a Min top rendition size rule, the value that you + // specify for Min bottom rendition size must be less than, or equal to, Min top + // rendition size. + MinBottomRenditionSize *MinBottomRenditionSize + + // Use Min top rendition size to specify a minimum size for the highest resolution + // in your ABR stack. * The highest resolution in your ABR stack will be equal to + // or greater than the value that you enter. For example: If you specify 1280x720 + // the highest resolution in your ABR stack will be equal to or greater than + // 1280x720. * If you specify a value for Max resolution, the value that you + // specify for Min top rendition size must be less than, or equal to, Max + // resolution. + MinTopRenditionSize *MinTopRenditionSize + + // Use Min top rendition size to specify a minimum size for the highest resolution + // in your ABR stack. * The highest resolution in your ABR stack will be equal to + // or greater than the value that you enter. For example: If you specify 1280x720 + // the highest resolution in your ABR stack will be equal to or greater than + // 1280x720. * If you specify a value for Max resolution, the value that you + // specify for Min top rendition size must be less than, or equal to, Max + // resolution. Use Min bottom rendition size to specify a minimum size for the + // lowest resolution in your ABR stack. * The lowest resolution in your ABR stack + // will be equal to or greater than the value that you enter. For example: If you + // specify 640x360 the lowest resolution in your ABR stack will be equal to or + // greater than to 640x360. * If you specify a Min top rendition size rule, the + // value that you specify for Min bottom rendition size must be less than, or equal + // to, Min top rendition size. Use Force include renditions to specify one or more + // resolutions to include your ABR stack. * (Recommended) To optimize automated + // ABR, specify as few resolutions as possible. * (Required) The number of + // resolutions that you specify must be equal to, or less than, the Max renditions + // setting. * If you specify a Min top rendition size rule, specify at least one + // resolution that is equal to, or greater than, Min top rendition size. * If you + // specify a Min bottom rendition size rule, only specify resolutions that are + // equal to, or greater than, Min bottom rendition size. * If you specify a Force + // include renditions rule, do not specify a separate rule for Allowed renditions. + // * Note: The ABR stack may include other resolutions that you do not specify + // here, depending on the Max renditions setting. Use Allowed renditions to specify + // a list of possible resolutions in your ABR stack. * (Required) The number of + // resolutions that you specify must be equal to, or greater than, the Max + // renditions setting. * MediaConvert will create an ABR stack exclusively from the + // list of resolutions that you specify. * Some resolutions in the Allowed + // renditions list may not be included, however you can force a resolution to be + // included by setting Required to ENABLED. * You must specify at least one + // resolution that is greater than or equal to any resolutions that you specify in + // Min top rendition size or Min bottom rendition size. * If you specify Allowed + // renditions, you must not specify a separate rule for Force include renditions. + Type RuleType + + noSmithyDocumentSerde +} + // Use automated ABR to have MediaConvert set up the renditions in your ABR package // for you automatically, based on characteristics of your input video. This // feature optimizes video quality while minimizing the overall size of your ABR @@ -504,6 +593,12 @@ type AutomatedAbrSettings struct { // 600,000 (600 kb/s) by default. MinAbrBitrate int32 + // Optional. Use Automated ABR rules to specify restrictions for the rendition + // sizes MediaConvert will create in your ABR stack. You can use these rules if + // your ABR workflow has specific rendition size requirements, but you still want + // MediaConvert to optimize for video quality and overall file size. + Rules []AutomatedAbrRule + noSmithyDocumentSerde } @@ -520,7 +615,7 @@ type AutomatedEncodingSettings struct { noSmithyDocumentSerde } -// Settings for quality-defined variable bitrate encoding with the H.265 codec. Use +// Settings for quality-defined variable bitrate encoding with the AV1 codec. Use // these settings only when you set QVBR for Rate control mode (RateControlMode). type Av1QvbrSettings struct { @@ -1569,8 +1664,11 @@ type CmfcSettings struct { // value Exclude (EXCLUDE). IFrameOnlyManifest CmfcIFrameOnlyManifest - // Applies to CMAF outputs. Use this setting to specify whether the service inserts - // the KLV metadata from the input in this output. + // To include key-length-value metadata in this output: Set KLV metadata insertion + // to Passthrough. MediaConvert reads KLV metadata present in your input and writes + // each instance to a separate event message box in the output, according to MISB + // ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or + // leave blank. KlvMetadata CmfcKlvMetadata // Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT @@ -1943,9 +2041,8 @@ type DestinationSettings struct { noSmithyDocumentSerde } -// With AWS Elemental MediaConvert, you can create profile 5 Dolby Vision outputs -// from MXF and IMF sources that contain mastering information as frame-interleaved -// Dolby Vision metadata. +// With AWS Elemental MediaConvert, you can create profile 5 or 8.1 Dolby Vision +// outputs from MXF and IMF sources. type DolbyVision struct { // Use these settings when you set DolbyVisionLevel6Mode to SPECIFY to override the @@ -1956,22 +2053,21 @@ type DolbyVision struct { // and MaxFALL properies. L6Mode DolbyVisionLevel6Mode - // Required when you set Dolby Vision Profile (Profile) to Profile 8.1 - // (PROFILE_8_1). When you set Content mapping (Mapping) to None (HDR10_NOMAP), - // content mapping is not applied to the HDR10-compatible signal. Depending on the - // source peak nit level, clipping might occur on HDR devices without Dolby Vision. - // When you set Content mapping to Static (HDR10_1000), the transcoder creates a - // 1,000 nits peak HDR10-compatible signal by applying static content mapping to - // the source. This mode is speed-optimized for PQ10 sources with metadata that is - // created from analysis. For graded Dolby Vision content, be aware that creative - // intent might not be guaranteed with extreme 1,000 nits trims. + // Required when you set Dolby Vision Profile to Profile 8.1. When you set Content + // mapping to None, content mapping is not applied to the HDR10-compatible signal. + // Depending on the source peak nit level, clipping might occur on HDR devices + // without Dolby Vision. When you set Content mapping to HDR10 1000, the transcoder + // creates a 1,000 nits peak HDR10-compatible signal by applying static content + // mapping to the source. This mode is speed-optimized for PQ10 sources with + // metadata that is created from analysis. For graded Dolby Vision content, be + // aware that creative intent might not be guaranteed with extreme 1,000 nits + // trims. Mapping DolbyVisionMapping - // Required when you use Dolby Vision (DolbyVision) processing. Set Profile - // (DolbyVisionProfile) to Profile 5 (Profile_5) to only include frame-interleaved - // Dolby Vision metadata in your output. Set Profile to Profile 8.1 (Profile_8_1) - // to include both frame-interleaved Dolby Vision metadata and HDR10 metadata in - // your output. + // Required when you use Dolby Vision processing. Set Profile to Profile 5 to only + // include frame-interleaved Dolby Vision metadata in your output. Set Profile to + // Profile 8.1 to include both frame-interleaved Dolby Vision metadata and HDR10 + // metadata in your output. Profile DolbyVisionProfile noSmithyDocumentSerde @@ -2762,6 +2858,28 @@ type FileSourceSettings struct { noSmithyDocumentSerde } +// Use Force include renditions to specify one or more resolutions to include your +// ABR stack. * (Recommended) To optimize automated ABR, specify as few resolutions +// as possible. * (Required) The number of resolutions that you specify must be +// equal to, or less than, the Max renditions setting. * If you specify a Min top +// rendition size rule, specify at least one resolution that is equal to, or +// greater than, Min top rendition size. * If you specify a Min bottom rendition +// size rule, only specify resolutions that are equal to, or greater than, Min +// bottom rendition size. * If you specify a Force include renditions rule, do not +// specify a separate rule for Allowed renditions. * Note: The ABR stack may +// include other resolutions that you do not specify here, depending on the Max +// renditions setting. +type ForceIncludeRenditionSize struct { + + // Use Height to define the video resolution height, in pixels, for this rule. + Height int32 + + // Use Width to define the video resolution width, in pixels, for this rule. + Width int32 + + noSmithyDocumentSerde +} + // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the // value FRAME_CAPTURE. type FrameCaptureSettings struct { @@ -2790,7 +2908,7 @@ type FrameCaptureSettings struct { noSmithyDocumentSerde } -// Settings for quality-defined variable bitrate encoding with the H.265 codec. Use +// Settings for quality-defined variable bitrate encoding with the H.264 codec. Use // these settings only when you set QVBR for Rate control mode (RateControlMode). type H264QvbrSettings struct { @@ -4068,15 +4186,14 @@ type ImageInserter struct { // any required children when you set destinationType to IMSC. type ImscDestinationSettings struct { - // Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or - // WebVTT captions track is intended to provide accessibility for people who are - // deaf or hard of hearing. When you enable this feature, MediaConvert adds the - // following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this - // track: + // Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is + // intended to provide accessibility for people who are deaf or hard of hearing. + // When you enable this feature, MediaConvert adds the following attributes under + // EXT-X-MEDIA in the HLS or CMAF manifest for this track: // CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" - // and AUTOSELECT="YES". Keep the default value, Disabled (DISABLED), if the - // captions track is not intended to provide such accessibility. MediaConvert will - // not add the above attributes. + // and AUTOSELECT="YES". Keep the default value, Disabled, if the captions track is + // not intended to provide such accessibility. MediaConvert will not add the above + // attributes. Accessibility ImscAccessibilitySubs // Keep this setting enabled to have MediaConvert use the font style and position @@ -5065,8 +5182,10 @@ type M2tsSettings struct { // The length, in seconds, of each fragment. Only used with EBP markers. FragmentTime float64 - // Applies to MPEG-TS outputs. Use this setting to specify whether the service - // inserts the KLV metadata from the input in this output. + // To include key-length-value metadata in this output: Set KLV metadata insertion + // to Passthrough. MediaConvert reads KLV metadata present in your input and passes + // it through to the output transport stream. To exclude this KLV metadata: Set KLV + // metadata insertion to None or leave blank. KlvMetadata M2tsKlvMetadata // Specify the maximum time, in milliseconds, between Program Clock References @@ -5170,8 +5289,7 @@ type M2tsSettings struct { // to none. SegmentationTime float64 - // Specify the packet identifier (PID) for timed metadata in this output. Default - // is 502. + // Packet Identifier (PID) of the ID3 metadata stream in the transport stream. TimedMetadataPid int32 // Specify the ID for the transport stream itself in the program map table for this @@ -5286,6 +5404,42 @@ type M3u8Settings struct { noSmithyDocumentSerde } +// Use Min bottom rendition size to specify a minimum size for the lowest +// resolution in your ABR stack. * The lowest resolution in your ABR stack will be +// equal to or greater than the value that you enter. For example: If you specify +// 640x360 the lowest resolution in your ABR stack will be equal to or greater than +// to 640x360. * If you specify a Min top rendition size rule, the value that you +// specify for Min bottom rendition size must be less than, or equal to, Min top +// rendition size. +type MinBottomRenditionSize struct { + + // Use Height to define the video resolution height, in pixels, for this rule. + Height int32 + + // Use Width to define the video resolution width, in pixels, for this rule. + Width int32 + + noSmithyDocumentSerde +} + +// Use Min top rendition size to specify a minimum size for the highest resolution +// in your ABR stack. * The highest resolution in your ABR stack will be equal to +// or greater than the value that you enter. For example: If you specify 1280x720 +// the highest resolution in your ABR stack will be equal to or greater than +// 1280x720. * If you specify a value for Max resolution, the value that you +// specify for Min top rendition size must be less than, or equal to, Max +// resolution. +type MinTopRenditionSize struct { + + // Use Height to define the video resolution height, in pixels, for this rule. + Height int32 + + // Use Width to define the video resolution width, in pixels, for this rule. + Width int32 + + noSmithyDocumentSerde +} + // Overlay motion graphics on top of your video. The motion graphics that you // specify here appear on all outputs in all output groups. For more information, // see @@ -5535,8 +5689,11 @@ type MpdSettings struct { // your video and audio fragmented MP4 files. CaptionContainerType MpdCaptionContainerType - // Applies to DASH ISO outputs. Use this setting to specify whether the service - // inserts the KLV metadata from the input in this output. + // To include key-length-value metadata in this output: Set KLV metadata insertion + // to Passthrough. MediaConvert reads KLV metadata present in your input and writes + // each instance to a separate event message box in the output, according to MISB + // ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or + // leave blank. KlvMetadata MpdKlvMetadata // Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT @@ -7823,15 +7980,14 @@ type WavSettings struct { // any required children when you set destinationType to WebVTT. type WebvttDestinationSettings struct { - // Set Accessibility subtitles (Accessibility) to Enabled (ENABLED) if the ISMC or - // WebVTT captions track is intended to provide accessibility for people who are - // deaf or hard of hearing. When you enable this feature, MediaConvert adds the - // following attributes under EXT-X-MEDIA in the HLS or CMAF manifest for this - // track: + // Set Accessibility subtitles to Enabled if the ISMC or WebVTT captions track is + // intended to provide accessibility for people who are deaf or hard of hearing. + // When you enable this feature, MediaConvert adds the following attributes under + // EXT-X-MEDIA in the HLS or CMAF manifest for this track: // CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" - // and AUTOSELECT="YES". Keep the default value, Disabled (DISABLED), if the - // captions track is not intended to provide such accessibility. MediaConvert will - // not add the above attributes. + // and AUTOSELECT="YES". Keep the default value, Disabled, if the captions track is + // not intended to provide such accessibility. MediaConvert will not add the above + // attributes. Accessibility WebvttAccessibilitySubs // To use the available style, color, and position information from your input diff --git a/service/medialive/CHANGELOG.md b/service/medialive/CHANGELOG.md index 80074f67934..666bc218ae9 100644 --- a/service/medialive/CHANGELOG.md +++ b/service/medialive/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.4 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.20.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/medialive/go.mod b/service/medialive/go.mod index ca6c60ec528..d2fb747a2f3 100644 --- a/service/medialive/go.mod +++ b/service/medialive/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/medialive go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/medialive/go.sum b/service/medialive/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/medialive/go.sum +++ b/service/medialive/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/medialive/go_module_metadata.go b/service/medialive/go_module_metadata.go index 3bd28354f93..a493d8b2020 100644 --- a/service/medialive/go_module_metadata.go +++ b/service/medialive/go_module_metadata.go @@ -3,4 +3,4 @@ package medialive // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.3" +const goModuleVersion = "1.20.4" diff --git a/service/mediapackage/CHANGELOG.md b/service/mediapackage/CHANGELOG.md index deae440c617..49b67121762 100644 --- a/service/mediapackage/CHANGELOG.md +++ b/service/mediapackage/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mediapackage/go.mod b/service/mediapackage/go.mod index 4626aa97d78..f69adc5abc0 100644 --- a/service/mediapackage/go.mod +++ b/service/mediapackage/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mediapackage go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediapackage/go.sum b/service/mediapackage/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mediapackage/go.sum +++ b/service/mediapackage/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mediapackage/go_module_metadata.go b/service/mediapackage/go_module_metadata.go index e76cdf74c8f..72c366c07f6 100644 --- a/service/mediapackage/go_module_metadata.go +++ b/service/mediapackage/go_module_metadata.go @@ -3,4 +3,4 @@ package mediapackage // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.1" +const goModuleVersion = "1.16.2" diff --git a/service/mediapackagevod/CHANGELOG.md b/service/mediapackagevod/CHANGELOG.md index 54402cf04b3..cdab25e3e4a 100644 --- a/service/mediapackagevod/CHANGELOG.md +++ b/service/mediapackagevod/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mediapackagevod/go.mod b/service/mediapackagevod/go.mod index 89e86601bc3..2a40f8f5161 100644 --- a/service/mediapackagevod/go.mod +++ b/service/mediapackagevod/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mediapackagevod go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediapackagevod/go.sum b/service/mediapackagevod/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mediapackagevod/go.sum +++ b/service/mediapackagevod/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mediapackagevod/go_module_metadata.go b/service/mediapackagevod/go_module_metadata.go index 787e14aab1d..42dc3e0a873 100644 --- a/service/mediapackagevod/go_module_metadata.go +++ b/service/mediapackagevod/go_module_metadata.go @@ -3,4 +3,4 @@ package mediapackagevod // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/mediastore/CHANGELOG.md b/service/mediastore/CHANGELOG.md index 3c611ea93f1..2a4d2f68315 100644 --- a/service/mediastore/CHANGELOG.md +++ b/service/mediastore/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mediastore/go.mod b/service/mediastore/go.mod index 103acb5e4c9..1114752a527 100644 --- a/service/mediastore/go.mod +++ b/service/mediastore/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mediastore go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediastore/go.sum b/service/mediastore/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mediastore/go.sum +++ b/service/mediastore/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mediastore/go_module_metadata.go b/service/mediastore/go_module_metadata.go index 0dcb3c8c12b..055a4a46721 100644 --- a/service/mediastore/go_module_metadata.go +++ b/service/mediastore/go_module_metadata.go @@ -3,4 +3,4 @@ package mediastore // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/mediastoredata/CHANGELOG.md b/service/mediastoredata/CHANGELOG.md index 16dca12fd89..c3630fa183e 100644 --- a/service/mediastoredata/CHANGELOG.md +++ b/service/mediastoredata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mediastoredata/go.mod b/service/mediastoredata/go.mod index f8d14ee1abe..6202a5a1dcc 100644 --- a/service/mediastoredata/go.mod +++ b/service/mediastoredata/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mediastoredata go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediastoredata/go.sum b/service/mediastoredata/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mediastoredata/go.sum +++ b/service/mediastoredata/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mediastoredata/go_module_metadata.go b/service/mediastoredata/go_module_metadata.go index 39e6b171fe4..d8a48dfb559 100644 --- a/service/mediastoredata/go_module_metadata.go +++ b/service/mediastoredata/go_module_metadata.go @@ -3,4 +3,4 @@ package mediastoredata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/mediatailor/CHANGELOG.md b/service/mediatailor/CHANGELOG.md index 2335df2cefe..6a55f0b1469 100644 --- a/service/mediatailor/CHANGELOG.md +++ b/service/mediatailor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mediatailor/go.mod b/service/mediatailor/go.mod index e648966fc1d..b12f4d31f76 100644 --- a/service/mediatailor/go.mod +++ b/service/mediatailor/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mediatailor go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediatailor/go.sum b/service/mediatailor/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mediatailor/go.sum +++ b/service/mediatailor/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mediatailor/go_module_metadata.go b/service/mediatailor/go_module_metadata.go index 87a7aef1498..a845064cf3e 100644 --- a/service/mediatailor/go_module_metadata.go +++ b/service/mediatailor/go_module_metadata.go @@ -3,4 +3,4 @@ package mediatailor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/memorydb/CHANGELOG.md b/service/memorydb/CHANGELOG.md index c5c2f16072f..d9000c09e63 100644 --- a/service/memorydb/CHANGELOG.md +++ b/service/memorydb/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.9.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.9.6 (2022-06-06) + +* No change notes available for this release. + # v1.9.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/memorydb/go.mod b/service/memorydb/go.mod index c021d79a118..750997b843e 100644 --- a/service/memorydb/go.mod +++ b/service/memorydb/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/memorydb go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/memorydb/go.sum b/service/memorydb/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/memorydb/go.sum +++ b/service/memorydb/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/memorydb/go_module_metadata.go b/service/memorydb/go_module_metadata.go index ab8268122eb..4afd5567080 100644 --- a/service/memorydb/go_module_metadata.go +++ b/service/memorydb/go_module_metadata.go @@ -3,4 +3,4 @@ package memorydb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.5" +const goModuleVersion = "1.9.7" diff --git a/service/memorydb/internal/endpoints/endpoints.go b/service/memorydb/internal/endpoints/endpoints.go index 171196ae0e6..382e3c513ce 100644 --- a/service/memorydb/internal/endpoints/endpoints.go +++ b/service/memorydb/internal/endpoints/endpoints.go @@ -134,6 +134,64 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.Aws, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "fips", + }: endpoints.Endpoint{ + Hostname: "memory-db-fips.us-west-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-west-1", + }, + }, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-cn", @@ -169,6 +227,14 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsCn, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "cn-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "cn-northwest-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-iso", diff --git a/service/mgn/CHANGELOG.md b/service/mgn/CHANGELOG.md index 98b4920ca1c..3111c8cd9cc 100644 --- a/service/mgn/CHANGELOG.md +++ b/service/mgn/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mgn/go.mod b/service/mgn/go.mod index ff7a2939868..b7307733097 100644 --- a/service/mgn/go.mod +++ b/service/mgn/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mgn go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mgn/go.sum b/service/mgn/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mgn/go.sum +++ b/service/mgn/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mgn/go_module_metadata.go b/service/mgn/go_module_metadata.go index 1d1b7f57ddc..d7ac9e3e6fd 100644 --- a/service/mgn/go_module_metadata.go +++ b/service/mgn/go_module_metadata.go @@ -3,4 +3,4 @@ package mgn // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.2" +const goModuleVersion = "1.14.3" diff --git a/service/migrationhub/CHANGELOG.md b/service/migrationhub/CHANGELOG.md index 3c611ea93f1..2a4d2f68315 100644 --- a/service/migrationhub/CHANGELOG.md +++ b/service/migrationhub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/migrationhub/go.mod b/service/migrationhub/go.mod index 76c1d53a231..617e4c84cfa 100644 --- a/service/migrationhub/go.mod +++ b/service/migrationhub/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/migrationhub go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhub/go.sum b/service/migrationhub/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/migrationhub/go.sum +++ b/service/migrationhub/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/migrationhub/go_module_metadata.go b/service/migrationhub/go_module_metadata.go index 3364eb0c275..207b4ddac02 100644 --- a/service/migrationhub/go_module_metadata.go +++ b/service/migrationhub/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/migrationhubconfig/CHANGELOG.md b/service/migrationhubconfig/CHANGELOG.md index 3c611ea93f1..2a4d2f68315 100644 --- a/service/migrationhubconfig/CHANGELOG.md +++ b/service/migrationhubconfig/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/migrationhubconfig/go.mod b/service/migrationhubconfig/go.mod index fffa767dcab..40bed6b7ace 100644 --- a/service/migrationhubconfig/go.mod +++ b/service/migrationhubconfig/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/migrationhubconfig go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhubconfig/go.sum b/service/migrationhubconfig/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/migrationhubconfig/go.sum +++ b/service/migrationhubconfig/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/migrationhubconfig/go_module_metadata.go b/service/migrationhubconfig/go_module_metadata.go index 14daa669e18..66ede4410b2 100644 --- a/service/migrationhubconfig/go_module_metadata.go +++ b/service/migrationhubconfig/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhubconfig // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/migrationhubrefactorspaces/CHANGELOG.md b/service/migrationhubrefactorspaces/CHANGELOG.md index 44950832830..07993c5d044 100644 --- a/service/migrationhubrefactorspaces/CHANGELOG.md +++ b/service/migrationhubrefactorspaces/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.5.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.5.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/migrationhubrefactorspaces/go.mod b/service/migrationhubrefactorspaces/go.mod index e75457e1c2d..d860899ac47 100644 --- a/service/migrationhubrefactorspaces/go.mod +++ b/service/migrationhubrefactorspaces/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/migrationhubrefactorspaces go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhubrefactorspaces/go.sum b/service/migrationhubrefactorspaces/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/migrationhubrefactorspaces/go.sum +++ b/service/migrationhubrefactorspaces/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/migrationhubrefactorspaces/go_module_metadata.go b/service/migrationhubrefactorspaces/go_module_metadata.go index 20668604523..2afcd6407b8 100644 --- a/service/migrationhubrefactorspaces/go_module_metadata.go +++ b/service/migrationhubrefactorspaces/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhubrefactorspaces // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.6" +const goModuleVersion = "1.5.7" diff --git a/service/migrationhubstrategy/CHANGELOG.md b/service/migrationhubstrategy/CHANGELOG.md index 8878cb26c6e..f079801f1a0 100644 --- a/service/migrationhubstrategy/CHANGELOG.md +++ b/service/migrationhubstrategy/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.5.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.5.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/migrationhubstrategy/go.mod b/service/migrationhubstrategy/go.mod index 20d07d7512a..f95749ebb0c 100644 --- a/service/migrationhubstrategy/go.mod +++ b/service/migrationhubstrategy/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/migrationhubstrategy go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhubstrategy/go.sum b/service/migrationhubstrategy/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/migrationhubstrategy/go.sum +++ b/service/migrationhubstrategy/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/migrationhubstrategy/go_module_metadata.go b/service/migrationhubstrategy/go_module_metadata.go index b8e54fe5bf8..70b7a3aa9d0 100644 --- a/service/migrationhubstrategy/go_module_metadata.go +++ b/service/migrationhubstrategy/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhubstrategy // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.5" +const goModuleVersion = "1.5.6" diff --git a/service/mobile/CHANGELOG.md b/service/mobile/CHANGELOG.md index 389f0d99465..a8a0814ca53 100644 --- a/service/mobile/CHANGELOG.md +++ b/service/mobile/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Bug Fix**: Fixes iotsecuretunneling and mobile API clients to use the correct name for signing requests, Fixes [#1686](https://github.com/aws/aws-sdk-go-v2/issues/1686). diff --git a/service/mobile/go.mod b/service/mobile/go.mod index 3712b8b2e73..8773f6823e6 100644 --- a/service/mobile/go.mod +++ b/service/mobile/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mobile go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mobile/go.sum b/service/mobile/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mobile/go.sum +++ b/service/mobile/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mobile/go_module_metadata.go b/service/mobile/go_module_metadata.go index 45faed9c5d7..a5cd84de1d7 100644 --- a/service/mobile/go_module_metadata.go +++ b/service/mobile/go_module_metadata.go @@ -3,4 +3,4 @@ package mobile // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/mq/CHANGELOG.md b/service/mq/CHANGELOG.md index 197f7b0c96f..41327b3754f 100644 --- a/service/mq/CHANGELOG.md +++ b/service/mq/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mq/go.mod b/service/mq/go.mod index c25ef01ca02..36854fc190e 100644 --- a/service/mq/go.mod +++ b/service/mq/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mq go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mq/go.sum b/service/mq/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mq/go.sum +++ b/service/mq/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mq/go_module_metadata.go b/service/mq/go_module_metadata.go index cd66fb342bc..c3dab4c57cd 100644 --- a/service/mq/go_module_metadata.go +++ b/service/mq/go_module_metadata.go @@ -3,4 +3,4 @@ package mq // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.1" +const goModuleVersion = "1.13.2" diff --git a/service/mturk/CHANGELOG.md b/service/mturk/CHANGELOG.md index 9523eb33da5..90538163b89 100644 --- a/service/mturk/CHANGELOG.md +++ b/service/mturk/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mturk/go.mod b/service/mturk/go.mod index b159e1ba59e..dc2f382614a 100644 --- a/service/mturk/go.mod +++ b/service/mturk/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mturk go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mturk/go.sum b/service/mturk/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mturk/go.sum +++ b/service/mturk/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mturk/go_module_metadata.go b/service/mturk/go_module_metadata.go index 91222404d60..8b7b24768d1 100644 --- a/service/mturk/go_module_metadata.go +++ b/service/mturk/go_module_metadata.go @@ -3,4 +3,4 @@ package mturk // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/mwaa/CHANGELOG.md b/service/mwaa/CHANGELOG.md index cb776cde519..1b5c39e3249 100644 --- a/service/mwaa/CHANGELOG.md +++ b/service/mwaa/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/mwaa/go.mod b/service/mwaa/go.mod index 8fb816e6a4f..b8a94f5356f 100644 --- a/service/mwaa/go.mod +++ b/service/mwaa/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/mwaa go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mwaa/go.sum b/service/mwaa/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/mwaa/go.sum +++ b/service/mwaa/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/mwaa/go_module_metadata.go b/service/mwaa/go_module_metadata.go index bba3a6bbfbb..7533f64bbce 100644 --- a/service/mwaa/go_module_metadata.go +++ b/service/mwaa/go_module_metadata.go @@ -3,4 +3,4 @@ package mwaa // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/neptune/CHANGELOG.md b/service/neptune/CHANGELOG.md index fb5f4642334..62eb16775fe 100644 --- a/service/neptune/CHANGELOG.md +++ b/service/neptune/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/neptune/go.mod b/service/neptune/go.mod index c9e78e5cfc8..041de48ebc5 100644 --- a/service/neptune/go.mod +++ b/service/neptune/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/neptune go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/neptune/go.sum b/service/neptune/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/neptune/go.sum +++ b/service/neptune/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/neptune/go_module_metadata.go b/service/neptune/go_module_metadata.go index 4b8b1c908d3..8287615d551 100644 --- a/service/neptune/go_module_metadata.go +++ b/service/neptune/go_module_metadata.go @@ -3,4 +3,4 @@ package neptune // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.5" +const goModuleVersion = "1.16.6" diff --git a/service/networkfirewall/CHANGELOG.md b/service/networkfirewall/CHANGELOG.md index d8058c3ebba..15459a79ca2 100644 --- a/service/networkfirewall/CHANGELOG.md +++ b/service/networkfirewall/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/networkfirewall/go.mod b/service/networkfirewall/go.mod index 977279a7b46..0b4b3168396 100644 --- a/service/networkfirewall/go.mod +++ b/service/networkfirewall/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/networkfirewall go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/networkfirewall/go.sum b/service/networkfirewall/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/networkfirewall/go.sum +++ b/service/networkfirewall/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/networkfirewall/go_module_metadata.go b/service/networkfirewall/go_module_metadata.go index a3c483c7cda..cd280f901d3 100644 --- a/service/networkfirewall/go_module_metadata.go +++ b/service/networkfirewall/go_module_metadata.go @@ -3,4 +3,4 @@ package networkfirewall // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.1" +const goModuleVersion = "1.17.2" diff --git a/service/networkmanager/CHANGELOG.md b/service/networkmanager/CHANGELOG.md index 717a22ca640..ed2fcb39aee 100644 --- a/service/networkmanager/CHANGELOG.md +++ b/service/networkmanager/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.13.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.13.0 (2022-05-24) + +* **Feature**: This release adds Multi Account API support for a TGW Global Network, to enable and disable AWSServiceAccess with AwsOrganizations for Network Manager service and dependency CloudFormation StackSets service. + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/networkmanager/api_op_AssociateCustomerGateway.go b/service/networkmanager/api_op_AssociateCustomerGateway.go index 0fffe481406..fa112b855a3 100644 --- a/service/networkmanager/api_op_AssociateCustomerGateway.go +++ b/service/networkmanager/api_op_AssociateCustomerGateway.go @@ -14,10 +14,11 @@ import ( // Associates a customer gateway with a device and optionally, with a link. If you // specify a link, it must be associated with the specified device. You can only // associate customer gateways that are connected to a VPN attachment on a transit -// gateway. The transit gateway must be registered in your global network. When you -// register a transit gateway, customer gateways that are connected to the transit -// gateway are automatically included in the global network. To list customer -// gateways that are connected to a transit gateway, use the DescribeVpnConnections +// gateway or core network registered in your global network. When you register a +// transit gateway or core network, customer gateways that are connected to the +// transit gateway are automatically included in the global network. To list +// customer gateways that are connected to a transit gateway, use the +// DescribeVpnConnections // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html) // EC2 API and filter by transit-gateway-id. You cannot associate a customer // gateway with more than one device and link. diff --git a/service/networkmanager/api_op_CreateConnectPeer.go b/service/networkmanager/api_op_CreateConnectPeer.go index 757b1507c42..47012f06de7 100644 --- a/service/networkmanager/api_op_CreateConnectPeer.go +++ b/service/networkmanager/api_op_CreateConnectPeer.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a core network connect peer for a specified core network connect +// Creates a core network Connect peer for a specified core network connect // attachment between a core network and an appliance. The peer address and transit // gateway address must be the same IP address family (IPv4 or IPv6). func (c *Client) CreateConnectPeer(ctx context.Context, params *CreateConnectPeerInput, optFns ...func(*Options)) (*CreateConnectPeerOutput, error) { diff --git a/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go b/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go index 2da53acbcd9..e6a9bf2af3a 100644 --- a/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go +++ b/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go @@ -12,7 +12,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a site-to-site VPN attachment on an edge location of a core network. +// Creates an Amazon Web Services site-to-site VPN attachment on an edge location +// of a core network. func (c *Client) CreateSiteToSiteVpnAttachment(ctx context.Context, params *CreateSiteToSiteVpnAttachmentInput, optFns ...func(*Options)) (*CreateSiteToSiteVpnAttachmentOutput, error) { if params == nil { params = &CreateSiteToSiteVpnAttachmentInput{} diff --git a/service/networkmanager/api_op_DeleteGlobalNetwork.go b/service/networkmanager/api_op_DeleteGlobalNetwork.go index 6bab2935363..9d6e1f1939a 100644 --- a/service/networkmanager/api_op_DeleteGlobalNetwork.go +++ b/service/networkmanager/api_op_DeleteGlobalNetwork.go @@ -12,7 +12,8 @@ import ( ) // Deletes an existing global network. You must first delete all global network -// objects (devices, links, and sites) and deregister all transit gateways. +// objects (devices, links, and sites), deregister all transit gateways, and delete +// any core networks. func (c *Client) DeleteGlobalNetwork(ctx context.Context, params *DeleteGlobalNetworkInput, optFns ...func(*Options)) (*DeleteGlobalNetworkOutput, error) { if params == nil { params = &DeleteGlobalNetworkInput{} diff --git a/service/networkmanager/api_op_GetCoreNetwork.go b/service/networkmanager/api_op_GetCoreNetwork.go index 7edbd2d1eda..8c9c80cf371 100644 --- a/service/networkmanager/api_op_GetCoreNetwork.go +++ b/service/networkmanager/api_op_GetCoreNetwork.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns information about a core network. By default it returns the LIVE policy. +// Returns information about the LIVE policy for a core network. func (c *Client) GetCoreNetwork(ctx context.Context, params *GetCoreNetworkInput, optFns ...func(*Options)) (*GetCoreNetworkOutput, error) { if params == nil { params = &GetCoreNetworkInput{} diff --git a/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go b/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go new file mode 100644 index 00000000000..8fb820db81d --- /dev/null +++ b/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go @@ -0,0 +1,115 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package networkmanager + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/networkmanager/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +func (c *Client) ListOrganizationServiceAccessStatus(ctx context.Context, params *ListOrganizationServiceAccessStatusInput, optFns ...func(*Options)) (*ListOrganizationServiceAccessStatusOutput, error) { + if params == nil { + params = &ListOrganizationServiceAccessStatusInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListOrganizationServiceAccessStatus", params, optFns, c.addOperationListOrganizationServiceAccessStatusMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListOrganizationServiceAccessStatusOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListOrganizationServiceAccessStatusInput struct { + MaxResults *int32 + + NextToken *string + + noSmithyDocumentSerde +} + +type ListOrganizationServiceAccessStatusOutput struct { + NextToken *string + + OrganizationStatus *types.OrganizationStatus + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListOrganizationServiceAccessStatusMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpListOrganizationServiceAccessStatus{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListOrganizationServiceAccessStatus{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationServiceAccessStatus(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opListOrganizationServiceAccessStatus(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "networkmanager", + OperationName: "ListOrganizationServiceAccessStatus", + } +} diff --git a/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go b/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go new file mode 100644 index 00000000000..f2cdd185326 --- /dev/null +++ b/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go @@ -0,0 +1,116 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package networkmanager + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/networkmanager/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +func (c *Client) StartOrganizationServiceAccessUpdate(ctx context.Context, params *StartOrganizationServiceAccessUpdateInput, optFns ...func(*Options)) (*StartOrganizationServiceAccessUpdateOutput, error) { + if params == nil { + params = &StartOrganizationServiceAccessUpdateInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "StartOrganizationServiceAccessUpdate", params, optFns, c.addOperationStartOrganizationServiceAccessUpdateMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*StartOrganizationServiceAccessUpdateOutput) + out.ResultMetadata = metadata + return out, nil +} + +type StartOrganizationServiceAccessUpdateInput struct { + + // This member is required. + Action *string + + noSmithyDocumentSerde +} + +type StartOrganizationServiceAccessUpdateOutput struct { + OrganizationStatus *types.OrganizationStatus + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationStartOrganizationServiceAccessUpdateMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpStartOrganizationServiceAccessUpdate{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpStartOrganizationServiceAccessUpdate{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpStartOrganizationServiceAccessUpdateValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartOrganizationServiceAccessUpdate(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opStartOrganizationServiceAccessUpdate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "networkmanager", + OperationName: "StartOrganizationServiceAccessUpdate", + } +} diff --git a/service/networkmanager/deserializers.go b/service/networkmanager/deserializers.go index e4a2e1737e3..3e94eae8362 100644 --- a/service/networkmanager/deserializers.go +++ b/service/networkmanager/deserializers.go @@ -9595,6 +9595,159 @@ func awsRestjson1_deserializeOpDocumentListCoreNetworksOutput(v **ListCoreNetwor return nil } +type awsRestjson1_deserializeOpListOrganizationServiceAccessStatus struct { +} + +func (*awsRestjson1_deserializeOpListOrganizationServiceAccessStatus) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpListOrganizationServiceAccessStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorListOrganizationServiceAccessStatus(response, &metadata) + } + output := &ListOrganizationServiceAccessStatusOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListOrganizationServiceAccessStatusOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorListOrganizationServiceAccessStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentListOrganizationServiceAccessStatusOutput(v **ListOrganizationServiceAccessStatusOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListOrganizationServiceAccessStatusOutput + if *v == nil { + sv = &ListOrganizationServiceAccessStatusOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "OrganizationStatus": + if err := awsRestjson1_deserializeDocumentOrganizationStatus(&sv.OrganizationStatus, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpListTagsForResource struct { } @@ -10503,6 +10656,168 @@ func awsRestjson1_deserializeOpDocumentRestoreCoreNetworkPolicyVersionOutput(v * return nil } +type awsRestjson1_deserializeOpStartOrganizationServiceAccessUpdate struct { +} + +func (*awsRestjson1_deserializeOpStartOrganizationServiceAccessUpdate) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpStartOrganizationServiceAccessUpdate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorStartOrganizationServiceAccessUpdate(response, &metadata) + } + output := &StartOrganizationServiceAccessUpdateOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentStartOrganizationServiceAccessUpdateOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorStartOrganizationServiceAccessUpdate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsRestjson1_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsRestjson1_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsRestjson1_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpDocumentStartOrganizationServiceAccessUpdateOutput(v **StartOrganizationServiceAccessUpdateOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *StartOrganizationServiceAccessUpdateOutput + if *v == nil { + sv = &StartOrganizationServiceAccessUpdateOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "OrganizationStatus": + if err := awsRestjson1_deserializeDocumentOrganizationStatus(&sv.OrganizationStatus, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpStartRouteAnalysis struct { } @@ -12540,6 +12855,89 @@ func awsRestjson1_deserializeDocumentAccessDeniedException(v **types.AccessDenie return nil } +func awsRestjson1_deserializeDocumentAccountStatus(v **types.AccountStatus, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AccountStatus + if *v == nil { + sv = &types.AccountStatus{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AccountId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AccountId to be of type string, got %T instead", value) + } + sv.AccountId = ptr.String(jtv) + } + + case "SLRDeploymentStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SLRDeploymentStatus to be of type string, got %T instead", value) + } + sv.SLRDeploymentStatus = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAccountStatusList(v *[]types.AccountStatus, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AccountStatus + if *v == nil { + cv = []types.AccountStatus{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AccountStatus + destAddr := &col + if err := awsRestjson1_deserializeDocumentAccountStatus(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -16416,6 +16814,69 @@ func awsRestjson1_deserializeDocumentNetworkTelemetryList(v *[]types.NetworkTele return nil } +func awsRestjson1_deserializeDocumentOrganizationStatus(v **types.OrganizationStatus, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.OrganizationStatus + if *v == nil { + sv = &types.OrganizationStatus{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AccountStatusList": + if err := awsRestjson1_deserializeDocumentAccountStatusList(&sv.AccountStatusList, value); err != nil { + return err + } + + case "OrganizationAwsServiceAccessStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OrganizationAwsServiceAccessStatus to be of type string, got %T instead", value) + } + sv.OrganizationAwsServiceAccessStatus = ptr.String(jtv) + } + + case "OrganizationId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected OrganizationId to be of type string, got %T instead", value) + } + sv.OrganizationId = ptr.String(jtv) + } + + case "SLRDeploymentStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SLRDeploymentStatus to be of type string, got %T instead", value) + } + sv.SLRDeploymentStatus = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentPathComponent(v **types.PathComponent, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/networkmanager/doc.go b/service/networkmanager/doc.go index 1d1bf57de89..94108cb35ab 100644 --- a/service/networkmanager/doc.go +++ b/service/networkmanager/doc.go @@ -3,7 +3,7 @@ // Package networkmanager provides the API client, operations, and parameter types // for AWS Network Manager. // -// Transit Gateway Network Manager (Network Manager) enables you to create a global -// network, in which you can monitor your Amazon Web Services and on-premises -// networks that are built around transit gateways. +// Amazon Web Services enables you to centrally manage your Amazon Web Services +// Cloud WAN core network and your Transit Gateway network across Amazon Web +// Services accounts, Regions, and on-premises locations. package networkmanager diff --git a/service/networkmanager/generated.json b/service/networkmanager/generated.json index a2906d9ceee..d195449104b 100644 --- a/service/networkmanager/generated.json +++ b/service/networkmanager/generated.json @@ -67,12 +67,14 @@ "api_op_ListConnectPeers.go", "api_op_ListCoreNetworkPolicyVersions.go", "api_op_ListCoreNetworks.go", + "api_op_ListOrganizationServiceAccessStatus.go", "api_op_ListTagsForResource.go", "api_op_PutCoreNetworkPolicy.go", "api_op_PutResourcePolicy.go", "api_op_RegisterTransitGateway.go", "api_op_RejectAttachment.go", "api_op_RestoreCoreNetworkPolicyVersion.go", + "api_op_StartOrganizationServiceAccessUpdate.go", "api_op_StartRouteAnalysis.go", "api_op_TagResource.go", "api_op_UntagResource.go", diff --git a/service/networkmanager/go.mod b/service/networkmanager/go.mod index 8b0d56e8adf..6544309084e 100644 --- a/service/networkmanager/go.mod +++ b/service/networkmanager/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/networkmanager go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/networkmanager/go.sum b/service/networkmanager/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/networkmanager/go.sum +++ b/service/networkmanager/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/networkmanager/go_module_metadata.go b/service/networkmanager/go_module_metadata.go index 4064b53fae4..540e5e1bcac 100644 --- a/service/networkmanager/go_module_metadata.go +++ b/service/networkmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package networkmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.13.1" diff --git a/service/networkmanager/serializers.go b/service/networkmanager/serializers.go index cee6189546c..9a4d648ce05 100644 --- a/service/networkmanager/serializers.go +++ b/service/networkmanager/serializers.go @@ -4476,6 +4476,63 @@ func awsRestjson1_serializeOpHttpBindingsListCoreNetworksInput(v *ListCoreNetwor return nil } +type awsRestjson1_serializeOpListOrganizationServiceAccessStatus struct { +} + +func (*awsRestjson1_serializeOpListOrganizationServiceAccessStatus) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpListOrganizationServiceAccessStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListOrganizationServiceAccessStatusInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/organizations/service-access") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsListOrganizationServiceAccessStatusInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsListOrganizationServiceAccessStatusInput(v *ListOrganizationServiceAccessStatusInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("nextToken").String(*v.NextToken) + } + + return nil +} + type awsRestjson1_serializeOpListTagsForResource struct { } @@ -4917,6 +4974,74 @@ func awsRestjson1_serializeOpHttpBindingsRestoreCoreNetworkPolicyVersionInput(v return nil } +type awsRestjson1_serializeOpStartOrganizationServiceAccessUpdate struct { +} + +func (*awsRestjson1_serializeOpStartOrganizationServiceAccessUpdate) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpStartOrganizationServiceAccessUpdate) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*StartOrganizationServiceAccessUpdateInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/organizations/service-access") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentStartOrganizationServiceAccessUpdateInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsStartOrganizationServiceAccessUpdateInput(v *StartOrganizationServiceAccessUpdateInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestjson1_serializeOpDocumentStartOrganizationServiceAccessUpdateInput(v *StartOrganizationServiceAccessUpdateInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Action != nil { + ok := object.Key("Action") + ok.String(*v.Action) + } + + return nil +} + type awsRestjson1_serializeOpStartRouteAnalysis struct { } diff --git a/service/networkmanager/types/types.go b/service/networkmanager/types/types.go index 36cc4ae45d9..1bfe9ec8104 100644 --- a/service/networkmanager/types/types.go +++ b/service/networkmanager/types/types.go @@ -7,6 +7,14 @@ import ( "time" ) +type AccountStatus struct { + AccountId *string + + SLRDeploymentStatus *string + + noSmithyDocumentSerde +} + // Describes a core network attachment. type Attachment struct { @@ -586,7 +594,7 @@ type Device struct { // Describes a global network. This is a single private network acting as a // high-level container for your network objects, including an Amazon Web -// Services-manged Core Network. +// Services-managed Core Network. type GlobalNetwork struct { // The date and time that the global network was created. @@ -872,6 +880,18 @@ type NetworkTelemetry struct { noSmithyDocumentSerde } +type OrganizationStatus struct { + AccountStatusList []AccountStatus + + OrganizationAwsServiceAccessStatus *string + + OrganizationId *string + + SLRDeploymentStatus *string + + noSmithyDocumentSerde +} + // Describes a path component. type PathComponent struct { diff --git a/service/networkmanager/validators.go b/service/networkmanager/validators.go index 084dd102dd2..ea02c92d04b 100644 --- a/service/networkmanager/validators.go +++ b/service/networkmanager/validators.go @@ -1209,6 +1209,26 @@ func (m *validateOpRestoreCoreNetworkPolicyVersion) HandleInitialize(ctx context return next.HandleInitialize(ctx, in) } +type validateOpStartOrganizationServiceAccessUpdate struct { +} + +func (*validateOpStartOrganizationServiceAccessUpdate) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpStartOrganizationServiceAccessUpdate) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*StartOrganizationServiceAccessUpdateInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpStartOrganizationServiceAccessUpdateInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpStartRouteAnalysis struct { } @@ -1669,6 +1689,10 @@ func addOpRestoreCoreNetworkPolicyVersionValidationMiddleware(stack *middleware. return stack.Initialize.Add(&validateOpRestoreCoreNetworkPolicyVersion{}, middleware.After) } +func addOpStartOrganizationServiceAccessUpdateValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpStartOrganizationServiceAccessUpdate{}, middleware.After) +} + func addOpStartRouteAnalysisValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpStartRouteAnalysis{}, middleware.After) } @@ -2730,6 +2754,21 @@ func validateOpRestoreCoreNetworkPolicyVersionInput(v *RestoreCoreNetworkPolicyV } } +func validateOpStartOrganizationServiceAccessUpdateInput(v *StartOrganizationServiceAccessUpdateInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "StartOrganizationServiceAccessUpdateInput"} + if v.Action == nil { + invalidParams.Add(smithy.NewErrParamRequired("Action")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpStartRouteAnalysisInput(v *StartRouteAnalysisInput) error { if v == nil { return nil diff --git a/service/nimble/CHANGELOG.md b/service/nimble/CHANGELOG.md index b518e841db0..e2a5065bd58 100644 --- a/service/nimble/CHANGELOG.md +++ b/service/nimble/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/nimble/go.mod b/service/nimble/go.mod index 631dd17db93..3592e9572da 100644 --- a/service/nimble/go.mod +++ b/service/nimble/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/nimble go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/nimble/go.sum b/service/nimble/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/nimble/go.sum +++ b/service/nimble/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/nimble/go_module_metadata.go b/service/nimble/go_module_metadata.go index b8d353cb8a9..ec613d62997 100644 --- a/service/nimble/go_module_metadata.go +++ b/service/nimble/go_module_metadata.go @@ -3,4 +3,4 @@ package nimble // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.6" +const goModuleVersion = "1.12.7" diff --git a/service/opensearch/CHANGELOG.md b/service/opensearch/CHANGELOG.md index 9b3c9de5661..fc01aacd971 100644 --- a/service/opensearch/CHANGELOG.md +++ b/service/opensearch/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/opensearch/go.mod b/service/opensearch/go.mod index 8eff0be3de7..829f01185b0 100644 --- a/service/opensearch/go.mod +++ b/service/opensearch/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/opensearch go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/opensearch/go.sum b/service/opensearch/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/opensearch/go.sum +++ b/service/opensearch/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/opensearch/go_module_metadata.go b/service/opensearch/go_module_metadata.go index 16365ef37b4..c4476aaa5b6 100644 --- a/service/opensearch/go_module_metadata.go +++ b/service/opensearch/go_module_metadata.go @@ -3,4 +3,4 @@ package opensearch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.5" +const goModuleVersion = "1.9.6" diff --git a/service/opsworks/CHANGELOG.md b/service/opsworks/CHANGELOG.md index 11998029d2b..597536c4210 100644 --- a/service/opsworks/CHANGELOG.md +++ b/service/opsworks/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/opsworks/go.mod b/service/opsworks/go.mod index 95cea7a2372..c84720d3fa9 100644 --- a/service/opsworks/go.mod +++ b/service/opsworks/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/opsworks go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/opsworks/go.sum b/service/opsworks/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/opsworks/go.sum +++ b/service/opsworks/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/opsworks/go_module_metadata.go b/service/opsworks/go_module_metadata.go index ddc697ffc83..eb3fb44491a 100644 --- a/service/opsworks/go_module_metadata.go +++ b/service/opsworks/go_module_metadata.go @@ -3,4 +3,4 @@ package opsworks // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/opsworkscm/CHANGELOG.md b/service/opsworkscm/CHANGELOG.md index 867a266dc33..71165bf78c4 100644 --- a/service/opsworkscm/CHANGELOG.md +++ b/service/opsworkscm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/opsworkscm/go.mod b/service/opsworkscm/go.mod index 23cddd70dd2..ce90af07fef 100644 --- a/service/opsworkscm/go.mod +++ b/service/opsworkscm/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/opsworkscm go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/opsworkscm/go.sum b/service/opsworkscm/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/opsworkscm/go.sum +++ b/service/opsworkscm/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/opsworkscm/go_module_metadata.go b/service/opsworkscm/go_module_metadata.go index c3de2915c40..1a49bfb272b 100644 --- a/service/opsworkscm/go_module_metadata.go +++ b/service/opsworkscm/go_module_metadata.go @@ -3,4 +3,4 @@ package opsworkscm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/organizations/CHANGELOG.md b/service/organizations/CHANGELOG.md index ffe3f5d1204..bece566ddc8 100644 --- a/service/organizations/CHANGELOG.md +++ b/service/organizations/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/organizations/go.mod b/service/organizations/go.mod index 6b43206a8f3..9d4ed3f77b6 100644 --- a/service/organizations/go.mod +++ b/service/organizations/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/organizations go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/organizations/go.sum b/service/organizations/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/organizations/go.sum +++ b/service/organizations/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/organizations/go_module_metadata.go b/service/organizations/go_module_metadata.go index aa692993061..7062e6b17ff 100644 --- a/service/organizations/go_module_metadata.go +++ b/service/organizations/go_module_metadata.go @@ -3,4 +3,4 @@ package organizations // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.1" +const goModuleVersion = "1.16.2" diff --git a/service/outposts/CHANGELOG.md b/service/outposts/CHANGELOG.md index 93265ede113..f4517b5929a 100644 --- a/service/outposts/CHANGELOG.md +++ b/service/outposts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.19.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/outposts/go.mod b/service/outposts/go.mod index f849e716e84..becb168cd9d 100644 --- a/service/outposts/go.mod +++ b/service/outposts/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/outposts go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/outposts/go.sum b/service/outposts/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/outposts/go.sum +++ b/service/outposts/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/outposts/go_module_metadata.go b/service/outposts/go_module_metadata.go index 8db14e73022..dcb1534d672 100644 --- a/service/outposts/go_module_metadata.go +++ b/service/outposts/go_module_metadata.go @@ -3,4 +3,4 @@ package outposts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.19.3" diff --git a/service/panorama/CHANGELOG.md b/service/panorama/CHANGELOG.md index e1475907e74..a6369d02b22 100644 --- a/service/panorama/CHANGELOG.md +++ b/service/panorama/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.7.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/panorama/go.mod b/service/panorama/go.mod index 5451f361011..928745598ac 100644 --- a/service/panorama/go.mod +++ b/service/panorama/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/panorama go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/panorama/go.sum b/service/panorama/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/panorama/go.sum +++ b/service/panorama/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/panorama/go_module_metadata.go b/service/panorama/go_module_metadata.go index d7b343299fb..878b4e0fcb8 100644 --- a/service/panorama/go_module_metadata.go +++ b/service/panorama/go_module_metadata.go @@ -3,4 +3,4 @@ package panorama // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.2" +const goModuleVersion = "1.7.3" diff --git a/service/personalize/CHANGELOG.md b/service/personalize/CHANGELOG.md index bcf6a00b107..0f6f32a7d6e 100644 --- a/service/personalize/CHANGELOG.md +++ b/service/personalize/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.20.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.20.0 (2022-05-23) + +* **Feature**: Adding modelMetrics as part of DescribeRecommender API response for Personalize. + # v1.19.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/personalize/api_op_CreateRecommender.go b/service/personalize/api_op_CreateRecommender.go index 153c9abbb54..049592ba85e 100644 --- a/service/personalize/api_op_CreateRecommender.go +++ b/service/personalize/api_op_CreateRecommender.go @@ -39,10 +39,14 @@ import ( // * CREATE PENDING > // CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * DELETE PENDING > DELETE -// IN_PROGRESS +// * STOP PENDING > STOP +// IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE // -// To get the recommender status, call DescribeRecommender +// * DELETE +// PENDING > DELETE IN_PROGRESS +// +// To get the recommender status, call +// DescribeRecommender // (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeRecommender.html). // Wait until the status of the recommender is ACTIVE before asking the recommender // for recommendations. Related APIs diff --git a/service/personalize/api_op_DescribeRecommender.go b/service/personalize/api_op_DescribeRecommender.go index 032bab080bf..d9f0b41a224 100644 --- a/service/personalize/api_op_DescribeRecommender.go +++ b/service/personalize/api_op_DescribeRecommender.go @@ -17,11 +17,15 @@ import ( // * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE // -or- CREATE FAILED // +// * STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING +// > START IN_PROGRESS > ACTIVE +// // * DELETE PENDING > DELETE IN_PROGRESS // -// When the status is -// CREATE FAILED, the response includes the failureReason key, which describes why. -// For more information on recommenders, see CreateRecommender +// When the +// status is CREATE FAILED, the response includes the failureReason key, which +// describes why. The modelMetrics key is null when the recommender is being +// created or deleted. For more information on recommenders, see CreateRecommender // (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateRecommender.html). func (c *Client) DescribeRecommender(ctx context.Context, params *DescribeRecommenderInput, optFns ...func(*Options)) (*DescribeRecommenderOutput, error) { if params == nil { diff --git a/service/personalize/api_op_GetSolutionMetrics.go b/service/personalize/api_op_GetSolutionMetrics.go index 01d809280ba..36c3084ffa5 100644 --- a/service/personalize/api_op_GetSolutionMetrics.go +++ b/service/personalize/api_op_GetSolutionMetrics.go @@ -38,7 +38,9 @@ type GetSolutionMetricsInput struct { type GetSolutionMetricsOutput struct { - // The metrics for the solution version. + // The metrics for the solution version. For more information, see Evaluating a + // solution version with metrics + // (https://docs.aws.amazon.com/personalize/latest/dg/working-with-training-metrics.html). Metrics map[string]float64 // The same solution version ARN as specified in the request. diff --git a/service/personalize/deserializers.go b/service/personalize/deserializers.go index 69a20b4de44..eb7ca6924df 100644 --- a/service/personalize/deserializers.go +++ b/service/personalize/deserializers.go @@ -1253,6 +1253,9 @@ func awsAwsjson11_deserializeOpErrorCreateRecommender(response *smithyhttp.Respo case strings.EqualFold("ResourceAlreadyExistsException", errorCode): return awsAwsjson11_deserializeErrorResourceAlreadyExistsException(response, errorBody) + case strings.EqualFold("ResourceInUseException", errorCode): + return awsAwsjson11_deserializeErrorResourceInUseException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) @@ -12117,6 +12120,11 @@ func awsAwsjson11_deserializeDocumentRecommender(v **types.Recommender, value in return err } + case "modelMetrics": + if err := awsAwsjson11_deserializeDocumentMetrics(&sv.ModelMetrics, value); err != nil { + return err + } + case "name": if value != nil { jtv, ok := value.(string) diff --git a/service/personalize/go.mod b/service/personalize/go.mod index f141ae1547f..5820ab2745b 100644 --- a/service/personalize/go.mod +++ b/service/personalize/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/personalize go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/personalize/go.sum b/service/personalize/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/personalize/go.sum +++ b/service/personalize/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/personalize/go_module_metadata.go b/service/personalize/go_module_metadata.go index 5d8564f0cc0..c84b7eb531f 100644 --- a/service/personalize/go_module_metadata.go +++ b/service/personalize/go_module_metadata.go @@ -3,4 +3,4 @@ package personalize // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.20.1" diff --git a/service/personalize/types/types.go b/service/personalize/types/types.go index 11a0ce5e4b1..fb2edbe3115 100644 --- a/service/personalize/types/types.go +++ b/service/personalize/types/types.go @@ -1320,6 +1320,11 @@ type Recommender struct { // Provides a summary of the latest updates to the recommender. LatestRecommenderUpdate *RecommenderUpdateSummary + // Provides evaluation metrics that help you determine the performance of a + // recommender. For more information, see Evaluating a recommender + // (https://docs.aws.amazon.com/personalize/latest/dg/evaluating-recommenders.html). + ModelMetrics map[string]float64 + // The name of the recommender. Name *string @@ -1339,7 +1344,10 @@ type Recommender struct { // * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // // * - // DELETE PENDING > DELETE IN_PROGRESS + // STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > + // ACTIVE + // + // * DELETE PENDING > DELETE IN_PROGRESS Status *string noSmithyDocumentSerde @@ -1394,7 +1402,10 @@ type RecommenderSummary struct { // * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // // * - // DELETE PENDING > DELETE IN_PROGRESS + // STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > + // ACTIVE + // + // * DELETE PENDING > DELETE IN_PROGRESS Status *string noSmithyDocumentSerde @@ -1424,6 +1435,9 @@ type RecommenderUpdateSummary struct { // * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE // FAILED // + // * STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START + // IN_PROGRESS > ACTIVE + // // * DELETE PENDING > DELETE IN_PROGRESS Status *string diff --git a/service/personalizeevents/CHANGELOG.md b/service/personalizeevents/CHANGELOG.md index 90f30d824d3..5a749b3f491 100644 --- a/service/personalizeevents/CHANGELOG.md +++ b/service/personalizeevents/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/personalizeevents/go.mod b/service/personalizeevents/go.mod index b7303dded88..d7f94c1ce2c 100644 --- a/service/personalizeevents/go.mod +++ b/service/personalizeevents/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/personalizeevents go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/personalizeevents/go.sum b/service/personalizeevents/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/personalizeevents/go.sum +++ b/service/personalizeevents/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/personalizeevents/go_module_metadata.go b/service/personalizeevents/go_module_metadata.go index 499074f25ce..13c13d73119 100644 --- a/service/personalizeevents/go_module_metadata.go +++ b/service/personalizeevents/go_module_metadata.go @@ -3,4 +3,4 @@ package personalizeevents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/personalizeruntime/CHANGELOG.md b/service/personalizeruntime/CHANGELOG.md index 1eff1adfa09..297348d500e 100644 --- a/service/personalizeruntime/CHANGELOG.md +++ b/service/personalizeruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/personalizeruntime/go.mod b/service/personalizeruntime/go.mod index 1ae807aa935..e233cf48015 100644 --- a/service/personalizeruntime/go.mod +++ b/service/personalizeruntime/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/personalizeruntime go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/personalizeruntime/go.sum b/service/personalizeruntime/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/personalizeruntime/go.sum +++ b/service/personalizeruntime/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/personalizeruntime/go_module_metadata.go b/service/personalizeruntime/go_module_metadata.go index 39536d22a79..117b639a150 100644 --- a/service/personalizeruntime/go_module_metadata.go +++ b/service/personalizeruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package personalizeruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/pi/CHANGELOG.md b/service/pi/CHANGELOG.md index ae0c5fef0ac..904a12a3a7a 100644 --- a/service/pi/CHANGELOG.md +++ b/service/pi/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/pi/go.mod b/service/pi/go.mod index ee1d3cad8fc..9342d827ac0 100644 --- a/service/pi/go.mod +++ b/service/pi/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/pi go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pi/go.sum b/service/pi/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/pi/go.sum +++ b/service/pi/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/pi/go_module_metadata.go b/service/pi/go_module_metadata.go index 669ade4c791..b51bde3a623 100644 --- a/service/pi/go_module_metadata.go +++ b/service/pi/go_module_metadata.go @@ -3,4 +3,4 @@ package pi // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.6" +const goModuleVersion = "1.14.7" diff --git a/service/pinpoint/CHANGELOG.md b/service/pinpoint/CHANGELOG.md index fda192eed0c..229c06f6640 100644 --- a/service/pinpoint/CHANGELOG.md +++ b/service/pinpoint/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/pinpoint/go.mod b/service/pinpoint/go.mod index b36003d3cdb..f0423f2a94d 100644 --- a/service/pinpoint/go.mod +++ b/service/pinpoint/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/pinpoint go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpoint/go.sum b/service/pinpoint/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/pinpoint/go.sum +++ b/service/pinpoint/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/pinpoint/go_module_metadata.go b/service/pinpoint/go_module_metadata.go index 2c5b8182cf0..8c9a58d5b4d 100644 --- a/service/pinpoint/go_module_metadata.go +++ b/service/pinpoint/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpoint // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.5" +const goModuleVersion = "1.16.6" diff --git a/service/pinpointemail/CHANGELOG.md b/service/pinpointemail/CHANGELOG.md index d1b4269529a..73d5f3d1edc 100644 --- a/service/pinpointemail/CHANGELOG.md +++ b/service/pinpointemail/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.11.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.11.6 (2022-05-24) + +* No change notes available for this release. + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/pinpointemail/go.mod b/service/pinpointemail/go.mod index a2d59e41aaf..bad4b182e18 100644 --- a/service/pinpointemail/go.mod +++ b/service/pinpointemail/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/pinpointemail go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpointemail/go.sum b/service/pinpointemail/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/pinpointemail/go.sum +++ b/service/pinpointemail/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/pinpointemail/go_module_metadata.go b/service/pinpointemail/go_module_metadata.go index 38ce6551225..33d07ae2642 100644 --- a/service/pinpointemail/go_module_metadata.go +++ b/service/pinpointemail/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpointemail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.7" diff --git a/service/pinpointemail/internal/endpoints/endpoints.go b/service/pinpointemail/internal/endpoints/endpoints.go index 455f50b4a1f..09489e0bd2b 100644 --- a/service/pinpointemail/internal/endpoints/endpoints.go +++ b/service/pinpointemail/internal/endpoints/endpoints.go @@ -135,24 +135,96 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "af-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "fips-us-east-1", + }: endpoints.Endpoint{ + Hostname: "email-fips.us-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-east-1", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "fips-us-west-2", + }: endpoints.Endpoint{ + Hostname: "email-fips.us-west-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-west-2", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "me-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "email-fips.us-east-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-west-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "email-fips.us-west-2.amazonaws.com", + }, }, }, { diff --git a/service/pinpointsmsvoice/CHANGELOG.md b/service/pinpointsmsvoice/CHANGELOG.md index 2e326cddbfc..2036cf78231 100644 --- a/service/pinpointsmsvoice/CHANGELOG.md +++ b/service/pinpointsmsvoice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.10.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/pinpointsmsvoice/go.mod b/service/pinpointsmsvoice/go.mod index 3a4ef6088f9..bd52672e329 100644 --- a/service/pinpointsmsvoice/go.mod +++ b/service/pinpointsmsvoice/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/pinpointsmsvoice go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpointsmsvoice/go.sum b/service/pinpointsmsvoice/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/pinpointsmsvoice/go.sum +++ b/service/pinpointsmsvoice/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/pinpointsmsvoice/go_module_metadata.go b/service/pinpointsmsvoice/go_module_metadata.go index 234f1e31546..ab17004a88b 100644 --- a/service/pinpointsmsvoice/go_module_metadata.go +++ b/service/pinpointsmsvoice/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpointsmsvoice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.5" +const goModuleVersion = "1.10.6" diff --git a/service/pinpointsmsvoicev2/CHANGELOG.md b/service/pinpointsmsvoicev2/CHANGELOG.md index 625f77e2087..56d561631da 100644 --- a/service/pinpointsmsvoicev2/CHANGELOG.md +++ b/service/pinpointsmsvoicev2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.0.4 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.0.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/pinpointsmsvoicev2/go.mod b/service/pinpointsmsvoicev2/go.mod index bac4ba2a676..ec7d3dd0fe4 100644 --- a/service/pinpointsmsvoicev2/go.mod +++ b/service/pinpointsmsvoicev2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/pinpointsmsvoicev2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpointsmsvoicev2/go.sum b/service/pinpointsmsvoicev2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/pinpointsmsvoicev2/go.sum +++ b/service/pinpointsmsvoicev2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/pinpointsmsvoicev2/go_module_metadata.go b/service/pinpointsmsvoicev2/go_module_metadata.go index 3019ebb9674..59215024bee 100644 --- a/service/pinpointsmsvoicev2/go_module_metadata.go +++ b/service/pinpointsmsvoicev2/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpointsmsvoicev2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.3" +const goModuleVersion = "1.0.4" diff --git a/service/polly/CHANGELOG.md b/service/polly/CHANGELOG.md index d80cf088bd0..d2dec5dbcc6 100644 --- a/service/polly/CHANGELOG.md +++ b/service/polly/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/polly/go.mod b/service/polly/go.mod index 7ce20c8d857..dd11df290b0 100644 --- a/service/polly/go.mod +++ b/service/polly/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/polly go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/polly/go.sum b/service/polly/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/polly/go.sum +++ b/service/polly/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/polly/go_module_metadata.go b/service/polly/go_module_metadata.go index 116ac7d64dd..935207f05de 100644 --- a/service/polly/go_module_metadata.go +++ b/service/polly/go_module_metadata.go @@ -3,4 +3,4 @@ package polly // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/pricing/CHANGELOG.md b/service/pricing/CHANGELOG.md index 2e32a87ca78..5dd83b04af0 100644 --- a/service/pricing/CHANGELOG.md +++ b/service/pricing/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/pricing/go.mod b/service/pricing/go.mod index 6cdf29db917..27911101492 100644 --- a/service/pricing/go.mod +++ b/service/pricing/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/pricing go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pricing/go.sum b/service/pricing/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/pricing/go.sum +++ b/service/pricing/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/pricing/go_module_metadata.go b/service/pricing/go_module_metadata.go index a05c3582fd1..62a4a2003bf 100644 --- a/service/pricing/go_module_metadata.go +++ b/service/pricing/go_module_metadata.go @@ -3,4 +3,4 @@ package pricing // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.6" +const goModuleVersion = "1.14.7" diff --git a/service/proton/CHANGELOG.md b/service/proton/CHANGELOG.md index 0c91e476d3b..6d185ad5483 100644 --- a/service/proton/CHANGELOG.md +++ b/service/proton/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.14.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.14.0 (2022-06-02) + +* **Feature**: Add new "Components" API to enable users to Create, Delete and Update AWS Proton components. + +# v1.13.3 (2022-05-23) + +* No change notes available for this release. + # v1.13.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/proton/api_op_CancelComponentDeployment.go b/service/proton/api_op_CancelComponentDeployment.go new file mode 100644 index 00000000000..df575d442df --- /dev/null +++ b/service/proton/api_op_CancelComponentDeployment.go @@ -0,0 +1,127 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Attempts to cancel a component deployment (for a component that is in the +// IN_PROGRESS deployment status). For more information about components, see +// Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) CancelComponentDeployment(ctx context.Context, params *CancelComponentDeploymentInput, optFns ...func(*Options)) (*CancelComponentDeploymentOutput, error) { + if params == nil { + params = &CancelComponentDeploymentInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CancelComponentDeployment", params, optFns, c.addOperationCancelComponentDeploymentMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CancelComponentDeploymentOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CancelComponentDeploymentInput struct { + + // The name of the component with the deployment to cancel. + // + // This member is required. + ComponentName *string + + noSmithyDocumentSerde +} + +type CancelComponentDeploymentOutput struct { + + // The detailed data of the component with the deployment that is being canceled. + // + // This member is required. + Component *types.Component + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCancelComponentDeploymentMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpCancelComponentDeployment{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpCancelComponentDeployment{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCancelComponentDeploymentValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelComponentDeployment(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCancelComponentDeployment(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CancelComponentDeployment", + } +} diff --git a/service/proton/api_op_CreateComponent.go b/service/proton/api_op_CreateComponent.go new file mode 100644 index 00000000000..f8b0de9761b --- /dev/null +++ b/service/proton/api_op_CreateComponent.go @@ -0,0 +1,175 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Create an Proton component. A component is an infrastructure extension for a +// service instance. For more information about components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) CreateComponent(ctx context.Context, params *CreateComponentInput, optFns ...func(*Options)) (*CreateComponentOutput, error) { + if params == nil { + params = &CreateComponentInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateComponent", params, optFns, c.addOperationCreateComponentMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateComponentOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateComponentInput struct { + + // A path to a manifest file that lists the Infrastructure as Code (IaC) file, + // template language, and rendering engine for infrastructure that a custom + // component provisions. + // + // This value conforms to the media type: application/yaml + // + // This member is required. + Manifest *string + + // The customer-provided name of the component. + // + // This member is required. + Name *string + + // A path to the Infrastructure as Code (IaC) file describing infrastructure that a + // custom component provisions. Components support a single IaC file, even if you + // use Terraform as your template language. + // + // This value conforms to the media type: application/yaml + // + // This member is required. + TemplateFile *string + + // An optional customer-provided description of the component. + Description *string + + // The name of the Proton environment that you want to associate this component + // with. You must specify this when you don't specify serviceInstanceName and + // serviceName. + EnvironmentName *string + + // The name of the service instance that you want to attach this component to. If + // you don't specify this, the component isn't attached to any service instance. + // Specify both serviceInstanceName and serviceName or neither of them. + ServiceInstanceName *string + + // The name of the service that serviceInstanceName is associated with. If you + // don't specify this, the component isn't attached to any service instance. + // Specify both serviceInstanceName and serviceName or neither of them. + ServiceName *string + + // The service spec that you want the component to use to access service inputs. + // Set this only when you attach the component to a service instance. + // + // This value conforms to the media type: application/yaml + ServiceSpec *string + + // An optional list of metadata items that you can associate with the Proton + // component. A tag is a key-value pair. For more information, see Proton resources + // and tagging in the Proton Administrator Guide + // (https://docs.aws.amazon.com/proton/latest/adminguide/resources.html) or Proton + // User Guide (https://docs.aws.amazon.com/proton/latest/userguide/resources.html). + Tags []types.Tag + + noSmithyDocumentSerde +} + +type CreateComponentOutput struct { + + // The detailed data of the created component. + // + // This member is required. + Component *types.Component + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpCreateComponent{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpCreateComponent{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateComponentValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateComponent(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateComponent(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateComponent", + } +} diff --git a/service/proton/api_op_CreateEnvironment.go b/service/proton/api_op_CreateEnvironment.go index 79d91149c9f..1037f8961aa 100644 --- a/service/proton/api_op_CreateEnvironment.go +++ b/service/proton/api_op_CreateEnvironment.go @@ -73,6 +73,15 @@ type CreateEnvironmentInput struct { // This member is required. TemplateName *string + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in this environment. It determines the + // scope of infrastructure that a component can provision. You must specify + // componentRoleArn to allow directly defined components to be associated with this + // environment. For more information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + // A description of the environment that's being created and deployed. Description *string diff --git a/service/proton/api_op_CreateEnvironmentAccountConnection.go b/service/proton/api_op_CreateEnvironmentAccountConnection.go index 6e3863b190d..bc51cac942f 100644 --- a/service/proton/api_op_CreateEnvironmentAccountConnection.go +++ b/service/proton/api_op_CreateEnvironmentAccountConnection.go @@ -64,6 +64,16 @@ type CreateEnvironmentAccountConnectionInput struct { // created. ClientToken *string + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in the associated environment account. + // It determines the scope of infrastructure that a component can provision in the + // account. You must specify componentRoleArn to allow directly defined components + // to be associated with any environments running in this account. For more + // information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + // An optional list of metadata items that you can associate with the Proton // environment account connection. A tag is a key-value pair. For more information, // see Proton resources and tagging diff --git a/service/proton/api_op_CreateServiceTemplateVersion.go b/service/proton/api_op_CreateServiceTemplateVersion.go index 14af9c81372..b9176e331c4 100644 --- a/service/proton/api_op_CreateServiceTemplateVersion.go +++ b/service/proton/api_op_CreateServiceTemplateVersion.go @@ -33,8 +33,9 @@ func (c *Client) CreateServiceTemplateVersion(ctx context.Context, params *Creat type CreateServiceTemplateVersionInput struct { - // An array of compatible environment template objects for the new version of a - // service template. + // An array of environment template objects that are compatible with the new + // service template version. A service instance based on this service template + // version can run in environments based on compatible templates. // // This member is required. CompatibleEnvironmentTemplates []types.CompatibleEnvironmentTemplateInput @@ -62,6 +63,13 @@ type CreateServiceTemplateVersionInput struct { // Version. MajorVersion *string + // An array of supported component sources. Components with supported sources can + // be attached to service instances based on this service template version. For + // more information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + SupportedComponentSources []types.ServiceTemplateSupportedComponentSourceType + // An optional list of metadata items that you can associate with the Proton // service template version. A tag is a key-value pair. For more information, see // Proton resources and tagging in the Proton Administrator Guide diff --git a/service/proton/api_op_DeleteComponent.go b/service/proton/api_op_DeleteComponent.go new file mode 100644 index 00000000000..8b84899949f --- /dev/null +++ b/service/proton/api_op_DeleteComponent.go @@ -0,0 +1,124 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Delete an Proton component resource. For more information about components, see +// Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) DeleteComponent(ctx context.Context, params *DeleteComponentInput, optFns ...func(*Options)) (*DeleteComponentOutput, error) { + if params == nil { + params = &DeleteComponentInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteComponent", params, optFns, c.addOperationDeleteComponentMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteComponentOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteComponentInput struct { + + // The name of the component to delete. + // + // This member is required. + Name *string + + noSmithyDocumentSerde +} + +type DeleteComponentOutput struct { + + // The detailed data of the component being deleted. + Component *types.Component + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpDeleteComponent{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpDeleteComponent{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteComponentValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteComponent(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteComponent(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteComponent", + } +} diff --git a/service/proton/api_op_DeleteEnvironment.go b/service/proton/api_op_DeleteEnvironment.go index 4652c709dba..43d1e6a49f6 100644 --- a/service/proton/api_op_DeleteEnvironment.go +++ b/service/proton/api_op_DeleteEnvironment.go @@ -39,7 +39,7 @@ type DeleteEnvironmentInput struct { type DeleteEnvironmentOutput struct { - // The environment detail data that's returned by Proton. + // The detailed data of the environment being deleted. Environment *types.Environment // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_DeleteEnvironmentAccountConnection.go b/service/proton/api_op_DeleteEnvironmentAccountConnection.go index 60e11963395..951ccc68958 100644 --- a/service/proton/api_op_DeleteEnvironmentAccountConnection.go +++ b/service/proton/api_op_DeleteEnvironmentAccountConnection.go @@ -47,7 +47,7 @@ type DeleteEnvironmentAccountConnectionInput struct { type DeleteEnvironmentAccountConnectionOutput struct { - // The environment account connection detail data that's returned by Proton. + // The detailed data of the environment account connection being deleted. EnvironmentAccountConnection *types.EnvironmentAccountConnection // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_DeleteEnvironmentTemplate.go b/service/proton/api_op_DeleteEnvironmentTemplate.go index 506ae325707..58f3f335ed6 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplate.go +++ b/service/proton/api_op_DeleteEnvironmentTemplate.go @@ -40,7 +40,7 @@ type DeleteEnvironmentTemplateInput struct { type DeleteEnvironmentTemplateOutput struct { - // The environment template detail data that's returned by Proton. + // The detailed data of the environment template being deleted. EnvironmentTemplate *types.EnvironmentTemplate // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go index 21e6853f7af..5b9fae7c403 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go +++ b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go @@ -57,7 +57,7 @@ type DeleteEnvironmentTemplateVersionInput struct { type DeleteEnvironmentTemplateVersionOutput struct { - // The environment template version detail data that's returned by Proton. + // The detailed data of the environment template version being deleted. EnvironmentTemplateVersion *types.EnvironmentTemplateVersion // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_DeleteService.go b/service/proton/api_op_DeleteService.go index 7c4fc26b2fe..48f78b7c3aa 100644 --- a/service/proton/api_op_DeleteService.go +++ b/service/proton/api_op_DeleteService.go @@ -11,7 +11,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Delete a service. +// Delete a service, with its instances and pipeline. You can't delete a service if +// it has any service instances that have components attached to them. For more +// information about components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. func (c *Client) DeleteService(ctx context.Context, params *DeleteServiceInput, optFns ...func(*Options)) (*DeleteServiceOutput, error) { if params == nil { params = &DeleteServiceInput{} @@ -39,7 +43,7 @@ type DeleteServiceInput struct { type DeleteServiceOutput struct { - // The service detail data that's returned by Proton. + // The detailed data of the service being deleted. Service *types.Service // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_DeleteServiceTemplate.go b/service/proton/api_op_DeleteServiceTemplate.go index 18728662d2f..d8defd9af0a 100644 --- a/service/proton/api_op_DeleteServiceTemplate.go +++ b/service/proton/api_op_DeleteServiceTemplate.go @@ -40,7 +40,7 @@ type DeleteServiceTemplateInput struct { type DeleteServiceTemplateOutput struct { - // The service template detail data that's returned by Proton. + // The detailed data of the service template being deleted. ServiceTemplate *types.ServiceTemplate // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_DeleteServiceTemplateVersion.go b/service/proton/api_op_DeleteServiceTemplateVersion.go index 3e41473c34b..2ae569eb213 100644 --- a/service/proton/api_op_DeleteServiceTemplateVersion.go +++ b/service/proton/api_op_DeleteServiceTemplateVersion.go @@ -57,7 +57,7 @@ type DeleteServiceTemplateVersionInput struct { type DeleteServiceTemplateVersionOutput struct { - // The service template version detail data that's returned by Proton. + // The detailed data of the service template version being deleted. ServiceTemplateVersion *types.ServiceTemplateVersion // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_GetComponent.go b/service/proton/api_op_GetComponent.go new file mode 100644 index 00000000000..7d227981a5f --- /dev/null +++ b/service/proton/api_op_GetComponent.go @@ -0,0 +1,481 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + "errors" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithytime "github.com/aws/smithy-go/time" + smithyhttp "github.com/aws/smithy-go/transport/http" + smithywaiter "github.com/aws/smithy-go/waiter" + "github.com/jmespath/go-jmespath" + "time" +) + +// Get detailed data for a component. For more information about components, see +// Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) GetComponent(ctx context.Context, params *GetComponentInput, optFns ...func(*Options)) (*GetComponentOutput, error) { + if params == nil { + params = &GetComponentInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetComponent", params, optFns, c.addOperationGetComponentMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetComponentOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetComponentInput struct { + + // The name of the component that you want to get the detailed data for. + // + // This member is required. + Name *string + + noSmithyDocumentSerde +} + +type GetComponentOutput struct { + + // The detailed data of the requested component. + Component *types.Component + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpGetComponent{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpGetComponent{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetComponentValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComponent(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// GetComponentAPIClient is a client that implements the GetComponent operation. +type GetComponentAPIClient interface { + GetComponent(context.Context, *GetComponentInput, ...func(*Options)) (*GetComponentOutput, error) +} + +var _ GetComponentAPIClient = (*Client)(nil) + +// ComponentDeployedWaiterOptions are waiter options for ComponentDeployedWaiter +type ComponentDeployedWaiterOptions struct { + + // Set of options to modify how an operation is invoked. These apply to all + // operations invoked for this client. Use functional options on operation call to + // modify this list for per operation behavior. + APIOptions []func(*middleware.Stack) error + + // MinDelay is the minimum amount of time to delay between retries. If unset, + // ComponentDeployedWaiter will use default minimum delay of 5 seconds. Note that + // MinDelay must resolve to a value lesser than or equal to the MaxDelay. + MinDelay time.Duration + + // MaxDelay is the maximum amount of time to delay between retries. If unset or set + // to zero, ComponentDeployedWaiter will use default max delay of 4999 seconds. + // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. + MaxDelay time.Duration + + // LogWaitAttempts is used to enable logging for waiter retry attempts + LogWaitAttempts bool + + // Retryable is function that can be used to override the service defined + // waiter-behavior based on operation output, or returned error. This function is + // used by the waiter to decide if a state is retryable or a terminal state. By + // default service-modeled logic will populate this option. This option can thus be + // used to define a custom waiter state with fall-back to service-modeled waiter + // state mutators.The function returns an error in case of a failure state. In case + // of retry state, this function returns a bool value of true and nil error, while + // in case of success it returns a bool value of false and nil error. + Retryable func(context.Context, *GetComponentInput, *GetComponentOutput, error) (bool, error) +} + +// ComponentDeployedWaiter defines the waiters for ComponentDeployed +type ComponentDeployedWaiter struct { + client GetComponentAPIClient + + options ComponentDeployedWaiterOptions +} + +// NewComponentDeployedWaiter constructs a ComponentDeployedWaiter. +func NewComponentDeployedWaiter(client GetComponentAPIClient, optFns ...func(*ComponentDeployedWaiterOptions)) *ComponentDeployedWaiter { + options := ComponentDeployedWaiterOptions{} + options.MinDelay = 5 * time.Second + options.MaxDelay = 4999 * time.Second + options.Retryable = componentDeployedStateRetryable + + for _, fn := range optFns { + fn(&options) + } + return &ComponentDeployedWaiter{ + client: client, + options: options, + } +} + +// Wait calls the waiter function for ComponentDeployed waiter. The maxWaitDur is +// the maximum wait duration the waiter will wait. The maxWaitDur is required and +// must be greater than zero. +func (w *ComponentDeployedWaiter) Wait(ctx context.Context, params *GetComponentInput, maxWaitDur time.Duration, optFns ...func(*ComponentDeployedWaiterOptions)) error { + _, err := w.WaitForOutput(ctx, params, maxWaitDur, optFns...) + return err +} + +// WaitForOutput calls the waiter function for ComponentDeployed waiter and returns +// the output of the successful operation. The maxWaitDur is the maximum wait +// duration the waiter will wait. The maxWaitDur is required and must be greater +// than zero. +func (w *ComponentDeployedWaiter) WaitForOutput(ctx context.Context, params *GetComponentInput, maxWaitDur time.Duration, optFns ...func(*ComponentDeployedWaiterOptions)) (*GetComponentOutput, error) { + if maxWaitDur <= 0 { + return nil, fmt.Errorf("maximum wait time for waiter must be greater than zero") + } + + options := w.options + for _, fn := range optFns { + fn(&options) + } + + if options.MaxDelay <= 0 { + options.MaxDelay = 4999 * time.Second + } + + if options.MinDelay > options.MaxDelay { + return nil, fmt.Errorf("minimum waiter delay %v must be lesser than or equal to maximum waiter delay of %v.", options.MinDelay, options.MaxDelay) + } + + ctx, cancelFn := context.WithTimeout(ctx, maxWaitDur) + defer cancelFn() + + logger := smithywaiter.Logger{} + remainingTime := maxWaitDur + + var attempt int64 + for { + + attempt++ + apiOptions := options.APIOptions + start := time.Now() + + if options.LogWaitAttempts { + logger.Attempt = attempt + apiOptions = append([]func(*middleware.Stack) error{}, options.APIOptions...) + apiOptions = append(apiOptions, logger.AddLogger) + } + + out, err := w.client.GetComponent(ctx, params, func(o *Options) { + o.APIOptions = append(o.APIOptions, apiOptions...) + }) + + retryable, err := options.Retryable(ctx, params, out, err) + if err != nil { + return nil, err + } + if !retryable { + return out, nil + } + + remainingTime -= time.Since(start) + if remainingTime < options.MinDelay || remainingTime <= 0 { + break + } + + // compute exponential backoff between waiter retries + delay, err := smithywaiter.ComputeDelay( + attempt, options.MinDelay, options.MaxDelay, remainingTime, + ) + if err != nil { + return nil, fmt.Errorf("error computing waiter delay, %w", err) + } + + remainingTime -= delay + // sleep for the delay amount before invoking a request + if err := smithytime.SleepWithContext(ctx, delay); err != nil { + return nil, fmt.Errorf("request cancelled while waiting, %w", err) + } + } + return nil, fmt.Errorf("exceeded max wait time for ComponentDeployed waiter") +} + +func componentDeployedStateRetryable(ctx context.Context, input *GetComponentInput, output *GetComponentOutput, err error) (bool, error) { + + if err == nil { + pathValue, err := jmespath.Search("component.deploymentStatus", output) + if err != nil { + return false, fmt.Errorf("error evaluating waiter state: %w", err) + } + + expectedValue := "SUCCEEDED" + value, ok := pathValue.(types.DeploymentStatus) + if !ok { + return false, fmt.Errorf("waiter comparator expected types.DeploymentStatus value, got %T", pathValue) + } + + if string(value) == expectedValue { + return false, nil + } + } + + if err == nil { + pathValue, err := jmespath.Search("component.deploymentStatus", output) + if err != nil { + return false, fmt.Errorf("error evaluating waiter state: %w", err) + } + + expectedValue := "FAILED" + value, ok := pathValue.(types.DeploymentStatus) + if !ok { + return false, fmt.Errorf("waiter comparator expected types.DeploymentStatus value, got %T", pathValue) + } + + if string(value) == expectedValue { + return false, fmt.Errorf("waiter state transitioned to Failure") + } + } + + return true, nil +} + +// ComponentDeletedWaiterOptions are waiter options for ComponentDeletedWaiter +type ComponentDeletedWaiterOptions struct { + + // Set of options to modify how an operation is invoked. These apply to all + // operations invoked for this client. Use functional options on operation call to + // modify this list for per operation behavior. + APIOptions []func(*middleware.Stack) error + + // MinDelay is the minimum amount of time to delay between retries. If unset, + // ComponentDeletedWaiter will use default minimum delay of 5 seconds. Note that + // MinDelay must resolve to a value lesser than or equal to the MaxDelay. + MinDelay time.Duration + + // MaxDelay is the maximum amount of time to delay between retries. If unset or set + // to zero, ComponentDeletedWaiter will use default max delay of 4999 seconds. Note + // that MaxDelay must resolve to value greater than or equal to the MinDelay. + MaxDelay time.Duration + + // LogWaitAttempts is used to enable logging for waiter retry attempts + LogWaitAttempts bool + + // Retryable is function that can be used to override the service defined + // waiter-behavior based on operation output, or returned error. This function is + // used by the waiter to decide if a state is retryable or a terminal state. By + // default service-modeled logic will populate this option. This option can thus be + // used to define a custom waiter state with fall-back to service-modeled waiter + // state mutators.The function returns an error in case of a failure state. In case + // of retry state, this function returns a bool value of true and nil error, while + // in case of success it returns a bool value of false and nil error. + Retryable func(context.Context, *GetComponentInput, *GetComponentOutput, error) (bool, error) +} + +// ComponentDeletedWaiter defines the waiters for ComponentDeleted +type ComponentDeletedWaiter struct { + client GetComponentAPIClient + + options ComponentDeletedWaiterOptions +} + +// NewComponentDeletedWaiter constructs a ComponentDeletedWaiter. +func NewComponentDeletedWaiter(client GetComponentAPIClient, optFns ...func(*ComponentDeletedWaiterOptions)) *ComponentDeletedWaiter { + options := ComponentDeletedWaiterOptions{} + options.MinDelay = 5 * time.Second + options.MaxDelay = 4999 * time.Second + options.Retryable = componentDeletedStateRetryable + + for _, fn := range optFns { + fn(&options) + } + return &ComponentDeletedWaiter{ + client: client, + options: options, + } +} + +// Wait calls the waiter function for ComponentDeleted waiter. The maxWaitDur is +// the maximum wait duration the waiter will wait. The maxWaitDur is required and +// must be greater than zero. +func (w *ComponentDeletedWaiter) Wait(ctx context.Context, params *GetComponentInput, maxWaitDur time.Duration, optFns ...func(*ComponentDeletedWaiterOptions)) error { + _, err := w.WaitForOutput(ctx, params, maxWaitDur, optFns...) + return err +} + +// WaitForOutput calls the waiter function for ComponentDeleted waiter and returns +// the output of the successful operation. The maxWaitDur is the maximum wait +// duration the waiter will wait. The maxWaitDur is required and must be greater +// than zero. +func (w *ComponentDeletedWaiter) WaitForOutput(ctx context.Context, params *GetComponentInput, maxWaitDur time.Duration, optFns ...func(*ComponentDeletedWaiterOptions)) (*GetComponentOutput, error) { + if maxWaitDur <= 0 { + return nil, fmt.Errorf("maximum wait time for waiter must be greater than zero") + } + + options := w.options + for _, fn := range optFns { + fn(&options) + } + + if options.MaxDelay <= 0 { + options.MaxDelay = 4999 * time.Second + } + + if options.MinDelay > options.MaxDelay { + return nil, fmt.Errorf("minimum waiter delay %v must be lesser than or equal to maximum waiter delay of %v.", options.MinDelay, options.MaxDelay) + } + + ctx, cancelFn := context.WithTimeout(ctx, maxWaitDur) + defer cancelFn() + + logger := smithywaiter.Logger{} + remainingTime := maxWaitDur + + var attempt int64 + for { + + attempt++ + apiOptions := options.APIOptions + start := time.Now() + + if options.LogWaitAttempts { + logger.Attempt = attempt + apiOptions = append([]func(*middleware.Stack) error{}, options.APIOptions...) + apiOptions = append(apiOptions, logger.AddLogger) + } + + out, err := w.client.GetComponent(ctx, params, func(o *Options) { + o.APIOptions = append(o.APIOptions, apiOptions...) + }) + + retryable, err := options.Retryable(ctx, params, out, err) + if err != nil { + return nil, err + } + if !retryable { + return out, nil + } + + remainingTime -= time.Since(start) + if remainingTime < options.MinDelay || remainingTime <= 0 { + break + } + + // compute exponential backoff between waiter retries + delay, err := smithywaiter.ComputeDelay( + attempt, options.MinDelay, options.MaxDelay, remainingTime, + ) + if err != nil { + return nil, fmt.Errorf("error computing waiter delay, %w", err) + } + + remainingTime -= delay + // sleep for the delay amount before invoking a request + if err := smithytime.SleepWithContext(ctx, delay); err != nil { + return nil, fmt.Errorf("request cancelled while waiting, %w", err) + } + } + return nil, fmt.Errorf("exceeded max wait time for ComponentDeleted waiter") +} + +func componentDeletedStateRetryable(ctx context.Context, input *GetComponentInput, output *GetComponentOutput, err error) (bool, error) { + + if err != nil { + var errorType *types.ResourceNotFoundException + if errors.As(err, &errorType) { + return false, nil + } + } + + if err == nil { + pathValue, err := jmespath.Search("component.deploymentStatus", output) + if err != nil { + return false, fmt.Errorf("error evaluating waiter state: %w", err) + } + + expectedValue := "DELETE_FAILED" + value, ok := pathValue.(types.DeploymentStatus) + if !ok { + return false, fmt.Errorf("waiter comparator expected types.DeploymentStatus value, got %T", pathValue) + } + + if string(value) == expectedValue { + return false, fmt.Errorf("waiter state transitioned to Failure") + } + } + + return true, nil +} + +func newServiceMetadataMiddleware_opGetComponent(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetComponent", + } +} diff --git a/service/proton/api_op_GetEnvironment.go b/service/proton/api_op_GetEnvironment.go index 3adec964278..ac34dcfc17a 100644 --- a/service/proton/api_op_GetEnvironment.go +++ b/service/proton/api_op_GetEnvironment.go @@ -16,7 +16,7 @@ import ( "time" ) -// Get detail data for an environment. +// Get detailed data for an environment. func (c *Client) GetEnvironment(ctx context.Context, params *GetEnvironmentInput, optFns ...func(*Options)) (*GetEnvironmentOutput, error) { if params == nil { params = &GetEnvironmentInput{} @@ -34,7 +34,7 @@ func (c *Client) GetEnvironment(ctx context.Context, params *GetEnvironmentInput type GetEnvironmentInput struct { - // The name of the environment that you want to get the detail data for. + // The name of the environment that you want to get the detailed data for. // // This member is required. Name *string @@ -44,7 +44,7 @@ type GetEnvironmentInput struct { type GetEnvironmentOutput struct { - // The environment detail data that's returned by Proton. + // The detailed data of the requested environment. // // This member is required. Environment *types.Environment diff --git a/service/proton/api_op_GetEnvironmentAccountConnection.go b/service/proton/api_op_GetEnvironmentAccountConnection.go index 571039c4059..592d5fdbc66 100644 --- a/service/proton/api_op_GetEnvironmentAccountConnection.go +++ b/service/proton/api_op_GetEnvironmentAccountConnection.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// In an environment account, view the detail data for an environment account +// In an environment account, get the detailed data for an environment account // connection. For more information, see Environment account connections // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html) // in the Proton Administrator guide. @@ -32,7 +32,8 @@ func (c *Client) GetEnvironmentAccountConnection(ctx context.Context, params *Ge type GetEnvironmentAccountConnectionInput struct { - // The ID of the environment account connection. + // The ID of the environment account connection that you want to get the detailed + // data for. // // This member is required. Id *string @@ -42,7 +43,7 @@ type GetEnvironmentAccountConnectionInput struct { type GetEnvironmentAccountConnectionOutput struct { - // The environment account connection detail data that's returned by Proton. + // The detailed data of the requested environment account connection. // // This member is required. EnvironmentAccountConnection *types.EnvironmentAccountConnection diff --git a/service/proton/api_op_GetEnvironmentTemplate.go b/service/proton/api_op_GetEnvironmentTemplate.go index c458dc03acf..dac3ca973fd 100644 --- a/service/proton/api_op_GetEnvironmentTemplate.go +++ b/service/proton/api_op_GetEnvironmentTemplate.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Get detail data for an environment template. +// Get detailed data for an environment template. func (c *Client) GetEnvironmentTemplate(ctx context.Context, params *GetEnvironmentTemplateInput, optFns ...func(*Options)) (*GetEnvironmentTemplateOutput, error) { if params == nil { params = &GetEnvironmentTemplateInput{} @@ -29,7 +29,7 @@ func (c *Client) GetEnvironmentTemplate(ctx context.Context, params *GetEnvironm type GetEnvironmentTemplateInput struct { - // The name of the environment template that you want to get the detail data for. + // The name of the environment template that you want to get the detailed data for. // // This member is required. Name *string @@ -39,7 +39,7 @@ type GetEnvironmentTemplateInput struct { type GetEnvironmentTemplateOutput struct { - // The environment template detail data that's returned by Proton. + // The detailed data of the requested environment template. // // This member is required. EnvironmentTemplate *types.EnvironmentTemplate diff --git a/service/proton/api_op_GetEnvironmentTemplateVersion.go b/service/proton/api_op_GetEnvironmentTemplateVersion.go index fd6a28b6ac1..c4e1d894cf0 100644 --- a/service/proton/api_op_GetEnvironmentTemplateVersion.go +++ b/service/proton/api_op_GetEnvironmentTemplateVersion.go @@ -16,7 +16,7 @@ import ( "time" ) -// View detail data for a major or minor version of an environment template. +// Get detailed data for a major or minor version of an environment template. func (c *Client) GetEnvironmentTemplateVersion(ctx context.Context, params *GetEnvironmentTemplateVersionInput, optFns ...func(*Options)) (*GetEnvironmentTemplateVersionOutput, error) { if params == nil { params = &GetEnvironmentTemplateVersionInput{} @@ -34,17 +34,18 @@ func (c *Client) GetEnvironmentTemplateVersion(ctx context.Context, params *GetE type GetEnvironmentTemplateVersionInput struct { - // To view environment template major version detail data, include major Version. + // To get environment template major version detail data, include major Version. // // This member is required. MajorVersion *string - // To view environment template minor version detail data, include minorVersion. + // To get environment template minor version detail data, include minorVersion. // // This member is required. MinorVersion *string - // The name of the environment template. + // The name of the environment template a version of which you want to get detailed + // data for.. // // This member is required. TemplateName *string @@ -54,7 +55,7 @@ type GetEnvironmentTemplateVersionInput struct { type GetEnvironmentTemplateVersionOutput struct { - // The environment template version detail data that's returned by Proton. + // The detailed data of the requested environment template version. // // This member is required. EnvironmentTemplateVersion *types.EnvironmentTemplateVersion diff --git a/service/proton/api_op_GetService.go b/service/proton/api_op_GetService.go index 86c7f621225..0f77eca2087 100644 --- a/service/proton/api_op_GetService.go +++ b/service/proton/api_op_GetService.go @@ -17,7 +17,7 @@ import ( "time" ) -// Get detail data for a service. +// Get detailed data for a service. func (c *Client) GetService(ctx context.Context, params *GetServiceInput, optFns ...func(*Options)) (*GetServiceOutput, error) { if params == nil { params = &GetServiceInput{} @@ -35,7 +35,7 @@ func (c *Client) GetService(ctx context.Context, params *GetServiceInput, optFns type GetServiceInput struct { - // The name of the service that you want to get the detail data for. + // The name of the service that you want to get the detailed data for. // // This member is required. Name *string @@ -45,7 +45,7 @@ type GetServiceInput struct { type GetServiceOutput struct { - // The service detail data that's returned by Proton. + // The detailed data of the requested service. Service *types.Service // Metadata pertaining to the operation's result. diff --git a/service/proton/api_op_GetServiceInstance.go b/service/proton/api_op_GetServiceInstance.go index b0f85b63e82..a0ac119ec05 100644 --- a/service/proton/api_op_GetServiceInstance.go +++ b/service/proton/api_op_GetServiceInstance.go @@ -16,7 +16,7 @@ import ( "time" ) -// Get detail data for a service instance. A service instance is an instantiation +// Get detailed data for a service instance. A service instance is an instantiation // of service template and it runs in a specific environment. func (c *Client) GetServiceInstance(ctx context.Context, params *GetServiceInstanceInput, optFns ...func(*Options)) (*GetServiceInstanceOutput, error) { if params == nil { @@ -35,7 +35,7 @@ func (c *Client) GetServiceInstance(ctx context.Context, params *GetServiceInsta type GetServiceInstanceInput struct { - // The name of a service instance that you want to get the detail data for. + // The name of a service instance that you want to get the detailed data for. // // This member is required. Name *string @@ -50,7 +50,7 @@ type GetServiceInstanceInput struct { type GetServiceInstanceOutput struct { - // The service instance detail data that's returned by Proton. + // The detailed data of the requested service instance. // // This member is required. ServiceInstance *types.ServiceInstance diff --git a/service/proton/api_op_GetServiceTemplate.go b/service/proton/api_op_GetServiceTemplate.go index 5ab0de53754..dc5edd2277d 100644 --- a/service/proton/api_op_GetServiceTemplate.go +++ b/service/proton/api_op_GetServiceTemplate.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Get detail data for a service template. +// Get detailed data for a service template. func (c *Client) GetServiceTemplate(ctx context.Context, params *GetServiceTemplateInput, optFns ...func(*Options)) (*GetServiceTemplateOutput, error) { if params == nil { params = &GetServiceTemplateInput{} @@ -29,7 +29,7 @@ func (c *Client) GetServiceTemplate(ctx context.Context, params *GetServiceTempl type GetServiceTemplateInput struct { - // The name of the service template that you want to get detail data for. + // The name of the service template that you want to get detailed data for. // // This member is required. Name *string @@ -39,7 +39,7 @@ type GetServiceTemplateInput struct { type GetServiceTemplateOutput struct { - // The service template detail data that's returned by Proton. + // The detailed data of the requested service template. // // This member is required. ServiceTemplate *types.ServiceTemplate diff --git a/service/proton/api_op_GetServiceTemplateVersion.go b/service/proton/api_op_GetServiceTemplateVersion.go index bd26cd98014..3c8e4b45de2 100644 --- a/service/proton/api_op_GetServiceTemplateVersion.go +++ b/service/proton/api_op_GetServiceTemplateVersion.go @@ -16,7 +16,7 @@ import ( "time" ) -// View detail data for a major or minor version of a service template. +// Get detailed data for a major or minor version of a service template. func (c *Client) GetServiceTemplateVersion(ctx context.Context, params *GetServiceTemplateVersionInput, optFns ...func(*Options)) (*GetServiceTemplateVersionOutput, error) { if params == nil { params = &GetServiceTemplateVersionInput{} @@ -34,17 +34,18 @@ func (c *Client) GetServiceTemplateVersion(ctx context.Context, params *GetServi type GetServiceTemplateVersionInput struct { - // To view service template major version detail data, include major Version. + // To get service template major version detail data, include major Version. // // This member is required. MajorVersion *string - // To view service template minor version detail data, include minorVersion. + // To get service template minor version detail data, include minorVersion. // // This member is required. MinorVersion *string - // The name of the service template. + // The name of the service template a version of which you want to get detailed + // data for. // // This member is required. TemplateName *string @@ -54,7 +55,7 @@ type GetServiceTemplateVersionInput struct { type GetServiceTemplateVersionOutput struct { - // The service template version detail data that's returned by Proton. + // The detailed data of the requested service template version. // // This member is required. ServiceTemplateVersion *types.ServiceTemplateVersion diff --git a/service/proton/api_op_ListComponentOutputs.go b/service/proton/api_op_ListComponentOutputs.go new file mode 100644 index 00000000000..702bdfcea5b --- /dev/null +++ b/service/proton/api_op_ListComponentOutputs.go @@ -0,0 +1,214 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Get a list of component Infrastructure as Code (IaC) outputs. For more +// information about components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) ListComponentOutputs(ctx context.Context, params *ListComponentOutputsInput, optFns ...func(*Options)) (*ListComponentOutputsOutput, error) { + if params == nil { + params = &ListComponentOutputsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListComponentOutputs", params, optFns, c.addOperationListComponentOutputsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListComponentOutputsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListComponentOutputsInput struct { + + // The name of the component whose outputs you want. + // + // This member is required. + ComponentName *string + + // A token that indicates the location of the next output in the array of outputs, + // after the list of outputs that was previously requested. + NextToken *string + + noSmithyDocumentSerde +} + +type ListComponentOutputsOutput struct { + + // An array of component Infrastructure as Code (IaC) outputs. + // + // This member is required. + Outputs []types.Output + + // A token that indicates the location of the next output in the array of outputs, + // after the list of outputs that was previously requested. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListComponentOutputsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpListComponentOutputs{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpListComponentOutputs{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListComponentOutputsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponentOutputs(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListComponentOutputsAPIClient is a client that implements the +// ListComponentOutputs operation. +type ListComponentOutputsAPIClient interface { + ListComponentOutputs(context.Context, *ListComponentOutputsInput, ...func(*Options)) (*ListComponentOutputsOutput, error) +} + +var _ ListComponentOutputsAPIClient = (*Client)(nil) + +// ListComponentOutputsPaginatorOptions is the paginator options for +// ListComponentOutputs +type ListComponentOutputsPaginatorOptions struct { + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListComponentOutputsPaginator is a paginator for ListComponentOutputs +type ListComponentOutputsPaginator struct { + options ListComponentOutputsPaginatorOptions + client ListComponentOutputsAPIClient + params *ListComponentOutputsInput + nextToken *string + firstPage bool +} + +// NewListComponentOutputsPaginator returns a new ListComponentOutputsPaginator +func NewListComponentOutputsPaginator(client ListComponentOutputsAPIClient, params *ListComponentOutputsInput, optFns ...func(*ListComponentOutputsPaginatorOptions)) *ListComponentOutputsPaginator { + if params == nil { + params = &ListComponentOutputsInput{} + } + + options := ListComponentOutputsPaginatorOptions{} + + for _, fn := range optFns { + fn(&options) + } + + return &ListComponentOutputsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListComponentOutputsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListComponentOutputs page. +func (p *ListComponentOutputsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListComponentOutputsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + result, err := p.client.ListComponentOutputs(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListComponentOutputs(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListComponentOutputs", + } +} diff --git a/service/proton/api_op_ListComponentProvisionedResources.go b/service/proton/api_op_ListComponentProvisionedResources.go new file mode 100644 index 00000000000..b2693741dbc --- /dev/null +++ b/service/proton/api_op_ListComponentProvisionedResources.go @@ -0,0 +1,218 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// List provisioned resources for a component with details. For more information +// about components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) ListComponentProvisionedResources(ctx context.Context, params *ListComponentProvisionedResourcesInput, optFns ...func(*Options)) (*ListComponentProvisionedResourcesOutput, error) { + if params == nil { + params = &ListComponentProvisionedResourcesInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListComponentProvisionedResources", params, optFns, c.addOperationListComponentProvisionedResourcesMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListComponentProvisionedResourcesOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListComponentProvisionedResourcesInput struct { + + // The name of the component whose provisioned resources you want. + // + // This member is required. + ComponentName *string + + // A token that indicates the location of the next provisioned resource in the + // array of provisioned resources, after the list of provisioned resources that was + // previously requested. + NextToken *string + + noSmithyDocumentSerde +} + +type ListComponentProvisionedResourcesOutput struct { + + // An array of provisioned resources for a component. + // + // This member is required. + ProvisionedResources []types.ProvisionedResource + + // A token that indicates the location of the next provisioned resource in the + // array of provisioned resources, after the current requested list of provisioned + // resources. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListComponentProvisionedResourcesMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpListComponentProvisionedResources{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpListComponentProvisionedResources{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListComponentProvisionedResourcesValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponentProvisionedResources(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListComponentProvisionedResourcesAPIClient is a client that implements the +// ListComponentProvisionedResources operation. +type ListComponentProvisionedResourcesAPIClient interface { + ListComponentProvisionedResources(context.Context, *ListComponentProvisionedResourcesInput, ...func(*Options)) (*ListComponentProvisionedResourcesOutput, error) +} + +var _ ListComponentProvisionedResourcesAPIClient = (*Client)(nil) + +// ListComponentProvisionedResourcesPaginatorOptions is the paginator options for +// ListComponentProvisionedResources +type ListComponentProvisionedResourcesPaginatorOptions struct { + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListComponentProvisionedResourcesPaginator is a paginator for +// ListComponentProvisionedResources +type ListComponentProvisionedResourcesPaginator struct { + options ListComponentProvisionedResourcesPaginatorOptions + client ListComponentProvisionedResourcesAPIClient + params *ListComponentProvisionedResourcesInput + nextToken *string + firstPage bool +} + +// NewListComponentProvisionedResourcesPaginator returns a new +// ListComponentProvisionedResourcesPaginator +func NewListComponentProvisionedResourcesPaginator(client ListComponentProvisionedResourcesAPIClient, params *ListComponentProvisionedResourcesInput, optFns ...func(*ListComponentProvisionedResourcesPaginatorOptions)) *ListComponentProvisionedResourcesPaginator { + if params == nil { + params = &ListComponentProvisionedResourcesInput{} + } + + options := ListComponentProvisionedResourcesPaginatorOptions{} + + for _, fn := range optFns { + fn(&options) + } + + return &ListComponentProvisionedResourcesPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListComponentProvisionedResourcesPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListComponentProvisionedResources page. +func (p *ListComponentProvisionedResourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListComponentProvisionedResourcesOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + result, err := p.client.ListComponentProvisionedResources(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListComponentProvisionedResources(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListComponentProvisionedResources", + } +} diff --git a/service/proton/api_op_ListComponents.go b/service/proton/api_op_ListComponents.go new file mode 100644 index 00000000000..bcd207fbda5 --- /dev/null +++ b/service/proton/api_op_ListComponents.go @@ -0,0 +1,233 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// List components with summary data. You can filter the result list by +// environment, service, or a single service instance. For more information about +// components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) ListComponents(ctx context.Context, params *ListComponentsInput, optFns ...func(*Options)) (*ListComponentsOutput, error) { + if params == nil { + params = &ListComponentsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListComponents", params, optFns, c.addOperationListComponentsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListComponentsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListComponentsInput struct { + + // The name of an environment for result list filtering. Proton returns components + // associated with the environment or attached to service instances running in it. + EnvironmentName *string + + // The maximum number of components to list. + MaxResults *int32 + + // A token that indicates the location of the next component in the array of + // components, after the list of components that was previously requested. + NextToken *string + + // The name of a service instance for result list filtering. Proton returns the + // component attached to the service instance, if any. + ServiceInstanceName *string + + // The name of a service for result list filtering. Proton returns components + // attached to service instances of the service. + ServiceName *string + + noSmithyDocumentSerde +} + +type ListComponentsOutput struct { + + // An array of components with summary data. + // + // This member is required. + Components []types.ComponentSummary + + // A token that indicates the location of the next component in the array of + // components, after the current requested list of components. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpListComponents{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpListComponents{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListComponentsAPIClient is a client that implements the ListComponents +// operation. +type ListComponentsAPIClient interface { + ListComponents(context.Context, *ListComponentsInput, ...func(*Options)) (*ListComponentsOutput, error) +} + +var _ ListComponentsAPIClient = (*Client)(nil) + +// ListComponentsPaginatorOptions is the paginator options for ListComponents +type ListComponentsPaginatorOptions struct { + // The maximum number of components to list. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListComponentsPaginator is a paginator for ListComponents +type ListComponentsPaginator struct { + options ListComponentsPaginatorOptions + client ListComponentsAPIClient + params *ListComponentsInput + nextToken *string + firstPage bool +} + +// NewListComponentsPaginator returns a new ListComponentsPaginator +func NewListComponentsPaginator(client ListComponentsAPIClient, params *ListComponentsInput, optFns ...func(*ListComponentsPaginatorOptions)) *ListComponentsPaginator { + if params == nil { + params = &ListComponentsInput{} + } + + options := ListComponentsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListComponentsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListComponentsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListComponents page. +func (p *ListComponentsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListComponentsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListComponents(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListComponents(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListComponents", + } +} diff --git a/service/proton/api_op_ListServiceInstanceOutputs.go b/service/proton/api_op_ListServiceInstanceOutputs.go index 3e7214291c0..bb2755b7d24 100644 --- a/service/proton/api_op_ListServiceInstanceOutputs.go +++ b/service/proton/api_op_ListServiceInstanceOutputs.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// View a list service instance infrastructure as code outputs with detail data. +// Get a list service of instance Infrastructure as Code (IaC) outputs. func (c *Client) ListServiceInstanceOutputs(ctx context.Context, params *ListServiceInstanceOutputsInput, optFns ...func(*Options)) (*ListServiceInstanceOutputsOutput, error) { if params == nil { params = &ListServiceInstanceOutputsInput{} @@ -30,12 +30,12 @@ func (c *Client) ListServiceInstanceOutputs(ctx context.Context, params *ListSer type ListServiceInstanceOutputsInput struct { - // The service instance name. + // The name of the service instance whose outputs you want. // // This member is required. ServiceInstanceName *string - // The service name. + // The name of the service that serviceInstanceName is associated to. // // This member is required. ServiceName *string @@ -49,7 +49,7 @@ type ListServiceInstanceOutputsInput struct { type ListServiceInstanceOutputsOutput struct { - // An array of service instance infrastructure as code outputs. + // An array of service instance Infrastructure as Code (IaC) outputs. // // This member is required. Outputs []types.Output diff --git a/service/proton/api_op_ListServiceInstanceProvisionedResources.go b/service/proton/api_op_ListServiceInstanceProvisionedResources.go index bf7877e4061..1f154b5fd0b 100644 --- a/service/proton/api_op_ListServiceInstanceProvisionedResources.go +++ b/service/proton/api_op_ListServiceInstanceProvisionedResources.go @@ -30,12 +30,12 @@ func (c *Client) ListServiceInstanceProvisionedResources(ctx context.Context, pa type ListServiceInstanceProvisionedResourcesInput struct { - // The service instance name. + // The name of the service instance whose provisioned resources you want. // // This member is required. ServiceInstanceName *string - // The service name. + // The name of the service that serviceInstanceName is associated to. // // This member is required. ServiceName *string diff --git a/service/proton/api_op_ListServiceInstances.go b/service/proton/api_op_ListServiceInstances.go index c594455cf6e..e6da5de6fc6 100644 --- a/service/proton/api_op_ListServiceInstances.go +++ b/service/proton/api_op_ListServiceInstances.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// List service instances with summaries of detail data. +// List service instances with summary data. func (c *Client) ListServiceInstances(ctx context.Context, params *ListServiceInstancesInput, optFns ...func(*Options)) (*ListServiceInstancesOutput, error) { if params == nil { params = &ListServiceInstancesInput{} @@ -45,7 +45,7 @@ type ListServiceInstancesInput struct { type ListServiceInstancesOutput struct { - // An array of service instances with summaries of detail data. + // An array of service instances with summary data. // // This member is required. ServiceInstances []types.ServiceInstanceSummary diff --git a/service/proton/api_op_ListServicePipelineOutputs.go b/service/proton/api_op_ListServicePipelineOutputs.go index b098baf6222..36b9edec154 100644 --- a/service/proton/api_op_ListServicePipelineOutputs.go +++ b/service/proton/api_op_ListServicePipelineOutputs.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// View a list service pipeline infrastructure as code outputs with detail. +// Get a list of service pipeline Infrastructure as Code (IaC) outputs. func (c *Client) ListServicePipelineOutputs(ctx context.Context, params *ListServicePipelineOutputsInput, optFns ...func(*Options)) (*ListServicePipelineOutputsOutput, error) { if params == nil { params = &ListServicePipelineOutputsInput{} @@ -30,7 +30,7 @@ func (c *Client) ListServicePipelineOutputs(ctx context.Context, params *ListSer type ListServicePipelineOutputsInput struct { - // The service name. + // The name of the service whose pipeline's outputs you want. // // This member is required. ServiceName *string @@ -44,7 +44,7 @@ type ListServicePipelineOutputsInput struct { type ListServicePipelineOutputsOutput struct { - // An array of outputs. + // An array of service pipeline Infrastructure as Code (IaC) outputs. // // This member is required. Outputs []types.Output diff --git a/service/proton/api_op_ListServicePipelineProvisionedResources.go b/service/proton/api_op_ListServicePipelineProvisionedResources.go index 3e3449cc553..2c2b14b8b69 100644 --- a/service/proton/api_op_ListServicePipelineProvisionedResources.go +++ b/service/proton/api_op_ListServicePipelineProvisionedResources.go @@ -30,7 +30,7 @@ func (c *Client) ListServicePipelineProvisionedResources(ctx context.Context, pa type ListServicePipelineProvisionedResourcesInput struct { - // The service name. + // The name of the service whose pipeline's provisioned resources you want. // // This member is required. ServiceName *string diff --git a/service/proton/api_op_UpdateComponent.go b/service/proton/api_op_UpdateComponent.go new file mode 100644 index 00000000000..82bbba0c9eb --- /dev/null +++ b/service/proton/api_op_UpdateComponent.go @@ -0,0 +1,168 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package proton + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/proton/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Update a component. There are a few modes for updating a component. The +// deploymentType field defines the mode. You can't update a component while its +// deployment status, or the deployment status of a service instance attached to +// it, is IN_PROGRESS. For more information about components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +func (c *Client) UpdateComponent(ctx context.Context, params *UpdateComponentInput, optFns ...func(*Options)) (*UpdateComponentOutput, error) { + if params == nil { + params = &UpdateComponentInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateComponent", params, optFns, c.addOperationUpdateComponentMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateComponentOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateComponentInput struct { + + // The deployment type. It defines the mode for updating a component, as follows: + // NONE In this mode, a deployment doesn't occur. Only the requested metadata + // parameters are updated. You can only specify description in this mode. + // CURRENT_VERSION In this mode, the component is deployed and updated with the new + // serviceSpec, templateSource, and/or type that you provide. Only requested + // parameters are updated. + // + // This member is required. + DeploymentType types.ComponentDeploymentUpdateType + + // The name of the component to update. + // + // This member is required. + Name *string + + // An optional customer-provided description of the component. + Description *string + + // The name of the service instance that you want to attach this component to. + // Don't specify to keep the component's current service instance attachment. + // Specify an empty string to detach the component from the service instance it's + // attached to. Specify non-empty values for both serviceInstanceName and + // serviceName or for neither of them. + ServiceInstanceName *string + + // The name of the service that serviceInstanceName is associated with. Don't + // specify to keep the component's current service instance attachment. Specify an + // empty string to detach the component from the service instance it's attached to. + // Specify non-empty values for both serviceInstanceName and serviceName or for + // neither of them. + ServiceName *string + + // The service spec that you want the component to use to access service inputs. + // Set this only when the component is attached to a service instance. + // + // This value conforms to the media type: application/yaml + ServiceSpec *string + + // A path to the Infrastructure as Code (IaC) file describing infrastructure that a + // custom component provisions. Components support a single IaC file, even if you + // use Terraform as your template language. + // + // This value conforms to the media type: application/yaml + TemplateFile *string + + noSmithyDocumentSerde +} + +type UpdateComponentOutput struct { + + // The detailed data of the updated component. + // + // This member is required. + Component *types.Component + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateComponentMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson10_serializeOpUpdateComponent{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson10_deserializeOpUpdateComponent{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateComponentValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateComponent(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateComponent(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateComponent", + } +} diff --git a/service/proton/api_op_UpdateEnvironment.go b/service/proton/api_op_UpdateEnvironment.go index d42bc6d2e64..15e4fd0a30d 100644 --- a/service/proton/api_op_UpdateEnvironment.go +++ b/service/proton/api_op_UpdateEnvironment.go @@ -84,6 +84,16 @@ type UpdateEnvironmentInput struct { // This member is required. Name *string + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in this environment. It determines the + // scope of infrastructure that a component can provision. The environment must + // have a componentRoleArn to allow directly defined components to be associated + // with the environment. For more information about components, see Proton + // components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + // A description of the environment update. Description *string diff --git a/service/proton/api_op_UpdateEnvironmentAccountConnection.go b/service/proton/api_op_UpdateEnvironmentAccountConnection.go index cb30d83f0d9..b0b995fe58d 100644 --- a/service/proton/api_op_UpdateEnvironmentAccountConnection.go +++ b/service/proton/api_op_UpdateEnvironmentAccountConnection.go @@ -37,10 +37,18 @@ type UpdateEnvironmentAccountConnectionInput struct { // This member is required. Id *string + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in the associated environment account. + // It determines the scope of infrastructure that a component can provision in the + // account. The environment account connection must have a componentRoleArn to + // allow directly defined components to be associated with any environments running + // in the account. For more information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + // The Amazon Resource Name (ARN) of the IAM service role that's associated with // the environment account connection to update. - // - // This member is required. RoleArn *string noSmithyDocumentSerde diff --git a/service/proton/api_op_UpdateService.go b/service/proton/api_op_UpdateService.go index c1bd2d10986..1903602a97a 100644 --- a/service/proton/api_op_UpdateService.go +++ b/service/proton/api_op_UpdateService.go @@ -14,7 +14,11 @@ import ( // Edit a service description or use a spec to add and delete service instances. // Existing service instances and the service pipeline can't be edited using this // API. They can only be deleted. Use the description parameter to modify the -// description. Edit the spec parameter to add or delete instances. +// description. Edit the spec parameter to add or delete instances. You can't +// delete a service instance (remove it from the spec) if it has an attached +// component. For more information about components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. func (c *Client) UpdateService(ctx context.Context, params *UpdateServiceInput, optFns ...func(*Options)) (*UpdateServiceOutput, error) { if params == nil { params = &UpdateServiceInput{} diff --git a/service/proton/api_op_UpdateServiceInstance.go b/service/proton/api_op_UpdateServiceInstance.go index 0ec06c3fd50..7a1ecdefe24 100644 --- a/service/proton/api_op_UpdateServiceInstance.go +++ b/service/proton/api_op_UpdateServiceInstance.go @@ -11,19 +11,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Update a service instance. There are four modes for updating a service instance. -// The deploymentType field defines the mode. NONE In this mode, a deployment -// doesn't occur. Only the requested metadata parameters are updated. -// CURRENT_VERSION In this mode, the service instance is deployed and updated with -// the new spec that you provide. Only requested parameters are updated. Don’t -// include minor or major version parameters when you use this deployment-type. -// MINOR_VERSION In this mode, the service instance is deployed and updated with -// the published, recommended (latest) minor version of the current major version -// in use, by default. You can also specify a different minor version of the -// current major version in use. MAJOR_VERSION In this mode, the service instance -// is deployed and updated with the published, recommended (latest) major and minor -// version of the current template, by default. You can also specify a different -// major version that's higher than the major version in use and a minor version. +// Update a service instance. There are a few modes for updating a service +// instance. The deploymentType field defines the mode. You can't update a service +// instance while its deployment status, or the deployment status of a component +// attached to it, is IN_PROGRESS. For more information about components, see +// Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. func (c *Client) UpdateServiceInstance(ctx context.Context, params *UpdateServiceInstanceInput, optFns ...func(*Options)) (*UpdateServiceInstanceOutput, error) { if params == nil { params = &UpdateServiceInstanceInput{} @@ -41,19 +35,19 @@ func (c *Client) UpdateServiceInstance(ctx context.Context, params *UpdateServic type UpdateServiceInstanceInput struct { - // The deployment type. There are four modes for updating a service instance. The - // deploymentType field defines the mode. NONE In this mode, a deployment doesn't - // occur. Only the requested metadata parameters are updated. CURRENT_VERSION In - // this mode, the service instance is deployed and updated with the new spec that - // you provide. Only requested parameters are updated. Don’t include major or minor - // version parameters when you use this deployment-type. MINOR_VERSION In this - // mode, the service instance is deployed and updated with the published, - // recommended (latest) minor version of the current major version in use, by - // default. You can also specify a different minor version of the current major - // version in use. MAJOR_VERSION In this mode, the service instance is deployed and - // updated with the published, recommended (latest) major and minor version of the - // current template, by default. You can specify a different major version that's - // higher than the major version in use and a minor version. + // The deployment type. It defines the mode for updating a service instance, as + // follows: NONE In this mode, a deployment doesn't occur. Only the requested + // metadata parameters are updated. CURRENT_VERSION In this mode, the service + // instance is deployed and updated with the new spec that you provide. Only + // requested parameters are updated. Don’t include major or minor version + // parameters when you use this deployment type. MINOR_VERSION In this mode, the + // service instance is deployed and updated with the published, recommended + // (latest) minor version of the current major version in use, by default. You can + // also specify a different minor version of the current major version in use. + // MAJOR_VERSION In this mode, the service instance is deployed and updated with + // the published, recommended (latest) major and minor version of the current + // template, by default. You can specify a different major version that's higher + // than the major version in use and a minor version. // // This member is required. DeploymentType types.DeploymentUpdateType diff --git a/service/proton/api_op_UpdateServiceTemplateVersion.go b/service/proton/api_op_UpdateServiceTemplateVersion.go index 053e3f12d7e..7c7cef5b13b 100644 --- a/service/proton/api_op_UpdateServiceTemplateVersion.go +++ b/service/proton/api_op_UpdateServiceTemplateVersion.go @@ -44,8 +44,9 @@ type UpdateServiceTemplateVersionInput struct { // This member is required. TemplateName *string - // An array of compatible environment names for a service template major or minor - // version to update. + // An array of environment template objects that are compatible with this service + // template version. A service instance based on this service template version can + // run in environments based on compatible templates. CompatibleEnvironmentTemplates []types.CompatibleEnvironmentTemplateInput // A description of a service template version to update. @@ -54,6 +55,15 @@ type UpdateServiceTemplateVersionInput struct { // The status of the service template minor version to update. Status types.TemplateVersionStatus + // An array of supported component sources. Components with supported sources can + // be attached to service instances based on this service template version. A + // change to supportedComponentSources doesn't impact existing component + // attachments to instances based on this template version. A change only affects + // later associations. For more information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + SupportedComponentSources []types.ServiceTemplateSupportedComponentSourceType + noSmithyDocumentSerde } diff --git a/service/proton/deserializers.go b/service/proton/deserializers.go index ae08b255ea2..fbd9ec18e00 100644 --- a/service/proton/deserializers.go +++ b/service/proton/deserializers.go @@ -145,14 +145,14 @@ func awsAwsjson10_deserializeOpErrorAcceptEnvironmentAccountConnection(response } } -type awsAwsjson10_deserializeOpCancelEnvironmentDeployment struct { +type awsAwsjson10_deserializeOpCancelComponentDeployment struct { } -func (*awsAwsjson10_deserializeOpCancelEnvironmentDeployment) ID() string { +func (*awsAwsjson10_deserializeOpCancelComponentDeployment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCancelEnvironmentDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCancelComponentDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -166,9 +166,9 @@ func (m *awsAwsjson10_deserializeOpCancelEnvironmentDeployment) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCancelEnvironmentDeployment(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCancelComponentDeployment(response, &metadata) } - output := &CancelEnvironmentDeploymentOutput{} + output := &CancelComponentDeploymentOutput{} out.Result = output var buff [1024]byte @@ -188,7 +188,7 @@ func (m *awsAwsjson10_deserializeOpCancelEnvironmentDeployment) HandleDeserializ return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCancelEnvironmentDeploymentOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCancelComponentDeploymentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -202,7 +202,7 @@ func (m *awsAwsjson10_deserializeOpCancelEnvironmentDeployment) HandleDeserializ return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCancelEnvironmentDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCancelComponentDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -271,14 +271,14 @@ func awsAwsjson10_deserializeOpErrorCancelEnvironmentDeployment(response *smithy } } -type awsAwsjson10_deserializeOpCancelServiceInstanceDeployment struct { +type awsAwsjson10_deserializeOpCancelEnvironmentDeployment struct { } -func (*awsAwsjson10_deserializeOpCancelServiceInstanceDeployment) ID() string { +func (*awsAwsjson10_deserializeOpCancelEnvironmentDeployment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCancelServiceInstanceDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCancelEnvironmentDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -292,9 +292,9 @@ func (m *awsAwsjson10_deserializeOpCancelServiceInstanceDeployment) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCancelServiceInstanceDeployment(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCancelEnvironmentDeployment(response, &metadata) } - output := &CancelServiceInstanceDeploymentOutput{} + output := &CancelEnvironmentDeploymentOutput{} out.Result = output var buff [1024]byte @@ -314,7 +314,7 @@ func (m *awsAwsjson10_deserializeOpCancelServiceInstanceDeployment) HandleDeseri return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCancelServiceInstanceDeploymentOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCancelEnvironmentDeploymentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -328,7 +328,7 @@ func (m *awsAwsjson10_deserializeOpCancelServiceInstanceDeployment) HandleDeseri return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCancelServiceInstanceDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCancelEnvironmentDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -397,14 +397,14 @@ func awsAwsjson10_deserializeOpErrorCancelServiceInstanceDeployment(response *sm } } -type awsAwsjson10_deserializeOpCancelServicePipelineDeployment struct { +type awsAwsjson10_deserializeOpCancelServiceInstanceDeployment struct { } -func (*awsAwsjson10_deserializeOpCancelServicePipelineDeployment) ID() string { +func (*awsAwsjson10_deserializeOpCancelServiceInstanceDeployment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCancelServicePipelineDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCancelServiceInstanceDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -418,9 +418,9 @@ func (m *awsAwsjson10_deserializeOpCancelServicePipelineDeployment) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCancelServicePipelineDeployment(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCancelServiceInstanceDeployment(response, &metadata) } - output := &CancelServicePipelineDeploymentOutput{} + output := &CancelServiceInstanceDeploymentOutput{} out.Result = output var buff [1024]byte @@ -440,7 +440,7 @@ func (m *awsAwsjson10_deserializeOpCancelServicePipelineDeployment) HandleDeseri return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCancelServicePipelineDeploymentOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCancelServiceInstanceDeploymentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -454,7 +454,7 @@ func (m *awsAwsjson10_deserializeOpCancelServicePipelineDeployment) HandleDeseri return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCancelServicePipelineDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCancelServiceInstanceDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -523,14 +523,14 @@ func awsAwsjson10_deserializeOpErrorCancelServicePipelineDeployment(response *sm } } -type awsAwsjson10_deserializeOpCreateEnvironment struct { +type awsAwsjson10_deserializeOpCancelServicePipelineDeployment struct { } -func (*awsAwsjson10_deserializeOpCreateEnvironment) ID() string { +func (*awsAwsjson10_deserializeOpCancelServicePipelineDeployment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCancelServicePipelineDeployment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -544,9 +544,9 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironment) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironment(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCancelServicePipelineDeployment(response, &metadata) } - output := &CreateEnvironmentOutput{} + output := &CancelServicePipelineDeploymentOutput{} out.Result = output var buff [1024]byte @@ -566,7 +566,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironment) HandleDeserialize(ctx cont return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCancelServicePipelineDeploymentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -580,7 +580,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironment) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCancelServicePipelineDeployment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -633,9 +633,6 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironment(response *smithyhttp.Respo case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ServiceQuotaExceededException", errorCode): - return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -652,14 +649,14 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironment(response *smithyhttp.Respo } } -type awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection struct { +type awsAwsjson10_deserializeOpCreateComponent struct { } -func (*awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection) ID() string { +func (*awsAwsjson10_deserializeOpCreateComponent) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -673,9 +670,9 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironmentAccountConnection(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateComponent(response, &metadata) } - output := &CreateEnvironmentAccountConnectionOutput{} + output := &CreateComponentOutput{} out.Result = output var buff [1024]byte @@ -695,7 +692,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection) HandleDes return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentAccountConnectionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateComponentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -709,7 +706,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection) HandleDes return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -759,6 +756,9 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironmentAccountConnection(response case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) @@ -778,14 +778,14 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironmentAccountConnection(response } } -type awsAwsjson10_deserializeOpCreateEnvironmentTemplate struct { +type awsAwsjson10_deserializeOpCreateEnvironment struct { } -func (*awsAwsjson10_deserializeOpCreateEnvironmentTemplate) ID() string { +func (*awsAwsjson10_deserializeOpCreateEnvironment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -799,9 +799,9 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplate) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironment(response, &metadata) } - output := &CreateEnvironmentTemplateOutput{} + output := &CreateEnvironmentOutput{} out.Result = output var buff [1024]byte @@ -821,7 +821,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplate) HandleDeserialize( return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -835,7 +835,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplate) HandleDeserialize( return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -885,6 +885,9 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplate(response *smithyht case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) @@ -904,14 +907,14 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplate(response *smithyht } } -type awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion struct { +type awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection struct { } -func (*awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -925,9 +928,9 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironmentAccountConnection(response, &metadata) } - output := &CreateEnvironmentTemplateVersionOutput{} + output := &CreateEnvironmentAccountConnectionOutput{} out.Result = output var buff [1024]byte @@ -947,7 +950,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion) HandleDeser return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentAccountConnectionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -961,7 +964,7 @@ func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion) HandleDeser return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1011,9 +1014,6 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplateVersion(response *s case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ServiceQuotaExceededException", errorCode): return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) @@ -1033,14 +1033,14 @@ func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplateVersion(response *s } } -type awsAwsjson10_deserializeOpCreateRepository struct { +type awsAwsjson10_deserializeOpCreateEnvironmentTemplate struct { } -func (*awsAwsjson10_deserializeOpCreateRepository) ID() string { +func (*awsAwsjson10_deserializeOpCreateEnvironmentTemplate) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateRepository) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1054,9 +1054,9 @@ func (m *awsAwsjson10_deserializeOpCreateRepository) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateRepository(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplate(response, &metadata) } - output := &CreateRepositoryOutput{} + output := &CreateEnvironmentTemplateOutput{} out.Result = output var buff [1024]byte @@ -1076,7 +1076,7 @@ func (m *awsAwsjson10_deserializeOpCreateRepository) HandleDeserialize(ctx conte return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateRepositoryOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1090,7 +1090,7 @@ func (m *awsAwsjson10_deserializeOpCreateRepository) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateRepository(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1159,14 +1159,14 @@ func awsAwsjson10_deserializeOpErrorCreateRepository(response *smithyhttp.Respon } } -type awsAwsjson10_deserializeOpCreateService struct { +type awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion struct { } -func (*awsAwsjson10_deserializeOpCreateService) ID() string { +func (*awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1180,9 +1180,9 @@ func (m *awsAwsjson10_deserializeOpCreateService) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateService(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplateVersion(response, &metadata) } - output := &CreateServiceOutput{} + output := &CreateEnvironmentTemplateVersionOutput{} out.Result = output var buff [1024]byte @@ -1202,7 +1202,7 @@ func (m *awsAwsjson10_deserializeOpCreateService) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateServiceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateEnvironmentTemplateVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1216,7 +1216,7 @@ func (m *awsAwsjson10_deserializeOpCreateService) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateService(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1288,14 +1288,14 @@ func awsAwsjson10_deserializeOpErrorCreateService(response *smithyhttp.Response, } } -type awsAwsjson10_deserializeOpCreateServiceTemplate struct { +type awsAwsjson10_deserializeOpCreateRepository struct { } -func (*awsAwsjson10_deserializeOpCreateServiceTemplate) ID() string { +func (*awsAwsjson10_deserializeOpCreateRepository) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateRepository) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1309,9 +1309,9 @@ func (m *awsAwsjson10_deserializeOpCreateServiceTemplate) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateServiceTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateRepository(response, &metadata) } - output := &CreateServiceTemplateOutput{} + output := &CreateRepositoryOutput{} out.Result = output var buff [1024]byte @@ -1331,7 +1331,7 @@ func (m *awsAwsjson10_deserializeOpCreateServiceTemplate) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateServiceTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateRepositoryOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1345,7 +1345,7 @@ func (m *awsAwsjson10_deserializeOpCreateServiceTemplate) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateRepository(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1414,14 +1414,14 @@ func awsAwsjson10_deserializeOpErrorCreateServiceTemplate(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpCreateServiceTemplateVersion struct { +type awsAwsjson10_deserializeOpCreateService struct { } -func (*awsAwsjson10_deserializeOpCreateServiceTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpCreateService) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1435,9 +1435,9 @@ func (m *awsAwsjson10_deserializeOpCreateServiceTemplateVersion) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateServiceTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateService(response, &metadata) } - output := &CreateServiceTemplateVersionOutput{} + output := &CreateServiceOutput{} out.Result = output var buff [1024]byte @@ -1457,7 +1457,7 @@ func (m *awsAwsjson10_deserializeOpCreateServiceTemplateVersion) HandleDeseriali return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateServiceTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateServiceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1471,7 +1471,7 @@ func (m *awsAwsjson10_deserializeOpCreateServiceTemplateVersion) HandleDeseriali return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateService(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1543,14 +1543,14 @@ func awsAwsjson10_deserializeOpErrorCreateServiceTemplateVersion(response *smith } } -type awsAwsjson10_deserializeOpCreateTemplateSyncConfig struct { +type awsAwsjson10_deserializeOpCreateServiceTemplate struct { } -func (*awsAwsjson10_deserializeOpCreateTemplateSyncConfig) ID() string { +func (*awsAwsjson10_deserializeOpCreateServiceTemplate) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpCreateTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1564,9 +1564,9 @@ func (m *awsAwsjson10_deserializeOpCreateTemplateSyncConfig) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorCreateTemplateSyncConfig(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateServiceTemplate(response, &metadata) } - output := &CreateTemplateSyncConfigOutput{} + output := &CreateServiceTemplateOutput{} out.Result = output var buff [1024]byte @@ -1586,7 +1586,7 @@ func (m *awsAwsjson10_deserializeOpCreateTemplateSyncConfig) HandleDeserialize(c return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentCreateTemplateSyncConfigOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateServiceTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1600,7 +1600,7 @@ func (m *awsAwsjson10_deserializeOpCreateTemplateSyncConfig) HandleDeserialize(c return out, metadata, err } -func awsAwsjson10_deserializeOpErrorCreateTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1669,14 +1669,14 @@ func awsAwsjson10_deserializeOpErrorCreateTemplateSyncConfig(response *smithyhtt } } -type awsAwsjson10_deserializeOpDeleteEnvironment struct { +type awsAwsjson10_deserializeOpCreateServiceTemplateVersion struct { } -func (*awsAwsjson10_deserializeOpDeleteEnvironment) ID() string { +func (*awsAwsjson10_deserializeOpCreateServiceTemplateVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1690,9 +1690,9 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironment) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironment(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateServiceTemplateVersion(response, &metadata) } - output := &DeleteEnvironmentOutput{} + output := &CreateServiceTemplateVersionOutput{} out.Result = output var buff [1024]byte @@ -1712,7 +1712,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironment) HandleDeserialize(ctx cont return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateServiceTemplateVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1726,7 +1726,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironment) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1779,6 +1779,9 @@ func awsAwsjson10_deserializeOpErrorDeleteEnvironment(response *smithyhttp.Respo case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -1795,14 +1798,14 @@ func awsAwsjson10_deserializeOpErrorDeleteEnvironment(response *smithyhttp.Respo } } -type awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection struct { +type awsAwsjson10_deserializeOpCreateTemplateSyncConfig struct { } -func (*awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection) ID() string { +func (*awsAwsjson10_deserializeOpCreateTemplateSyncConfig) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpCreateTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1816,9 +1819,9 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironmentAccountConnection(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorCreateTemplateSyncConfig(response, &metadata) } - output := &DeleteEnvironmentAccountConnectionOutput{} + output := &CreateTemplateSyncConfigOutput{} out.Result = output var buff [1024]byte @@ -1838,7 +1841,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection) HandleDes return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentAccountConnectionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentCreateTemplateSyncConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1852,7 +1855,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection) HandleDes return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorCreateTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1902,8 +1905,8 @@ func awsAwsjson10_deserializeOpErrorDeleteEnvironmentAccountConnection(response case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -1921,14 +1924,14 @@ func awsAwsjson10_deserializeOpErrorDeleteEnvironmentAccountConnection(response } } -type awsAwsjson10_deserializeOpDeleteEnvironmentTemplate struct { +type awsAwsjson10_deserializeOpDeleteComponent struct { } -func (*awsAwsjson10_deserializeOpDeleteEnvironmentTemplate) ID() string { +func (*awsAwsjson10_deserializeOpDeleteComponent) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -1942,9 +1945,9 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplate) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteComponent(response, &metadata) } - output := &DeleteEnvironmentTemplateOutput{} + output := &DeleteComponentOutput{} out.Result = output var buff [1024]byte @@ -1964,7 +1967,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplate) HandleDeserialize( return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteComponentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -1978,7 +1981,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplate) HandleDeserialize( return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2047,14 +2050,14 @@ func awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplate(response *smithyht } } -type awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion struct { +type awsAwsjson10_deserializeOpDeleteEnvironment struct { } -func (*awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpDeleteEnvironment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2068,9 +2071,9 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironment(response, &metadata) } - output := &DeleteEnvironmentTemplateVersionOutput{} + output := &DeleteEnvironmentOutput{} out.Result = output var buff [1024]byte @@ -2090,7 +2093,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion) HandleDeser return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2104,7 +2107,7 @@ func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion) HandleDeser return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2173,14 +2176,14 @@ func awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplateVersion(response *s } } -type awsAwsjson10_deserializeOpDeleteRepository struct { +type awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection struct { } -func (*awsAwsjson10_deserializeOpDeleteRepository) ID() string { +func (*awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteRepository) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2194,9 +2197,9 @@ func (m *awsAwsjson10_deserializeOpDeleteRepository) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteRepository(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironmentAccountConnection(response, &metadata) } - output := &DeleteRepositoryOutput{} + output := &DeleteEnvironmentAccountConnectionOutput{} out.Result = output var buff [1024]byte @@ -2216,7 +2219,7 @@ func (m *awsAwsjson10_deserializeOpDeleteRepository) HandleDeserialize(ctx conte return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteRepositoryOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentAccountConnectionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2230,7 +2233,7 @@ func (m *awsAwsjson10_deserializeOpDeleteRepository) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteRepository(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2299,14 +2302,14 @@ func awsAwsjson10_deserializeOpErrorDeleteRepository(response *smithyhttp.Respon } } -type awsAwsjson10_deserializeOpDeleteService struct { +type awsAwsjson10_deserializeOpDeleteEnvironmentTemplate struct { } -func (*awsAwsjson10_deserializeOpDeleteService) ID() string { +func (*awsAwsjson10_deserializeOpDeleteEnvironmentTemplate) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2320,9 +2323,9 @@ func (m *awsAwsjson10_deserializeOpDeleteService) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteService(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplate(response, &metadata) } - output := &DeleteServiceOutput{} + output := &DeleteEnvironmentTemplateOutput{} out.Result = output var buff [1024]byte @@ -2342,7 +2345,7 @@ func (m *awsAwsjson10_deserializeOpDeleteService) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteServiceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2356,7 +2359,7 @@ func (m *awsAwsjson10_deserializeOpDeleteService) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteService(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2425,14 +2428,14 @@ func awsAwsjson10_deserializeOpErrorDeleteService(response *smithyhttp.Response, } } -type awsAwsjson10_deserializeOpDeleteServiceTemplate struct { +type awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion struct { } -func (*awsAwsjson10_deserializeOpDeleteServiceTemplate) ID() string { +func (*awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2446,9 +2449,9 @@ func (m *awsAwsjson10_deserializeOpDeleteServiceTemplate) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteServiceTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplateVersion(response, &metadata) } - output := &DeleteServiceTemplateOutput{} + output := &DeleteEnvironmentTemplateVersionOutput{} out.Result = output var buff [1024]byte @@ -2468,7 +2471,7 @@ func (m *awsAwsjson10_deserializeOpDeleteServiceTemplate) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteEnvironmentTemplateVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2482,7 +2485,7 @@ func (m *awsAwsjson10_deserializeOpDeleteServiceTemplate) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2551,14 +2554,14 @@ func awsAwsjson10_deserializeOpErrorDeleteServiceTemplate(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpDeleteServiceTemplateVersion struct { +type awsAwsjson10_deserializeOpDeleteRepository struct { } -func (*awsAwsjson10_deserializeOpDeleteServiceTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpDeleteRepository) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteRepository) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2572,9 +2575,9 @@ func (m *awsAwsjson10_deserializeOpDeleteServiceTemplateVersion) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteServiceTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteRepository(response, &metadata) } - output := &DeleteServiceTemplateVersionOutput{} + output := &DeleteRepositoryOutput{} out.Result = output var buff [1024]byte @@ -2594,7 +2597,7 @@ func (m *awsAwsjson10_deserializeOpDeleteServiceTemplateVersion) HandleDeseriali return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteRepositoryOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2608,7 +2611,7 @@ func (m *awsAwsjson10_deserializeOpDeleteServiceTemplateVersion) HandleDeseriali return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteRepository(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2677,14 +2680,14 @@ func awsAwsjson10_deserializeOpErrorDeleteServiceTemplateVersion(response *smith } } -type awsAwsjson10_deserializeOpDeleteTemplateSyncConfig struct { +type awsAwsjson10_deserializeOpDeleteService struct { } -func (*awsAwsjson10_deserializeOpDeleteTemplateSyncConfig) ID() string { +func (*awsAwsjson10_deserializeOpDeleteService) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpDeleteTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2698,9 +2701,9 @@ func (m *awsAwsjson10_deserializeOpDeleteTemplateSyncConfig) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorDeleteTemplateSyncConfig(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteService(response, &metadata) } - output := &DeleteTemplateSyncConfigOutput{} + output := &DeleteServiceOutput{} out.Result = output var buff [1024]byte @@ -2720,7 +2723,7 @@ func (m *awsAwsjson10_deserializeOpDeleteTemplateSyncConfig) HandleDeserialize(c return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentDeleteTemplateSyncConfigOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteServiceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2734,7 +2737,7 @@ func (m *awsAwsjson10_deserializeOpDeleteTemplateSyncConfig) HandleDeserialize(c return out, metadata, err } -func awsAwsjson10_deserializeOpErrorDeleteTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteService(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2803,14 +2806,14 @@ func awsAwsjson10_deserializeOpErrorDeleteTemplateSyncConfig(response *smithyhtt } } -type awsAwsjson10_deserializeOpGetAccountSettings struct { +type awsAwsjson10_deserializeOpDeleteServiceTemplate struct { } -func (*awsAwsjson10_deserializeOpGetAccountSettings) ID() string { +func (*awsAwsjson10_deserializeOpDeleteServiceTemplate) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetAccountSettings) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2824,9 +2827,9 @@ func (m *awsAwsjson10_deserializeOpGetAccountSettings) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetAccountSettings(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteServiceTemplate(response, &metadata) } - output := &GetAccountSettingsOutput{} + output := &DeleteServiceTemplateOutput{} out.Result = output var buff [1024]byte @@ -2846,7 +2849,7 @@ func (m *awsAwsjson10_deserializeOpGetAccountSettings) HandleDeserialize(ctx con return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetAccountSettingsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2860,7 +2863,7 @@ func (m *awsAwsjson10_deserializeOpGetAccountSettings) HandleDeserialize(ctx con return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetAccountSettings(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2904,6 +2907,9 @@ func awsAwsjson10_deserializeOpErrorGetAccountSettings(response *smithyhttp.Resp case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -2926,14 +2932,14 @@ func awsAwsjson10_deserializeOpErrorGetAccountSettings(response *smithyhttp.Resp } } -type awsAwsjson10_deserializeOpGetEnvironment struct { +type awsAwsjson10_deserializeOpDeleteServiceTemplateVersion struct { } -func (*awsAwsjson10_deserializeOpGetEnvironment) ID() string { +func (*awsAwsjson10_deserializeOpDeleteServiceTemplateVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2947,9 +2953,9 @@ func (m *awsAwsjson10_deserializeOpGetEnvironment) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironment(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteServiceTemplateVersion(response, &metadata) } - output := &GetEnvironmentOutput{} + output := &DeleteServiceTemplateVersionOutput{} out.Result = output var buff [1024]byte @@ -2969,7 +2975,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironment) HandleDeserialize(ctx context return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetEnvironmentOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteServiceTemplateVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -2983,7 +2989,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironment) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3027,6 +3033,9 @@ func awsAwsjson10_deserializeOpErrorGetEnvironment(response *smithyhttp.Response case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -3049,14 +3058,14 @@ func awsAwsjson10_deserializeOpErrorGetEnvironment(response *smithyhttp.Response } } -type awsAwsjson10_deserializeOpGetEnvironmentAccountConnection struct { +type awsAwsjson10_deserializeOpDeleteTemplateSyncConfig struct { } -func (*awsAwsjson10_deserializeOpGetEnvironmentAccountConnection) ID() string { +func (*awsAwsjson10_deserializeOpDeleteTemplateSyncConfig) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpDeleteTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3070,9 +3079,9 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentAccountConnection) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironmentAccountConnection(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorDeleteTemplateSyncConfig(response, &metadata) } - output := &GetEnvironmentAccountConnectionOutput{} + output := &DeleteTemplateSyncConfigOutput{} out.Result = output var buff [1024]byte @@ -3092,7 +3101,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentAccountConnection) HandleDeseri return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetEnvironmentAccountConnectionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentDeleteTemplateSyncConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3106,7 +3115,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentAccountConnection) HandleDeseri return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorDeleteTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3150,6 +3159,9 @@ func awsAwsjson10_deserializeOpErrorGetEnvironmentAccountConnection(response *sm case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -3172,14 +3184,14 @@ func awsAwsjson10_deserializeOpErrorGetEnvironmentAccountConnection(response *sm } } -type awsAwsjson10_deserializeOpGetEnvironmentTemplate struct { +type awsAwsjson10_deserializeOpGetAccountSettings struct { } -func (*awsAwsjson10_deserializeOpGetEnvironmentTemplate) ID() string { +func (*awsAwsjson10_deserializeOpGetAccountSettings) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetAccountSettings) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3193,9 +3205,9 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplate) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironmentTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetAccountSettings(response, &metadata) } - output := &GetEnvironmentTemplateOutput{} + output := &GetAccountSettingsOutput{} out.Result = output var buff [1024]byte @@ -3215,7 +3227,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplate) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetAccountSettingsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3229,7 +3241,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplate) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetAccountSettings(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3295,14 +3307,14 @@ func awsAwsjson10_deserializeOpErrorGetEnvironmentTemplate(response *smithyhttp. } } -type awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion struct { +type awsAwsjson10_deserializeOpGetComponent struct { } -func (*awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpGetComponent) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3316,9 +3328,9 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion) HandleDeserial } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironmentTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetComponent(response, &metadata) } - output := &GetEnvironmentTemplateVersionOutput{} + output := &GetComponentOutput{} out.Result = output var buff [1024]byte @@ -3338,7 +3350,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion) HandleDeserial return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetComponentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3352,7 +3364,7 @@ func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion) HandleDeserial return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3418,14 +3430,14 @@ func awsAwsjson10_deserializeOpErrorGetEnvironmentTemplateVersion(response *smit } } -type awsAwsjson10_deserializeOpGetRepository struct { +type awsAwsjson10_deserializeOpGetEnvironment struct { } -func (*awsAwsjson10_deserializeOpGetRepository) ID() string { +func (*awsAwsjson10_deserializeOpGetEnvironment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetRepository) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3439,9 +3451,9 @@ func (m *awsAwsjson10_deserializeOpGetRepository) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetRepository(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironment(response, &metadata) } - output := &GetRepositoryOutput{} + output := &GetEnvironmentOutput{} out.Result = output var buff [1024]byte @@ -3461,7 +3473,7 @@ func (m *awsAwsjson10_deserializeOpGetRepository) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetRepositoryOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetEnvironmentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3475,7 +3487,7 @@ func (m *awsAwsjson10_deserializeOpGetRepository) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetRepository(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3541,14 +3553,14 @@ func awsAwsjson10_deserializeOpErrorGetRepository(response *smithyhttp.Response, } } -type awsAwsjson10_deserializeOpGetRepositorySyncStatus struct { +type awsAwsjson10_deserializeOpGetEnvironmentAccountConnection struct { } -func (*awsAwsjson10_deserializeOpGetRepositorySyncStatus) ID() string { +func (*awsAwsjson10_deserializeOpGetEnvironmentAccountConnection) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetRepositorySyncStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3562,9 +3574,9 @@ func (m *awsAwsjson10_deserializeOpGetRepositorySyncStatus) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetRepositorySyncStatus(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironmentAccountConnection(response, &metadata) } - output := &GetRepositorySyncStatusOutput{} + output := &GetEnvironmentAccountConnectionOutput{} out.Result = output var buff [1024]byte @@ -3584,7 +3596,7 @@ func (m *awsAwsjson10_deserializeOpGetRepositorySyncStatus) HandleDeserialize(ct return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetEnvironmentAccountConnectionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3598,7 +3610,7 @@ func (m *awsAwsjson10_deserializeOpGetRepositorySyncStatus) HandleDeserialize(ct return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetRepositorySyncStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3664,14 +3676,14 @@ func awsAwsjson10_deserializeOpErrorGetRepositorySyncStatus(response *smithyhttp } } -type awsAwsjson10_deserializeOpGetService struct { +type awsAwsjson10_deserializeOpGetEnvironmentTemplate struct { } -func (*awsAwsjson10_deserializeOpGetService) ID() string { +func (*awsAwsjson10_deserializeOpGetEnvironmentTemplate) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3685,9 +3697,9 @@ func (m *awsAwsjson10_deserializeOpGetService) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetService(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironmentTemplate(response, &metadata) } - output := &GetServiceOutput{} + output := &GetEnvironmentTemplateOutput{} out.Result = output var buff [1024]byte @@ -3707,7 +3719,7 @@ func (m *awsAwsjson10_deserializeOpGetService) HandleDeserialize(ctx context.Con return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetServiceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3721,7 +3733,7 @@ func (m *awsAwsjson10_deserializeOpGetService) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetService(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3787,14 +3799,14 @@ func awsAwsjson10_deserializeOpErrorGetService(response *smithyhttp.Response, me } } -type awsAwsjson10_deserializeOpGetServiceInstance struct { +type awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion struct { } -func (*awsAwsjson10_deserializeOpGetServiceInstance) ID() string { +func (*awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetServiceInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3808,9 +3820,9 @@ func (m *awsAwsjson10_deserializeOpGetServiceInstance) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetServiceInstance(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetEnvironmentTemplateVersion(response, &metadata) } - output := &GetServiceInstanceOutput{} + output := &GetEnvironmentTemplateVersionOutput{} out.Result = output var buff [1024]byte @@ -3830,7 +3842,7 @@ func (m *awsAwsjson10_deserializeOpGetServiceInstance) HandleDeserialize(ctx con return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetServiceInstanceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetEnvironmentTemplateVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3844,7 +3856,7 @@ func (m *awsAwsjson10_deserializeOpGetServiceInstance) HandleDeserialize(ctx con return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetServiceInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -3910,14 +3922,14 @@ func awsAwsjson10_deserializeOpErrorGetServiceInstance(response *smithyhttp.Resp } } -type awsAwsjson10_deserializeOpGetServiceTemplate struct { +type awsAwsjson10_deserializeOpGetRepository struct { } -func (*awsAwsjson10_deserializeOpGetServiceTemplate) ID() string { +func (*awsAwsjson10_deserializeOpGetRepository) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetRepository) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -3931,9 +3943,9 @@ func (m *awsAwsjson10_deserializeOpGetServiceTemplate) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetServiceTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetRepository(response, &metadata) } - output := &GetServiceTemplateOutput{} + output := &GetRepositoryOutput{} out.Result = output var buff [1024]byte @@ -3953,7 +3965,7 @@ func (m *awsAwsjson10_deserializeOpGetServiceTemplate) HandleDeserialize(ctx con return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetServiceTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetRepositoryOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -3967,7 +3979,7 @@ func (m *awsAwsjson10_deserializeOpGetServiceTemplate) HandleDeserialize(ctx con return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetRepository(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4033,14 +4045,14 @@ func awsAwsjson10_deserializeOpErrorGetServiceTemplate(response *smithyhttp.Resp } } -type awsAwsjson10_deserializeOpGetServiceTemplateVersion struct { +type awsAwsjson10_deserializeOpGetRepositorySyncStatus struct { } -func (*awsAwsjson10_deserializeOpGetServiceTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpGetRepositorySyncStatus) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetRepositorySyncStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4054,9 +4066,9 @@ func (m *awsAwsjson10_deserializeOpGetServiceTemplateVersion) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetServiceTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetRepositorySyncStatus(response, &metadata) } - output := &GetServiceTemplateVersionOutput{} + output := &GetRepositorySyncStatusOutput{} out.Result = output var buff [1024]byte @@ -4076,7 +4088,7 @@ func (m *awsAwsjson10_deserializeOpGetServiceTemplateVersion) HandleDeserialize( return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetServiceTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetRepositorySyncStatusOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4090,7 +4102,7 @@ func (m *awsAwsjson10_deserializeOpGetServiceTemplateVersion) HandleDeserialize( return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetRepositorySyncStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4156,14 +4168,14 @@ func awsAwsjson10_deserializeOpErrorGetServiceTemplateVersion(response *smithyht } } -type awsAwsjson10_deserializeOpGetTemplateSyncConfig struct { +type awsAwsjson10_deserializeOpGetService struct { } -func (*awsAwsjson10_deserializeOpGetTemplateSyncConfig) ID() string { +func (*awsAwsjson10_deserializeOpGetService) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4177,9 +4189,9 @@ func (m *awsAwsjson10_deserializeOpGetTemplateSyncConfig) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetTemplateSyncConfig(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetService(response, &metadata) } - output := &GetTemplateSyncConfigOutput{} + output := &GetServiceOutput{} out.Result = output var buff [1024]byte @@ -4199,7 +4211,7 @@ func (m *awsAwsjson10_deserializeOpGetTemplateSyncConfig) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetTemplateSyncConfigOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetServiceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4213,7 +4225,7 @@ func (m *awsAwsjson10_deserializeOpGetTemplateSyncConfig) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetService(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4279,14 +4291,14 @@ func awsAwsjson10_deserializeOpErrorGetTemplateSyncConfig(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpGetTemplateSyncStatus struct { +type awsAwsjson10_deserializeOpGetServiceInstance struct { } -func (*awsAwsjson10_deserializeOpGetTemplateSyncStatus) ID() string { +func (*awsAwsjson10_deserializeOpGetServiceInstance) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpGetTemplateSyncStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetServiceInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4300,9 +4312,9 @@ func (m *awsAwsjson10_deserializeOpGetTemplateSyncStatus) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorGetTemplateSyncStatus(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetServiceInstance(response, &metadata) } - output := &GetTemplateSyncStatusOutput{} + output := &GetServiceInstanceOutput{} out.Result = output var buff [1024]byte @@ -4322,7 +4334,7 @@ func (m *awsAwsjson10_deserializeOpGetTemplateSyncStatus) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentGetTemplateSyncStatusOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetServiceInstanceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4336,7 +4348,7 @@ func (m *awsAwsjson10_deserializeOpGetTemplateSyncStatus) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorGetTemplateSyncStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetServiceInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4402,14 +4414,14 @@ func awsAwsjson10_deserializeOpErrorGetTemplateSyncStatus(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpListEnvironmentAccountConnections struct { +type awsAwsjson10_deserializeOpGetServiceTemplate struct { } -func (*awsAwsjson10_deserializeOpListEnvironmentAccountConnections) ID() string { +func (*awsAwsjson10_deserializeOpGetServiceTemplate) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListEnvironmentAccountConnections) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4423,9 +4435,9 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentAccountConnections) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentAccountConnections(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetServiceTemplate(response, &metadata) } - output := &ListEnvironmentAccountConnectionsOutput{} + output := &GetServiceTemplateOutput{} out.Result = output var buff [1024]byte @@ -4445,7 +4457,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentAccountConnections) HandleDese return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListEnvironmentAccountConnectionsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetServiceTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4459,7 +4471,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentAccountConnections) HandleDese return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListEnvironmentAccountConnections(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4506,6 +4518,9 @@ func awsAwsjson10_deserializeOpErrorListEnvironmentAccountConnections(response * case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -4522,14 +4537,14 @@ func awsAwsjson10_deserializeOpErrorListEnvironmentAccountConnections(response * } } -type awsAwsjson10_deserializeOpListEnvironmentOutputs struct { +type awsAwsjson10_deserializeOpGetServiceTemplateVersion struct { } -func (*awsAwsjson10_deserializeOpListEnvironmentOutputs) ID() string { +func (*awsAwsjson10_deserializeOpGetServiceTemplateVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListEnvironmentOutputs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4543,9 +4558,9 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentOutputs) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentOutputs(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetServiceTemplateVersion(response, &metadata) } - output := &ListEnvironmentOutputsOutput{} + output := &GetServiceTemplateVersionOutput{} out.Result = output var buff [1024]byte @@ -4565,7 +4580,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentOutputs) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListEnvironmentOutputsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetServiceTemplateVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4579,7 +4594,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentOutputs) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListEnvironmentOutputs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4645,14 +4660,14 @@ func awsAwsjson10_deserializeOpErrorListEnvironmentOutputs(response *smithyhttp. } } -type awsAwsjson10_deserializeOpListEnvironmentProvisionedResources struct { +type awsAwsjson10_deserializeOpGetTemplateSyncConfig struct { } -func (*awsAwsjson10_deserializeOpListEnvironmentProvisionedResources) ID() string { +func (*awsAwsjson10_deserializeOpGetTemplateSyncConfig) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListEnvironmentProvisionedResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4666,9 +4681,9 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentProvisionedResources) HandleDe } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentProvisionedResources(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetTemplateSyncConfig(response, &metadata) } - output := &ListEnvironmentProvisionedResourcesOutput{} + output := &GetTemplateSyncConfigOutput{} out.Result = output var buff [1024]byte @@ -4688,7 +4703,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentProvisionedResources) HandleDe return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListEnvironmentProvisionedResourcesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetTemplateSyncConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4702,7 +4717,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentProvisionedResources) HandleDe return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListEnvironmentProvisionedResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4768,14 +4783,14 @@ func awsAwsjson10_deserializeOpErrorListEnvironmentProvisionedResources(response } } -type awsAwsjson10_deserializeOpListEnvironments struct { +type awsAwsjson10_deserializeOpGetTemplateSyncStatus struct { } -func (*awsAwsjson10_deserializeOpListEnvironments) ID() string { +func (*awsAwsjson10_deserializeOpGetTemplateSyncStatus) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListEnvironments) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpGetTemplateSyncStatus) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4789,9 +4804,9 @@ func (m *awsAwsjson10_deserializeOpListEnvironments) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironments(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorGetTemplateSyncStatus(response, &metadata) } - output := &ListEnvironmentsOutput{} + output := &GetTemplateSyncStatusOutput{} out.Result = output var buff [1024]byte @@ -4811,7 +4826,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironments) HandleDeserialize(ctx conte return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListEnvironmentsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentGetTemplateSyncStatusOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4825,7 +4840,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironments) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListEnvironments(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorGetTemplateSyncStatus(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4891,14 +4906,14 @@ func awsAwsjson10_deserializeOpErrorListEnvironments(response *smithyhttp.Respon } } -type awsAwsjson10_deserializeOpListEnvironmentTemplates struct { +type awsAwsjson10_deserializeOpListComponentOutputs struct { } -func (*awsAwsjson10_deserializeOpListEnvironmentTemplates) ID() string { +func (*awsAwsjson10_deserializeOpListComponentOutputs) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListEnvironmentTemplates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListComponentOutputs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -4912,9 +4927,9 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentTemplates) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentTemplates(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListComponentOutputs(response, &metadata) } - output := &ListEnvironmentTemplatesOutput{} + output := &ListComponentOutputsOutput{} out.Result = output var buff [1024]byte @@ -4934,7 +4949,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentTemplates) HandleDeserialize(c return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListEnvironmentTemplatesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListComponentOutputsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -4948,7 +4963,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentTemplates) HandleDeserialize(c return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListEnvironmentTemplates(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListComponentOutputs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -4995,6 +5010,9 @@ func awsAwsjson10_deserializeOpErrorListEnvironmentTemplates(response *smithyhtt case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -5011,14 +5029,14 @@ func awsAwsjson10_deserializeOpErrorListEnvironmentTemplates(response *smithyhtt } } -type awsAwsjson10_deserializeOpListEnvironmentTemplateVersions struct { +type awsAwsjson10_deserializeOpListComponentProvisionedResources struct { } -func (*awsAwsjson10_deserializeOpListEnvironmentTemplateVersions) ID() string { +func (*awsAwsjson10_deserializeOpListComponentProvisionedResources) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListEnvironmentTemplateVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListComponentProvisionedResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5032,9 +5050,9 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentTemplateVersions) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentTemplateVersions(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListComponentProvisionedResources(response, &metadata) } - output := &ListEnvironmentTemplateVersionsOutput{} + output := &ListComponentProvisionedResourcesOutput{} out.Result = output var buff [1024]byte @@ -5054,7 +5072,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentTemplateVersions) HandleDeseri return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListEnvironmentTemplateVersionsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListComponentProvisionedResourcesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5068,7 +5086,7 @@ func (m *awsAwsjson10_deserializeOpListEnvironmentTemplateVersions) HandleDeseri return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListEnvironmentTemplateVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListComponentProvisionedResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5134,14 +5152,14 @@ func awsAwsjson10_deserializeOpErrorListEnvironmentTemplateVersions(response *sm } } -type awsAwsjson10_deserializeOpListRepositories struct { +type awsAwsjson10_deserializeOpListComponents struct { } -func (*awsAwsjson10_deserializeOpListRepositories) ID() string { +func (*awsAwsjson10_deserializeOpListComponents) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListRepositories) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListComponents) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5155,9 +5173,9 @@ func (m *awsAwsjson10_deserializeOpListRepositories) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListRepositories(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListComponents(response, &metadata) } - output := &ListRepositoriesOutput{} + output := &ListComponentsOutput{} out.Result = output var buff [1024]byte @@ -5177,7 +5195,7 @@ func (m *awsAwsjson10_deserializeOpListRepositories) HandleDeserialize(ctx conte return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListRepositoriesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListComponentsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5191,7 +5209,7 @@ func (m *awsAwsjson10_deserializeOpListRepositories) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListRepositories(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListComponents(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5238,9 +5256,6 @@ func awsAwsjson10_deserializeOpErrorListRepositories(response *smithyhttp.Respon case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -5257,14 +5272,14 @@ func awsAwsjson10_deserializeOpErrorListRepositories(response *smithyhttp.Respon } } -type awsAwsjson10_deserializeOpListRepositorySyncDefinitions struct { +type awsAwsjson10_deserializeOpListEnvironmentAccountConnections struct { } -func (*awsAwsjson10_deserializeOpListRepositorySyncDefinitions) ID() string { +func (*awsAwsjson10_deserializeOpListEnvironmentAccountConnections) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListRepositorySyncDefinitions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListEnvironmentAccountConnections) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5278,9 +5293,9 @@ func (m *awsAwsjson10_deserializeOpListRepositorySyncDefinitions) HandleDeserial } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListRepositorySyncDefinitions(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentAccountConnections(response, &metadata) } - output := &ListRepositorySyncDefinitionsOutput{} + output := &ListEnvironmentAccountConnectionsOutput{} out.Result = output var buff [1024]byte @@ -5300,7 +5315,7 @@ func (m *awsAwsjson10_deserializeOpListRepositorySyncDefinitions) HandleDeserial return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListEnvironmentAccountConnectionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5314,7 +5329,7 @@ func (m *awsAwsjson10_deserializeOpListRepositorySyncDefinitions) HandleDeserial return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListRepositorySyncDefinitions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListEnvironmentAccountConnections(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5377,14 +5392,14 @@ func awsAwsjson10_deserializeOpErrorListRepositorySyncDefinitions(response *smit } } -type awsAwsjson10_deserializeOpListServiceInstanceOutputs struct { +type awsAwsjson10_deserializeOpListEnvironmentOutputs struct { } -func (*awsAwsjson10_deserializeOpListServiceInstanceOutputs) ID() string { +func (*awsAwsjson10_deserializeOpListEnvironmentOutputs) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServiceInstanceOutputs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListEnvironmentOutputs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5398,9 +5413,9 @@ func (m *awsAwsjson10_deserializeOpListServiceInstanceOutputs) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServiceInstanceOutputs(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentOutputs(response, &metadata) } - output := &ListServiceInstanceOutputsOutput{} + output := &ListEnvironmentOutputsOutput{} out.Result = output var buff [1024]byte @@ -5420,7 +5435,7 @@ func (m *awsAwsjson10_deserializeOpListServiceInstanceOutputs) HandleDeserialize return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServiceInstanceOutputsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListEnvironmentOutputsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5434,7 +5449,7 @@ func (m *awsAwsjson10_deserializeOpListServiceInstanceOutputs) HandleDeserialize return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServiceInstanceOutputs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListEnvironmentOutputs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5500,14 +5515,14 @@ func awsAwsjson10_deserializeOpErrorListServiceInstanceOutputs(response *smithyh } } -type awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources struct { +type awsAwsjson10_deserializeOpListEnvironmentProvisionedResources struct { } -func (*awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources) ID() string { +func (*awsAwsjson10_deserializeOpListEnvironmentProvisionedResources) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListEnvironmentProvisionedResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5521,9 +5536,9 @@ func (m *awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources) Hand } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServiceInstanceProvisionedResources(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentProvisionedResources(response, &metadata) } - output := &ListServiceInstanceProvisionedResourcesOutput{} + output := &ListEnvironmentProvisionedResourcesOutput{} out.Result = output var buff [1024]byte @@ -5543,7 +5558,7 @@ func (m *awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources) Hand return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServiceInstanceProvisionedResourcesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListEnvironmentProvisionedResourcesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5557,7 +5572,7 @@ func (m *awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources) Hand return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServiceInstanceProvisionedResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListEnvironmentProvisionedResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5623,14 +5638,14 @@ func awsAwsjson10_deserializeOpErrorListServiceInstanceProvisionedResources(resp } } -type awsAwsjson10_deserializeOpListServiceInstances struct { +type awsAwsjson10_deserializeOpListEnvironments struct { } -func (*awsAwsjson10_deserializeOpListServiceInstances) ID() string { +func (*awsAwsjson10_deserializeOpListEnvironments) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServiceInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListEnvironments) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5644,9 +5659,9 @@ func (m *awsAwsjson10_deserializeOpListServiceInstances) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServiceInstances(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironments(response, &metadata) } - output := &ListServiceInstancesOutput{} + output := &ListEnvironmentsOutput{} out.Result = output var buff [1024]byte @@ -5666,7 +5681,7 @@ func (m *awsAwsjson10_deserializeOpListServiceInstances) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServiceInstancesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListEnvironmentsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5680,7 +5695,7 @@ func (m *awsAwsjson10_deserializeOpListServiceInstances) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServiceInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListEnvironments(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5746,14 +5761,14 @@ func awsAwsjson10_deserializeOpErrorListServiceInstances(response *smithyhttp.Re } } -type awsAwsjson10_deserializeOpListServicePipelineOutputs struct { +type awsAwsjson10_deserializeOpListEnvironmentTemplates struct { } -func (*awsAwsjson10_deserializeOpListServicePipelineOutputs) ID() string { +func (*awsAwsjson10_deserializeOpListEnvironmentTemplates) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServicePipelineOutputs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListEnvironmentTemplates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5767,9 +5782,9 @@ func (m *awsAwsjson10_deserializeOpListServicePipelineOutputs) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServicePipelineOutputs(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentTemplates(response, &metadata) } - output := &ListServicePipelineOutputsOutput{} + output := &ListEnvironmentTemplatesOutput{} out.Result = output var buff [1024]byte @@ -5789,7 +5804,7 @@ func (m *awsAwsjson10_deserializeOpListServicePipelineOutputs) HandleDeserialize return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServicePipelineOutputsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListEnvironmentTemplatesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5803,7 +5818,7 @@ func (m *awsAwsjson10_deserializeOpListServicePipelineOutputs) HandleDeserialize return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServicePipelineOutputs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListEnvironmentTemplates(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5850,9 +5865,6 @@ func awsAwsjson10_deserializeOpErrorListServicePipelineOutputs(response *smithyh case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -5869,14 +5881,14 @@ func awsAwsjson10_deserializeOpErrorListServicePipelineOutputs(response *smithyh } } -type awsAwsjson10_deserializeOpListServicePipelineProvisionedResources struct { +type awsAwsjson10_deserializeOpListEnvironmentTemplateVersions struct { } -func (*awsAwsjson10_deserializeOpListServicePipelineProvisionedResources) ID() string { +func (*awsAwsjson10_deserializeOpListEnvironmentTemplateVersions) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServicePipelineProvisionedResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListEnvironmentTemplateVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -5890,9 +5902,9 @@ func (m *awsAwsjson10_deserializeOpListServicePipelineProvisionedResources) Hand } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServicePipelineProvisionedResources(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListEnvironmentTemplateVersions(response, &metadata) } - output := &ListServicePipelineProvisionedResourcesOutput{} + output := &ListEnvironmentTemplateVersionsOutput{} out.Result = output var buff [1024]byte @@ -5912,7 +5924,7 @@ func (m *awsAwsjson10_deserializeOpListServicePipelineProvisionedResources) Hand return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServicePipelineProvisionedResourcesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListEnvironmentTemplateVersionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -5926,7 +5938,7 @@ func (m *awsAwsjson10_deserializeOpListServicePipelineProvisionedResources) Hand return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServicePipelineProvisionedResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListEnvironmentTemplateVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -5992,14 +6004,14 @@ func awsAwsjson10_deserializeOpErrorListServicePipelineProvisionedResources(resp } } -type awsAwsjson10_deserializeOpListServices struct { +type awsAwsjson10_deserializeOpListRepositories struct { } -func (*awsAwsjson10_deserializeOpListServices) ID() string { +func (*awsAwsjson10_deserializeOpListRepositories) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServices) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListRepositories) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6013,9 +6025,9 @@ func (m *awsAwsjson10_deserializeOpListServices) HandleDeserialize(ctx context.C } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServices(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListRepositories(response, &metadata) } - output := &ListServicesOutput{} + output := &ListRepositoriesOutput{} out.Result = output var buff [1024]byte @@ -6035,7 +6047,7 @@ func (m *awsAwsjson10_deserializeOpListServices) HandleDeserialize(ctx context.C return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServicesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListRepositoriesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6049,7 +6061,7 @@ func (m *awsAwsjson10_deserializeOpListServices) HandleDeserialize(ctx context.C return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServices(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListRepositories(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6096,6 +6108,9 @@ func awsAwsjson10_deserializeOpErrorListServices(response *smithyhttp.Response, case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -6112,14 +6127,14 @@ func awsAwsjson10_deserializeOpErrorListServices(response *smithyhttp.Response, } } -type awsAwsjson10_deserializeOpListServiceTemplates struct { +type awsAwsjson10_deserializeOpListRepositorySyncDefinitions struct { } -func (*awsAwsjson10_deserializeOpListServiceTemplates) ID() string { +func (*awsAwsjson10_deserializeOpListRepositorySyncDefinitions) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServiceTemplates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListRepositorySyncDefinitions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6133,9 +6148,9 @@ func (m *awsAwsjson10_deserializeOpListServiceTemplates) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServiceTemplates(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListRepositorySyncDefinitions(response, &metadata) } - output := &ListServiceTemplatesOutput{} + output := &ListRepositorySyncDefinitionsOutput{} out.Result = output var buff [1024]byte @@ -6155,7 +6170,7 @@ func (m *awsAwsjson10_deserializeOpListServiceTemplates) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServiceTemplatesOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListRepositorySyncDefinitionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6169,7 +6184,7 @@ func (m *awsAwsjson10_deserializeOpListServiceTemplates) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServiceTemplates(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListRepositorySyncDefinitions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6232,14 +6247,14 @@ func awsAwsjson10_deserializeOpErrorListServiceTemplates(response *smithyhttp.Re } } -type awsAwsjson10_deserializeOpListServiceTemplateVersions struct { +type awsAwsjson10_deserializeOpListServiceInstanceOutputs struct { } -func (*awsAwsjson10_deserializeOpListServiceTemplateVersions) ID() string { +func (*awsAwsjson10_deserializeOpListServiceInstanceOutputs) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListServiceTemplateVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServiceInstanceOutputs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6253,9 +6268,9 @@ func (m *awsAwsjson10_deserializeOpListServiceTemplateVersions) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListServiceTemplateVersions(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServiceInstanceOutputs(response, &metadata) } - output := &ListServiceTemplateVersionsOutput{} + output := &ListServiceInstanceOutputsOutput{} out.Result = output var buff [1024]byte @@ -6275,7 +6290,7 @@ func (m *awsAwsjson10_deserializeOpListServiceTemplateVersions) HandleDeserializ return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListServiceTemplateVersionsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServiceInstanceOutputsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6289,7 +6304,7 @@ func (m *awsAwsjson10_deserializeOpListServiceTemplateVersions) HandleDeserializ return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListServiceTemplateVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServiceInstanceOutputs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6355,14 +6370,14 @@ func awsAwsjson10_deserializeOpErrorListServiceTemplateVersions(response *smithy } } -type awsAwsjson10_deserializeOpListTagsForResource struct { +type awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources struct { } -func (*awsAwsjson10_deserializeOpListTagsForResource) ID() string { +func (*awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServiceInstanceProvisionedResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6376,9 +6391,9 @@ func (m *awsAwsjson10_deserializeOpListTagsForResource) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorListTagsForResource(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServiceInstanceProvisionedResources(response, &metadata) } - output := &ListTagsForResourceOutput{} + output := &ListServiceInstanceProvisionedResourcesOutput{} out.Result = output var buff [1024]byte @@ -6398,7 +6413,7 @@ func (m *awsAwsjson10_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServiceInstanceProvisionedResourcesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6412,7 +6427,7 @@ func (m *awsAwsjson10_deserializeOpListTagsForResource) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsjson10_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServiceInstanceProvisionedResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6478,14 +6493,14 @@ func awsAwsjson10_deserializeOpErrorListTagsForResource(response *smithyhttp.Res } } -type awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange struct { +type awsAwsjson10_deserializeOpListServiceInstances struct { } -func (*awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange) ID() string { +func (*awsAwsjson10_deserializeOpListServiceInstances) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServiceInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6499,9 +6514,9 @@ func (m *awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange) HandleD } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorNotifyResourceDeploymentStatusChange(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServiceInstances(response, &metadata) } - output := &NotifyResourceDeploymentStatusChangeOutput{} + output := &ListServiceInstancesOutput{} out.Result = output var buff [1024]byte @@ -6521,7 +6536,7 @@ func (m *awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange) HandleD return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentNotifyResourceDeploymentStatusChangeOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServiceInstancesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6535,7 +6550,7 @@ func (m *awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange) HandleD return out, metadata, err } -func awsAwsjson10_deserializeOpErrorNotifyResourceDeploymentStatusChange(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServiceInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6579,18 +6594,12 @@ func awsAwsjson10_deserializeOpErrorNotifyResourceDeploymentStatusChange(respons case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson10_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ServiceQuotaExceededException", errorCode): - return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -6607,14 +6616,14 @@ func awsAwsjson10_deserializeOpErrorNotifyResourceDeploymentStatusChange(respons } } -type awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection struct { +type awsAwsjson10_deserializeOpListServicePipelineOutputs struct { } -func (*awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection) ID() string { +func (*awsAwsjson10_deserializeOpListServicePipelineOutputs) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServicePipelineOutputs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6628,9 +6637,9 @@ func (m *awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorRejectEnvironmentAccountConnection(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServicePipelineOutputs(response, &metadata) } - output := &RejectEnvironmentAccountConnectionOutput{} + output := &ListServicePipelineOutputsOutput{} out.Result = output var buff [1024]byte @@ -6650,7 +6659,7 @@ func (m *awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection) HandleDes return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentRejectEnvironmentAccountConnectionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServicePipelineOutputsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6664,7 +6673,7 @@ func (m *awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection) HandleDes return out, metadata, err } -func awsAwsjson10_deserializeOpErrorRejectEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServicePipelineOutputs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6708,9 +6717,6 @@ func awsAwsjson10_deserializeOpErrorRejectEnvironmentAccountConnection(response case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson10_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -6733,14 +6739,14 @@ func awsAwsjson10_deserializeOpErrorRejectEnvironmentAccountConnection(response } } -type awsAwsjson10_deserializeOpTagResource struct { +type awsAwsjson10_deserializeOpListServicePipelineProvisionedResources struct { } -func (*awsAwsjson10_deserializeOpTagResource) ID() string { +func (*awsAwsjson10_deserializeOpListServicePipelineProvisionedResources) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServicePipelineProvisionedResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6754,9 +6760,9 @@ func (m *awsAwsjson10_deserializeOpTagResource) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorTagResource(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServicePipelineProvisionedResources(response, &metadata) } - output := &TagResourceOutput{} + output := &ListServicePipelineProvisionedResourcesOutput{} out.Result = output var buff [1024]byte @@ -6776,7 +6782,7 @@ func (m *awsAwsjson10_deserializeOpTagResource) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentTagResourceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServicePipelineProvisionedResourcesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6790,7 +6796,7 @@ func (m *awsAwsjson10_deserializeOpTagResource) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsjson10_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServicePipelineProvisionedResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6834,9 +6840,6 @@ func awsAwsjson10_deserializeOpErrorTagResource(response *smithyhttp.Response, m case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson10_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -6859,14 +6862,14 @@ func awsAwsjson10_deserializeOpErrorTagResource(response *smithyhttp.Response, m } } -type awsAwsjson10_deserializeOpUntagResource struct { +type awsAwsjson10_deserializeOpListServices struct { } -func (*awsAwsjson10_deserializeOpUntagResource) ID() string { +func (*awsAwsjson10_deserializeOpListServices) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServices) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6880,9 +6883,9 @@ func (m *awsAwsjson10_deserializeOpUntagResource) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUntagResource(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServices(response, &metadata) } - output := &UntagResourceOutput{} + output := &ListServicesOutput{} out.Result = output var buff [1024]byte @@ -6902,7 +6905,7 @@ func (m *awsAwsjson10_deserializeOpUntagResource) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUntagResourceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServicesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6916,7 +6919,7 @@ func (m *awsAwsjson10_deserializeOpUntagResource) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServices(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6960,15 +6963,9 @@ func awsAwsjson10_deserializeOpErrorUntagResource(response *smithyhttp.Response, case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson10_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -6985,14 +6982,14 @@ func awsAwsjson10_deserializeOpErrorUntagResource(response *smithyhttp.Response, } } -type awsAwsjson10_deserializeOpUpdateAccountSettings struct { +type awsAwsjson10_deserializeOpListServiceTemplates struct { } -func (*awsAwsjson10_deserializeOpUpdateAccountSettings) ID() string { +func (*awsAwsjson10_deserializeOpListServiceTemplates) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateAccountSettings) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServiceTemplates) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7006,9 +7003,9 @@ func (m *awsAwsjson10_deserializeOpUpdateAccountSettings) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateAccountSettings(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServiceTemplates(response, &metadata) } - output := &UpdateAccountSettingsOutput{} + output := &ListServiceTemplatesOutput{} out.Result = output var buff [1024]byte @@ -7028,7 +7025,7 @@ func (m *awsAwsjson10_deserializeOpUpdateAccountSettings) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServiceTemplatesOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7042,7 +7039,7 @@ func (m *awsAwsjson10_deserializeOpUpdateAccountSettings) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateAccountSettings(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServiceTemplates(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7086,9 +7083,6 @@ func awsAwsjson10_deserializeOpErrorUpdateAccountSettings(response *smithyhttp.R case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson10_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -7108,14 +7102,14 @@ func awsAwsjson10_deserializeOpErrorUpdateAccountSettings(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpUpdateEnvironment struct { +type awsAwsjson10_deserializeOpListServiceTemplateVersions struct { } -func (*awsAwsjson10_deserializeOpUpdateEnvironment) ID() string { +func (*awsAwsjson10_deserializeOpListServiceTemplateVersions) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListServiceTemplateVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7129,9 +7123,9 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironment) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironment(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListServiceTemplateVersions(response, &metadata) } - output := &UpdateEnvironmentOutput{} + output := &ListServiceTemplateVersionsOutput{} out.Result = output var buff [1024]byte @@ -7151,7 +7145,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironment) HandleDeserialize(ctx cont return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListServiceTemplateVersionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7165,7 +7159,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironment) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListServiceTemplateVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7209,9 +7203,6 @@ func awsAwsjson10_deserializeOpErrorUpdateEnvironment(response *smithyhttp.Respo case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson10_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -7234,14 +7225,14 @@ func awsAwsjson10_deserializeOpErrorUpdateEnvironment(response *smithyhttp.Respo } } -type awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection struct { +type awsAwsjson10_deserializeOpListTagsForResource struct { } -func (*awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection) ID() string { +func (*awsAwsjson10_deserializeOpListTagsForResource) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7255,9 +7246,9 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironmentAccountConnection(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorListTagsForResource(response, &metadata) } - output := &UpdateEnvironmentAccountConnectionOutput{} + output := &ListTagsForResourceOutput{} out.Result = output var buff [1024]byte @@ -7277,7 +7268,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection) HandleDes return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentAccountConnectionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentListTagsForResourceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7291,7 +7282,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection) HandleDes return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7335,9 +7326,6 @@ func awsAwsjson10_deserializeOpErrorUpdateEnvironmentAccountConnection(response case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson10_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -7360,14 +7348,14 @@ func awsAwsjson10_deserializeOpErrorUpdateEnvironmentAccountConnection(response } } -type awsAwsjson10_deserializeOpUpdateEnvironmentTemplate struct { +type awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange struct { } -func (*awsAwsjson10_deserializeOpUpdateEnvironmentTemplate) ID() string { +func (*awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpNotifyResourceDeploymentStatusChange) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7381,9 +7369,9 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplate) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorNotifyResourceDeploymentStatusChange(response, &metadata) } - output := &UpdateEnvironmentTemplateOutput{} + output := &NotifyResourceDeploymentStatusChangeOutput{} out.Result = output var buff [1024]byte @@ -7403,7 +7391,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplate) HandleDeserialize( return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentNotifyResourceDeploymentStatusChangeOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7417,7 +7405,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplate) HandleDeserialize( return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorNotifyResourceDeploymentStatusChange(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7470,6 +7458,9 @@ func awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplate(response *smithyht case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -7486,14 +7477,14 @@ func awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplate(response *smithyht } } -type awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion struct { +type awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection struct { } -func (*awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpRejectEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7507,9 +7498,9 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorRejectEnvironmentAccountConnection(response, &metadata) } - output := &UpdateEnvironmentTemplateVersionOutput{} + output := &RejectEnvironmentAccountConnectionOutput{} out.Result = output var buff [1024]byte @@ -7529,7 +7520,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion) HandleDeser return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentRejectEnvironmentAccountConnectionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7543,7 +7534,7 @@ func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion) HandleDeser return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorRejectEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7612,14 +7603,14 @@ func awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplateVersion(response *s } } -type awsAwsjson10_deserializeOpUpdateService struct { +type awsAwsjson10_deserializeOpTagResource struct { } -func (*awsAwsjson10_deserializeOpUpdateService) ID() string { +func (*awsAwsjson10_deserializeOpTagResource) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7633,9 +7624,9 @@ func (m *awsAwsjson10_deserializeOpUpdateService) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateService(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorTagResource(response, &metadata) } - output := &UpdateServiceOutput{} + output := &TagResourceOutput{} out.Result = output var buff [1024]byte @@ -7655,7 +7646,7 @@ func (m *awsAwsjson10_deserializeOpUpdateService) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateServiceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentTagResourceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7669,7 +7660,7 @@ func (m *awsAwsjson10_deserializeOpUpdateService) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateService(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7722,9 +7713,6 @@ func awsAwsjson10_deserializeOpErrorUpdateService(response *smithyhttp.Response, case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ServiceQuotaExceededException", errorCode): - return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -7741,14 +7729,14 @@ func awsAwsjson10_deserializeOpErrorUpdateService(response *smithyhttp.Response, } } -type awsAwsjson10_deserializeOpUpdateServiceInstance struct { +type awsAwsjson10_deserializeOpUntagResource struct { } -func (*awsAwsjson10_deserializeOpUpdateServiceInstance) ID() string { +func (*awsAwsjson10_deserializeOpUntagResource) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateServiceInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7762,9 +7750,9 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceInstance) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServiceInstance(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorUntagResource(response, &metadata) } - output := &UpdateServiceInstanceOutput{} + output := &UntagResourceOutput{} out.Result = output var buff [1024]byte @@ -7784,7 +7772,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceInstance) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateServiceInstanceOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentUntagResourceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7798,7 +7786,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceInstance) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateServiceInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7867,14 +7855,14 @@ func awsAwsjson10_deserializeOpErrorUpdateServiceInstance(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpUpdateServicePipeline struct { +type awsAwsjson10_deserializeOpUpdateAccountSettings struct { } -func (*awsAwsjson10_deserializeOpUpdateServicePipeline) ID() string { +func (*awsAwsjson10_deserializeOpUpdateAccountSettings) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateServicePipeline) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpUpdateAccountSettings) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7888,9 +7876,9 @@ func (m *awsAwsjson10_deserializeOpUpdateServicePipeline) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServicePipeline(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateAccountSettings(response, &metadata) } - output := &UpdateServicePipelineOutput{} + output := &UpdateAccountSettingsOutput{} out.Result = output var buff [1024]byte @@ -7910,7 +7898,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServicePipeline) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateServicePipelineOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7924,7 +7912,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServicePipeline) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateServicePipeline(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorUpdateAccountSettings(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7974,9 +7962,6 @@ func awsAwsjson10_deserializeOpErrorUpdateServicePipeline(response *smithyhttp.R case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -7993,14 +7978,14 @@ func awsAwsjson10_deserializeOpErrorUpdateServicePipeline(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpUpdateServiceTemplate struct { +type awsAwsjson10_deserializeOpUpdateComponent struct { } -func (*awsAwsjson10_deserializeOpUpdateServiceTemplate) ID() string { +func (*awsAwsjson10_deserializeOpUpdateComponent) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpUpdateComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8014,9 +7999,9 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceTemplate) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServiceTemplate(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateComponent(response, &metadata) } - output := &UpdateServiceTemplateOutput{} + output := &UpdateComponentOutput{} out.Result = output var buff [1024]byte @@ -8036,7 +8021,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceTemplate) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentUpdateComponentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8050,7 +8035,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceTemplate) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorUpdateComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8103,6 +8088,9 @@ func awsAwsjson10_deserializeOpErrorUpdateServiceTemplate(response *smithyhttp.R case strings.EqualFold("ResourceNotFoundException", errorCode): return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) + case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) @@ -8119,14 +8107,14 @@ func awsAwsjson10_deserializeOpErrorUpdateServiceTemplate(response *smithyhttp.R } } -type awsAwsjson10_deserializeOpUpdateServiceTemplateVersion struct { +type awsAwsjson10_deserializeOpUpdateEnvironment struct { } -func (*awsAwsjson10_deserializeOpUpdateServiceTemplateVersion) ID() string { +func (*awsAwsjson10_deserializeOpUpdateEnvironment) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpUpdateEnvironment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8140,9 +8128,9 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceTemplateVersion) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServiceTemplateVersion(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironment(response, &metadata) } - output := &UpdateServiceTemplateVersionOutput{} + output := &UpdateEnvironmentOutput{} out.Result = output var buff [1024]byte @@ -8162,7 +8150,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceTemplateVersion) HandleDeseriali return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateVersionOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8176,7 +8164,7 @@ func (m *awsAwsjson10_deserializeOpUpdateServiceTemplateVersion) HandleDeseriali return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorUpdateEnvironment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8245,14 +8233,14 @@ func awsAwsjson10_deserializeOpErrorUpdateServiceTemplateVersion(response *smith } } -type awsAwsjson10_deserializeOpUpdateTemplateSyncConfig struct { +type awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection struct { } -func (*awsAwsjson10_deserializeOpUpdateTemplateSyncConfig) ID() string { +func (*awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson10_deserializeOpUpdateTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson10_deserializeOpUpdateEnvironmentAccountConnection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8266,9 +8254,9 @@ func (m *awsAwsjson10_deserializeOpUpdateTemplateSyncConfig) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson10_deserializeOpErrorUpdateTemplateSyncConfig(response, &metadata) + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironmentAccountConnection(response, &metadata) } - output := &UpdateTemplateSyncConfigOutput{} + output := &UpdateEnvironmentAccountConnectionOutput{} out.Result = output var buff [1024]byte @@ -8288,7 +8276,7 @@ func (m *awsAwsjson10_deserializeOpUpdateTemplateSyncConfig) HandleDeserialize(c return out, metadata, err } - err = awsAwsjson10_deserializeOpDocumentUpdateTemplateSyncConfigOutput(&output, shape) + err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentAccountConnectionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8302,7 +8290,7 @@ func (m *awsAwsjson10_deserializeOpUpdateTemplateSyncConfig) HandleDeserialize(c return out, metadata, err } -func awsAwsjson10_deserializeOpErrorUpdateTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson10_deserializeOpErrorUpdateEnvironmentAccountConnection(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8371,11 +8359,36 @@ func awsAwsjson10_deserializeOpErrorUpdateTemplateSyncConfig(response *smithyhtt } } -func awsAwsjson10_deserializeErrorAccessDeniedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { +type awsAwsjson10_deserializeOpUpdateEnvironmentTemplate struct { +} + +func (*awsAwsjson10_deserializeOpUpdateEnvironmentTemplate) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplate(response, &metadata) + } + output := &UpdateEnvironmentTemplateOutput{} + out.Result = output + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) + body := io.TeeReader(response.Body, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() var shape interface{} @@ -8386,12 +8399,10 @@ func awsAwsjson10_deserializeErrorAccessDeniedException(response *smithyhttp.Res Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } - return err + return out, metadata, err } - output := &types.AccessDeniedException{} - err := awsAwsjson10_deserializeDocumentAccessDeniedException(&output, shape) - + err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8399,34 +8410,34 @@ func awsAwsjson10_deserializeErrorAccessDeniedException(response *smithyhttp.Res Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } - return err + return out, metadata, err } - errorBody.Seek(0, io.SeekStart) - return output + return out, metadata, err } -func awsAwsjson10_deserializeErrorConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { +func awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - output := &types.ConflictException{} - err := awsAwsjson10_deserializeDocumentConflictException(&output, shape) - + code, message, err := restjson.GetErrorInfo(decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8438,49 +8449,72 @@ func awsAwsjson10_deserializeErrorConflictException(response *smithyhttp.Respons } errorBody.Seek(0, io.SeekStart) - return output -} - -func awsAwsjson10_deserializeErrorInternalServerException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, } - return err + return genericError + } +} - output := &types.InternalServerException{} - err := awsAwsjson10_deserializeDocumentInternalServerException(&output, shape) +type awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion struct { +} + +func (*awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion) ID() string { + return "OperationDeserializer" +} +func (m *awsAwsjson10_deserializeOpUpdateEnvironmentTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err + return out, metadata, err } - errorBody.Seek(0, io.SeekStart) - return output -} + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplateVersion(response, &metadata) + } + output := &UpdateEnvironmentTemplateVersionOutput{} + out.Result = output -func awsAwsjson10_deserializeErrorResourceNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) + body := io.TeeReader(response.Body, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() var shape interface{} @@ -8491,12 +8525,10 @@ func awsAwsjson10_deserializeErrorResourceNotFoundException(response *smithyhttp Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } - return err + return out, metadata, err } - output := &types.ResourceNotFoundException{} - err := awsAwsjson10_deserializeDocumentResourceNotFoundException(&output, shape) - + err = awsAwsjson10_deserializeOpDocumentUpdateEnvironmentTemplateVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8504,22 +8536,35 @@ func awsAwsjson10_deserializeErrorResourceNotFoundException(response *smithyhttp Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } - return err + return out, metadata, err } - errorBody.Seek(0, io.SeekStart) - return output + return out, metadata, err } -func awsAwsjson10_deserializeErrorServiceQuotaExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { +func awsAwsjson10_deserializeOpErrorUpdateEnvironmentTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) err = &smithy.DeserializationError{ @@ -8529,28 +8574,73 @@ func awsAwsjson10_deserializeErrorServiceQuotaExceededException(response *smithy return err } - output := &types.ServiceQuotaExceededException{} - err := awsAwsjson10_deserializeDocumentServiceQuotaExceededException(&output, shape) + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, } - return err + return genericError + } +} - errorBody.Seek(0, io.SeekStart) - return output +type awsAwsjson10_deserializeOpUpdateService struct { } -func awsAwsjson10_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { +func (*awsAwsjson10_deserializeOpUpdateService) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateService) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateService(response, &metadata) + } + output := &UpdateServiceOutput{} + out.Result = output + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) + body := io.TeeReader(response.Body, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() var shape interface{} @@ -8561,12 +8651,10 @@ func awsAwsjson10_deserializeErrorThrottlingException(response *smithyhttp.Respo Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } - return err + return out, metadata, err } - output := &types.ThrottlingException{} - err := awsAwsjson10_deserializeDocumentThrottlingException(&output, shape) - + err = awsAwsjson10_deserializeOpDocumentUpdateServiceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8574,34 +8662,34 @@ func awsAwsjson10_deserializeErrorThrottlingException(response *smithyhttp.Respo Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } - return err + return out, metadata, err } - errorBody.Seek(0, io.SeekStart) - return output + return out, metadata, err } -func awsAwsjson10_deserializeErrorValidationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { +func awsAwsjson10_deserializeOpErrorUpdateService(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) decoder := json.NewDecoder(body) decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - output := &types.ValidationException{} - err := awsAwsjson10_deserializeDocumentValidationException(&output, shape) - + code, message, err := restjson.GetErrorInfo(decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8613,38 +8701,1253 @@ func awsAwsjson10_deserializeErrorValidationException(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) - return output -} - -func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDeniedException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) } - if value == nil { - return nil + if len(message) != 0 { + errorMessage = message } - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson10_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson10_deserializeOpUpdateServiceInstance struct { +} + +func (*awsAwsjson10_deserializeOpUpdateServiceInstance) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateServiceInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServiceInstance(response, &metadata) + } + output := &UpdateServiceInstanceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson10_deserializeOpDocumentUpdateServiceInstanceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson10_deserializeOpErrorUpdateServiceInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson10_deserializeOpUpdateServicePipeline struct { +} + +func (*awsAwsjson10_deserializeOpUpdateServicePipeline) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateServicePipeline) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServicePipeline(response, &metadata) + } + output := &UpdateServicePipelineOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson10_deserializeOpDocumentUpdateServicePipelineOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson10_deserializeOpErrorUpdateServicePipeline(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson10_deserializeOpUpdateServiceTemplate struct { +} + +func (*awsAwsjson10_deserializeOpUpdateServiceTemplate) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateServiceTemplate) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServiceTemplate(response, &metadata) + } + output := &UpdateServiceTemplateOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson10_deserializeOpErrorUpdateServiceTemplate(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson10_deserializeOpUpdateServiceTemplateVersion struct { +} + +func (*awsAwsjson10_deserializeOpUpdateServiceTemplateVersion) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateServiceTemplateVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateServiceTemplateVersion(response, &metadata) + } + output := &UpdateServiceTemplateVersionOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson10_deserializeOpDocumentUpdateServiceTemplateVersionOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson10_deserializeOpErrorUpdateServiceTemplateVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson10_deserializeOpUpdateTemplateSyncConfig struct { +} + +func (*awsAwsjson10_deserializeOpUpdateTemplateSyncConfig) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson10_deserializeOpUpdateTemplateSyncConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson10_deserializeOpErrorUpdateTemplateSyncConfig(response, &metadata) + } + output := &UpdateTemplateSyncConfigOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson10_deserializeOpDocumentUpdateTemplateSyncConfigOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson10_deserializeOpErrorUpdateTemplateSyncConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson10_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsAwsjson10_deserializeErrorAccessDeniedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.AccessDeniedException{} + err := awsAwsjson10_deserializeDocumentAccessDeniedException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson10_deserializeErrorConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ConflictException{} + err := awsAwsjson10_deserializeDocumentConflictException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson10_deserializeErrorInternalServerException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.InternalServerException{} + err := awsAwsjson10_deserializeDocumentInternalServerException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson10_deserializeErrorResourceNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ResourceNotFoundException{} + err := awsAwsjson10_deserializeDocumentResourceNotFoundException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson10_deserializeErrorServiceQuotaExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ServiceQuotaExceededException{} + err := awsAwsjson10_deserializeDocumentServiceQuotaExceededException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson10_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ThrottlingException{} + err := awsAwsjson10_deserializeDocumentThrottlingException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson10_deserializeErrorValidationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ValidationException{} + err := awsAwsjson10_deserializeDocumentValidationException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDeniedException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AccessDeniedException + if *v == nil { + sv = &types.AccessDeniedException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson10_deserializeDocumentAccountSettings(v **types.AccountSettings, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AccountSettings + if *v == nil { + sv = &types.AccountSettings{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "pipelineProvisioningRepository": + if err := awsAwsjson10_deserializeDocumentRepositoryBranch(&sv.PipelineProvisioningRepository, value); err != nil { + return err + } + + case "pipelineServiceRoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PipelineRoleArn to be of type string, got %T instead", value) + } + sv.PipelineServiceRoleArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(v **types.CompatibleEnvironmentTemplate, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.CompatibleEnvironmentTemplate + if *v == nil { + sv = &types.CompatibleEnvironmentTemplate{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "majorVersion": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TemplateVersionPart to be of type string, got %T instead", value) + } + sv.MajorVersion = ptr.String(jtv) + } + + case "templateName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) + } + sv.TemplateName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplateList(v *[]types.CompatibleEnvironmentTemplate, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.CompatibleEnvironmentTemplate + if *v == nil { + cv = []types.CompatibleEnvironmentTemplate{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.CompatibleEnvironmentTemplate + destAddr := &col + if err := awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson10_deserializeDocumentComponent(v **types.Component, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Component + if *v == nil { + sv = &types.Component{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ComponentArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) + } + + case "createdAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "deploymentStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DeploymentStatus to be of type string, got %T instead", value) + } + sv.DeploymentStatus = types.DeploymentStatus(jtv) + } + + case "deploymentStatusMessage": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected StatusMessage to be of type string, got %T instead", value) + } + sv.DeploymentStatusMessage = ptr.String(jtv) + } + + case "description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Description to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "environmentName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) + } + sv.EnvironmentName = ptr.String(jtv) + } + + case "lastDeploymentAttemptedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastDeploymentAttemptedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "lastDeploymentSucceededAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastDeploymentSucceededAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "lastModifiedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "name": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) + } + sv.Name = ptr.String(jtv) + } + + case "serviceInstanceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) + } + sv.ServiceInstanceName = ptr.String(jtv) + } - var sv *types.AccessDeniedException - if *v == nil { - sv = &types.AccessDeniedException{} - } else { - sv = *v - } + case "serviceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) + } + sv.ServiceName = ptr.String(jtv) + } - for key, value := range shape { - switch key { - case "message": + case "serviceSpec": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ErrorMessage to be of type string, got %T instead", value) + return fmt.Errorf("expected SpecContents to be of type string, got %T instead", value) } - sv.Message = ptr.String(jtv) + sv.ServiceSpec = ptr.String(jtv) } default: @@ -8656,7 +9959,7 @@ func awsAwsjson10_deserializeDocumentAccessDeniedException(v **types.AccessDenie return nil } -func awsAwsjson10_deserializeDocumentAccountSettings(v **types.AccountSettings, value interface{}) error { +func awsAwsjson10_deserializeDocumentComponentSummary(v **types.ComponentSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8669,76 +9972,140 @@ func awsAwsjson10_deserializeDocumentAccountSettings(v **types.AccountSettings, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *types.AccountSettings + var sv *types.ComponentSummary if *v == nil { - sv = &types.AccountSettings{} + sv = &types.ComponentSummary{} } else { sv = *v } for key, value := range shape { switch key { - case "pipelineProvisioningRepository": - if err := awsAwsjson10_deserializeDocumentRepositoryBranch(&sv.PipelineProvisioningRepository, value); err != nil { - return err + case "arn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ComponentArn to be of type string, got %T instead", value) + } + sv.Arn = ptr.String(jtv) } - case "pipelineServiceRoleArn": + case "createdAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreatedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "deploymentStatus": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected PipelineRoleArn to be of type string, got %T instead", value) + return fmt.Errorf("expected DeploymentStatus to be of type string, got %T instead", value) } - sv.PipelineServiceRoleArn = ptr.String(jtv) + sv.DeploymentStatus = types.DeploymentStatus(jtv) } - default: - _, _ = key, value + case "deploymentStatusMessage": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected StatusMessage to be of type string, got %T instead", value) + } + sv.DeploymentStatusMessage = ptr.String(jtv) + } - } - } - *v = sv - return nil -} + case "environmentName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) + } + sv.EnvironmentName = ptr.String(jtv) + } -func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(v **types.CompatibleEnvironmentTemplate, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } + case "lastDeploymentAttemptedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastDeploymentAttemptedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) - var sv *types.CompatibleEnvironmentTemplate - if *v == nil { - sv = &types.CompatibleEnvironmentTemplate{} - } else { - sv = *v - } + } + } - for key, value := range shape { - switch key { - case "majorVersion": + case "lastDeploymentSucceededAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastDeploymentSucceededAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "lastModifiedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "name": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected TemplateVersionPart to be of type string, got %T instead", value) + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) } - sv.MajorVersion = ptr.String(jtv) + sv.Name = ptr.String(jtv) } - case "templateName": + case "serviceInstanceName": if value != nil { jtv, ok := value.(string) if !ok { return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) } - sv.TemplateName = ptr.String(jtv) + sv.ServiceInstanceName = ptr.String(jtv) + } + + case "serviceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceName to be of type string, got %T instead", value) + } + sv.ServiceName = ptr.String(jtv) } default: @@ -8750,7 +10117,7 @@ func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(v **types.Com return nil } -func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplateList(v *[]types.CompatibleEnvironmentTemplate, value interface{}) error { +func awsAwsjson10_deserializeDocumentComponentSummaryList(v *[]types.ComponentSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8763,17 +10130,17 @@ func awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplateList(v *[]type return fmt.Errorf("unexpected JSON type %v", value) } - var cv []types.CompatibleEnvironmentTemplate + var cv []types.ComponentSummary if *v == nil { - cv = []types.CompatibleEnvironmentTemplate{} + cv = []types.ComponentSummary{} } else { cv = *v } for _, value := range shape { - var col types.CompatibleEnvironmentTemplate + var col types.ComponentSummary destAddr := &col - if err := awsAwsjson10_deserializeDocumentCompatibleEnvironmentTemplate(&destAddr, value); err != nil { + if err := awsAwsjson10_deserializeDocumentComponentSummary(&destAddr, value); err != nil { return err } col = *destAddr @@ -8855,6 +10222,15 @@ func awsAwsjson10_deserializeDocumentEnvironment(v **types.Environment, value in sv.Arn = ptr.String(jtv) } + case "componentRoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ComponentRoleArn = ptr.String(jtv) + } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -9056,6 +10432,15 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(v **types.Envi sv.Arn = ptr.String(jtv) } + case "componentRoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ComponentRoleArn = ptr.String(jtv) + } + case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -9182,6 +10567,15 @@ func awsAwsjson10_deserializeDocumentEnvironmentAccountConnectionSummary(v **typ sv.Arn = ptr.String(jtv) } + case "componentRoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ComponentRoleArn = ptr.String(jtv) + } + case "environmentAccountId": if value != nil { jtv, ok := value.(string) @@ -9342,6 +10736,15 @@ func awsAwsjson10_deserializeDocumentEnvironmentSummary(v **types.EnvironmentSum sv.Arn = ptr.String(jtv) } + case "componentRoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.ComponentRoleArn = ptr.String(jtv) + } + case "createdAt": if value != nil { switch jtv := value.(type) { @@ -12277,6 +13680,42 @@ func awsAwsjson10_deserializeDocumentServiceTemplateSummaryList(v *[]types.Servi return nil } +func awsAwsjson10_deserializeDocumentServiceTemplateSupportedComponentSourceInputList(v *[]types.ServiceTemplateSupportedComponentSourceType, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.ServiceTemplateSupportedComponentSourceType + if *v == nil { + cv = []types.ServiceTemplateSupportedComponentSourceType{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ServiceTemplateSupportedComponentSourceType + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServiceTemplateSupportedComponentSourceType to be of type string, got %T instead", value) + } + col = types.ServiceTemplateSupportedComponentSourceType(jtv) + } + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTemplateVersion, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -12408,6 +13847,11 @@ func awsAwsjson10_deserializeDocumentServiceTemplateVersion(v **types.ServiceTem sv.StatusMessage = ptr.String(jtv) } + case "supportedComponentSources": + if err := awsAwsjson10_deserializeDocumentServiceTemplateSupportedComponentSourceInputList(&sv.SupportedComponentSources, value); err != nil { + return err + } + case "templateName": if value != nil { jtv, ok := value.(string) @@ -12843,7 +14287,43 @@ func awsAwsjson10_deserializeDocumentValidationException(v **types.ValidationExc return nil } -func awsAwsjson10_deserializeOpDocumentAcceptEnvironmentAccountConnectionOutput(v **AcceptEnvironmentAccountConnectionOutput, value interface{}) error { +func awsAwsjson10_deserializeOpDocumentAcceptEnvironmentAccountConnectionOutput(v **AcceptEnvironmentAccountConnectionOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *AcceptEnvironmentAccountConnectionOutput + if *v == nil { + sv = &AcceptEnvironmentAccountConnectionOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "environmentAccountConnection": + if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson10_deserializeOpDocumentCancelComponentDeploymentOutput(v **CancelComponentDeploymentOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -12856,17 +14336,17 @@ func awsAwsjson10_deserializeOpDocumentAcceptEnvironmentAccountConnectionOutput( return fmt.Errorf("unexpected JSON type %v", value) } - var sv *AcceptEnvironmentAccountConnectionOutput + var sv *CancelComponentDeploymentOutput if *v == nil { - sv = &AcceptEnvironmentAccountConnectionOutput{} + sv = &CancelComponentDeploymentOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "environmentAccountConnection": - if err := awsAwsjson10_deserializeDocumentEnvironmentAccountConnection(&sv.EnvironmentAccountConnection, value); err != nil { + case "component": + if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { return err } @@ -12987,6 +14467,42 @@ func awsAwsjson10_deserializeOpDocumentCancelServicePipelineDeploymentOutput(v * return nil } +func awsAwsjson10_deserializeOpDocumentCreateComponentOutput(v **CreateComponentOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateComponentOutput + if *v == nil { + sv = &CreateComponentOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "component": + if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeOpDocumentCreateEnvironmentAccountConnectionOutput(v **CreateEnvironmentAccountConnectionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -13311,6 +14827,42 @@ func awsAwsjson10_deserializeOpDocumentCreateTemplateSyncConfigOutput(v **Create return nil } +func awsAwsjson10_deserializeOpDocumentDeleteComponentOutput(v **DeleteComponentOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DeleteComponentOutput + if *v == nil { + sv = &DeleteComponentOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "component": + if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeOpDocumentDeleteEnvironmentAccountConnectionOutput(v **DeleteEnvironmentAccountConnectionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -13671,6 +15223,42 @@ func awsAwsjson10_deserializeOpDocumentGetAccountSettingsOutput(v **GetAccountSe return nil } +func awsAwsjson10_deserializeOpDocumentGetComponentOutput(v **GetComponentOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetComponentOutput + if *v == nil { + sv = &GetComponentOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "component": + if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeOpDocumentGetEnvironmentAccountConnectionOutput(v **GetEnvironmentAccountConnectionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -14113,6 +15701,141 @@ func awsAwsjson10_deserializeOpDocumentGetTemplateSyncStatusOutput(v **GetTempla return nil } +func awsAwsjson10_deserializeOpDocumentListComponentOutputsOutput(v **ListComponentOutputsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListComponentOutputsOutput + if *v == nil { + sv = &ListComponentOutputsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EmptyNextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "outputs": + if err := awsAwsjson10_deserializeDocumentOutputsList(&sv.Outputs, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson10_deserializeOpDocumentListComponentProvisionedResourcesOutput(v **ListComponentProvisionedResourcesOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListComponentProvisionedResourcesOutput + if *v == nil { + sv = &ListComponentProvisionedResourcesOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EmptyNextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "provisionedResources": + if err := awsAwsjson10_deserializeDocumentProvisionedResourceList(&sv.ProvisionedResources, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson10_deserializeOpDocumentListComponentsOutput(v **ListComponentsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListComponentsOutput + if *v == nil { + sv = &ListComponentsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "components": + if err := awsAwsjson10_deserializeDocumentComponentSummaryList(&sv.Components, value); err != nil { + return err + } + + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeOpDocumentListEnvironmentAccountConnectionsOutput(v **ListEnvironmentAccountConnectionsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -15043,6 +16766,42 @@ func awsAwsjson10_deserializeOpDocumentUpdateAccountSettingsOutput(v **UpdateAcc return nil } +func awsAwsjson10_deserializeOpDocumentUpdateComponentOutput(v **UpdateComponentOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateComponentOutput + if *v == nil { + sv = &UpdateComponentOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "component": + if err := awsAwsjson10_deserializeDocumentComponent(&sv.Component, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeOpDocumentUpdateEnvironmentAccountConnectionOutput(v **UpdateEnvironmentAccountConnectionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/proton/generated.json b/service/proton/generated.json index 5e444a2cc70..f326fb9041a 100644 --- a/service/proton/generated.json +++ b/service/proton/generated.json @@ -10,9 +10,11 @@ "api_client.go", "api_client_test.go", "api_op_AcceptEnvironmentAccountConnection.go", + "api_op_CancelComponentDeployment.go", "api_op_CancelEnvironmentDeployment.go", "api_op_CancelServiceInstanceDeployment.go", "api_op_CancelServicePipelineDeployment.go", + "api_op_CreateComponent.go", "api_op_CreateEnvironment.go", "api_op_CreateEnvironmentAccountConnection.go", "api_op_CreateEnvironmentTemplate.go", @@ -22,6 +24,7 @@ "api_op_CreateServiceTemplate.go", "api_op_CreateServiceTemplateVersion.go", "api_op_CreateTemplateSyncConfig.go", + "api_op_DeleteComponent.go", "api_op_DeleteEnvironment.go", "api_op_DeleteEnvironmentAccountConnection.go", "api_op_DeleteEnvironmentTemplate.go", @@ -32,6 +35,7 @@ "api_op_DeleteServiceTemplateVersion.go", "api_op_DeleteTemplateSyncConfig.go", "api_op_GetAccountSettings.go", + "api_op_GetComponent.go", "api_op_GetEnvironment.go", "api_op_GetEnvironmentAccountConnection.go", "api_op_GetEnvironmentTemplate.go", @@ -44,6 +48,9 @@ "api_op_GetServiceTemplateVersion.go", "api_op_GetTemplateSyncConfig.go", "api_op_GetTemplateSyncStatus.go", + "api_op_ListComponentOutputs.go", + "api_op_ListComponentProvisionedResources.go", + "api_op_ListComponents.go", "api_op_ListEnvironmentAccountConnections.go", "api_op_ListEnvironmentOutputs.go", "api_op_ListEnvironmentProvisionedResources.go", @@ -66,6 +73,7 @@ "api_op_TagResource.go", "api_op_UntagResource.go", "api_op_UpdateAccountSettings.go", + "api_op_UpdateComponent.go", "api_op_UpdateEnvironment.go", "api_op_UpdateEnvironmentAccountConnection.go", "api_op_UpdateEnvironmentTemplate.go", diff --git a/service/proton/go.mod b/service/proton/go.mod index 8a0d7113d60..dba386cb8ab 100644 --- a/service/proton/go.mod +++ b/service/proton/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/proton go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/proton/go.sum b/service/proton/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/proton/go.sum +++ b/service/proton/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/proton/go_module_metadata.go b/service/proton/go_module_metadata.go index cf790ed63dd..be3a7c91239 100644 --- a/service/proton/go_module_metadata.go +++ b/service/proton/go_module_metadata.go @@ -3,4 +3,4 @@ package proton // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.14.1" diff --git a/service/proton/internal/endpoints/endpoints.go b/service/proton/internal/endpoints/endpoints.go index fbf78457649..69d5672b6aa 100644 --- a/service/proton/internal/endpoints/endpoints.go +++ b/service/proton/internal/endpoints/endpoints.go @@ -134,6 +134,23 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.Aws, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-cn", diff --git a/service/proton/serializers.go b/service/proton/serializers.go index dc7d71e9231..779fae5589b 100644 --- a/service/proton/serializers.go +++ b/service/proton/serializers.go @@ -70,6 +70,61 @@ func (m *awsAwsjson10_serializeOpAcceptEnvironmentAccountConnection) HandleSeria return next.HandleSerialize(ctx, in) } +type awsAwsjson10_serializeOpCancelComponentDeployment struct { +} + +func (*awsAwsjson10_serializeOpCancelComponentDeployment) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpCancelComponentDeployment) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CancelComponentDeploymentInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.CancelComponentDeployment") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentCancelComponentDeploymentInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson10_serializeOpCancelEnvironmentDeployment struct { } @@ -235,6 +290,61 @@ func (m *awsAwsjson10_serializeOpCancelServicePipelineDeployment) HandleSerializ return next.HandleSerialize(ctx, in) } +type awsAwsjson10_serializeOpCreateComponent struct { +} + +func (*awsAwsjson10_serializeOpCreateComponent) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpCreateComponent) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateComponentInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.CreateComponent") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentCreateComponentInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson10_serializeOpCreateEnvironment struct { } @@ -730,6 +840,61 @@ func (m *awsAwsjson10_serializeOpCreateTemplateSyncConfig) HandleSerialize(ctx c return next.HandleSerialize(ctx, in) } +type awsAwsjson10_serializeOpDeleteComponent struct { +} + +func (*awsAwsjson10_serializeOpDeleteComponent) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpDeleteComponent) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteComponentInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.DeleteComponent") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentDeleteComponentInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson10_serializeOpDeleteEnvironment struct { } @@ -1280,6 +1445,61 @@ func (m *awsAwsjson10_serializeOpGetAccountSettings) HandleSerialize(ctx context return next.HandleSerialize(ctx, in) } +type awsAwsjson10_serializeOpGetComponent struct { +} + +func (*awsAwsjson10_serializeOpGetComponent) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpGetComponent) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetComponentInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.GetComponent") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentGetComponentInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson10_serializeOpGetEnvironment struct { } @@ -1790,7 +2010,172 @@ func (m *awsAwsjson10_serializeOpGetServiceTemplateVersion) HandleSerialize(ctx return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetServiceTemplateVersionInput) + input, ok := in.Parameters.(*GetServiceTemplateVersionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.GetServiceTemplateVersion") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentGetServiceTemplateVersionInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson10_serializeOpGetTemplateSyncConfig struct { +} + +func (*awsAwsjson10_serializeOpGetTemplateSyncConfig) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpGetTemplateSyncConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetTemplateSyncConfigInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.GetTemplateSyncConfig") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentGetTemplateSyncConfigInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson10_serializeOpGetTemplateSyncStatus struct { +} + +func (*awsAwsjson10_serializeOpGetTemplateSyncStatus) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpGetTemplateSyncStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetTemplateSyncStatusInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.GetTemplateSyncStatus") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentGetTemplateSyncStatusInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson10_serializeOpListComponentOutputs struct { +} + +func (*awsAwsjson10_serializeOpListComponentOutputs) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpListComponentOutputs) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListComponentOutputsInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -1811,10 +2196,10 @@ func (m *awsAwsjson10_serializeOpGetServiceTemplateVersion) HandleSerialize(ctx return out, metadata, &smithy.SerializationError{Err: err} } httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") - httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.GetServiceTemplateVersion") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.ListComponentOutputs") jsonEncoder := smithyjson.NewEncoder() - if err := awsAwsjson10_serializeOpDocumentGetServiceTemplateVersionInput(input, jsonEncoder.Value); err != nil { + if err := awsAwsjson10_serializeOpDocumentListComponentOutputsInput(input, jsonEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -1830,14 +2215,14 @@ func (m *awsAwsjson10_serializeOpGetServiceTemplateVersion) HandleSerialize(ctx return next.HandleSerialize(ctx, in) } -type awsAwsjson10_serializeOpGetTemplateSyncConfig struct { +type awsAwsjson10_serializeOpListComponentProvisionedResources struct { } -func (*awsAwsjson10_serializeOpGetTemplateSyncConfig) ID() string { +func (*awsAwsjson10_serializeOpListComponentProvisionedResources) ID() string { return "OperationSerializer" } -func (m *awsAwsjson10_serializeOpGetTemplateSyncConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsjson10_serializeOpListComponentProvisionedResources) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { request, ok := in.Request.(*smithyhttp.Request) @@ -1845,7 +2230,7 @@ func (m *awsAwsjson10_serializeOpGetTemplateSyncConfig) HandleSerialize(ctx cont return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetTemplateSyncConfigInput) + input, ok := in.Parameters.(*ListComponentProvisionedResourcesInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -1866,10 +2251,10 @@ func (m *awsAwsjson10_serializeOpGetTemplateSyncConfig) HandleSerialize(ctx cont return out, metadata, &smithy.SerializationError{Err: err} } httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") - httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.GetTemplateSyncConfig") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.ListComponentProvisionedResources") jsonEncoder := smithyjson.NewEncoder() - if err := awsAwsjson10_serializeOpDocumentGetTemplateSyncConfigInput(input, jsonEncoder.Value); err != nil { + if err := awsAwsjson10_serializeOpDocumentListComponentProvisionedResourcesInput(input, jsonEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -1885,14 +2270,14 @@ func (m *awsAwsjson10_serializeOpGetTemplateSyncConfig) HandleSerialize(ctx cont return next.HandleSerialize(ctx, in) } -type awsAwsjson10_serializeOpGetTemplateSyncStatus struct { +type awsAwsjson10_serializeOpListComponents struct { } -func (*awsAwsjson10_serializeOpGetTemplateSyncStatus) ID() string { +func (*awsAwsjson10_serializeOpListComponents) ID() string { return "OperationSerializer" } -func (m *awsAwsjson10_serializeOpGetTemplateSyncStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( +func (m *awsAwsjson10_serializeOpListComponents) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, ) { request, ok := in.Request.(*smithyhttp.Request) @@ -1900,7 +2285,7 @@ func (m *awsAwsjson10_serializeOpGetTemplateSyncStatus) HandleSerialize(ctx cont return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} } - input, ok := in.Parameters.(*GetTemplateSyncStatusInput) + input, ok := in.Parameters.(*ListComponentsInput) _ = input if !ok { return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} @@ -1921,10 +2306,10 @@ func (m *awsAwsjson10_serializeOpGetTemplateSyncStatus) HandleSerialize(ctx cont return out, metadata, &smithy.SerializationError{Err: err} } httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") - httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.GetTemplateSyncStatus") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.ListComponents") jsonEncoder := smithyjson.NewEncoder() - if err := awsAwsjson10_serializeOpDocumentGetTemplateSyncStatusInput(input, jsonEncoder.Value); err != nil { + if err := awsAwsjson10_serializeOpDocumentListComponentsInput(input, jsonEncoder.Value); err != nil { return out, metadata, &smithy.SerializationError{Err: err} } @@ -3150,6 +3535,61 @@ func (m *awsAwsjson10_serializeOpUpdateAccountSettings) HandleSerialize(ctx cont return next.HandleSerialize(ctx, in) } +type awsAwsjson10_serializeOpUpdateComponent struct { +} + +func (*awsAwsjson10_serializeOpUpdateComponent) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson10_serializeOpUpdateComponent) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateComponentInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.0") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AwsProton20200720.UpdateComponent") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson10_serializeOpDocumentUpdateComponentInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson10_serializeOpUpdateEnvironment struct { } @@ -3839,6 +4279,17 @@ func awsAwsjson10_serializeDocumentS3ObjectSource(v *types.S3ObjectSource, value return nil } +func awsAwsjson10_serializeDocumentServiceTemplateSupportedComponentSourceInputList(v []types.ServiceTemplateSupportedComponentSourceType, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(string(v[i])) + } + return nil +} + func awsAwsjson10_serializeDocumentTag(v *types.Tag, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3910,6 +4361,18 @@ func awsAwsjson10_serializeOpDocumentAcceptEnvironmentAccountConnectionInput(v * return nil } +func awsAwsjson10_serializeOpDocumentCancelComponentDeploymentInput(v *CancelComponentDeploymentInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ComponentName != nil { + ok := object.Key("componentName") + ok.String(*v.ComponentName) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentCancelEnvironmentDeploymentInput(v *CancelEnvironmentDeploymentInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3951,6 +4414,60 @@ func awsAwsjson10_serializeOpDocumentCancelServicePipelineDeploymentInput(v *Can return nil } +func awsAwsjson10_serializeOpDocumentCreateComponentInput(v *CreateComponentInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Description != nil { + ok := object.Key("description") + ok.String(*v.Description) + } + + if v.EnvironmentName != nil { + ok := object.Key("environmentName") + ok.String(*v.EnvironmentName) + } + + if v.Manifest != nil { + ok := object.Key("manifest") + ok.String(*v.Manifest) + } + + if v.Name != nil { + ok := object.Key("name") + ok.String(*v.Name) + } + + if v.ServiceInstanceName != nil { + ok := object.Key("serviceInstanceName") + ok.String(*v.ServiceInstanceName) + } + + if v.ServiceName != nil { + ok := object.Key("serviceName") + ok.String(*v.ServiceName) + } + + if v.ServiceSpec != nil { + ok := object.Key("serviceSpec") + ok.String(*v.ServiceSpec) + } + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsAwsjson10_serializeDocumentTagList(v.Tags, ok); err != nil { + return err + } + } + + if v.TemplateFile != nil { + ok := object.Key("templateFile") + ok.String(*v.TemplateFile) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentCreateEnvironmentAccountConnectionInput(v *CreateEnvironmentAccountConnectionInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -3960,6 +4477,11 @@ func awsAwsjson10_serializeOpDocumentCreateEnvironmentAccountConnectionInput(v * ok.String(*v.ClientToken) } + if v.ComponentRoleArn != nil { + ok := object.Key("componentRoleArn") + ok.String(*v.ComponentRoleArn) + } + if v.EnvironmentName != nil { ok := object.Key("environmentName") ok.String(*v.EnvironmentName) @@ -3989,6 +4511,11 @@ func awsAwsjson10_serializeOpDocumentCreateEnvironmentInput(v *CreateEnvironment object := value.Object() defer object.Close() + if v.ComponentRoleArn != nil { + ok := object.Key("componentRoleArn") + ok.String(*v.ComponentRoleArn) + } + if v.Description != nil { ok := object.Key("description") ok.String(*v.Description) @@ -4291,6 +4818,13 @@ func awsAwsjson10_serializeOpDocumentCreateServiceTemplateVersionInput(v *Create } } + if v.SupportedComponentSources != nil { + ok := object.Key("supportedComponentSources") + if err := awsAwsjson10_serializeDocumentServiceTemplateSupportedComponentSourceInputList(v.SupportedComponentSources, ok); err != nil { + return err + } + } + if v.Tags != nil { ok := object.Key("tags") if err := awsAwsjson10_serializeDocumentTagList(v.Tags, ok); err != nil { @@ -4343,6 +4877,18 @@ func awsAwsjson10_serializeOpDocumentCreateTemplateSyncConfigInput(v *CreateTemp return nil } +func awsAwsjson10_serializeOpDocumentDeleteComponentInput(v *DeleteComponentInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Name != nil { + ok := object.Key("name") + ok.String(*v.Name) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentDeleteEnvironmentAccountConnectionInput(v *DeleteEnvironmentAccountConnectionInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -4488,6 +5034,18 @@ func awsAwsjson10_serializeOpDocumentGetAccountSettingsInput(v *GetAccountSettin return nil } +func awsAwsjson10_serializeOpDocumentGetComponentInput(v *GetComponentInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Name != nil { + ok := object.Key("name") + ok.String(*v.Name) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentGetEnvironmentAccountConnectionInput(v *GetEnvironmentAccountConnectionInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -4692,6 +5250,72 @@ func awsAwsjson10_serializeOpDocumentGetTemplateSyncStatusInput(v *GetTemplateSy return nil } +func awsAwsjson10_serializeOpDocumentListComponentOutputsInput(v *ListComponentOutputsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ComponentName != nil { + ok := object.Key("componentName") + ok.String(*v.ComponentName) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + return nil +} + +func awsAwsjson10_serializeOpDocumentListComponentProvisionedResourcesInput(v *ListComponentProvisionedResourcesInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ComponentName != nil { + ok := object.Key("componentName") + ok.String(*v.ComponentName) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + return nil +} + +func awsAwsjson10_serializeOpDocumentListComponentsInput(v *ListComponentsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EnvironmentName != nil { + ok := object.Key("environmentName") + ok.String(*v.EnvironmentName) + } + + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + if v.ServiceInstanceName != nil { + ok := object.Key("serviceInstanceName") + ok.String(*v.ServiceInstanceName) + } + + if v.ServiceName != nil { + ok := object.Key("serviceName") + ok.String(*v.ServiceName) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentListEnvironmentAccountConnectionsInput(v *ListEnvironmentAccountConnectionsInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -5158,10 +5782,57 @@ func awsAwsjson10_serializeOpDocumentUpdateAccountSettingsInput(v *UpdateAccount return nil } +func awsAwsjson10_serializeOpDocumentUpdateComponentInput(v *UpdateComponentInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.DeploymentType) > 0 { + ok := object.Key("deploymentType") + ok.String(string(v.DeploymentType)) + } + + if v.Description != nil { + ok := object.Key("description") + ok.String(*v.Description) + } + + if v.Name != nil { + ok := object.Key("name") + ok.String(*v.Name) + } + + if v.ServiceInstanceName != nil { + ok := object.Key("serviceInstanceName") + ok.String(*v.ServiceInstanceName) + } + + if v.ServiceName != nil { + ok := object.Key("serviceName") + ok.String(*v.ServiceName) + } + + if v.ServiceSpec != nil { + ok := object.Key("serviceSpec") + ok.String(*v.ServiceSpec) + } + + if v.TemplateFile != nil { + ok := object.Key("templateFile") + ok.String(*v.TemplateFile) + } + + return nil +} + func awsAwsjson10_serializeOpDocumentUpdateEnvironmentAccountConnectionInput(v *UpdateEnvironmentAccountConnectionInput, value smithyjson.Value) error { object := value.Object() defer object.Close() + if v.ComponentRoleArn != nil { + ok := object.Key("componentRoleArn") + ok.String(*v.ComponentRoleArn) + } + if v.Id != nil { ok := object.Key("id") ok.String(*v.Id) @@ -5179,6 +5850,11 @@ func awsAwsjson10_serializeOpDocumentUpdateEnvironmentInput(v *UpdateEnvironment object := value.Object() defer object.Close() + if v.ComponentRoleArn != nil { + ok := object.Key("componentRoleArn") + ok.String(*v.ComponentRoleArn) + } + if len(v.DeploymentType) > 0 { ok := object.Key("deploymentType") ok.String(string(v.DeploymentType)) @@ -5427,6 +6103,13 @@ func awsAwsjson10_serializeOpDocumentUpdateServiceTemplateVersionInput(v *Update ok.String(string(v.Status)) } + if v.SupportedComponentSources != nil { + ok := object.Key("supportedComponentSources") + if err := awsAwsjson10_serializeDocumentServiceTemplateSupportedComponentSourceInputList(v.SupportedComponentSources, ok); err != nil { + return err + } + } + if v.TemplateName != nil { ok := object.Key("templateName") ok.String(*v.TemplateName) diff --git a/service/proton/types/enums.go b/service/proton/types/enums.go index 693275388e1..9899ec31491 100644 --- a/service/proton/types/enums.go +++ b/service/proton/types/enums.go @@ -2,6 +2,25 @@ package types +type ComponentDeploymentUpdateType string + +// Enum values for ComponentDeploymentUpdateType +const ( + ComponentDeploymentUpdateTypeNone ComponentDeploymentUpdateType = "NONE" + ComponentDeploymentUpdateTypeCurrentVersion ComponentDeploymentUpdateType = "CURRENT_VERSION" +) + +// Values returns all known values for ComponentDeploymentUpdateType. Note that +// this can be expanded in the future, and so it is only as up to date as the +// client. The ordering of this slice is not guaranteed to be stable across +// updates. +func (ComponentDeploymentUpdateType) Values() []ComponentDeploymentUpdateType { + return []ComponentDeploymentUpdateType{ + "NONE", + "CURRENT_VERSION", + } +} + type DeploymentStatus string // Enum values for DeploymentStatus @@ -266,6 +285,23 @@ func (ServiceStatus) Values() []ServiceStatus { } } +type ServiceTemplateSupportedComponentSourceType string + +// Enum values for ServiceTemplateSupportedComponentSourceType +const ( + ServiceTemplateSupportedComponentSourceTypeDirectlyDefined ServiceTemplateSupportedComponentSourceType = "DIRECTLY_DEFINED" +) + +// Values returns all known values for ServiceTemplateSupportedComponentSourceType. +// Note that this can be expanded in the future, and so it is only as up to date as +// the client. The ordering of this slice is not guaranteed to be stable across +// updates. +func (ServiceTemplateSupportedComponentSourceType) Values() []ServiceTemplateSupportedComponentSourceType { + return []ServiceTemplateSupportedComponentSourceType{ + "DIRECTLY_DEFINED", + } +} + type SyncType string // Enum values for SyncType diff --git a/service/proton/types/types.go b/service/proton/types/types.go index fe2a14469bc..dd19241f527 100644 --- a/service/proton/types/types.go +++ b/service/proton/types/types.go @@ -56,8 +56,129 @@ type CompatibleEnvironmentTemplateInput struct { noSmithyDocumentSerde } -// The environment detail data. An Proton environment is a set resources shared -// across an Proton service. +// Detailed data of an Proton component resource. For more information about +// components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +type Component struct { + + // The Amazon Resource Name (ARN) of the component. + // + // This member is required. + Arn *string + + // The time when the component was created. + // + // This member is required. + CreatedAt *time.Time + + // The component deployment status. + // + // This member is required. + DeploymentStatus DeploymentStatus + + // The name of the Proton environment that this component is associated with. + // + // This member is required. + EnvironmentName *string + + // The time when the component was last modified. + // + // This member is required. + LastModifiedAt *time.Time + + // The name of the component. + // + // This member is required. + Name *string + + // The message associated with the component deployment status. + DeploymentStatusMessage *string + + // A description of the component. + Description *string + + // The time when a deployment of the component was last attempted. + LastDeploymentAttemptedAt *time.Time + + // The time when the component was last deployed successfully. + LastDeploymentSucceededAt *time.Time + + // The name of the service instance that this component is attached to. Provided + // when a component is attached to a service instance. + ServiceInstanceName *string + + // The name of the service that serviceInstanceName is associated with. Provided + // when a component is attached to a service instance. + ServiceName *string + + // The service spec that the component uses to access service inputs. Provided when + // a component is attached to a service instance. + // + // This value conforms to the media type: application/yaml + ServiceSpec *string + + noSmithyDocumentSerde +} + +// Summary data of an Proton component resource. For more information about +// components, see Proton components +// (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the +// Proton Administrator Guide. +type ComponentSummary struct { + + // The Amazon Resource Name (ARN) of the component. + // + // This member is required. + Arn *string + + // The time when the component was created. + // + // This member is required. + CreatedAt *time.Time + + // The component deployment status. + // + // This member is required. + DeploymentStatus DeploymentStatus + + // The name of the Proton environment that this component is associated with. + // + // This member is required. + EnvironmentName *string + + // The time when the component was last modified. + // + // This member is required. + LastModifiedAt *time.Time + + // The name of the component. + // + // This member is required. + Name *string + + // The message associated with the component deployment status. + DeploymentStatusMessage *string + + // The time when a deployment of the component was last attempted. + LastDeploymentAttemptedAt *time.Time + + // The time when the component was last deployed successfully. + LastDeploymentSucceededAt *time.Time + + // The name of the service instance that this component is attached to. Provided + // when a component is attached to a service instance. + ServiceInstanceName *string + + // The name of the service that serviceInstanceName is associated with. Provided + // when a component is attached to a service instance. + ServiceName *string + + noSmithyDocumentSerde +} + +// Detailed data of an Proton environment resource. An Proton environment is a set +// of resources shared across Proton services. type Environment struct { // The Amazon Resource Name (ARN) of the environment. @@ -105,6 +226,16 @@ type Environment struct { // This member is required. TemplateName *string + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in this environment. It determines the + // scope of infrastructure that a component can provision. The environment must + // have a componentRoleArn to allow directly defined components to be associated + // with the environment. For more information about components, see Proton + // components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + // An environment deployment status message. DeploymentStatusMessage *string @@ -139,7 +270,7 @@ type Environment struct { noSmithyDocumentSerde } -// The environment account connection detail data. +// Detailed data of an Proton environment account connection resource. type EnvironmentAccountConnection struct { // The Amazon Resource Name (ARN) of the environment account connection. @@ -189,10 +320,20 @@ type EnvironmentAccountConnection struct { // This member is required. Status EnvironmentAccountConnectionStatus + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in the associated environment account. + // It determines the scope of infrastructure that a component can provision in the + // account. The environment account connection must have a componentRoleArn to + // allow directly defined components to be associated with any environments running + // in the account. For more information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + noSmithyDocumentSerde } -// A summary of the environment account connection detail data. +// Summary data of an Proton environment account connection resource. type EnvironmentAccountConnectionSummary struct { // The Amazon Resource Name (ARN) of the environment account connection. @@ -243,10 +384,21 @@ type EnvironmentAccountConnectionSummary struct { // This member is required. Status EnvironmentAccountConnectionStatus + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in the associated environment account. + // It determines the scope of infrastructure that a component can provision in the + // account. The environment account connection must have a componentRoleArn to + // allow directly defined components to be associated with any environments running + // in the account. For more information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + noSmithyDocumentSerde } -// A summary of the environment detail data. +// Summary data of an Proton environment resource. An Proton environment is a set +// of resources shared across Proton services. type EnvironmentSummary struct { // The Amazon Resource Name (ARN) of the environment. @@ -294,6 +446,16 @@ type EnvironmentSummary struct { // This member is required. TemplateName *string + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in this environment. It determines the + // scope of infrastructure that a component can provision. The environment must + // have a componentRoleArn to allow directly defined components to be associated + // with the environment. For more information about components, see Proton + // components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + ComponentRoleArn *string + // An environment deployment status message. DeploymentStatusMessage *string @@ -554,7 +716,7 @@ type ProvisionedResource struct { noSmithyDocumentSerde } -// Detail date for a repository that has been registered with Proton. +// Detailed data of a repository that has been registered with Proton. type Repository struct { // The repository Amazon Resource Name (ARN). @@ -631,7 +793,7 @@ type RepositoryBranchInput struct { noSmithyDocumentSerde } -// A summary of detail data for a registered repository. +// Summary data of a repository that has been registered with Proton. type RepositorySummary struct { // The Amazon Resource Name (ARN) for a repository. @@ -831,7 +993,7 @@ type S3ObjectSource struct { noSmithyDocumentSerde } -// The service detail data. +// Detailed data of an Proton service resource. type Service struct { // The Amazon Resource Name (ARN) of the service. @@ -875,7 +1037,7 @@ type Service struct { // Proton. BranchName *string - // A description of a service. + // A description of the service. Description *string // The service pipeline detail data. @@ -898,7 +1060,7 @@ type Service struct { noSmithyDocumentSerde } -// The service instance detail data. +// Detailed data of an Proton service instance resource. type ServiceInstance struct { // The Amazon Resource Name (ARN) of the service instance. @@ -958,7 +1120,7 @@ type ServiceInstance struct { // This member is required. TemplateName *string - // A service instance deployment status message. + // The message associated with the service instance deployment status. DeploymentStatusMessage *string // The service spec that was used to create the service instance. @@ -969,7 +1131,7 @@ type ServiceInstance struct { noSmithyDocumentSerde } -// A summary of the service instance detail data. +// Summary data of an Proton service instance resource. type ServiceInstanceSummary struct { // The Amazon Resource Name (ARN) of the service instance. @@ -1033,7 +1195,7 @@ type ServiceInstanceSummary struct { noSmithyDocumentSerde } -// The service pipeline detail data. +// Detailed data of an Proton service instance pipeline resource. type ServicePipeline struct { // The Amazon Resource Name (ARN) of the service pipeline. @@ -1089,7 +1251,7 @@ type ServicePipeline struct { noSmithyDocumentSerde } -// A summary of the service detail data. +// Summary data of an Proton service resource. type ServiceSummary struct { // The Amazon Resource Name (ARN) of the service. @@ -1131,7 +1293,7 @@ type ServiceSummary struct { noSmithyDocumentSerde } -// The service template detail data. +// Detailed data of an Proton service template resource. type ServiceTemplate struct { // The Amazon Resource Name (ARN) of the service template. @@ -1174,7 +1336,7 @@ type ServiceTemplate struct { noSmithyDocumentSerde } -// The service template summary data. +// Summary data of an Proton service template resource. type ServiceTemplateSummary struct { // The Amazon Resource Name (ARN) of the service template. @@ -1213,7 +1375,7 @@ type ServiceTemplateSummary struct { noSmithyDocumentSerde } -// The version of a service template detail data. +// Detailed data of an Proton service template version resource. type ServiceTemplateVersion struct { // The Amazon Resource Name (ARN) of the version of a service template. @@ -1272,10 +1434,17 @@ type ServiceTemplateVersion struct { // A service template version status message. StatusMessage *string + // An array of supported component sources. Components with supported sources can + // be attached to service instances based on this service template version. For + // more information about components, see Proton components + // (https://docs.aws.amazon.com/proton/latest/adminguide/ag-components.html) in the + // Proton Administrator Guide. + SupportedComponentSources []ServiceTemplateSupportedComponentSourceType + noSmithyDocumentSerde } -// A summary of the service template version detail data. +// Summary data of an Proton service template version resource. type ServiceTemplateVersionSummary struct { // The Amazon Resource Name (ARN) of the version of a service template. diff --git a/service/proton/validators.go b/service/proton/validators.go index 4b6f6e5876d..71bb57da087 100644 --- a/service/proton/validators.go +++ b/service/proton/validators.go @@ -30,6 +30,26 @@ func (m *validateOpAcceptEnvironmentAccountConnection) HandleInitialize(ctx cont return next.HandleInitialize(ctx, in) } +type validateOpCancelComponentDeployment struct { +} + +func (*validateOpCancelComponentDeployment) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCancelComponentDeployment) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CancelComponentDeploymentInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCancelComponentDeploymentInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCancelEnvironmentDeployment struct { } @@ -90,6 +110,26 @@ func (m *validateOpCancelServicePipelineDeployment) HandleInitialize(ctx context return next.HandleInitialize(ctx, in) } +type validateOpCreateComponent struct { +} + +func (*validateOpCreateComponent) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateComponentInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateComponentInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateEnvironmentAccountConnection struct { } @@ -270,6 +310,26 @@ func (m *validateOpCreateTemplateSyncConfig) HandleInitialize(ctx context.Contex return next.HandleInitialize(ctx, in) } +type validateOpDeleteComponent struct { +} + +func (*validateOpDeleteComponent) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteComponentInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteComponentInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDeleteEnvironmentAccountConnection struct { } @@ -450,6 +510,26 @@ func (m *validateOpDeleteTemplateSyncConfig) HandleInitialize(ctx context.Contex return next.HandleInitialize(ctx, in) } +type validateOpGetComponent struct { +} + +func (*validateOpGetComponent) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetComponentInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetComponentInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpGetEnvironmentAccountConnection struct { } @@ -690,6 +770,46 @@ func (m *validateOpGetTemplateSyncStatus) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpListComponentOutputs struct { +} + +func (*validateOpListComponentOutputs) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListComponentOutputs) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListComponentOutputsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListComponentOutputsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpListComponentProvisionedResources struct { +} + +func (*validateOpListComponentProvisionedResources) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListComponentProvisionedResources) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListComponentProvisionedResourcesInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListComponentProvisionedResourcesInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListEnvironmentAccountConnections struct { } @@ -1030,6 +1150,26 @@ func (m *validateOpUpdateAccountSettings) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpUpdateComponent struct { +} + +func (*validateOpUpdateComponent) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateComponent) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateComponentInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateComponentInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateEnvironmentAccountConnection struct { } @@ -1234,6 +1374,10 @@ func addOpAcceptEnvironmentAccountConnectionValidationMiddleware(stack *middlewa return stack.Initialize.Add(&validateOpAcceptEnvironmentAccountConnection{}, middleware.After) } +func addOpCancelComponentDeploymentValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCancelComponentDeployment{}, middleware.After) +} + func addOpCancelEnvironmentDeploymentValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCancelEnvironmentDeployment{}, middleware.After) } @@ -1246,6 +1390,10 @@ func addOpCancelServicePipelineDeploymentValidationMiddleware(stack *middleware. return stack.Initialize.Add(&validateOpCancelServicePipelineDeployment{}, middleware.After) } +func addOpCreateComponentValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateComponent{}, middleware.After) +} + func addOpCreateEnvironmentAccountConnectionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateEnvironmentAccountConnection{}, middleware.After) } @@ -1282,6 +1430,10 @@ func addOpCreateTemplateSyncConfigValidationMiddleware(stack *middleware.Stack) return stack.Initialize.Add(&validateOpCreateTemplateSyncConfig{}, middleware.After) } +func addOpDeleteComponentValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteComponent{}, middleware.After) +} + func addOpDeleteEnvironmentAccountConnectionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteEnvironmentAccountConnection{}, middleware.After) } @@ -1318,6 +1470,10 @@ func addOpDeleteTemplateSyncConfigValidationMiddleware(stack *middleware.Stack) return stack.Initialize.Add(&validateOpDeleteTemplateSyncConfig{}, middleware.After) } +func addOpGetComponentValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetComponent{}, middleware.After) +} + func addOpGetEnvironmentAccountConnectionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetEnvironmentAccountConnection{}, middleware.After) } @@ -1366,6 +1522,14 @@ func addOpGetTemplateSyncStatusValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpGetTemplateSyncStatus{}, middleware.After) } +func addOpListComponentOutputsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListComponentOutputs{}, middleware.After) +} + +func addOpListComponentProvisionedResourcesValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListComponentProvisionedResources{}, middleware.After) +} + func addOpListEnvironmentAccountConnectionsValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListEnvironmentAccountConnections{}, middleware.After) } @@ -1434,6 +1598,10 @@ func addOpUpdateAccountSettingsValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpUpdateAccountSettings{}, middleware.After) } +func addOpUpdateComponentValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateComponent{}, middleware.After) +} + func addOpUpdateEnvironmentAccountConnectionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateEnvironmentAccountConnection{}, middleware.After) } @@ -1652,6 +1820,21 @@ func validateOpAcceptEnvironmentAccountConnectionInput(v *AcceptEnvironmentAccou } } +func validateOpCancelComponentDeploymentInput(v *CancelComponentDeploymentInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CancelComponentDeploymentInput"} + if v.ComponentName == nil { + invalidParams.Add(smithy.NewErrParamRequired("ComponentName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCancelEnvironmentDeploymentInput(v *CancelEnvironmentDeploymentInput) error { if v == nil { return nil @@ -1700,6 +1883,32 @@ func validateOpCancelServicePipelineDeploymentInput(v *CancelServicePipelineDepl } } +func validateOpCreateComponentInput(v *CreateComponentInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateComponentInput"} + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if v.TemplateFile == nil { + invalidParams.Add(smithy.NewErrParamRequired("TemplateFile")) + } + if v.Manifest == nil { + invalidParams.Add(smithy.NewErrParamRequired("Manifest")) + } + if v.Tags != nil { + if err := validateTagList(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateEnvironmentAccountConnectionInput(v *CreateEnvironmentAccountConnectionInput) error { if v == nil { return nil @@ -1943,6 +2152,21 @@ func validateOpCreateTemplateSyncConfigInput(v *CreateTemplateSyncConfigInput) e } } +func validateOpDeleteComponentInput(v *DeleteComponentInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteComponentInput"} + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDeleteEnvironmentAccountConnectionInput(v *DeleteEnvironmentAccountConnectionInput) error { if v == nil { return nil @@ -2096,6 +2320,21 @@ func validateOpDeleteTemplateSyncConfigInput(v *DeleteTemplateSyncConfigInput) e } } +func validateOpGetComponentInput(v *GetComponentInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetComponentInput"} + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpGetEnvironmentAccountConnectionInput(v *GetEnvironmentAccountConnectionInput) error { if v == nil { return nil @@ -2312,6 +2551,36 @@ func validateOpGetTemplateSyncStatusInput(v *GetTemplateSyncStatusInput) error { } } +func validateOpListComponentOutputsInput(v *ListComponentOutputsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListComponentOutputsInput"} + if v.ComponentName == nil { + invalidParams.Add(smithy.NewErrParamRequired("ComponentName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpListComponentProvisionedResourcesInput(v *ListComponentProvisionedResourcesInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListComponentProvisionedResourcesInput"} + if v.ComponentName == nil { + invalidParams.Add(smithy.NewErrParamRequired("ComponentName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListEnvironmentAccountConnectionsInput(v *ListEnvironmentAccountConnectionsInput) error { if v == nil { return nil @@ -2596,6 +2865,24 @@ func validateOpUpdateAccountSettingsInput(v *UpdateAccountSettingsInput) error { } } +func validateOpUpdateComponentInput(v *UpdateComponentInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateComponentInput"} + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if len(v.DeploymentType) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("DeploymentType")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateEnvironmentAccountConnectionInput(v *UpdateEnvironmentAccountConnectionInput) error { if v == nil { return nil @@ -2604,9 +2891,6 @@ func validateOpUpdateEnvironmentAccountConnectionInput(v *UpdateEnvironmentAccou if v.Id == nil { invalidParams.Add(smithy.NewErrParamRequired("Id")) } - if v.RoleArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("RoleArn")) - } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/qldb/CHANGELOG.md b/service/qldb/CHANGELOG.md index d20971bdbb2..58663ce1d58 100644 --- a/service/qldb/CHANGELOG.md +++ b/service/qldb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/qldb/go.mod b/service/qldb/go.mod index 80e088840c6..102dd754628 100644 --- a/service/qldb/go.mod +++ b/service/qldb/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/qldb go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/qldb/go.sum b/service/qldb/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/qldb/go.sum +++ b/service/qldb/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/qldb/go_module_metadata.go b/service/qldb/go_module_metadata.go index f5d243acc36..94d0f9257fb 100644 --- a/service/qldb/go_module_metadata.go +++ b/service/qldb/go_module_metadata.go @@ -3,4 +3,4 @@ package qldb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.6" +const goModuleVersion = "1.14.7" diff --git a/service/qldbsession/CHANGELOG.md b/service/qldbsession/CHANGELOG.md index dc399695f19..72270c7eaeb 100644 --- a/service/qldbsession/CHANGELOG.md +++ b/service/qldbsession/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/qldbsession/go.mod b/service/qldbsession/go.mod index 294f0329ce5..c333859fbd0 100644 --- a/service/qldbsession/go.mod +++ b/service/qldbsession/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/qldbsession go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/qldbsession/go.sum b/service/qldbsession/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/qldbsession/go.sum +++ b/service/qldbsession/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/qldbsession/go_module_metadata.go b/service/qldbsession/go_module_metadata.go index 9ef87e82dd3..7efc6811870 100644 --- a/service/qldbsession/go_module_metadata.go +++ b/service/qldbsession/go_module_metadata.go @@ -3,4 +3,4 @@ package qldbsession // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/quicksight/CHANGELOG.md b/service/quicksight/CHANGELOG.md index eaf2f699a3c..b3c71b93af6 100644 --- a/service/quicksight/CHANGELOG.md +++ b/service/quicksight/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.22.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.22.0 (2022-05-18) + +* **Feature**: API UpdatePublicSharingSettings enables IAM admins to enable/disable account level setting for public access of dashboards. When enabled, owners/co-owners for dashboards can enable public access on their dashboards. These dashboards can only be accessed through share link or embedding. + # v1.21.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go b/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go index 89c78f7634b..b5121ccab24 100644 --- a/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go +++ b/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go @@ -24,14 +24,14 @@ import ( // should not be confused with the actual session lifetime that can be customized // using the SessionLifetimeInMinutes // (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes) -// parameter. The resulting user session is valid for 15 minutes (default) to 10 -// hours (maximum). +// parameter. The resulting user session is valid for 15 minutes (minimum) to 10 +// hours (maximum). The default session duration is 10 hours. // -// * You are charged only when the URL is used or there is -// interaction with Amazon QuickSight. +// * You are charged +// only when the URL is used or there is interaction with Amazon QuickSight. // -// For more information, see Embedded -// Analytics +// For +// more information, see Embedded Analytics // (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) in // the Amazon QuickSight User Guide. For more information about the high-level // steps for embedding and for an interactive demo of the ways you can customize @@ -57,7 +57,8 @@ type GenerateEmbedUrlForAnonymousUserInput struct { // The Amazon Resource Names for the Amazon QuickSight resources that the user is // authorized to access during the lifetime of the session. If you choose Dashboard // embedding experience, pass the list of dashboard ARNs in the account that you - // want the user to be able to view. + // want the user to be able to view. Currently, you can pass up to 25 dashboard + // ARNs in each API call. // // This member is required. AuthorizedResourceArns []string diff --git a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go index 1fe0331f24c..49baf0ecf43 100644 --- a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go +++ b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go @@ -25,14 +25,14 @@ import ( // be confused with the actual session lifetime that can be customized using the // SessionLifetimeInMinutes // (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html#QS-GenerateEmbedUrlForRegisteredUser-request-SessionLifetimeInMinutes) -// parameter. The resulting user session is valid for 15 minutes (default) to 10 -// hours (maximum). +// parameter. The resulting user session is valid for 15 minutes (minimum) to 10 +// hours (maximum). The default session duration is 10 hours. // -// * You are charged only when the URL is used or there is -// interaction with Amazon QuickSight. +// * You are charged +// only when the URL is used or there is interaction with Amazon QuickSight. // -// For more information, see Embedded -// Analytics +// For +// more information, see Embedded Analytics // (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) in // the Amazon QuickSight User Guide. For more information about the high-level // steps for embedding and for an interactive demo of the ways you can customize diff --git a/service/quicksight/api_op_UpdatePublicSharingSettings.go b/service/quicksight/api_op_UpdatePublicSharingSettings.go new file mode 100644 index 00000000000..615a772a5ad --- /dev/null +++ b/service/quicksight/api_op_UpdatePublicSharingSettings.go @@ -0,0 +1,134 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package quicksight + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Use the UpdatePublicSharingSettings operation to enable or disable the public +// sharing settings of an Amazon QuickSight dashboard. To use this operation, +// enable session capacity pricing on your Amazon QuickSight account. Before you +// can enable public sharing on your account, you need to allow public sharing +// permissions to an administrative user in the IAM console. For more information +// on using IAM with Amazon QuickSight, see Using Amazon QuickSight with IAM +// (https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html). +func (c *Client) UpdatePublicSharingSettings(ctx context.Context, params *UpdatePublicSharingSettingsInput, optFns ...func(*Options)) (*UpdatePublicSharingSettingsOutput, error) { + if params == nil { + params = &UpdatePublicSharingSettingsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdatePublicSharingSettings", params, optFns, c.addOperationUpdatePublicSharingSettingsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdatePublicSharingSettingsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdatePublicSharingSettingsInput struct { + + // The Amazon Web Services account ID associated with your Amazon QuickSight + // subscription. + // + // This member is required. + AwsAccountId *string + + // A boolean that indicates whether or not public sharing is enabled on a Amazon + // QuickSight account. + PublicSharingEnabled bool + + noSmithyDocumentSerde +} + +type UpdatePublicSharingSettingsOutput struct { + + // The Amazon Web Services request ID for this operation. + RequestId *string + + // The HTTP status of the request. + Status int32 + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdatePublicSharingSettingsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdatePublicSharingSettings{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdatePublicSharingSettings{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdatePublicSharingSettingsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePublicSharingSettings(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdatePublicSharingSettings(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "quicksight", + OperationName: "UpdatePublicSharingSettings", + } +} diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index 0b46cc2dd7a..2ff962e2b19 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -21752,6 +21752,186 @@ func awsRestjson1_deserializeOpDocumentUpdateIpRestrictionOutput(v **UpdateIpRes return nil } +type awsRestjson1_deserializeOpUpdatePublicSharingSettings struct { +} + +func (*awsRestjson1_deserializeOpUpdatePublicSharingSettings) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpUpdatePublicSharingSettings) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdatePublicSharingSettings(response, &metadata) + } + output := &UpdatePublicSharingSettingsOutput{} + out.Result = output + + err = awsRestjson1_deserializeOpHttpBindingsUpdatePublicSharingSettingsOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentUpdatePublicSharingSettingsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorUpdatePublicSharingSettings(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("InternalFailureException", errorCode): + return awsRestjson1_deserializeErrorInternalFailureException(response, errorBody) + + case strings.EqualFold("InvalidParameterValueException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("UnsupportedPricingPlanException", errorCode): + return awsRestjson1_deserializeErrorUnsupportedPricingPlanException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpHttpBindingsUpdatePublicSharingSettingsOutput(v *UpdatePublicSharingSettingsOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + v.Status = int32(response.StatusCode) + + return nil +} +func awsRestjson1_deserializeOpDocumentUpdatePublicSharingSettingsOutput(v **UpdatePublicSharingSettingsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdatePublicSharingSettingsOutput + if *v == nil { + sv = &UpdatePublicSharingSettingsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "RequestId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.RequestId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpUpdateTemplate struct { } @@ -23964,6 +24144,15 @@ func awsRestjson1_deserializeDocumentAccountSettings(v **types.AccountSettings, sv.NotificationEmail = ptr.String(jtv) } + case "PublicSharingEnabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.PublicSharingEnabled = jtv + } + default: _, _ = key, value diff --git a/service/quicksight/generated.json b/service/quicksight/generated.json index c4e1599fde5..54352443c12 100644 --- a/service/quicksight/generated.json +++ b/service/quicksight/generated.json @@ -118,6 +118,7 @@ "api_op_UpdateGroup.go", "api_op_UpdateIAMPolicyAssignment.go", "api_op_UpdateIpRestriction.go", + "api_op_UpdatePublicSharingSettings.go", "api_op_UpdateTemplate.go", "api_op_UpdateTemplateAlias.go", "api_op_UpdateTemplatePermissions.go", diff --git a/service/quicksight/go.mod b/service/quicksight/go.mod index 90a55b57453..932a63eec01 100644 --- a/service/quicksight/go.mod +++ b/service/quicksight/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/quicksight go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/quicksight/go.sum b/service/quicksight/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/quicksight/go.sum +++ b/service/quicksight/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/quicksight/go_module_metadata.go b/service/quicksight/go_module_metadata.go index 3dcc8b5601a..02deae929fe 100644 --- a/service/quicksight/go_module_metadata.go +++ b/service/quicksight/go_module_metadata.go @@ -3,4 +3,4 @@ package quicksight // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.5" +const goModuleVersion = "1.22.1" diff --git a/service/quicksight/serializers.go b/service/quicksight/serializers.go index bdf5c34bd02..40c91657a69 100644 --- a/service/quicksight/serializers.go +++ b/service/quicksight/serializers.go @@ -9274,6 +9274,87 @@ func awsRestjson1_serializeOpDocumentUpdateIpRestrictionInput(v *UpdateIpRestric return nil } +type awsRestjson1_serializeOpUpdatePublicSharingSettings struct { +} + +func (*awsRestjson1_serializeOpUpdatePublicSharingSettings) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpUpdatePublicSharingSettings) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdatePublicSharingSettingsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/accounts/{AwsAccountId}/public-sharing-settings") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsUpdatePublicSharingSettingsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentUpdatePublicSharingSettingsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsUpdatePublicSharingSettingsInput(v *UpdatePublicSharingSettingsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.AwsAccountId == nil || len(*v.AwsAccountId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member AwsAccountId must not be empty")} + } + if v.AwsAccountId != nil { + if err := encoder.SetURI("AwsAccountId").String(*v.AwsAccountId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentUpdatePublicSharingSettingsInput(v *UpdatePublicSharingSettingsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.PublicSharingEnabled { + ok := object.Key("PublicSharingEnabled") + ok.Boolean(v.PublicSharingEnabled) + } + + return nil +} + type awsRestjson1_serializeOpUpdateTemplate struct { } diff --git a/service/quicksight/types/types.go b/service/quicksight/types/types.go index f537bc17991..d9448e37202 100644 --- a/service/quicksight/types/types.go +++ b/service/quicksight/types/types.go @@ -39,6 +39,12 @@ type AccountSettings struct { // The main notification email for your Amazon QuickSight subscription. NotificationEmail *string + // A boolean that indicates whether or not public sharing is enabled on an Amazon + // QuickSight account. For more information about enabling public sharing, see + // UpdatePublicSharingSettings + // (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_UpdatePublicSharingSettings.html). + PublicSharingEnabled bool + noSmithyDocumentSerde } diff --git a/service/quicksight/validators.go b/service/quicksight/validators.go index 13b2f051ecd..46f6d187be4 100644 --- a/service/quicksight/validators.go +++ b/service/quicksight/validators.go @@ -2210,6 +2210,26 @@ func (m *validateOpUpdateIpRestriction) HandleInitialize(ctx context.Context, in return next.HandleInitialize(ctx, in) } +type validateOpUpdatePublicSharingSettings struct { +} + +func (*validateOpUpdatePublicSharingSettings) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdatePublicSharingSettings) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdatePublicSharingSettingsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdatePublicSharingSettingsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateTemplateAlias struct { } @@ -2790,6 +2810,10 @@ func addOpUpdateIpRestrictionValidationMiddleware(stack *middleware.Stack) error return stack.Initialize.Add(&validateOpUpdateIpRestriction{}, middleware.After) } +func addOpUpdatePublicSharingSettingsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdatePublicSharingSettings{}, middleware.After) +} + func addOpUpdateTemplateAliasValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateTemplateAlias{}, middleware.After) } @@ -7013,6 +7037,21 @@ func validateOpUpdateIpRestrictionInput(v *UpdateIpRestrictionInput) error { } } +func validateOpUpdatePublicSharingSettingsInput(v *UpdatePublicSharingSettingsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdatePublicSharingSettingsInput"} + if v.AwsAccountId == nil { + invalidParams.Add(smithy.NewErrParamRequired("AwsAccountId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateTemplateAliasInput(v *UpdateTemplateAliasInput) error { if v == nil { return nil diff --git a/service/ram/CHANGELOG.md b/service/ram/CHANGELOG.md index eb30992ca9b..3cbd0dc01b8 100644 --- a/service/ram/CHANGELOG.md +++ b/service/ram/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.9 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.8 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ram/go.mod b/service/ram/go.mod index a2fccb2889e..45379c154d9 100644 --- a/service/ram/go.mod +++ b/service/ram/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ram go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ram/go.sum b/service/ram/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ram/go.sum +++ b/service/ram/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ram/go_module_metadata.go b/service/ram/go_module_metadata.go index 30fb243bbfb..c3f06933511 100644 --- a/service/ram/go_module_metadata.go +++ b/service/ram/go_module_metadata.go @@ -3,4 +3,4 @@ package ram // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.8" +const goModuleVersion = "1.16.9" diff --git a/service/rbin/CHANGELOG.md b/service/rbin/CHANGELOG.md index d02a8a8c90c..014ee25ac3e 100644 --- a/service/rbin/CHANGELOG.md +++ b/service/rbin/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.6.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/rbin/go.mod b/service/rbin/go.mod index bcabadc269e..74c44303b31 100644 --- a/service/rbin/go.mod +++ b/service/rbin/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/rbin go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/rbin/go.sum b/service/rbin/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/rbin/go.sum +++ b/service/rbin/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/rbin/go_module_metadata.go b/service/rbin/go_module_metadata.go index 59658661f38..53695c4be10 100644 --- a/service/rbin/go_module_metadata.go +++ b/service/rbin/go_module_metadata.go @@ -3,4 +3,4 @@ package rbin // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.5" +const goModuleVersion = "1.6.6" diff --git a/service/rds/CHANGELOG.md b/service/rds/CHANGELOG.md index 992969ef637..52afaebe067 100644 --- a/service/rds/CHANGELOG.md +++ b/service/rds/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.21.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/rds/go.mod b/service/rds/go.mod index 79ac83c2d97..93f83fd4c2c 100644 --- a/service/rds/go.mod +++ b/service/rds/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/rds go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/rds/go.sum b/service/rds/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/rds/go.sum +++ b/service/rds/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/rds/go_module_metadata.go b/service/rds/go_module_metadata.go index 376fafa4a8c..f38a95dc30d 100644 --- a/service/rds/go_module_metadata.go +++ b/service/rds/go_module_metadata.go @@ -3,4 +3,4 @@ package rds // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/rdsdata/CHANGELOG.md b/service/rdsdata/CHANGELOG.md index 8f43d4c7154..30d2fd9f784 100644 --- a/service/rdsdata/CHANGELOG.md +++ b/service/rdsdata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/rdsdata/go.mod b/service/rdsdata/go.mod index c1361407751..b328b9da3b3 100644 --- a/service/rdsdata/go.mod +++ b/service/rdsdata/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/rdsdata go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/rdsdata/go.sum b/service/rdsdata/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/rdsdata/go.sum +++ b/service/rdsdata/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/rdsdata/go_module_metadata.go b/service/rdsdata/go_module_metadata.go index a7a6f28c7fb..95dd8df74ba 100644 --- a/service/rdsdata/go_module_metadata.go +++ b/service/rdsdata/go_module_metadata.go @@ -3,4 +3,4 @@ package rdsdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.1" +const goModuleVersion = "1.12.2" diff --git a/service/redshift/CHANGELOG.md b/service/redshift/CHANGELOG.md index e6a142a71c3..2eaa76c5f11 100644 --- a/service/redshift/CHANGELOG.md +++ b/service/redshift/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.24.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/redshift/go.mod b/service/redshift/go.mod index b2417f6194b..7fac1a22c5f 100644 --- a/service/redshift/go.mod +++ b/service/redshift/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/redshift go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/redshift/go.sum b/service/redshift/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/redshift/go.sum +++ b/service/redshift/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/redshift/go_module_metadata.go b/service/redshift/go_module_metadata.go index bc7710e2dc9..e514a3eb0c1 100644 --- a/service/redshift/go_module_metadata.go +++ b/service/redshift/go_module_metadata.go @@ -3,4 +3,4 @@ package redshift // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.1" +const goModuleVersion = "1.24.2" diff --git a/service/redshiftdata/CHANGELOG.md b/service/redshiftdata/CHANGELOG.md index 8689d98663c..b11cd906788 100644 --- a/service/redshiftdata/CHANGELOG.md +++ b/service/redshiftdata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/redshiftdata/go.mod b/service/redshiftdata/go.mod index 48bbb1bbaea..3b96507788e 100644 --- a/service/redshiftdata/go.mod +++ b/service/redshiftdata/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/redshiftdata go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/redshiftdata/go.sum b/service/redshiftdata/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/redshiftdata/go.sum +++ b/service/redshiftdata/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/redshiftdata/go_module_metadata.go b/service/redshiftdata/go_module_metadata.go index d72815ec110..2882989932a 100644 --- a/service/redshiftdata/go_module_metadata.go +++ b/service/redshiftdata/go_module_metadata.go @@ -3,4 +3,4 @@ package redshiftdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/rekognition/CHANGELOG.md b/service/rekognition/CHANGELOG.md index 0bbc2cf8178..523c497a3fa 100644 --- a/service/rekognition/CHANGELOG.md +++ b/service/rekognition/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/rekognition/go.mod b/service/rekognition/go.mod index 8631385e252..ebcc2ecdf5b 100644 --- a/service/rekognition/go.mod +++ b/service/rekognition/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/rekognition go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/rekognition/go.sum b/service/rekognition/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/rekognition/go.sum +++ b/service/rekognition/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/rekognition/go_module_metadata.go b/service/rekognition/go_module_metadata.go index 1d1cfb61150..506992e4c92 100644 --- a/service/rekognition/go_module_metadata.go +++ b/service/rekognition/go_module_metadata.go @@ -3,4 +3,4 @@ package rekognition // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/resiliencehub/CHANGELOG.md b/service/resiliencehub/CHANGELOG.md index 61c068da4f4..6dc5d4793f5 100644 --- a/service/resiliencehub/CHANGELOG.md +++ b/service/resiliencehub/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.6.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.6.2 (2022-05-18) + +* No change notes available for this release. + # v1.6.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/resiliencehub/go.mod b/service/resiliencehub/go.mod index c9cb73d11fb..3a648396cd4 100644 --- a/service/resiliencehub/go.mod +++ b/service/resiliencehub/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/resiliencehub go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/resiliencehub/go.sum b/service/resiliencehub/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/resiliencehub/go.sum +++ b/service/resiliencehub/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/resiliencehub/go_module_metadata.go b/service/resiliencehub/go_module_metadata.go index ee003ccb326..18b5009a8f9 100644 --- a/service/resiliencehub/go_module_metadata.go +++ b/service/resiliencehub/go_module_metadata.go @@ -3,4 +3,4 @@ package resiliencehub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.1" +const goModuleVersion = "1.6.3" diff --git a/service/resiliencehub/internal/endpoints/endpoints.go b/service/resiliencehub/internal/endpoints/endpoints.go index 9db5d4a6309..eec773e6b5e 100644 --- a/service/resiliencehub/internal/endpoints/endpoints.go +++ b/service/resiliencehub/internal/endpoints/endpoints.go @@ -134,6 +134,68 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.Aws, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "af-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "me-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-cn", diff --git a/service/resourcegroups/CHANGELOG.md b/service/resourcegroups/CHANGELOG.md index 405767cc15e..7fd8b360ec1 100644 --- a/service/resourcegroups/CHANGELOG.md +++ b/service/resourcegroups/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/resourcegroups/go.mod b/service/resourcegroups/go.mod index db4f1747480..58d6e9bca8e 100644 --- a/service/resourcegroups/go.mod +++ b/service/resourcegroups/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/resourcegroups go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/resourcegroups/go.sum b/service/resourcegroups/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/resourcegroups/go.sum +++ b/service/resourcegroups/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/resourcegroups/go_module_metadata.go b/service/resourcegroups/go_module_metadata.go index 16d83e92184..5e6de41292a 100644 --- a/service/resourcegroups/go_module_metadata.go +++ b/service/resourcegroups/go_module_metadata.go @@ -3,4 +3,4 @@ package resourcegroups // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/resourcegroupstaggingapi/CHANGELOG.md b/service/resourcegroupstaggingapi/CHANGELOG.md index 92f678b5317..0d48188016d 100644 --- a/service/resourcegroupstaggingapi/CHANGELOG.md +++ b/service/resourcegroupstaggingapi/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/resourcegroupstaggingapi/go.mod b/service/resourcegroupstaggingapi/go.mod index 8a8d821392a..a483fae75a3 100644 --- a/service/resourcegroupstaggingapi/go.mod +++ b/service/resourcegroupstaggingapi/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/resourcegroupstaggingapi/go.sum b/service/resourcegroupstaggingapi/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/resourcegroupstaggingapi/go.sum +++ b/service/resourcegroupstaggingapi/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/resourcegroupstaggingapi/go_module_metadata.go b/service/resourcegroupstaggingapi/go_module_metadata.go index 54c4f9ebe6e..83deb00bea6 100644 --- a/service/resourcegroupstaggingapi/go_module_metadata.go +++ b/service/resourcegroupstaggingapi/go_module_metadata.go @@ -3,4 +3,4 @@ package resourcegroupstaggingapi // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.6" +const goModuleVersion = "1.13.7" diff --git a/service/robomaker/CHANGELOG.md b/service/robomaker/CHANGELOG.md index 797de00b036..e0ef74bcfff 100644 --- a/service/robomaker/CHANGELOG.md +++ b/service/robomaker/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/robomaker/go.mod b/service/robomaker/go.mod index f5752bb5fc3..1c0c7a1dbec 100644 --- a/service/robomaker/go.mod +++ b/service/robomaker/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/robomaker go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/robomaker/go.sum b/service/robomaker/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/robomaker/go.sum +++ b/service/robomaker/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/robomaker/go_module_metadata.go b/service/robomaker/go_module_metadata.go index 09a033f3bf4..fd9f2497e1b 100644 --- a/service/robomaker/go_module_metadata.go +++ b/service/robomaker/go_module_metadata.go @@ -3,4 +3,4 @@ package robomaker // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.6" +const goModuleVersion = "1.17.7" diff --git a/service/route53/CHANGELOG.md b/service/route53/CHANGELOG.md index 5adaf4d4419..7d55981347d 100644 --- a/service/route53/CHANGELOG.md +++ b/service/route53/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.21.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.21.0 (2022-06-01) + +* **Feature**: Add new APIs to support Route 53 IP Based Routing + # v1.20.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/route53/api_client.go b/service/route53/api_client.go index fdfe740e1ff..5b60252bb19 100644 --- a/service/route53/api_client.go +++ b/service/route53/api_client.go @@ -553,13 +553,6 @@ func sanitizeHostedZoneIDInput(input interface{}) error { i.HostedZoneId = &v } - case *GetChangeInput: - if i.Id != nil { - idx := strings.LastIndex(*i.Id, `/`) - v := (*i.Id)[idx+1:] - i.Id = &v - } - case *GetDNSSECInput: if i.HostedZoneId != nil { idx := strings.LastIndex(*i.HostedZoneId, `/`) diff --git a/service/route53/api_op_ChangeCidrCollection.go b/service/route53/api_op_ChangeCidrCollection.go new file mode 100644 index 00000000000..5de7b063082 --- /dev/null +++ b/service/route53/api_op_ChangeCidrCollection.go @@ -0,0 +1,158 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package route53 + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/route53/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates, changes, or deletes CIDR blocks within a collection. Contains +// authoritative IP information mapping blocks to one or multiple locations. A +// change request can update multiple locations in a collection at a time, which is +// helpful if you want to move one or more CIDR blocks from one location to another +// in one transaction, without downtime. Limits The max number of CIDR blocks +// included in the request is 1000. As a result, big updates require multiple API +// calls. PUT and DELETE_IF_EXISTS Use ChangeCidrCollection to perform the +// following actions: +// +// * PUT: Create a CIDR block within the specified +// collection. +// +// * DELETE_IF_EXISTS: Delete an existing CIDR block from the +// collection. +func (c *Client) ChangeCidrCollection(ctx context.Context, params *ChangeCidrCollectionInput, optFns ...func(*Options)) (*ChangeCidrCollectionOutput, error) { + if params == nil { + params = &ChangeCidrCollectionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ChangeCidrCollection", params, optFns, c.addOperationChangeCidrCollectionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ChangeCidrCollectionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ChangeCidrCollectionInput struct { + + // Information about changes to a CIDR collection. + // + // This member is required. + Changes []types.CidrCollectionChange + + // The UUID of the CIDR collection to update. + // + // This member is required. + Id *string + + // A sequential counter that Amazon Route 53 sets to 1 when you create a collection + // and increments it by 1 each time you update the collection. We recommend that + // you use ListCidrCollection to get the current value of CollectionVersion for the + // collection that you want to update, and then include that value with the change + // request. This prevents Route 53 from overwriting an intervening update: + // + // * If + // the value in the request matches the value of CollectionVersion in the + // collection, Route 53 updates the collection. + // + // * If the value of + // CollectionVersion in the collection is greater than the value in the request, + // the collection was changed after you got the version number. Route 53 does not + // update the collection, and it returns a CidrCollectionVersionMismatch error. + CollectionVersion *int64 + + noSmithyDocumentSerde +} + +type ChangeCidrCollectionOutput struct { + + // The ID that is returned by ChangeCidrCollection. You can use it as input to + // GetChange to see if a CIDR collection change has propagated or not. + // + // This member is required. + Id *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationChangeCidrCollectionMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestxml_serializeOpChangeCidrCollection{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpChangeCidrCollection{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpChangeCidrCollectionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeCidrCollection(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opChangeCidrCollection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "route53", + OperationName: "ChangeCidrCollection", + } +} diff --git a/service/route53/api_op_CreateCidrCollection.go b/service/route53/api_op_CreateCidrCollection.go new file mode 100644 index 00000000000..7610c306976 --- /dev/null +++ b/service/route53/api_op_CreateCidrCollection.go @@ -0,0 +1,132 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package route53 + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/route53/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a CIDR collection in the current Amazon Web Services account. +func (c *Client) CreateCidrCollection(ctx context.Context, params *CreateCidrCollectionInput, optFns ...func(*Options)) (*CreateCidrCollectionOutput, error) { + if params == nil { + params = &CreateCidrCollectionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateCidrCollection", params, optFns, c.addOperationCreateCidrCollectionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateCidrCollectionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateCidrCollectionInput struct { + + // A client-specific token that allows requests to be securely retried so that the + // intended outcome will only occur once, retries receive a similar response, and + // there are no additional edge cases to handle. + // + // This member is required. + CallerReference *string + + // A unique identifier for the account that can be used to reference the collection + // from other API calls. + // + // This member is required. + Name *string + + noSmithyDocumentSerde +} + +type CreateCidrCollectionOutput struct { + + // A complex type that contains information about the CIDR collection. + Collection *types.CidrCollection + + // A unique URL that represents the location for the CIDR collection. + Location *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateCidrCollectionMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestxml_serializeOpCreateCidrCollection{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpCreateCidrCollection{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateCidrCollectionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCidrCollection(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateCidrCollection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "route53", + OperationName: "CreateCidrCollection", + } +} diff --git a/service/route53/api_op_CreateQueryLoggingConfig.go b/service/route53/api_op_CreateQueryLoggingConfig.go index 8b70d4aa0a0..47e33fa3daa 100644 --- a/service/route53/api_op_CreateQueryLoggingConfig.go +++ b/service/route53/api_op_CreateQueryLoggingConfig.go @@ -57,8 +57,8 @@ import ( // value of Resource, specify the ARN for the log group that you created in the // previous step. To use the same resource policy for all the CloudWatch Logs log // groups that you created for query logging configurations, replace the hosted -// zone name with , for example: -// arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/ To avoid the +// zone name with *, for example: +// arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/* To avoid the // confused deputy problem, a security issue where an entity without a permission // for an action can coerce a more-privileged entity to perform it, you can // optionally limit the permissions that a service has to a resource in a diff --git a/service/route53/api_op_DeleteCidrCollection.go b/service/route53/api_op_DeleteCidrCollection.go new file mode 100644 index 00000000000..08757b9e539 --- /dev/null +++ b/service/route53/api_op_DeleteCidrCollection.go @@ -0,0 +1,117 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package route53 + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a CIDR collection in the current Amazon Web Services account. The +// collection must be empty before it can be deleted. +func (c *Client) DeleteCidrCollection(ctx context.Context, params *DeleteCidrCollectionInput, optFns ...func(*Options)) (*DeleteCidrCollectionOutput, error) { + if params == nil { + params = &DeleteCidrCollectionInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteCidrCollection", params, optFns, c.addOperationDeleteCidrCollectionMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteCidrCollectionOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteCidrCollectionInput struct { + + // The UUID of the collection to delete. + // + // This member is required. + Id *string + + noSmithyDocumentSerde +} + +type DeleteCidrCollectionOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteCidrCollectionMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestxml_serializeOpDeleteCidrCollection{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpDeleteCidrCollection{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteCidrCollectionValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteCidrCollection(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteCidrCollection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "route53", + OperationName: "DeleteCidrCollection", + } +} diff --git a/service/route53/api_op_GetChange.go b/service/route53/api_op_GetChange.go index a0f1dfa7034..7e23403d477 100644 --- a/service/route53/api_op_GetChange.go +++ b/service/route53/api_op_GetChange.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetChangeMiddlewares(stack *middleware.Stack, optio if err = addResponseErrorMiddleware(stack); err != nil { return err } - if err = addSanitizeURLMiddleware(stack); err != nil { - return err - } if err = addRequestResponseLogging(stack, options); err != nil { return err } diff --git a/service/route53/api_op_ListCidrBlocks.go b/service/route53/api_op_ListCidrBlocks.go new file mode 100644 index 00000000000..d025e8eacaf --- /dev/null +++ b/service/route53/api_op_ListCidrBlocks.go @@ -0,0 +1,227 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package route53 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/route53/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns a paginated list of location objects and their CIDR blocks. +func (c *Client) ListCidrBlocks(ctx context.Context, params *ListCidrBlocksInput, optFns ...func(*Options)) (*ListCidrBlocksOutput, error) { + if params == nil { + params = &ListCidrBlocksInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListCidrBlocks", params, optFns, c.addOperationListCidrBlocksMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListCidrBlocksOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListCidrBlocksInput struct { + + // The UUID of the CIDR collection. + // + // This member is required. + CollectionId *string + + // The name of the CIDR collection location. + LocationName *string + + // Maximum number of results you want returned. + MaxResults *int32 + + // An opaque pagination token to indicate where the service is to begin enumerating + // results. + NextToken *string + + noSmithyDocumentSerde +} + +type ListCidrBlocksOutput struct { + + // A complex type that contains information about the CIDR blocks. + CidrBlocks []types.CidrBlockSummary + + // An opaque pagination token to indicate where the service is to begin enumerating + // results. If no value is provided, the listing of results starts from the + // beginning. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListCidrBlocksMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestxml_serializeOpListCidrBlocks{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListCidrBlocks{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListCidrBlocksValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCidrBlocks(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListCidrBlocksAPIClient is a client that implements the ListCidrBlocks +// operation. +type ListCidrBlocksAPIClient interface { + ListCidrBlocks(context.Context, *ListCidrBlocksInput, ...func(*Options)) (*ListCidrBlocksOutput, error) +} + +var _ ListCidrBlocksAPIClient = (*Client)(nil) + +// ListCidrBlocksPaginatorOptions is the paginator options for ListCidrBlocks +type ListCidrBlocksPaginatorOptions struct { + // Maximum number of results you want returned. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListCidrBlocksPaginator is a paginator for ListCidrBlocks +type ListCidrBlocksPaginator struct { + options ListCidrBlocksPaginatorOptions + client ListCidrBlocksAPIClient + params *ListCidrBlocksInput + nextToken *string + firstPage bool +} + +// NewListCidrBlocksPaginator returns a new ListCidrBlocksPaginator +func NewListCidrBlocksPaginator(client ListCidrBlocksAPIClient, params *ListCidrBlocksInput, optFns ...func(*ListCidrBlocksPaginatorOptions)) *ListCidrBlocksPaginator { + if params == nil { + params = &ListCidrBlocksInput{} + } + + options := ListCidrBlocksPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListCidrBlocksPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListCidrBlocksPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListCidrBlocks page. +func (p *ListCidrBlocksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCidrBlocksOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListCidrBlocks(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListCidrBlocks(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "route53", + OperationName: "ListCidrBlocks", + } +} diff --git a/service/route53/api_op_ListCidrCollections.go b/service/route53/api_op_ListCidrCollections.go new file mode 100644 index 00000000000..b6f9a97e508 --- /dev/null +++ b/service/route53/api_op_ListCidrCollections.go @@ -0,0 +1,219 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package route53 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/route53/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns a paginated list of CIDR collections in the Amazon Web Services account +// (metadata only). +func (c *Client) ListCidrCollections(ctx context.Context, params *ListCidrCollectionsInput, optFns ...func(*Options)) (*ListCidrCollectionsOutput, error) { + if params == nil { + params = &ListCidrCollectionsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListCidrCollections", params, optFns, c.addOperationListCidrCollectionsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListCidrCollectionsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListCidrCollectionsInput struct { + + // The maximum number of CIDR collections to return in the response. + MaxResults *int32 + + // An opaque pagination token to indicate where the service is to begin enumerating + // results. If no value is provided, the listing of results starts from the + // beginning. + NextToken *string + + noSmithyDocumentSerde +} + +type ListCidrCollectionsOutput struct { + + // A complex type with information about the CIDR collection. + CidrCollections []types.CollectionSummary + + // An opaque pagination token to indicate where the service is to begin enumerating + // results. If no value is provided, the listing of results starts from the + // beginning. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListCidrCollectionsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestxml_serializeOpListCidrCollections{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListCidrCollections{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCidrCollections(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListCidrCollectionsAPIClient is a client that implements the ListCidrCollections +// operation. +type ListCidrCollectionsAPIClient interface { + ListCidrCollections(context.Context, *ListCidrCollectionsInput, ...func(*Options)) (*ListCidrCollectionsOutput, error) +} + +var _ ListCidrCollectionsAPIClient = (*Client)(nil) + +// ListCidrCollectionsPaginatorOptions is the paginator options for +// ListCidrCollections +type ListCidrCollectionsPaginatorOptions struct { + // The maximum number of CIDR collections to return in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListCidrCollectionsPaginator is a paginator for ListCidrCollections +type ListCidrCollectionsPaginator struct { + options ListCidrCollectionsPaginatorOptions + client ListCidrCollectionsAPIClient + params *ListCidrCollectionsInput + nextToken *string + firstPage bool +} + +// NewListCidrCollectionsPaginator returns a new ListCidrCollectionsPaginator +func NewListCidrCollectionsPaginator(client ListCidrCollectionsAPIClient, params *ListCidrCollectionsInput, optFns ...func(*ListCidrCollectionsPaginatorOptions)) *ListCidrCollectionsPaginator { + if params == nil { + params = &ListCidrCollectionsInput{} + } + + options := ListCidrCollectionsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListCidrCollectionsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListCidrCollectionsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListCidrCollections page. +func (p *ListCidrCollectionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCidrCollectionsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListCidrCollections(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListCidrCollections(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "route53", + OperationName: "ListCidrCollections", + } +} diff --git a/service/route53/api_op_ListCidrLocations.go b/service/route53/api_op_ListCidrLocations.go new file mode 100644 index 00000000000..7cea7382c26 --- /dev/null +++ b/service/route53/api_op_ListCidrLocations.go @@ -0,0 +1,226 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package route53 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/route53/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns a paginated list of CIDR locations for the given collection (metadata +// only, does not include CIDR blocks). +func (c *Client) ListCidrLocations(ctx context.Context, params *ListCidrLocationsInput, optFns ...func(*Options)) (*ListCidrLocationsOutput, error) { + if params == nil { + params = &ListCidrLocationsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListCidrLocations", params, optFns, c.addOperationListCidrLocationsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListCidrLocationsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListCidrLocationsInput struct { + + // The CIDR collection ID. + // + // This member is required. + CollectionId *string + + // The maximum number of CIDR collection locations to return in the response. + MaxResults *int32 + + // An opaque pagination token to indicate where the service is to begin enumerating + // results. If no value is provided, the listing of results starts from the + // beginning. + NextToken *string + + noSmithyDocumentSerde +} + +type ListCidrLocationsOutput struct { + + // A complex type that contains information about the list of CIDR locations. + CidrLocations []types.LocationSummary + + // An opaque pagination token to indicate where the service is to begin enumerating + // results. If no value is provided, the listing of results starts from the + // beginning. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListCidrLocationsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsRestxml_serializeOpListCidrLocations{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsRestxml_deserializeOpListCidrLocations{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListCidrLocationsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCidrLocations(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListCidrLocationsAPIClient is a client that implements the ListCidrLocations +// operation. +type ListCidrLocationsAPIClient interface { + ListCidrLocations(context.Context, *ListCidrLocationsInput, ...func(*Options)) (*ListCidrLocationsOutput, error) +} + +var _ ListCidrLocationsAPIClient = (*Client)(nil) + +// ListCidrLocationsPaginatorOptions is the paginator options for ListCidrLocations +type ListCidrLocationsPaginatorOptions struct { + // The maximum number of CIDR collection locations to return in the response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListCidrLocationsPaginator is a paginator for ListCidrLocations +type ListCidrLocationsPaginator struct { + options ListCidrLocationsPaginatorOptions + client ListCidrLocationsAPIClient + params *ListCidrLocationsInput + nextToken *string + firstPage bool +} + +// NewListCidrLocationsPaginator returns a new ListCidrLocationsPaginator +func NewListCidrLocationsPaginator(client ListCidrLocationsAPIClient, params *ListCidrLocationsInput, optFns ...func(*ListCidrLocationsPaginatorOptions)) *ListCidrLocationsPaginator { + if params == nil { + params = &ListCidrLocationsInput{} + } + + options := ListCidrLocationsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListCidrLocationsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListCidrLocationsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListCidrLocations page. +func (p *ListCidrLocationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCidrLocationsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListCidrLocations(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListCidrLocations(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "route53", + OperationName: "ListCidrLocations", + } +} diff --git a/service/route53/deserializers.go b/service/route53/deserializers.go index 669afb9aac2..b4af79c8dcc 100644 --- a/service/route53/deserializers.go +++ b/service/route53/deserializers.go @@ -332,6 +332,165 @@ func awsRestxml_deserializeOpDocumentAssociateVPCWithHostedZoneOutput(v **Associ return nil } +type awsRestxml_deserializeOpChangeCidrCollection struct { +} + +func (*awsRestxml_deserializeOpChangeCidrCollection) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpChangeCidrCollection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorChangeCidrCollection(response, &metadata) + } + output := &ChangeCidrCollectionOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeOpDocumentChangeCidrCollectionOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorChangeCidrCollection(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("CidrBlockInUseException", errorCode): + return awsRestxml_deserializeErrorCidrBlockInUseException(response, errorBody) + + case strings.EqualFold("CidrCollectionVersionMismatchException", errorCode): + return awsRestxml_deserializeErrorCidrCollectionVersionMismatchException(response, errorBody) + + case strings.EqualFold("ConcurrentModification", errorCode): + return awsRestxml_deserializeErrorConcurrentModification(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + + case strings.EqualFold("LimitsExceeded", errorCode): + return awsRestxml_deserializeErrorLimitsExceeded(response, errorBody) + + case strings.EqualFold("NoSuchCidrCollectionException", errorCode): + return awsRestxml_deserializeErrorNoSuchCidrCollectionException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentChangeCidrCollectionOutput(v **ChangeCidrCollectionOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *ChangeCidrCollectionOutput + if *v == nil { + sv = &ChangeCidrCollectionOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + type awsRestxml_deserializeOpChangeResourceRecordSets struct { } @@ -560,14 +719,14 @@ func awsRestxml_deserializeOpErrorChangeTagsForResource(response *smithyhttp.Res } } -type awsRestxml_deserializeOpCreateHealthCheck struct { +type awsRestxml_deserializeOpCreateCidrCollection struct { } -func (*awsRestxml_deserializeOpCreateHealthCheck) ID() string { +func (*awsRestxml_deserializeOpCreateCidrCollection) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateHealthCheck) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateCidrCollection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -581,12 +740,12 @@ func (m *awsRestxml_deserializeOpCreateHealthCheck) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateHealthCheck(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateCidrCollection(response, &metadata) } - output := &CreateHealthCheckOutput{} + output := &CreateCidrCollectionOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateHealthCheckOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateCidrCollectionOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -609,7 +768,7 @@ func (m *awsRestxml_deserializeOpCreateHealthCheck) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentCreateHealthCheckOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentCreateCidrCollectionOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -622,7 +781,7 @@ func (m *awsRestxml_deserializeOpCreateHealthCheck) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateHealthCheck(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateCidrCollection(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -647,14 +806,17 @@ func awsRestxml_deserializeOpErrorCreateHealthCheck(response *smithyhttp.Respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("HealthCheckAlreadyExists", errorCode): - return awsRestxml_deserializeErrorHealthCheckAlreadyExists(response, errorBody) + case strings.EqualFold("CidrCollectionAlreadyExistsException", errorCode): + return awsRestxml_deserializeErrorCidrCollectionAlreadyExistsException(response, errorBody) + + case strings.EqualFold("ConcurrentModification", errorCode): + return awsRestxml_deserializeErrorConcurrentModification(response, errorBody) case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("TooManyHealthChecks", errorCode): - return awsRestxml_deserializeErrorTooManyHealthChecks(response, errorBody) + case strings.EqualFold("LimitsExceeded", errorCode): + return awsRestxml_deserializeErrorLimitsExceeded(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -666,7 +828,7 @@ func awsRestxml_deserializeOpErrorCreateHealthCheck(response *smithyhttp.Respons } } -func awsRestxml_deserializeOpHttpBindingsCreateHealthCheckOutput(v *CreateHealthCheckOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateCidrCollectionOutput(v *CreateCidrCollectionOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -678,13 +840,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateHealthCheckOutput(v *CreateHealth return nil } -func awsRestxml_deserializeOpDocumentCreateHealthCheckOutput(v **CreateHealthCheckOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateCidrCollectionOutput(v **CreateCidrCollectionOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateHealthCheckOutput + var sv *CreateCidrCollectionOutput if *v == nil { - sv = &CreateHealthCheckOutput{} + sv = &CreateCidrCollectionOutput{} } else { sv = *v } @@ -700,9 +862,9 @@ func awsRestxml_deserializeOpDocumentCreateHealthCheckOutput(v **CreateHealthChe originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HealthCheck", t.Name.Local): + case strings.EqualFold("Collection", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHealthCheck(&sv.HealthCheck, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentCidrCollection(&sv.Collection, nodeDecoder); err != nil { return err } @@ -720,14 +882,14 @@ func awsRestxml_deserializeOpDocumentCreateHealthCheckOutput(v **CreateHealthChe return nil } -type awsRestxml_deserializeOpCreateHostedZone struct { +type awsRestxml_deserializeOpCreateHealthCheck struct { } -func (*awsRestxml_deserializeOpCreateHostedZone) ID() string { +func (*awsRestxml_deserializeOpCreateHealthCheck) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateHostedZone) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateHealthCheck) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -741,12 +903,12 @@ func (m *awsRestxml_deserializeOpCreateHostedZone) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateHostedZone(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateHealthCheck(response, &metadata) } - output := &CreateHostedZoneOutput{} + output := &CreateHealthCheckOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateHostedZoneOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateHealthCheckOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -769,7 +931,7 @@ func (m *awsRestxml_deserializeOpCreateHostedZone) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentCreateHostedZoneOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentCreateHealthCheckOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -782,7 +944,7 @@ func (m *awsRestxml_deserializeOpCreateHostedZone) HandleDeserialize(ctx context return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateHostedZone(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateHealthCheck(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -807,32 +969,14 @@ func awsRestxml_deserializeOpErrorCreateHostedZone(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConflictingDomainExists", errorCode): - return awsRestxml_deserializeErrorConflictingDomainExists(response, errorBody) - - case strings.EqualFold("DelegationSetNotAvailable", errorCode): - return awsRestxml_deserializeErrorDelegationSetNotAvailable(response, errorBody) - - case strings.EqualFold("DelegationSetNotReusable", errorCode): - return awsRestxml_deserializeErrorDelegationSetNotReusable(response, errorBody) - - case strings.EqualFold("HostedZoneAlreadyExists", errorCode): - return awsRestxml_deserializeErrorHostedZoneAlreadyExists(response, errorBody) - - case strings.EqualFold("InvalidDomainName", errorCode): - return awsRestxml_deserializeErrorInvalidDomainName(response, errorBody) + case strings.EqualFold("HealthCheckAlreadyExists", errorCode): + return awsRestxml_deserializeErrorHealthCheckAlreadyExists(response, errorBody) case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("InvalidVPCId", errorCode): - return awsRestxml_deserializeErrorInvalidVPCId(response, errorBody) - - case strings.EqualFold("NoSuchDelegationSet", errorCode): - return awsRestxml_deserializeErrorNoSuchDelegationSet(response, errorBody) - - case strings.EqualFold("TooManyHostedZones", errorCode): - return awsRestxml_deserializeErrorTooManyHostedZones(response, errorBody) + case strings.EqualFold("TooManyHealthChecks", errorCode): + return awsRestxml_deserializeErrorTooManyHealthChecks(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -844,7 +988,7 @@ func awsRestxml_deserializeOpErrorCreateHostedZone(response *smithyhttp.Response } } -func awsRestxml_deserializeOpHttpBindingsCreateHostedZoneOutput(v *CreateHostedZoneOutput, response *smithyhttp.Response) error { +func awsRestxml_deserializeOpHttpBindingsCreateHealthCheckOutput(v *CreateHealthCheckOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -856,13 +1000,13 @@ func awsRestxml_deserializeOpHttpBindingsCreateHostedZoneOutput(v *CreateHostedZ return nil } -func awsRestxml_deserializeOpDocumentCreateHostedZoneOutput(v **CreateHostedZoneOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentCreateHealthCheckOutput(v **CreateHealthCheckOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *CreateHostedZoneOutput + var sv *CreateHealthCheckOutput if *v == nil { - sv = &CreateHostedZoneOutput{} + sv = &CreateHealthCheckOutput{} } else { sv = *v } @@ -878,27 +1022,9 @@ func awsRestxml_deserializeOpDocumentCreateHostedZoneOutput(v **CreateHostedZone originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ChangeInfo", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentChangeInfo(&sv.ChangeInfo, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("DelegationSet", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDelegationSet(&sv.DelegationSet, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("HostedZone", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHostedZone(&sv.HostedZone, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("VPC", t.Name.Local): + case strings.EqualFold("HealthCheck", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentVPC(&sv.VPC, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentHealthCheck(&sv.HealthCheck, nodeDecoder); err != nil { return err } @@ -916,14 +1042,14 @@ func awsRestxml_deserializeOpDocumentCreateHostedZoneOutput(v **CreateHostedZone return nil } -type awsRestxml_deserializeOpCreateKeySigningKey struct { +type awsRestxml_deserializeOpCreateHostedZone struct { } -func (*awsRestxml_deserializeOpCreateKeySigningKey) ID() string { +func (*awsRestxml_deserializeOpCreateHostedZone) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpCreateKeySigningKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpCreateHostedZone) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -937,12 +1063,12 @@ func (m *awsRestxml_deserializeOpCreateKeySigningKey) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorCreateKeySigningKey(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorCreateHostedZone(response, &metadata) } - output := &CreateKeySigningKeyOutput{} + output := &CreateHostedZoneOutput{} out.Result = output - err = awsRestxml_deserializeOpHttpBindingsCreateKeySigningKeyOutput(output, response) + err = awsRestxml_deserializeOpHttpBindingsCreateHostedZoneOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } @@ -965,7 +1091,7 @@ func (m *awsRestxml_deserializeOpCreateKeySigningKey) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentCreateKeySigningKeyOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentCreateHostedZoneOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -978,7 +1104,7 @@ func (m *awsRestxml_deserializeOpCreateKeySigningKey) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorCreateKeySigningKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorCreateHostedZone(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -1003,8 +1129,204 @@ func awsRestxml_deserializeOpErrorCreateKeySigningKey(response *smithyhttp.Respo } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsRestxml_deserializeErrorConcurrentModification(response, errorBody) + case strings.EqualFold("ConflictingDomainExists", errorCode): + return awsRestxml_deserializeErrorConflictingDomainExists(response, errorBody) + + case strings.EqualFold("DelegationSetNotAvailable", errorCode): + return awsRestxml_deserializeErrorDelegationSetNotAvailable(response, errorBody) + + case strings.EqualFold("DelegationSetNotReusable", errorCode): + return awsRestxml_deserializeErrorDelegationSetNotReusable(response, errorBody) + + case strings.EqualFold("HostedZoneAlreadyExists", errorCode): + return awsRestxml_deserializeErrorHostedZoneAlreadyExists(response, errorBody) + + case strings.EqualFold("InvalidDomainName", errorCode): + return awsRestxml_deserializeErrorInvalidDomainName(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + + case strings.EqualFold("InvalidVPCId", errorCode): + return awsRestxml_deserializeErrorInvalidVPCId(response, errorBody) + + case strings.EqualFold("NoSuchDelegationSet", errorCode): + return awsRestxml_deserializeErrorNoSuchDelegationSet(response, errorBody) + + case strings.EqualFold("TooManyHostedZones", errorCode): + return awsRestxml_deserializeErrorTooManyHostedZones(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpHttpBindingsCreateHostedZoneOutput(v *CreateHostedZoneOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + if headerValues := response.Header.Values("Location"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.Location = ptr.String(headerValues[0]) + } + + return nil +} +func awsRestxml_deserializeOpDocumentCreateHostedZoneOutput(v **CreateHostedZoneOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *CreateHostedZoneOutput + if *v == nil { + sv = &CreateHostedZoneOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("ChangeInfo", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentChangeInfo(&sv.ChangeInfo, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("DelegationSet", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentDelegationSet(&sv.DelegationSet, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("HostedZone", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentHostedZone(&sv.HostedZone, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("VPC", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentVPC(&sv.VPC, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpCreateKeySigningKey struct { +} + +func (*awsRestxml_deserializeOpCreateKeySigningKey) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpCreateKeySigningKey) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorCreateKeySigningKey(response, &metadata) + } + output := &CreateKeySigningKeyOutput{} + out.Result = output + + err = awsRestxml_deserializeOpHttpBindingsCreateKeySigningKeyOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeOpDocumentCreateKeySigningKeyOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorCreateKeySigningKey(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsRestxml_deserializeErrorConcurrentModification(response, errorBody) case strings.EqualFold("InvalidArgument", errorCode): return awsRestxml_deserializeErrorInvalidArgument(response, errorBody) @@ -2256,14 +2578,14 @@ func awsRestxml_deserializeOpDocumentDeactivateKeySigningKeyOutput(v **Deactivat return nil } -type awsRestxml_deserializeOpDeleteHealthCheck struct { +type awsRestxml_deserializeOpDeleteCidrCollection struct { } -func (*awsRestxml_deserializeOpDeleteHealthCheck) ID() string { +func (*awsRestxml_deserializeOpDeleteCidrCollection) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteHealthCheck) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteCidrCollection) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2277,15 +2599,15 @@ func (m *awsRestxml_deserializeOpDeleteHealthCheck) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteHealthCheck(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteCidrCollection(response, &metadata) } - output := &DeleteHealthCheckOutput{} + output := &DeleteCidrCollectionOutput{} out.Result = output return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteHealthCheck(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteCidrCollection(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2310,14 +2632,17 @@ func awsRestxml_deserializeOpErrorDeleteHealthCheck(response *smithyhttp.Respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("HealthCheckInUse", errorCode): - return awsRestxml_deserializeErrorHealthCheckInUse(response, errorBody) + case strings.EqualFold("CidrCollectionInUseException", errorCode): + return awsRestxml_deserializeErrorCidrCollectionInUseException(response, errorBody) + + case strings.EqualFold("ConcurrentModification", errorCode): + return awsRestxml_deserializeErrorConcurrentModification(response, errorBody) case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchHealthCheck", errorCode): - return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) + case strings.EqualFold("NoSuchCidrCollectionException", errorCode): + return awsRestxml_deserializeErrorNoSuchCidrCollectionException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -2329,14 +2654,14 @@ func awsRestxml_deserializeOpErrorDeleteHealthCheck(response *smithyhttp.Respons } } -type awsRestxml_deserializeOpDeleteHostedZone struct { +type awsRestxml_deserializeOpDeleteHealthCheck struct { } -func (*awsRestxml_deserializeOpDeleteHostedZone) ID() string { +func (*awsRestxml_deserializeOpDeleteHealthCheck) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpDeleteHostedZone) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpDeleteHealthCheck) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -2350,43 +2675,15 @@ func (m *awsRestxml_deserializeOpDeleteHostedZone) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorDeleteHostedZone(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorDeleteHealthCheck(response, &metadata) } - output := &DeleteHostedZoneOutput{} + output := &DeleteHealthCheckOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(response.Body, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return out, metadata, nil - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentDeleteHostedZoneOutput(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - return out, metadata, err } -func awsRestxml_deserializeOpErrorDeleteHostedZone(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorDeleteHealthCheck(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -2411,10 +2708,111 @@ func awsRestxml_deserializeOpErrorDeleteHostedZone(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("HostedZoneNotEmpty", errorCode): - return awsRestxml_deserializeErrorHostedZoneNotEmpty(response, errorBody) + case strings.EqualFold("HealthCheckInUse", errorCode): + return awsRestxml_deserializeErrorHealthCheckInUse(response, errorBody) - case strings.EqualFold("InvalidDomainName", errorCode): + case strings.EqualFold("InvalidInput", errorCode): + return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + + case strings.EqualFold("NoSuchHealthCheck", errorCode): + return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsRestxml_deserializeOpDeleteHostedZone struct { +} + +func (*awsRestxml_deserializeOpDeleteHostedZone) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpDeleteHostedZone) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorDeleteHostedZone(response, &metadata) + } + output := &DeleteHostedZoneOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeOpDocumentDeleteHostedZoneOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorDeleteHostedZone(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("HostedZoneNotEmpty", errorCode): + return awsRestxml_deserializeErrorHostedZoneNotEmpty(response, errorBody) + + case strings.EqualFold("InvalidDomainName", errorCode): return awsRestxml_deserializeErrorInvalidDomainName(response, errorBody) case strings.EqualFold("InvalidInput", errorCode): @@ -6085,14 +6483,14 @@ func awsRestxml_deserializeOpDocumentGetTrafficPolicyInstanceCountOutput(v **Get return nil } -type awsRestxml_deserializeOpListGeoLocations struct { +type awsRestxml_deserializeOpListCidrBlocks struct { } -func (*awsRestxml_deserializeOpListGeoLocations) ID() string { +func (*awsRestxml_deserializeOpListCidrBlocks) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListGeoLocations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListCidrBlocks) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6106,9 +6504,9 @@ func (m *awsRestxml_deserializeOpListGeoLocations) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListGeoLocations(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListCidrBlocks(response, &metadata) } - output := &ListGeoLocationsOutput{} + output := &ListCidrBlocksOutput{} out.Result = output var buff [1024]byte @@ -6129,7 +6527,7 @@ func (m *awsRestxml_deserializeOpListGeoLocations) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListGeoLocationsOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListCidrBlocksOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6142,7 +6540,7 @@ func (m *awsRestxml_deserializeOpListGeoLocations) HandleDeserialize(ctx context return out, metadata, err } -func awsRestxml_deserializeOpErrorListGeoLocations(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListCidrBlocks(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6170,6 +6568,12 @@ func awsRestxml_deserializeOpErrorListGeoLocations(response *smithyhttp.Response case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + case strings.EqualFold("NoSuchCidrCollectionException", errorCode): + return awsRestxml_deserializeErrorNoSuchCidrCollectionException(response, errorBody) + + case strings.EqualFold("NoSuchCidrLocationException", errorCode): + return awsRestxml_deserializeErrorNoSuchCidrLocationException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6180,13 +6584,13 @@ func awsRestxml_deserializeOpErrorListGeoLocations(response *smithyhttp.Response } } -func awsRestxml_deserializeOpDocumentListGeoLocationsOutput(v **ListGeoLocationsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListCidrBlocksOutput(v **ListCidrBlocksOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListGeoLocationsOutput + var sv *ListCidrBlocksOutput if *v == nil { - sv = &ListGeoLocationsOutput{} + sv = &ListCidrBlocksOutput{} } else { sv = *v } @@ -6202,72 +6606,13 @@ func awsRestxml_deserializeOpDocumentListGeoLocationsOutput(v **ListGeoLocations originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("GeoLocationDetailsList", t.Name.Local): + case strings.EqualFold("CidrBlocks", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentGeoLocationDetailsList(&sv.GeoLocationDetailsList, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("IsTruncated", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) - } - sv.IsTruncated = xtv - } - - case strings.EqualFold("MaxItems", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.MaxItems = ptr.Int32(int32(i64)) - } - - case strings.EqualFold("NextContinentCode", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.NextContinentCode = ptr.String(xtv) - } - - case strings.EqualFold("NextCountryCode", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentCidrBlockSummaries(&sv.CidrBlocks, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.NextCountryCode = ptr.String(xtv) - } - case strings.EqualFold("NextSubdivisionCode", t.Name.Local): + case strings.EqualFold("NextToken", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -6277,7 +6622,7 @@ func awsRestxml_deserializeOpDocumentListGeoLocationsOutput(v **ListGeoLocations } { xtv := string(val) - sv.NextSubdivisionCode = ptr.String(xtv) + sv.NextToken = ptr.String(xtv) } default: @@ -6294,14 +6639,14 @@ func awsRestxml_deserializeOpDocumentListGeoLocationsOutput(v **ListGeoLocations return nil } -type awsRestxml_deserializeOpListHealthChecks struct { +type awsRestxml_deserializeOpListCidrCollections struct { } -func (*awsRestxml_deserializeOpListHealthChecks) ID() string { +func (*awsRestxml_deserializeOpListCidrCollections) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListHealthChecks) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListCidrCollections) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6315,9 +6660,9 @@ func (m *awsRestxml_deserializeOpListHealthChecks) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListHealthChecks(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListCidrCollections(response, &metadata) } - output := &ListHealthChecksOutput{} + output := &ListCidrCollectionsOutput{} out.Result = output var buff [1024]byte @@ -6338,7 +6683,7 @@ func (m *awsRestxml_deserializeOpListHealthChecks) HandleDeserialize(ctx context } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListHealthChecksOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListCidrCollectionsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6351,7 +6696,7 @@ func (m *awsRestxml_deserializeOpListHealthChecks) HandleDeserialize(ctx context return out, metadata, err } -func awsRestxml_deserializeOpErrorListHealthChecks(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListCidrCollections(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6376,9 +6721,6 @@ func awsRestxml_deserializeOpErrorListHealthChecks(response *smithyhttp.Response } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("IncompatibleVersion", errorCode): - return awsRestxml_deserializeErrorIncompatibleVersion(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) @@ -6392,13 +6734,13 @@ func awsRestxml_deserializeOpErrorListHealthChecks(response *smithyhttp.Response } } -func awsRestxml_deserializeOpDocumentListHealthChecksOutput(v **ListHealthChecksOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListCidrCollectionsOutput(v **ListCidrCollectionsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListHealthChecksOutput + var sv *ListCidrCollectionsOutput if *v == nil { - sv = &ListHealthChecksOutput{} + sv = &ListCidrCollectionsOutput{} } else { sv = *v } @@ -6414,59 +6756,13 @@ func awsRestxml_deserializeOpDocumentListHealthChecksOutput(v **ListHealthChecks originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HealthChecks", t.Name.Local): + case strings.EqualFold("CidrCollections", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHealthChecks(&sv.HealthChecks, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("IsTruncated", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) - } - sv.IsTruncated = xtv - } - - case strings.EqualFold("Marker", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Marker = ptr.String(xtv) - } - - case strings.EqualFold("MaxItems", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentCollectionSummaries(&sv.CidrCollections, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.MaxItems = ptr.Int32(int32(i64)) - } - case strings.EqualFold("NextMarker", t.Name.Local): + case strings.EqualFold("NextToken", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -6476,7 +6772,7 @@ func awsRestxml_deserializeOpDocumentListHealthChecksOutput(v **ListHealthChecks } { xtv := string(val) - sv.NextMarker = ptr.String(xtv) + sv.NextToken = ptr.String(xtv) } default: @@ -6493,14 +6789,14 @@ func awsRestxml_deserializeOpDocumentListHealthChecksOutput(v **ListHealthChecks return nil } -type awsRestxml_deserializeOpListHostedZones struct { +type awsRestxml_deserializeOpListCidrLocations struct { } -func (*awsRestxml_deserializeOpListHostedZones) ID() string { +func (*awsRestxml_deserializeOpListCidrLocations) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListHostedZones) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListCidrLocations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6514,9 +6810,9 @@ func (m *awsRestxml_deserializeOpListHostedZones) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListHostedZones(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListCidrLocations(response, &metadata) } - output := &ListHostedZonesOutput{} + output := &ListCidrLocationsOutput{} out.Result = output var buff [1024]byte @@ -6537,7 +6833,7 @@ func (m *awsRestxml_deserializeOpListHostedZones) HandleDeserialize(ctx context. } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListHostedZonesOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListCidrLocationsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6550,7 +6846,7 @@ func (m *awsRestxml_deserializeOpListHostedZones) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestxml_deserializeOpErrorListHostedZones(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListCidrLocations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6575,14 +6871,11 @@ func awsRestxml_deserializeOpErrorListHostedZones(response *smithyhttp.Response, } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("DelegationSetNotReusable", errorCode): - return awsRestxml_deserializeErrorDelegationSetNotReusable(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchDelegationSet", errorCode): - return awsRestxml_deserializeErrorNoSuchDelegationSet(response, errorBody) + case strings.EqualFold("NoSuchCidrCollectionException", errorCode): + return awsRestxml_deserializeErrorNoSuchCidrCollectionException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -6594,13 +6887,13 @@ func awsRestxml_deserializeOpErrorListHostedZones(response *smithyhttp.Response, } } -func awsRestxml_deserializeOpDocumentListHostedZonesOutput(v **ListHostedZonesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListCidrLocationsOutput(v **ListCidrLocationsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListHostedZonesOutput + var sv *ListCidrLocationsOutput if *v == nil { - sv = &ListHostedZonesOutput{} + sv = &ListCidrLocationsOutput{} } else { sv = *v } @@ -6616,59 +6909,13 @@ func awsRestxml_deserializeOpDocumentListHostedZonesOutput(v **ListHostedZonesOu originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HostedZones", t.Name.Local): + case strings.EqualFold("CidrLocations", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHostedZones(&sv.HostedZones, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("IsTruncated", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) - } - sv.IsTruncated = xtv - } - - case strings.EqualFold("Marker", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Marker = ptr.String(xtv) - } - - case strings.EqualFold("MaxItems", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentLocationSummaries(&sv.CidrLocations, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.MaxItems = ptr.Int32(int32(i64)) - } - case strings.EqualFold("NextMarker", t.Name.Local): + case strings.EqualFold("NextToken", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -6678,7 +6925,7 @@ func awsRestxml_deserializeOpDocumentListHostedZonesOutput(v **ListHostedZonesOu } { xtv := string(val) - sv.NextMarker = ptr.String(xtv) + sv.NextToken = ptr.String(xtv) } default: @@ -6695,14 +6942,14 @@ func awsRestxml_deserializeOpDocumentListHostedZonesOutput(v **ListHostedZonesOu return nil } -type awsRestxml_deserializeOpListHostedZonesByName struct { +type awsRestxml_deserializeOpListGeoLocations struct { } -func (*awsRestxml_deserializeOpListHostedZonesByName) ID() string { +func (*awsRestxml_deserializeOpListGeoLocations) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListHostedZonesByName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListGeoLocations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6716,9 +6963,9 @@ func (m *awsRestxml_deserializeOpListHostedZonesByName) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListHostedZonesByName(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListGeoLocations(response, &metadata) } - output := &ListHostedZonesByNameOutput{} + output := &ListGeoLocationsOutput{} out.Result = output var buff [1024]byte @@ -6739,7 +6986,7 @@ func (m *awsRestxml_deserializeOpListHostedZonesByName) HandleDeserialize(ctx co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListGeoLocationsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6752,7 +6999,7 @@ func (m *awsRestxml_deserializeOpListHostedZonesByName) HandleDeserialize(ctx co return out, metadata, err } -func awsRestxml_deserializeOpErrorListHostedZonesByName(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListGeoLocations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6777,9 +7024,6 @@ func awsRestxml_deserializeOpErrorListHostedZonesByName(response *smithyhttp.Res } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("InvalidDomainName", errorCode): - return awsRestxml_deserializeErrorInvalidDomainName(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) @@ -6793,13 +7037,13 @@ func awsRestxml_deserializeOpErrorListHostedZonesByName(response *smithyhttp.Res } } -func awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(v **ListHostedZonesByNameOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListGeoLocationsOutput(v **ListGeoLocationsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListHostedZonesByNameOutput + var sv *ListGeoLocationsOutput if *v == nil { - sv = &ListHostedZonesByNameOutput{} + sv = &ListGeoLocationsOutput{} } else { sv = *v } @@ -6815,35 +7059,9 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(v **ListHostedZ originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DNSName", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.DNSName = ptr.String(xtv) - } - - case strings.EqualFold("HostedZoneId", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.HostedZoneId = ptr.String(xtv) - } - - case strings.EqualFold("HostedZones", t.Name.Local): + case strings.EqualFold("GeoLocationDetailsList", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHostedZones(&sv.HostedZones, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentGeoLocationDetailsList(&sv.GeoLocationDetailsList, nodeDecoder); err != nil { return err } @@ -6880,7 +7098,7 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(v **ListHostedZ sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("NextDNSName", t.Name.Local): + case strings.EqualFold("NextContinentCode", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -6890,10 +7108,10 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(v **ListHostedZ } { xtv := string(val) - sv.NextDNSName = ptr.String(xtv) + sv.NextContinentCode = ptr.String(xtv) } - case strings.EqualFold("NextHostedZoneId", t.Name.Local): + case strings.EqualFold("NextCountryCode", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -6903,7 +7121,20 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(v **ListHostedZ } { xtv := string(val) - sv.NextHostedZoneId = ptr.String(xtv) + sv.NextCountryCode = ptr.String(xtv) + } + + case strings.EqualFold("NextSubdivisionCode", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextSubdivisionCode = ptr.String(xtv) } default: @@ -6920,14 +7151,14 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(v **ListHostedZ return nil } -type awsRestxml_deserializeOpListHostedZonesByVPC struct { +type awsRestxml_deserializeOpListHealthChecks struct { } -func (*awsRestxml_deserializeOpListHostedZonesByVPC) ID() string { +func (*awsRestxml_deserializeOpListHealthChecks) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListHostedZonesByVPC) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListHealthChecks) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6941,9 +7172,9 @@ func (m *awsRestxml_deserializeOpListHostedZonesByVPC) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListHostedZonesByVPC(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListHealthChecks(response, &metadata) } - output := &ListHostedZonesByVPCOutput{} + output := &ListHealthChecksOutput{} out.Result = output var buff [1024]byte @@ -6964,7 +7195,7 @@ func (m *awsRestxml_deserializeOpListHostedZonesByVPC) HandleDeserialize(ctx con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListHealthChecksOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6977,7 +7208,7 @@ func (m *awsRestxml_deserializeOpListHostedZonesByVPC) HandleDeserialize(ctx con return out, metadata, err } -func awsRestxml_deserializeOpErrorListHostedZonesByVPC(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListHealthChecks(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7002,12 +7233,12 @@ func awsRestxml_deserializeOpErrorListHostedZonesByVPC(response *smithyhttp.Resp } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("IncompatibleVersion", errorCode): + return awsRestxml_deserializeErrorIncompatibleVersion(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("InvalidPaginationToken", errorCode): - return awsRestxml_deserializeErrorInvalidPaginationToken(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7018,13 +7249,13 @@ func awsRestxml_deserializeOpErrorListHostedZonesByVPC(response *smithyhttp.Resp } } -func awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(v **ListHostedZonesByVPCOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListHealthChecksOutput(v **ListHealthChecksOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListHostedZonesByVPCOutput + var sv *ListHealthChecksOutput if *v == nil { - sv = &ListHostedZonesByVPCOutput{} + sv = &ListHealthChecksOutput{} } else { sv = *v } @@ -7040,11 +7271,40 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(v **ListHostedZo originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HostedZoneSummaries", t.Name.Local): + case strings.EqualFold("HealthChecks", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHostedZoneSummaries(&sv.HostedZoneSummaries, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentHealthChecks(&sv.HealthChecks, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("IsTruncated", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) + } + sv.IsTruncated = xtv + } + + case strings.EqualFold("Marker", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.Marker = ptr.String(xtv) + } case strings.EqualFold("MaxItems", t.Name.Local): val, err := decoder.Value() @@ -7063,7 +7323,7 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(v **ListHostedZo sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("NextToken", t.Name.Local): + case strings.EqualFold("NextMarker", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7073,7 +7333,7 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(v **ListHostedZo } { xtv := string(val) - sv.NextToken = ptr.String(xtv) + sv.NextMarker = ptr.String(xtv) } default: @@ -7090,14 +7350,14 @@ func awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(v **ListHostedZo return nil } -type awsRestxml_deserializeOpListQueryLoggingConfigs struct { +type awsRestxml_deserializeOpListHostedZones struct { } -func (*awsRestxml_deserializeOpListQueryLoggingConfigs) ID() string { +func (*awsRestxml_deserializeOpListHostedZones) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListQueryLoggingConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListHostedZones) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7111,9 +7371,9 @@ func (m *awsRestxml_deserializeOpListQueryLoggingConfigs) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListQueryLoggingConfigs(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListHostedZones(response, &metadata) } - output := &ListQueryLoggingConfigsOutput{} + output := &ListHostedZonesOutput{} out.Result = output var buff [1024]byte @@ -7134,7 +7394,7 @@ func (m *awsRestxml_deserializeOpListQueryLoggingConfigs) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListQueryLoggingConfigsOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListHostedZonesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7147,7 +7407,7 @@ func (m *awsRestxml_deserializeOpListQueryLoggingConfigs) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorListQueryLoggingConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListHostedZones(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7172,14 +7432,14 @@ func awsRestxml_deserializeOpErrorListQueryLoggingConfigs(response *smithyhttp.R } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("DelegationSetNotReusable", errorCode): + return awsRestxml_deserializeErrorDelegationSetNotReusable(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("InvalidPaginationToken", errorCode): - return awsRestxml_deserializeErrorInvalidPaginationToken(response, errorBody) - - case strings.EqualFold("NoSuchHostedZone", errorCode): - return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) + case strings.EqualFold("NoSuchDelegationSet", errorCode): + return awsRestxml_deserializeErrorNoSuchDelegationSet(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -7191,13 +7451,13 @@ func awsRestxml_deserializeOpErrorListQueryLoggingConfigs(response *smithyhttp.R } } -func awsRestxml_deserializeOpDocumentListQueryLoggingConfigsOutput(v **ListQueryLoggingConfigsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListHostedZonesOutput(v **ListHostedZonesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListQueryLoggingConfigsOutput + var sv *ListHostedZonesOutput if *v == nil { - sv = &ListQueryLoggingConfigsOutput{} + sv = &ListHostedZonesOutput{} } else { sv = *v } @@ -7213,7 +7473,13 @@ func awsRestxml_deserializeOpDocumentListQueryLoggingConfigsOutput(v **ListQuery originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("NextToken", t.Name.Local): + case strings.EqualFold("HostedZones", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentHostedZones(&sv.HostedZones, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("IsTruncated", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7222,23 +7488,63 @@ func awsRestxml_deserializeOpDocumentListQueryLoggingConfigsOutput(v **ListQuery break } { - xtv := string(val) - sv.NextToken = ptr.String(xtv) + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) + } + sv.IsTruncated = xtv } - case strings.EqualFold("QueryLoggingConfigs", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentQueryLoggingConfigs(&sv.QueryLoggingConfigs, nodeDecoder); err != nil { + case strings.EqualFold("Marker", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.Marker = ptr.String(xtv) + } - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() + case strings.EqualFold("MaxItems", t.Name.Local): + val, err := decoder.Value() if err != nil { return err } - + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("NextMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextMarker = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + } decoder = originalDecoder } @@ -7246,14 +7552,14 @@ func awsRestxml_deserializeOpDocumentListQueryLoggingConfigsOutput(v **ListQuery return nil } -type awsRestxml_deserializeOpListResourceRecordSets struct { +type awsRestxml_deserializeOpListHostedZonesByName struct { } -func (*awsRestxml_deserializeOpListResourceRecordSets) ID() string { +func (*awsRestxml_deserializeOpListHostedZonesByName) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListResourceRecordSets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListHostedZonesByName) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7267,9 +7573,9 @@ func (m *awsRestxml_deserializeOpListResourceRecordSets) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListResourceRecordSets(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListHostedZonesByName(response, &metadata) } - output := &ListResourceRecordSetsOutput{} + output := &ListHostedZonesByNameOutput{} out.Result = output var buff [1024]byte @@ -7290,7 +7596,7 @@ func (m *awsRestxml_deserializeOpListResourceRecordSets) HandleDeserialize(ctx c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7303,7 +7609,7 @@ func (m *awsRestxml_deserializeOpListResourceRecordSets) HandleDeserialize(ctx c return out, metadata, err } -func awsRestxml_deserializeOpErrorListResourceRecordSets(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListHostedZonesByName(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7328,12 +7634,12 @@ func awsRestxml_deserializeOpErrorListResourceRecordSets(response *smithyhttp.Re } errorBody.Seek(0, io.SeekStart) switch { + case strings.EqualFold("InvalidDomainName", errorCode): + return awsRestxml_deserializeErrorInvalidDomainName(response, errorBody) + case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchHostedZone", errorCode): - return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7344,13 +7650,13 @@ func awsRestxml_deserializeOpErrorListResourceRecordSets(response *smithyhttp.Re } } -func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResourceRecordSetsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListHostedZonesByNameOutput(v **ListHostedZonesByNameOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListResourceRecordSetsOutput + var sv *ListHostedZonesByNameOutput if *v == nil { - sv = &ListResourceRecordSetsOutput{} + sv = &ListHostedZonesByNameOutput{} } else { sv = *v } @@ -7366,7 +7672,7 @@ func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResour originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("IsTruncated", t.Name.Local): + case strings.EqualFold("DNSName", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7375,14 +7681,11 @@ func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResour break } { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) - } - sv.IsTruncated = xtv + xtv := string(val) + sv.DNSName = ptr.String(xtv) } - case strings.EqualFold("MaxItems", t.Name.Local): + case strings.EqualFold("HostedZoneId", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7392,14 +7695,16 @@ func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResour } { xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.MaxItems = ptr.Int32(int32(i64)) + sv.HostedZoneId = ptr.String(xtv) } - case strings.EqualFold("NextRecordIdentifier", t.Name.Local): + case strings.EqualFold("HostedZones", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentHostedZones(&sv.HostedZones, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("IsTruncated", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7408,11 +7713,14 @@ func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResour break } { - xtv := string(val) - sv.NextRecordIdentifier = ptr.String(xtv) + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) + } + sv.IsTruncated = xtv } - case strings.EqualFold("NextRecordName", t.Name.Local): + case strings.EqualFold("MaxItems", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7422,10 +7730,14 @@ func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResour } { xtv := string(val) - sv.NextRecordName = ptr.String(xtv) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("NextRecordType", t.Name.Local): + case strings.EqualFold("NextDNSName", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7435,14 +7747,21 @@ func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResour } { xtv := string(val) - sv.NextRecordType = types.RRType(xtv) + sv.NextDNSName = ptr.String(xtv) } - case strings.EqualFold("ResourceRecordSets", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResourceRecordSets(&sv.ResourceRecordSets, nodeDecoder); err != nil { + case strings.EqualFold("NextHostedZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.NextHostedZoneId = ptr.String(xtv) + } default: // Do nothing and ignore the unexpected tag element @@ -7458,14 +7777,14 @@ func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResour return nil } -type awsRestxml_deserializeOpListReusableDelegationSets struct { +type awsRestxml_deserializeOpListHostedZonesByVPC struct { } -func (*awsRestxml_deserializeOpListReusableDelegationSets) ID() string { +func (*awsRestxml_deserializeOpListHostedZonesByVPC) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListReusableDelegationSets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListHostedZonesByVPC) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7479,9 +7798,9 @@ func (m *awsRestxml_deserializeOpListReusableDelegationSets) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListReusableDelegationSets(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListHostedZonesByVPC(response, &metadata) } - output := &ListReusableDelegationSetsOutput{} + output := &ListHostedZonesByVPCOutput{} out.Result = output var buff [1024]byte @@ -7502,7 +7821,7 @@ func (m *awsRestxml_deserializeOpListReusableDelegationSets) HandleDeserialize(c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7515,7 +7834,7 @@ func (m *awsRestxml_deserializeOpListReusableDelegationSets) HandleDeserialize(c return out, metadata, err } -func awsRestxml_deserializeOpErrorListReusableDelegationSets(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListHostedZonesByVPC(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7543,6 +7862,9 @@ func awsRestxml_deserializeOpErrorListReusableDelegationSets(response *smithyhtt case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + case strings.EqualFold("InvalidPaginationToken", errorCode): + return awsRestxml_deserializeErrorInvalidPaginationToken(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7553,13 +7875,13 @@ func awsRestxml_deserializeOpErrorListReusableDelegationSets(response *smithyhtt } } -func awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(v **ListReusableDelegationSetsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListHostedZonesByVPCOutput(v **ListHostedZonesByVPCOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListReusableDelegationSetsOutput + var sv *ListHostedZonesByVPCOutput if *v == nil { - sv = &ListReusableDelegationSetsOutput{} + sv = &ListHostedZonesByVPCOutput{} } else { sv = *v } @@ -7575,40 +7897,11 @@ func awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(v **ListRe originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DelegationSets", t.Name.Local): + case strings.EqualFold("HostedZoneSummaries", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDelegationSets(&sv.DelegationSets, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("IsTruncated", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) - } - sv.IsTruncated = xtv - } - - case strings.EqualFold("Marker", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentHostedZoneSummaries(&sv.HostedZoneSummaries, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.Marker = ptr.String(xtv) - } case strings.EqualFold("MaxItems", t.Name.Local): val, err := decoder.Value() @@ -7627,7 +7920,7 @@ func awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(v **ListRe sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("NextMarker", t.Name.Local): + case strings.EqualFold("NextToken", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -7637,7 +7930,7 @@ func awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(v **ListRe } { xtv := string(val) - sv.NextMarker = ptr.String(xtv) + sv.NextToken = ptr.String(xtv) } default: @@ -7654,14 +7947,14 @@ func awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(v **ListRe return nil } -type awsRestxml_deserializeOpListTagsForResource struct { +type awsRestxml_deserializeOpListQueryLoggingConfigs struct { } -func (*awsRestxml_deserializeOpListTagsForResource) ID() string { +func (*awsRestxml_deserializeOpListQueryLoggingConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListQueryLoggingConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7675,9 +7968,9 @@ func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTagsForResource(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListQueryLoggingConfigs(response, &metadata) } - output := &ListTagsForResourceOutput{} + output := &ListQueryLoggingConfigsOutput{} out.Result = output var buff [1024]byte @@ -7698,7 +7991,7 @@ func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListTagsForResourceOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListQueryLoggingConfigsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7711,7 +8004,7 @@ func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListQueryLoggingConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7739,18 +8032,12 @@ func awsRestxml_deserializeOpErrorListTagsForResource(response *smithyhttp.Respo case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchHealthCheck", errorCode): - return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) + case strings.EqualFold("InvalidPaginationToken", errorCode): + return awsRestxml_deserializeErrorInvalidPaginationToken(response, errorBody) case strings.EqualFold("NoSuchHostedZone", errorCode): return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) - case strings.EqualFold("PriorRequestNotComplete", errorCode): - return awsRestxml_deserializeErrorPriorRequestNotComplete(response, errorBody) - - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestxml_deserializeErrorThrottlingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7761,13 +8048,13 @@ func awsRestxml_deserializeOpErrorListTagsForResource(response *smithyhttp.Respo } } -func awsRestxml_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListQueryLoggingConfigsOutput(v **ListQueryLoggingConfigsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListTagsForResourceOutput + var sv *ListQueryLoggingConfigsOutput if *v == nil { - sv = &ListTagsForResourceOutput{} + sv = &ListQueryLoggingConfigsOutput{} } else { sv = *v } @@ -7783,9 +8070,22 @@ func awsRestxml_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForRe originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ResourceTagSet", t.Name.Local): + case strings.EqualFold("NextToken", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextToken = ptr.String(xtv) + } + + case strings.EqualFold("QueryLoggingConfigs", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResourceTagSet(&sv.ResourceTagSet, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentQueryLoggingConfigs(&sv.QueryLoggingConfigs, nodeDecoder); err != nil { return err } @@ -7803,14 +8103,14 @@ func awsRestxml_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForRe return nil } -type awsRestxml_deserializeOpListTagsForResources struct { +type awsRestxml_deserializeOpListResourceRecordSets struct { } -func (*awsRestxml_deserializeOpListTagsForResources) ID() string { +func (*awsRestxml_deserializeOpListResourceRecordSets) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTagsForResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListResourceRecordSets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7824,9 +8124,9 @@ func (m *awsRestxml_deserializeOpListTagsForResources) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTagsForResources(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListResourceRecordSets(response, &metadata) } - output := &ListTagsForResourcesOutput{} + output := &ListResourceRecordSetsOutput{} out.Result = output var buff [1024]byte @@ -7847,7 +8147,7 @@ func (m *awsRestxml_deserializeOpListTagsForResources) HandleDeserialize(ctx con } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListTagsForResourcesOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7860,7 +8160,7 @@ func (m *awsRestxml_deserializeOpListTagsForResources) HandleDeserialize(ctx con return out, metadata, err } -func awsRestxml_deserializeOpErrorListTagsForResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListResourceRecordSets(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7888,18 +8188,9 @@ func awsRestxml_deserializeOpErrorListTagsForResources(response *smithyhttp.Resp case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchHealthCheck", errorCode): - return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) - case strings.EqualFold("NoSuchHostedZone", errorCode): return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) - case strings.EqualFold("PriorRequestNotComplete", errorCode): - return awsRestxml_deserializeErrorPriorRequestNotComplete(response, errorBody) - - case strings.EqualFold("ThrottlingException", errorCode): - return awsRestxml_deserializeErrorThrottlingException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7910,13 +8201,13 @@ func awsRestxml_deserializeOpErrorListTagsForResources(response *smithyhttp.Resp } } -func awsRestxml_deserializeOpDocumentListTagsForResourcesOutput(v **ListTagsForResourcesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListResourceRecordSetsOutput(v **ListResourceRecordSetsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListTagsForResourcesOutput + var sv *ListResourceRecordSetsOutput if *v == nil { - sv = &ListTagsForResourcesOutput{} + sv = &ListResourceRecordSetsOutput{} } else { sv = *v } @@ -7932,11 +8223,83 @@ func awsRestxml_deserializeOpDocumentListTagsForResourcesOutput(v **ListTagsForR originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("ResourceTagSets", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentResourceTagSetList(&sv.ResourceTagSets, nodeDecoder); err != nil { - return err - } + case strings.EqualFold("IsTruncated", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) + } + sv.IsTruncated = xtv + } + + case strings.EqualFold("MaxItems", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("NextRecordIdentifier", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextRecordIdentifier = ptr.String(xtv) + } + + case strings.EqualFold("NextRecordName", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextRecordName = ptr.String(xtv) + } + + case strings.EqualFold("NextRecordType", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextRecordType = types.RRType(xtv) + } + + case strings.EqualFold("ResourceRecordSets", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentResourceRecordSets(&sv.ResourceRecordSets, nodeDecoder); err != nil { + return err + } default: // Do nothing and ignore the unexpected tag element @@ -7952,14 +8315,14 @@ func awsRestxml_deserializeOpDocumentListTagsForResourcesOutput(v **ListTagsForR return nil } -type awsRestxml_deserializeOpListTrafficPolicies struct { +type awsRestxml_deserializeOpListReusableDelegationSets struct { } -func (*awsRestxml_deserializeOpListTrafficPolicies) ID() string { +func (*awsRestxml_deserializeOpListReusableDelegationSets) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTrafficPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListReusableDelegationSets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7973,9 +8336,9 @@ func (m *awsRestxml_deserializeOpListTrafficPolicies) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicies(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListReusableDelegationSets(response, &metadata) } - output := &ListTrafficPoliciesOutput{} + output := &ListReusableDelegationSetsOutput{} out.Result = output var buff [1024]byte @@ -7996,7 +8359,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicies) HandleDeserialize(ctx cont } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8009,7 +8372,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicies) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestxml_deserializeOpErrorListTrafficPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListReusableDelegationSets(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8047,13 +8410,13 @@ func awsRestxml_deserializeOpErrorListTrafficPolicies(response *smithyhttp.Respo } } -func awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTrafficPoliciesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListReusableDelegationSetsOutput(v **ListReusableDelegationSetsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListTrafficPoliciesOutput + var sv *ListReusableDelegationSetsOutput if *v == nil { - sv = &ListTrafficPoliciesOutput{} + sv = &ListReusableDelegationSetsOutput{} } else { sv = *v } @@ -8069,6 +8432,12 @@ func awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTrafficPo originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("DelegationSets", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentDelegationSets(&sv.DelegationSets, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("IsTruncated", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -8085,6 +8454,19 @@ func awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTrafficPo sv.IsTruncated = xtv } + case strings.EqualFold("Marker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Marker = ptr.String(xtv) + } + case strings.EqualFold("MaxItems", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -8102,7 +8484,7 @@ func awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTrafficPo sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("TrafficPolicyIdMarker", t.Name.Local): + case strings.EqualFold("NextMarker", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -8112,13 +8494,7 @@ func awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTrafficPo } { xtv := string(val) - sv.TrafficPolicyIdMarker = ptr.String(xtv) - } - - case strings.EqualFold("TrafficPolicySummaries", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTrafficPolicySummaries(&sv.TrafficPolicySummaries, nodeDecoder); err != nil { - return err + sv.NextMarker = ptr.String(xtv) } default: @@ -8135,14 +8511,14 @@ func awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTrafficPo return nil } -type awsRestxml_deserializeOpListTrafficPolicyInstances struct { +type awsRestxml_deserializeOpListTagsForResource struct { } -func (*awsRestxml_deserializeOpListTrafficPolicyInstances) ID() string { +func (*awsRestxml_deserializeOpListTagsForResource) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTrafficPolicyInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8156,9 +8532,9 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstances) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyInstances(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTagsForResource(response, &metadata) } - output := &ListTrafficPolicyInstancesOutput{} + output := &ListTagsForResourceOutput{} out.Result = output var buff [1024]byte @@ -8179,7 +8555,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstances) HandleDeserialize(c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListTagsForResourceOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8192,7 +8568,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstances) HandleDeserialize(c return out, metadata, err } -func awsRestxml_deserializeOpErrorListTrafficPolicyInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8220,8 +8596,17 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyInstances(response *smithyhtt case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchTrafficPolicyInstance", errorCode): - return awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response, errorBody) + case strings.EqualFold("NoSuchHealthCheck", errorCode): + return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) + + case strings.EqualFold("NoSuchHostedZone", errorCode): + return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) + + case strings.EqualFold("PriorRequestNotComplete", errorCode): + return awsRestxml_deserializeErrorPriorRequestNotComplete(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestxml_deserializeErrorThrottlingException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8233,13 +8618,13 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyInstances(response *smithyhtt } } -func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesOutput(v **ListTrafficPolicyInstancesOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListTrafficPolicyInstancesOutput + var sv *ListTagsForResourceOutput if *v == nil { - sv = &ListTrafficPolicyInstancesOutput{} + sv = &ListTagsForResourceOutput{} } else { sv = *v } @@ -8255,83 +8640,11 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesOutput(v **ListTr originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HostedZoneIdMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.HostedZoneIdMarker = ptr.String(xtv) - } - - case strings.EqualFold("IsTruncated", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) - } - sv.IsTruncated = xtv - } - - case strings.EqualFold("MaxItems", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.MaxItems = ptr.Int32(int32(i64)) - } - - case strings.EqualFold("TrafficPolicyInstanceNameMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.TrafficPolicyInstanceNameMarker = ptr.String(xtv) - } - - case strings.EqualFold("TrafficPolicyInstances", t.Name.Local): + case strings.EqualFold("ResourceTagSet", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTrafficPolicyInstances(&sv.TrafficPolicyInstances, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("TrafficPolicyInstanceTypeMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentResourceTagSet(&sv.ResourceTagSet, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.TrafficPolicyInstanceTypeMarker = types.RRType(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -8347,14 +8660,14 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesOutput(v **ListTr return nil } -type awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone struct { +type awsRestxml_deserializeOpListTagsForResources struct { } -func (*awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone) ID() string { +func (*awsRestxml_deserializeOpListTagsForResources) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTagsForResources) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8368,9 +8681,9 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone) HandleD } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByHostedZone(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTagsForResources(response, &metadata) } - output := &ListTrafficPolicyInstancesByHostedZoneOutput{} + output := &ListTagsForResourcesOutput{} out.Result = output var buff [1024]byte @@ -8391,7 +8704,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone) HandleD } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByHostedZoneOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListTagsForResourcesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8404,7 +8717,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone) HandleD return out, metadata, err } -func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByHostedZone(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTagsForResources(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8432,11 +8745,17 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByHostedZone(respons case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + case strings.EqualFold("NoSuchHealthCheck", errorCode): + return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) + case strings.EqualFold("NoSuchHostedZone", errorCode): return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) - case strings.EqualFold("NoSuchTrafficPolicyInstance", errorCode): - return awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response, errorBody) + case strings.EqualFold("PriorRequestNotComplete", errorCode): + return awsRestxml_deserializeErrorPriorRequestNotComplete(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestxml_deserializeErrorThrottlingException(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8448,13 +8767,150 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByHostedZone(respons } } -func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByHostedZoneOutput(v **ListTrafficPolicyInstancesByHostedZoneOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTagsForResourcesOutput(v **ListTagsForResourcesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListTrafficPolicyInstancesByHostedZoneOutput + var sv *ListTagsForResourcesOutput if *v == nil { - sv = &ListTrafficPolicyInstancesByHostedZoneOutput{} + sv = &ListTagsForResourcesOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("ResourceTagSets", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentResourceTagSetList(&sv.ResourceTagSets, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpListTrafficPolicies struct { +} + +func (*awsRestxml_deserializeOpListTrafficPolicies) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpListTrafficPolicies) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicies(response, &metadata) + } + output := &ListTrafficPoliciesOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorListTrafficPolicies(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) + if err != nil { + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("InvalidInput", errorCode): + return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentListTrafficPoliciesOutput(v **ListTrafficPoliciesOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *ListTrafficPoliciesOutput + if *v == nil { + sv = &ListTrafficPoliciesOutput{} } else { sv = *v } @@ -8503,7 +8959,7 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByHostedZoneOutpu sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("TrafficPolicyInstanceNameMarker", t.Name.Local): + case strings.EqualFold("TrafficPolicyIdMarker", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -8513,27 +8969,14 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByHostedZoneOutpu } { xtv := string(val) - sv.TrafficPolicyInstanceNameMarker = ptr.String(xtv) + sv.TrafficPolicyIdMarker = ptr.String(xtv) } - case strings.EqualFold("TrafficPolicyInstances", t.Name.Local): + case strings.EqualFold("TrafficPolicySummaries", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTrafficPolicyInstances(&sv.TrafficPolicyInstances, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("TrafficPolicyInstanceTypeMarker", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentTrafficPolicySummaries(&sv.TrafficPolicySummaries, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.TrafficPolicyInstanceTypeMarker = types.RRType(xtv) - } default: // Do nothing and ignore the unexpected tag element @@ -8549,14 +8992,14 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByHostedZoneOutpu return nil } -type awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy struct { +type awsRestxml_deserializeOpListTrafficPolicyInstances struct { } -func (*awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy) ID() string { +func (*awsRestxml_deserializeOpListTrafficPolicyInstances) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTrafficPolicyInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8570,9 +9013,9 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByPolicy(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyInstances(response, &metadata) } - output := &ListTrafficPolicyInstancesByPolicyOutput{} + output := &ListTrafficPolicyInstancesOutput{} out.Result = output var buff [1024]byte @@ -8593,7 +9036,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy) HandleDeser } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByPolicyOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8606,7 +9049,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy) HandleDeser return out, metadata, err } -func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTrafficPolicyInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8634,9 +9077,6 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByPolicy(response *s case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchTrafficPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) - case strings.EqualFold("NoSuchTrafficPolicyInstance", errorCode): return awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response, errorBody) @@ -8650,13 +9090,13 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByPolicy(response *s } } -func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByPolicyOutput(v **ListTrafficPolicyInstancesByPolicyOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesOutput(v **ListTrafficPolicyInstancesOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListTrafficPolicyInstancesByPolicyOutput + var sv *ListTrafficPolicyInstancesOutput if *v == nil { - sv = &ListTrafficPolicyInstancesByPolicyOutput{} + sv = &ListTrafficPolicyInstancesOutput{} } else { sv = *v } @@ -8764,14 +9204,14 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByPolicyOutput(v return nil } -type awsRestxml_deserializeOpListTrafficPolicyVersions struct { +type awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone struct { } -func (*awsRestxml_deserializeOpListTrafficPolicyVersions) ID() string { +func (*awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListTrafficPolicyVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByHostedZone) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8785,9 +9225,9 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyVersions) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyVersions(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByHostedZone(response, &metadata) } - output := &ListTrafficPolicyVersionsOutput{} + output := &ListTrafficPolicyInstancesByHostedZoneOutput{} out.Result = output var buff [1024]byte @@ -8808,7 +9248,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyVersions) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListTrafficPolicyVersionsOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByHostedZoneOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8821,7 +9261,7 @@ func (m *awsRestxml_deserializeOpListTrafficPolicyVersions) HandleDeserialize(ct return out, metadata, err } -func awsRestxml_deserializeOpErrorListTrafficPolicyVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByHostedZone(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8849,8 +9289,11 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyVersions(response *smithyhttp case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchTrafficPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) + case strings.EqualFold("NoSuchHostedZone", errorCode): + return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) + + case strings.EqualFold("NoSuchTrafficPolicyInstance", errorCode): + return awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -8862,13 +9305,13 @@ func awsRestxml_deserializeOpErrorListTrafficPolicyVersions(response *smithyhttp } } -func awsRestxml_deserializeOpDocumentListTrafficPolicyVersionsOutput(v **ListTrafficPolicyVersionsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByHostedZoneOutput(v **ListTrafficPolicyInstancesByHostedZoneOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListTrafficPolicyVersionsOutput + var sv *ListTrafficPolicyInstancesByHostedZoneOutput if *v == nil { - sv = &ListTrafficPolicyVersionsOutput{} + sv = &ListTrafficPolicyInstancesByHostedZoneOutput{} } else { sv = *v } @@ -8917,13 +9360,26 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyVersionsOutput(v **ListTra sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("TrafficPolicies", t.Name.Local): + case strings.EqualFold("TrafficPolicyInstanceNameMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.TrafficPolicyInstanceNameMarker = ptr.String(xtv) + } + + case strings.EqualFold("TrafficPolicyInstances", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTrafficPolicies(&sv.TrafficPolicies, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentTrafficPolicyInstances(&sv.TrafficPolicyInstances, nodeDecoder); err != nil { return err } - case strings.EqualFold("TrafficPolicyVersionMarker", t.Name.Local): + case strings.EqualFold("TrafficPolicyInstanceTypeMarker", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -8933,7 +9389,7 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyVersionsOutput(v **ListTra } { xtv := string(val) - sv.TrafficPolicyVersionMarker = ptr.String(xtv) + sv.TrafficPolicyInstanceTypeMarker = types.RRType(xtv) } default: @@ -8950,14 +9406,14 @@ func awsRestxml_deserializeOpDocumentListTrafficPolicyVersionsOutput(v **ListTra return nil } -type awsRestxml_deserializeOpListVPCAssociationAuthorizations struct { +type awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy struct { } -func (*awsRestxml_deserializeOpListVPCAssociationAuthorizations) ID() string { +func (*awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpListVPCAssociationAuthorizations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTrafficPolicyInstancesByPolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8971,9 +9427,9 @@ func (m *awsRestxml_deserializeOpListVPCAssociationAuthorizations) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorListVPCAssociationAuthorizations(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByPolicy(response, &metadata) } - output := &ListVPCAssociationAuthorizationsOutput{} + output := &ListTrafficPolicyInstancesByPolicyOutput{} out.Result = output var buff [1024]byte @@ -8994,7 +9450,7 @@ func (m *awsRestxml_deserializeOpListVPCAssociationAuthorizations) HandleDeseria } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByPolicyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9007,7 +9463,7 @@ func (m *awsRestxml_deserializeOpListVPCAssociationAuthorizations) HandleDeseria return out, metadata, err } -func awsRestxml_deserializeOpErrorListVPCAssociationAuthorizations(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTrafficPolicyInstancesByPolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9035,11 +9491,11 @@ func awsRestxml_deserializeOpErrorListVPCAssociationAuthorizations(response *smi case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("InvalidPaginationToken", errorCode): - return awsRestxml_deserializeErrorInvalidPaginationToken(response, errorBody) + case strings.EqualFold("NoSuchTrafficPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) - case strings.EqualFold("NoSuchHostedZone", errorCode): - return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) + case strings.EqualFold("NoSuchTrafficPolicyInstance", errorCode): + return awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9051,13 +9507,13 @@ func awsRestxml_deserializeOpErrorListVPCAssociationAuthorizations(response *smi } } -func awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(v **ListVPCAssociationAuthorizationsOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTrafficPolicyInstancesByPolicyOutput(v **ListTrafficPolicyInstancesByPolicyOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *ListVPCAssociationAuthorizationsOutput + var sv *ListTrafficPolicyInstancesByPolicyOutput if *v == nil { - sv = &ListVPCAssociationAuthorizationsOutput{} + sv = &ListTrafficPolicyInstancesByPolicyOutput{} } else { sv = *v } @@ -9073,7 +9529,7 @@ func awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(v ** originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HostedZoneId", t.Name.Local): + case strings.EqualFold("HostedZoneIdMarker", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -9083,10 +9539,26 @@ func awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(v ** } { xtv := string(val) - sv.HostedZoneId = ptr.String(xtv) + sv.HostedZoneIdMarker = ptr.String(xtv) } - case strings.EqualFold("NextToken", t.Name.Local): + case strings.EqualFold("IsTruncated", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) + } + sv.IsTruncated = xtv + } + + case strings.EqualFold("MaxItems", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -9096,14 +9568,44 @@ func awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(v ** } { xtv := string(val) - sv.NextToken = ptr.String(xtv) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("VPCs", t.Name.Local): + case strings.EqualFold("TrafficPolicyInstanceNameMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.TrafficPolicyInstanceNameMarker = ptr.String(xtv) + } + + case strings.EqualFold("TrafficPolicyInstances", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentVPCs(&sv.VPCs, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentTrafficPolicyInstances(&sv.TrafficPolicyInstances, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("TrafficPolicyInstanceTypeMarker", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.TrafficPolicyInstanceTypeMarker = types.RRType(xtv) + } default: // Do nothing and ignore the unexpected tag element @@ -9119,14 +9621,14 @@ func awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(v ** return nil } -type awsRestxml_deserializeOpTestDNSAnswer struct { +type awsRestxml_deserializeOpListTrafficPolicyVersions struct { } -func (*awsRestxml_deserializeOpTestDNSAnswer) ID() string { +func (*awsRestxml_deserializeOpListTrafficPolicyVersions) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpTestDNSAnswer) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListTrafficPolicyVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9140,9 +9642,9 @@ func (m *awsRestxml_deserializeOpTestDNSAnswer) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorTestDNSAnswer(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListTrafficPolicyVersions(response, &metadata) } - output := &TestDNSAnswerOutput{} + output := &ListTrafficPolicyVersionsOutput{} out.Result = output var buff [1024]byte @@ -9163,7 +9665,7 @@ func (m *awsRestxml_deserializeOpTestDNSAnswer) HandleDeserialize(ctx context.Co } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListTrafficPolicyVersionsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9176,7 +9678,7 @@ func (m *awsRestxml_deserializeOpTestDNSAnswer) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestxml_deserializeOpErrorTestDNSAnswer(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListTrafficPolicyVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9204,8 +9706,8 @@ func awsRestxml_deserializeOpErrorTestDNSAnswer(response *smithyhttp.Response, m case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchHostedZone", errorCode): - return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) + case strings.EqualFold("NoSuchTrafficPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9217,13 +9719,13 @@ func awsRestxml_deserializeOpErrorTestDNSAnswer(response *smithyhttp.Response, m } } -func awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(v **TestDNSAnswerOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListTrafficPolicyVersionsOutput(v **ListTrafficPolicyVersionsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *TestDNSAnswerOutput + var sv *ListTrafficPolicyVersionsOutput if *v == nil { - sv = &TestDNSAnswerOutput{} + sv = &ListTrafficPolicyVersionsOutput{} } else { sv = *v } @@ -9239,7 +9741,7 @@ func awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(v **TestDNSAnswerOutput originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Nameserver", t.Name.Local): + case strings.EqualFold("IsTruncated", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -9248,11 +9750,14 @@ func awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(v **TestDNSAnswerOutput break } { - xtv := string(val) - sv.Nameserver = ptr.String(xtv) + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected PageTruncated to be of type *bool, got %T instead", val) + } + sv.IsTruncated = xtv } - case strings.EqualFold("Protocol", t.Name.Local): + case strings.EqualFold("MaxItems", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -9262,42 +9767,20 @@ func awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(v **TestDNSAnswerOutput } { xtv := string(val) - sv.Protocol = ptr.String(xtv) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.MaxItems = ptr.Int32(int32(i64)) } - case strings.EqualFold("RecordData", t.Name.Local): + case strings.EqualFold("TrafficPolicies", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentRecordData(&sv.RecordData, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("RecordName", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.RecordName = ptr.String(xtv) - } - - case strings.EqualFold("RecordType", t.Name.Local): - val, err := decoder.Value() - if err != nil { + if err := awsRestxml_deserializeDocumentTrafficPolicies(&sv.TrafficPolicies, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.RecordType = types.RRType(xtv) - } - case strings.EqualFold("ResponseCode", t.Name.Local): + case strings.EqualFold("TrafficPolicyVersionMarker", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -9307,7 +9790,7 @@ func awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(v **TestDNSAnswerOutput } { xtv := string(val) - sv.ResponseCode = ptr.String(xtv) + sv.TrafficPolicyVersionMarker = ptr.String(xtv) } default: @@ -9324,14 +9807,14 @@ func awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(v **TestDNSAnswerOutput return nil } -type awsRestxml_deserializeOpUpdateHealthCheck struct { +type awsRestxml_deserializeOpListVPCAssociationAuthorizations struct { } -func (*awsRestxml_deserializeOpUpdateHealthCheck) ID() string { +func (*awsRestxml_deserializeOpListVPCAssociationAuthorizations) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateHealthCheck) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpListVPCAssociationAuthorizations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9345,9 +9828,9 @@ func (m *awsRestxml_deserializeOpUpdateHealthCheck) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateHealthCheck(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorListVPCAssociationAuthorizations(response, &metadata) } - output := &UpdateHealthCheckOutput{} + output := &ListVPCAssociationAuthorizationsOutput{} out.Result = output var buff [1024]byte @@ -9368,7 +9851,7 @@ func (m *awsRestxml_deserializeOpUpdateHealthCheck) HandleDeserialize(ctx contex } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentUpdateHealthCheckOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9381,7 +9864,7 @@ func (m *awsRestxml_deserializeOpUpdateHealthCheck) HandleDeserialize(ctx contex return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateHealthCheck(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorListVPCAssociationAuthorizations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9406,14 +9889,14 @@ func awsRestxml_deserializeOpErrorUpdateHealthCheck(response *smithyhttp.Respons } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("HealthCheckVersionMismatch", errorCode): - return awsRestxml_deserializeErrorHealthCheckVersionMismatch(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchHealthCheck", errorCode): - return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) + case strings.EqualFold("InvalidPaginationToken", errorCode): + return awsRestxml_deserializeErrorInvalidPaginationToken(response, errorBody) + + case strings.EqualFold("NoSuchHostedZone", errorCode): + return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9425,13 +9908,13 @@ func awsRestxml_deserializeOpErrorUpdateHealthCheck(response *smithyhttp.Respons } } -func awsRestxml_deserializeOpDocumentUpdateHealthCheckOutput(v **UpdateHealthCheckOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentListVPCAssociationAuthorizationsOutput(v **ListVPCAssociationAuthorizationsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateHealthCheckOutput + var sv *ListVPCAssociationAuthorizationsOutput if *v == nil { - sv = &UpdateHealthCheckOutput{} + sv = &ListVPCAssociationAuthorizationsOutput{} } else { sv = *v } @@ -9447,9 +9930,35 @@ func awsRestxml_deserializeOpDocumentUpdateHealthCheckOutput(v **UpdateHealthChe originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HealthCheck", t.Name.Local): + case strings.EqualFold("HostedZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.HostedZoneId = ptr.String(xtv) + } + + case strings.EqualFold("NextToken", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextToken = ptr.String(xtv) + } + + case strings.EqualFold("VPCs", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHealthCheck(&sv.HealthCheck, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentVPCs(&sv.VPCs, nodeDecoder); err != nil { return err } @@ -9467,14 +9976,14 @@ func awsRestxml_deserializeOpDocumentUpdateHealthCheckOutput(v **UpdateHealthChe return nil } -type awsRestxml_deserializeOpUpdateHostedZoneComment struct { +type awsRestxml_deserializeOpTestDNSAnswer struct { } -func (*awsRestxml_deserializeOpUpdateHostedZoneComment) ID() string { +func (*awsRestxml_deserializeOpTestDNSAnswer) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateHostedZoneComment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpTestDNSAnswer) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9488,9 +9997,9 @@ func (m *awsRestxml_deserializeOpUpdateHostedZoneComment) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateHostedZoneComment(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorTestDNSAnswer(response, &metadata) } - output := &UpdateHostedZoneCommentOutput{} + output := &TestDNSAnswerOutput{} out.Result = output var buff [1024]byte @@ -9511,7 +10020,7 @@ func (m *awsRestxml_deserializeOpUpdateHostedZoneComment) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentUpdateHostedZoneCommentOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9524,7 +10033,7 @@ func (m *awsRestxml_deserializeOpUpdateHostedZoneComment) HandleDeserialize(ctx return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateHostedZoneComment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorTestDNSAnswer(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9555,9 +10064,6 @@ func awsRestxml_deserializeOpErrorUpdateHostedZoneComment(response *smithyhttp.R case strings.EqualFold("NoSuchHostedZone", errorCode): return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) - case strings.EqualFold("PriorRequestNotComplete", errorCode): - return awsRestxml_deserializeErrorPriorRequestNotComplete(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -9568,13 +10074,13 @@ func awsRestxml_deserializeOpErrorUpdateHostedZoneComment(response *smithyhttp.R } } -func awsRestxml_deserializeOpDocumentUpdateHostedZoneCommentOutput(v **UpdateHostedZoneCommentOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentTestDNSAnswerOutput(v **TestDNSAnswerOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateHostedZoneCommentOutput + var sv *TestDNSAnswerOutput if *v == nil { - sv = &UpdateHostedZoneCommentOutput{} + sv = &TestDNSAnswerOutput{} } else { sv = *v } @@ -9590,34 +10096,99 @@ func awsRestxml_deserializeOpDocumentUpdateHostedZoneCommentOutput(v **UpdateHos originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("HostedZone", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentHostedZone(&sv.HostedZone, nodeDecoder); err != nil { + case strings.EqualFold("Nameserver", t.Name.Local): + val, err := decoder.Value() + if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.Nameserver = ptr.String(xtv) + } - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() + case strings.EqualFold("Protocol", t.Name.Local): + val, err := decoder.Value() if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.Protocol = ptr.String(xtv) + } - } - decoder = originalDecoder - } - *v = sv - return nil + case strings.EqualFold("RecordData", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentRecordData(&sv.RecordData, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("RecordName", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.RecordName = ptr.String(xtv) + } + + case strings.EqualFold("RecordType", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.RecordType = types.RRType(xtv) + } + + case strings.EqualFold("ResponseCode", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ResponseCode = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil } -type awsRestxml_deserializeOpUpdateTrafficPolicyComment struct { +type awsRestxml_deserializeOpUpdateHealthCheck struct { } -func (*awsRestxml_deserializeOpUpdateTrafficPolicyComment) ID() string { +func (*awsRestxml_deserializeOpUpdateHealthCheck) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateTrafficPolicyComment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateHealthCheck) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9631,9 +10202,9 @@ func (m *awsRestxml_deserializeOpUpdateTrafficPolicyComment) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateTrafficPolicyComment(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateHealthCheck(response, &metadata) } - output := &UpdateTrafficPolicyCommentOutput{} + output := &UpdateHealthCheckOutput{} out.Result = output var buff [1024]byte @@ -9654,7 +10225,7 @@ func (m *awsRestxml_deserializeOpUpdateTrafficPolicyComment) HandleDeserialize(c } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentUpdateTrafficPolicyCommentOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentUpdateHealthCheckOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9667,7 +10238,7 @@ func (m *awsRestxml_deserializeOpUpdateTrafficPolicyComment) HandleDeserialize(c return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateTrafficPolicyComment(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateHealthCheck(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9692,14 +10263,14 @@ func awsRestxml_deserializeOpErrorUpdateTrafficPolicyComment(response *smithyhtt } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConcurrentModification", errorCode): - return awsRestxml_deserializeErrorConcurrentModification(response, errorBody) + case strings.EqualFold("HealthCheckVersionMismatch", errorCode): + return awsRestxml_deserializeErrorHealthCheckVersionMismatch(response, errorBody) case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchTrafficPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) + case strings.EqualFold("NoSuchHealthCheck", errorCode): + return awsRestxml_deserializeErrorNoSuchHealthCheck(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -9711,13 +10282,13 @@ func awsRestxml_deserializeOpErrorUpdateTrafficPolicyComment(response *smithyhtt } } -func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyCommentOutput(v **UpdateTrafficPolicyCommentOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateHealthCheckOutput(v **UpdateHealthCheckOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateTrafficPolicyCommentOutput + var sv *UpdateHealthCheckOutput if *v == nil { - sv = &UpdateTrafficPolicyCommentOutput{} + sv = &UpdateHealthCheckOutput{} } else { sv = *v } @@ -9733,9 +10304,9 @@ func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyCommentOutput(v **Update originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("TrafficPolicy", t.Name.Local): + case strings.EqualFold("HealthCheck", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTrafficPolicy(&sv.TrafficPolicy, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentHealthCheck(&sv.HealthCheck, nodeDecoder); err != nil { return err } @@ -9753,14 +10324,14 @@ func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyCommentOutput(v **Update return nil } -type awsRestxml_deserializeOpUpdateTrafficPolicyInstance struct { +type awsRestxml_deserializeOpUpdateHostedZoneComment struct { } -func (*awsRestxml_deserializeOpUpdateTrafficPolicyInstance) ID() string { +func (*awsRestxml_deserializeOpUpdateHostedZoneComment) ID() string { return "OperationDeserializer" } -func (m *awsRestxml_deserializeOpUpdateTrafficPolicyInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestxml_deserializeOpUpdateHostedZoneComment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9774,9 +10345,9 @@ func (m *awsRestxml_deserializeOpUpdateTrafficPolicyInstance) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestxml_deserializeOpErrorUpdateTrafficPolicyInstance(response, &metadata) + return out, metadata, awsRestxml_deserializeOpErrorUpdateHostedZoneComment(response, &metadata) } - output := &UpdateTrafficPolicyInstanceOutput{} + output := &UpdateHostedZoneCommentOutput{} out.Result = output var buff [1024]byte @@ -9797,7 +10368,7 @@ func (m *awsRestxml_deserializeOpUpdateTrafficPolicyInstance) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsRestxml_deserializeOpDocumentUpdateTrafficPolicyInstanceOutput(&output, decoder) + err = awsRestxml_deserializeOpDocumentUpdateHostedZoneCommentOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9810,7 +10381,7 @@ func (m *awsRestxml_deserializeOpUpdateTrafficPolicyInstance) HandleDeserialize( return out, metadata, err } -func awsRestxml_deserializeOpErrorUpdateTrafficPolicyInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestxml_deserializeOpErrorUpdateHostedZoneComment(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9835,17 +10406,11 @@ func awsRestxml_deserializeOpErrorUpdateTrafficPolicyInstance(response *smithyht } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("ConflictingTypes", errorCode): - return awsRestxml_deserializeErrorConflictingTypes(response, errorBody) - case strings.EqualFold("InvalidInput", errorCode): return awsRestxml_deserializeErrorInvalidInput(response, errorBody) - case strings.EqualFold("NoSuchTrafficPolicy", errorCode): - return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) - - case strings.EqualFold("NoSuchTrafficPolicyInstance", errorCode): - return awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response, errorBody) + case strings.EqualFold("NoSuchHostedZone", errorCode): + return awsRestxml_deserializeErrorNoSuchHostedZone(response, errorBody) case strings.EqualFold("PriorRequestNotComplete", errorCode): return awsRestxml_deserializeErrorPriorRequestNotComplete(response, errorBody) @@ -9860,13 +10425,13 @@ func awsRestxml_deserializeOpErrorUpdateTrafficPolicyInstance(response *smithyht } } -func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyInstanceOutput(v **UpdateTrafficPolicyInstanceOutput, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeOpDocumentUpdateHostedZoneCommentOutput(v **UpdateHostedZoneCommentOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *UpdateTrafficPolicyInstanceOutput + var sv *UpdateHostedZoneCommentOutput if *v == nil { - sv = &UpdateTrafficPolicyInstanceOutput{} + sv = &UpdateHostedZoneCommentOutput{} } else { sv = *v } @@ -9882,9 +10447,9 @@ func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyInstanceOutput(v **Updat originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("TrafficPolicyInstance", t.Name.Local): + case strings.EqualFold("HostedZone", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentTrafficPolicyInstance(&sv.TrafficPolicyInstance, nodeDecoder); err != nil { + if err := awsRestxml_deserializeDocumentHostedZone(&sv.HostedZone, nodeDecoder); err != nil { return err } @@ -9902,184 +10467,300 @@ func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyInstanceOutput(v **Updat return nil } -func awsRestxml_deserializeErrorConcurrentModification(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ConcurrentModification{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return output - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } +type awsRestxml_deserializeOpUpdateTrafficPolicyComment struct { +} - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("Error") +func (*awsRestxml_deserializeOpUpdateTrafficPolicyComment) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpUpdateTrafficPolicyComment) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } + return out, metadata, err } - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentConcurrentModification(&output, decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} } - return output -} + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorUpdateTrafficPolicyComment(response, &metadata) + } + output := &UpdateTrafficPolicyCommentOutput{} + out.Result = output -func awsRestxml_deserializeErrorConflictingDomainExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ConflictingDomainExists{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) + body := io.TeeReader(response.Body, ringBuffer) rootDecoder := xml.NewDecoder(body) t, err := smithyxml.FetchRootElement(rootDecoder) if err == io.EOF { - return output + return out, metadata, nil } if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ + return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("Error") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentConflictingDomainExists(&output, decoder) + err = awsRestxml_deserializeOpDocumentUpdateTrafficPolicyCommentOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ + return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } } - return output + return out, metadata, err } -func awsRestxml_deserializeErrorConflictingTypes(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ConflictingTypes{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) - rootDecoder := xml.NewDecoder(body) - t, err := smithyxml.FetchRootElement(rootDecoder) - if err == io.EOF { - return output - } - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } +func awsRestxml_deserializeOpErrorUpdateTrafficPolicyComment(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} } + errorBody := bytes.NewReader(errorBuffer.Bytes()) - decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("Error") - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - } + errorCode := "UnknownError" + errorMessage := errorCode - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentConflictingTypes(&output, decoder) + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } + return err } - - return output -} - -func awsRestxml_deserializeErrorDelegationSetAlreadyCreated(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DelegationSetAlreadyCreated{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - body := io.TeeReader(errorBody, ringBuffer) + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConcurrentModification", errorCode): + return awsRestxml_deserializeErrorConcurrentModification(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + + case strings.EqualFold("NoSuchTrafficPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyCommentOutput(v **UpdateTrafficPolicyCommentOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *UpdateTrafficPolicyCommentOutput + if *v == nil { + sv = &UpdateTrafficPolicyCommentOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("TrafficPolicy", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentTrafficPolicy(&sv.TrafficPolicy, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +type awsRestxml_deserializeOpUpdateTrafficPolicyInstance struct { +} + +func (*awsRestxml_deserializeOpUpdateTrafficPolicyInstance) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestxml_deserializeOpUpdateTrafficPolicyInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestxml_deserializeOpErrorUpdateTrafficPolicyInstance(response, &metadata) + } + output := &UpdateTrafficPolicyInstanceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) rootDecoder := xml.NewDecoder(body) t, err := smithyxml.FetchRootElement(rootDecoder) if err == io.EOF { - return output + return out, metadata, nil } if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ + return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - t, err = decoder.GetElement("Error") + err = awsRestxml_deserializeOpDocumentUpdateTrafficPolicyInstanceOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ + return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to decode response body, %w", err), Snapshot: snapshot.Bytes(), } } - decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentDelegationSetAlreadyCreated(&output, decoder) + return out, metadata, err +} + +func awsRestxml_deserializeOpErrorUpdateTrafficPolicyInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := awsxml.GetErrorResponseComponents(errorBody, false) if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + return err + } + if reqID := errorComponents.RequestID; len(reqID) != 0 { + awsmiddleware.SetRequestIDMetadata(metadata, reqID) + } + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + case strings.EqualFold("ConflictingTypes", errorCode): + return awsRestxml_deserializeErrorConflictingTypes(response, errorBody) + + case strings.EqualFold("InvalidInput", errorCode): + return awsRestxml_deserializeErrorInvalidInput(response, errorBody) + + case strings.EqualFold("NoSuchTrafficPolicy", errorCode): + return awsRestxml_deserializeErrorNoSuchTrafficPolicy(response, errorBody) + + case strings.EqualFold("NoSuchTrafficPolicyInstance", errorCode): + return awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response, errorBody) + + case strings.EqualFold("PriorRequestNotComplete", errorCode): + return awsRestxml_deserializeErrorPriorRequestNotComplete(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, } + return genericError + } +} - return output +func awsRestxml_deserializeOpDocumentUpdateTrafficPolicyInstanceOutput(v **UpdateTrafficPolicyInstanceOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *UpdateTrafficPolicyInstanceOutput + if *v == nil { + sv = &UpdateTrafficPolicyInstanceOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("TrafficPolicyInstance", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentTrafficPolicyInstance(&sv.TrafficPolicyInstance, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil } -func awsRestxml_deserializeErrorDelegationSetAlreadyReusable(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DelegationSetAlreadyReusable{} +func awsRestxml_deserializeErrorCidrBlockInUseException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CidrBlockInUseException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10109,7 +10790,7 @@ func awsRestxml_deserializeErrorDelegationSetAlreadyReusable(response *smithyhtt } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentDelegationSetAlreadyReusable(&output, decoder) + err = awsRestxml_deserializeDocumentCidrBlockInUseException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10122,8 +10803,8 @@ func awsRestxml_deserializeErrorDelegationSetAlreadyReusable(response *smithyhtt return output } -func awsRestxml_deserializeErrorDelegationSetInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DelegationSetInUse{} +func awsRestxml_deserializeErrorCidrCollectionAlreadyExistsException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CidrCollectionAlreadyExistsException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10153,7 +10834,7 @@ func awsRestxml_deserializeErrorDelegationSetInUse(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentDelegationSetInUse(&output, decoder) + err = awsRestxml_deserializeDocumentCidrCollectionAlreadyExistsException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10166,8 +10847,8 @@ func awsRestxml_deserializeErrorDelegationSetInUse(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorDelegationSetNotAvailable(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DelegationSetNotAvailable{} +func awsRestxml_deserializeErrorCidrCollectionInUseException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CidrCollectionInUseException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10197,7 +10878,7 @@ func awsRestxml_deserializeErrorDelegationSetNotAvailable(response *smithyhttp.R } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentDelegationSetNotAvailable(&output, decoder) + err = awsRestxml_deserializeDocumentCidrCollectionInUseException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10210,8 +10891,8 @@ func awsRestxml_deserializeErrorDelegationSetNotAvailable(response *smithyhttp.R return output } -func awsRestxml_deserializeErrorDelegationSetNotReusable(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DelegationSetNotReusable{} +func awsRestxml_deserializeErrorCidrCollectionVersionMismatchException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.CidrCollectionVersionMismatchException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10241,7 +10922,7 @@ func awsRestxml_deserializeErrorDelegationSetNotReusable(response *smithyhttp.Re } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentDelegationSetNotReusable(&output, decoder) + err = awsRestxml_deserializeDocumentCidrCollectionVersionMismatchException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10254,8 +10935,8 @@ func awsRestxml_deserializeErrorDelegationSetNotReusable(response *smithyhttp.Re return output } -func awsRestxml_deserializeErrorDNSSECNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.DNSSECNotFound{} +func awsRestxml_deserializeErrorConcurrentModification(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ConcurrentModification{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10285,7 +10966,7 @@ func awsRestxml_deserializeErrorDNSSECNotFound(response *smithyhttp.Response, er } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentDNSSECNotFound(&output, decoder) + err = awsRestxml_deserializeDocumentConcurrentModification(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10298,8 +10979,8 @@ func awsRestxml_deserializeErrorDNSSECNotFound(response *smithyhttp.Response, er return output } -func awsRestxml_deserializeErrorHealthCheckAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HealthCheckAlreadyExists{} +func awsRestxml_deserializeErrorConflictingDomainExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ConflictingDomainExists{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10329,7 +11010,7 @@ func awsRestxml_deserializeErrorHealthCheckAlreadyExists(response *smithyhttp.Re } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHealthCheckAlreadyExists(&output, decoder) + err = awsRestxml_deserializeDocumentConflictingDomainExists(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10342,8 +11023,8 @@ func awsRestxml_deserializeErrorHealthCheckAlreadyExists(response *smithyhttp.Re return output } -func awsRestxml_deserializeErrorHealthCheckInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HealthCheckInUse{} +func awsRestxml_deserializeErrorConflictingTypes(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ConflictingTypes{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10373,7 +11054,7 @@ func awsRestxml_deserializeErrorHealthCheckInUse(response *smithyhttp.Response, } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHealthCheckInUse(&output, decoder) + err = awsRestxml_deserializeDocumentConflictingTypes(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10386,8 +11067,8 @@ func awsRestxml_deserializeErrorHealthCheckInUse(response *smithyhttp.Response, return output } -func awsRestxml_deserializeErrorHealthCheckVersionMismatch(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HealthCheckVersionMismatch{} +func awsRestxml_deserializeErrorDelegationSetAlreadyCreated(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DelegationSetAlreadyCreated{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10417,7 +11098,7 @@ func awsRestxml_deserializeErrorHealthCheckVersionMismatch(response *smithyhttp. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHealthCheckVersionMismatch(&output, decoder) + err = awsRestxml_deserializeDocumentDelegationSetAlreadyCreated(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10430,8 +11111,8 @@ func awsRestxml_deserializeErrorHealthCheckVersionMismatch(response *smithyhttp. return output } -func awsRestxml_deserializeErrorHostedZoneAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HostedZoneAlreadyExists{} +func awsRestxml_deserializeErrorDelegationSetAlreadyReusable(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DelegationSetAlreadyReusable{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10461,7 +11142,7 @@ func awsRestxml_deserializeErrorHostedZoneAlreadyExists(response *smithyhttp.Res } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHostedZoneAlreadyExists(&output, decoder) + err = awsRestxml_deserializeDocumentDelegationSetAlreadyReusable(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10474,8 +11155,8 @@ func awsRestxml_deserializeErrorHostedZoneAlreadyExists(response *smithyhttp.Res return output } -func awsRestxml_deserializeErrorHostedZoneNotEmpty(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HostedZoneNotEmpty{} +func awsRestxml_deserializeErrorDelegationSetInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DelegationSetInUse{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10505,7 +11186,7 @@ func awsRestxml_deserializeErrorHostedZoneNotEmpty(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHostedZoneNotEmpty(&output, decoder) + err = awsRestxml_deserializeDocumentDelegationSetInUse(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10518,8 +11199,8 @@ func awsRestxml_deserializeErrorHostedZoneNotEmpty(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorHostedZoneNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HostedZoneNotFound{} +func awsRestxml_deserializeErrorDelegationSetNotAvailable(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DelegationSetNotAvailable{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10549,7 +11230,7 @@ func awsRestxml_deserializeErrorHostedZoneNotFound(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHostedZoneNotFound(&output, decoder) + err = awsRestxml_deserializeDocumentDelegationSetNotAvailable(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10562,8 +11243,8 @@ func awsRestxml_deserializeErrorHostedZoneNotFound(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorHostedZoneNotPrivate(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HostedZoneNotPrivate{} +func awsRestxml_deserializeErrorDelegationSetNotReusable(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DelegationSetNotReusable{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10593,7 +11274,7 @@ func awsRestxml_deserializeErrorHostedZoneNotPrivate(response *smithyhttp.Respon } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHostedZoneNotPrivate(&output, decoder) + err = awsRestxml_deserializeDocumentDelegationSetNotReusable(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10606,8 +11287,8 @@ func awsRestxml_deserializeErrorHostedZoneNotPrivate(response *smithyhttp.Respon return output } -func awsRestxml_deserializeErrorHostedZonePartiallyDelegated(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.HostedZonePartiallyDelegated{} +func awsRestxml_deserializeErrorDNSSECNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.DNSSECNotFound{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10637,7 +11318,7 @@ func awsRestxml_deserializeErrorHostedZonePartiallyDelegated(response *smithyhtt } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentHostedZonePartiallyDelegated(&output, decoder) + err = awsRestxml_deserializeDocumentDNSSECNotFound(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10650,8 +11331,8 @@ func awsRestxml_deserializeErrorHostedZonePartiallyDelegated(response *smithyhtt return output } -func awsRestxml_deserializeErrorIncompatibleVersion(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.IncompatibleVersion{} +func awsRestxml_deserializeErrorHealthCheckAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HealthCheckAlreadyExists{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10681,7 +11362,7 @@ func awsRestxml_deserializeErrorIncompatibleVersion(response *smithyhttp.Respons } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentIncompatibleVersion(&output, decoder) + err = awsRestxml_deserializeDocumentHealthCheckAlreadyExists(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10694,8 +11375,8 @@ func awsRestxml_deserializeErrorIncompatibleVersion(response *smithyhttp.Respons return output } -func awsRestxml_deserializeErrorInsufficientCloudWatchLogsResourcePolicy(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InsufficientCloudWatchLogsResourcePolicy{} +func awsRestxml_deserializeErrorHealthCheckInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HealthCheckInUse{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10725,7 +11406,7 @@ func awsRestxml_deserializeErrorInsufficientCloudWatchLogsResourcePolicy(respons } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInsufficientCloudWatchLogsResourcePolicy(&output, decoder) + err = awsRestxml_deserializeDocumentHealthCheckInUse(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10738,8 +11419,8 @@ func awsRestxml_deserializeErrorInsufficientCloudWatchLogsResourcePolicy(respons return output } -func awsRestxml_deserializeErrorInvalidArgument(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidArgument{} +func awsRestxml_deserializeErrorHealthCheckVersionMismatch(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HealthCheckVersionMismatch{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10769,7 +11450,7 @@ func awsRestxml_deserializeErrorInvalidArgument(response *smithyhttp.Response, e } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidArgument(&output, decoder) + err = awsRestxml_deserializeDocumentHealthCheckVersionMismatch(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10782,8 +11463,8 @@ func awsRestxml_deserializeErrorInvalidArgument(response *smithyhttp.Response, e return output } -func awsRestxml_deserializeErrorInvalidChangeBatch(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidChangeBatch{} +func awsRestxml_deserializeErrorHostedZoneAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HostedZoneAlreadyExists{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10813,7 +11494,7 @@ func awsRestxml_deserializeErrorInvalidChangeBatch(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidChangeBatch(&output, decoder) + err = awsRestxml_deserializeDocumentHostedZoneAlreadyExists(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10826,8 +11507,8 @@ func awsRestxml_deserializeErrorInvalidChangeBatch(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorInvalidDomainName(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidDomainName{} +func awsRestxml_deserializeErrorHostedZoneNotEmpty(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HostedZoneNotEmpty{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10857,7 +11538,7 @@ func awsRestxml_deserializeErrorInvalidDomainName(response *smithyhttp.Response, } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidDomainName(&output, decoder) + err = awsRestxml_deserializeDocumentHostedZoneNotEmpty(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10870,8 +11551,8 @@ func awsRestxml_deserializeErrorInvalidDomainName(response *smithyhttp.Response, return output } -func awsRestxml_deserializeErrorInvalidInput(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidInput{} +func awsRestxml_deserializeErrorHostedZoneNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HostedZoneNotFound{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10901,7 +11582,7 @@ func awsRestxml_deserializeErrorInvalidInput(response *smithyhttp.Response, erro } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidInput(&output, decoder) + err = awsRestxml_deserializeDocumentHostedZoneNotFound(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10914,8 +11595,8 @@ func awsRestxml_deserializeErrorInvalidInput(response *smithyhttp.Response, erro return output } -func awsRestxml_deserializeErrorInvalidKeySigningKeyName(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidKeySigningKeyName{} +func awsRestxml_deserializeErrorHostedZoneNotPrivate(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HostedZoneNotPrivate{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10945,7 +11626,7 @@ func awsRestxml_deserializeErrorInvalidKeySigningKeyName(response *smithyhttp.Re } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidKeySigningKeyName(&output, decoder) + err = awsRestxml_deserializeDocumentHostedZoneNotPrivate(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -10958,8 +11639,8 @@ func awsRestxml_deserializeErrorInvalidKeySigningKeyName(response *smithyhttp.Re return output } -func awsRestxml_deserializeErrorInvalidKeySigningKeyStatus(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidKeySigningKeyStatus{} +func awsRestxml_deserializeErrorHostedZonePartiallyDelegated(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.HostedZonePartiallyDelegated{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -10989,7 +11670,7 @@ func awsRestxml_deserializeErrorInvalidKeySigningKeyStatus(response *smithyhttp. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidKeySigningKeyStatus(&output, decoder) + err = awsRestxml_deserializeDocumentHostedZonePartiallyDelegated(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11002,8 +11683,8 @@ func awsRestxml_deserializeErrorInvalidKeySigningKeyStatus(response *smithyhttp. return output } -func awsRestxml_deserializeErrorInvalidKMSArn(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidKMSArn{} +func awsRestxml_deserializeErrorIncompatibleVersion(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.IncompatibleVersion{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11033,7 +11714,7 @@ func awsRestxml_deserializeErrorInvalidKMSArn(response *smithyhttp.Response, err } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidKMSArn(&output, decoder) + err = awsRestxml_deserializeDocumentIncompatibleVersion(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11046,8 +11727,8 @@ func awsRestxml_deserializeErrorInvalidKMSArn(response *smithyhttp.Response, err return output } -func awsRestxml_deserializeErrorInvalidPaginationToken(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidPaginationToken{} +func awsRestxml_deserializeErrorInsufficientCloudWatchLogsResourcePolicy(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InsufficientCloudWatchLogsResourcePolicy{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11077,7 +11758,7 @@ func awsRestxml_deserializeErrorInvalidPaginationToken(response *smithyhttp.Resp } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidPaginationToken(&output, decoder) + err = awsRestxml_deserializeDocumentInsufficientCloudWatchLogsResourcePolicy(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11090,8 +11771,8 @@ func awsRestxml_deserializeErrorInvalidPaginationToken(response *smithyhttp.Resp return output } -func awsRestxml_deserializeErrorInvalidSigningStatus(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidSigningStatus{} +func awsRestxml_deserializeErrorInvalidArgument(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidArgument{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11121,7 +11802,7 @@ func awsRestxml_deserializeErrorInvalidSigningStatus(response *smithyhttp.Respon } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidSigningStatus(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidArgument(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11134,8 +11815,8 @@ func awsRestxml_deserializeErrorInvalidSigningStatus(response *smithyhttp.Respon return output } -func awsRestxml_deserializeErrorInvalidTrafficPolicyDocument(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidTrafficPolicyDocument{} +func awsRestxml_deserializeErrorInvalidChangeBatch(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidChangeBatch{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11165,7 +11846,7 @@ func awsRestxml_deserializeErrorInvalidTrafficPolicyDocument(response *smithyhtt } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidTrafficPolicyDocument(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidChangeBatch(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11178,8 +11859,8 @@ func awsRestxml_deserializeErrorInvalidTrafficPolicyDocument(response *smithyhtt return output } -func awsRestxml_deserializeErrorInvalidVPCId(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidVPCId{} +func awsRestxml_deserializeErrorInvalidDomainName(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidDomainName{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11209,7 +11890,7 @@ func awsRestxml_deserializeErrorInvalidVPCId(response *smithyhttp.Response, erro } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentInvalidVPCId(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidDomainName(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11222,8 +11903,8 @@ func awsRestxml_deserializeErrorInvalidVPCId(response *smithyhttp.Response, erro return output } -func awsRestxml_deserializeErrorKeySigningKeyAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.KeySigningKeyAlreadyExists{} +func awsRestxml_deserializeErrorInvalidInput(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidInput{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11253,7 +11934,7 @@ func awsRestxml_deserializeErrorKeySigningKeyAlreadyExists(response *smithyhttp. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentKeySigningKeyAlreadyExists(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidInput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11266,8 +11947,8 @@ func awsRestxml_deserializeErrorKeySigningKeyAlreadyExists(response *smithyhttp. return output } -func awsRestxml_deserializeErrorKeySigningKeyInParentDSRecord(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.KeySigningKeyInParentDSRecord{} +func awsRestxml_deserializeErrorInvalidKeySigningKeyName(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidKeySigningKeyName{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11297,7 +11978,7 @@ func awsRestxml_deserializeErrorKeySigningKeyInParentDSRecord(response *smithyht } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentKeySigningKeyInParentDSRecord(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidKeySigningKeyName(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11310,8 +11991,8 @@ func awsRestxml_deserializeErrorKeySigningKeyInParentDSRecord(response *smithyht return output } -func awsRestxml_deserializeErrorKeySigningKeyInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.KeySigningKeyInUse{} +func awsRestxml_deserializeErrorInvalidKeySigningKeyStatus(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidKeySigningKeyStatus{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11341,7 +12022,7 @@ func awsRestxml_deserializeErrorKeySigningKeyInUse(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentKeySigningKeyInUse(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidKeySigningKeyStatus(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11354,8 +12035,8 @@ func awsRestxml_deserializeErrorKeySigningKeyInUse(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorKeySigningKeyWithActiveStatusNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.KeySigningKeyWithActiveStatusNotFound{} +func awsRestxml_deserializeErrorInvalidKMSArn(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidKMSArn{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11385,7 +12066,7 @@ func awsRestxml_deserializeErrorKeySigningKeyWithActiveStatusNotFound(response * } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentKeySigningKeyWithActiveStatusNotFound(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidKMSArn(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11398,8 +12079,8 @@ func awsRestxml_deserializeErrorKeySigningKeyWithActiveStatusNotFound(response * return output } -func awsRestxml_deserializeErrorLastVPCAssociation(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.LastVPCAssociation{} +func awsRestxml_deserializeErrorInvalidPaginationToken(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidPaginationToken{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11429,7 +12110,7 @@ func awsRestxml_deserializeErrorLastVPCAssociation(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentLastVPCAssociation(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidPaginationToken(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11442,8 +12123,8 @@ func awsRestxml_deserializeErrorLastVPCAssociation(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorLimitsExceeded(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.LimitsExceeded{} +func awsRestxml_deserializeErrorInvalidSigningStatus(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidSigningStatus{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11473,7 +12154,7 @@ func awsRestxml_deserializeErrorLimitsExceeded(response *smithyhttp.Response, er } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentLimitsExceeded(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidSigningStatus(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11486,8 +12167,8 @@ func awsRestxml_deserializeErrorLimitsExceeded(response *smithyhttp.Response, er return output } -func awsRestxml_deserializeErrorNoSuchChange(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchChange{} +func awsRestxml_deserializeErrorInvalidTrafficPolicyDocument(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidTrafficPolicyDocument{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11517,7 +12198,7 @@ func awsRestxml_deserializeErrorNoSuchChange(response *smithyhttp.Response, erro } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchChange(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidTrafficPolicyDocument(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11530,8 +12211,8 @@ func awsRestxml_deserializeErrorNoSuchChange(response *smithyhttp.Response, erro return output } -func awsRestxml_deserializeErrorNoSuchCloudWatchLogsLogGroup(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchCloudWatchLogsLogGroup{} +func awsRestxml_deserializeErrorInvalidVPCId(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidVPCId{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11561,7 +12242,7 @@ func awsRestxml_deserializeErrorNoSuchCloudWatchLogsLogGroup(response *smithyhtt } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchCloudWatchLogsLogGroup(&output, decoder) + err = awsRestxml_deserializeDocumentInvalidVPCId(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11574,8 +12255,8 @@ func awsRestxml_deserializeErrorNoSuchCloudWatchLogsLogGroup(response *smithyhtt return output } -func awsRestxml_deserializeErrorNoSuchDelegationSet(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchDelegationSet{} +func awsRestxml_deserializeErrorKeySigningKeyAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.KeySigningKeyAlreadyExists{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11605,7 +12286,7 @@ func awsRestxml_deserializeErrorNoSuchDelegationSet(response *smithyhttp.Respons } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchDelegationSet(&output, decoder) + err = awsRestxml_deserializeDocumentKeySigningKeyAlreadyExists(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11618,8 +12299,8 @@ func awsRestxml_deserializeErrorNoSuchDelegationSet(response *smithyhttp.Respons return output } -func awsRestxml_deserializeErrorNoSuchGeoLocation(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchGeoLocation{} +func awsRestxml_deserializeErrorKeySigningKeyInParentDSRecord(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.KeySigningKeyInParentDSRecord{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11649,7 +12330,7 @@ func awsRestxml_deserializeErrorNoSuchGeoLocation(response *smithyhttp.Response, } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchGeoLocation(&output, decoder) + err = awsRestxml_deserializeDocumentKeySigningKeyInParentDSRecord(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11662,8 +12343,8 @@ func awsRestxml_deserializeErrorNoSuchGeoLocation(response *smithyhttp.Response, return output } -func awsRestxml_deserializeErrorNoSuchHealthCheck(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchHealthCheck{} +func awsRestxml_deserializeErrorKeySigningKeyInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.KeySigningKeyInUse{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11693,7 +12374,7 @@ func awsRestxml_deserializeErrorNoSuchHealthCheck(response *smithyhttp.Response, } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchHealthCheck(&output, decoder) + err = awsRestxml_deserializeDocumentKeySigningKeyInUse(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11706,8 +12387,8 @@ func awsRestxml_deserializeErrorNoSuchHealthCheck(response *smithyhttp.Response, return output } -func awsRestxml_deserializeErrorNoSuchHostedZone(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchHostedZone{} +func awsRestxml_deserializeErrorKeySigningKeyWithActiveStatusNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.KeySigningKeyWithActiveStatusNotFound{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11737,7 +12418,7 @@ func awsRestxml_deserializeErrorNoSuchHostedZone(response *smithyhttp.Response, } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchHostedZone(&output, decoder) + err = awsRestxml_deserializeDocumentKeySigningKeyWithActiveStatusNotFound(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11750,8 +12431,8 @@ func awsRestxml_deserializeErrorNoSuchHostedZone(response *smithyhttp.Response, return output } -func awsRestxml_deserializeErrorNoSuchKeySigningKey(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchKeySigningKey{} +func awsRestxml_deserializeErrorLastVPCAssociation(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.LastVPCAssociation{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11781,7 +12462,7 @@ func awsRestxml_deserializeErrorNoSuchKeySigningKey(response *smithyhttp.Respons } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchKeySigningKey(&output, decoder) + err = awsRestxml_deserializeDocumentLastVPCAssociation(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11794,8 +12475,8 @@ func awsRestxml_deserializeErrorNoSuchKeySigningKey(response *smithyhttp.Respons return output } -func awsRestxml_deserializeErrorNoSuchQueryLoggingConfig(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchQueryLoggingConfig{} +func awsRestxml_deserializeErrorLimitsExceeded(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.LimitsExceeded{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11825,7 +12506,7 @@ func awsRestxml_deserializeErrorNoSuchQueryLoggingConfig(response *smithyhttp.Re } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchQueryLoggingConfig(&output, decoder) + err = awsRestxml_deserializeDocumentLimitsExceeded(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11838,8 +12519,8 @@ func awsRestxml_deserializeErrorNoSuchQueryLoggingConfig(response *smithyhttp.Re return output } -func awsRestxml_deserializeErrorNoSuchTrafficPolicy(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchTrafficPolicy{} +func awsRestxml_deserializeErrorNoSuchChange(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchChange{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11869,7 +12550,7 @@ func awsRestxml_deserializeErrorNoSuchTrafficPolicy(response *smithyhttp.Respons } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchTrafficPolicy(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchChange(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11882,8 +12563,8 @@ func awsRestxml_deserializeErrorNoSuchTrafficPolicy(response *smithyhttp.Respons return output } -func awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NoSuchTrafficPolicyInstance{} +func awsRestxml_deserializeErrorNoSuchCidrCollectionException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchCidrCollectionException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11913,7 +12594,7 @@ func awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response *smithyhttp } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNoSuchTrafficPolicyInstance(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchCidrCollectionException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11926,8 +12607,8 @@ func awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response *smithyhttp return output } -func awsRestxml_deserializeErrorNotAuthorizedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.NotAuthorizedException{} +func awsRestxml_deserializeErrorNoSuchCidrLocationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchCidrLocationException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -11957,7 +12638,7 @@ func awsRestxml_deserializeErrorNotAuthorizedException(response *smithyhttp.Resp } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentNotAuthorizedException(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchCidrLocationException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11970,8 +12651,8 @@ func awsRestxml_deserializeErrorNotAuthorizedException(response *smithyhttp.Resp return output } -func awsRestxml_deserializeErrorPriorRequestNotComplete(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.PriorRequestNotComplete{} +func awsRestxml_deserializeErrorNoSuchCloudWatchLogsLogGroup(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchCloudWatchLogsLogGroup{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12001,7 +12682,7 @@ func awsRestxml_deserializeErrorPriorRequestNotComplete(response *smithyhttp.Res } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentPriorRequestNotComplete(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchCloudWatchLogsLogGroup(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12014,8 +12695,8 @@ func awsRestxml_deserializeErrorPriorRequestNotComplete(response *smithyhttp.Res return output } -func awsRestxml_deserializeErrorPublicZoneVPCAssociation(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.PublicZoneVPCAssociation{} +func awsRestxml_deserializeErrorNoSuchDelegationSet(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchDelegationSet{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12045,7 +12726,7 @@ func awsRestxml_deserializeErrorPublicZoneVPCAssociation(response *smithyhttp.Re } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentPublicZoneVPCAssociation(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchDelegationSet(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12058,8 +12739,8 @@ func awsRestxml_deserializeErrorPublicZoneVPCAssociation(response *smithyhttp.Re return output } -func awsRestxml_deserializeErrorQueryLoggingConfigAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.QueryLoggingConfigAlreadyExists{} +func awsRestxml_deserializeErrorNoSuchGeoLocation(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchGeoLocation{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12089,7 +12770,7 @@ func awsRestxml_deserializeErrorQueryLoggingConfigAlreadyExists(response *smithy } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentQueryLoggingConfigAlreadyExists(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchGeoLocation(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12102,8 +12783,8 @@ func awsRestxml_deserializeErrorQueryLoggingConfigAlreadyExists(response *smithy return output } -func awsRestxml_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ThrottlingException{} +func awsRestxml_deserializeErrorNoSuchHealthCheck(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchHealthCheck{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12133,7 +12814,7 @@ func awsRestxml_deserializeErrorThrottlingException(response *smithyhttp.Respons } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentThrottlingException(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchHealthCheck(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12146,8 +12827,8 @@ func awsRestxml_deserializeErrorThrottlingException(response *smithyhttp.Respons return output } -func awsRestxml_deserializeErrorTooManyHealthChecks(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyHealthChecks{} +func awsRestxml_deserializeErrorNoSuchHostedZone(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchHostedZone{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12177,7 +12858,7 @@ func awsRestxml_deserializeErrorTooManyHealthChecks(response *smithyhttp.Respons } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTooManyHealthChecks(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchHostedZone(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12190,8 +12871,8 @@ func awsRestxml_deserializeErrorTooManyHealthChecks(response *smithyhttp.Respons return output } -func awsRestxml_deserializeErrorTooManyHostedZones(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyHostedZones{} +func awsRestxml_deserializeErrorNoSuchKeySigningKey(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchKeySigningKey{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12221,7 +12902,7 @@ func awsRestxml_deserializeErrorTooManyHostedZones(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTooManyHostedZones(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchKeySigningKey(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12234,8 +12915,8 @@ func awsRestxml_deserializeErrorTooManyHostedZones(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorTooManyKeySigningKeys(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyKeySigningKeys{} +func awsRestxml_deserializeErrorNoSuchQueryLoggingConfig(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchQueryLoggingConfig{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12265,7 +12946,7 @@ func awsRestxml_deserializeErrorTooManyKeySigningKeys(response *smithyhttp.Respo } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTooManyKeySigningKeys(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchQueryLoggingConfig(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12278,8 +12959,8 @@ func awsRestxml_deserializeErrorTooManyKeySigningKeys(response *smithyhttp.Respo return output } -func awsRestxml_deserializeErrorTooManyTrafficPolicies(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyTrafficPolicies{} +func awsRestxml_deserializeErrorNoSuchTrafficPolicy(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchTrafficPolicy{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12309,7 +12990,7 @@ func awsRestxml_deserializeErrorTooManyTrafficPolicies(response *smithyhttp.Resp } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTooManyTrafficPolicies(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchTrafficPolicy(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12322,8 +13003,8 @@ func awsRestxml_deserializeErrorTooManyTrafficPolicies(response *smithyhttp.Resp return output } -func awsRestxml_deserializeErrorTooManyTrafficPolicyInstances(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyTrafficPolicyInstances{} +func awsRestxml_deserializeErrorNoSuchTrafficPolicyInstance(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NoSuchTrafficPolicyInstance{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12353,7 +13034,7 @@ func awsRestxml_deserializeErrorTooManyTrafficPolicyInstances(response *smithyht } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTooManyTrafficPolicyInstances(&output, decoder) + err = awsRestxml_deserializeDocumentNoSuchTrafficPolicyInstance(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12366,8 +13047,8 @@ func awsRestxml_deserializeErrorTooManyTrafficPolicyInstances(response *smithyht return output } -func awsRestxml_deserializeErrorTooManyTrafficPolicyVersionsForCurrentPolicy(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyTrafficPolicyVersionsForCurrentPolicy{} +func awsRestxml_deserializeErrorNotAuthorizedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.NotAuthorizedException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12397,7 +13078,7 @@ func awsRestxml_deserializeErrorTooManyTrafficPolicyVersionsForCurrentPolicy(res } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTooManyTrafficPolicyVersionsForCurrentPolicy(&output, decoder) + err = awsRestxml_deserializeDocumentNotAuthorizedException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12410,8 +13091,8 @@ func awsRestxml_deserializeErrorTooManyTrafficPolicyVersionsForCurrentPolicy(res return output } -func awsRestxml_deserializeErrorTooManyVPCAssociationAuthorizations(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyVPCAssociationAuthorizations{} +func awsRestxml_deserializeErrorPriorRequestNotComplete(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.PriorRequestNotComplete{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12441,7 +13122,7 @@ func awsRestxml_deserializeErrorTooManyVPCAssociationAuthorizations(response *sm } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTooManyVPCAssociationAuthorizations(&output, decoder) + err = awsRestxml_deserializeDocumentPriorRequestNotComplete(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12454,8 +13135,8 @@ func awsRestxml_deserializeErrorTooManyVPCAssociationAuthorizations(response *sm return output } -func awsRestxml_deserializeErrorTrafficPolicyAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TrafficPolicyAlreadyExists{} +func awsRestxml_deserializeErrorPublicZoneVPCAssociation(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.PublicZoneVPCAssociation{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12485,7 +13166,7 @@ func awsRestxml_deserializeErrorTrafficPolicyAlreadyExists(response *smithyhttp. } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTrafficPolicyAlreadyExists(&output, decoder) + err = awsRestxml_deserializeDocumentPublicZoneVPCAssociation(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12498,8 +13179,8 @@ func awsRestxml_deserializeErrorTrafficPolicyAlreadyExists(response *smithyhttp. return output } -func awsRestxml_deserializeErrorTrafficPolicyInstanceAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TrafficPolicyInstanceAlreadyExists{} +func awsRestxml_deserializeErrorQueryLoggingConfigAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.QueryLoggingConfigAlreadyExists{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12529,7 +13210,7 @@ func awsRestxml_deserializeErrorTrafficPolicyInstanceAlreadyExists(response *smi } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTrafficPolicyInstanceAlreadyExists(&output, decoder) + err = awsRestxml_deserializeDocumentQueryLoggingConfigAlreadyExists(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12542,8 +13223,8 @@ func awsRestxml_deserializeErrorTrafficPolicyInstanceAlreadyExists(response *smi return output } -func awsRestxml_deserializeErrorTrafficPolicyInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TrafficPolicyInUse{} +func awsRestxml_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.ThrottlingException{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12573,7 +13254,7 @@ func awsRestxml_deserializeErrorTrafficPolicyInUse(response *smithyhttp.Response } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentTrafficPolicyInUse(&output, decoder) + err = awsRestxml_deserializeDocumentThrottlingException(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12586,8 +13267,8 @@ func awsRestxml_deserializeErrorTrafficPolicyInUse(response *smithyhttp.Response return output } -func awsRestxml_deserializeErrorVPCAssociationAuthorizationNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.VPCAssociationAuthorizationNotFound{} +func awsRestxml_deserializeErrorTooManyHealthChecks(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyHealthChecks{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12617,7 +13298,7 @@ func awsRestxml_deserializeErrorVPCAssociationAuthorizationNotFound(response *sm } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentVPCAssociationAuthorizationNotFound(&output, decoder) + err = awsRestxml_deserializeDocumentTooManyHealthChecks(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12630,8 +13311,8 @@ func awsRestxml_deserializeErrorVPCAssociationAuthorizationNotFound(response *sm return output } -func awsRestxml_deserializeErrorVPCAssociationNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.VPCAssociationNotFound{} +func awsRestxml_deserializeErrorTooManyHostedZones(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyHostedZones{} var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) body := io.TeeReader(errorBody, ringBuffer) @@ -12661,7 +13342,7 @@ func awsRestxml_deserializeErrorVPCAssociationNotFound(response *smithyhttp.Resp } decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) - err = awsRestxml_deserializeDocumentVPCAssociationNotFound(&output, decoder) + err = awsRestxml_deserializeDocumentTooManyHostedZones(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12674,42 +13355,1247 @@ func awsRestxml_deserializeErrorVPCAssociationNotFound(response *smithyhttp.Resp return output } -func awsRestxml_deserializeDocumentAccountLimit(v **types.AccountLimit, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) +func awsRestxml_deserializeErrorTooManyKeySigningKeys(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyKeySigningKeys{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output } - var sv *types.AccountLimit - if *v == nil { - sv = &types.AccountLimit{} - } else { - sv = *v + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } } - for { - t, done, err := decoder.Token() - if err != nil { - return err + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } - if done { - break + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTooManyKeySigningKeys(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("Type", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Type = types.AccountLimitType(xtv) - } + } - case strings.EqualFold("Value", t.Name.Local): + return output +} + +func awsRestxml_deserializeErrorTooManyTrafficPolicies(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyTrafficPolicies{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTooManyTrafficPolicies(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorTooManyTrafficPolicyInstances(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyTrafficPolicyInstances{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTooManyTrafficPolicyInstances(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorTooManyTrafficPolicyVersionsForCurrentPolicy(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyTrafficPolicyVersionsForCurrentPolicy{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTooManyTrafficPolicyVersionsForCurrentPolicy(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorTooManyVPCAssociationAuthorizations(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TooManyVPCAssociationAuthorizations{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTooManyVPCAssociationAuthorizations(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorTrafficPolicyAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TrafficPolicyAlreadyExists{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTrafficPolicyAlreadyExists(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorTrafficPolicyInstanceAlreadyExists(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TrafficPolicyInstanceAlreadyExists{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTrafficPolicyInstanceAlreadyExists(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorTrafficPolicyInUse(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.TrafficPolicyInUse{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentTrafficPolicyInUse(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorVPCAssociationAuthorizationNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.VPCAssociationAuthorizationNotFound{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentVPCAssociationAuthorizationNotFound(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeErrorVPCAssociationNotFound(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.VPCAssociationNotFound{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(errorBody, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return output + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + t, err = decoder.GetElement("Error") + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder = smithyxml.WrapNodeDecoder(decoder.Decoder, t) + err = awsRestxml_deserializeDocumentVPCAssociationNotFound(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + return output +} + +func awsRestxml_deserializeDocumentAccountLimit(v **types.AccountLimit, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AccountLimit + if *v == nil { + sv = &types.AccountLimit{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Type", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Type = types.AccountLimitType(xtv) + } + + case strings.EqualFold("Value", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.Value = i64 + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentAlarmIdentifier(v **types.AlarmIdentifier, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AlarmIdentifier + if *v == nil { + sv = &types.AlarmIdentifier{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Name", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Name = ptr.String(xtv) + } + + case strings.EqualFold("Region", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Region = types.CloudWatchRegion(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentAliasTarget(v **types.AliasTarget, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.AliasTarget + if *v == nil { + sv = &types.AliasTarget{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("DNSName", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.DNSName = ptr.String(xtv) + } + + case strings.EqualFold("EvaluateTargetHealth", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv, err := strconv.ParseBool(string(val)) + if err != nil { + return fmt.Errorf("expected AliasHealthEnabled to be of type *bool, got %T instead", val) + } + sv.EvaluateTargetHealth = xtv + } + + case strings.EqualFold("HostedZoneId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.HostedZoneId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentChangeInfo(v **types.ChangeInfo, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.ChangeInfo + if *v == nil { + sv = &types.ChangeInfo{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Comment", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Comment = ptr.String(xtv) + } + + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + case strings.EqualFold("Status", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Status = types.ChangeStatus(xtv) + } + + case strings.EqualFold("SubmittedAt", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.SubmittedAt = ptr.Time(t) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCheckerIpRanges(v *[]string, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder + switch { + case strings.EqualFold("member", t.Name.Local): + var col string + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + col = xtv + } + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCheckerIpRangesUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + switch { + default: + var mv string + t := decoder.StartEl + _ = t + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + mv = xtv + } + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentChildHealthCheckList(v *[]string, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + decoder = memberDecoder + switch { + case strings.EqualFold("ChildHealthCheck", t.Name.Local): + var col string + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + col = xtv + } + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentChildHealthCheckListUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { + var sv []string + if *v == nil { + sv = make([]string, 0) + } else { + sv = *v + } + + switch { + default: + var mv string + t := decoder.StartEl + _ = t + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + mv = xtv + } + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentCidrBlockInUseException(v **types.CidrBlockInUseException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CidrBlockInUseException + if *v == nil { + sv = &types.CidrBlockInUseException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCidrBlockSummaries(v *[]types.CidrBlockSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.CidrBlockSummary + if *v == nil { + sv = make([]types.CidrBlockSummary, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("member", t.Name.Local): + var col types.CidrBlockSummary + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentCidrBlockSummary(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCidrBlockSummariesUnwrapped(v *[]types.CidrBlockSummary, decoder smithyxml.NodeDecoder) error { + var sv []types.CidrBlockSummary + if *v == nil { + sv = make([]types.CidrBlockSummary, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.CidrBlockSummary + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentCidrBlockSummary(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentCidrBlockSummary(v **types.CidrBlockSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CidrBlockSummary + if *v == nil { + sv = &types.CidrBlockSummary{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("CidrBlock", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.CidrBlock = ptr.String(xtv) + } + + case strings.EqualFold("LocationName", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.LocationName = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCidrCollection(v **types.CidrCollection, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CidrCollection + if *v == nil { + sv = &types.CidrCollection{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Arn", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Arn = ptr.String(xtv) + } + + case strings.EqualFold("Id", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Id = ptr.String(xtv) + } + + case strings.EqualFold("Name", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Name = ptr.String(xtv) + } + + case strings.EqualFold("Version", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.Version = ptr.Int64(i64) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCidrCollectionAlreadyExistsException(v **types.CidrCollectionAlreadyExistsException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CidrCollectionAlreadyExistsException + if *v == nil { + sv = &types.CidrCollectionAlreadyExistsException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentCidrCollectionInUseException(v **types.CidrCollectionInUseException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CidrCollectionInUseException + if *v == nil { + sv = &types.CidrCollectionInUseException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12719,11 +14605,7 @@ func awsRestxml_deserializeDocumentAccountLimit(v **types.AccountLimit, decoder } { xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.Value = i64 + sv.Message = ptr.String(xtv) } default: @@ -12740,13 +14622,13 @@ func awsRestxml_deserializeDocumentAccountLimit(v **types.AccountLimit, decoder return nil } -func awsRestxml_deserializeDocumentAlarmIdentifier(v **types.AlarmIdentifier, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentCidrCollectionVersionMismatchException(v **types.CidrCollectionVersionMismatchException, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.AlarmIdentifier + var sv *types.CidrCollectionVersionMismatchException if *v == nil { - sv = &types.AlarmIdentifier{} + sv = &types.CidrCollectionVersionMismatchException{} } else { sv = *v } @@ -12762,20 +14644,7 @@ func awsRestxml_deserializeDocumentAlarmIdentifier(v **types.AlarmIdentifier, de originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Name", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Name = ptr.String(xtv) - } - - case strings.EqualFold("Region", t.Name.Local): + case strings.EqualFold("Message", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12785,7 +14654,7 @@ func awsRestxml_deserializeDocumentAlarmIdentifier(v **types.AlarmIdentifier, de } { xtv := string(val) - sv.Region = types.CloudWatchRegion(xtv) + sv.Message = ptr.String(xtv) } default: @@ -12802,13 +14671,13 @@ func awsRestxml_deserializeDocumentAlarmIdentifier(v **types.AlarmIdentifier, de return nil } -func awsRestxml_deserializeDocumentAliasTarget(v **types.AliasTarget, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentCidrRoutingConfig(v **types.CidrRoutingConfig, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.AliasTarget + var sv *types.CidrRoutingConfig if *v == nil { - sv = &types.AliasTarget{} + sv = &types.CidrRoutingConfig{} } else { sv = *v } @@ -12824,7 +14693,7 @@ func awsRestxml_deserializeDocumentAliasTarget(v **types.AliasTarget, decoder sm originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("DNSName", t.Name.Local): + case strings.EqualFold("CollectionId", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12834,26 +14703,10 @@ func awsRestxml_deserializeDocumentAliasTarget(v **types.AliasTarget, decoder sm } { xtv := string(val) - sv.DNSName = ptr.String(xtv) - } - - case strings.EqualFold("EvaluateTargetHealth", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv, err := strconv.ParseBool(string(val)) - if err != nil { - return fmt.Errorf("expected AliasHealthEnabled to be of type *bool, got %T instead", val) - } - sv.EvaluateTargetHealth = xtv + sv.CollectionId = ptr.String(xtv) } - case strings.EqualFold("HostedZoneId", t.Name.Local): + case strings.EqualFold("LocationName", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12863,7 +14716,7 @@ func awsRestxml_deserializeDocumentAliasTarget(v **types.AliasTarget, decoder sm } { xtv := string(val) - sv.HostedZoneId = ptr.String(xtv) + sv.LocationName = ptr.String(xtv) } default: @@ -12880,13 +14733,13 @@ func awsRestxml_deserializeDocumentAliasTarget(v **types.AliasTarget, decoder sm return nil } -func awsRestxml_deserializeDocumentChangeInfo(v **types.ChangeInfo, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentCloudWatchAlarmConfiguration(v **types.CloudWatchAlarmConfiguration, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.ChangeInfo + var sv *types.CloudWatchAlarmConfiguration if *v == nil { - sv = &types.ChangeInfo{} + sv = &types.CloudWatchAlarmConfiguration{} } else { sv = *v } @@ -12902,7 +14755,7 @@ func awsRestxml_deserializeDocumentChangeInfo(v **types.ChangeInfo, decoder smit originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("Comment", t.Name.Local): + case strings.EqualFold("ComparisonOperator", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12912,10 +14765,16 @@ func awsRestxml_deserializeDocumentChangeInfo(v **types.ChangeInfo, decoder smit } { xtv := string(val) - sv.Comment = ptr.String(xtv) + sv.ComparisonOperator = types.ComparisonOperator(xtv) } - case strings.EqualFold("Id", t.Name.Local): + case strings.EqualFold("Dimensions", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentDimensionList(&sv.Dimensions, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("EvaluationPeriods", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12925,10 +14784,14 @@ func awsRestxml_deserializeDocumentChangeInfo(v **types.ChangeInfo, decoder smit } { xtv := string(val) - sv.Id = ptr.String(xtv) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.EvaluationPeriods = ptr.Int32(int32(i64)) } - case strings.EqualFold("Status", t.Name.Local): + case strings.EqualFold("MetricName", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12938,10 +14801,10 @@ func awsRestxml_deserializeDocumentChangeInfo(v **types.ChangeInfo, decoder smit } { xtv := string(val) - sv.Status = types.ChangeStatus(xtv) + sv.MetricName = ptr.String(xtv) } - case strings.EqualFold("SubmittedAt", t.Name.Local): + case strings.EqualFold("Namespace", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -12951,52 +14814,40 @@ func awsRestxml_deserializeDocumentChangeInfo(v **types.ChangeInfo, decoder smit } { xtv := string(val) - t, err := smithytime.ParseDateTime(xtv) + sv.Namespace = ptr.String(xtv) + } + + case strings.EqualFold("Period", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) if err != nil { return err } - sv.SubmittedAt = ptr.Time(t) + sv.Period = ptr.Int32(int32(i64)) } - default: - // Do nothing and ignore the unexpected tag element - err = decoder.Decoder.Skip() + case strings.EqualFold("Statistic", t.Name.Local): + val, err := decoder.Value() if err != nil { return err } + if val == nil { + break + } + { + xtv := string(val) + sv.Statistic = types.Statistic(xtv) + } - } - decoder = originalDecoder - } - *v = sv - return nil -} - -func awsRestxml_deserializeDocumentCheckerIpRanges(v *[]string, decoder smithyxml.NodeDecoder) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - var sv []string - if *v == nil { - sv = make([]string, 0) - } else { - sv = *v - } - - originalDecoder := decoder - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - decoder = memberDecoder - switch { - case strings.EqualFold("member", t.Name.Local): - var col string + case strings.EqualFold("Threshold", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -13006,11 +14857,15 @@ func awsRestxml_deserializeDocumentCheckerIpRanges(v *[]string, decoder smithyxm } { xtv := string(val) - col = xtv + f64, err := strconv.ParseFloat(xtv, 64) + if err != nil { + return err + } + sv.Threshold = ptr.Float64(f64) } - sv = append(sv, col) default: + // Do nothing and ignore the unexpected tag element err = decoder.Decoder.Skip() if err != nil { return err @@ -13023,42 +14878,13 @@ func awsRestxml_deserializeDocumentCheckerIpRanges(v *[]string, decoder smithyxm return nil } -func awsRestxml_deserializeDocumentCheckerIpRangesUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { - var sv []string - if *v == nil { - sv = make([]string, 0) - } else { - sv = *v - } - - switch { - default: - var mv string - t := decoder.StartEl - _ = t - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - mv = xtv - } - sv = append(sv, mv) - } - *v = sv - return nil -} -func awsRestxml_deserializeDocumentChildHealthCheckList(v *[]string, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentCollectionSummaries(v *[]types.CollectionSummary, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []string + var sv []types.CollectionSummary if *v == nil { - sv = make([]string, 0) + sv = make([]types.CollectionSummary, 0) } else { sv = *v } @@ -13072,22 +14898,15 @@ func awsRestxml_deserializeDocumentChildHealthCheckList(v *[]string, decoder smi if done { break } - memberDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - decoder = memberDecoder switch { - case strings.EqualFold("ChildHealthCheck", t.Name.Local): - var col string - val, err := decoder.Value() - if err != nil { + case strings.EqualFold("member", t.Name.Local): + var col types.CollectionSummary + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentCollectionSummary(&destAddr, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - col = xtv - } + col = *destAddr sv = append(sv, col) default: @@ -13103,77 +14922,53 @@ func awsRestxml_deserializeDocumentChildHealthCheckList(v *[]string, decoder smi return nil } -func awsRestxml_deserializeDocumentChildHealthCheckListUnwrapped(v *[]string, decoder smithyxml.NodeDecoder) error { - var sv []string +func awsRestxml_deserializeDocumentCollectionSummariesUnwrapped(v *[]types.CollectionSummary, decoder smithyxml.NodeDecoder) error { + var sv []types.CollectionSummary if *v == nil { - sv = make([]string, 0) + sv = make([]types.CollectionSummary, 0) } else { sv = *v } switch { default: - var mv string + var mv types.CollectionSummary t := decoder.StartEl _ = t - val, err := decoder.Value() - if err != nil { + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentCollectionSummary(&destAddr, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - mv = xtv - } + mv = *destAddr sv = append(sv, mv) } *v = sv return nil } -func awsRestxml_deserializeDocumentCloudWatchAlarmConfiguration(v **types.CloudWatchAlarmConfiguration, decoder smithyxml.NodeDecoder) error { +func awsRestxml_deserializeDocumentCollectionSummary(v **types.CollectionSummary, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.CloudWatchAlarmConfiguration + var sv *types.CollectionSummary if *v == nil { - sv = &types.CloudWatchAlarmConfiguration{} + sv = &types.CollectionSummary{} } else { sv = *v } - for { - t, done, err := decoder.Token() - if err != nil { - return err - } - if done { - break - } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) - switch { - case strings.EqualFold("ComparisonOperator", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.ComparisonOperator = types.ComparisonOperator(xtv) - } - - case strings.EqualFold("Dimensions", t.Name.Local): - nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsRestxml_deserializeDocumentDimensionList(&sv.Dimensions, nodeDecoder); err != nil { - return err - } - - case strings.EqualFold("EvaluationPeriods", t.Name.Local): + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Arn", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -13183,14 +14978,10 @@ func awsRestxml_deserializeDocumentCloudWatchAlarmConfiguration(v **types.CloudW } { xtv := string(val) - i64, err := strconv.ParseInt(xtv, 10, 64) - if err != nil { - return err - } - sv.EvaluationPeriods = ptr.Int32(int32(i64)) + sv.Arn = ptr.String(xtv) } - case strings.EqualFold("MetricName", t.Name.Local): + case strings.EqualFold("Id", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -13200,10 +14991,10 @@ func awsRestxml_deserializeDocumentCloudWatchAlarmConfiguration(v **types.CloudW } { xtv := string(val) - sv.MetricName = ptr.String(xtv) + sv.Id = ptr.String(xtv) } - case strings.EqualFold("Namespace", t.Name.Local): + case strings.EqualFold("Name", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -13213,10 +15004,10 @@ func awsRestxml_deserializeDocumentCloudWatchAlarmConfiguration(v **types.CloudW } { xtv := string(val) - sv.Namespace = ptr.String(xtv) + sv.Name = ptr.String(xtv) } - case strings.EqualFold("Period", t.Name.Local): + case strings.EqualFold("Version", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -13230,37 +15021,7 @@ func awsRestxml_deserializeDocumentCloudWatchAlarmConfiguration(v **types.CloudW if err != nil { return err } - sv.Period = ptr.Int32(int32(i64)) - } - - case strings.EqualFold("Statistic", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - sv.Statistic = types.Statistic(xtv) - } - - case strings.EqualFold("Threshold", t.Name.Local): - val, err := decoder.Value() - if err != nil { - return err - } - if val == nil { - break - } - { - xtv := string(val) - f64, err := strconv.ParseFloat(xtv, 64) - if err != nil { - return err - } - sv.Threshold = ptr.Float64(f64) + sv.Version = ptr.Int64(i64) } default: @@ -17349,6 +19110,123 @@ func awsRestxml_deserializeDocumentLinkedService(v **types.LinkedService, decode return nil } +func awsRestxml_deserializeDocumentLocationSummaries(v *[]types.LocationSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.LocationSummary + if *v == nil { + sv = make([]types.LocationSummary, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("member", t.Name.Local): + var col types.LocationSummary + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsRestxml_deserializeDocumentLocationSummary(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentLocationSummariesUnwrapped(v *[]types.LocationSummary, decoder smithyxml.NodeDecoder) error { + var sv []types.LocationSummary + if *v == nil { + sv = make([]types.LocationSummary, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.LocationSummary + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsRestxml_deserializeDocumentLocationSummary(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsRestxml_deserializeDocumentLocationSummary(v **types.LocationSummary, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.LocationSummary + if *v == nil { + sv = &types.LocationSummary{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("LocationName", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.LocationName = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentNoSuchChange(v **types.NoSuchChange, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -17398,6 +19276,104 @@ func awsRestxml_deserializeDocumentNoSuchChange(v **types.NoSuchChange, decoder return nil } +func awsRestxml_deserializeDocumentNoSuchCidrCollectionException(v **types.NoSuchCidrCollectionException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.NoSuchCidrCollectionException + if *v == nil { + sv = &types.NoSuchCidrCollectionException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsRestxml_deserializeDocumentNoSuchCidrLocationException(v **types.NoSuchCidrLocationException, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.NoSuchCidrLocationException + if *v == nil { + sv = &types.NoSuchCidrLocationException{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("Message", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Message = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsRestxml_deserializeDocumentNoSuchCloudWatchLogsLogGroup(v **types.NoSuchCloudWatchLogsLogGroup, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -18403,6 +20379,12 @@ func awsRestxml_deserializeDocumentResourceRecordSet(v **types.ResourceRecordSet return err } + case strings.EqualFold("CidrRoutingConfig", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsRestxml_deserializeDocumentCidrRoutingConfig(&sv.CidrRoutingConfig, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("Failover", t.Name.Local): val, err := decoder.Value() if err != nil { diff --git a/service/route53/generated.json b/service/route53/generated.json index 8e7ad0dff20..b10577e36c1 100644 --- a/service/route53/generated.json +++ b/service/route53/generated.json @@ -11,8 +11,10 @@ "api_client_test.go", "api_op_ActivateKeySigningKey.go", "api_op_AssociateVPCWithHostedZone.go", + "api_op_ChangeCidrCollection.go", "api_op_ChangeResourceRecordSets.go", "api_op_ChangeTagsForResource.go", + "api_op_CreateCidrCollection.go", "api_op_CreateHealthCheck.go", "api_op_CreateHostedZone.go", "api_op_CreateKeySigningKey.go", @@ -23,6 +25,7 @@ "api_op_CreateTrafficPolicyVersion.go", "api_op_CreateVPCAssociationAuthorization.go", "api_op_DeactivateKeySigningKey.go", + "api_op_DeleteCidrCollection.go", "api_op_DeleteHealthCheck.go", "api_op_DeleteHostedZone.go", "api_op_DeleteKeySigningKey.go", @@ -52,6 +55,9 @@ "api_op_GetTrafficPolicy.go", "api_op_GetTrafficPolicyInstance.go", "api_op_GetTrafficPolicyInstanceCount.go", + "api_op_ListCidrBlocks.go", + "api_op_ListCidrCollections.go", + "api_op_ListCidrLocations.go", "api_op_ListGeoLocations.go", "api_op_ListHealthChecks.go", "api_op_ListHostedZones.go", diff --git a/service/route53/go.mod b/service/route53/go.mod index 57a9cb455ae..19c2f0a9977 100644 --- a/service/route53/go.mod +++ b/service/route53/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/route53 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/route53/go.sum b/service/route53/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/route53/go.sum +++ b/service/route53/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/route53/go_module_metadata.go b/service/route53/go_module_metadata.go index 217f92194a7..1a3d1473560 100644 --- a/service/route53/go_module_metadata.go +++ b/service/route53/go_module_metadata.go @@ -3,4 +3,4 @@ package route53 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.5" +const goModuleVersion = "1.21.1" diff --git a/service/route53/serializers.go b/service/route53/serializers.go index 661b43aeecd..1e1720ac8a7 100644 --- a/service/route53/serializers.go +++ b/service/route53/serializers.go @@ -186,6 +186,111 @@ func awsRestxml_serializeOpDocumentAssociateVPCWithHostedZoneInput(v *AssociateV return nil } +type awsRestxml_serializeOpChangeCidrCollection struct { +} + +func (*awsRestxml_serializeOpChangeCidrCollection) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpChangeCidrCollection) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ChangeCidrCollectionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2013-04-01/cidrcollection/{Id}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsChangeCidrCollectionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "ChangeCidrCollectionRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "https://route53.amazonaws.com/doc/2013-04-01/")) + if err := awsRestxml_serializeOpDocumentChangeCidrCollectionInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsChangeCidrCollectionInput(v *ChangeCidrCollectionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + return nil +} + +func awsRestxml_serializeOpDocumentChangeCidrCollectionInput(v *ChangeCidrCollectionInput, value smithyxml.Value) error { + defer value.Close() + if v.Changes != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Changes", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentCidrCollectionChanges(v.Changes, el); err != nil { + return err + } + } + if v.CollectionVersion != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CollectionVersion", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.Long(*v.CollectionVersion) + } + return nil +} + type awsRestxml_serializeOpChangeResourceRecordSets struct { } @@ -396,6 +501,96 @@ func awsRestxml_serializeOpDocumentChangeTagsForResourceInput(v *ChangeTagsForRe return nil } +type awsRestxml_serializeOpCreateCidrCollection struct { +} + +func (*awsRestxml_serializeOpCreateCidrCollection) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpCreateCidrCollection) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateCidrCollectionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2013-04-01/cidrcollection") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "POST" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/xml") + + xmlEncoder := smithyxml.NewEncoder(bytes.NewBuffer(nil)) + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CreateCidrCollectionRequest", + }, + Attr: rootAttr, + } + root.Attr = append(root.Attr, smithyxml.NewNamespaceAttribute("", "https://route53.amazonaws.com/doc/2013-04-01/")) + if err := awsRestxml_serializeOpDocumentCreateCidrCollectionInput(input, xmlEncoder.RootElement(root)); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + if request, err = request.SetStream(bytes.NewReader(xmlEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsCreateCidrCollectionInput(v *CreateCidrCollectionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + return nil +} + +func awsRestxml_serializeOpDocumentCreateCidrCollectionInput(v *CreateCidrCollectionInput, value smithyxml.Value) error { + defer value.Close() + if v.CallerReference != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CallerReference", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.CallerReference) + } + if v.Name != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Name", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.Name) + } + return nil +} + type awsRestxml_serializeOpCreateHealthCheck struct { } @@ -1406,6 +1601,64 @@ func awsRestxml_serializeOpHttpBindingsDeactivateKeySigningKeyInput(v *Deactivat return nil } +type awsRestxml_serializeOpDeleteCidrCollection struct { +} + +func (*awsRestxml_serializeOpDeleteCidrCollection) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpDeleteCidrCollection) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteCidrCollectionInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2013-04-01/cidrcollection/{Id}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "DELETE" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsDeleteCidrCollectionInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsDeleteCidrCollectionInput(v *DeleteCidrCollectionInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.Id == nil || len(*v.Id) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member Id must not be empty")} + } + if v.Id != nil { + if err := encoder.SetURI("Id").String(*v.Id); err != nil { + return err + } + } + + return nil +} + type awsRestxml_serializeOpDeleteHealthCheck struct { } @@ -3167,6 +3420,199 @@ func awsRestxml_serializeOpHttpBindingsGetTrafficPolicyInstanceCountInput(v *Get return nil } +type awsRestxml_serializeOpListCidrBlocks struct { +} + +func (*awsRestxml_serializeOpListCidrBlocks) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListCidrBlocks) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListCidrBlocksInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2013-04-01/cidrcollection/{CollectionId}/cidrblocks") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsListCidrBlocksInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListCidrBlocksInput(v *ListCidrBlocksInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.CollectionId == nil || len(*v.CollectionId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member CollectionId must not be empty")} + } + if v.CollectionId != nil { + if err := encoder.SetURI("CollectionId").String(*v.CollectionId); err != nil { + return err + } + } + + if v.LocationName != nil { + encoder.SetQuery("location").String(*v.LocationName) + } + + if v.MaxResults != nil { + encoder.SetQuery("maxresults").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("nexttoken").String(*v.NextToken) + } + + return nil +} + +type awsRestxml_serializeOpListCidrCollections struct { +} + +func (*awsRestxml_serializeOpListCidrCollections) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListCidrCollections) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListCidrCollectionsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2013-04-01/cidrcollection") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsListCidrCollectionsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListCidrCollectionsInput(v *ListCidrCollectionsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.MaxResults != nil { + encoder.SetQuery("maxresults").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("nexttoken").String(*v.NextToken) + } + + return nil +} + +type awsRestxml_serializeOpListCidrLocations struct { +} + +func (*awsRestxml_serializeOpListCidrLocations) ID() string { + return "OperationSerializer" +} + +func (m *awsRestxml_serializeOpListCidrLocations) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListCidrLocationsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/2013-04-01/cidrcollection/{CollectionId}") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + restEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestxml_serializeOpHttpBindingsListCidrLocationsInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsRestxml_serializeOpHttpBindingsListCidrLocationsInput(v *ListCidrLocationsInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.CollectionId == nil || len(*v.CollectionId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member CollectionId must not be empty")} + } + if v.CollectionId != nil { + if err := encoder.SetURI("CollectionId").String(*v.CollectionId); err != nil { + return err + } + } + + if v.MaxResults != nil { + encoder.SetQuery("maxresults").Integer(*v.MaxResults) + } + + if v.NextToken != nil { + encoder.SetQuery("nexttoken").String(*v.NextToken) + } + + return nil +} + type awsRestxml_serializeOpListGeoLocations struct { } @@ -5031,6 +5477,108 @@ func awsRestxml_serializeDocumentChildHealthCheckList(v []string, value smithyxm return nil } +func awsRestxml_serializeDocumentCidrCollectionChange(v *types.CidrCollectionChange, value smithyxml.Value) error { + defer value.Close() + if len(v.Action) > 0 { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Action", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(string(v.Action)) + } + if v.CidrList != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CidrList", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentCidrList(v.CidrList, el); err != nil { + return err + } + } + if v.LocationName != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "LocationName", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.LocationName) + } + return nil +} + +func awsRestxml_serializeDocumentCidrCollectionChanges(v []types.CidrCollectionChange, value smithyxml.Value) error { + var array *smithyxml.Array + if !value.IsFlattened() { + defer value.Close() + } + array = value.Array() + for i := range v { + am := array.Member() + if err := awsRestxml_serializeDocumentCidrCollectionChange(&v[i], am); err != nil { + return err + } + } + return nil +} + +func awsRestxml_serializeDocumentCidrList(v []string, value smithyxml.Value) error { + var array *smithyxml.Array + if !value.IsFlattened() { + defer value.Close() + } + customMemberNameAttr := []smithyxml.Attr{} + customMemberName := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "Cidr", + }, + Attr: customMemberNameAttr, + } + array = value.ArrayWithCustomName(customMemberName) + for i := range v { + am := array.Member() + am.String(v[i]) + } + return nil +} + +func awsRestxml_serializeDocumentCidrRoutingConfig(v *types.CidrRoutingConfig, value smithyxml.Value) error { + defer value.Close() + if v.CollectionId != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CollectionId", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.CollectionId) + } + if v.LocationName != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "LocationName", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + el.String(*v.LocationName) + } + return nil +} + func awsRestxml_serializeDocumentGeoLocation(v *types.GeoLocation, value smithyxml.Value) error { defer value.Close() if v.ContinentCode != nil { @@ -5398,6 +5946,19 @@ func awsRestxml_serializeDocumentResourceRecordSet(v *types.ResourceRecordSet, v return err } } + if v.CidrRoutingConfig != nil { + rootAttr := []smithyxml.Attr{} + root := smithyxml.StartElement{ + Name: smithyxml.Name{ + Local: "CidrRoutingConfig", + }, + Attr: rootAttr, + } + el := value.MemberElement(root) + if err := awsRestxml_serializeDocumentCidrRoutingConfig(v.CidrRoutingConfig, el); err != nil { + return err + } + } if len(v.Failover) > 0 { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ diff --git a/service/route53/types/enums.go b/service/route53/types/enums.go index 0dccfd94d3b..747e965dfcf 100644 --- a/service/route53/types/enums.go +++ b/service/route53/types/enums.go @@ -64,6 +64,24 @@ func (ChangeStatus) Values() []ChangeStatus { } } +type CidrCollectionChangeAction string + +// Enum values for CidrCollectionChangeAction +const ( + CidrCollectionChangeActionPut CidrCollectionChangeAction = "PUT" + CidrCollectionChangeActionDeleteIfExists CidrCollectionChangeAction = "DELETE_IF_EXISTS" +) + +// Values returns all known values for CidrCollectionChangeAction. Note that this +// can be expanded in the future, and so it is only as up to date as the client. +// The ordering of this slice is not guaranteed to be stable across updates. +func (CidrCollectionChangeAction) Values() []CidrCollectionChangeAction { + return []CidrCollectionChangeAction{ + "PUT", + "DELETE_IF_EXISTS", + } +} + type CloudWatchRegion string // Enum values for CloudWatchRegion diff --git a/service/route53/types/errors.go b/service/route53/types/errors.go index 03f9225a0cd..bf9f4172ca5 100644 --- a/service/route53/types/errors.go +++ b/service/route53/types/errors.go @@ -7,6 +7,92 @@ import ( smithy "github.com/aws/smithy-go" ) +// This CIDR block is already in use. +type CidrBlockInUseException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *CidrBlockInUseException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *CidrBlockInUseException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *CidrBlockInUseException) ErrorCode() string { return "CidrBlockInUseException" } +func (e *CidrBlockInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// A CIDR collection with this name and a different caller reference already exists +// in this account. +type CidrCollectionAlreadyExistsException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *CidrCollectionAlreadyExistsException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *CidrCollectionAlreadyExistsException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *CidrCollectionAlreadyExistsException) ErrorCode() string { + return "CidrCollectionAlreadyExistsException" +} +func (e *CidrCollectionAlreadyExistsException) ErrorFault() smithy.ErrorFault { + return smithy.FaultClient +} + +// This CIDR collection is in use, and isn't empty. +type CidrCollectionInUseException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *CidrCollectionInUseException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *CidrCollectionInUseException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *CidrCollectionInUseException) ErrorCode() string { return "CidrCollectionInUseException" } +func (e *CidrCollectionInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The CIDR collection version you provided, doesn't match the one in the +// ListCidrCollections operation. +type CidrCollectionVersionMismatchException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *CidrCollectionVersionMismatchException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *CidrCollectionVersionMismatchException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *CidrCollectionVersionMismatchException) ErrorCode() string { + return "CidrCollectionVersionMismatchException" +} +func (e *CidrCollectionVersionMismatchException) ErrorFault() smithy.ErrorFault { + return smithy.FaultClient +} + // Another user submitted a request to create, update, or delete the object at the // same time that you did. Retry the request. type ConcurrentModification struct { @@ -752,17 +838,10 @@ func (e *LastVPCAssociation) ErrorMessage() string { func (e *LastVPCAssociation) ErrorCode() string { return "LastVPCAssociation" } func (e *LastVPCAssociation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// This operation can't be completed either because the current account has reached -// the limit on reusable delegation sets that it can create or because you've -// reached the limit on the number of Amazon VPCs that you can associate with a -// private hosted zone. To get the current limit on the number of reusable -// delegation sets, see GetAccountLimit -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). -// To get the current limit on the number of Amazon VPCs that you can associate -// with a private hosted zone, see GetHostedZoneLimit -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZoneLimit.html). -// To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. +// This operation can't be completed because the current account has reached the +// limit on the resource you are trying to create. To request a higher limit, +// create a case (http://aws.amazon.com/route53-request) with the Amazon Web +// Services Support Center. type LimitsExceeded struct { Message *string @@ -800,6 +879,44 @@ func (e *NoSuchChange) ErrorMessage() string { func (e *NoSuchChange) ErrorCode() string { return "NoSuchChange" } func (e *NoSuchChange) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// The CIDR collection you specified, doesn't exist. +type NoSuchCidrCollectionException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *NoSuchCidrCollectionException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *NoSuchCidrCollectionException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *NoSuchCidrCollectionException) ErrorCode() string { return "NoSuchCidrCollectionException" } +func (e *NoSuchCidrCollectionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The CIDR collection location doesn't match any locations in your account. +type NoSuchCidrLocationException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *NoSuchCidrLocationException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *NoSuchCidrLocationException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *NoSuchCidrLocationException) ErrorCode() string { return "NoSuchCidrLocationException" } +func (e *NoSuchCidrLocationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // There is no CloudWatch Logs log group with the specified ARN. type NoSuchCloudWatchLogsLogGroup struct { Message *string diff --git a/service/route53/types/types.go b/service/route53/types/types.go index 2b6ec627ebe..fac9fc6c230 100644 --- a/service/route53/types/types.go +++ b/service/route53/types/types.go @@ -446,6 +446,78 @@ type ChangeInfo struct { noSmithyDocumentSerde } +// A complex type that lists the CIDR blocks. +type CidrBlockSummary struct { + + // Value for the CIDR block. + CidrBlock *string + + // The location name of the CIDR block. + LocationName *string + + noSmithyDocumentSerde +} + +// A complex type that identifies a CIDR collection. +type CidrCollection struct { + + // The ARN of the collection. Can be used to reference the collection in IAM policy + // or in another Amazon Web Services account. + Arn *string + + // The unique ID of the CIDR collection. + Id *string + + // The name of a CIDR collection. + Name *string + + // A sequential counter that Route 53 sets to 1 when you create a CIDR collection + // and increments by 1 each time you update settings for the CIDR collection. + Version *int64 + + noSmithyDocumentSerde +} + +// A complex type that contains information about the CIDR collection change. +type CidrCollectionChange struct { + + // CIDR collection change action. + // + // This member is required. + Action CidrCollectionChangeAction + + // List of CIDR blocks. + // + // This member is required. + CidrList []string + + // Name of the location that is associated with the CIDR collection. + // + // This member is required. + LocationName *string + + noSmithyDocumentSerde +} + +// The object that is specified in resource record set object when you are linking +// a resource record set to a CIDR location. A LocationName with an asterisk “*” +// can be used to create a default CIDR record. CollectionId is still required for +// default record. +type CidrRoutingConfig struct { + + // The CIDR collection ID. + // + // This member is required. + CollectionId *string + + // The CIDR collection location name. + // + // This member is required. + LocationName *string + + noSmithyDocumentSerde +} + // A complex type that contains information about the CloudWatch alarm that Amazon // Route 53 is monitoring for this health check. type CloudWatchAlarmConfiguration struct { @@ -503,6 +575,28 @@ type CloudWatchAlarmConfiguration struct { noSmithyDocumentSerde } +// A complex type that is an entry in an CidrCollection +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CidrCollection.html) +// array. +type CollectionSummary struct { + + // The ARN of the collection summary. Can be used to reference the collection in + // IAM policy or cross-account. + Arn *string + + // Unique ID for the CIDR collection. + Id *string + + // The name of a CIDR collection. + Name *string + + // A sequential counter that Route 53 sets to 1 when you create a CIDR collection + // and increments by 1 each time you update settings for the CIDR collection. + Version *int64 + + noSmithyDocumentSerde +} + // A complex type that lists the name servers in a delegation set, as well as the // CallerReference and the ID for the delegation set. type DelegationSet struct { @@ -1242,6 +1336,15 @@ type LinkedService struct { noSmithyDocumentSerde } +// A complex type that contains information about the CIDR location. +type LocationSummary struct { + + // A string that specifies a location name. + LocationName *string + + noSmithyDocumentSerde +} + // A complex type that contains information about a configuration for DNS query // logging. type QueryLoggingConfig struct { @@ -1298,26 +1401,26 @@ type ResourceRecordSet struct { // a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see // DNS Domain Name Format // (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) - // in the Amazon Route 53 Developer Guide. You can use the asterisk () wildcard to - // replace the leftmost label in a domain name, for example, .example.com. Note the - // following: + // in the Amazon Route 53 Developer Guide. You can use the asterisk (*) wildcard to + // replace the leftmost label in a domain name, for example, *.example.com. Note + // the following: // // * The * must replace the entire label. For example, you can't - // specify prod.example.com or prod.example.com. + // specify *prod.example.com or prod*.example.com. // - // * The * can't replace any of the - // middle labels, for example, marketing..example.com. + // * The * can't replace any of + // the middle labels, for example, marketing.*.example.com. // - // * If you include * in any - // position other than the leftmost label in a domain name, DNS treats it as an * - // character (ASCII 42), not as a wildcard. You can't use the * wildcard for + // * If you include * in + // any position other than the leftmost label in a domain name, DNS treats it as an + // * character (ASCII 42), not as a wildcard. You can't use the * wildcard for // resource records sets that have a type of NS. // // You can use the * wildcard as the - // leftmost label in a domain name, for example, .example.com. You can't use an * - // for one of the middle labels, for example, marketing..example.com. In addition, + // leftmost label in a domain name, for example, *.example.com. You can't use an * + // for one of the middle labels, for example, marketing.*.example.com. In addition, // the * must replace the entire label; for example, you can't specify - // prod.example.com. + // prod*.example.com. // // This member is required. Name *string @@ -1391,6 +1494,12 @@ type ResourceRecordSet struct { // in the Amazon Route 53 Developer Guide. AliasTarget *AliasTarget + // The object that is specified in resource record set object when you are linking + // a resource record set to a CIDR location. A LocationName with an asterisk “*” + // can be used to create a default CIDR record. CollectionId is still required for + // default record. + CidrRoutingConfig *CidrRoutingConfig + // Failover resource record sets only: To configure failover, you add the Failover // element to two resource record sets. For one resource record set, you specify // PRIMARY as the value for Failover; for the other resource record set, you @@ -1544,8 +1653,8 @@ type ResourceRecordSet struct { // endpoint is unhealthy, Route 53 looks for a resource record set for the larger, // associated geographic region. For example, suppose you have resource record sets // for a state in the United States, for the entire United States, for North - // America, and a resource record set that has for CountryCode is , which applies - // to all locations. If the endpoint for the state resource record set is + // America, and a resource record set that has * for CountryCode is *, which + // applies to all locations. If the endpoint for the state resource record set is // unhealthy, Route 53 checks for healthy resource record sets in the following // order until it finds a resource record set for which the endpoint is healthy: // diff --git a/service/route53/validators.go b/service/route53/validators.go index c6ba9ff3c2a..3f1403f4b96 100644 --- a/service/route53/validators.go +++ b/service/route53/validators.go @@ -50,6 +50,26 @@ func (m *validateOpAssociateVPCWithHostedZone) HandleInitialize(ctx context.Cont return next.HandleInitialize(ctx, in) } +type validateOpChangeCidrCollection struct { +} + +func (*validateOpChangeCidrCollection) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpChangeCidrCollection) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ChangeCidrCollectionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpChangeCidrCollectionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpChangeResourceRecordSets struct { } @@ -90,6 +110,26 @@ func (m *validateOpChangeTagsForResource) HandleInitialize(ctx context.Context, return next.HandleInitialize(ctx, in) } +type validateOpCreateCidrCollection struct { +} + +func (*validateOpCreateCidrCollection) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateCidrCollection) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateCidrCollectionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateCidrCollectionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateHealthCheck struct { } @@ -290,6 +330,26 @@ func (m *validateOpDeactivateKeySigningKey) HandleInitialize(ctx context.Context return next.HandleInitialize(ctx, in) } +type validateOpDeleteCidrCollection struct { +} + +func (*validateOpDeleteCidrCollection) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteCidrCollection) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteCidrCollectionInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteCidrCollectionInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDeleteHealthCheck struct { } @@ -770,6 +830,46 @@ func (m *validateOpGetTrafficPolicyInstance) HandleInitialize(ctx context.Contex return next.HandleInitialize(ctx, in) } +type validateOpListCidrBlocks struct { +} + +func (*validateOpListCidrBlocks) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListCidrBlocks) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListCidrBlocksInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListCidrBlocksInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpListCidrLocations struct { +} + +func (*validateOpListCidrLocations) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListCidrLocations) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListCidrLocationsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListCidrLocationsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpListHostedZonesByVPC struct { } @@ -1038,6 +1138,10 @@ func addOpAssociateVPCWithHostedZoneValidationMiddleware(stack *middleware.Stack return stack.Initialize.Add(&validateOpAssociateVPCWithHostedZone{}, middleware.After) } +func addOpChangeCidrCollectionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpChangeCidrCollection{}, middleware.After) +} + func addOpChangeResourceRecordSetsValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpChangeResourceRecordSets{}, middleware.After) } @@ -1046,6 +1150,10 @@ func addOpChangeTagsForResourceValidationMiddleware(stack *middleware.Stack) err return stack.Initialize.Add(&validateOpChangeTagsForResource{}, middleware.After) } +func addOpCreateCidrCollectionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateCidrCollection{}, middleware.After) +} + func addOpCreateHealthCheckValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateHealthCheck{}, middleware.After) } @@ -1086,6 +1194,10 @@ func addOpDeactivateKeySigningKeyValidationMiddleware(stack *middleware.Stack) e return stack.Initialize.Add(&validateOpDeactivateKeySigningKey{}, middleware.After) } +func addOpDeleteCidrCollectionValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteCidrCollection{}, middleware.After) +} + func addOpDeleteHealthCheckValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDeleteHealthCheck{}, middleware.After) } @@ -1182,6 +1294,14 @@ func addOpGetTrafficPolicyInstanceValidationMiddleware(stack *middleware.Stack) return stack.Initialize.Add(&validateOpGetTrafficPolicyInstance{}, middleware.After) } +func addOpListCidrBlocksValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListCidrBlocks{}, middleware.After) +} + +func addOpListCidrLocationsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListCidrLocations{}, middleware.After) +} + func addOpListHostedZonesByVPCValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpListHostedZonesByVPC{}, middleware.After) } @@ -1328,6 +1448,62 @@ func validateChanges(v []types.Change) error { } } +func validateCidrCollectionChange(v *types.CidrCollectionChange) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CidrCollectionChange"} + if v.LocationName == nil { + invalidParams.Add(smithy.NewErrParamRequired("LocationName")) + } + if len(v.Action) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("Action")) + } + if v.CidrList == nil { + invalidParams.Add(smithy.NewErrParamRequired("CidrList")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateCidrCollectionChanges(v []types.CidrCollectionChange) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CidrCollectionChanges"} + for i := range v { + if err := validateCidrCollectionChange(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateCidrRoutingConfig(v *types.CidrRoutingConfig) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CidrRoutingConfig"} + if v.CollectionId == nil { + invalidParams.Add(smithy.NewErrParamRequired("CollectionId")) + } + if v.LocationName == nil { + invalidParams.Add(smithy.NewErrParamRequired("LocationName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateHealthCheckConfig(v *types.HealthCheckConfig) error { if v == nil { return nil @@ -1401,6 +1577,11 @@ func validateResourceRecordSet(v *types.ResourceRecordSet) error { invalidParams.AddNested("AliasTarget", err.(smithy.InvalidParamsError)) } } + if v.CidrRoutingConfig != nil { + if err := validateCidrRoutingConfig(v.CidrRoutingConfig); err != nil { + invalidParams.AddNested("CidrRoutingConfig", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1444,6 +1625,28 @@ func validateOpAssociateVPCWithHostedZoneInput(v *AssociateVPCWithHostedZoneInpu } } +func validateOpChangeCidrCollectionInput(v *ChangeCidrCollectionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ChangeCidrCollectionInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if v.Changes == nil { + invalidParams.Add(smithy.NewErrParamRequired("Changes")) + } else if v.Changes != nil { + if err := validateCidrCollectionChanges(v.Changes); err != nil { + invalidParams.AddNested("Changes", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpChangeResourceRecordSetsInput(v *ChangeResourceRecordSetsInput) error { if v == nil { return nil @@ -1484,6 +1687,24 @@ func validateOpChangeTagsForResourceInput(v *ChangeTagsForResourceInput) error { } } +func validateOpCreateCidrCollectionInput(v *CreateCidrCollectionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateCidrCollectionInput"} + if v.Name == nil { + invalidParams.Add(smithy.NewErrParamRequired("Name")) + } + if v.CallerReference == nil { + invalidParams.Add(smithy.NewErrParamRequired("CallerReference")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateHealthCheckInput(v *CreateHealthCheckInput) error { if v == nil { return nil @@ -1683,6 +1904,21 @@ func validateOpDeactivateKeySigningKeyInput(v *DeactivateKeySigningKeyInput) err } } +func validateOpDeleteCidrCollectionInput(v *DeleteCidrCollectionInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteCidrCollectionInput"} + if v.Id == nil { + invalidParams.Add(smithy.NewErrParamRequired("Id")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDeleteHealthCheckInput(v *DeleteHealthCheckInput) error { if v == nil { return nil @@ -2064,6 +2300,36 @@ func validateOpGetTrafficPolicyInstanceInput(v *GetTrafficPolicyInstanceInput) e } } +func validateOpListCidrBlocksInput(v *ListCidrBlocksInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListCidrBlocksInput"} + if v.CollectionId == nil { + invalidParams.Add(smithy.NewErrParamRequired("CollectionId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpListCidrLocationsInput(v *ListCidrLocationsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListCidrLocationsInput"} + if v.CollectionId == nil { + invalidParams.Add(smithy.NewErrParamRequired("CollectionId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpListHostedZonesByVPCInput(v *ListHostedZonesByVPCInput) error { if v == nil { return nil diff --git a/service/route53domains/CHANGELOG.md b/service/route53domains/CHANGELOG.md index 33d3fdaba17..15d86d1b724 100644 --- a/service/route53domains/CHANGELOG.md +++ b/service/route53domains/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/route53domains/go.mod b/service/route53domains/go.mod index f07a16d7751..69825786e46 100644 --- a/service/route53domains/go.mod +++ b/service/route53domains/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/route53domains go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53domains/go.sum b/service/route53domains/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/route53domains/go.sum +++ b/service/route53domains/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/route53domains/go_module_metadata.go b/service/route53domains/go_module_metadata.go index 38b05d8f9a8..1102e6ee2ff 100644 --- a/service/route53domains/go_module_metadata.go +++ b/service/route53domains/go_module_metadata.go @@ -3,4 +3,4 @@ package route53domains // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/route53recoverycluster/CHANGELOG.md b/service/route53recoverycluster/CHANGELOG.md index 29110b8b1a7..4b5f3991b3f 100644 --- a/service/route53recoverycluster/CHANGELOG.md +++ b/service/route53recoverycluster/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/route53recoverycluster/go.mod b/service/route53recoverycluster/go.mod index 3bfc9a8df2b..d8a2057e085 100644 --- a/service/route53recoverycluster/go.mod +++ b/service/route53recoverycluster/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/route53recoverycluster go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53recoverycluster/go.sum b/service/route53recoverycluster/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/route53recoverycluster/go.sum +++ b/service/route53recoverycluster/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/route53recoverycluster/go_module_metadata.go b/service/route53recoverycluster/go_module_metadata.go index 648510229ba..bc0cb826f4b 100644 --- a/service/route53recoverycluster/go_module_metadata.go +++ b/service/route53recoverycluster/go_module_metadata.go @@ -3,4 +3,4 @@ package route53recoverycluster // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.2" +const goModuleVersion = "1.9.3" diff --git a/service/route53recoverycontrolconfig/CHANGELOG.md b/service/route53recoverycontrolconfig/CHANGELOG.md index a5b71afdb17..6383de3024d 100644 --- a/service/route53recoverycontrolconfig/CHANGELOG.md +++ b/service/route53recoverycontrolconfig/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.9.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/route53recoverycontrolconfig/go.mod b/service/route53recoverycontrolconfig/go.mod index fb4d8537dfd..b06632beee4 100644 --- a/service/route53recoverycontrolconfig/go.mod +++ b/service/route53recoverycontrolconfig/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/route53recoverycontrolconfig go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/route53recoverycontrolconfig/go.sum b/service/route53recoverycontrolconfig/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/route53recoverycontrolconfig/go.sum +++ b/service/route53recoverycontrolconfig/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/route53recoverycontrolconfig/go_module_metadata.go b/service/route53recoverycontrolconfig/go_module_metadata.go index e8c61c4fe59..e02445e7b51 100644 --- a/service/route53recoverycontrolconfig/go_module_metadata.go +++ b/service/route53recoverycontrolconfig/go_module_metadata.go @@ -3,4 +3,4 @@ package route53recoverycontrolconfig // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.5" +const goModuleVersion = "1.9.6" diff --git a/service/route53recoveryreadiness/CHANGELOG.md b/service/route53recoveryreadiness/CHANGELOG.md index aaef9008a6f..4069ae674e9 100644 --- a/service/route53recoveryreadiness/CHANGELOG.md +++ b/service/route53recoveryreadiness/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.8.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/route53recoveryreadiness/go.mod b/service/route53recoveryreadiness/go.mod index b8eb560f748..a6619cd06d8 100644 --- a/service/route53recoveryreadiness/go.mod +++ b/service/route53recoveryreadiness/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/route53recoveryreadiness go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53recoveryreadiness/go.sum b/service/route53recoveryreadiness/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/route53recoveryreadiness/go.sum +++ b/service/route53recoveryreadiness/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/route53recoveryreadiness/go_module_metadata.go b/service/route53recoveryreadiness/go_module_metadata.go index 57ed07911c5..1c6dd08e2eb 100644 --- a/service/route53recoveryreadiness/go_module_metadata.go +++ b/service/route53recoveryreadiness/go_module_metadata.go @@ -3,4 +3,4 @@ package route53recoveryreadiness // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.5" +const goModuleVersion = "1.8.6" diff --git a/service/route53resolver/CHANGELOG.md b/service/route53resolver/CHANGELOG.md index 779cb95b00e..f3d829b40ea 100644 --- a/service/route53resolver/CHANGELOG.md +++ b/service/route53resolver/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/route53resolver/go.mod b/service/route53resolver/go.mod index 7f3aa946355..83fc82702eb 100644 --- a/service/route53resolver/go.mod +++ b/service/route53resolver/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/route53resolver go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53resolver/go.sum b/service/route53resolver/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/route53resolver/go.sum +++ b/service/route53resolver/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/route53resolver/go_module_metadata.go b/service/route53resolver/go_module_metadata.go index 1d9c560555a..db6719c5829 100644 --- a/service/route53resolver/go_module_metadata.go +++ b/service/route53resolver/go_module_metadata.go @@ -3,4 +3,4 @@ package route53resolver // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.6" +const goModuleVersion = "1.15.7" diff --git a/service/rum/CHANGELOG.md b/service/rum/CHANGELOG.md index d02a8a8c90c..014ee25ac3e 100644 --- a/service/rum/CHANGELOG.md +++ b/service/rum/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.6.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/rum/go.mod b/service/rum/go.mod index 5985660bc8d..95e19743330 100644 --- a/service/rum/go.mod +++ b/service/rum/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/rum go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/rum/go.sum b/service/rum/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/rum/go.sum +++ b/service/rum/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/rum/go_module_metadata.go b/service/rum/go_module_metadata.go index 4ae73abc6cd..6ecd2c4d4ad 100644 --- a/service/rum/go_module_metadata.go +++ b/service/rum/go_module_metadata.go @@ -3,4 +3,4 @@ package rum // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.5" +const goModuleVersion = "1.6.6" diff --git a/service/s3/CHANGELOG.md b/service/s3/CHANGELOG.md index 0967bdbe8d0..7366b555c59 100644 --- a/service/s3/CHANGELOG.md +++ b/service/s3/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.11 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.26.10 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/s3/go.mod b/service/s3/go.mod index 21c6f9a52ba..b1355ac5770 100644 --- a/service/s3/go.mod +++ b/service/s3/go.mod @@ -3,17 +3,17 @@ module github.com/aws/aws-sdk-go-v2/service/s3 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.2 - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.1 - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.6 - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.5 - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.5 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.3 + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.2 + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.7 + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.6 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/s3/go.sum b/service/s3/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/s3/go.sum +++ b/service/s3/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/s3/go_module_metadata.go b/service/s3/go_module_metadata.go index 97547277fa6..c31f2634f9a 100644 --- a/service/s3/go_module_metadata.go +++ b/service/s3/go_module_metadata.go @@ -3,4 +3,4 @@ package s3 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.10" +const goModuleVersion = "1.26.11" diff --git a/service/s3/internal/configtesting/go.mod b/service/s3/internal/configtesting/go.mod index 99783df14c5..79b0218a9f7 100644 --- a/service/s3/internal/configtesting/go.mod +++ b/service/s3/internal/configtesting/go.mod @@ -3,8 +3,8 @@ module github.com/aws/aws-sdk-go-v2/service/s3/internal/configtesting go 1.15 require ( - github.com/aws/aws-sdk-go-v2/config v1.15.7 - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.5 + github.com/aws/aws-sdk-go-v2/config v1.15.10 + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.6 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/service/s3/internal/configtesting/go.sum b/service/s3/internal/configtesting/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/s3/internal/configtesting/go.sum +++ b/service/s3/internal/configtesting/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/s3control/CHANGELOG.md b/service/s3control/CHANGELOG.md index 34f132e36ec..9b7e9289a5a 100644 --- a/service/s3control/CHANGELOG.md +++ b/service/s3control/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.21.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/s3control/go.mod b/service/s3control/go.mod index 2db6292af5b..665a4c8c656 100644 --- a/service/s3control/go.mod +++ b/service/s3control/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/s3control go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/s3control/go.sum b/service/s3control/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/s3control/go.sum +++ b/service/s3control/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/s3control/go_module_metadata.go b/service/s3control/go_module_metadata.go index 428738046dc..17d78a1d8aa 100644 --- a/service/s3control/go_module_metadata.go +++ b/service/s3control/go_module_metadata.go @@ -3,4 +3,4 @@ package s3control // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.6" +const goModuleVersion = "1.21.7" diff --git a/service/s3outposts/CHANGELOG.md b/service/s3outposts/CHANGELOG.md index ded55fe6b64..3580c735b61 100644 --- a/service/s3outposts/CHANGELOG.md +++ b/service/s3outposts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/s3outposts/go.mod b/service/s3outposts/go.mod index 68d4eba4030..096b58bcb6f 100644 --- a/service/s3outposts/go.mod +++ b/service/s3outposts/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/s3outposts go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/s3outposts/go.sum b/service/s3outposts/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/s3outposts/go.sum +++ b/service/s3outposts/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/s3outposts/go_module_metadata.go b/service/s3outposts/go_module_metadata.go index 55fd1c2e598..6f85b982fc2 100644 --- a/service/s3outposts/go_module_metadata.go +++ b/service/s3outposts/go_module_metadata.go @@ -3,4 +3,4 @@ package s3outposts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/sagemaker/CHANGELOG.md b/service/sagemaker/CHANGELOG.md index bb3a149fcfe..cf4565b1dd2 100644 --- a/service/sagemaker/CHANGELOG.md +++ b/service/sagemaker/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.32.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.32.0 (2022-05-27) + +* **Feature**: Amazon SageMaker Notebook Instances now allows configuration of Instance Metadata Service version and Amazon SageMaker Studio now supports G5 instance types. + +# v1.31.0 (2022-05-25) + +* **Feature**: Amazon SageMaker Autopilot adds support for manually selecting features from the input dataset using the CreateAutoMLJob API. + # v1.30.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sagemaker/api_op_CreateAutoMLJob.go b/service/sagemaker/api_op_CreateAutoMLJob.go index bdbd1465f90..4eea37d90ad 100644 --- a/service/sagemaker/api_op_CreateAutoMLJob.go +++ b/service/sagemaker/api_op_CreateAutoMLJob.go @@ -40,7 +40,9 @@ type CreateAutoMLJobInput struct { // An array of channel objects that describes the input data and its location. Each // channel is a named input source. Similar to InputDataConfig supported by . - // Format(s) supported: CSV. Minimum of 500 rows. + // Format(s) supported: CSV, Parquet. A minimum of 500 rows is required for the + // training dataset. There is not a minimum number of rows required for the + // validation dataset. // // This member is required. InputDataConfig []types.AutoMLChannel @@ -56,7 +58,7 @@ type CreateAutoMLJobInput struct { // This member is required. RoleArn *string - // Contains CompletionCriteria and SecurityConfig settings for the AutoML job. + // A collection of settings used to configure an AutoML job. AutoMLJobConfig *types.AutoMLJobConfig // Defines the objective metric used to measure the predictive quality of an AutoML @@ -72,10 +74,8 @@ type CreateAutoMLJobInput struct { // model deployment. ModelDeployConfig *types.ModelDeployConfig - // Defines the type of supervised learning available for the candidates. Options - // include: BinaryClassification, MulticlassClassification, and Regression. For - // more information, see Amazon SageMaker Autopilot problem types and algorithm - // support + // Defines the type of supervised learning available for the candidates. For more + // information, see Amazon SageMaker Autopilot problem types and algorithm support // (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-problem-types.html). ProblemType types.ProblemType diff --git a/service/sagemaker/api_op_CreateEndpointConfig.go b/service/sagemaker/api_op_CreateEndpointConfig.go index 9c5fcd603d8..c29229b8b32 100644 --- a/service/sagemaker/api_op_CreateEndpointConfig.go +++ b/service/sagemaker/api_op_CreateEndpointConfig.go @@ -69,7 +69,7 @@ type CreateEndpointConfigInput struct { // (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpointAsync.html). AsyncInferenceConfig *types.AsyncInferenceConfig - // + // Configuration to control how SageMaker captures inference data. DataCaptureConfig *types.DataCaptureConfig // The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service diff --git a/service/sagemaker/api_op_CreateModelPackage.go b/service/sagemaker/api_op_CreateModelPackage.go index 268275fd804..3b088c35ab9 100644 --- a/service/sagemaker/api_op_CreateModelPackage.go +++ b/service/sagemaker/api_op_CreateModelPackage.go @@ -126,7 +126,11 @@ type CreateModelPackageInput struct { Tags []types.Tag // The machine learning task your model package accomplishes. Common machine - // learning tasks include object detection and image classification. + // learning tasks include object detection and image classification. The following + // tasks are supported by Inference Recommender: "IMAGE_CLASSIFICATION" | + // "OBJECT_DETECTION" | "TEXT_GENERATION" |"IMAGE_SEGMENTATION" | "FILL_MASK" | + // "CLASSIFICATION" | "REGRESSION" | "OTHER". Specify "OTHER" if none of the tasks + // listed fit your use case. Task *string // Specifies configurations for one or more transform jobs that SageMaker runs to diff --git a/service/sagemaker/api_op_CreateNotebookInstance.go b/service/sagemaker/api_op_CreateNotebookInstance.go index 14b41720be3..b844b2b85ec 100644 --- a/service/sagemaker/api_op_CreateNotebookInstance.go +++ b/service/sagemaker/api_op_CreateNotebookInstance.go @@ -121,6 +121,9 @@ type CreateNotebookInstanceInput struct { // the SubnetId parameter. DirectInternetAccess types.DirectInternetAccess + // Information on the IMDS configuration of the notebook instance + InstanceMetadataServiceConfiguration *types.InstanceMetadataServiceConfiguration + // The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service // key that SageMaker uses to encrypt data on the storage volume attached to your // notebook instance. The KMS key you provide must be enabled. For information, see diff --git a/service/sagemaker/api_op_CreateTransformJob.go b/service/sagemaker/api_op_CreateTransformJob.go index 63578254d56..fd925c6bed5 100644 --- a/service/sagemaker/api_op_CreateTransformJob.go +++ b/service/sagemaker/api_op_CreateTransformJob.go @@ -24,20 +24,22 @@ import ( // * ModelName - Identifies the model to use. ModelName must be the name // of an existing Amazon SageMaker model in the same Amazon Web Services Region and // Amazon Web Services account. For information on creating a model, see -// CreateModel. +// CreateModel +// (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html). // -// * TransformInput - Describes the dataset to be transformed and the -// Amazon S3 location where it is stored. +// * +// TransformInput - Describes the dataset to be transformed and the Amazon S3 +// location where it is stored. // -// * TransformOutput - Identifies the -// Amazon S3 location where you want Amazon SageMaker to save the results from the -// transform job. +// * TransformOutput - Identifies the Amazon S3 +// location where you want Amazon SageMaker to save the results from the transform +// job. // -// * TransformResources - Identifies the ML compute instances for -// the transform job. +// * TransformResources - Identifies the ML compute instances for the +// transform job. // -// For more information about how batch transformation works, -// see Batch Transform +// For more information about how batch transformation works, see +// Batch Transform // (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html). func (c *Client) CreateTransformJob(ctx context.Context, params *CreateTransformJobInput, optFns ...func(*Options)) (*CreateTransformJobOutput, error) { if params == nil { diff --git a/service/sagemaker/api_op_DescribeEndpoint.go b/service/sagemaker/api_op_DescribeEndpoint.go index c7cf4130841..69527f812af 100644 --- a/service/sagemaker/api_op_DescribeEndpoint.go +++ b/service/sagemaker/api_op_DescribeEndpoint.go @@ -114,7 +114,7 @@ type DescribeEndpointOutput struct { // API. AsyncInferenceConfig *types.AsyncInferenceConfig - // + // The currently active data capture configuration used by your Endpoint. DataCaptureConfig *types.DataCaptureConfigSummary // If the status of the endpoint is Failed, the reason why it failed. diff --git a/service/sagemaker/api_op_DescribeEndpointConfig.go b/service/sagemaker/api_op_DescribeEndpointConfig.go index 741f39e177f..79cdb7b1ba8 100644 --- a/service/sagemaker/api_op_DescribeEndpointConfig.go +++ b/service/sagemaker/api_op_DescribeEndpointConfig.go @@ -68,7 +68,7 @@ type DescribeEndpointConfigOutput struct { // API. AsyncInferenceConfig *types.AsyncInferenceConfig - // + // Configuration to control how SageMaker captures inference data. DataCaptureConfig *types.DataCaptureConfig // Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when diff --git a/service/sagemaker/api_op_DescribeNotebookInstance.go b/service/sagemaker/api_op_DescribeNotebookInstance.go index a80ea030ac9..5e5718c2022 100644 --- a/service/sagemaker/api_op_DescribeNotebookInstance.go +++ b/service/sagemaker/api_op_DescribeNotebookInstance.go @@ -87,6 +87,9 @@ type DescribeNotebookInstanceOutput struct { // If status is Failed, the reason it failed. FailureReason *string + // Information on the IMDS configuration of the notebook instance + InstanceMetadataServiceConfiguration *types.InstanceMetadataServiceConfiguration + // The type of ML compute instance running on the notebook instance. InstanceType types.InstanceType diff --git a/service/sagemaker/api_op_UpdateNotebookInstance.go b/service/sagemaker/api_op_UpdateNotebookInstance.go index 6c94a2e5fbf..e17f2349457 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstance.go +++ b/service/sagemaker/api_op_UpdateNotebookInstance.go @@ -88,6 +88,9 @@ type UpdateNotebookInstanceInput struct { // instance when you call this method, it does not throw an error. DisassociateLifecycleConfig bool + // Information on the IMDS configuration of the notebook instance + InstanceMetadataServiceConfiguration *types.InstanceMetadataServiceConfiguration + // The Amazon ML compute instance type. InstanceType types.InstanceType diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index 9aeb001aa9f..9dfdf99db6a 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -29158,6 +29158,46 @@ func awsAwsjson11_deserializeDocumentAutoMLCandidate(v **types.AutoMLCandidate, return nil } +func awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(v **types.AutoMLCandidateGenerationConfig, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AutoMLCandidateGenerationConfig + if *v == nil { + sv = &types.AutoMLCandidateGenerationConfig{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "FeatureSpecificationS3Uri": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected S3Uri to be of type string, got %T instead", value) + } + sv.FeatureSpecificationS3Uri = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentAutoMLCandidates(v *[]types.AutoMLCandidate, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -29686,6 +29726,11 @@ func awsAwsjson11_deserializeDocumentAutoMLJobConfig(v **types.AutoMLJobConfig, for key, value := range shape { switch key { + case "CandidateGenerationConfig": + if err := awsAwsjson11_deserializeDocumentAutoMLCandidateGenerationConfig(&sv.CandidateGenerationConfig, value); err != nil { + return err + } + case "CompletionCriteria": if err := awsAwsjson11_deserializeDocumentAutoMLJobCompletionCriteria(&sv.CompletionCriteria, value); err != nil { return err @@ -39990,6 +40035,46 @@ func awsAwsjson11_deserializeDocumentInputModes(v *[]types.TrainingInputMode, va return nil } +func awsAwsjson11_deserializeDocumentInstanceMetadataServiceConfiguration(v **types.InstanceMetadataServiceConfiguration, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InstanceMetadataServiceConfiguration + if *v == nil { + sv = &types.InstanceMetadataServiceConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "MinimumInstanceMetadataServiceVersion": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected MinimumInstanceMetadataServiceVersion to be of type string, got %T instead", value) + } + sv.MinimumInstanceMetadataServiceVersion = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentIntegerParameterRange(v **types.IntegerParameterRange, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -65103,6 +65188,11 @@ func awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(v **Descri sv.FailureReason = ptr.String(jtv) } + case "InstanceMetadataServiceConfiguration": + if err := awsAwsjson11_deserializeDocumentInstanceMetadataServiceConfiguration(&sv.InstanceMetadataServiceConfiguration, value); err != nil { + return err + } + case "InstanceType": if value != nil { jtv, ok := value.(string) diff --git a/service/sagemaker/go.mod b/service/sagemaker/go.mod index df5ded412ad..dfbb7486aa8 100644 --- a/service/sagemaker/go.mod +++ b/service/sagemaker/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sagemaker go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/sagemaker/go.sum b/service/sagemaker/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/sagemaker/go.sum +++ b/service/sagemaker/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/sagemaker/go_module_metadata.go b/service/sagemaker/go_module_metadata.go index 97df8987b24..2e920523cc4 100644 --- a/service/sagemaker/go_module_metadata.go +++ b/service/sagemaker/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemaker // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.1" +const goModuleVersion = "1.32.1" diff --git a/service/sagemaker/serializers.go b/service/sagemaker/serializers.go index fcf641a4a3f..131b57bd4c0 100644 --- a/service/sagemaker/serializers.go +++ b/service/sagemaker/serializers.go @@ -14255,6 +14255,18 @@ func awsAwsjson11_serializeDocumentAttributeNames(v []string, value smithyjson.V return nil } +func awsAwsjson11_serializeDocumentAutoMLCandidateGenerationConfig(v *types.AutoMLCandidateGenerationConfig, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.FeatureSpecificationS3Uri != nil { + ok := object.Key("FeatureSpecificationS3Uri") + ok.String(*v.FeatureSpecificationS3Uri) + } + + return nil +} + func awsAwsjson11_serializeDocumentAutoMLChannel(v *types.AutoMLChannel, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -14367,6 +14379,13 @@ func awsAwsjson11_serializeDocumentAutoMLJobConfig(v *types.AutoMLJobConfig, val object := value.Object() defer object.Close() + if v.CandidateGenerationConfig != nil { + ok := object.Key("CandidateGenerationConfig") + if err := awsAwsjson11_serializeDocumentAutoMLCandidateGenerationConfig(v.CandidateGenerationConfig, ok); err != nil { + return err + } + } + if v.CompletionCriteria != nil { ok := object.Key("CompletionCriteria") if err := awsAwsjson11_serializeDocumentAutoMLJobCompletionCriteria(v.CompletionCriteria, ok); err != nil { @@ -16796,6 +16815,18 @@ func awsAwsjson11_serializeDocumentInputModes(v []types.TrainingInputMode, value return nil } +func awsAwsjson11_serializeDocumentInstanceMetadataServiceConfiguration(v *types.InstanceMetadataServiceConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MinimumInstanceMetadataServiceVersion != nil { + ok := object.Key("MinimumInstanceMetadataServiceVersion") + ok.String(*v.MinimumInstanceMetadataServiceVersion) + } + + return nil +} + func awsAwsjson11_serializeDocumentIntegerParameterRange(v *types.IntegerParameterRange, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -22493,6 +22524,13 @@ func awsAwsjson11_serializeOpDocumentCreateNotebookInstanceInput(v *CreateNotebo ok.String(string(v.DirectInternetAccess)) } + if v.InstanceMetadataServiceConfiguration != nil { + ok := object.Key("InstanceMetadataServiceConfiguration") + if err := awsAwsjson11_serializeDocumentInstanceMetadataServiceConfiguration(v.InstanceMetadataServiceConfiguration, ok); err != nil { + return err + } + } + if len(v.InstanceType) > 0 { ok := object.Key("InstanceType") ok.String(string(v.InstanceType)) @@ -28053,6 +28091,13 @@ func awsAwsjson11_serializeOpDocumentUpdateNotebookInstanceInput(v *UpdateNotebo ok.Boolean(v.DisassociateLifecycleConfig) } + if v.InstanceMetadataServiceConfiguration != nil { + ok := object.Key("InstanceMetadataServiceConfiguration") + if err := awsAwsjson11_serializeDocumentInstanceMetadataServiceConfiguration(v.InstanceMetadataServiceConfiguration, ok); err != nil { + return err + } + } + if len(v.InstanceType) > 0 { ok := object.Key("InstanceType") ok.String(string(v.InstanceType)) diff --git a/service/sagemaker/types/enums.go b/service/sagemaker/types/enums.go index 504eaf0cf2d..ab0c64526ff 100644 --- a/service/sagemaker/types/enums.go +++ b/service/sagemaker/types/enums.go @@ -143,6 +143,14 @@ const ( AppInstanceTypeMlR512xlarge AppInstanceType = "ml.r5.12xlarge" AppInstanceTypeMlR516xlarge AppInstanceType = "ml.r5.16xlarge" AppInstanceTypeMlR524xlarge AppInstanceType = "ml.r5.24xlarge" + AppInstanceTypeMlG5Xlarge AppInstanceType = "ml.g5.xlarge" + AppInstanceTypeMlG52xlarge AppInstanceType = "ml.g5.2xlarge" + AppInstanceTypeMlG54xlarge AppInstanceType = "ml.g5.4xlarge" + AppInstanceTypeMlG58xlarge AppInstanceType = "ml.g5.8xlarge" + AppInstanceTypeMlG516xlarge AppInstanceType = "ml.g5.16xlarge" + AppInstanceTypeMlG512xlarge AppInstanceType = "ml.g5.12xlarge" + AppInstanceTypeMlG524xlarge AppInstanceType = "ml.g5.24xlarge" + AppInstanceTypeMlG548xlarge AppInstanceType = "ml.g5.48xlarge" ) // Values returns all known values for AppInstanceType. Note that this can be @@ -199,6 +207,14 @@ func (AppInstanceType) Values() []AppInstanceType { "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", + "ml.g5.xlarge", + "ml.g5.2xlarge", + "ml.g5.4xlarge", + "ml.g5.8xlarge", + "ml.g5.16xlarge", + "ml.g5.12xlarge", + "ml.g5.24xlarge", + "ml.g5.48xlarge", } } diff --git a/service/sagemaker/types/types.go b/service/sagemaker/types/types.go index 3eb70ec9093..aa32ab1f5c4 100644 --- a/service/sagemaker/types/types.go +++ b/service/sagemaker/types/types.go @@ -151,8 +151,13 @@ type AlgorithmSpecification struct { // The name of the algorithm resource to use for the training job. This must be an // algorithm resource that you created or subscribe to on Amazon Web Services - // Marketplace. If you specify a value for this parameter, you can't specify a - // value for TrainingImage. + // Marketplace. You must specify either the algorithm name to the AlgorithmName + // parameter or the image URI of the algorithm container to the TrainingImage + // parameter. Note that the AlgorithmName parameter is mutually exclusive with the + // TrainingImage parameter. If you specify a value for the AlgorithmName parameter, + // you can't specify a value for TrainingImage, and vice versa. If you specify + // values for both parameters, the training job might break; if you don't specify + // any value for both parameters, the training job might raise a null error. AlgorithmName *string // To generate and save time-series metrics during training, set to true. The @@ -182,13 +187,17 @@ type AlgorithmSpecification struct { MetricDefinitions []MetricDefinition // The registry path of the Docker image that contains the training algorithm. For - // information about docker registry paths for built-in algorithms, see Algorithms - // Provided by Amazon SageMaker: Common Parameters - // (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html). - // SageMaker supports both registry/repository[:tag] and - // registry/repository[@digest] image path formats. For more information, see Using - // Your Own Algorithms with Amazon SageMaker - // (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). + // information about docker registry paths for SageMaker built-in algorithms, see + // Docker Registry Paths and Example Code + // (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html) + // in the Amazon SageMaker developer guide. SageMaker supports both + // registry/repository[:tag] and registry/repository[@digest] image path formats. + // For more information about using your custom training container, see Using Your + // Own Algorithms with Amazon SageMaker + // (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). You must + // specify either the algorithm name to the AlgorithmName parameter or the image + // URI of the algorithm container to the TrainingImage parameter. For more + // information, see the note in the AlgorithmName parameter description. TrainingImage *string noSmithyDocumentSerde @@ -1532,6 +1541,21 @@ type AutoMLCandidate struct { noSmithyDocumentSerde } +// Stores the config information for how a candidate is generated (optional). +type AutoMLCandidateGenerationConfig struct { + + // A URL to the Amazon S3 data source containing selected features from the input + // data source to run an Autopilot job (optional). This file should be in json + // format as shown below: { "FeatureAttributeNames":["col1", "col2", ...] }. The + // key name FeatureAttributeNames is fixed. The values listed in ["col1", "col2", + // ...] is case sensitive and should be a list of strings containing unique values + // that are a subset of the column names in the input data. The list of columns + // provided must not include the target column. + FeatureSpecificationS3Uri *string + + noSmithyDocumentSerde +} + // Information about the steps for a candidate and what step it is working on. type AutoMLCandidateStep struct { @@ -1572,7 +1596,9 @@ type AutoMLChannel struct { // The channel type (optional) is an enum string. The default value is training. // Channels for training and validation must share the same ContentType and - // TargetAttributeName. + // TargetAttributeName. For information on specifying training and validation + // channel types, see How to specify training and validation datasets + // (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-data-sources-training-or-validation). ChannelType AutoMLChannelType // You can use Gzip or None. The default value is None. @@ -1626,7 +1652,8 @@ type AutoMLDataSplitConfig struct { // The validation fraction (optional) is a float that specifies the portion of the // training dataset to be used for validation. The default value is 0.2, and values - // can range from 0 to 1. We recommend setting this value to be less than 0.5. + // must be greater than 0 and less than 1. We recommend setting this value to be + // less than 0.5. ValidationFraction *float32 noSmithyDocumentSerde @@ -1670,6 +1697,9 @@ type AutoMLJobCompletionCriteria struct { // A collection of settings used for an AutoML job. type AutoMLJobConfig struct { + // The configuration for generating a candidate for an AutoML job (optional). + CandidateGenerationConfig *AutoMLCandidateGenerationConfig + // How long an AutoML job is allowed to run, or how many candidates a job is // allowed to generate. CompletionCriteria *AutoMLJobCompletionCriteria @@ -2046,22 +2076,25 @@ type CapacitySize struct { noSmithyDocumentSerde } -// +// Configuration specifying how to treat different headers. If no headers are +// specified SageMaker will by default base64 encode when capturing the data. type CaptureContentTypeHeader struct { - // + // The list of all content type headers that SageMaker will treat as CSV and + // capture accordingly. CsvContentTypes []string - // + // The list of all content type headers that SageMaker will treat as JSON and + // capture accordingly. JsonContentTypes []string noSmithyDocumentSerde } -// +// Specifies data Model Monitor will capture. type CaptureOption struct { - // + // Specify the boundary of data to capture. // // This member is required. CaptureMode CaptureMode @@ -2605,60 +2638,77 @@ type CustomImage struct { noSmithyDocumentSerde } -// +// Configuration to control how SageMaker captures inference data. type DataCaptureConfig struct { - // + // Specifies data Model Monitor will capture. You can configure whether to collect + // only input, only output, or both // // This member is required. CaptureOptions []CaptureOption - // + // The Amazon S3 location used to capture the data. // // This member is required. DestinationS3Uri *string - // + // The percentage of requests SageMaker will capture. A lower value is recommended + // for Endpoints with high traffic. // // This member is required. InitialSamplingPercentage *int32 - // + // Configuration specifying how to treat different headers. If no headers are + // specified SageMaker will by default base64 encode when capturing the data. CaptureContentTypeHeader *CaptureContentTypeHeader - // + // Whether data capture should be enabled or disabled (defaults to enabled). EnableCapture bool + // The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service + // key that SageMaker uses to encrypt data on the storage volume attached to the ML + // compute instance that hosts the endpoint. The KmsKeyId can be any of the + // following formats: // + // * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab + // + // * Key ARN: + // arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + // + // * + // Alias name: alias/ExampleAlias + // + // * Alias name ARN: + // arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias KmsKeyId *string noSmithyDocumentSerde } -// +// The currently active data capture configuration used by your Endpoint. type DataCaptureConfigSummary struct { - // + // Whether data capture is currently functional. // // This member is required. CaptureStatus CaptureStatus - // + // The percentage of requests being captured by your Endpoint. // // This member is required. CurrentSamplingPercentage *int32 - // + // The Amazon S3 location being used to capture the data. // // This member is required. DestinationS3Uri *string - // + // Whether data capture is enabled or disabled. // // This member is required. EnableCapture bool - // + // The KMS key being used to encrypt the data in Amazon S3. // // This member is required. KmsKeyId *string @@ -3458,7 +3508,7 @@ type Endpoint struct { // This member is required. LastModifiedTime *time.Time - // + // The currently active data capture configuration used by your Endpoint. DataCaptureConfig *DataCaptureConfigSummary // If the endpoint failed, the reason it failed. @@ -6432,6 +6482,20 @@ type InputConfig struct { noSmithyDocumentSerde } +// Information on the IMDS configuration of the notebook instance +type InstanceMetadataServiceConfiguration struct { + + // Indicates the minimum IMDS version that the notebook instance supports. When + // passed as part of CreateNotebookInstance, if no value is selected, then it + // defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If + // passed as part of UpdateNotebookInstance, there is no default. + // + // This member is required. + MinimumInstanceMetadataServiceVersion *string + + noSmithyDocumentSerde +} + // For a hyperparameter of the integer type, specifies the range that a // hyperparameter tuning job searches. type IntegerParameterRange struct { @@ -6995,7 +7059,9 @@ type MetricDatum struct { // The dataset split from which the AutoML job produced the metric. Set MetricSetSource - // The name of the standard metric. + // The name of the standard metric. For definitions of the standard metrics, see + // Autopilot candidate metrics + // (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-model-support-validation.html#autopilot-metrics). StandardMetricName AutoMLMetricExtendedEnum // The value of the metric. @@ -12429,9 +12495,10 @@ type TransformOutput struct { // role's account. For more information, see KMS-Managed Encryption Keys // (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) in the // Amazon Simple Storage Service Developer Guide. The KMS key policy must grant - // permission to the IAM role that you specify in your CreateModel request. For - // more information, see Using Key Policies in Amazon Web Services KMS - // (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) in the + // permission to the IAM role that you specify in your CreateModel + // (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html) + // request. For more information, see Using Key Policies in Amazon Web Services KMS + // (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) in the // Amazon Web Services Key Management Service Developer Guide. KmsKeyId *string diff --git a/service/sagemaker/validators.go b/service/sagemaker/validators.go index 6a59b06daa5..f5b0a32c78b 100644 --- a/service/sagemaker/validators.go +++ b/service/sagemaker/validators.go @@ -6723,6 +6723,21 @@ func validateInputDataConfig(v []types.Channel) error { } } +func validateInstanceMetadataServiceConfiguration(v *types.InstanceMetadataServiceConfiguration) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "InstanceMetadataServiceConfiguration"} + if v.MinimumInstanceMetadataServiceVersion == nil { + invalidParams.Add(smithy.NewErrParamRequired("MinimumInstanceMetadataServiceVersion")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateIntegerParameterRange(v *types.IntegerParameterRange) error { if v == nil { return nil @@ -10395,6 +10410,11 @@ func validateOpCreateNotebookInstanceInput(v *CreateNotebookInstanceInput) error invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) } } + if v.InstanceMetadataServiceConfiguration != nil { + if err := validateInstanceMetadataServiceConfiguration(v.InstanceMetadataServiceConfiguration); err != nil { + invalidParams.AddNested("InstanceMetadataServiceConfiguration", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -13132,6 +13152,11 @@ func validateOpUpdateNotebookInstanceInput(v *UpdateNotebookInstanceInput) error if v.NotebookInstanceName == nil { invalidParams.Add(smithy.NewErrParamRequired("NotebookInstanceName")) } + if v.InstanceMetadataServiceConfiguration != nil { + if err := validateInstanceMetadataServiceConfiguration(v.InstanceMetadataServiceConfiguration); err != nil { + invalidParams.AddNested("InstanceMetadataServiceConfiguration", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/sagemakera2iruntime/CHANGELOG.md b/service/sagemakera2iruntime/CHANGELOG.md index c6820578a4f..334e798957e 100644 --- a/service/sagemakera2iruntime/CHANGELOG.md +++ b/service/sagemakera2iruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sagemakera2iruntime/go.mod b/service/sagemakera2iruntime/go.mod index add5b3e3d71..97a341be158 100644 --- a/service/sagemakera2iruntime/go.mod +++ b/service/sagemakera2iruntime/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sagemakera2iruntime go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakera2iruntime/go.sum b/service/sagemakera2iruntime/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sagemakera2iruntime/go.sum +++ b/service/sagemakera2iruntime/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sagemakera2iruntime/go_module_metadata.go b/service/sagemakera2iruntime/go_module_metadata.go index 3fa20081347..7ec422e0ea6 100644 --- a/service/sagemakera2iruntime/go_module_metadata.go +++ b/service/sagemakera2iruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakera2iruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.6" diff --git a/service/sagemakeredge/CHANGELOG.md b/service/sagemakeredge/CHANGELOG.md index 90f30d824d3..5a749b3f491 100644 --- a/service/sagemakeredge/CHANGELOG.md +++ b/service/sagemakeredge/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sagemakeredge/go.mod b/service/sagemakeredge/go.mod index 528427dc6a8..fa0e315f812 100644 --- a/service/sagemakeredge/go.mod +++ b/service/sagemakeredge/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sagemakeredge go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakeredge/go.sum b/service/sagemakeredge/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sagemakeredge/go.sum +++ b/service/sagemakeredge/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sagemakeredge/go_module_metadata.go b/service/sagemakeredge/go_module_metadata.go index 994efbe78c6..51e3910156f 100644 --- a/service/sagemakeredge/go_module_metadata.go +++ b/service/sagemakeredge/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakeredge // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/sagemakerfeaturestoreruntime/CHANGELOG.md b/service/sagemakerfeaturestoreruntime/CHANGELOG.md index f9621aaf101..7b2812713b9 100644 --- a/service/sagemakerfeaturestoreruntime/CHANGELOG.md +++ b/service/sagemakerfeaturestoreruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sagemakerfeaturestoreruntime/go.mod b/service/sagemakerfeaturestoreruntime/go.mod index bf4df42b813..0dbfadcda85 100644 --- a/service/sagemakerfeaturestoreruntime/go.mod +++ b/service/sagemakerfeaturestoreruntime/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sagemakerfeaturestoreruntime go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakerfeaturestoreruntime/go.sum b/service/sagemakerfeaturestoreruntime/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sagemakerfeaturestoreruntime/go.sum +++ b/service/sagemakerfeaturestoreruntime/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sagemakerfeaturestoreruntime/go_module_metadata.go b/service/sagemakerfeaturestoreruntime/go_module_metadata.go index 8a1875c0990..eaa368f9fae 100644 --- a/service/sagemakerfeaturestoreruntime/go_module_metadata.go +++ b/service/sagemakerfeaturestoreruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakerfeaturestoreruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/sagemakerruntime/CHANGELOG.md b/service/sagemakerruntime/CHANGELOG.md index ebdc551753d..62e4bc7577c 100644 --- a/service/sagemakerruntime/CHANGELOG.md +++ b/service/sagemakerruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sagemakerruntime/go.mod b/service/sagemakerruntime/go.mod index a4147002776..ec615589ee1 100644 --- a/service/sagemakerruntime/go.mod +++ b/service/sagemakerruntime/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sagemakerruntime go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakerruntime/go.sum b/service/sagemakerruntime/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sagemakerruntime/go.sum +++ b/service/sagemakerruntime/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sagemakerruntime/go_module_metadata.go b/service/sagemakerruntime/go_module_metadata.go index c1594eddd10..a9f21bb5f42 100644 --- a/service/sagemakerruntime/go_module_metadata.go +++ b/service/sagemakerruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakerruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/savingsplans/CHANGELOG.md b/service/savingsplans/CHANGELOG.md index 5ebafdb3b4b..49dd8975e6a 100644 --- a/service/savingsplans/CHANGELOG.md +++ b/service/savingsplans/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/savingsplans/go.mod b/service/savingsplans/go.mod index 6b8a2f6e5ac..066a328db38 100644 --- a/service/savingsplans/go.mod +++ b/service/savingsplans/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/savingsplans go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/savingsplans/go.sum b/service/savingsplans/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/savingsplans/go.sum +++ b/service/savingsplans/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/savingsplans/go_module_metadata.go b/service/savingsplans/go_module_metadata.go index bde7f3e5e89..436fb43432e 100644 --- a/service/savingsplans/go_module_metadata.go +++ b/service/savingsplans/go_module_metadata.go @@ -3,4 +3,4 @@ package savingsplans // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/schemas/CHANGELOG.md b/service/schemas/CHANGELOG.md index 23c46792358..299a0575e14 100644 --- a/service/schemas/CHANGELOG.md +++ b/service/schemas/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/schemas/go.mod b/service/schemas/go.mod index fdb5372b8cd..53270e83a34 100644 --- a/service/schemas/go.mod +++ b/service/schemas/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/schemas go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/schemas/go.sum b/service/schemas/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/schemas/go.sum +++ b/service/schemas/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/schemas/go_module_metadata.go b/service/schemas/go_module_metadata.go index 84264dc18ba..0cba4293e95 100644 --- a/service/schemas/go_module_metadata.go +++ b/service/schemas/go_module_metadata.go @@ -3,4 +3,4 @@ package schemas // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/secretsmanager/CHANGELOG.md b/service/secretsmanager/CHANGELOG.md index c71876465ed..67591717f52 100644 --- a/service/secretsmanager/CHANGELOG.md +++ b/service/secretsmanager/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.15.10 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.15.9 (2022-05-25) + +* **Documentation**: Documentation updates for Secrets Manager + # v1.15.8 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/secretsmanager/api_op_PutResourcePolicy.go b/service/secretsmanager/api_op_PutResourcePolicy.go index c7f927b3ee7..5bcae98e0c4 100644 --- a/service/secretsmanager/api_op_PutResourcePolicy.go +++ b/service/secretsmanager/api_op_PutResourcePolicy.go @@ -55,8 +55,7 @@ type PutResourcePolicyInput struct { SecretId *string // Specifies whether to block resource-based policies that allow broad access to - // the secret. By default, Secrets Manager blocks policies that allow broad access, - // for example those that use a wildcard for the principal. + // the secret, for example those that use a wildcard for the principal. BlockPublicPolicy bool noSmithyDocumentSerde diff --git a/service/secretsmanager/go.mod b/service/secretsmanager/go.mod index 1d1147eae42..1ec1c806c77 100644 --- a/service/secretsmanager/go.mod +++ b/service/secretsmanager/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/secretsmanager go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/secretsmanager/go.sum b/service/secretsmanager/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/secretsmanager/go.sum +++ b/service/secretsmanager/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/secretsmanager/go_module_metadata.go b/service/secretsmanager/go_module_metadata.go index db83c1197f9..18a09cfd3ad 100644 --- a/service/secretsmanager/go_module_metadata.go +++ b/service/secretsmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package secretsmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.8" +const goModuleVersion = "1.15.10" diff --git a/service/securityhub/CHANGELOG.md b/service/securityhub/CHANGELOG.md index 66f19b4026b..f89df5dc129 100644 --- a/service/securityhub/CHANGELOG.md +++ b/service/securityhub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.21.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/securityhub/go.mod b/service/securityhub/go.mod index e192309a7d9..acfe3696f38 100644 --- a/service/securityhub/go.mod +++ b/service/securityhub/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/securityhub go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/securityhub/go.sum b/service/securityhub/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/securityhub/go.sum +++ b/service/securityhub/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/securityhub/go_module_metadata.go b/service/securityhub/go_module_metadata.go index 111e72b3050..d9a5267de04 100644 --- a/service/securityhub/go_module_metadata.go +++ b/service/securityhub/go_module_metadata.go @@ -3,4 +3,4 @@ package securityhub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/serverlessapplicationrepository/CHANGELOG.md b/service/serverlessapplicationrepository/CHANGELOG.md index d1b4269529a..a0abac976a7 100644 --- a/service/serverlessapplicationrepository/CHANGELOG.md +++ b/service/serverlessapplicationrepository/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/serverlessapplicationrepository/go.mod b/service/serverlessapplicationrepository/go.mod index 1c13494a9a9..e54ad54f99c 100644 --- a/service/serverlessapplicationrepository/go.mod +++ b/service/serverlessapplicationrepository/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/serverlessapplicationrepository go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/serverlessapplicationrepository/go.sum b/service/serverlessapplicationrepository/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/serverlessapplicationrepository/go.sum +++ b/service/serverlessapplicationrepository/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/serverlessapplicationrepository/go_module_metadata.go b/service/serverlessapplicationrepository/go_module_metadata.go index d418e7a08df..9ad9958d0b2 100644 --- a/service/serverlessapplicationrepository/go_module_metadata.go +++ b/service/serverlessapplicationrepository/go_module_metadata.go @@ -3,4 +3,4 @@ package serverlessapplicationrepository // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/servicecatalog/CHANGELOG.md b/service/servicecatalog/CHANGELOG.md index d6830262d56..01ed4714c71 100644 --- a/service/servicecatalog/CHANGELOG.md +++ b/service/servicecatalog/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.4 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/servicecatalog/go.mod b/service/servicecatalog/go.mod index c94655a43a2..d84442e4b0d 100644 --- a/service/servicecatalog/go.mod +++ b/service/servicecatalog/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/servicecatalog go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicecatalog/go.sum b/service/servicecatalog/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/servicecatalog/go.sum +++ b/service/servicecatalog/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/servicecatalog/go_module_metadata.go b/service/servicecatalog/go_module_metadata.go index 6263b952f2d..c046963f41e 100644 --- a/service/servicecatalog/go_module_metadata.go +++ b/service/servicecatalog/go_module_metadata.go @@ -3,4 +3,4 @@ package servicecatalog // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.3" +const goModuleVersion = "1.14.4" diff --git a/service/servicecatalogappregistry/CHANGELOG.md b/service/servicecatalogappregistry/CHANGELOG.md index 733845d8903..429aecda8b8 100644 --- a/service/servicecatalogappregistry/CHANGELOG.md +++ b/service/servicecatalogappregistry/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.12.8 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.12.7 (2022-06-06) + +* No change notes available for this release. + # v1.12.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/servicecatalogappregistry/go.mod b/service/servicecatalogappregistry/go.mod index 2b29c435a3d..9c7a6d7f811 100644 --- a/service/servicecatalogappregistry/go.mod +++ b/service/servicecatalogappregistry/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicecatalogappregistry/go.sum b/service/servicecatalogappregistry/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/servicecatalogappregistry/go.sum +++ b/service/servicecatalogappregistry/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/servicecatalogappregistry/go_module_metadata.go b/service/servicecatalogappregistry/go_module_metadata.go index e3cb22a5136..6e53b249bfe 100644 --- a/service/servicecatalogappregistry/go_module_metadata.go +++ b/service/servicecatalogappregistry/go_module_metadata.go @@ -3,4 +3,4 @@ package servicecatalogappregistry // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.6" +const goModuleVersion = "1.12.8" diff --git a/service/servicecatalogappregistry/internal/endpoints/endpoints.go b/service/servicecatalogappregistry/internal/endpoints/endpoints.go index 3c521548a23..6eac0e86752 100644 --- a/service/servicecatalogappregistry/internal/endpoints/endpoints.go +++ b/service/servicecatalogappregistry/internal/endpoints/endpoints.go @@ -390,42 +390,12 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.AwsUsGov, IsRegionalized: true, Endpoints: endpoints.Endpoints{ - endpoints.EndpointKey{ - Region: "fips-us-gov-east-1", - }: endpoints.Endpoint{ - Hostname: "servicecatalog-appregistry.us-gov-east-1.amazonaws.com", - CredentialScope: endpoints.CredentialScope{ - Region: "us-gov-east-1", - }, - Deprecated: aws.TrueTernary, - }, - endpoints.EndpointKey{ - Region: "fips-us-gov-west-1", - }: endpoints.Endpoint{ - Hostname: "servicecatalog-appregistry.us-gov-west-1.amazonaws.com", - CredentialScope: endpoints.CredentialScope{ - Region: "us-gov-west-1", - }, - Deprecated: aws.TrueTernary, - }, endpoints.EndpointKey{ Region: "us-gov-east-1", }: endpoints.Endpoint{}, - endpoints.EndpointKey{ - Region: "us-gov-east-1", - Variant: endpoints.FIPSVariant, - }: { - Hostname: "servicecatalog-appregistry.us-gov-east-1.amazonaws.com", - }, endpoints.EndpointKey{ Region: "us-gov-west-1", }: endpoints.Endpoint{}, - endpoints.EndpointKey{ - Region: "us-gov-west-1", - Variant: endpoints.FIPSVariant, - }: { - Hostname: "servicecatalog-appregistry.us-gov-west-1.amazonaws.com", - }, }, }, } diff --git a/service/servicediscovery/CHANGELOG.md b/service/servicediscovery/CHANGELOG.md index 1c85f4c1935..7c73c91d5dd 100644 --- a/service/servicediscovery/CHANGELOG.md +++ b/service/servicediscovery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/servicediscovery/go.mod b/service/servicediscovery/go.mod index 07a28bdb3d2..2fe26aaafcb 100644 --- a/service/servicediscovery/go.mod +++ b/service/servicediscovery/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/servicediscovery go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicediscovery/go.sum b/service/servicediscovery/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/servicediscovery/go.sum +++ b/service/servicediscovery/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/servicediscovery/go_module_metadata.go b/service/servicediscovery/go_module_metadata.go index 66df4e1b58b..119dd4a8e7c 100644 --- a/service/servicediscovery/go_module_metadata.go +++ b/service/servicediscovery/go_module_metadata.go @@ -3,4 +3,4 @@ package servicediscovery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.5" +const goModuleVersion = "1.17.6" diff --git a/service/servicequotas/CHANGELOG.md b/service/servicequotas/CHANGELOG.md index d8bf7f74e0d..c803b15cafd 100644 --- a/service/servicequotas/CHANGELOG.md +++ b/service/servicequotas/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/servicequotas/go.mod b/service/servicequotas/go.mod index f667dc8e337..8348ce1fc5c 100644 --- a/service/servicequotas/go.mod +++ b/service/servicequotas/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/servicequotas go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicequotas/go.sum b/service/servicequotas/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/servicequotas/go.sum +++ b/service/servicequotas/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/servicequotas/go_module_metadata.go b/service/servicequotas/go_module_metadata.go index 50edb84a9a1..185cd3fbd08 100644 --- a/service/servicequotas/go_module_metadata.go +++ b/service/servicequotas/go_module_metadata.go @@ -3,4 +3,4 @@ package servicequotas // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.6" +const goModuleVersion = "1.13.7" diff --git a/service/ses/CHANGELOG.md b/service/ses/CHANGELOG.md index d59d030c425..7172cc14369 100644 --- a/service/ses/CHANGELOG.md +++ b/service/ses/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.14.6 (2022-05-24) + +* No change notes available for this release. + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ses/go.mod b/service/ses/go.mod index 7580fd7bf4c..3860fe74aff 100644 --- a/service/ses/go.mod +++ b/service/ses/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ses go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ses/go.sum b/service/ses/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/ses/go.sum +++ b/service/ses/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/ses/go_module_metadata.go b/service/ses/go_module_metadata.go index 4366582b462..4edae552c06 100644 --- a/service/ses/go_module_metadata.go +++ b/service/ses/go_module_metadata.go @@ -3,4 +3,4 @@ package ses // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.7" diff --git a/service/ses/internal/endpoints/endpoints.go b/service/ses/internal/endpoints/endpoints.go index b4bc67c7042..65cc57ca0f1 100644 --- a/service/ses/internal/endpoints/endpoints.go +++ b/service/ses/internal/endpoints/endpoints.go @@ -135,24 +135,96 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "af-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "fips-us-east-1", + }: endpoints.Endpoint{ + Hostname: "email-fips.us-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-east-1", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "fips-us-west-2", + }: endpoints.Endpoint{ + Hostname: "email-fips.us-west-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-west-2", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "me-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "email-fips.us-east-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-west-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "email-fips.us-west-2.amazonaws.com", + }, }, }, { diff --git a/service/sesv2/CHANGELOG.md b/service/sesv2/CHANGELOG.md index 50a29cd8133..6911ea351f8 100644 --- a/service/sesv2/CHANGELOG.md +++ b/service/sesv2/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.13.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.13.6 (2022-05-24) + +* No change notes available for this release. + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sesv2/go.mod b/service/sesv2/go.mod index ad05e527bf1..b3cefc8db9a 100644 --- a/service/sesv2/go.mod +++ b/service/sesv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sesv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sesv2/go.sum b/service/sesv2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sesv2/go.sum +++ b/service/sesv2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sesv2/go_module_metadata.go b/service/sesv2/go_module_metadata.go index fe9d779064c..c2228ad79fb 100644 --- a/service/sesv2/go_module_metadata.go +++ b/service/sesv2/go_module_metadata.go @@ -3,4 +3,4 @@ package sesv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.7" diff --git a/service/sesv2/internal/endpoints/endpoints.go b/service/sesv2/internal/endpoints/endpoints.go index 1fdaa6f6d24..ff9e30023c6 100644 --- a/service/sesv2/internal/endpoints/endpoints.go +++ b/service/sesv2/internal/endpoints/endpoints.go @@ -135,24 +135,96 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "af-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "fips-us-east-1", + }: endpoints.Endpoint{ + Hostname: "email-fips.us-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-east-1", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "fips-us-west-2", + }: endpoints.Endpoint{ + Hostname: "email-fips.us-west-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-west-2", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "me-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "email-fips.us-east-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-west-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "email-fips.us-west-2.amazonaws.com", + }, }, }, { diff --git a/service/sfn/CHANGELOG.md b/service/sfn/CHANGELOG.md index ad4bb3e4f38..3f1343431fc 100644 --- a/service/sfn/CHANGELOG.md +++ b/service/sfn/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sfn/go.mod b/service/sfn/go.mod index 55b020be308..4d815859fb2 100644 --- a/service/sfn/go.mod +++ b/service/sfn/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sfn go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sfn/go.sum b/service/sfn/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sfn/go.sum +++ b/service/sfn/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sfn/go_module_metadata.go b/service/sfn/go_module_metadata.go index 10aef933d0e..eda4005ea48 100644 --- a/service/sfn/go_module_metadata.go +++ b/service/sfn/go_module_metadata.go @@ -3,4 +3,4 @@ package sfn // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/shield/CHANGELOG.md b/service/shield/CHANGELOG.md index 73f2130b895..4ab9499bb61 100644 --- a/service/shield/CHANGELOG.md +++ b/service/shield/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/shield/go.mod b/service/shield/go.mod index 4f692b514d0..db92158d9e2 100644 --- a/service/shield/go.mod +++ b/service/shield/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/shield go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/shield/go.sum b/service/shield/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/shield/go.sum +++ b/service/shield/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/shield/go_module_metadata.go b/service/shield/go_module_metadata.go index 154e9c22ba1..95e893e505a 100644 --- a/service/shield/go_module_metadata.go +++ b/service/shield/go_module_metadata.go @@ -3,4 +3,4 @@ package shield // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.5" +const goModuleVersion = "1.16.6" diff --git a/service/signer/CHANGELOG.md b/service/signer/CHANGELOG.md index 953f1aff3af..c9bf88de0fb 100644 --- a/service/signer/CHANGELOG.md +++ b/service/signer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/signer/go.mod b/service/signer/go.mod index 46af4cc327c..b131798e220 100644 --- a/service/signer/go.mod +++ b/service/signer/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/signer go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/signer/go.sum b/service/signer/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/signer/go.sum +++ b/service/signer/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/signer/go_module_metadata.go b/service/signer/go_module_metadata.go index 4cae9866f29..a162bba3b7c 100644 --- a/service/signer/go_module_metadata.go +++ b/service/signer/go_module_metadata.go @@ -3,4 +3,4 @@ package signer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/sms/CHANGELOG.md b/service/sms/CHANGELOG.md index 451f0d77c53..85375826ffe 100644 --- a/service/sms/CHANGELOG.md +++ b/service/sms/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sms/go.mod b/service/sms/go.mod index ea40f65b11d..9bc437cf6b9 100644 --- a/service/sms/go.mod +++ b/service/sms/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sms go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sms/go.sum b/service/sms/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sms/go.sum +++ b/service/sms/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sms/go_module_metadata.go b/service/sms/go_module_metadata.go index d31d2e2affe..07b290ad45f 100644 --- a/service/sms/go_module_metadata.go +++ b/service/sms/go_module_metadata.go @@ -3,4 +3,4 @@ package sms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.6" +const goModuleVersion = "1.12.7" diff --git a/service/snowball/CHANGELOG.md b/service/snowball/CHANGELOG.md index f7508e93687..ca6390f18a9 100644 --- a/service/snowball/CHANGELOG.md +++ b/service/snowball/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/snowball/go.mod b/service/snowball/go.mod index f421a17da2b..a798f621b65 100644 --- a/service/snowball/go.mod +++ b/service/snowball/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/snowball go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/snowball/go.sum b/service/snowball/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/snowball/go.sum +++ b/service/snowball/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/snowball/go_module_metadata.go b/service/snowball/go_module_metadata.go index 237b2191d9f..62420a16a8e 100644 --- a/service/snowball/go_module_metadata.go +++ b/service/snowball/go_module_metadata.go @@ -3,4 +3,4 @@ package snowball // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/snowdevicemanagement/CHANGELOG.md b/service/snowdevicemanagement/CHANGELOG.md index 74a796511fc..ad220f80bd5 100644 --- a/service/snowdevicemanagement/CHANGELOG.md +++ b/service/snowdevicemanagement/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.8.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/snowdevicemanagement/go.mod b/service/snowdevicemanagement/go.mod index 5861551fce3..7ad9ab018cb 100644 --- a/service/snowdevicemanagement/go.mod +++ b/service/snowdevicemanagement/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/snowdevicemanagement go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/snowdevicemanagement/go.sum b/service/snowdevicemanagement/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/snowdevicemanagement/go.sum +++ b/service/snowdevicemanagement/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/snowdevicemanagement/go_module_metadata.go b/service/snowdevicemanagement/go_module_metadata.go index 52436148c98..679e8221d96 100644 --- a/service/snowdevicemanagement/go_module_metadata.go +++ b/service/snowdevicemanagement/go_module_metadata.go @@ -3,4 +3,4 @@ package snowdevicemanagement // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.5" +const goModuleVersion = "1.8.6" diff --git a/service/sns/CHANGELOG.md b/service/sns/CHANGELOG.md index 7e4349df455..eea18d8e707 100644 --- a/service/sns/CHANGELOG.md +++ b/service/sns/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sns/go.mod b/service/sns/go.mod index e933b26dcfa..ec3ec12feb9 100644 --- a/service/sns/go.mod +++ b/service/sns/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sns go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sns/go.sum b/service/sns/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sns/go.sum +++ b/service/sns/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sns/go_module_metadata.go b/service/sns/go_module_metadata.go index 78bec5c5592..b82867948b9 100644 --- a/service/sns/go_module_metadata.go +++ b/service/sns/go_module_metadata.go @@ -3,4 +3,4 @@ package sns // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.6" +const goModuleVersion = "1.17.7" diff --git a/service/sqs/CHANGELOG.md b/service/sqs/CHANGELOG.md index a5738bd88c5..ccc3c7a5518 100644 --- a/service/sqs/CHANGELOG.md +++ b/service/sqs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sqs/go.mod b/service/sqs/go.mod index 7d9a6634b9c..f053d0c4547 100644 --- a/service/sqs/go.mod +++ b/service/sqs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sqs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sqs/go.sum b/service/sqs/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sqs/go.sum +++ b/service/sqs/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sqs/go_module_metadata.go b/service/sqs/go_module_metadata.go index f579475bfab..fdb8fbff57d 100644 --- a/service/sqs/go_module_metadata.go +++ b/service/sqs/go_module_metadata.go @@ -3,4 +3,4 @@ package sqs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.5" +const goModuleVersion = "1.18.6" diff --git a/service/ssm/CHANGELOG.md b/service/ssm/CHANGELOG.md index aae98fcd636..6514c86f8c0 100644 --- a/service/ssm/CHANGELOG.md +++ b/service/ssm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.27.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ssm/go.mod b/service/ssm/go.mod index 7b4e6252705..3c9f45e3003 100644 --- a/service/ssm/go.mod +++ b/service/ssm/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ssm go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ssm/go.sum b/service/ssm/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/ssm/go.sum +++ b/service/ssm/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/ssm/go_module_metadata.go b/service/ssm/go_module_metadata.go index e5ee56e5649..8a5f6404667 100644 --- a/service/ssm/go_module_metadata.go +++ b/service/ssm/go_module_metadata.go @@ -3,4 +3,4 @@ package ssm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.1" +const goModuleVersion = "1.27.2" diff --git a/service/ssmcontacts/CHANGELOG.md b/service/ssmcontacts/CHANGELOG.md index 65470037861..d53cbbf162b 100644 --- a/service/ssmcontacts/CHANGELOG.md +++ b/service/ssmcontacts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ssmcontacts/go.mod b/service/ssmcontacts/go.mod index 2487ce5a428..ba6941ecd92 100644 --- a/service/ssmcontacts/go.mod +++ b/service/ssmcontacts/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ssmcontacts go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ssmcontacts/go.sum b/service/ssmcontacts/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ssmcontacts/go.sum +++ b/service/ssmcontacts/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ssmcontacts/go_module_metadata.go b/service/ssmcontacts/go_module_metadata.go index 507f26eb1e5..ebad70e0bda 100644 --- a/service/ssmcontacts/go_module_metadata.go +++ b/service/ssmcontacts/go_module_metadata.go @@ -3,4 +3,4 @@ package ssmcontacts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.6" +const goModuleVersion = "1.13.7" diff --git a/service/ssmincidents/CHANGELOG.md b/service/ssmincidents/CHANGELOG.md index b3e8151d510..1f6c47147a2 100644 --- a/service/ssmincidents/CHANGELOG.md +++ b/service/ssmincidents/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ssmincidents/go.mod b/service/ssmincidents/go.mod index 4cf10dfd952..2fbb8085dc0 100644 --- a/service/ssmincidents/go.mod +++ b/service/ssmincidents/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ssmincidents go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ssmincidents/go.sum b/service/ssmincidents/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/ssmincidents/go.sum +++ b/service/ssmincidents/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/ssmincidents/go_module_metadata.go b/service/ssmincidents/go_module_metadata.go index f1e018bc61a..db7e21bd768 100644 --- a/service/ssmincidents/go_module_metadata.go +++ b/service/ssmincidents/go_module_metadata.go @@ -3,4 +3,4 @@ package ssmincidents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.1" +const goModuleVersion = "1.14.2" diff --git a/service/sso/CHANGELOG.md b/service/sso/CHANGELOG.md index 8ae6dba6a7c..37995d2bb9e 100644 --- a/service/sso/CHANGELOG.md +++ b/service/sso/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.11.8 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.11.7 (2022-05-26) + +* No change notes available for this release. + +# v1.11.6 (2022-05-25) + +* No change notes available for this release. + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sso/go.mod b/service/sso/go.mod index 2999bb331de..f8b68b55ce8 100644 --- a/service/sso/go.mod +++ b/service/sso/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/sso go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sso/go.sum b/service/sso/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sso/go.sum +++ b/service/sso/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sso/go_module_metadata.go b/service/sso/go_module_metadata.go index 5d6aa490d14..ba731443c7f 100644 --- a/service/sso/go_module_metadata.go +++ b/service/sso/go_module_metadata.go @@ -3,4 +3,4 @@ package sso // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.8" diff --git a/service/sso/internal/endpoints/endpoints.go b/service/sso/internal/endpoints/endpoints.go index c8d1689927d..0cbce75fb19 100644 --- a/service/sso/internal/endpoints/endpoints.go +++ b/service/sso/internal/endpoints/endpoints.go @@ -151,6 +151,14 @@ var defaultPartitions = endpoints.Partitions{ Region: "ap-northeast-2", }, }, + endpoints.EndpointKey{ + Region: "ap-northeast-3", + }: endpoints.Endpoint{ + Hostname: "portal.sso.ap-northeast-3.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "ap-northeast-3", + }, + }, endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{ diff --git a/service/ssoadmin/CHANGELOG.md b/service/ssoadmin/CHANGELOG.md index 4dede39ffcf..017a5163c9c 100644 --- a/service/ssoadmin/CHANGELOG.md +++ b/service/ssoadmin/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ssoadmin/go.mod b/service/ssoadmin/go.mod index 7131584c742..0ac807e003e 100644 --- a/service/ssoadmin/go.mod +++ b/service/ssoadmin/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ssoadmin go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ssoadmin/go.sum b/service/ssoadmin/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ssoadmin/go.sum +++ b/service/ssoadmin/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ssoadmin/go_module_metadata.go b/service/ssoadmin/go_module_metadata.go index 1283065b4b0..f602e88ab54 100644 --- a/service/ssoadmin/go_module_metadata.go +++ b/service/ssoadmin/go_module_metadata.go @@ -3,4 +3,4 @@ package ssoadmin // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/ssooidc/CHANGELOG.md b/service/ssooidc/CHANGELOG.md index eccb9b7f0a0..5c83b5646e1 100644 --- a/service/ssooidc/CHANGELOG.md +++ b/service/ssooidc/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.12.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.12.6 (2022-05-27) + +* No change notes available for this release. + # v1.12.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/ssooidc/go.mod b/service/ssooidc/go.mod index fcc03712ffd..8670b67e375 100644 --- a/service/ssooidc/go.mod +++ b/service/ssooidc/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/ssooidc go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ssooidc/go.sum b/service/ssooidc/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/ssooidc/go.sum +++ b/service/ssooidc/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/ssooidc/go_module_metadata.go b/service/ssooidc/go_module_metadata.go index d241490040d..09d283e997c 100644 --- a/service/ssooidc/go_module_metadata.go +++ b/service/ssooidc/go_module_metadata.go @@ -3,4 +3,4 @@ package ssooidc // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.5" +const goModuleVersion = "1.12.7" diff --git a/service/ssooidc/internal/endpoints/endpoints.go b/service/ssooidc/internal/endpoints/endpoints.go index 6c2473d8026..8a4c6371150 100644 --- a/service/ssooidc/internal/endpoints/endpoints.go +++ b/service/ssooidc/internal/endpoints/endpoints.go @@ -151,6 +151,14 @@ var defaultPartitions = endpoints.Partitions{ Region: "ap-northeast-2", }, }, + endpoints.EndpointKey{ + Region: "ap-northeast-3", + }: endpoints.Endpoint{ + Hostname: "oidc.ap-northeast-3.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "ap-northeast-3", + }, + }, endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{ diff --git a/service/storagegateway/CHANGELOG.md b/service/storagegateway/CHANGELOG.md index 736298482b3..947b5f86f3c 100644 --- a/service/storagegateway/CHANGELOG.md +++ b/service/storagegateway/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/storagegateway/go.mod b/service/storagegateway/go.mod index ce71956d7c6..ad69a86631f 100644 --- a/service/storagegateway/go.mod +++ b/service/storagegateway/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/storagegateway go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/storagegateway/go.sum b/service/storagegateway/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/storagegateway/go.sum +++ b/service/storagegateway/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/storagegateway/go_module_metadata.go b/service/storagegateway/go_module_metadata.go index a3d0d782e60..1b8bb0803dc 100644 --- a/service/storagegateway/go_module_metadata.go +++ b/service/storagegateway/go_module_metadata.go @@ -3,4 +3,4 @@ package storagegateway // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/sts/CHANGELOG.md b/service/sts/CHANGELOG.md index 13acc5e3214..433e39c63e1 100644 --- a/service/sts/CHANGELOG.md +++ b/service/sts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.16.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/sts/go.mod b/service/sts/go.mod index 90a5cf90c56..6f4f8427651 100644 --- a/service/sts/go.mod +++ b/service/sts/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/sts go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sts/go.sum b/service/sts/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/sts/go.sum +++ b/service/sts/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/sts/go_module_metadata.go b/service/sts/go_module_metadata.go index 2e8132e2ede..f169e953b6c 100644 --- a/service/sts/go_module_metadata.go +++ b/service/sts/go_module_metadata.go @@ -3,4 +3,4 @@ package sts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.6" +const goModuleVersion = "1.16.7" diff --git a/service/support/CHANGELOG.md b/service/support/CHANGELOG.md index b85d9f78169..edb1463f3cc 100644 --- a/service/support/CHANGELOG.md +++ b/service/support/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/support/go.mod b/service/support/go.mod index 9be23f1e9bc..ad02acd825d 100644 --- a/service/support/go.mod +++ b/service/support/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/support go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/support/go.sum b/service/support/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/support/go.sum +++ b/service/support/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/support/go_module_metadata.go b/service/support/go_module_metadata.go index d2f5c160410..f4a6f5d8dd0 100644 --- a/service/support/go_module_metadata.go +++ b/service/support/go_module_metadata.go @@ -3,4 +3,4 @@ package support // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/swf/CHANGELOG.md b/service/swf/CHANGELOG.md index ad4bb3e4f38..3f1343431fc 100644 --- a/service/swf/CHANGELOG.md +++ b/service/swf/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/swf/go.mod b/service/swf/go.mod index ef8e83c0b0f..d3af034e4d6 100644 --- a/service/swf/go.mod +++ b/service/swf/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/swf go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/swf/go.sum b/service/swf/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/swf/go.sum +++ b/service/swf/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/swf/go_module_metadata.go b/service/swf/go_module_metadata.go index 35c5278f6ec..21bd419cc40 100644 --- a/service/swf/go_module_metadata.go +++ b/service/swf/go_module_metadata.go @@ -3,4 +3,4 @@ package swf // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/synthetics/CHANGELOG.md b/service/synthetics/CHANGELOG.md index 6db04a18da3..1efbd97e5db 100644 --- a/service/synthetics/CHANGELOG.md +++ b/service/synthetics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/synthetics/go.mod b/service/synthetics/go.mod index c5e68fc38ec..c5ee1f75b65 100644 --- a/service/synthetics/go.mod +++ b/service/synthetics/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/synthetics go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/synthetics/go.sum b/service/synthetics/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/synthetics/go.sum +++ b/service/synthetics/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/synthetics/go_module_metadata.go b/service/synthetics/go_module_metadata.go index b76e030ed4a..2a674afa6ff 100644 --- a/service/synthetics/go_module_metadata.go +++ b/service/synthetics/go_module_metadata.go @@ -3,4 +3,4 @@ package synthetics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/textract/CHANGELOG.md b/service/textract/CHANGELOG.md index c9dcba0f367..f99861a476f 100644 --- a/service/textract/CHANGELOG.md +++ b/service/textract/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/textract/go.mod b/service/textract/go.mod index 6047e9c0d16..06835ac9f48 100644 --- a/service/textract/go.mod +++ b/service/textract/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/textract go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/textract/go.sum b/service/textract/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/textract/go.sum +++ b/service/textract/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/textract/go_module_metadata.go b/service/textract/go_module_metadata.go index ae487ca5749..be3e3de24e6 100644 --- a/service/textract/go_module_metadata.go +++ b/service/textract/go_module_metadata.go @@ -3,4 +3,4 @@ package textract // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/timestreamquery/CHANGELOG.md b/service/timestreamquery/CHANGELOG.md index 56302c06585..84d89902704 100644 --- a/service/timestreamquery/CHANGELOG.md +++ b/service/timestreamquery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/timestreamquery/go.mod b/service/timestreamquery/go.mod index 36e03ee6f1f..774827905b4 100644 --- a/service/timestreamquery/go.mod +++ b/service/timestreamquery/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/timestreamquery go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/timestreamquery/go.sum b/service/timestreamquery/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/timestreamquery/go.sum +++ b/service/timestreamquery/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/timestreamquery/go_module_metadata.go b/service/timestreamquery/go_module_metadata.go index f02e3d8e655..4e8bcab39ec 100644 --- a/service/timestreamquery/go_module_metadata.go +++ b/service/timestreamquery/go_module_metadata.go @@ -3,4 +3,4 @@ package timestreamquery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.6" diff --git a/service/timestreamwrite/CHANGELOG.md b/service/timestreamwrite/CHANGELOG.md index 24a0357a4dd..9afd190e290 100644 --- a/service/timestreamwrite/CHANGELOG.md +++ b/service/timestreamwrite/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/timestreamwrite/go.mod b/service/timestreamwrite/go.mod index 448975cb979..e9f2bb3c37c 100644 --- a/service/timestreamwrite/go.mod +++ b/service/timestreamwrite/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/timestreamwrite go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/timestreamwrite/go.sum b/service/timestreamwrite/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/timestreamwrite/go.sum +++ b/service/timestreamwrite/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/timestreamwrite/go_module_metadata.go b/service/timestreamwrite/go_module_metadata.go index 04388669db3..49d9f66238c 100644 --- a/service/timestreamwrite/go_module_metadata.go +++ b/service/timestreamwrite/go_module_metadata.go @@ -3,4 +3,4 @@ package timestreamwrite // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/transcribe/CHANGELOG.md b/service/transcribe/CHANGELOG.md index d2a12a7fb7a..c68683661ab 100644 --- a/service/transcribe/CHANGELOG.md +++ b/service/transcribe/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.20.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.20.0 (2022-05-31) + +* **Feature**: Amazon Transcribe now supports automatic language identification for multi-lingual audio in batch mode. + # v1.19.3 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/transcribe/api_op_CreateCallAnalyticsCategory.go b/service/transcribe/api_op_CreateCallAnalyticsCategory.go index 92f22bb837c..6f3195aceb8 100644 --- a/service/transcribe/api_op_CreateCallAnalyticsCategory.go +++ b/service/transcribe/api_op_CreateCallAnalyticsCategory.go @@ -11,14 +11,25 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a call analytics category. Amazon Transcribe applies the conditions -// specified by your call analytics categories to your call analytics jobs. For -// each analytics category, you must create between 1 and 20 rules. For example, -// you can create a 'greeting' category with a rule that flags calls in which your -// agent does not use a specified phrase (for example: "Please note this call may -// be recorded.") in the first 15 seconds of the call. When you start a call -// analytics job, Amazon Transcribe applies all your existing call analytics -// categories to that job. +// Creates a new Call Analytics category. All categories are automatically applied +// to your Call Analytics jobs. Note that in order to apply your categories to your +// jobs, you must create them before submitting your job request, as categories +// cannot be applied retroactively. Call Analytics categories are composed of +// rules. For each category, you must create between 1 and 20 rules. Rules can +// include these parameters: , , , and . To update an existing category, see . To +// learn more about: +// +// * Call Analytics categories, see Creating categories +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html) +// +// * +// Using rules, see Rule criteria +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html#call-analytics-create-categories-rules) +// and refer to the data type +// +// * Call Analytics, see Analyzing call center audio +// with Call Analytics +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics.html) func (c *Client) CreateCallAnalyticsCategory(ctx context.Context, params *CreateCallAnalyticsCategoryInput, optFns ...func(*Options)) (*CreateCallAnalyticsCategoryOutput, error) { if params == nil { params = &CreateCallAnalyticsCategoryInput{} @@ -36,14 +47,16 @@ func (c *Client) CreateCallAnalyticsCategory(ctx context.Context, params *Create type CreateCallAnalyticsCategoryInput struct { - // A unique name, chosen by you, for your call analytics category. For example, - // sentiment-positive-last30seconds. + // A unique name, chosen by you, for your Call Analytics category. It's helpful to + // use a detailed naming system that will make sense to you in the future. For + // example, it's better to use sentiment-positive-last30seconds for a category over + // a generic name like test-category. Category names are case sensitive. // // This member is required. CategoryName *string - // Rules make up a call analytics category. When creating a call analytics - // category, you must create between 1 and 20 rules for your category. For each + // Rules define a Call Analytics category. When creating a new Call Analytics + // category, you must create between 1 and 20 rules for that category. For each // rule, you specify a filter you want applied to the attributes of a call. For // example, you can choose a sentiment filter that detects if a customer's // sentiment was positive during the last 30 seconds of the call. @@ -56,12 +69,8 @@ type CreateCallAnalyticsCategoryInput struct { type CreateCallAnalyticsCategoryOutput struct { - // If your audio matches one of your categories, this field contains data on that - // category and its associated rules. This parameter shows which category is - // flagged (CategoryName) along with metadata for the rules that match your audio. - // Metadata includes the rule filter (such as InterruptionFilter, - // NonTalkTimeFilter, SentimentFilter, and TranscriptFilter) and where in your - // audio (StartTime and EndTime) the rule has a match. + // Provides you with the properties of your new category, including its associated + // rules. CategoryProperties *types.CategoryProperties // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_CreateLanguageModel.go b/service/transcribe/api_op_CreateLanguageModel.go index 385b9525acd..ad87fab854b 100644 --- a/service/transcribe/api_op_CreateLanguageModel.go +++ b/service/transcribe/api_op_CreateLanguageModel.go @@ -12,10 +12,22 @@ import ( ) // Creates a new custom language model. When creating a new language model, you -// must specify if you want a Wideband (audio sample rates over 16,000 Hz) or -// Narrowband (audio sample rates under 16,000 Hz) base model. You then include the -// S3 URI location of your training and tuning files, the language for the model, a -// unique name, and any tags you want associated with your model. +// must specify: +// +// * If you want a Wideband (audio sample rates over 16,000 Hz) or +// Narrowband (audio sample rates under 16,000 Hz) base model +// +// * The location of +// your training and tuning files (this must be an Amazon S3 URI) +// +// * The language +// of your model +// +// * A unique name for your model +// +// For more information, see Custom +// language models +// (https://docs.aws.amazon.com/transcribe/latest/dg/custom-language-models.html). func (c *Client) CreateLanguageModel(ctx context.Context, params *CreateLanguageModelInput, optFns ...func(*Options)) (*CreateLanguageModelOutput, error) { if params == nil { params = &CreateLanguageModelInput{} @@ -42,28 +54,46 @@ type CreateLanguageModelInput struct { // This member is required. BaseModelName types.BaseModelName - // Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 - // locations of your training (S3Uri) and tuning (TuningDataS3Uri) data. + // Contains the Amazon S3 location of the training data you want to use to create a + // new custom language model, and permissions to access this location. When using + // InputDataConfig, you must include these sub-parameters: S3Uri, which is the + // Amazon S3 location of your training data, and DataAccessRoleArn, which is the + // Amazon Resource Name (ARN) of the role that has permission to access your + // specified Amazon S3 location. You can optionally include TuningDataS3Uri, which + // is the Amazon S3 location of your tuning data. If you specify different Amazon + // S3 locations for training and tuning data, the ARN you use must have permissions + // to access both locations. // // This member is required. InputDataConfig *types.InputDataConfig - // The language of your custom language model; note that the language code you - // select must match the language of your training and tuning data. + // The language code that represents the language of your model. Each language + // model must contain terms in only one language, and the language you select for + // your model must match the language of your training and tuning data. For a list + // of supported languages and their associated language codes, refer to the + // Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. Note that U.S. English (en-US) is the only language supported with Amazon + // Transcribe Medical. A custom language model can only be used to transcribe files + // in the same language as the model. For example, if you create a language model + // using US English (en-US), you can only apply this model to files that contain + // English audio. // // This member is required. LanguageCode types.CLMLanguageCode - // The name of your new custom language model. This name is case sensitive, cannot - // contain spaces, and must be unique within an Amazon Web Services account. If you - // try to create a language model with the same name as a previous language model, - // you get a ConflictException error. + // A unique name, chosen by you, for your custom language model. This name is case + // sensitive, cannot contain spaces, and must be unique within an Amazon Web + // Services account. If you try to create a new language model with the same name + // as an existing language model, you get a ConflictException error. // // This member is required. ModelName *string - // Optionally add tags, each in the form of a key:value pair, to your new language - // model. See also: . + // Adds one or more custom tags, each in the form of a key:value pair, to a new + // custom language model at the time you create this new model. To learn more about + // using tags with Amazon Transcribe, refer to Tagging resources + // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []types.Tag noSmithyDocumentSerde @@ -71,24 +101,22 @@ type CreateLanguageModelInput struct { type CreateLanguageModelOutput struct { - // The Amazon Transcribe standard language model, or base model, you used when - // creating your custom language model. If your audio has a sample rate of 16,000 - // Hz or greater, this value should be WideBand. If your audio has a sample rate of - // less than 16,000 Hz, this value should be NarrowBand. + // The Amazon Transcribe standard language model, or base model, you specified when + // creating your custom language model. BaseModelName types.BaseModelName // Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 - // locations your provided for your training (S3Uri) and tuning (TuningDataS3Uri) + // locations you provided for your training (S3Uri) and tuning (TuningDataS3Uri) // data. InputDataConfig *types.InputDataConfig // The language code you selected for your custom language model. LanguageCode types.CLMLanguageCode - // The unique name you chose for your custom language model. + // The name of your custom language model. ModelName *string - // The status of your custom language model. When the status shows as COMPLETED, + // The status of your custom language model. When the status displays as COMPLETED, // your model is ready to use. ModelStatus types.ModelStatus diff --git a/service/transcribe/api_op_CreateMedicalVocabulary.go b/service/transcribe/api_op_CreateMedicalVocabulary.go index c5dea749a12..774240c242e 100644 --- a/service/transcribe/api_op_CreateMedicalVocabulary.go +++ b/service/transcribe/api_op_CreateMedicalVocabulary.go @@ -12,12 +12,17 @@ import ( "time" ) -// Creates a new custom medical vocabulary. When creating a new medical vocabulary, -// you must upload a text file that contains your new entries, phrases, and terms -// into an S3 bucket. Note that this differs from , where you can include a list of -// terms within your request using the Phrases flag, as CreateMedicalVocabulary -// does not support the Phrases flag. For more information on creating a custom -// vocabulary text file, see Creating a custom vocabulary +// Creates a new custom medical vocabulary. Prior to creating a new medical +// vocabulary, you must first upload a text file that contains your new entries, +// phrases, and terms into an Amazon S3 bucket. Note that this differs from , where +// you can include a list of terms within your request using the Phrases flag; +// CreateMedicalVocabulary does not support the Phrases flag. Each language has a +// character set that contains all allowed characters for that specific language. +// If you use unsupported characters, your vocabulary request fails. Refer to +// Character Sets for Custom Vocabularies +// (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) to get the +// character set for your language. For more information, see Creating a custom +// vocabulary // (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html). func (c *Client) CreateMedicalVocabulary(ctx context.Context, params *CreateMedicalVocabularyInput, optFns ...func(*Options)) (*CreateMedicalVocabularyOutput, error) { if params == nil { @@ -37,31 +42,31 @@ func (c *Client) CreateMedicalVocabulary(ctx context.Context, params *CreateMedi type CreateMedicalVocabularyInput struct { // The language code that represents the language of the entries in your custom - // vocabulary. Note that U.S. English (en-US) is the only language supported with - // Amazon Transcribe Medical. + // vocabulary. US English (en-US) is the only language supported with Amazon + // Transcribe Medical. // // This member is required. LanguageCode types.LanguageCode - // The Amazon S3 location (URI) of the text file that contains your custom + // The Amazon S3 location (URI) of the text file that contains your custom medical // vocabulary. The URI must be in the same Amazon Web Services Region as the - // resource that you're calling. Here's an example URI path: - // https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt + // resource you're calling. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt // // This member is required. VocabularyFileUri *string - // The name of your new vocabulary. This name is case sensitive, cannot contain - // spaces, and must be unique within an Amazon Web Services account. If you try to - // create a vocabulary with the same name as a previous vocabulary, you get a - // ConflictException error. + // A unique name, chosen by you, for your new custom medical vocabulary. This name + // is case sensitive, cannot contain spaces, and must be unique within an Amazon + // Web Services account. If you try to create a new medical vocabulary with the + // same name as an existing medical vocabulary, you get a ConflictException error. // // This member is required. VocabularyName *string - // Adds one or more tags, each in the form of a key:value pair, to a new medical - // vocabulary at the time you create the new vocabulary. To learn more about using - // tags with Amazon Transcribe, refer to Tagging resources + // Adds one or more custom tags, each in the form of a key:value pair, to a new + // medical vocabulary at the time you create this new vocabulary. To learn more + // about using tags with Amazon Transcribe, refer to Tagging resources // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []types.Tag @@ -70,18 +75,21 @@ type CreateMedicalVocabularyInput struct { type CreateMedicalVocabularyOutput struct { - // If the VocabularyState field is FAILED, FailureReason contains information about - // why the job failed. + // If VocabularyState is FAILED, FailureReason contains information about why the + // medical transcription job request failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // The language code you selected for your medical vocabulary. Note that U.S. - // English (en-US) is the only language supported with Amazon Transcribe Medical. + // The language code you selected for your medical vocabulary. US English (en-US) + // is the only language supported with Amazon Transcribe Medical. LanguageCode types.LanguageCode - // The date and time you created your custom medical vocabulary. + // The date and time you created your custom medical vocabulary. Timestamps are in + // the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name you chose for your vocabulary. + // The name you chose for your custom medical vocabulary. VocabularyName *string // The processing state of your custom medical vocabulary. If the state is READY, diff --git a/service/transcribe/api_op_CreateVocabulary.go b/service/transcribe/api_op_CreateVocabulary.go index 81695fd5607..45c803d7cf6 100644 --- a/service/transcribe/api_op_CreateVocabulary.go +++ b/service/transcribe/api_op_CreateVocabulary.go @@ -12,11 +12,16 @@ import ( "time" ) -// Creates a new custom vocabulary. When creating a new medical vocabulary, you can -// either upload a text file that contains your new entries, phrases, and terms -// into an S3 bucket or include a list of terms directly in your request using the -// Phrases flag. For more information on creating a custom vocabulary, see Creating -// a custom vocabulary +// Creates a new custom vocabulary. When creating a new vocabulary, you can either +// upload a text file that contains your new entries, phrases, and terms into an +// Amazon S3 bucket and include the URI in your request, or you can include a list +// of terms directly in your request using the Phrases flag. Each language has a +// character set that contains all allowed characters for that specific language. +// If you use unsupported characters, your vocabulary request fails. Refer to +// Character Sets for Custom Vocabularies +// (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) to get the +// character set for your language. For more information, see Creating a custom +// vocabulary // (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html). func (c *Client) CreateVocabulary(ctx context.Context, params *CreateVocabularyInput, optFns ...func(*Options)) (*CreateVocabularyOutput, error) { if params == nil { @@ -36,36 +41,51 @@ func (c *Client) CreateVocabulary(ctx context.Context, params *CreateVocabularyI type CreateVocabularyInput struct { // The language code that represents the language of the entries in your custom - // vocabulary. Each vocabulary must contain terms in only one language. For a list - // of languages and their corresponding language codes, see Supported languages - // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html). + // vocabulary. Each vocabulary must contain terms in only one language. A custom + // vocabulary can only be used to transcribe files in the same language as the + // vocabulary. For example, if you create a vocabulary using US English (en-US), + // you can only apply this vocabulary to files that contain English audio. For a + // list of supported languages and their associated language codes, refer to the + // Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. // // This member is required. LanguageCode types.LanguageCode - // The name of your new vocabulary. This name is case sensitive, cannot contain - // spaces, and must be unique within an Amazon Web Services account. If you try to - // create a vocabulary with the same name as a previous vocabulary, you get a - // ConflictException error. + // A unique name, chosen by you, for your new custom vocabulary. This name is case + // sensitive, cannot contain spaces, and must be unique within an Amazon Web + // Services account. If you try to create a new vocabulary with the same name as an + // existing vocabulary, you get a ConflictException error. // // This member is required. VocabularyName *string - // Use this flag to include a list of terms within your request. Note that if you - // include Phrases in your request, you cannot use VocabularyFileUri; you must - // choose one or the other. + // Use this parameter if you want to create your vocabulary by including all + // desired terms, as comma-separated values, within your request. The other option + // for creating your vocabulary is to save your entries in a text file and upload + // them to an Amazon S3 bucket, then specify the location of your file using the + // VocabularyFileUri parameter. Note that if you include Phrases in your request, + // you cannot use VocabularyFileUri; you must choose one or the other. Each + // language has a character set that contains all allowed characters for that + // specific language. If you use unsupported characters, your vocabulary filter + // request fails. Refer to Character Sets for Custom Vocabularies + // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) to get the + // character set for your language. Phrases []string - // Adds one or more tags, each in the form of a key:value pair, to a new custom - // vocabulary at the time you create this new vocabulary. + // Adds one or more custom tags, each in the form of a key:value pair, to a new + // custom vocabulary at the time you create this new vocabulary. To learn more + // about using tags with Amazon Transcribe, refer to Tagging resources + // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []types.Tag - // The S3 location of the text file that contains your custom vocabulary. The URI - // must be located in the same region as the API endpoint you're calling. Here's an - // example URI path: - // https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt Note that if - // you include VocabularyFileUri in your request, you cannot use the Phrases flag; - // you must choose one or the other. + // The Amazon S3 location of the text file that contains your custom vocabulary. + // The URI must be located in the same Amazon Web Services Region as the resource + // you're calling. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt Note that if you include + // VocabularyFileUri in your request, you cannot use the Phrases flag; you must + // choose one or the other. VocabularyFileUri *string noSmithyDocumentSerde @@ -73,21 +93,24 @@ type CreateVocabularyInput struct { type CreateVocabularyOutput struct { - // If the VocabularyState field is FAILED, FailureReason contains information about - // why the job failed. + // If VocabularyState is FAILED, FailureReason contains information about why the + // vocabulary request failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // The language code you selected for your vocabulary. + // The language code you selected for your custom vocabulary. LanguageCode types.LanguageCode - // The date and time you created your custom vocabulary. + // The date and time you created your custom vocabulary. Timestamps are in the + // format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name you chose for your vocabulary. + // The name you chose for your custom vocabulary. VocabularyName *string - // The processing state of your vocabulary. If the state is READY, you can use the - // vocabulary in a StartTranscriptionJob request. + // The processing state of your custom vocabulary. If the state is READY, you can + // use the vocabulary in a StartTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_CreateVocabularyFilter.go b/service/transcribe/api_op_CreateVocabularyFilter.go index ba23d41cacb..6666dbb0f62 100644 --- a/service/transcribe/api_op_CreateVocabularyFilter.go +++ b/service/transcribe/api_op_CreateVocabularyFilter.go @@ -12,9 +12,16 @@ import ( "time" ) -// Creates a new vocabulary filter that you can use to filter words from your -// transcription output. For example, you can use this operation to remove -// profanity from your transcript. +// Creates a new custom vocabulary filter. You can use vocabulary filters to mask, +// delete, or flag specific words from your transcript. Vocabulary filters are +// commonly used to mask profanity in transcripts. Each language has a character +// set that contains all allowed characters for that specific language. If you use +// unsupported characters, your vocabulary filter request fails. Refer to Character +// Sets for Custom Vocabularies +// (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) to get the +// character set for your language. For more information, see Using vocabulary +// filtering with unwanted words +// (https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-filtering.html). func (c *Client) CreateVocabularyFilter(ctx context.Context, params *CreateVocabularyFilterInput, optFns ...func(*Options)) (*CreateVocabularyFilterOutput, error) { if params == nil { params = &CreateVocabularyFilterInput{} @@ -32,39 +39,52 @@ func (c *Client) CreateVocabularyFilter(ctx context.Context, params *CreateVocab type CreateVocabularyFilterInput struct { - // The language code of the words in the vocabulary filter. All words in the filter - // must be in the same language. The vocabulary filter can only be used with - // transcription jobs in the specified language. + // The language code that represents the language of the entries in your vocabulary + // filter. Each vocabulary filter must contain terms in only one language. A + // vocabulary filter can only be used to transcribe files in the same language as + // the filter. For example, if you create a vocabulary filter using US English + // (en-US), you can only apply this filter to files that contain English audio. For + // a list of supported languages and their associated language codes, refer to the + // Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. // // This member is required. LanguageCode types.LanguageCode - // The name of your new vocabulary filter. This name is case sensitive, cannot - // contain spaces, and must be unique within an Amazon Web Services account. If you - // try to create a vocabulary filter with the same name as a previous vocabulary - // filter, you get a ConflictException error. + // A unique name, chosen by you, for your new custom vocabulary filter. This name + // is case sensitive, cannot contain spaces, and must be unique within an Amazon + // Web Services account. If you try to create a new vocabulary filter with the same + // name as an existing vocabulary filter, you get a ConflictException error. // // This member is required. VocabularyFilterName *string - // Adds one or more tags, each in the form of a key:value pair, to a new vocabulary - // filter at the time you create this new vocabulary filter. + // Adds one or more custom tags, each in the form of a key:value pair, to a new + // custom vocabulary filter at the time you create this new filter. To learn more + // about using tags with Amazon Transcribe, refer to Tagging resources + // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []types.Tag - // The Amazon S3 location of a text file used as input to create the vocabulary - // filter. Only use characters from the character set defined for custom - // vocabularies. For a list of character sets, see Character Sets for Custom - // Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html). - // Your vocabulary filter file must be less than 50 KB in size. Note that if you - // include VocabularyFilterFileUri in your request, you cannot use Words; you must - // choose one or the other. + // The Amazon S3 location of the text file that contains your custom vocabulary + // filter terms. The URI must be located in the same Amazon Web Services Region as + // the resource you're calling. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt Note that if you include + // VocabularyFilterFileUri in your request, you cannot use Words; you must choose + // one or the other. VocabularyFilterFileUri *string - // The words you want in your vocabulary filter. Only use characters specified in - // the Character sets - // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) for the - // language you're transcribing. Note that if you include Words in your request, - // you cannot use VocabularyFilterFileUri; you must choose one or the other. + // Use this parameter if you want to create your vocabulary filter by including all + // desired terms, as comma-separated values, within your request. The other option + // for creating your vocabulary filter is to save your entries in a text file and + // upload them to an Amazon S3 bucket, then specify the location of your file using + // the VocabularyFilterFileUri parameter. Note that if you include Words in your + // request, you cannot use VocabularyFilterFileUri; you must choose one or the + // other. Each language has a character set that contains all allowed characters + // for that specific language. If you use unsupported characters, your vocabulary + // filter request fails. Refer to Character Sets for Custom Vocabularies + // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) to get the + // character set for your language. Words []string noSmithyDocumentSerde @@ -72,13 +92,15 @@ type CreateVocabularyFilterInput struct { type CreateVocabularyFilterOutput struct { - // The language code associated with your vocabulary filter. + // The language code you selected for your vocabulary filter. LanguageCode types.LanguageCode - // The date and time the vocabulary filter was modified. + // The date and time you created your vocabulary filter. Timestamps are in the + // format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the vocabulary filter. + // The name you chose for your custom vocabulary filter. VocabularyFilterName *string // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_DeleteCallAnalyticsCategory.go b/service/transcribe/api_op_DeleteCallAnalyticsCategory.go index 66b77996da9..a8feb3dd64b 100644 --- a/service/transcribe/api_op_DeleteCallAnalyticsCategory.go +++ b/service/transcribe/api_op_DeleteCallAnalyticsCategory.go @@ -10,8 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a call analytics category. To use this operation, specify the name of -// the category you want to delete using CategoryName. +// Deletes a Call Analytics category. To use this operation, specify the name of +// the category you want to delete using CategoryName. Category names are case +// sensitive. func (c *Client) DeleteCallAnalyticsCategory(ctx context.Context, params *DeleteCallAnalyticsCategoryInput, optFns ...func(*Options)) (*DeleteCallAnalyticsCategoryOutput, error) { if params == nil { params = &DeleteCallAnalyticsCategoryInput{} @@ -29,8 +30,8 @@ func (c *Client) DeleteCallAnalyticsCategory(ctx context.Context, params *Delete type DeleteCallAnalyticsCategoryInput struct { - // The name of the call analytics category you want to delete. Category names are - // case-sensitive. + // The name of the Call Analytics category you want to delete. Category names are + // case sensitive. // // This member is required. CategoryName *string diff --git a/service/transcribe/api_op_DeleteCallAnalyticsJob.go b/service/transcribe/api_op_DeleteCallAnalyticsJob.go index e5b1c9380f2..36b40f7c288 100644 --- a/service/transcribe/api_op_DeleteCallAnalyticsJob.go +++ b/service/transcribe/api_op_DeleteCallAnalyticsJob.go @@ -10,8 +10,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a call analytics job. To use this operation, specify the name of the job -// you want to delete using CallAnalyticsJobName. +// Deletes a Call Analytics job. To use this operation, specify the name of the job +// you want to delete using CallAnalyticsJobName. Job names are case sensitive. func (c *Client) DeleteCallAnalyticsJob(ctx context.Context, params *DeleteCallAnalyticsJobInput, optFns ...func(*Options)) (*DeleteCallAnalyticsJobOutput, error) { if params == nil { params = &DeleteCallAnalyticsJobInput{} @@ -29,8 +29,8 @@ func (c *Client) DeleteCallAnalyticsJob(ctx context.Context, params *DeleteCallA type DeleteCallAnalyticsJobInput struct { - // The name of the call analytics job you want to delete. Job names are - // case-sensitive. + // The name of the Call Analytics job you want to delete. Job names are case + // sensitive. // // This member is required. CallAnalyticsJobName *string diff --git a/service/transcribe/api_op_DeleteLanguageModel.go b/service/transcribe/api_op_DeleteLanguageModel.go index e4fefea8dee..919eb842aaf 100644 --- a/service/transcribe/api_op_DeleteLanguageModel.go +++ b/service/transcribe/api_op_DeleteLanguageModel.go @@ -11,7 +11,8 @@ import ( ) // Deletes a custom language model. To use this operation, specify the name of the -// language model you want to delete using ModelName. +// language model you want to delete using ModelName. Language model names are case +// sensitive. func (c *Client) DeleteLanguageModel(ctx context.Context, params *DeleteLanguageModelInput, optFns ...func(*Options)) (*DeleteLanguageModelOutput, error) { if params == nil { params = &DeleteLanguageModelInput{} @@ -29,7 +30,8 @@ func (c *Client) DeleteLanguageModel(ctx context.Context, params *DeleteLanguage type DeleteLanguageModelInput struct { - // The name of the model you want to delete. Model names are case-sensitive. + // The name of the custom language model you want to delete. Model names are case + // sensitive. // // This member is required. ModelName *string diff --git a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go index f0966d3da0e..796eb7f6bd7 100644 --- a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go @@ -10,9 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a medical transcription job, along with any related information. To use -// this operation, specify the name of the job you want to delete using -// MedicalTranscriptionJobName. +// Deletes a medical transcription job. To use this operation, specify the name of +// the job you want to delete using MedicalTranscriptionJobName. Job names are case +// sensitive. func (c *Client) DeleteMedicalTranscriptionJob(ctx context.Context, params *DeleteMedicalTranscriptionJobInput, optFns ...func(*Options)) (*DeleteMedicalTranscriptionJobOutput, error) { if params == nil { params = &DeleteMedicalTranscriptionJobInput{} @@ -30,8 +30,8 @@ func (c *Client) DeleteMedicalTranscriptionJob(ctx context.Context, params *Dele type DeleteMedicalTranscriptionJobInput struct { - // The name of the medical transcription job you want to delete. Job names are - // case-sensitive. + // The name of the medical transcription job you want to delete. Job names are case + // sensitive. // // This member is required. MedicalTranscriptionJobName *string diff --git a/service/transcribe/api_op_DeleteMedicalVocabulary.go b/service/transcribe/api_op_DeleteMedicalVocabulary.go index 2a07ef6a66c..e8cfd58e8c4 100644 --- a/service/transcribe/api_op_DeleteMedicalVocabulary.go +++ b/service/transcribe/api_op_DeleteMedicalVocabulary.go @@ -11,7 +11,8 @@ import ( ) // Deletes a custom medical vocabulary. To use this operation, specify the name of -// the vocabulary you want to delete using VocabularyName. +// the vocabulary you want to delete using VocabularyName. Vocabulary names are +// case sensitive. func (c *Client) DeleteMedicalVocabulary(ctx context.Context, params *DeleteMedicalVocabularyInput, optFns ...func(*Options)) (*DeleteMedicalVocabularyOutput, error) { if params == nil { params = &DeleteMedicalVocabularyInput{} @@ -29,8 +30,8 @@ func (c *Client) DeleteMedicalVocabulary(ctx context.Context, params *DeleteMedi type DeleteMedicalVocabularyInput struct { - // The name of the vocabulary that you want to delete. Vocabulary names are - // case-sensitive. + // The name of the custom medical vocabulary you want to delete. Vocabulary names + // are case sensitive. // // This member is required. VocabularyName *string diff --git a/service/transcribe/api_op_DeleteTranscriptionJob.go b/service/transcribe/api_op_DeleteTranscriptionJob.go index b0adde98ec1..95545e570b5 100644 --- a/service/transcribe/api_op_DeleteTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteTranscriptionJob.go @@ -10,9 +10,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a transcription job, along with any related information. To use this -// operation, specify the name of the job you want to delete using -// TranscriptionJobName. +// Deletes a transcription job. To use this operation, specify the name of the job +// you want to delete using TranscriptionJobName. Job names are case sensitive. func (c *Client) DeleteTranscriptionJob(ctx context.Context, params *DeleteTranscriptionJobInput, optFns ...func(*Options)) (*DeleteTranscriptionJobOutput, error) { if params == nil { params = &DeleteTranscriptionJobInput{} @@ -30,8 +29,8 @@ func (c *Client) DeleteTranscriptionJob(ctx context.Context, params *DeleteTrans type DeleteTranscriptionJobInput struct { - // The name of the transcription job you want to delete. Job names are - // case-sensitive. + // The name of the transcription job you want to delete. Job names are case + // sensitive. // // This member is required. TranscriptionJobName *string diff --git a/service/transcribe/api_op_DeleteVocabulary.go b/service/transcribe/api_op_DeleteVocabulary.go index 4f624443412..138f841f723 100644 --- a/service/transcribe/api_op_DeleteVocabulary.go +++ b/service/transcribe/api_op_DeleteVocabulary.go @@ -11,7 +11,8 @@ import ( ) // Deletes a custom vocabulary. To use this operation, specify the name of the -// vocabulary you want to delete using VocabularyName. +// vocabulary you want to delete using VocabularyName. Vocabulary names are case +// sensitive. func (c *Client) DeleteVocabulary(ctx context.Context, params *DeleteVocabularyInput, optFns ...func(*Options)) (*DeleteVocabularyOutput, error) { if params == nil { params = &DeleteVocabularyInput{} @@ -29,8 +30,8 @@ func (c *Client) DeleteVocabulary(ctx context.Context, params *DeleteVocabularyI type DeleteVocabularyInput struct { - // The name of the vocabulary you want to delete. Vocabulary names are - // case-sensitive. + // The name of the custom vocabulary you want to delete. Vocabulary names are case + // sensitive. // // This member is required. VocabularyName *string diff --git a/service/transcribe/api_op_DeleteVocabularyFilter.go b/service/transcribe/api_op_DeleteVocabularyFilter.go index d43b3eec5a5..f93fcd161f7 100644 --- a/service/transcribe/api_op_DeleteVocabularyFilter.go +++ b/service/transcribe/api_op_DeleteVocabularyFilter.go @@ -11,7 +11,8 @@ import ( ) // Deletes a vocabulary filter. To use this operation, specify the name of the -// vocabulary filter you want to delete using VocabularyFilterName. +// vocabulary filter you want to delete using VocabularyFilterName. Vocabulary +// filter names are case sensitive. func (c *Client) DeleteVocabularyFilter(ctx context.Context, params *DeleteVocabularyFilterInput, optFns ...func(*Options)) (*DeleteVocabularyFilterOutput, error) { if params == nil { params = &DeleteVocabularyFilterInput{} @@ -29,8 +30,8 @@ func (c *Client) DeleteVocabularyFilter(ctx context.Context, params *DeleteVocab type DeleteVocabularyFilterInput struct { - // The name of the vocabulary filter you want to delete. Vocabulary filter names - // are case-sensitive. + // The name of the custom vocabulary filter you want to delete. Vocabulary filter + // names are case sensitive. // // This member is required. VocabularyFilterName *string diff --git a/service/transcribe/api_op_DescribeLanguageModel.go b/service/transcribe/api_op_DescribeLanguageModel.go index d54b926f9e8..80dca7ede95 100644 --- a/service/transcribe/api_op_DescribeLanguageModel.go +++ b/service/transcribe/api_op_DescribeLanguageModel.go @@ -11,13 +11,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Provides information about a specific custom language model in your Amazon Web -// Services account. This operation also shows if the base language model you used -// to create your custom language model has been updated. If Amazon Transcribe has -// updated the base model, you can create a new custom language model using the -// updated base model. If you tried to create a new custom language model and the -// request wasn't successful, you can use this operation to help identify the -// reason. +// Provides information about the specified custom language model. This operation +// also shows if the base language model you used to create your custom language +// model has been updated. If Amazon Transcribe has updated the base model, you can +// create a new custom language model using the updated base model. If you tried to +// create a new custom language model and the request wasn't successful, you can +// use DescribeLanguageModel to help identify the reason for this failure. To get a +// list of your custom language models, use the operation. func (c *Client) DescribeLanguageModel(ctx context.Context, params *DescribeLanguageModelInput, optFns ...func(*Options)) (*DescribeLanguageModelOutput, error) { if params == nil { params = &DescribeLanguageModelInput{} @@ -35,8 +35,8 @@ func (c *Client) DescribeLanguageModel(ctx context.Context, params *DescribeLang type DescribeLanguageModelInput struct { - // The name of the custom language model you want described. Model names are - // case-sensitive. + // The name of the custom language model you want information about. Model names + // are case sensitive. // // This member is required. ModelName *string @@ -46,7 +46,12 @@ type DescribeLanguageModelInput struct { type DescribeLanguageModelOutput struct { - // The name of the custom language model you requested more information about. + // Provides information about the specified custom language model. This parameter + // also shows if the base language model you used to create your custom language + // model has been updated. If Amazon Transcribe has updated the base model, you can + // create a new custom language model using the updated base model. If you tried to + // create a new custom language model and the request wasn't successful, you can + // use this DescribeLanguageModel to help identify the reason for this failure. LanguageModel *types.LanguageModel // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_GetCallAnalyticsCategory.go b/service/transcribe/api_op_GetCallAnalyticsCategory.go index 79c177c3f8d..c58d7e2e21d 100644 --- a/service/transcribe/api_op_GetCallAnalyticsCategory.go +++ b/service/transcribe/api_op_GetCallAnalyticsCategory.go @@ -11,7 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves information about a call analytics category. +// Provides information about the specified Call Analytics category. To get a list +// of your Call Analytics categories, use the operation. func (c *Client) GetCallAnalyticsCategory(ctx context.Context, params *GetCallAnalyticsCategoryInput, optFns ...func(*Options)) (*GetCallAnalyticsCategoryOutput, error) { if params == nil { params = &GetCallAnalyticsCategoryInput{} @@ -29,8 +30,8 @@ func (c *Client) GetCallAnalyticsCategory(ctx context.Context, params *GetCallAn type GetCallAnalyticsCategoryInput struct { - // The name of the category you want information about. Category names are case - // sensitive. + // The name of the Call Analytics category you want information about. Category + // names are case sensitive. // // This member is required. CategoryName *string @@ -40,8 +41,8 @@ type GetCallAnalyticsCategoryInput struct { type GetCallAnalyticsCategoryOutput struct { - // Provides you with the rules associated with the category you specified in your - // GetCallAnalyticsCategory request. + // Provides you with the properties of the Call Analytics category you specified in + // your GetCallAnalyticsCategory request. CategoryProperties *types.CategoryProperties // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_GetCallAnalyticsJob.go b/service/transcribe/api_op_GetCallAnalyticsJob.go index 4de2552094b..552f513722b 100644 --- a/service/transcribe/api_op_GetCallAnalyticsJob.go +++ b/service/transcribe/api_op_GetCallAnalyticsJob.go @@ -11,12 +11,16 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves information about a call analytics job. To view the job's status, -// refer to the CallAnalyticsJobStatus field. If the status is COMPLETED, the job -// is finished. You can then find your transcript at the URI specified in the -// TranscriptFileUri field. If you enabled personally identifiable information -// (PII) redaction, the redacted transcript appears in the -// RedactedTranscriptFileUri field. +// Provides information about the specified Call Analytics job. To view the job's +// status, refer to CallAnalyticsJobStatus. If the status is COMPLETED, the job is +// finished. You can find your completed transcript at the URI specified in +// TranscriptFileUri. If the status is FAILED, FailureReason provides details on +// why your transcription job failed. If you enabled personally identifiable +// information (PII) redaction, the redacted transcript appears at the location +// specified in RedactedTranscriptFileUri. If you chose to redact the audio in your +// media file, you can find your redacted media file at the location specified in +// RedactedMediaFileUri. To get a list of your Call Analytics jobs, use the +// operation. func (c *Client) GetCallAnalyticsJob(ctx context.Context, params *GetCallAnalyticsJobInput, optFns ...func(*Options)) (*GetCallAnalyticsJobOutput, error) { if params == nil { params = &GetCallAnalyticsJobInput{} @@ -34,8 +38,8 @@ func (c *Client) GetCallAnalyticsJob(ctx context.Context, params *GetCallAnalyti type GetCallAnalyticsJobInput struct { - // The name of the analytics job you want information about. This value is case - // sensitive. + // The name of the Call Analytics job you want information about. Job names are + // case sensitive. // // This member is required. CallAnalyticsJobName *string @@ -45,11 +49,8 @@ type GetCallAnalyticsJobInput struct { type GetCallAnalyticsJobOutput struct { - // An object that contains detailed information about your call analytics job. - // Returned fields include: CallAnalyticsJobName, CallAnalyticsJobStatus, - // ChannelDefinitions, CompletionTime, CreationTime, DataAccessRoleArn, - // FailureReason, IdentifiedLanguageScore, LanguageCode, Media, MediaFormat, - // MediaSampleRateHertz, Settings, StartTime, and Transcript. + // Provides detailed information about the specified Call Analytics job, including + // job status and, if applicable, failure reason. CallAnalyticsJob *types.CallAnalyticsJob // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_GetMedicalTranscriptionJob.go b/service/transcribe/api_op_GetMedicalTranscriptionJob.go index 61140fe4379..684d35ee6ca 100644 --- a/service/transcribe/api_op_GetMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_GetMedicalTranscriptionJob.go @@ -11,10 +11,12 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Retrieves information about a medical transcription job. To view the job's -// status, refer to the TranscriptionJobStatus field. If the status is COMPLETED, -// the job is finished. You can then find your transcript at the URI specified in -// the TranscriptFileUri field. +// Provides information about the specified medical transcription job. To view the +// status of the specified medical transcription job, check the +// TranscriptionJobStatus field. If the status is COMPLETED, the job is finished +// and you can find the results at the location specified in TranscriptFileUri. If +// the status is FAILED, FailureReason provides details on why your transcription +// job failed. To get a list of your medical transcription jobs, use the operation. func (c *Client) GetMedicalTranscriptionJob(ctx context.Context, params *GetMedicalTranscriptionJobInput, optFns ...func(*Options)) (*GetMedicalTranscriptionJobOutput, error) { if params == nil { params = &GetMedicalTranscriptionJobInput{} @@ -32,8 +34,8 @@ func (c *Client) GetMedicalTranscriptionJob(ctx context.Context, params *GetMedi type GetMedicalTranscriptionJobInput struct { - // The name of the medical transcription job you want information about. This value - // is case sensitive. + // The name of the medical transcription job you want information about. Job names + // are case sensitive. // // This member is required. MedicalTranscriptionJobName *string @@ -43,11 +45,8 @@ type GetMedicalTranscriptionJobInput struct { type GetMedicalTranscriptionJobOutput struct { - // An object that contains detailed information about your medical transcription - // job. Returned fields include: CompletionTime, ContentIdentificationType, - // CreationTime, FailureReason, LanguageCode, Media, MediaFormat, - // MediaSampleRateHertz, MedicalTranscriptionJobName, Settings, Specialty, - // StartTime, Tags, Transcript, TranscriptionJobStatus, and Type. + // Provides detailed information about the specified medical transcription job, + // including job status and, if applicable, failure reason. MedicalTranscriptionJob *types.MedicalTranscriptionJob // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_GetMedicalVocabulary.go b/service/transcribe/api_op_GetMedicalVocabulary.go index f43e390aae1..021a2e2a5b5 100644 --- a/service/transcribe/api_op_GetMedicalVocabulary.go +++ b/service/transcribe/api_op_GetMedicalVocabulary.go @@ -12,7 +12,11 @@ import ( "time" ) -// Retrieves information about a medical vocabulary. +// Provides information about the specified custom medical vocabulary. To view the +// status of the specified medical vocabulary, check the VocabularyState field. If +// the status is READY, your vocabulary is available to use. If the status is +// FAILED, FailureReason provides details on why your vocabulary failed. To get a +// list of your custom medical vocabularies, use the operation. func (c *Client) GetMedicalVocabulary(ctx context.Context, params *GetMedicalVocabularyInput, optFns ...func(*Options)) (*GetMedicalVocabularyOutput, error) { if params == nil { params = &GetMedicalVocabularyInput{} @@ -30,8 +34,8 @@ func (c *Client) GetMedicalVocabulary(ctx context.Context, params *GetMedicalVoc type GetMedicalVocabularyInput struct { - // The name of the medical vocabulary you want information about. This value is - // case sensitive. + // The name of the custom medical vocabulary you want information about. Vocabulary + // names are case sensitive. // // This member is required. VocabularyName *string @@ -41,29 +45,29 @@ type GetMedicalVocabularyInput struct { type GetMedicalVocabularyOutput struct { - // The S3 location where the vocabulary is stored; use this URI to view or download - // the vocabulary. + // The S3 location where the specified medical vocabulary is stored; use this URI + // to view or download the vocabulary. DownloadUri *string - // If your request returns a VocabularyState that is FAILED, the FailureReason - // field contains information about why the request failed. For more information, - // refer to the Common Errors - // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html) - // section. + // If VocabularyState is FAILED, FailureReason contains information about why the + // medical vocabulary request failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // The valid language code for your vocabulary entries. + // The language code you selected for your medical vocabulary. US English (en-US) + // is the only language supported with Amazon Transcribe Medical. LanguageCode types.LanguageCode - // The date and time that the vocabulary was last modified with a text file - // different from the one that was previously used. + // The date and time the specified custom medical vocabulary was last modified. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the vocabulary returned by Amazon Transcribe Medical. + // The name of the custom medical vocabulary you requested information about. VocabularyName *string - // The processing state of the vocabulary. If the VocabularyState is READY then you - // can use it in the StartMedicalTranscriptionJob operation. + // The processing state of your custom medical vocabulary. If the state is READY, + // you can use the vocabulary in a StartMedicalTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_GetTranscriptionJob.go b/service/transcribe/api_op_GetTranscriptionJob.go index 50c8d851eb6..b0493ece22c 100644 --- a/service/transcribe/api_op_GetTranscriptionJob.go +++ b/service/transcribe/api_op_GetTranscriptionJob.go @@ -11,11 +11,14 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns information about a transcription job. To see the status of the job, -// check the TranscriptionJobStatus field. If the status is COMPLETED, the job is -// finished and you can find the results at the location specified in the -// TranscriptFileUri field. If you enable content redaction, the redacted -// transcript appears in RedactedTranscriptFileUri. +// Provides information about the specified transcription job. To view the status +// of the specified transcription job, check the TranscriptionJobStatus field. If +// the status is COMPLETED, the job is finished and you can find the results at the +// location specified in TranscriptFileUri. If the status is FAILED, FailureReason +// provides details on why your transcription job failed. If you enabled content +// redaction, the redacted transcript can be found at the location specified in +// RedactedTranscriptFileUri. To get a list of your transcription jobs, use the +// operation. func (c *Client) GetTranscriptionJob(ctx context.Context, params *GetTranscriptionJobInput, optFns ...func(*Options)) (*GetTranscriptionJobOutput, error) { if params == nil { params = &GetTranscriptionJobInput{} @@ -33,7 +36,8 @@ func (c *Client) GetTranscriptionJob(ctx context.Context, params *GetTranscripti type GetTranscriptionJobInput struct { - // The name of the job. + // The name of the transcription job you want information about. Job names are case + // sensitive. // // This member is required. TranscriptionJobName *string @@ -43,7 +47,8 @@ type GetTranscriptionJobInput struct { type GetTranscriptionJobOutput struct { - // An object that contains the results of the transcription job. + // Provides detailed information about the specified transcription job, including + // job status and, if applicable, failure reason. TranscriptionJob *types.TranscriptionJob // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_GetVocabulary.go b/service/transcribe/api_op_GetVocabulary.go index dbd04fcf1d0..17aa0468862 100644 --- a/service/transcribe/api_op_GetVocabulary.go +++ b/service/transcribe/api_op_GetVocabulary.go @@ -12,7 +12,11 @@ import ( "time" ) -// Gets information about a vocabulary. +// Provides information about the specified custom vocabulary. To view the status +// of the specified vocabulary, check the VocabularyState field. If the status is +// READY, your vocabulary is available to use. If the status is FAILED, +// FailureReason provides details on why your vocabulary failed. To get a list of +// your custom vocabularies, use the operation. func (c *Client) GetVocabulary(ctx context.Context, params *GetVocabularyInput, optFns ...func(*Options)) (*GetVocabularyOutput, error) { if params == nil { params = &GetVocabularyInput{} @@ -30,8 +34,8 @@ func (c *Client) GetVocabulary(ctx context.Context, params *GetVocabularyInput, type GetVocabularyInput struct { - // The name of the vocabulary to return information about. The name is case - // sensitive. + // The name of the custom vocabulary you want information about. Vocabulary names + // are case sensitive. // // This member is required. VocabularyName *string @@ -41,24 +45,28 @@ type GetVocabularyInput struct { type GetVocabularyOutput struct { - // The S3 location where the vocabulary is stored. Use this URI to get the contents - // of the vocabulary. The URI is available for a limited time. + // The S3 location where the vocabulary is stored; use this URI to view or download + // the vocabulary. DownloadUri *string - // If the VocabularyState field is FAILED, this field contains information about - // why the job failed. + // If VocabularyState is FAILED, FailureReason contains information about why the + // vocabulary request failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // The language code of the vocabulary entries. + // The language code you selected for your custom vocabulary. LanguageCode types.LanguageCode - // The date and time that the vocabulary was last modified. + // The date and time the specified vocabulary was last modified. Timestamps are in + // the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the vocabulary to return. + // The name of the custom vocabulary you requested information about. VocabularyName *string - // The processing state of the vocabulary. + // The processing state of your custom vocabulary. If the state is READY, you can + // use the vocabulary in a StartTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_GetVocabularyFilter.go b/service/transcribe/api_op_GetVocabularyFilter.go index ef32a1bff5c..02f970c6cc9 100644 --- a/service/transcribe/api_op_GetVocabularyFilter.go +++ b/service/transcribe/api_op_GetVocabularyFilter.go @@ -12,7 +12,11 @@ import ( "time" ) -// Returns information about a vocabulary filter. +// Provides information about the specified custom vocabulary filter. To view the +// status of the specified vocabulary filter, check the VocabularyState field. If +// the status is READY, your vocabulary is available to use. If the status is +// FAILED, FailureReason provides details on why your vocabulary filter failed. To +// get a list of your custom vocabulary filters, use the operation. func (c *Client) GetVocabularyFilter(ctx context.Context, params *GetVocabularyFilterInput, optFns ...func(*Options)) (*GetVocabularyFilterOutput, error) { if params == nil { params = &GetVocabularyFilterInput{} @@ -30,7 +34,8 @@ func (c *Client) GetVocabularyFilter(ctx context.Context, params *GetVocabularyF type GetVocabularyFilterInput struct { - // The name of the vocabulary filter for which to return information. + // The name of the custom vocabulary filter you want information about. Vocabulary + // filter names are case sensitive. // // This member is required. VocabularyFilterName *string @@ -40,17 +45,19 @@ type GetVocabularyFilterInput struct { type GetVocabularyFilterOutput struct { - // The URI of the list of words in the vocabulary filter. You can use this URI to - // get the list of words. + // The Amazon S3 location where the vocabulary filter is stored; use this URI to + // view or download the vocabulary filter. DownloadUri *string - // The language code of the words in the vocabulary filter. + // The language code you selected for your vocabulary filter. LanguageCode types.LanguageCode - // The date and time that the contents of the vocabulary filter were updated. + // The date and time the specified vocabulary filter was last modified. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the vocabulary filter. + // The name of the custom vocabulary filter you requested information about. VocabularyFilterName *string // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_ListCallAnalyticsCategories.go b/service/transcribe/api_op_ListCallAnalyticsCategories.go index 6448d06d18e..48236fa91e6 100644 --- a/service/transcribe/api_op_ListCallAnalyticsCategories.go +++ b/service/transcribe/api_op_ListCallAnalyticsCategories.go @@ -12,9 +12,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Provides more information about the call analytics categories that you've -// created. You can use the information in this list to find a specific category. -// You can then use the operation to get more information about it. +// Provides a list of Call Analytics categories, including all rules that make up +// each category. To get detailed information about a specific Call Analytics +// category, use the operation. func (c *Client) ListCallAnalyticsCategories(ctx context.Context, params *ListCallAnalyticsCategoriesInput, optFns ...func(*Options)) (*ListCallAnalyticsCategoriesOutput, error) { if params == nil { params = &ListCallAnalyticsCategoriesInput{} @@ -32,13 +32,16 @@ func (c *Client) ListCallAnalyticsCategories(ctx context.Context, params *ListCa type ListCallAnalyticsCategoriesInput struct { - // The maximum number of categories to return in each page of results. If there are - // fewer results than the value you specify, only the actual results are returned. - // If you do not specify a value, the default of 5 is used. + // The maximum number of Call Analytics categories to return in each page of + // results. If there are fewer results than the value you specify, only the actual + // results are returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // When included, NextTokenfetches the next set of categories if the result of the - // previous request was truncated. + // If your ListCallAnalyticsCategories request returns more results than can be + // displayed, NextToken is displayed in the response with an associated string. To + // get the next page of results, copy this string and repeat your request, + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string noSmithyDocumentSerde @@ -46,14 +49,15 @@ type ListCallAnalyticsCategoriesInput struct { type ListCallAnalyticsCategoriesOutput struct { - // A list of objects containing information about analytics categories. + // Provides detailed information about your Call Analytics categories, including + // all the rules associated with each category. Categories []types.CategoryProperties - // The operation returns a page of jobs at a time. The maximum size of the list is - // set by the MaxResults parameter. If there are more categories in the list than - // the page size, Amazon Transcribe returns the NextPage token. Include the token - // in the next request to the operation to return the next page of analytics - // categories. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string // Metadata pertaining to the operation's result. @@ -133,9 +137,9 @@ var _ ListCallAnalyticsCategoriesAPIClient = (*Client)(nil) // ListCallAnalyticsCategoriesPaginatorOptions is the paginator options for // ListCallAnalyticsCategories type ListCallAnalyticsCategoriesPaginatorOptions struct { - // The maximum number of categories to return in each page of results. If there are - // fewer results than the value you specify, only the actual results are returned. - // If you do not specify a value, the default of 5 is used. + // The maximum number of Call Analytics categories to return in each page of + // results. If there are fewer results than the value you specify, only the actual + // results are returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_ListCallAnalyticsJobs.go b/service/transcribe/api_op_ListCallAnalyticsJobs.go index 2e3b6205b9c..bede0083b25 100644 --- a/service/transcribe/api_op_ListCallAnalyticsJobs.go +++ b/service/transcribe/api_op_ListCallAnalyticsJobs.go @@ -12,8 +12,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// List call analytics jobs with a specified status or substring that matches their -// names. +// Provides a list of Call Analytics jobs that match the specified criteria. If no +// criteria are specified, all Call Analytics jobs are returned. To get detailed +// information about a specific Call Analytics job, use the operation. func (c *Client) ListCallAnalyticsJobs(ctx context.Context, params *ListCallAnalyticsJobsInput, optFns ...func(*Options)) (*ListCallAnalyticsJobsOutput, error) { if params == nil { params = &ListCallAnalyticsJobsInput{} @@ -31,23 +32,25 @@ func (c *Client) ListCallAnalyticsJobs(ctx context.Context, params *ListCallAnal type ListCallAnalyticsJobsInput struct { - // When specified, the jobs returned in the list are limited to jobs whose name - // contains the specified string. + // Returns only the Call Analytics jobs that contain the specified string. The + // search is not case sensitive. JobNameContains *string - // The maximum number of call analytics jobs to return in each page of results. If + // The maximum number of Call Analytics jobs to return in each page of results. If // there are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // If you receive a truncated result in the previous request of , include NextToken - // to fetch the next set of jobs. + // If your ListCallAnalyticsJobs request returns more results than can be + // displayed, NextToken is displayed in the response with an associated string. To + // get the next page of results, copy this string and repeat your request, + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // When specified, returns only call analytics jobs with the specified status. Jobs - // are ordered by creation date, with the most recent jobs returned first. If you - // don't specify a status, Amazon Transcribe returns all analytics jobs ordered by - // creation date. + // Returns only Call Analytics jobs with the specified status. Jobs are ordered by + // creation date, with the newest job first. If you don't include Status, all Call + // Analytics jobs are returned. Status types.CallAnalyticsJobStatus noSmithyDocumentSerde @@ -55,19 +58,18 @@ type ListCallAnalyticsJobsInput struct { type ListCallAnalyticsJobsOutput struct { - // A list of objects containing summary information for a transcription job. + // Provides a summary of information about each result. CallAnalyticsJobSummaries []types.CallAnalyticsJobSummary - // The operation returns a page of jobs at a time. The maximum size of the page is - // set by the MaxResults parameter. If there are more jobs in the list than the - // page size, Amazon Transcribe returns the NextPage token. Include the token in - // your next request to the operation to return next page of jobs. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // When specified, returns only call analytics jobs with that status. Jobs are - // ordered by creation date, with the most recent jobs returned first. If you don't - // specify a status, Amazon Transcribe returns all transcription jobs ordered by - // creation date. + // Lists all Call Analytics jobs that have the status specified in your request. + // Jobs are ordered by creation date, with the newest job first. Status types.CallAnalyticsJobStatus // Metadata pertaining to the operation's result. @@ -147,9 +149,9 @@ var _ ListCallAnalyticsJobsAPIClient = (*Client)(nil) // ListCallAnalyticsJobsPaginatorOptions is the paginator options for // ListCallAnalyticsJobs type ListCallAnalyticsJobsPaginatorOptions struct { - // The maximum number of call analytics jobs to return in each page of results. If + // The maximum number of Call Analytics jobs to return in each page of results. If // there are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_ListLanguageModels.go b/service/transcribe/api_op_ListLanguageModels.go index 181aed237a6..0c5acdf4aa7 100644 --- a/service/transcribe/api_op_ListLanguageModels.go +++ b/service/transcribe/api_op_ListLanguageModels.go @@ -12,9 +12,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Provides more information about the custom language models you've created. You -// can use the information in this list to find a specific custom language model. -// You can then use the operation to get more information about it. +// Provides a list of custom language models that match the specified criteria. If +// no criteria are specified, all language models are returned. To get detailed +// information about a specific custom language model, use the operation. func (c *Client) ListLanguageModels(ctx context.Context, params *ListLanguageModelsInput, optFns ...func(*Options)) (*ListLanguageModelsOutput, error) { if params == nil { params = &ListLanguageModelsInput{} @@ -32,23 +32,25 @@ func (c *Client) ListLanguageModels(ctx context.Context, params *ListLanguageMod type ListLanguageModelsInput struct { - // The maximum number of language models to return in each page of results. If - // there are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // The maximum number of custom language models to return in each page of results. + // If there are fewer results than the value you specify, only the actual results + // are returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // When specified, the custom language model names returned contain the substring - // you've specified. + // Returns only the custom language models that contain the specified string. The + // search is not case sensitive. NameContains *string - // When included, fetches the next set of jobs if the result of the previous - // request was truncated. + // If your ListLanguageModels request returns more results than can be displayed, + // NextToken is displayed in the response with an associated string. To get the + // next page of results, copy this string and repeat your request, including + // NextToken with the value of the copied string. Repeat as needed to view all your + // results. NextToken *string - // When specified, returns only custom language models with the specified status. - // Language models are ordered by creation date, with the newest models first. If - // you don't specify a status, Amazon Transcribe returns all custom language models - // ordered by date. + // Returns only custom language models with the specified status. Language models + // are ordered by creation date, with the newest model first. If you don't include + // StatusEquals, all custom language models are returned. StatusEquals types.ModelStatus noSmithyDocumentSerde @@ -56,14 +58,15 @@ type ListLanguageModelsInput struct { type ListLanguageModelsOutput struct { - // A list of objects containing information about custom language models. + // Provides information about the custom language models that match the criteria + // specified in your request. Models []types.LanguageModel - // The operation returns a page of jobs at a time. The maximum size of the list is - // set by the MaxResults parameter. If there are more language models in the list - // than the page size, Amazon Transcribe returns the NextPage token. Include the - // token in the next request to the operation to return the next page of language - // models. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string // Metadata pertaining to the operation's result. @@ -143,9 +146,9 @@ var _ ListLanguageModelsAPIClient = (*Client)(nil) // ListLanguageModelsPaginatorOptions is the paginator options for // ListLanguageModels type ListLanguageModelsPaginatorOptions struct { - // The maximum number of language models to return in each page of results. If - // there are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // The maximum number of custom language models to return in each page of results. + // If there are fewer results than the value you specify, only the actual results + // are returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go index c256743e41c..1711a119f20 100644 --- a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go +++ b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go @@ -12,8 +12,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists medical transcription jobs with a specified status or substring that -// matches their names. +// Provides a list of medical transcription jobs that match the specified criteria. +// If no criteria are specified, all medical transcription jobs are returned. To +// get detailed information about a specific medical transcription job, use the +// operation. func (c *Client) ListMedicalTranscriptionJobs(ctx context.Context, params *ListMedicalTranscriptionJobsInput, optFns ...func(*Options)) (*ListMedicalTranscriptionJobsOutput, error) { if params == nil { params = &ListMedicalTranscriptionJobsInput{} @@ -31,23 +33,25 @@ func (c *Client) ListMedicalTranscriptionJobs(ctx context.Context, params *ListM type ListMedicalTranscriptionJobsInput struct { - // When specified, the jobs returned in the list are limited to jobs whose name - // contains the specified string. + // Returns only the medical transcription jobs that contain the specified string. + // The search is not case sensitive. JobNameContains *string // The maximum number of medical transcription jobs to return in each page of // results. If there are fewer results than the value you specify, only the actual - // results are returned. If you do not specify a value, the default of 5 is used. + // results are returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // If you a receive a truncated result in the previous request of - // ListMedicalTranscriptionJobs, include NextToken to fetch the next set of jobs. + // If your ListMedicalTranscriptionJobs request returns more results than can be + // displayed, NextToken is displayed in the response with an associated string. To + // get the next page of results, copy this string and repeat your request, + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // When specified, returns only medical transcription jobs with the specified - // status. Jobs are ordered by creation date, with the newest jobs returned first. - // If you don't specify a status, Amazon Transcribe Medical returns all - // transcription jobs ordered by creation date. + // Returns only medical transcription jobs with the specified status. Jobs are + // ordered by creation date, with the newest job first. If you don't include + // Status, all medical transcription jobs are returned. Status types.TranscriptionJobStatus noSmithyDocumentSerde @@ -55,17 +59,18 @@ type ListMedicalTranscriptionJobsInput struct { type ListMedicalTranscriptionJobsOutput struct { - // A list of objects containing summary information for a transcription job. + // Provides a summary of information about each result. MedicalTranscriptionJobSummaries []types.MedicalTranscriptionJobSummary - // The ListMedicalTranscriptionJobs operation returns a page of jobs at a time. The - // maximum size of the page is set by the MaxResults parameter. If the number of - // jobs exceeds what can fit on a page, Amazon Transcribe Medical returns the - // NextPage token. Include the token in the next request to the - // ListMedicalTranscriptionJobs operation to return in the next page of jobs. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // The requested status of the medical transcription jobs returned. + // Lists all medical transcription jobs that have the status specified in your + // request. Jobs are ordered by creation date, with the newest job first. Status types.TranscriptionJobStatus // Metadata pertaining to the operation's result. @@ -147,7 +152,7 @@ var _ ListMedicalTranscriptionJobsAPIClient = (*Client)(nil) type ListMedicalTranscriptionJobsPaginatorOptions struct { // The maximum number of medical transcription jobs to return in each page of // results. If there are fewer results than the value you specify, only the actual - // results are returned. If you do not specify a value, the default of 5 is used. + // results are returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_ListMedicalVocabularies.go b/service/transcribe/api_op_ListMedicalVocabularies.go index fcd7183bd27..7a8716b2677 100644 --- a/service/transcribe/api_op_ListMedicalVocabularies.go +++ b/service/transcribe/api_op_ListMedicalVocabularies.go @@ -12,9 +12,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns a list of vocabularies that match the specified criteria. If you don't -// enter a value in any of the request parameters, returns the entire list of -// vocabularies. +// Provides a list of custom medical vocabularies that match the specified +// criteria. If no criteria are specified, all custom medical vocabularies are +// returned. To get detailed information about a specific custom medical +// vocabulary, use the operation. func (c *Client) ListMedicalVocabularies(ctx context.Context, params *ListMedicalVocabulariesInput, optFns ...func(*Options)) (*ListMedicalVocabulariesOutput, error) { if params == nil { params = &ListMedicalVocabulariesInput{} @@ -32,23 +33,25 @@ func (c *Client) ListMedicalVocabularies(ctx context.Context, params *ListMedica type ListMedicalVocabulariesInput struct { - // The maximum number of vocabularies to return in each page of results. If there - // are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // The maximum number of custom medical vocabularies to return in each page of + // results. If there are fewer results than the value you specify, only the actual + // results are returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // Returns vocabularies whose names contain the specified string. The search is not - // case sensitive. ListMedicalVocabularies returns both "vocabularyname" and - // "VocabularyName". + // Returns only the custom medical vocabularies that contain the specified string. + // The search is not case sensitive. NameContains *string - // If the result of your previous request to ListMedicalVocabularies was truncated, - // include the NextToken to fetch the next set of vocabularies. + // If your ListMedicalVocabularies request returns more results than can be + // displayed, NextToken is displayed in the response with an associated string. To + // get the next page of results, copy this string and repeat your request, + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // When specified, returns only vocabularies with the VocabularyState equal to the - // specified vocabulary state. Use this field to see which vocabularies are ready - // for your medical transcription jobs. + // Returns only custom medical vocabularies with the specified state. Vocabularies + // are ordered by creation date, with the newest vocabulary first. If you don't + // include StateEquals, all custom medical vocabularies are returned. StateEquals types.VocabularyState noSmithyDocumentSerde @@ -56,19 +59,20 @@ type ListMedicalVocabulariesInput struct { type ListMedicalVocabulariesOutput struct { - // The ListMedicalVocabularies operation returns a page of vocabularies at a time. - // You set the maximum number of vocabularies to return on a page with the - // MaxResults parameter. If there are more jobs in the list will fit on a page, - // Amazon Transcribe Medical returns the NextPage token. To return the next page of - // vocabularies, include the token in the next request to the - // ListMedicalVocabularies operation. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // The requested vocabulary state. + // Lists all custom medical vocabularies that have the status specified in your + // request. Vocabularies are ordered by creation date, with the newest vocabulary + // first. Status types.VocabularyState - // A list of objects that describe the vocabularies that match your search - // criteria. + // Provides information about the custom medical vocabularies that match the + // criteria specified in your request. Vocabularies []types.VocabularyInfo // Metadata pertaining to the operation's result. @@ -148,9 +152,9 @@ var _ ListMedicalVocabulariesAPIClient = (*Client)(nil) // ListMedicalVocabulariesPaginatorOptions is the paginator options for // ListMedicalVocabularies type ListMedicalVocabulariesPaginatorOptions struct { - // The maximum number of vocabularies to return in each page of results. If there - // are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // The maximum number of custom medical vocabularies to return in each page of + // results. If there are fewer results than the value you specify, only the actual + // results are returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_ListTagsForResource.go b/service/transcribe/api_op_ListTagsForResource.go index ed6ccb42739..89878e18892 100644 --- a/service/transcribe/api_op_ListTagsForResource.go +++ b/service/transcribe/api_op_ListTagsForResource.go @@ -11,8 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists all tags associated with a given transcription job, vocabulary, or -// resource. +// Lists all tags associated with the specified transcription job, vocabulary, +// model, or resource. To learn more about using tags with Amazon Transcribe, refer +// to Tagging resources +// (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { if params == nil { params = &ListTagsForResourceInput{} @@ -30,12 +32,13 @@ func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForRes type ListTagsForResourceInput struct { - // Lists all tags associated with a given Amazon Resource Name (ARN). ARNs have the - // format arn:partition:service:region:account-id:resource-type/resource-id (for - // example, - // arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). Valid - // values for resource-type are: transcription-job, medical-transcription-job, - // vocabulary, medical-vocabulary, vocabulary-filter, and language-model. + // Returns a list of all tags associated with the specified Amazon Resource Name + // (ARN). ARNs have the format + // arn:partition:service:region:account-id:resource-type/resource-id. For example, + // arn:aws:transcribe:us-west-2:account-id:transcription-job/transcription-job-name. + // Valid values for resource-type are: transcription-job, + // medical-transcription-job, vocabulary, medical-vocabulary, vocabulary-filter, + // and language-model. // // This member is required. ResourceArn *string @@ -45,11 +48,11 @@ type ListTagsForResourceInput struct { type ListTagsForResourceOutput struct { - // Lists all tags associated with the given Amazon Resource Name (ARN). + // The Amazon Resource Name (ARN) specified in your request. ResourceArn *string - // Lists all tags associated with the given transcription job, vocabulary, or - // resource. + // Lists all tags associated with the given transcription job, vocabulary, model, + // or resource. Tags []types.Tag // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_ListTranscriptionJobs.go b/service/transcribe/api_op_ListTranscriptionJobs.go index db6bcb72556..c5977ff1433 100644 --- a/service/transcribe/api_op_ListTranscriptionJobs.go +++ b/service/transcribe/api_op_ListTranscriptionJobs.go @@ -12,7 +12,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists transcription jobs with the specified status. +// Provides a list of transcription jobs that match the specified criteria. If no +// criteria are specified, all transcription jobs are returned. To get detailed +// information about a specific transcription job, use the operation. func (c *Client) ListTranscriptionJobs(ctx context.Context, params *ListTranscriptionJobsInput, optFns ...func(*Options)) (*ListTranscriptionJobsOutput, error) { if params == nil { params = &ListTranscriptionJobsInput{} @@ -30,23 +32,25 @@ func (c *Client) ListTranscriptionJobs(ctx context.Context, params *ListTranscri type ListTranscriptionJobsInput struct { - // When specified, the jobs returned in the list are limited to jobs whose name - // contains the specified string. + // Returns only the transcription jobs that contain the specified string. The + // search is not case sensitive. JobNameContains *string - // The maximum number of jobs to return in each page of results. If there are fewer - // results than the value you specify, only the actual results are returned. If you - // do not specify a value, the default of 5 is used. + // The maximum number of transcription jobs to return in each page of results. If + // there are fewer results than the value you specify, only the actual results are + // returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // If the result of the previous request to ListTranscriptionJobs is truncated, - // include the NextToken to fetch the next set of jobs. + // If your ListTranscriptionJobs request returns more results than can be + // displayed, NextToken is displayed in the response with an associated string. To + // get the next page of results, copy this string and repeat your request, + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // When specified, returns only transcription jobs with the specified status. Jobs - // are ordered by creation date, with the newest jobs returned first. If you don’t - // specify a status, Amazon Transcribe returns all transcription jobs ordered by - // creation date. + // Returns only transcription jobs with the specified status. Jobs are ordered by + // creation date, with the newest job first. If you don't include Status, all + // transcription jobs are returned. Status types.TranscriptionJobStatus noSmithyDocumentSerde @@ -54,17 +58,18 @@ type ListTranscriptionJobsInput struct { type ListTranscriptionJobsOutput struct { - // The ListTranscriptionJobs operation returns a page of jobs at a time. The - // maximum size of the page is set by the MaxResults parameter. If there are more - // jobs in the list than the page size, Amazon Transcribe returns the NextPage - // token. Include the token in the next request to the ListTranscriptionJobs - // operation to return in the next page of jobs. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // The requested status of the jobs returned. + // Lists all transcription jobs that have the status specified in your request. + // Jobs are ordered by creation date, with the newest job first. Status types.TranscriptionJobStatus - // A list of objects containing summary information for a transcription job. + // Provides a summary of information about each result. TranscriptionJobSummaries []types.TranscriptionJobSummary // Metadata pertaining to the operation's result. @@ -144,9 +149,9 @@ var _ ListTranscriptionJobsAPIClient = (*Client)(nil) // ListTranscriptionJobsPaginatorOptions is the paginator options for // ListTranscriptionJobs type ListTranscriptionJobsPaginatorOptions struct { - // The maximum number of jobs to return in each page of results. If there are fewer - // results than the value you specify, only the actual results are returned. If you - // do not specify a value, the default of 5 is used. + // The maximum number of transcription jobs to return in each page of results. If + // there are fewer results than the value you specify, only the actual results are + // returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_ListVocabularies.go b/service/transcribe/api_op_ListVocabularies.go index de0ba289359..5256cad5409 100644 --- a/service/transcribe/api_op_ListVocabularies.go +++ b/service/transcribe/api_op_ListVocabularies.go @@ -12,8 +12,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns a list of vocabularies that match the specified criteria. If no criteria -// are specified, returns the entire list of vocabularies. +// Provides a list of custom vocabularies that match the specified criteria. If no +// criteria are specified, all custom vocabularies are returned. To get detailed +// information about a specific custom vocabulary, use the operation. func (c *Client) ListVocabularies(ctx context.Context, params *ListVocabulariesInput, optFns ...func(*Options)) (*ListVocabulariesOutput, error) { if params == nil { params = &ListVocabulariesInput{} @@ -31,23 +32,25 @@ func (c *Client) ListVocabularies(ctx context.Context, params *ListVocabulariesI type ListVocabulariesInput struct { - // The maximum number of vocabularies to return in each page of results. If there - // are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // The maximum number of custom vocabularies to return in each page of results. If + // there are fewer results than the value you specify, only the actual results are + // returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // When specified, the vocabularies returned in the list are limited to - // vocabularies whose name contains the specified string. The search is not case - // sensitive, ListVocabularies returns both "vocabularyname" and "VocabularyName" - // in the response list. + // Returns only the custom vocabularies that contain the specified string. The + // search is not case sensitive. NameContains *string - // If the result of the previous request to ListVocabularies was truncated, include - // the NextToken to fetch the next set of jobs. + // If your ListVocabularies request returns more results than can be displayed, + // NextToken is displayed in the response with an associated string. To get the + // next page of results, copy this string and repeat your request, including + // NextToken with the value of the copied string. Repeat as needed to view all your + // results. NextToken *string - // When specified, only returns vocabularies with the VocabularyState field equal - // to the specified state. + // Returns only custom vocabularies with the specified state. Vocabularies are + // ordered by creation date, with the newest vocabulary first. If you don't include + // StateEquals, all custom medical vocabularies are returned. StateEquals types.VocabularyState noSmithyDocumentSerde @@ -55,18 +58,19 @@ type ListVocabulariesInput struct { type ListVocabulariesOutput struct { - // The ListVocabularies operation returns a page of vocabularies at a time. The - // maximum size of the page is set in the MaxResults parameter. If there are more - // jobs in the list than will fit on the page, Amazon Transcribe returns the - // NextPage token. To return in the next page of jobs, include the token in the - // next request to the ListVocabularies operation. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // The requested vocabulary state. + // Lists all custom vocabularies that have the status specified in your request. + // Vocabularies are ordered by creation date, with the newest vocabulary first. Status types.VocabularyState - // A list of objects that describe the vocabularies that match the search criteria - // in the request. + // Provides information about the custom vocabularies that match the criteria + // specified in your request. Vocabularies []types.VocabularyInfo // Metadata pertaining to the operation's result. @@ -145,9 +149,9 @@ var _ ListVocabulariesAPIClient = (*Client)(nil) // ListVocabulariesPaginatorOptions is the paginator options for ListVocabularies type ListVocabulariesPaginatorOptions struct { - // The maximum number of vocabularies to return in each page of results. If there - // are fewer results than the value you specify, only the actual results are - // returned. If you do not specify a value, the default of 5 is used. + // The maximum number of custom vocabularies to return in each page of results. If + // there are fewer results than the value you specify, only the actual results are + // returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_ListVocabularyFilters.go b/service/transcribe/api_op_ListVocabularyFilters.go index bcd86560469..bfc32ddb095 100644 --- a/service/transcribe/api_op_ListVocabularyFilters.go +++ b/service/transcribe/api_op_ListVocabularyFilters.go @@ -12,7 +12,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets information about vocabulary filters. +// Provides a list of custom vocabulary filters that match the specified criteria. +// If no criteria are specified, all custom vocabularies are returned. To get +// detailed information about a specific custom vocabulary filter, use the +// operation. func (c *Client) ListVocabularyFilters(ctx context.Context, params *ListVocabularyFiltersInput, optFns ...func(*Options)) (*ListVocabularyFiltersOutput, error) { if params == nil { params = &ListVocabularyFiltersInput{} @@ -30,17 +33,20 @@ func (c *Client) ListVocabularyFilters(ctx context.Context, params *ListVocabula type ListVocabularyFiltersInput struct { - // The maximum number of filters to return in each page of results. If there are - // fewer results than the value you specify, only the actual results are returned. - // If you do not specify a value, the default of 5 is used. + // The maximum number of custom vocabulary filters to return in each page of + // results. If there are fewer results than the value you specify, only the actual + // results are returned. If you don't specify a value, a default of 5 is used. MaxResults *int32 - // Filters the response so that it only contains vocabulary filters whose name - // contains the specified string. + // Returns only the custom vocabulary filters that contain the specified string. + // The search is not case sensitive. NameContains *string - // If the result of the previous request to ListVocabularyFilters was truncated, - // include the NextToken to fetch the next set of collections. + // If your ListVocabularyFilters request returns more results than can be + // displayed, NextToken is displayed in the response with an associated string. To + // get the next page of results, copy this string and repeat your request, + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string noSmithyDocumentSerde @@ -48,17 +54,15 @@ type ListVocabularyFiltersInput struct { type ListVocabularyFiltersOutput struct { - // The ListVocabularyFilters operation returns a page of collections at a time. The - // maximum size of the page is set by the MaxResults parameter. If there are more - // jobs in the list than the page size, Amazon Transcribe returns the NextPage - // token. Include the token in the next request to the ListVocabularyFilters - // operation to return in the next page of jobs. + // If NextToken is present in your response, it indicates that not all results are + // displayed. To view the next set of results, copy the string associated with the + // NextToken parameter in your results output, then run your request again + // including NextToken with the value of the copied string. Repeat as needed to + // view all your results. NextToken *string - // The list of vocabulary filters. It contains at most MaxResults number of - // filters. If there are more filters, call the ListVocabularyFilters operation - // again with the NextToken parameter in the request set to the value of the - // NextToken field in the response. + // Provides information about the custom vocabulary filters that match the criteria + // specified in your request. VocabularyFilters []types.VocabularyFilterInfo // Metadata pertaining to the operation's result. @@ -138,9 +142,9 @@ var _ ListVocabularyFiltersAPIClient = (*Client)(nil) // ListVocabularyFiltersPaginatorOptions is the paginator options for // ListVocabularyFilters type ListVocabularyFiltersPaginatorOptions struct { - // The maximum number of filters to return in each page of results. If there are - // fewer results than the value you specify, only the actual results are returned. - // If you do not specify a value, the default of 5 is used. + // The maximum number of custom vocabulary filters to return in each page of + // results. If there are fewer results than the value you specify, only the actual + // results are returned. If you don't specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/transcribe/api_op_StartCallAnalyticsJob.go b/service/transcribe/api_op_StartCallAnalyticsJob.go index b621804ef54..2ec1f3e047b 100644 --- a/service/transcribe/api_op_StartCallAnalyticsJob.go +++ b/service/transcribe/api_op_StartCallAnalyticsJob.go @@ -11,13 +11,46 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Starts an asynchronous analytics job that not only transcribes the audio -// recording of a caller and agent, but also returns additional insights. These -// insights include how quickly or loudly the caller or agent was speaking. To -// retrieve additional insights with your analytics jobs, create categories. A -// category is a way to classify analytics jobs based on attributes, such as a -// customer's sentiment or a particular phrase being used during the call. For more -// information, see the operation. +// Transcribes the audio from a customer service call and applies any additional +// Request Parameters you choose to include in your request. In addition to many of +// the standard transcription features, Call Analytics provides you with call +// characteristics, call summarization, speaker sentiment, and optional redaction +// of your text transcript and your audio file. You can also apply custom +// categories to flag specified conditions. To learn more about these features and +// insights, refer to Analyzing call center audio with Call Analytics +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics.html). If you +// want to apply categories to your Call Analytics job, you must create them before +// submitting your job request. Categories cannot be retroactively applied to a +// job. To create a new category, use the operation. To learn more about Call +// Analytics categories, see Creating categories +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html). +// To make a StartCallAnalyticsJob request, you must first upload your media file +// into an Amazon S3 bucket; you can then specify the Amazon S3 location of the +// file using the Media parameter. You must include the following parameters in +// your StartCallAnalyticsJob request: +// +// * region: The Amazon Web Services Region +// where you are making your request. For a list of Amazon Web Services Regions +// supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and +// quotas (https://docs.aws.amazon.com/general/latest/gr/transcribe.html). +// +// * +// CallAnalyticsJobName: A custom name you create for your transcription job that +// is unique within your Amazon Web Services account. +// +// * DataAccessRoleArn: The +// Amazon Resource Name (ARN) of an IAM role that has permissions to access the +// Amazon S3 bucket that contains your input files. +// +// * Media (MediaFileUri or +// RedactedMediaFileUri): The Amazon S3 location of your media file. +// +// With Call +// Analytics, you can redact the audio contained in your media file by including +// RedactedMediaFileUri, instead of MediaFileUri, to specify the location of your +// input audio. If you choose to redact your audio, you can find your redacted +// media at the location specified in the RedactedMediaFileUri field of your +// response. func (c *Client) StartCallAnalyticsJob(ctx context.Context, params *StartCallAnalyticsJobInput, optFns ...func(*Options)) (*StartCallAnalyticsJobOutput, error) { if params == nil { params = &StartCallAnalyticsJobInput{} @@ -35,86 +68,97 @@ func (c *Client) StartCallAnalyticsJob(ctx context.Context, params *StartCallAna type StartCallAnalyticsJobInput struct { - // The name of the call analytics job. You can't use the string "." or ".." by - // themselves as the job name. The name must also be unique within an Amazon Web - // Services account. If you try to create a call analytics job with the same name - // as a previous call analytics job, you get a ConflictException error. + // A unique name, chosen by you, for your Call Analytics job. This name is case + // sensitive, cannot contain spaces, and must be unique within an Amazon Web + // Services account. If you try to create a new job with the same name as an + // existing job, you get a ConflictException error. // // This member is required. CallAnalyticsJobName *string - // The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that - // contains your input files. Amazon Transcribe assumes this role to read queued - // audio files. If you have specified an output S3 bucket for your transcription - // results, this role should have access to the output bucket as well. - // - // This member is required. - DataAccessRoleArn *string - - // Describes the input media file in a transcription request. + // Describes the Amazon S3 location of the media file you want to use in your + // request. // // This member is required. Media *types.Media - // When you start a call analytics job, you must pass an array that maps the agent - // and the customer to specific audio channels. The values you can assign to a - // channel are 0 and 1. The agent and the customer must each have their own - // channel. You can't assign more than one channel to an agent or customer. + // Allows you to specify which speaker is on which channel. For example, if your + // agent is the first participant to speak, you would set ChannelId to 0 (to + // indicate the first channel) and ParticipantRole to AGENT (to indicate that it's + // the agent speaking). ChannelDefinitions []types.ChannelDefinition - // The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service - // key used to encrypt the output of the call analytics job. The user calling the - // operation must have permission to use the specified KMS key. You use either of - // the following to identify an Amazon Web Services KMS key in the current - // account: + // The Amazon Resource Name (ARN) of an IAM role that has permissions to access the + // Amazon S3 bucket that contains your input files. If the role you specify doesn’t + // have the appropriate permissions to access the specified Amazon S3 location, + // your request fails. IAM role ARNs have the format + // arn:partition:iam::account:role/role-name-with-path. For example: + // arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). + DataAccessRoleArn *string + + // The KMS key you want to use to encrypt your Call Analytics output. If using a + // key located in the current Amazon Web Services account, you can specify your KMS + // key in one of four ways: + // + // * Use the KMS key ID itself. For example, + // 1234abcd-12ab-34cd-56ef-1234567890ab. // - // * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" + // * Use an alias for the KMS key ID. For + // example, alias/ExampleAlias. // - // * KMS Key Alias: - // "alias/ExampleAlias" + // * Use the Amazon Resource Name (ARN) for the KMS + // key ID. For example, + // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab. // - // You can use either of the following to identify a KMS key - // in the current account or another account: + // * Use + // the ARN for the KMS key alias. For example, + // arn:aws:kms:region:account-ID:alias/ExampleAlias. // - // * Amazon Resource Name (ARN) of a - // KMS key in the current account or another account: "arn:aws:kms:region:account - // ID:key/1234abcd-12ab-34cd-56ef1234567890ab" + // If using a key located in a + // different Amazon Web Services account than the current Amazon Web Services + // account, you can specify your KMS key in one of two ways: // - // * ARN of a KMS Key Alias: - // "arn:aws:kms:region:accountID:alias/ExampleAlias" + // * Use the ARN for the + // KMS key ID. For example, + // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab. + // + // * Use + // the ARN for the KMS key alias. For example, + // arn:aws:kms:region:account-ID:alias/ExampleAlias. // // If you don't specify an - // encryption key, the output of the call analytics job is encrypted with the - // default Amazon S3 key (SSE-S3). If you specify a KMS key to encrypt your output, - // you must also specify an output location in the OutputLocation parameter. + // encryption key, your output is encrypted with the default Amazon S3 key + // (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify + // an output location using the OutputLocation parameter. Note that the user making + // the request must have permission to use the specified KMS key. OutputEncryptionKMSKeyId *string - // The Amazon S3 location where the output of the call analytics job is stored. You - // can provide the following location types to store the output of call analytics - // job: + // The Amazon S3 location where you want your Call Analytics transcription output + // stored. You can use any of the following formats to specify the output + // location: // - // * s3://DOC-EXAMPLE-BUCKET1 If you specify a bucket, Amazon Transcribe - // saves the output of the analytics job as a JSON file at the root level of the - // bucket. + // * s3://DOC-EXAMPLE-BUCKET // - // * s3://DOC-EXAMPLE-BUCKET1/folder/ f you specify a path, Amazon - // Transcribe saves the output of the analytics job as - // s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json. If you specify - // a folder, you must provide a trailing slash. + // * + // s3://DOC-EXAMPLE-BUCKET/my-output-folder/ // // * - // s3://DOC-EXAMPLE-BUCKET1/folder/filename.json. If you provide a path that has - // the filename specified, Amazon Transcribe saves the output of the analytics job - // as s3://DOC-EXAMPLEBUCKET1/folder/filename.json. + // s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json // - // You can specify an Amazon Web - // Services Key Management Service (KMS) key to encrypt the output of our analytics - // job using the OutputEncryptionKMSKeyId parameter. If you don't specify a KMS - // key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption - // of the analytics job output that is placed in your S3 bucket. + // Unless you + // specify a file name (option 3), the name of your output file has a default value + // that matches the name you specified for your transcription job using the + // CallAnalyticsJobName parameter. You can specify a KMS key to encrypt your output + // using the OutputEncryptionKMSKeyId parameter. If you don't specify a KMS key, + // Amazon Transcribe uses the default Amazon S3 key for server-side encryption. If + // you don't specify OutputLocation, your transcript is placed in a service-managed + // Amazon S3 bucket and you are provided with a URI to access your transcript. OutputLocation *string - // A Settings object that provides optional settings for a call analytics job. + // Specify additional optional settings in your request, including content + // redaction; allows you to apply custom language models, vocabulary filters, and + // custom vocabularies to your Call Analytics job. Settings *types.CallAnalyticsJobSettings noSmithyDocumentSerde @@ -122,7 +166,8 @@ type StartCallAnalyticsJobInput struct { type StartCallAnalyticsJobOutput struct { - // An object containing the details of the asynchronous call analytics job. + // Provides detailed information about the current Call Analytics job, including + // job status and, if applicable, failure reason. CallAnalyticsJob *types.CallAnalyticsJob // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_StartMedicalTranscriptionJob.go b/service/transcribe/api_op_StartMedicalTranscriptionJob.go index ae7ba3e476e..74a6e244345 100644 --- a/service/transcribe/api_op_StartMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_StartMedicalTranscriptionJob.go @@ -11,7 +11,41 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Starts a batch job to transcribe medical speech to text. +// Transcribes the audio from a medical dictation or conversation and applies any +// additional Request Parameters you choose to include in your request. In addition +// to many of the standard transcription features, Amazon Transcribe Medical +// provides you with a robust medical vocabulary and, optionally, content +// identification, which adds flags to personal health information (PHI). To learn +// more about these features, refer to How Amazon Transcribe Medical works +// (https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works-med.html). To +// make a StartMedicalTranscriptionJob request, you must first upload your media +// file into an Amazon S3 bucket; you can then specify the S3 location of the file +// using the Media parameter. You must include the following parameters in your +// StartMedicalTranscriptionJob request: +// +// * region: The Amazon Web Services Region +// where you are making your request. For a list of Amazon Web Services Regions +// supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and +// quotas (https://docs.aws.amazon.com/general/latest/gr/transcribe.html). +// +// * +// MedicalTranscriptionJobName: A custom name you create for your transcription job +// that is unique within your Amazon Web Services account. +// +// * Media (MediaFileUri): +// The Amazon S3 location of your media file. +// +// * LanguageCode: This must be +// en-US. +// +// * OutputBucketName: The Amazon S3 bucket where you want your transcript +// stored. If you want your output stored in a sub-folder of this bucket, you must +// also include OutputKey. +// +// * Specialty: This must be PRIMARYCARE. +// +// * Type: Choose +// whether your audio is a conversation or a dictation. func (c *Client) StartMedicalTranscriptionJob(ctx context.Context, params *StartMedicalTranscriptionJobInput, optFns ...func(*Options)) (*StartMedicalTranscriptionJobOutput, error) { if params == nil { params = &StartMedicalTranscriptionJobInput{} @@ -29,124 +63,168 @@ func (c *Client) StartMedicalTranscriptionJob(ctx context.Context, params *Start type StartMedicalTranscriptionJobInput struct { - // The language code for the language spoken in the input media file. US English - // (en-US) is the valid value for medical transcription jobs. Any other value you - // enter for language code results in a BadRequestException error. + // The language code that represents the language spoken in the input media file. + // US English (en-US) is the only valid value for medical transcription jobs. Any + // other value you enter for language code results in a BadRequestException error. // // This member is required. LanguageCode types.LanguageCode - // Describes the input media file in a transcription request. + // Describes the Amazon S3 location of the media file you want to use in your + // request. // // This member is required. Media *types.Media - // The name of the medical transcription job. You can't use the strings "." or ".." - // by themselves as the job name. The name must also be unique within an Amazon Web - // Services account. If you try to create a medical transcription job with the same - // name as a previous medical transcription job, you get a ConflictException error. + // A unique name, chosen by you, for your medical transcription job. The name you + // specify is also used as the default name of your transcription output file. If + // you want to specify a different name for your transcription output, use the + // OutputKey parameter. This name is case sensitive, cannot contain spaces, and + // must be unique within an Amazon Web Services account. If you try to create a new + // job with the same name as an existing job, you get a ConflictException error. // // This member is required. MedicalTranscriptionJobName *string - // The Amazon S3 location where the transcription is stored. You must set - // OutputBucketName for Amazon Transcribe Medical to store the transcription - // results. Your transcript appears in the S3 location you specify. When you call - // the GetMedicalTranscriptionJob, the operation returns this location in the - // TranscriptFileUri field. The S3 bucket must have permissions that allow Amazon - // Transcribe Medical to put files in the bucket. For more information, see - // Permissions Required for IAM User Roles + // The name of the Amazon S3 bucket where you want your medical transcription + // output stored. Do not include the S3:// prefix of the specified bucket. If you + // want your output to go to a sub-folder of this bucket, specify it using the + // OutputKey parameter; OutputBucketName only accepts the name of a bucket. For + // example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET, set + // OutputBucketName to DOC-EXAMPLE-BUCKET. However, if you want your output stored + // in S3://DOC-EXAMPLE-BUCKET/test-files/, set OutputBucketName to + // DOC-EXAMPLE-BUCKET and OutputKey to test-files/. Note that Amazon Transcribe + // must have permission to use the specified location. You can change Amazon S3 + // permissions using the Amazon Web Services Management Console + // (https://console.aws.amazon.com/s3). See also Permissions Required for IAM User + // Roles // (https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user). - // You can specify an Amazon Web Services Key Management Service (KMS) key to - // encrypt the output of your transcription using the OutputEncryptionKMSKeyId - // parameter. If you don't specify a KMS key, Amazon Transcribe Medical uses the - // default Amazon S3 key for server-side encryption of transcripts that are placed - // in your S3 bucket. + // If you don't specify OutputBucketName, your transcript is placed in a + // service-managed Amazon S3 bucket and you are provided with a URI to access your + // transcript. // // This member is required. OutputBucketName *string - // The medical specialty of any clinician speaking in the input media. + // Specify the predominant medical specialty represented in your media. For batch + // transcriptions, PRIMARYCARE is the only valid value. If you require additional + // specialties, refer to . // // This member is required. Specialty types.Specialty - // The type of speech in the input audio. CONVERSATION refers to conversations - // between two or more speakers, e.g., a conversations between doctors and - // patients. DICTATION refers to single-speaker dictated speech, such as clinical - // notes. + // Specify whether your input media contains only one person (DICTATION) or + // contains a conversation between two people (CONVERSATION). For example, + // DICTATION could be used for a medical professional wanting to transcribe voice + // memos; CONVERSATION could be used for transcribing the doctor-patient dialogue + // during the patient's office visit. // // This member is required. Type types.Type - // You can configure Amazon Transcribe Medical to label content in the - // transcription output. If you specify PHI, Amazon Transcribe Medical labels the - // personal health information (PHI) that it identifies in the transcription - // output. + // Labels all personal health information (PHI) identified in your transcript. For + // more information, see Identifying personal health information (PHI) in a + // transcription (https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html). ContentIdentificationType types.MedicalContentIdentificationType // A map of plain text, non-secret key:value pairs, known as encryption context - // pairs, that provide an added layer of security for your data. + // pairs, that provide an added layer of security for your data. For more + // information, see KMS encryption context + // (https://docs.aws.amazon.com/transcribe/latest/dg/key-management.html#kms-context) + // and Asymmetric keys in KMS + // (https://docs.aws.amazon.com/transcribe/latest/dg/symmetric-asymmetric.html). KMSEncryptionContext map[string]string - // The audio format of the input media file. + // Specify the format of your input media file. MediaFormat types.MediaFormat - // The sample rate, in Hertz, of the audio track in the input media file. If you do - // not specify the media sample rate, Amazon Transcribe Medical determines the - // sample rate. If you specify the sample rate, it must match the rate detected by - // Amazon Transcribe Medical. In most cases, you should leave the - // MediaSampleRateHertz field blank and let Amazon Transcribe Medical determine the - // sample rate. + // The sample rate, in Hertz, of the audio track in your input media file. If you + // don't specify the media sample rate, Amazon Transcribe Medical determines it for + // you. If you specify the sample rate, it must match the rate detected by Amazon + // Transcribe Medical; if there's a mismatch between the value you specify and the + // value detected, your job fails. Therefore, in most cases, it's advised to omit + // MediaSampleRateHertz and let Amazon Transcribe Medical determine the sample + // rate. MediaSampleRateHertz *int32 - // The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service - // (KMS) key used to encrypt the output of the transcription job. The user calling - // the StartMedicalTranscriptionJob operation must have permission to use the - // specified KMS key. You use either of the following to identify a KMS key in the - // current account: + // The KMS key you want to use to encrypt your medical transcription output. If + // using a key located in the current Amazon Web Services account, you can specify + // your KMS key in one of four ways: // - // * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" + // * Use the KMS key ID itself. For example, + // 1234abcd-12ab-34cd-56ef-1234567890ab. // - // * KMS - // Key Alias: "alias/ExampleAlias" + // * Use an alias for the KMS key ID. For + // example, alias/ExampleAlias. // - // You can use either of the following to identify - // a KMS key in the current account or another account: + // * Use the Amazon Resource Name (ARN) for the KMS + // key ID. For example, + // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab. // - // * Amazon Resource Name - // (ARN) of a KMS key in the current account or another account: - // "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab" + // * Use + // the ARN for the KMS key alias. For example, + // arn:aws:kms:region:account-ID:alias/ExampleAlias. // - // * ARN - // of a KMS Key Alias: "arn:aws:kms:region:account ID:alias/ExampleAlias" + // If using a key located in a + // different Amazon Web Services account than the current Amazon Web Services + // account, you can specify your KMS key in one of two ways: // - // If you - // don't specify an encryption key, the output of the medical transcription job is - // encrypted with the default Amazon S3 key (SSE-S3). If you specify a KMS key to - // encrypt your output, you must also specify an output location in the - // OutputBucketName parameter. + // * Use the ARN for the + // KMS key ID. For example, + // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab. + // + // * Use + // the ARN for the KMS key alias. For example, + // arn:aws:kms:region:account-ID:alias/ExampleAlias. + // + // If you don't specify an + // encryption key, your output is encrypted with the default Amazon S3 key + // (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify + // an output location using the OutputLocation parameter. Note that the user making + // the request must have permission to use the specified KMS key. OutputEncryptionKMSKeyId *string - // You can specify a location in an Amazon S3 bucket to store the output of your - // medical transcription job. If you don't specify an output key, Amazon Transcribe - // Medical stores the output of your transcription job in the Amazon S3 bucket you - // specified. By default, the object key is "your-transcription-job-name.json". You - // can use output keys to specify the Amazon S3 prefix and file name of the - // transcription output. For example, specifying the Amazon S3 prefix, - // "folder1/folder2/", as an output key would lead to the output being stored as - // "folder1/folder2/your-transcription-job-name.json". If you specify - // "my-other-job-name.json" as the output key, the object key is changed to - // "my-other-job-name.json". You can use an output key to change both the prefix - // and the file name, for example "folder/my-other-job-name.json". If you specify - // an output key, you must also specify an S3 bucket in the OutputBucketName - // parameter. + // Use in combination with OutputBucketName to specify the output location of your + // transcript and, optionally, a unique name for your output file. The default name + // for your transcription output is the same as the name you specified for your + // medical transcription job (MedicalTranscriptionJobName). Here are some examples + // of how you can use OutputKey: + // + // * If you specify 'DOC-EXAMPLE-BUCKET' as the + // OutputBucketName and 'my-transcript.json' as the OutputKey, your transcription + // output path is s3://DOC-EXAMPLE-BUCKET/my-transcript.json. + // + // * If you specify + // 'my-first-transcription' as the MedicalTranscriptionJobName, + // 'DOC-EXAMPLE-BUCKET' as the OutputBucketName, and 'my-transcript' as the + // OutputKey, your transcription output path is + // s3://DOC-EXAMPLE-BUCKET/my-transcript/my-first-transcription.json. + // + // * If you + // specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and + // 'test-files/my-transcript.json' as the OutputKey, your transcription output path + // is s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript.json. + // + // * If you specify + // 'my-first-transcription' as the MedicalTranscriptionJobName, + // 'DOC-EXAMPLE-BUCKET' as the OutputBucketName, and 'test-files/my-transcript' as + // the OutputKey, your transcription output path is + // s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript/my-first-transcription.json. + // + // If + // you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one + // is created for you. OutputKey *string - // Optional settings for the medical transcription job. + // Specify additional optional settings in your request, including channel + // identification, alternative transcriptions, and speaker labeling; allows you to + // apply custom vocabularies to your transcription job. Settings *types.MedicalTranscriptionSetting - // Add tags to an Amazon Transcribe Medical transcription job. + // Adds one or more custom tags, each in the form of a key:value pair, to a new + // medical transcription job at the time you start this new job. To learn more + // about using tags with Amazon Transcribe, refer to Tagging resources + // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []types.Tag noSmithyDocumentSerde @@ -154,7 +232,8 @@ type StartMedicalTranscriptionJobInput struct { type StartMedicalTranscriptionJobOutput struct { - // A batch job submitted to transcribe medical speech to text. + // Provides detailed information about the current medical transcription job, + // including job status and, if applicable, failure reason. MedicalTranscriptionJob *types.MedicalTranscriptionJob // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_StartTranscriptionJob.go b/service/transcribe/api_op_StartTranscriptionJob.go index 72ac9b83ade..c5cefe48857 100644 --- a/service/transcribe/api_op_StartTranscriptionJob.go +++ b/service/transcribe/api_op_StartTranscriptionJob.go @@ -11,7 +11,33 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Starts an asynchronous job to transcribe speech to text. +// Transcribes the audio from a media file and applies any additional Request +// Parameters you choose to include in your request. To make a +// StartTranscriptionJob request, you must first upload your media file into an +// Amazon S3 bucket; you can then specify the Amazon S3 location of the file using +// the Media parameter. You must include the following parameters in your +// StartTranscriptionJob request: +// +// * region: The Amazon Web Services Region where +// you are making your request. For a list of Amazon Web Services Regions supported +// with Amazon Transcribe, refer to Amazon Transcribe endpoints and quotas +// (https://docs.aws.amazon.com/general/latest/gr/transcribe.html). +// +// * +// TranscriptionJobName: A custom name you create for your transcription job that +// is unique within your Amazon Web Services account. +// +// * Media (MediaFileUri): The +// Amazon S3 location of your media file. +// +// * One of LanguageCode, IdentifyLanguage, +// or IdentifyMultipleLanguages: If you know the language of your media file, +// specify it using the LanguageCode parameter; you can find all valid language +// codes in the Supported languages +// (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) +// table. If you don't know the languages spoken in your media, use either +// IdentifyLanguage or IdentifyMultipleLanguages and let Amazon Transcribe identify +// the languages for you. func (c *Client) StartTranscriptionJob(ctx context.Context, params *StartTranscriptionJobInput, optFns ...func(*Options)) (*StartTranscriptionJobOutput, error) { if params == nil { params = &StartTranscriptionJobInput{} @@ -29,138 +55,235 @@ func (c *Client) StartTranscriptionJob(ctx context.Context, params *StartTranscr type StartTranscriptionJobInput struct { - // An object that describes the input media for a transcription job. + // Describes the Amazon S3 location of the media file you want to use in your + // request. // // This member is required. Media *types.Media - // The name of the job. You can't use the strings "." or ".." by themselves as the - // job name. The name must also be unique within an Amazon Web Services account. If - // you try to create a transcription job with the same name as a previous - // transcription job, you get a ConflictException error. + // A unique name, chosen by you, for your transcription job. The name you specify + // is also used as the default name of your transcription output file. If you want + // to specify a different name for your transcription output, use the OutputKey + // parameter. This name is case sensitive, cannot contain spaces, and must be + // unique within an Amazon Web Services account. If you try to create a new job + // with the same name as an existing job, you get a ConflictException error. // // This member is required. TranscriptionJobName *string - // An object that contains the request parameters for content redaction. + // Allows you to redact or flag specified personally identifiable information (PII) + // in your transcript. If you use ContentRedaction, you must also include the + // sub-parameters: PiiEntityTypes, RedactionOutput, and RedactionType. ContentRedaction *types.ContentRedaction - // Set this field to true to enable automatic language identification. Automatic - // language identification is disabled by default. You receive a - // BadRequestException error if you enter a value for a LanguageCode. You must - // include either LanguageCode or IdentifyLanguage in your request. + // Enables automatic language identification in your transcription job request. If + // you include IdentifyLanguage, you can optionally include a list of language + // codes, using LanguageOptions, that you think may be present in your media file. + // Including language options can improve transcription accuracy. If you want to + // apply a custom language model, a custom vocabulary, or a custom vocabulary + // filter to your automatic language identification request, include + // LanguageIdSettings with the relevant sub-parameters (VocabularyName, + // LanguageModelName, and VocabularyFilterName). Note that you must include one of + // LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If + // you include more than one of these parameters, your transcription job fails. IdentifyLanguage *bool - // Provides information about how a transcription job is executed. Use this field - // to indicate that the job can be queued for deferred execution if the concurrency - // limit is reached and there are no slots available to immediately run the job. + // Enables automatic multi-language identification in your transcription job + // request. Use this parameter if your media file contains more than one language. + // If you include IdentifyMultipleLanguages, you can optionally include a list of + // language codes, using LanguageOptions, that you think may be present in your + // media file. Including language options can improve transcription accuracy. If + // you want to apply a custom vocabulary or a custom vocabulary filter to your + // automatic language identification request, include LanguageIdSettings with the + // relevant sub-parameters (VocabularyName and VocabularyFilterName). Note that you + // must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages + // in your request. If you include more than one of these parameters, your + // transcription job fails. + IdentifyMultipleLanguages *bool + + // Allows you to control how your transcription job is processed. Currently, the + // only JobExecutionSettings modification you can choose is enabling job queueing + // using the AllowDeferredExecution sub-parameter. If you include + // JobExecutionSettings in your request, you must also include the sub-parameters: + // AllowDeferredExecution and DataAccessRoleArn. JobExecutionSettings *types.JobExecutionSettings // A map of plain text, non-secret key:value pairs, known as encryption context - // pairs, that provide an added layer of security for your data. + // pairs, that provide an added layer of security for your data. For more + // information, see KMS encryption context + // (https://docs.aws.amazon.com/transcribe/latest/dg/key-management.html#kms-context) + // and Asymmetric keys in KMS + // (https://docs.aws.amazon.com/transcribe/latest/dg/symmetric-asymmetric.html). KMSEncryptionContext map[string]string - // The language code for the language used in the input media file. You must - // include either LanguageCode or IdentifyLanguage in your request. To transcribe - // speech in Modern Standard Arabic (ar-SA), your audio or video file must be - // encoded at a sample rate of 16,000 Hz or higher. + // The language code that represents the language spoken in the input media file. + // If you're unsure of the language spoken in your media file, consider using + // IdentifyLanguage or IdentifyMultipleLanguages to enable automatic language + // identification. Note that you must include one of LanguageCode, + // IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include + // more than one of these parameters, your transcription job fails. For a list of + // supported languages and their associated language codes, refer to the Supported + // languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. To transcribe speech in Modern Standard Arabic (ar-SA), your media file + // must be encoded at a sample rate of 16,000 Hz or higher. LanguageCode types.LanguageCode - // The language identification settings associated with your transcription job. - // These settings include VocabularyName, VocabularyFilterName, and - // LanguageModelName. + // If using automatic language identification (IdentifyLanguage) in your request + // and you want to apply a custom language model, a custom vocabulary, or a custom + // vocabulary filter, include LanguageIdSettings with the relevant sub-parameters + // (VocabularyName, LanguageModelName, and VocabularyFilterName). You can specify + // two or more language codes that represent the languages you think may be present + // in your media; including more than five is not recommended. Each language code + // you include can have an associated custom language model, custom vocabulary, and + // custom vocabulary filter. The languages you specify must match the languages of + // the specified custom language models, custom vocabularies, and custom vocabulary + // filters. To include language options using IdentifyLanguage without including a + // custom language model, a custom vocabulary, or a custom vocabulary filter, use + // LanguageOptions instead of LanguageIdSettings. Including language options can + // improve the accuracy of automatic language identification. If you want to + // include a custom language model with your request but do not want to use + // automatic language identification, use instead the parameter with the + // LanguageModelName sub-parameter. If you want to include a custom vocabulary or a + // custom vocabulary filter (or both) with your request but do not want to use + // automatic language identification, use instead the parameter with the + // VocabularyName or VocabularyFilterName (or both) sub-parameter. LanguageIdSettings map[string]types.LanguageIdSettings - // An object containing a list of languages that might be present in your - // collection of audio files. Automatic language identification chooses a language - // that best matches the source audio from that list. To transcribe speech in - // Modern Standard Arabic (ar-SA), your audio or video file must be encoded at a - // sample rate of 16,000 Hz or higher. + // You can specify two or more language codes that represent the languages you + // think may be present in your media; including more than five is not recommended. + // If you're unsure what languages are present, do not include this parameter. If + // you include LanguageOptions in your request, you must also include + // IdentifyLanguage. For more information, refer to Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html). To + // transcribe speech in Modern Standard Arabic (ar-SA), your media file must be + // encoded at a sample rate of 16,000 Hz or higher. LanguageOptions []types.LanguageCode - // The format of the input media file. + // Specify the format of your input media file. MediaFormat types.MediaFormat - // The sample rate, in Hertz, of the audio track in the input media file. If you do - // not specify the media sample rate, Amazon Transcribe determines the sample rate. - // If you specify the sample rate, it must match the sample rate detected by Amazon - // Transcribe. In most cases, you should leave the MediaSampleRateHertz field blank - // and let Amazon Transcribe determine the sample rate. + // The sample rate, in Hertz, of the audio track in your input media file. If you + // don't specify the media sample rate, Amazon Transcribe determines it for you. If + // you specify the sample rate, it must match the rate detected by Amazon + // Transcribe; if there's a mismatch between the value you specify and the value + // detected, your job fails. Therefore, in most cases, it's advised to omit + // MediaSampleRateHertz and let Amazon Transcribe determine the sample rate. MediaSampleRateHertz *int32 - // Choose the custom language model you use for your transcription job in this - // parameter. + // Specify the custom language model you want to include with your transcription + // job. If you include ModelSettings in your request, you must include the + // LanguageModelName sub-parameter. For more information, see Custom language + // models + // (https://docs.aws.amazon.com/transcribe/latest/dg/custom-language-models.html). ModelSettings *types.ModelSettings - // The location where the transcription is stored. If you set the OutputBucketName, - // Amazon Transcribe puts the transcript in the specified S3 bucket. When you call - // the GetTranscriptionJob operation, the operation returns this location in the - // TranscriptFileUri field. If you enable content redaction, the redacted - // transcript appears in RedactedTranscriptFileUri. If you enable content redaction - // and choose to output an unredacted transcript, that transcript's location still - // appears in the TranscriptFileUri. The S3 bucket must have permissions that allow - // Amazon Transcribe to put files in the bucket. For more information, see - // Permissions Required for IAM User Roles + // The name of the Amazon S3 bucket where you want your transcription output + // stored. Do not include the S3:// prefix of the specified bucket. If you want + // your output to go to a sub-folder of this bucket, specify it using the OutputKey + // parameter; OutputBucketName only accepts the name of a bucket. For example, if + // you want your output stored in S3://DOC-EXAMPLE-BUCKET, set OutputBucketName to + // DOC-EXAMPLE-BUCKET. However, if you want your output stored in + // S3://DOC-EXAMPLE-BUCKET/test-files/, set OutputBucketName to DOC-EXAMPLE-BUCKET + // and OutputKey to test-files/. Note that Amazon Transcribe must have permission + // to use the specified location. You can change Amazon S3 permissions using the + // Amazon Web Services Management Console (https://console.aws.amazon.com/s3). See + // also Permissions Required for IAM User Roles // (https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user). - // You can specify an Amazon Web Services Key Management Service (KMS) key to - // encrypt the output of your transcription using the OutputEncryptionKMSKeyId - // parameter. If you don't specify a KMS key, Amazon Transcribe uses the default - // Amazon S3 key for server-side encryption of transcripts that are placed in your - // S3 bucket. If you don't set the OutputBucketName, Amazon Transcribe generates a - // pre-signed URL, a shareable URL that provides secure access to your - // transcription, and returns it in the TranscriptFileUri field. Use this URL to - // download the transcription. + // If you don't specify OutputBucketName, your transcript is placed in a + // service-managed Amazon S3 bucket and you are provided with a URI to access your + // transcript. OutputBucketName *string - // The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service - // (KMS) key used to encrypt the output of the transcription job. The user calling - // the StartTranscriptionJob operation must have permission to use the specified - // KMS key. You can use either of the following to identify a KMS key in the - // current account: + // The KMS key you want to use to encrypt your transcription output. If using a key + // located in the current Amazon Web Services account, you can specify your KMS key + // in one of four ways: + // + // * Use the KMS key ID itself. For example, + // 1234abcd-12ab-34cd-56ef-1234567890ab. + // + // * Use an alias for the KMS key ID. For + // example, alias/ExampleAlias. // - // * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" + // * Use the Amazon Resource Name (ARN) for the KMS + // key ID. For example, + // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab. // - // * KMS - // Key Alias: "alias/ExampleAlias" + // * Use + // the ARN for the KMS key alias. For example, + // arn:aws:kms:region:account-ID:alias/ExampleAlias. // - // You can use either of the following to identify - // a KMS key in the current account or another account: + // If using a key located in a + // different Amazon Web Services account than the current Amazon Web Services + // account, you can specify your KMS key in one of two ways: // - // * Amazon Resource Name - // (ARN) of a KMS Key: "arn:aws:kms:region:account - // ID:key/1234abcd-12ab-34cd-56ef-1234567890ab" + // * Use the ARN for the + // KMS key ID. For example, + // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab. // - // * ARN of a KMS Key Alias: - // "arn:aws:kms:region:account-ID:alias/ExampleAlias" + // * Use + // the ARN for the KMS key alias. For example, + // arn:aws:kms:region:account-ID:alias/ExampleAlias. // // If you don't specify an - // encryption key, the output of the transcription job is encrypted with the - // default Amazon S3 key (SSE-S3). If you specify a KMS key to encrypt your output, - // you must also specify an output location in the OutputBucketName parameter. + // encryption key, your output is encrypted with the default Amazon S3 key + // (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify + // an output location using the OutputLocation parameter. Note that the user making + // the request must have permission to use the specified KMS key. OutputEncryptionKMSKeyId *string - // You can specify a location in an Amazon S3 bucket to store the output of your - // transcription job. If you don't specify an output key, Amazon Transcribe stores - // the output of your transcription job in the Amazon S3 bucket you specified. By - // default, the object key is "your-transcription-job-name.json". You can use - // output keys to specify the Amazon S3 prefix and file name of the transcription - // output. For example, specifying the Amazon S3 prefix, "folder1/folder2/", as an - // output key would lead to the output being stored as - // "folder1/folder2/your-transcription-job-name.json". If you specify - // "my-other-job-name.json" as the output key, the object key is changed to - // "my-other-job-name.json". You can use an output key to change both the prefix - // and the file name, for example "folder/my-other-job-name.json". If you specify - // an output key, you must also specify an S3 bucket in the OutputBucketName - // parameter. + // Use in combination with OutputBucketName to specify the output location of your + // transcript and, optionally, a unique name for your output file. The default name + // for your transcription output is the same as the name you specified for your + // transcription job (TranscriptionJobName). Here are some examples of how you can + // use OutputKey: + // + // * If you specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName + // and 'my-transcript.json' as the OutputKey, your transcription output path is + // s3://DOC-EXAMPLE-BUCKET/my-transcript.json. + // + // * If you specify + // 'my-first-transcription' as the TranscriptionJobName, 'DOC-EXAMPLE-BUCKET' as + // the OutputBucketName, and 'my-transcript' as the OutputKey, your transcription + // output path is + // s3://DOC-EXAMPLE-BUCKET/my-transcript/my-first-transcription.json. + // + // * If you + // specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and + // 'test-files/my-transcript.json' as the OutputKey, your transcription output path + // is s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript.json. + // + // * If you specify + // 'my-first-transcription' as the TranscriptionJobName, 'DOC-EXAMPLE-BUCKET' as + // the OutputBucketName, and 'test-files/my-transcript' as the OutputKey, your + // transcription output path is + // s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript/my-first-transcription.json. + // + // If + // you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one + // is created for you. OutputKey *string - // A Settings object that provides optional settings for a transcription job. + // Specify additional optional settings in your request, including channel + // identification, alternative transcriptions, speaker labeling; allows you to + // apply custom vocabularies and vocabulary filters. If you want to include a + // custom vocabulary or a custom vocabulary filter (or both) with your request but + // do not want to use automatic language identification, use Settings with the + // VocabularyName or VocabularyFilterName (or both) sub-parameter. If you're using + // automatic language identification with your request and want to include a custom + // language model, a custom vocabulary, or a custom vocabulary filter, use instead + // the parameter with the LanguageModelName, VocabularyName or + // VocabularyFilterName sub-parameters. Settings *types.Settings - // Add subtitles to your batch transcription job. + // Produces subtitle files for your input media. You can specify WebVTT (*.vtt) and + // SubRip (*.srt) formats. Subtitles *types.Subtitles - // Add tags to an Amazon Transcribe transcription job. + // Adds one or more custom tags, each in the form of a key:value pair, to a new + // transcription job at the time you start this new job. To learn more about using + // tags with Amazon Transcribe, refer to Tagging resources + // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []types.Tag noSmithyDocumentSerde @@ -168,7 +291,8 @@ type StartTranscriptionJobInput struct { type StartTranscriptionJobOutput struct { - // Provides information about your asynchronous transcription job. + // Provides detailed information about the current transcription job, including job + // status and, if applicable, failure reason. TranscriptionJob *types.TranscriptionJob // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_TagResource.go b/service/transcribe/api_op_TagResource.go index c746c58e121..e796e1133fd 100644 --- a/service/transcribe/api_op_TagResource.go +++ b/service/transcribe/api_op_TagResource.go @@ -11,7 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Tags an Amazon Transcribe resource with the given list of tags. +// Adds one or more custom tags, each in the form of a key:value pair, to the +// specified resource. To learn more about using tags with Amazon Transcribe, refer +// to Tagging resources +// (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { if params == nil { params = &TagResourceInput{} @@ -29,17 +32,21 @@ func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optF type TagResourceInput struct { - // The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to - // tag. ARNs have the format - // arn:partition:service:region:account-id:resource-type/resource-id (for example, - // arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). Valid - // values for resource-type are: transcription-job, medical-transcription-job, - // vocabulary, medical-vocabulary, vocabulary-filter, and language-model. + // The Amazon Resource Name (ARN) of the resource you want to tag. ARNs have the + // format arn:partition:service:region:account-id:resource-type/resource-id. For + // example, + // arn:aws:transcribe:us-west-2:account-id:transcription-job/transcription-job-name. + // Valid values for resource-type are: transcription-job, + // medical-transcription-job, vocabulary, medical-vocabulary, vocabulary-filter, + // and language-model. // // This member is required. ResourceArn *string - // The tags you are assigning to a given Amazon Transcribe resource. + // Adds one or more custom tags, each in the form of a key:value pair, to the + // specified resource. To learn more about using tags with Amazon Transcribe, refer + // to Tagging resources + // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). // // This member is required. Tags []types.Tag diff --git a/service/transcribe/api_op_UntagResource.go b/service/transcribe/api_op_UntagResource.go index 61efd8a97e9..01557174466 100644 --- a/service/transcribe/api_op_UntagResource.go +++ b/service/transcribe/api_op_UntagResource.go @@ -10,7 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Removes specified tags from a specified Amazon Transcribe resource. +// Removes the specified tags from the specified Amazon Transcribe resource. If you +// include UntagResource in your request, you must also include ResourceArn and +// TagKeys. func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { if params == nil { params = &UntagResourceInput{} @@ -30,16 +32,16 @@ type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to // remove tags from. ARNs have the format - // arn:partition:service:region:account-id:resource-type/resource-id (for example, - // arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). Valid - // values for resource-type are: transcription-job, medical-transcription-job, - // vocabulary, medical-vocabulary, vocabulary-filter, and language-model. + // arn:partition:service:region:account-id:resource-type/resource-id. For example, + // arn:aws:transcribe:us-west-2:account-id:transcription-job/transcription-job-name. + // Valid values for resource-type are: transcription-job, + // medical-transcription-job, vocabulary, medical-vocabulary, vocabulary-filter, + // and language-model. // // This member is required. ResourceArn *string - // A list of tag keys you want to remove from a specified Amazon Transcribe - // resource. + // Removes the specified tag keys from the specified Amazon Transcribe resource. // // This member is required. TagKeys []string diff --git a/service/transcribe/api_op_UpdateCallAnalyticsCategory.go b/service/transcribe/api_op_UpdateCallAnalyticsCategory.go index a772da08d98..4548c629fed 100644 --- a/service/transcribe/api_op_UpdateCallAnalyticsCategory.go +++ b/service/transcribe/api_op_UpdateCallAnalyticsCategory.go @@ -11,9 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates the call analytics category with new values. The -// UpdateCallAnalyticsCategory operation overwrites all of the existing information -// with the values that you provide in the request. +// Updates the specified Call Analytics category with new rules. Note that the +// UpdateCallAnalyticsCategory operation overwrites all existing rules contained in +// the specified category. You cannot append additional rules onto an existing +// category. To create a new category, see . func (c *Client) UpdateCallAnalyticsCategory(ctx context.Context, params *UpdateCallAnalyticsCategoryInput, optFns ...func(*Options)) (*UpdateCallAnalyticsCategoryOutput, error) { if params == nil { params = &UpdateCallAnalyticsCategoryInput{} @@ -31,15 +32,15 @@ func (c *Client) UpdateCallAnalyticsCategory(ctx context.Context, params *Update type UpdateCallAnalyticsCategoryInput struct { - // The name of the analytics category to update. The name is case sensitive. If you - // try to update a call analytics category with the same name as a previous - // category you will receive a ConflictException error. + // The name of the Call Analytics category you want to update. Category names are + // case sensitive. // // This member is required. CategoryName *string - // The rules used for the updated analytics category. The rules that you provide in - // this field replace the ones that are currently being used. + // The rules used for the updated Call Analytics category. The rules you provide in + // this field replace the ones that are currently being used in the specified + // category. // // This member is required. Rules []types.Rule @@ -49,9 +50,8 @@ type UpdateCallAnalyticsCategoryInput struct { type UpdateCallAnalyticsCategoryOutput struct { - // The attributes describing the analytics category. You can see information such - // as the rules that you've used to update the category and when the category was - // originally created. + // Provides you with the properties of the Call Analytics category you specified in + // your UpdateCallAnalyticsCategory request. CategoryProperties *types.CategoryProperties // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_UpdateMedicalVocabulary.go b/service/transcribe/api_op_UpdateMedicalVocabulary.go index f1970bbbbf2..a11bc2080be 100644 --- a/service/transcribe/api_op_UpdateMedicalVocabulary.go +++ b/service/transcribe/api_op_UpdateMedicalVocabulary.go @@ -12,10 +12,9 @@ import ( "time" ) -// Updates a vocabulary with new values that you provide in a different text file -// from the one you used to create the vocabulary. The UpdateMedicalVocabulary -// operation overwrites all of the existing information with the values that you -// provide in the request. +// Updates an existing custom medical vocabulary with new values. This operation +// overwrites all existing information with your new values; you cannot append new +// terms onto an existing vocabulary. func (c *Client) UpdateMedicalVocabulary(ctx context.Context, params *UpdateMedicalVocabularyInput, optFns ...func(*Options)) (*UpdateMedicalVocabularyOutput, error) { if params == nil { params = &UpdateMedicalVocabularyInput{} @@ -33,30 +32,23 @@ func (c *Client) UpdateMedicalVocabulary(ctx context.Context, params *UpdateMedi type UpdateMedicalVocabularyInput struct { - // The language code of the language used for the entries in the updated - // vocabulary. U.S. English (en-US) is the only valid language code in Amazon - // Transcribe Medical. + // The language code that represents the language of the entries in the custom + // vocabulary you want to update. US English (en-US) is the only language supported + // with Amazon Transcribe Medical. // // This member is required. LanguageCode types.LanguageCode - // The name of the vocabulary to update. The name is case sensitive. If you try to - // update a vocabulary with the same name as a vocabulary you've already made, you - // get a ConflictException error. + // The name of the custom medical vocabulary you want to update. Vocabulary names + // are case sensitive. // // This member is required. VocabularyName *string - // The location in Amazon S3 of the text file that contains your custom vocabulary. - // The URI must be in the same Amazon Web Services Region as the resource that you - // are calling. The following is the format for a URI: - // https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey For example: - // https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt For more - // information about Amazon S3 object names, see Object Keys - // (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) - // in the Amazon S3 Developer Guide. For more information about custom vocabularies - // in Amazon Transcribe Medical, see Medical Custom Vocabularies - // (https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html). + // The Amazon S3 location of the text file that contains your custom medical + // vocabulary. The URI must be located in the same Amazon Web Services Region as + // the resource you're calling. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt VocabularyFileUri *string noSmithyDocumentSerde @@ -64,20 +56,20 @@ type UpdateMedicalVocabularyInput struct { type UpdateMedicalVocabularyOutput struct { - // The language code for the language of the text file used to update the custom - // vocabulary. US English (en-US) is the only language supported in Amazon - // Transcribe Medical. + // The language code you selected for your medical vocabulary. US English (en-US) + // is the only language supported with Amazon Transcribe Medical. LanguageCode types.LanguageCode - // The date and time that the vocabulary was updated. + // The date and time the specified custom medical vocabulary was last updated. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the updated vocabulary. + // The name of the updated custom medical vocabulary. VocabularyName *string - // The processing state of the update to the vocabulary. When the VocabularyState - // field is READY, the vocabulary is ready to be used in a - // StartMedicalTranscriptionJob request. + // The processing state of your custom medical vocabulary. If the state is READY, + // you can use the vocabulary in a StartMedicalTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_UpdateVocabulary.go b/service/transcribe/api_op_UpdateVocabulary.go index 0f02fe757fc..d50328a842c 100644 --- a/service/transcribe/api_op_UpdateVocabulary.go +++ b/service/transcribe/api_op_UpdateVocabulary.go @@ -12,9 +12,9 @@ import ( "time" ) -// Updates an existing vocabulary with new values. The UpdateVocabulary operation -// overwrites all of the existing information with the values that you provide in -// the request. +// Updates an existing custom vocabulary with new values. This operation overwrites +// all existing information with your new values; you cannot append new terms onto +// an existing vocabulary. func (c *Client) UpdateVocabulary(ctx context.Context, params *UpdateVocabularyInput, optFns ...func(*Options)) (*UpdateVocabularyOutput, error) { if params == nil { params = &UpdateVocabularyInput{} @@ -32,33 +32,44 @@ func (c *Client) UpdateVocabulary(ctx context.Context, params *UpdateVocabularyI type UpdateVocabularyInput struct { - // The language code of the vocabulary entries. For a list of languages and their - // corresponding language codes, see Supported languages - // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html). + // The language code that represents the language of the entries in the custom + // vocabulary you want to update. Each vocabulary must contain terms in only one + // language. A custom vocabulary can only be used to transcribe files in the same + // language as the vocabulary. For example, if you create a vocabulary using US + // English (en-US), you can only apply this vocabulary to files that contain + // English audio. For a list of supported languages and their associated language + // codes, refer to the Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. // // This member is required. LanguageCode types.LanguageCode - // The name of the vocabulary to update. The name is case sensitive. If you try to - // update a vocabulary with the same name as a previous vocabulary you will receive - // a ConflictException error. + // The name of the custom vocabulary you want to update. Vocabulary names are case + // sensitive. // // This member is required. VocabularyName *string - // An array of strings containing the vocabulary entries. + // Use this parameter if you want to update your vocabulary by including all + // desired terms, as comma-separated values, within your request. The other option + // for updating your vocabulary is to save your entries in a text file and upload + // them to an Amazon S3 bucket, then specify the location of your file using the + // VocabularyFileUri parameter. Note that if you include Phrases in your request, + // you cannot use VocabularyFileUri; you must choose one or the other. Each + // language has a character set that contains all allowed characters for that + // specific language. If you use unsupported characters, your vocabulary filter + // request fails. Refer to Character Sets for Custom Vocabularies + // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) to get the + // character set for your language. Phrases []string - // The S3 location of the text file that contains the definition of the custom - // vocabulary. The URI must be in the same region as the API endpoint that you are - // calling. The general form is: - // https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey For example: - // https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt For more - // information about S3 object names, see Object Keys - // (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) - // in the Amazon S3 Developer Guide. For more information about custom - // vocabularies, see Custom Vocabularies - // (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html). + // The Amazon S3 location of the text file that contains your custom vocabulary. + // The URI must be located in the same Amazon Web Services Region as the resource + // you're calling. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt Note that if you include + // VocabularyFileUri in your request, you cannot use the Phrases flag; you must + // choose one or the other. VocabularyFileUri *string noSmithyDocumentSerde @@ -66,17 +77,19 @@ type UpdateVocabularyInput struct { type UpdateVocabularyOutput struct { - // The language code of the vocabulary entries. + // The language code you selected for your custom vocabulary. LanguageCode types.LanguageCode - // The date and time that the vocabulary was updated. + // The date and time the specified vocabulary was last updated. Timestamps are in + // the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the vocabulary that was updated. + // The name of the updated custom vocabulary. VocabularyName *string - // The processing state of the vocabulary. When the VocabularyState field contains - // READY the vocabulary is ready to be used in a StartTranscriptionJob request. + // The processing state of your custom vocabulary. If the state is READY, you can + // use the vocabulary in a StartTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. diff --git a/service/transcribe/api_op_UpdateVocabularyFilter.go b/service/transcribe/api_op_UpdateVocabularyFilter.go index e1d77ff9ebf..5af5756a5c6 100644 --- a/service/transcribe/api_op_UpdateVocabularyFilter.go +++ b/service/transcribe/api_op_UpdateVocabularyFilter.go @@ -12,7 +12,9 @@ import ( "time" ) -// Updates a vocabulary filter with a new list of filtered words. +// Updates an existing custom vocabulary filter with a new list of words. The new +// list you provide overwrites all previous entries; you cannot append new terms +// onto an existing vocabulary filter. func (c *Client) UpdateVocabularyFilter(ctx context.Context, params *UpdateVocabularyFilterInput, optFns ...func(*Options)) (*UpdateVocabularyFilterOutput, error) { if params == nil { params = &UpdateVocabularyFilterInput{} @@ -30,28 +32,31 @@ func (c *Client) UpdateVocabularyFilter(ctx context.Context, params *UpdateVocab type UpdateVocabularyFilterInput struct { - // The name of the vocabulary filter to update. If you try to update a vocabulary - // filter with the same name as another vocabulary filter, you get a - // ConflictException error. + // The name of the custom vocabulary filter you want to update. Vocabulary filter + // names are case sensitive. // // This member is required. VocabularyFilterName *string - // The Amazon S3 location of a text file used as input to create the vocabulary - // filter. Only use characters from the character set defined for custom - // vocabularies. For a list of character sets, see Character Sets for Custom - // Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html). - // The specified file must be less than 50 KB of UTF-8 characters. If you provide - // the location of a list of words in the VocabularyFilterFileUri parameter, you - // can't use the Words parameter. + // The Amazon S3 location of the text file that contains your custom vocabulary + // filter terms. The URI must be located in the same Amazon Web Services Region as + // the resource you're calling. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt Note that if you include + // VocabularyFilterFileUri in your request, you cannot use Words; you must choose + // one or the other. VocabularyFilterFileUri *string - // The words to use in the vocabulary filter. Only use characters from the - // character set defined for custom vocabularies. For a list of character sets, see - // Character Sets for Custom Vocabularies - // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html). If you provide - // a list of words in the Words parameter, you can't use the - // VocabularyFilterFileUri parameter. + // Use this parameter if you want to update your vocabulary filter by including all + // desired terms, as comma-separated values, within your request. The other option + // for updating your vocabulary filter is to save your entries in a text file and + // upload them to an Amazon S3 bucket, then specify the location of your file using + // the VocabularyFilterFileUri parameter. Note that if you include Words in your + // request, you cannot use VocabularyFilterFileUri; you must choose one or the + // other. Each language has a character set that contains all allowed characters + // for that specific language. If you use unsupported characters, your vocabulary + // filter request fails. Refer to Character Sets for Custom Vocabularies + // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) to get the + // character set for your language. Words []string noSmithyDocumentSerde @@ -59,13 +64,15 @@ type UpdateVocabularyFilterInput struct { type UpdateVocabularyFilterOutput struct { - // The language code of the words in the vocabulary filter. + // The language code you selected for your vocabulary filter. LanguageCode types.LanguageCode - // The date and time that the vocabulary filter was updated. + // The date and time the specified vocabulary filter was last updated. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the updated vocabulary filter. + // The name of the updated custom vocabulary filter. VocabularyFilterName *string // Metadata pertaining to the operation's result. diff --git a/service/transcribe/deserializers.go b/service/transcribe/deserializers.go index 422d68fcb20..2e75adf2616 100644 --- a/service/transcribe/deserializers.go +++ b/service/transcribe/deserializers.go @@ -5788,6 +5788,114 @@ func awsAwsjson11_deserializeDocumentJobExecutionSettings(v **types.JobExecution return nil } +func awsAwsjson11_deserializeDocumentLanguageCodeItem(v **types.LanguageCodeItem, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.LanguageCodeItem + if *v == nil { + sv = &types.LanguageCodeItem{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "DurationInSeconds": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.DurationInSeconds = ptr.Float32(float32(f64)) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.DurationInSeconds = ptr.Float32(float32(f64)) + + default: + return fmt.Errorf("expected DurationInSeconds to be a JSON Number, got %T instead", value) + + } + } + + case "LanguageCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LanguageCode to be of type string, got %T instead", value) + } + sv.LanguageCode = types.LanguageCode(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentLanguageCodeList(v *[]types.LanguageCodeItem, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.LanguageCodeItem + if *v == nil { + cv = []types.LanguageCodeItem{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.LanguageCodeItem + destAddr := &col + if err := awsAwsjson11_deserializeDocumentLanguageCodeItem(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentLanguageIdSettings(v **types.LanguageIdSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -7717,6 +7825,15 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob sv.IdentifyLanguage = ptr.Bool(jtv) } + case "IdentifyMultipleLanguages": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.IdentifyMultipleLanguages = ptr.Bool(jtv) + } + case "JobExecutionSettings": if err := awsAwsjson11_deserializeDocumentJobExecutionSettings(&sv.JobExecutionSettings, value); err != nil { return err @@ -7731,6 +7848,11 @@ func awsAwsjson11_deserializeDocumentTranscriptionJob(v **types.TranscriptionJob sv.LanguageCode = types.LanguageCode(jtv) } + case "LanguageCodes": + if err := awsAwsjson11_deserializeDocumentLanguageCodeList(&sv.LanguageCodes, value); err != nil { + return err + } + case "LanguageIdSettings": if err := awsAwsjson11_deserializeDocumentLanguageIdSettingsMap(&sv.LanguageIdSettings, value); err != nil { return err @@ -7981,6 +8103,15 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip sv.IdentifyLanguage = ptr.Bool(jtv) } + case "IdentifyMultipleLanguages": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.IdentifyMultipleLanguages = ptr.Bool(jtv) + } + case "LanguageCode": if value != nil { jtv, ok := value.(string) @@ -7990,6 +8121,11 @@ func awsAwsjson11_deserializeDocumentTranscriptionJobSummary(v **types.Transcrip sv.LanguageCode = types.LanguageCode(jtv) } + case "LanguageCodes": + if err := awsAwsjson11_deserializeDocumentLanguageCodeList(&sv.LanguageCodes, value); err != nil { + return err + } + case "ModelSettings": if err := awsAwsjson11_deserializeDocumentModelSettings(&sv.ModelSettings, value); err != nil { return err diff --git a/service/transcribe/doc.go b/service/transcribe/doc.go index 4a9a1e3380d..7ec5446b406 100644 --- a/service/transcribe/doc.go +++ b/service/transcribe/doc.go @@ -3,5 +3,18 @@ // Package transcribe provides the API client, operations, and parameter types for // Amazon Transcribe Service. // -// Operations and objects for transcribing speech to text. +// Amazon Transcribe offers three main types of batch transcription: Standard, +// Medical, and Call Analytics. +// +// * Standard transcriptions are the most common +// option. Refer to for details. +// +// * Medical transcriptions are tailored to medical +// professionals and incorporate medical terms. A common use case for this service +// is transcribing doctor-patient dialogue into after-visit notes. Refer to for +// details. +// +// * Call Analytics transcriptions are designed for use with call center +// audio on two different channels; if you're looking for insight into customer +// service calls, use this option. Refer to for details. package transcribe diff --git a/service/transcribe/go.mod b/service/transcribe/go.mod index c6538b6db72..8b46871c508 100644 --- a/service/transcribe/go.mod +++ b/service/transcribe/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/transcribe go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/transcribe/go.sum b/service/transcribe/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/transcribe/go.sum +++ b/service/transcribe/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/transcribe/go_module_metadata.go b/service/transcribe/go_module_metadata.go index 4d28c8b3e84..ce71fc48c03 100644 --- a/service/transcribe/go_module_metadata.go +++ b/service/transcribe/go_module_metadata.go @@ -3,4 +3,4 @@ package transcribe // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.3" +const goModuleVersion = "1.20.1" diff --git a/service/transcribe/serializers.go b/service/transcribe/serializers.go index ed6881fba70..f90056214ed 100644 --- a/service/transcribe/serializers.go +++ b/service/transcribe/serializers.go @@ -3561,6 +3561,11 @@ func awsAwsjson11_serializeOpDocumentStartTranscriptionJobInput(v *StartTranscri ok.Boolean(*v.IdentifyLanguage) } + if v.IdentifyMultipleLanguages != nil { + ok := object.Key("IdentifyMultipleLanguages") + ok.Boolean(*v.IdentifyMultipleLanguages) + } + if v.JobExecutionSettings != nil { ok := object.Key("JobExecutionSettings") if err := awsAwsjson11_serializeDocumentJobExecutionSettings(v.JobExecutionSettings, ok); err != nil { diff --git a/service/transcribe/types/errors.go b/service/transcribe/types/errors.go index c4e4b841092..e68cbac84ae 100644 --- a/service/transcribe/types/errors.go +++ b/service/transcribe/types/errors.go @@ -7,10 +7,9 @@ import ( smithy "github.com/aws/smithy-go" ) -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field for -// more information. +// Your request didn't pass one or more validation tests. This can occur when the +// entity you're trying to delete doesn't exist or if it's in a non-terminal state +// (such as IN PROGRESS). See the exception message field for more information. type BadRequestException struct { Message *string @@ -29,7 +28,8 @@ func (e *BadRequestException) ErrorMessage() string { func (e *BadRequestException) ErrorCode() string { return "BadRequestException" } func (e *BadRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// There is already a resource with that name. +// A resource already exists with this name. Resource names must be unique within +// an Amazon Web Services account. type ConflictException struct { Message *string @@ -48,7 +48,8 @@ func (e *ConflictException) ErrorMessage() string { func (e *ConflictException) ErrorCode() string { return "ConflictException" } func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// There was an internal error. Check the error message and try your request again. +// There was an internal error. Check the error message, correct the issue, and try +// your request again. type InternalFailureException struct { Message *string @@ -67,8 +68,8 @@ func (e *InternalFailureException) ErrorMessage() string { func (e *InternalFailureException) ErrorCode() string { return "InternalFailureException" } func (e *InternalFailureException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// You've either sent too many requests or your input file is too long. Wait before +// retrying your request, or use a smaller file and try your request again. type LimitExceededException struct { Message *string @@ -87,7 +88,8 @@ func (e *LimitExceededException) ErrorMessage() string { func (e *LimitExceededException) ErrorCode() string { return "LimitExceededException" } func (e *LimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// We can't find the requested resource. Check the name and try your request again. +// We can't find the requested resource. Check that the specified name is correct +// and try your request again. type NotFoundException struct { Message *string diff --git a/service/transcribe/types/types.go b/service/transcribe/types/types.go index 733215ec0b3..3562347e168 100644 --- a/service/transcribe/types/types.go +++ b/service/transcribe/types/types.go @@ -7,726 +7,959 @@ import ( "time" ) -// A time range, set in seconds, between two points in the call. +// A time range, in milliseconds, between two points in your media file. You can +// use StartTime and EndTime to search a custom segment. For example, setting +// StartTime to 10000 and EndTime to 50000 only searches for your specified +// criteria in the audio contained between the 10,000 millisecond mark and the +// 50,000 millisecond mark of your media file. You must use StartTime and EndTime +// as a set; that is, if you include one, you must include both. You can use also +// First to search from the start of the audio until the time you specify, or Last +// to search from the time you specify until the end of the audio. For example, +// setting First to 50000 only searches for your specified criteria in the audio +// contained between the start of the media file to the 50,000 millisecond mark. +// You can use First and Last independently of each other. If you prefer to use +// percentage instead of milliseconds, see . type AbsoluteTimeRange struct { - // A value that indicates the end of the time range in milliseconds. To set - // absolute time range, you must specify a start time and an end time. For example, - // if you specify the following values: - // - // * StartTime - 10000 - // - // * Endtime - - // 50000 - // - // The time range is set between 10,000 milliseconds and 50,000 milliseconds - // into the call. + // The time, in milliseconds, when Amazon Transcribe stops searching for the + // specified criteria in your audio. If you include EndTime in your request, you + // must also include StartTime. EndTime *int64 - // A time range from the beginning of the call to the value that you've specified. - // For example, if you specify 100000, the time range is set to the first 100,000 - // milliseconds of the call. + // The time, in milliseconds, from the start of your media file until the value you + // specify in which Amazon Transcribe searches for your specified criteria. First *int64 - // A time range from the value that you've specified to the end of the call. For - // example, if you specify 100000, the time range is set to the last 100,000 - // milliseconds of the call. + // The time, in milliseconds, from the value you specify until the end of your + // media file in which Amazon Transcribe searches for your specified criteria. Last *int64 - // A value that indicates the beginning of the time range in seconds. To set - // absolute time range, you must specify a start time and an end time. For example, - // if you specify the following values: - // - // * StartTime - 10000 - // - // * Endtime - - // 50000 - // - // The time range is set between 10,000 milliseconds and 50,000 milliseconds - // into the call. + // The time, in milliseconds, when Amazon Transcribe starts searching for the + // specified criteria in your audio. If you include StartTime in your request, you + // must also include EndTime. StartTime *int64 noSmithyDocumentSerde } -// Describes an asynchronous analytics job that was created with the -// StartAnalyticsJob operation. +// Provides detailed information about a Call Analytics job. To view the job's +// status, refer to CallAnalyticsJobStatus. If the status is COMPLETED, the job is +// finished. You can find your completed transcript at the URI specified in +// TranscriptFileUri. If the status is FAILED, FailureReason provides details on +// why your transcription job failed. If you enabled personally identifiable +// information (PII) redaction, the redacted transcript appears at the location +// specified in RedactedTranscriptFileUri. If you chose to redact the audio in your +// media file, you can find your redacted media file at the location specified in +// the RedactedMediaFileUri field of your response. type CallAnalyticsJob struct { - // The name of the call analytics job. + // The name of the Call Analytics job. Job names are case sensitive and must be + // unique within an Amazon Web Services account. CallAnalyticsJobName *string - // The status of the analytics job. + // Provides the status of the specified Call Analytics job. If the status is + // COMPLETED, the job is finished and you can find the results at the location + // specified in TranscriptFileUri (or RedactedTranscriptFileUri, if you requested + // transcript redaction). If the status is FAILED, FailureReason provides details + // on why your transcription job failed. CallAnalyticsJobStatus CallAnalyticsJobStatus - // Shows numeric values to indicate the channel assigned to the agent's audio and - // the channel assigned to the customer's audio. + // Allows you to specify which speaker is on which channel in your Call Analytics + // job request. For example, if your agent is the first participant to speak, you + // would set ChannelId to 0 (to indicate the first channel) and ParticipantRole to + // AGENT (to indicate that it's the agent speaking). ChannelDefinitions []ChannelDefinition - // A timestamp that shows when the analytics job was completed. + // The date and time the specified Call Analytics job finished processing. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:33:13.922000-07:00 represents a transcription job that started + // processing at 12:33 PM UTC-7 on May 4, 2022. CompletionTime *time.Time - // A timestamp that shows when the analytics job was created. + // The date and time the specified Call Analytics job request was made. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. CreationTime *time.Time - // The Amazon Resource Number (ARN) that you use to access the analytics job. ARNs - // have the format - // arn:partition:service:region:account-id:resource-type/resource-id. + // The Amazon Resource Name (ARN) of an IAM role that has permissions to access the + // Amazon S3 bucket that contains your input files. If the role you specify doesn’t + // have the appropriate permissions to access the specified Amazon S3 location, + // your request fails. IAM role ARNs have the format + // arn:partition:iam::account:role/role-name-with-path. For example: + // arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). DataAccessRoleArn *string - // If the AnalyticsJobStatus is FAILED, this field contains information about why - // the job failed. The FailureReason field can contain one of the following - // values: + // If CallAnalyticsJobStatus is FAILED, FailureReason contains information about + // why the Call Analytics job request failed. The FailureReason field contains one + // of the following values: // - // * Unsupported media format: The media format specified in the - // MediaFormat field of the request isn't valid. See the description of the - // MediaFormat field for a list of valid values. + // * Unsupported media format. The media format specified + // in MediaFormat isn't valid. Refer to MediaFormat for a list of supported + // formats. // - // * The media format provided does - // not match the detected media format: The media format of the audio file doesn't - // match the format specified in the MediaFormat field in the request. Check the - // media format of your media file and make sure the two values match. + // * The media format provided does not match the detected media format. + // The media format specified in MediaFormat doesn't match the format of the input + // file. Check the media format of your media file and correct the specified + // value. // - // * Invalid - // sample rate for audio file: The sample rate specified in the - // MediaSampleRateHertz of the request isn't valid. The sample rate must be between - // 8,000 and 48,000 Hertz. + // * Invalid sample rate for audio file. The sample rate specified in + // MediaSampleRateHertz isn't valid. The sample rate must be between 8,000 and + // 48,000 Hertz. // - // * The sample rate provided does not match the detected - // sample rate: The sample rate in the audio file doesn't match the sample rate - // specified in the MediaSampleRateHertz field in the request. Check the sample - // rate of your media file and make sure that the two values match. + // * The sample rate provided does not match the detected sample + // rate. The sample rate specified in MediaSampleRateHertz doesn't match the sample + // rate detected in your input media file. Check the sample rate of your media file + // and correct the specified value. // - // * Invalid file - // size: file size too large: The size of your audio file is larger than what - // Amazon Transcribe Medical can process. For more information, see Guidelines and - // Quotas in the Amazon Transcribe Medical Guide. + // * Invalid file size: file size too large. The + // size of your media file is larger than what Amazon Transcribe can process. For + // more information, refer to Guidelines and quotas + // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits). // - // * Invalid number of channels: - // number of channels too large: Your audio contains more channels than Amazon - // Transcribe Medical is configured to process. To request additional channels, see - // Amazon Transcribe Medical Endpoints and Quotas in the Amazon Web Services - // General Reference (https://docs.aws.amazon.com/general/latest/gr/Welcome.html). + // * + // Invalid number of channels: number of channels too large. Your audio contains + // more channels than Amazon Transcribe is able to process. For more information, + // refer to Guidelines and quotas + // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits). FailureReason *string - // A value between zero and one that Amazon Transcribe assigned to the language - // that it identified in the source audio. This value appears only when you don't - // provide a single language code. Larger values indicate that Amazon Transcribe - // has higher confidence in the language that it identified. + // The confidence score associated with the language identified in your media file. + // Confidence scores are values between 0 and 1; a larger value indicates a higher + // probability that the identified language correctly matches the language spoken + // in your media. IdentifiedLanguageScore *float32 - // If you know the language spoken between the customer and the agent, specify a - // language code for this field. If you don't know the language, you can leave this - // field blank, and Amazon Transcribe will use machine learning to automatically - // identify the language. To improve the accuracy of language identification, you - // can provide an array containing the possible language codes for the language - // spoken in your audio. Refer to Supported languages - // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) for - // additional information. + // The language code used to create your Call Analytics job. For a list of + // supported languages and their associated language codes, refer to the Supported + // languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. If you don't know the language spoken in your media file, you can omit + // this field and let Amazon Transcribe automatically identify the language of your + // media. To improve the accuracy of language identification, you can include + // several language codes and Amazon Transcribe chooses the closest match for your + // transcription. LanguageCode LanguageCode - // Describes the input media file in a transcription request. + // Describes the Amazon S3 location of the media file you want to use in your + // request. Media *Media - // The format of the input audio file. Note: for call analytics jobs, only the - // following media formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM. + // The format of the input media file. MediaFormat MediaFormat - // The sample rate, in Hertz, of the input audio. + // The sample rate, in Hertz, of the audio track in your input media file. MediaSampleRateHertz *int32 - // Provides information about the settings used to run a transcription job. + // Allows additional optional settings in your request, including content + // redaction; allows you to apply custom language models, vocabulary filters, and + // custom vocabularies to your Call Analytics job. Settings *CallAnalyticsJobSettings - // A timestamp that shows when the analytics job started processing. + // The date and time the specified Call Analytics job began processing. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.789000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. StartTime *time.Time - // Identifies the location of a transcription. + // Provides you with the Amazon S3 URI you can use to access your transcript. Transcript *Transcript noSmithyDocumentSerde } -// Provides optional settings for the CallAnalyticsJob operation. +// Provides additional optional settings for your request, including content +// redaction, automatic language identification; allows you to apply custom +// language models, vocabulary filters, and custom vocabularies. type CallAnalyticsJobSettings struct { - // Settings for content redaction within a transcription job. + // Allows you to redact or flag specified personally identifiable information (PII) + // in your transcript. If you use ContentRedaction, you must also include the + // sub-parameters: PiiEntityTypes, RedactionOutput, and RedactionType. ContentRedaction *ContentRedaction - // The language identification settings associated with your call analytics job. - // These settings include VocabularyName, VocabularyFilterName, and - // LanguageModelName. + // If using automatic language identification (IdentifyLanguage) in your request + // and you want to apply a custom language model, a custom vocabulary, or a custom + // vocabulary filter, include LanguageIdSettings with the relevant sub-parameters + // (VocabularyName, LanguageModelName, and VocabularyFilterName). You can specify + // two or more language codes that represent the languages you think may be present + // in your media; including more than five is not recommended. Each language code + // you include can have an associated custom language model, custom vocabulary, and + // custom vocabulary filter. The languages you specify must match the languages of + // the specified custom language models, custom vocabularies, and custom vocabulary + // filters. To include language options using IdentifyLanguage without including a + // custom language model, a custom vocabulary, or a custom vocabulary filter, use + // LanguageOptions instead of LanguageIdSettings. Including language options can + // improve the accuracy of automatic language identification. If you want to + // include a custom language model with your request but do not want to use + // automatic language identification, use instead the parameter with the + // LanguageModelName sub-parameter. If you want to include a custom vocabulary or a + // custom vocabulary filter (or both) with your request but do not want to use + // automatic language identification, use instead the parameter with the + // VocabularyName or VocabularyFilterName (or both) sub-parameter. LanguageIdSettings map[string]LanguageIdSettings - // The structure used to describe a custom language model. + // The name of the custom language model you want to use when processing your Call + // Analytics job. Note that language model names are case sensitive. The language + // of the specified language model must match the language code you specify in your + // transcription request. If the languages don't match, the language model isn't + // applied. There are no errors or warnings associated with a language mismatch. LanguageModelName *string - // When you run a call analytics job, you can specify the language spoken in the - // audio, or you can have Amazon Transcribe identify the language for you. To - // specify a language, specify an array with one language code. If you don't know - // the language, you can leave this field blank and Amazon Transcribe will use - // machine learning to identify the language for you. To improve the ability of - // Amazon Transcribe to correctly identify the language, you can provide an array - // of the languages that can be present in the audio. Refer to Supported languages - // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) for - // additional information. + // You can specify two or more language codes that represent the languages you + // think may be present in your media; including more than five is not recommended. + // If you're unsure what languages are present, do not include this parameter. + // Including language options can improve the accuracy of language identification. + // For a list of languages supported with Call Analytics, refer to the Supported + // languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. LanguageOptions []LanguageCode - // Set to mask to remove filtered text from the transcript and replace it with - // three asterisks ("***") as placeholder text. Set to remove to remove filtered - // text from the transcript without using placeholder text. Set to tag to mark the - // word in the transcription output that matches the vocabulary filter. When you - // set the filter method to tag, the words matching your vocabulary filter are not - // masked or removed. + // Specify how you want your vocabulary filter applied to your transcript. To + // replace words with ***, choose mask. To delete words, choose remove. To flag + // words without changing them, choose tag. VocabularyFilterMethod VocabularyFilterMethod - // The name of the vocabulary filter to use when running a call analytics job. The - // filter that you specify must have the same language code as the analytics job. + // The name of the custom vocabulary filter you want to include in your Call + // Analytics transcription request. Vocabulary filter names are case sensitive. + // Note that if you include VocabularyFilterName in your request, you must also + // include VocabularyFilterMethod. VocabularyFilterName *string - // The name of a vocabulary to use when processing the call analytics job. + // The name of the custom vocabulary you want to include in your Call Analytics + // transcription request. Vocabulary names are case sensitive. VocabularyName *string noSmithyDocumentSerde } -// Provides summary information about a call analytics job. +// Provides detailed information about a specific Call Analytics job. type CallAnalyticsJobSummary struct { - // The name of the call analytics job. + // The name of the Call Analytics job. Job names are case sensitive and must be + // unique within an Amazon Web Services account. CallAnalyticsJobName *string - // The status of the call analytics job. + // Provides the status of your Call Analytics job. If the status is COMPLETED, the + // job is finished and you can find the results at the location specified in + // TranscriptFileUri (or RedactedTranscriptFileUri, if you requested transcript + // redaction). If the status is FAILED, FailureReason provides details on why your + // transcription job failed. CallAnalyticsJobStatus CallAnalyticsJobStatus - // A timestamp that shows when the job was completed. + // The date and time the specified Call Analytics job finished processing. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:33:13.922000-07:00 represents a transcription job that started + // processing at 12:33 PM UTC-7 on May 4, 2022. CompletionTime *time.Time - // A timestamp that shows when the call analytics job was created. + // The date and time the specified Call Analytics job request was made. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. CreationTime *time.Time - // If the CallAnalyticsJobStatus is FAILED, a description of the error. + // If CallAnalyticsJobStatus is FAILED, FailureReason contains information about + // why the Call Analytics job failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // The language of the transcript in the source audio file. + // The language code used to create your Call Analytics transcription. LanguageCode LanguageCode - // A timestamp that shows when the job began processing. + // The date and time your Call Analytics job began processing. Timestamps are in + // the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.789000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. StartTime *time.Time noSmithyDocumentSerde } -// An object that contains the rules and additional information about a call -// analytics category. +// Provides you with the properties of the Call Analytics category you specified in +// your request. This includes the list of rules that define the specified +// category. type CategoryProperties struct { - // The name of the call analytics category. + // The name of the Call Analytics category. Category names are case sensitive and + // must be unique within an Amazon Web Services account. CategoryName *string - // A timestamp that shows when the call analytics category was created. + // The date and time the specified Call Analytics category was created. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. CreateTime *time.Time - // A timestamp that shows when the call analytics category was most recently - // updated. + // The date and time the specified Call Analytics category was last updated. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM UTC-7 on May 5, 2022. LastUpdateTime *time.Time - // The rules used to create a call analytics category. + // The rules used to define a Call Analytics category. Each category can have + // between 1 and 20 rules. Rules []Rule noSmithyDocumentSerde } -// For a call analytics job, an object that indicates the audio channel that -// belongs to the agent and the audio channel that belongs to the customer. +// Allows you to specify which speaker is on which channel. For example, if your +// agent is the first participant to speak, you would set ChannelId to 0 (to +// indicate the first channel) and ParticipantRole to AGENT (to indicate that it's +// the agent speaking). type ChannelDefinition struct { - // A value that indicates the audio channel. + // Specify the audio channel you want to define. ChannelId int32 - // Indicates whether the person speaking on the audio channel is the agent or - // customer. + // Specify the speaker you want to define. Omitting this parameter is equivalent to + // specifying both participants. ParticipantRole ParticipantRole noSmithyDocumentSerde } -// Settings for content redaction within a transcription job. +// Allows you to redact or flag specified personally identifiable information (PII) +// in your transcript. If you use ContentRedaction, you must also include the +// sub-parameters: PiiEntityTypes, RedactionOutput, and RedactionType. type ContentRedaction struct { - // The output transcript file stored in either the default S3 bucket or in a bucket - // you specify. When you choose redacted Amazon Transcribe outputs only the + // Specify if you want only a redacted transcript, or if you want a redacted and an + // unredacted transcript. When you choose redacted Amazon Transcribe creates only a // redacted transcript. When you choose redacted_and_unredacted Amazon Transcribe - // outputs both the redacted and unredacted transcripts. + // creates a redacted and an unredacted transcript (as two separate files). // // This member is required. RedactionOutput RedactionOutput - // Request parameter that defines the entities to be redacted. The only accepted - // value is PII. + // Specify the category of information you want to redact; PII (personally + // identifiable information) is the only valid value. You can use PiiEntityTypes to + // choose which types of PII you want to redact. // // This member is required. RedactionType RedactionType - // The types of personally identifiable information (PII) you want to redact in - // your transcript. + // Specify which types of personally identifiable information (PII) you want to + // redact in your transcript. You can include as many types as you'd like, or you + // can select ALL. PiiEntityTypes []PiiEntityType noSmithyDocumentSerde } -// The object that contains the Amazon S3 object location and access role required -// to train and tune your custom language model. +// Contains the Amazon S3 location of the training data you want to use to create a +// new custom language model, and permissions to access this location. When using +// InputDataConfig, you must include these sub-parameters: S3Uri and +// DataAccessRoleArn. You can optionally include TuningDataS3Uri. type InputDataConfig struct { - // The Amazon Resource Name (ARN) that uniquely identifies the permissions you've - // given Amazon Transcribe to access your Amazon S3 buckets containing your media - // files or text data. ARNs have the format - // arn:partition:service:region:account-id:resource-type/resource-id. + // The Amazon Resource Name (ARN) of an IAM role that has permissions to access the + // Amazon S3 bucket that contains your input files. If the role you specify doesn’t + // have the appropriate permissions to access the specified Amazon S3 location, + // your request fails. IAM role ARNs have the format + // arn:partition:iam::account:role/role-name-with-path. For example: + // arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). // // This member is required. DataAccessRoleArn *string - // The Amazon S3 prefix you specify to access the plain text files that you use to - // train your custom language model. + // The Amazon S3 location (URI) of the text files you want to use to train your + // custom language model. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-model-training-data/ // // This member is required. S3Uri *string - // The Amazon S3 prefix you specify to access the plain text files that you use to - // tune your custom language model. + // The Amazon S3 location (URI) of the text files you want to use to tune your + // custom language model. Here's an example URI path: + // s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/ TuningDataS3Uri *string noSmithyDocumentSerde } -// An object that enables you to configure your category to be applied to call -// analytics jobs where either the customer or agent was interrupted. +// Flag the presence or absence of interruptions in your Call Analytics +// transcription output. Rules using InterruptionFilter are designed to match: +// +// * +// Instances where an agent interrupts a customer +// +// * Instances where a customer +// interrupts an agent +// +// * Either participant interrupting the other +// +// * A lack of +// interruptions +// +// See Rule criteria +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html#call-analytics-create-categories-rules) +// for usage examples. type InterruptionFilter struct { - // An object you can use to specify a time range (in milliseconds) for when you'd - // want to find the interruption. For example, you could search for an interruption - // between the 30,000 millisecond mark and the 45,000 millisecond mark. You could - // also specify the time period as the first 15,000 milliseconds or the last 15,000 - // milliseconds. + // Allows you to specify a time range (in milliseconds) in your audio, during which + // you want to search for an interruption. See for more detail. AbsoluteTimeRange *AbsoluteTimeRange - // Set to TRUE to look for a time period where there was no interruption. + // Set to TRUE to flag speech that does not contain interruptions. Set to FALSE to + // flag speech that contains interruptions. Negate *bool - // Indicates whether the caller or customer was interrupting. + // Specify the interrupter you want to flag. Omitting this parameter is equivalent + // to specifying both participants. ParticipantRole ParticipantRole - // An object that allows percentages to specify the proportion of the call where - // there was a interruption. For example, you can specify the first half of the - // call. You can also specify the period of time between halfway through to - // three-quarters of the way through the call. Because the length of conversation - // can vary between calls, you can apply relative time ranges across all calls. + // Allows you to specify a time range (in percentage) in your media file, during + // which you want to search for an interruption. See for more detail. RelativeTimeRange *RelativeTimeRange - // The duration of the interruption. + // Specify the duration of the interruptions in milliseconds. For example, you can + // flag speech that contains more than 10000 milliseconds of interruptions. Threshold *int64 noSmithyDocumentSerde } -// Provides information about when a transcription job should be executed. +// Allows you to control how your transcription job is processed. Currently, the +// only JobExecutionSettings modification you can choose is enabling job queueing +// using the AllowDeferredExecution sub-parameter. If you include +// JobExecutionSettings in your request, you must also include the sub-parameters: +// AllowDeferredExecution and DataAccessRoleArn. type JobExecutionSettings struct { - // Indicates whether a job should be queued by Amazon Transcribe when the - // concurrent execution limit is exceeded. When the AllowDeferredExecution field is - // true, jobs are queued and executed when the number of executing jobs falls below - // the concurrent execution limit. If the field is false, Amazon Transcribe returns - // a LimitExceededException exception. Note that job queuing is enabled by default - // for call analytics jobs. If you specify the AllowDeferredExecution field, you - // must specify the DataAccessRoleArn field. + // Allows you to enable job queuing when your concurrent request limit is exceeded. + // When AllowDeferredExecution is set to true, transcription job requests are + // placed in a queue until the number of jobs falls below the concurrent request + // limit. If AllowDeferredExecution is set to false and the number of transcription + // job requests exceed the concurrent request limit, you get a + // LimitExceededException error. Note that job queuing is enabled by default for + // Call Analytics jobs. If you include AllowDeferredExecution in your request, you + // must also include DataAccessRoleArn. AllowDeferredExecution *bool - // The Amazon Resource Name (ARN), in the form - // arn:partition:service:region:account-id:resource-type/resource-id, of a role - // that has access to the S3 bucket that contains the input files. Amazon - // Transcribe assumes this role to read queued media files. If you have specified - // an output S3 bucket for the transcription results, this role should have access - // to the output bucket as well. If you specify the AllowDeferredExecution field, - // you must specify the DataAccessRoleArn field. + // The Amazon Resource Name (ARN) of an IAM role that has permissions to access the + // Amazon S3 bucket that contains your input files. If the role you specify doesn’t + // have the appropriate permissions to access the specified Amazon S3 location, + // your request fails. IAM role ARNs have the format + // arn:partition:iam::account:role/role-name-with-path. For example: + // arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). + // Note that if you include DataAccessRoleArn in your request, you must also + // include AllowDeferredExecution. DataAccessRoleArn *string noSmithyDocumentSerde } -// Language-specific settings that can be specified when language identification is -// enabled. +// Provides information on the speech contained in a discreet utterance when +// multi-language identification is enabled in your request. This utterance +// represents a block of speech consisting of one language, preceded or followed by +// a block of speech in a different language. +type LanguageCodeItem struct { + + // Provides the total time, in seconds, each identified language is spoken in your + // media. + DurationInSeconds *float32 + + // Provides the language code for each language identified in your media. + LanguageCode LanguageCode + + noSmithyDocumentSerde +} + +// If using automatic language identification (IdentifyLanguage) in your request +// and you want to apply a custom language model, a custom vocabulary, or a custom +// vocabulary filter, include LanguageIdSettings with the relevant sub-parameters +// (VocabularyName, LanguageModelName, and VocabularyFilterName). You can specify +// two or more language codes that represent the languages you think may be present +// in your media; including more than five is not recommended. Each language code +// you include can have an associated custom language model, custom vocabulary, and +// custom vocabulary filter. The languages you specify must match the languages of +// the specified custom language models, custom vocabularies, and custom vocabulary +// filters. To include language options using IdentifyLanguage without including a +// custom language model, a custom vocabulary, or a custom vocabulary filter, use +// LanguageOptions instead of LanguageIdSettings. Including language options can +// improve the accuracy of automatic language identification. If you want to +// include a custom language model with your request but do not want to use +// automatic language identification, use instead the parameter with the +// LanguageModelName sub-parameter. If you want to include a custom vocabulary or a +// custom vocabulary filter (or both) with your request but do not want to use +// automatic language identification, use instead the parameter with the +// VocabularyName or VocabularyFilterName (or both) sub-parameter. type LanguageIdSettings struct { - // The name of the language model you want to use when transcribing your audio. The - // model you specify must have the same language codes as the transcription job; if - // the languages don't match, the language model isn't be applied. + // The name of the custom language model you want to use when processing your + // transcription job. Note that language model names are case sensitive. The + // language of the specified language model must match the language code you + // specify in your transcription request. If the languages don't match, the + // language model isn't applied. There are no errors or warnings associated with a + // language mismatch. LanguageModelName *string - // The name of the vocabulary filter you want to use when transcribing your audio. - // The filter you specify must have the same language codes as the transcription - // job; if the languages don't match, the vocabulary filter isn't be applied. + // The name of the custom vocabulary filter you want to use when processing your + // transcription job. Vocabulary filter names are case sensitive. The language of + // the specified vocabulary filter must match the language code you specify in your + // transcription request. If the languages don't match, the vocabulary filter isn't + // applied. There are no errors or warnings associated with a language mismatch. + // Note that if you include VocabularyFilterName in your request, you must also + // include VocabularyFilterMethod. VocabularyFilterName *string - // The name of the vocabulary you want to use when processing your transcription - // job. The vocabulary you specify must have the same language codes as the - // transcription job; if the languages don't match, the vocabulary isn't applied. + // The name of the custom vocabulary you want to use when processing your + // transcription job. Vocabulary names are case sensitive. The language of the + // specified vocabulary must match the language code you specify in your + // transcription request. If the languages don't match, the vocabulary isn't + // applied. There are no errors or warnings associated with a language mismatch. VocabularyName *string noSmithyDocumentSerde } -// The structure used to describe a custom language model. +// Provides information about a custom language model, including the base model +// name, when the model was created, the location of the files used to train the +// model, when the model was last modified, the name you chose for the model, its +// language, its processing state, and if there is an upgrade available for the +// base model. type LanguageModel struct { - // The Amazon Transcribe standard language model, or base model used to create the - // custom language model. + // The Amazon Transcribe standard language model, or base model, used to create + // your custom language model. BaseModelName BaseModelName - // The time the custom language model was created. + // The date and time the specified custom language model was created. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. CreateTime *time.Time - // The reason why the custom language model couldn't be created. + // If ModelStatus is FAILED, FailureReason contains information about why the + // custom language model request failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // The data access role and Amazon S3 prefixes for the input files used to train - // the custom language model. + // The Amazon S3 location of the input files used to train and tune your custom + // language model, in addition to the data access role ARN (Amazon Resource Name) + // that has permissions to access these data. InputDataConfig *InputDataConfig - // The language code you used to create your custom language model. + // The language code used to create your custom language model. Each language model + // must contain terms in only one language, and the language you select for your + // model must match the language of your training and tuning data. For a list of + // supported languages and their associated language codes, refer to the Supported + // languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. Note that U.S. English (en-US) is the only language supported with Amazon + // Transcribe Medical. LanguageCode CLMLanguageCode - // The most recent time the custom language model was modified. + // The date and time the specified language model was last modified. Timestamps are + // in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the custom language model. + // A unique name, chosen by you, for your custom language model. This name is case + // sensitive, cannot contain spaces, and must be unique within an Amazon Web + // Services account. ModelName *string - // The creation status of a custom language model. When the status is COMPLETED the - // model is ready for use. + // The status of the specified custom language model. When the status displays as + // COMPLETED the model is ready for use. ModelStatus ModelStatus - // Whether the base model used for the custom language model is up to date. If this - // field is false then you are running the most up-to-date version of the base - // model in your custom language model. + // Shows if a more current base model is available for use with the specified + // custom language model. If false, your language model is using the most + // up-to-date base model. If true, there is a newer base model available than the + // one your language model is using. Note that to update a base model, you must + // recreate the custom language model using the new base model. Base model upgrades + // for existing custom language models are not supported. UpgradeAvailability *bool noSmithyDocumentSerde } -// Describes the input media file in a transcription request. +// Describes the Amazon S3 location of the media file you want to use in your +// request. type Media struct { - // The S3 object location of the input media file. The URI must be in the same - // region as the API endpoint that you are calling. The general form is: - // s3://DOC-EXAMPLE-BUCKET/keyprefix/objectkey For example: - // s3://DOC-EXAMPLE-BUCKET/example.flacs3://DOC-EXAMPLE-BUCKET/mediafiles/example.flac - // For more information about S3 object names, see Object Keys - // (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) - // in the Amazon S3 Developer Guide. + // The Amazon S3 location of the media file you want to transcribe. For example: + // + // * + // s3://DOC-EXAMPLE-BUCKET/my-media-file.flac + // + // * + // s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac + // + // Note that the Amazon S3 + // bucket that contains your input media must be located in the same Amazon Web + // Services Region where you're making your transcription request. MediaFileUri *string - // The S3 object location for your redacted output media file. This is only - // supported for call analytics jobs. + // The Amazon S3 location of the media file you want to redact. For example: + // + // * + // s3://DOC-EXAMPLE-BUCKET/my-media-file.flac + // + // * + // s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac + // + // Note that the Amazon S3 + // bucket that contains your input media must be located in the same Amazon Web + // Services Region where you're making your transcription request. + // RedactedMediaFileUri is only supported for Call Analytics + // (StartCallAnalyticsJob) transcription requests. RedactedMediaFileUri *string noSmithyDocumentSerde } -// Identifies the location of a medical transcript. +// Provides you with the Amazon S3 URI you can use to access your transcript. type MedicalTranscript struct { - // The S3 object location of the medical transcript. Use this URI to access the - // medical transcript. This URI points to the S3 bucket you created to store the - // medical transcript. + // The Amazon S3 location of your transcript. You can use this URI to access or + // download your transcript. If you included OutputBucketName in your transcription + // job request, this is the URI of that bucket. If you also included OutputKey in + // your request, your output is located in the path you specified in your request. + // If you didn't include OutputBucketName in your transcription job request, your + // transcript is stored in a service-managed bucket, and TranscriptFileUri provides + // you with a temporary URI you can use for secure access to your transcript. + // Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 + // minutes. If you get an AccesDenied error, you can get a new temporary URI by + // running a GetTranscriptionJob or ListTranscriptionJob request. TranscriptFileUri *string noSmithyDocumentSerde } -// The data structure that contains the information for a medical transcription -// job. +// Provides detailed information about a medical transcription job. To view the +// status of the specified medical transcription job, check the +// TranscriptionJobStatus field. If the status is COMPLETED, the job is finished +// and you can find the results at the location specified in TranscriptFileUri. If +// the status is FAILED, FailureReason provides details on why your transcription +// job failed. type MedicalTranscriptionJob struct { - // A timestamp that shows when the job was completed. + // The date and time the specified medical transcription job finished processing. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:33:13.922000-07:00 represents a transcription job that started + // processing at 12:33 PM UTC-7 on May 4, 2022. CompletionTime *time.Time - // Shows the type of content that you've configured Amazon Transcribe Medical to - // identify in a transcription job. If the value is PHI, you've configured the job - // to identify personal health information (PHI) in the transcription output. + // Labels all personal health information (PHI) identified in your transcript. For + // more information, see Identifying personal health information (PHI) in a + // transcription (https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html). ContentIdentificationType MedicalContentIdentificationType - // A timestamp that shows when the job was created. + // The date and time the specified medical transcription job request was made. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. CreationTime *time.Time - // If the TranscriptionJobStatus field is FAILED, this field contains information - // about why the job failed. The FailureReason field contains one of the following - // values: + // If TranscriptionJobStatus is FAILED, FailureReason contains information about + // why the transcription job request failed. The FailureReason field contains one + // of the following values: // - // * Unsupported media format- The media format specified in the - // MediaFormat field of the request isn't valid. See the description of the - // MediaFormat field for a list of valid values. + // * Unsupported media format. The media format specified + // in MediaFormat isn't valid. Refer to MediaFormat for a list of supported + // formats. // - // * The media format provided does - // not match the detected media format- The media format of the audio file doesn't - // match the format specified in the MediaFormat field in the request. Check the - // media format of your media file and make sure the two values match. + // * The media format provided does not match the detected media format. + // The media format specified in MediaFormat doesn't match the format of the input + // file. Check the media format of your media file and correct the specified + // value. // - // * Invalid - // sample rate for audio file- The sample rate specified in the - // MediaSampleRateHertz of the request isn't valid. The sample rate must be between - // 8,000 and 48,000 Hertz. + // * Invalid sample rate for audio file. The sample rate specified in + // MediaSampleRateHertz isn't valid. The sample rate must be between 16,000 and + // 48,000 Hertz. // - // * The sample rate provided does not match the detected - // sample rate- The sample rate in the audio file doesn't match the sample rate - // specified in the MediaSampleRateHertz field in the request. Check the sample - // rate of your media file and make sure that the two values match. + // * The sample rate provided does not match the detected sample + // rate. The sample rate specified in MediaSampleRateHertz doesn't match the sample + // rate detected in your input media file. Check the sample rate of your media file + // and correct the specified value. // - // * Invalid file - // size: file size too large- The size of your audio file is larger than what - // Amazon Transcribe Medical can process. For more information, see Guidelines and - // Quotas - // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits) - // in the Amazon Transcribe Medical Guide. + // * Invalid file size: file size too large. The + // size of your media file is larger than what Amazon Transcribe can process. For + // more information, refer to Guidelines and quotas + // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits). // - // * Invalid number of channels: number of - // channels too large- Your audio contains more channels than Amazon Transcribe - // Medical is configured to process. To request additional channels, see Amazon - // Transcribe Medical Endpoints and Quotas - // (https://docs.aws.amazon.com/general/latest/gr/transcribe-medical.html) in the - // Amazon Web Services General Reference. + // * + // Invalid number of channels: number of channels too large. Your audio contains + // more channels than Amazon Transcribe is able to process. For more information, + // refer to Guidelines and quotas + // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits). FailureReason *string - // The language code for the language spoken in the source audio file. US English - // (en-US) is the only supported language for medical transcriptions. Any other - // value you enter for language code results in a BadRequestException error. + // The language code used to create your medical transcription job. US English + // (en-US) is the only supported language for medical transcriptions. LanguageCode LanguageCode - // Describes the input media file in a transcription request. + // Describes the Amazon S3 location of the media file you want to use in your + // request. Media *Media // The format of the input media file. MediaFormat MediaFormat - // The sample rate, in Hertz, of the source audio containing medical information. - // If you don't specify the sample rate, Amazon Transcribe Medical determines it - // for you. If you choose to specify the sample rate, it must match the rate - // detected by Amazon Transcribe Medical. + // The sample rate, in Hertz, of the audio track in your input media file. MediaSampleRateHertz *int32 - // The name for a given medical transcription job. + // The name of the medical transcription job. Job names are case sensitive and must + // be unique within an Amazon Web Services account. MedicalTranscriptionJobName *string - // Object that contains object. + // Specify additional optional settings in your request, including channel + // identification, alternative transcriptions, and speaker labeling; allows you to + // apply custom vocabularies to your medical transcription job. Settings *MedicalTranscriptionSetting - // The medical specialty of any clinicians providing a dictation or having a - // conversation. Refer to Transcribing a medical conversation - // (https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-medical-conversation.html)for - // a list of supported specialties. + // Describes the medical specialty represented in your media. Specialty Specialty - // A timestamp that shows when the job started processing. + // The date and time the specified medical transcription job began processing. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.789000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. StartTime *time.Time - // A key:value pair assigned to a given medical transcription job. + // The tags, each in the form of a key:value pair, assigned to the specified + // medical transcription job. Tags []Tag - // An object that contains the MedicalTranscript. The MedicalTranscript contains - // the TranscriptFileUri. + // Provides you with the Amazon S3 URI you can use to access your transcript. Transcript *MedicalTranscript - // The completion status of a medical transcription job. + // Provides the status of the specified medical transcription job. If the status is + // COMPLETED, the job is finished and you can find the results at the location + // specified in TranscriptFileUri. If the status is FAILED, FailureReason provides + // details on why your transcription job failed. TranscriptionJobStatus TranscriptionJobStatus - // The type of speech in the transcription job. CONVERSATION is generally used for - // patient-physician dialogues. DICTATION is the setting for physicians speaking - // their notes after seeing a patient. For more information, see What is Amazon - // Transcribe Medical? - // (https://docs.aws.amazon.com/transcribe/latest/dg/what-is-transcribe-med.html). + // Indicates whether the input media is a dictation or a conversation, as specified + // in the StartMedicalTranscriptionJob request. Type Type noSmithyDocumentSerde } -// Provides summary information about a transcription job. +// Provides detailed information about a specific medical transcription job. type MedicalTranscriptionJobSummary struct { - // A timestamp that shows when the job was completed. + // The date and time the specified medical transcription job finished processing. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:33:13.922000-07:00 represents a transcription job that started + // processing at 12:33 PM UTC-7 on May 4, 2022. CompletionTime *time.Time - // Shows the type of information you've configured Amazon Transcribe Medical to - // identify in a transcription job. If the value is PHI, you've configured the - // transcription job to identify personal health information (PHI). + // Labels all personal health information (PHI) identified in your transcript. For + // more information, see Identifying personal health information (PHI) in a + // transcription (https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html). ContentIdentificationType MedicalContentIdentificationType - // A timestamp that shows when the medical transcription job was created. + // The date and time the specified medical transcription job request was made. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. CreationTime *time.Time - // If the TranscriptionJobStatus field is FAILED, a description of the error. + // If TranscriptionJobStatus is FAILED, FailureReason contains information about + // why the transcription job failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // The language of the transcript in the source audio file. + // The language code used to create your medical transcription. US English (en-US) + // is the only supported language for medical transcriptions. LanguageCode LanguageCode - // The name of a medical transcription job. + // The name of the medical transcription job. Job names are case sensitive and must + // be unique within an Amazon Web Services account. MedicalTranscriptionJobName *string - // Indicates the location of the transcription job's output. This field must be the - // path of an S3 bucket; if you don't already have an S3 bucket, one is created - // based on the path you add. + // Indicates where the specified medical transcription output is stored. If the + // value is CUSTOMER_BUCKET, the location is the Amazon S3 bucket you specified + // using the OutputBucketName parameter in your request. If you also included + // OutputKey in your request, your output is located in the path you specified in + // your request. If the value is SERVICE_BUCKET, the location is a service-managed + // Amazon S3 bucket. To access a transcript stored in a service-managed bucket, use + // the URI shown in the TranscriptFileUri field. OutputLocationType OutputLocationType - // The medical specialty of the transcription job. Refer to Transcribing a medical - // conversation - // (https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-medical-conversation.html)for - // a list of supported specialties. + // Provides the medical specialty represented in your media. Specialty Specialty - // A timestamp that shows when the job began processing. + // The date and time your medical transcription job began processing. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.789000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. StartTime *time.Time - // The status of the medical transcription job. + // Provides the status of your medical transcription job. If the status is + // COMPLETED, the job is finished and you can find the results at the location + // specified in TranscriptFileUri. If the status is FAILED, FailureReason provides + // details on why your transcription job failed. TranscriptionJobStatus TranscriptionJobStatus - // The speech of the clinician in the input audio. + // Indicates whether the input media is a dictation or a conversation, as specified + // in the StartMedicalTranscriptionJob request. Type Type noSmithyDocumentSerde } -// Optional settings for the StartMedicalTranscriptionJob operation. +// Allows additional optional settings in your request, including channel +// identification, alternative transcriptions, and speaker labeling; allows you to +// apply custom vocabularies to your medical transcription job. type MedicalTranscriptionSetting struct { - // Instructs Amazon Transcribe Medical to process each audio channel separately and - // then merge the transcription output of each channel into a single transcription. - // Amazon Transcribe Medical also produces a transcription of each item detected on - // an audio channel, including the start time and end time of the item and - // alternative transcriptions of item. The alternative transcriptions also come - // with confidence scores provided by Amazon Transcribe Medical. You can't set both - // ShowSpeakerLabels and ChannelIdentification in the same request. If you set - // both, your request returns a BadRequestException. + // Enables channel identification in multi-channel audio. Channel identification + // transcribes the audio on each channel independently, then appends the output for + // each channel into one transcript. If you have multi-channel audio and do not + // enable channel identification, your audio is transcribed in a continuous manner + // and your transcript does not separate the speech by channel. You can't include + // both ShowSpeakerLabels and ChannelIdentification in the same request. Including + // both parameters returns a BadRequestException. For more information, see + // Transcribing multi-channel audio + // (https://docs.aws.amazon.com/transcribe/latest/dg/channel-id.html). ChannelIdentification *bool - // The maximum number of alternatives that you tell the service to return. If you - // specify the MaxAlternatives field, you must set the ShowAlternatives field to - // true. + // Indicate the maximum number of alternative transcriptions you want Amazon + // Transcribe Medical to include in your transcript. If you select a number greater + // than the number of alternative transcriptions generated by Amazon Transcribe + // Medical, only the actual number of alternative transcriptions are included. If + // you include MaxAlternatives in your request, you must also include + // ShowAlternatives with a value of true. For more information, see Alternative + // transcriptions + // (https://docs.aws.amazon.com/transcribe/latest/dg/how-alternatives.html). MaxAlternatives *int32 - // The maximum number of speakers to identify in the input audio. If there are more - // speakers in the audio than this number, multiple speakers are identified as a - // single speaker. If you specify the MaxSpeakerLabels field, you must set the - // ShowSpeakerLabels field to true. + // Specify the maximum number of speakers you want to identify in your media. Note + // that if your media contains more speakers than the specified number, multiple + // speakers will be identified as a single speaker. If you specify the + // MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true. MaxSpeakerLabels *int32 - // Determines whether alternative transcripts are generated along with the - // transcript that has the highest confidence. If you set ShowAlternatives field to - // true, you must also set the maximum number of alternatives to return in the - // MaxAlternatives field. + // To include alternative transcriptions within your transcription output, include + // ShowAlternatives in your transcription request. If you include ShowAlternatives, + // you must also include MaxAlternatives, which is the maximum number of + // alternative transcriptions you want Amazon Transcribe Medical to generate. For + // more information, see Alternative transcriptions + // (https://docs.aws.amazon.com/transcribe/latest/dg/how-alternatives.html). ShowAlternatives *bool - // Determines whether the transcription job uses speaker recognition to identify - // different speakers in the input audio. Speaker recognition labels individual - // speakers in the audio file. If you set the ShowSpeakerLabels field to true, you - // must also set the maximum number of speaker labels in the MaxSpeakerLabels - // field. You can't set both ShowSpeakerLabels and ChannelIdentification in the - // same request. If you set both, your request returns a BadRequestException. + // Enables speaker identification (diarization) in your transcription output. + // Speaker identification labels the speech from individual speakers in your media + // file. If you enable ShowSpeakerLabels in your request, you must also include + // MaxSpeakerLabels. You can't include both ShowSpeakerLabels and + // ChannelIdentification in the same request. Including both parameters returns a + // BadRequestException. For more information, see Identifying speakers + // (diarization) + // (https://docs.aws.amazon.com/transcribe/latest/dg/diarization.html). ShowSpeakerLabels *bool - // The name of the vocabulary to use when processing a medical transcription job. + // The name of the custom vocabulary you want to use when processing your medical + // transcription job. Vocabulary names are case sensitive. The language of the + // specified vocabulary must match the language code you specify in your + // transcription request. If the languages don't match, the vocabulary isn't + // applied. There are no errors or warnings associated with a language mismatch. US + // English (en-US) is the only valid language for Amazon Transcribe Medical. VocabularyName *string noSmithyDocumentSerde } -// The object used to call your custom language model to your transcription job. +// Provides the name of the custom language model that was included in the +// specified transcription job. Only use ModelSettings with the LanguageModelName +// sub-parameter if you're not using automatic language identification (). If using +// LanguageIdSettings in your request, this parameter contains a LanguageModelName +// sub-parameter. type ModelSettings struct { - // The name of your custom language model. + // The name of the custom language model you want to use when processing your + // transcription job. Note that language model names are case sensitive. The + // language of the specified language model must match the language code you + // specify in your transcription request. If the languages don't match, the + // language model isn't applied. There are no errors or warnings associated with a + // language mismatch. LanguageModelName *string noSmithyDocumentSerde } -// An object that enables you to configure your category to be applied to call -// analytics jobs where either the customer or agent was interrupted. +// Flag the presence or absence of periods of silence in your Call Analytics +// transcription output. Rules using NonTalkTimeFilter are designed to match: +// +// * +// The presence of silence at specified periods throughout the call +// +// * The presence +// of speech at specified periods throughout the call +// +// See Rule criteria +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html#call-analytics-create-categories-rules) +// for usage examples. type NonTalkTimeFilter struct { - // An object you can use to specify a time range (in milliseconds) for when no one - // is talking. For example, you could specify a time period between the 30,000 - // millisecond mark and the 45,000 millisecond mark. You could also specify the - // time period as the first 15,000 milliseconds or the last 15,000 milliseconds. + // Allows you to specify a time range (in milliseconds) in your audio, during which + // you want to search for a period of silence. See for more detail. AbsoluteTimeRange *AbsoluteTimeRange - // Set to TRUE to look for a time period when people were talking. + // Set to TRUE to flag periods of speech. Set to FALSE to flag periods of silence Negate *bool - // An object that allows percentages to specify the proportion of the call where - // there was silence. For example, you can specify the first half of the call. You - // can also specify the period of time between halfway through to three-quarters of - // the way through the call. Because the length of conversation can vary between - // calls, you can apply relative time ranges across all calls. + // Allows you to specify a time range (in percentage) in your media file, during + // which you want to search for a period of silence. See for more detail. RelativeTimeRange *RelativeTimeRange - // The duration of the period when neither the customer nor agent was talking. + // Specify the duration, in milliseconds, of the period of silence you want to + // flag. For example, you can flag a silent period that lasts 30000 milliseconds. Threshold *int64 noSmithyDocumentSerde } -// An object that allows percentages to specify the proportion of the call where -// you would like to apply a filter. For example, you can specify the first half of -// the call. You can also specify the period of time between halfway through to -// three-quarters of the way through the call. Because the length of conversation -// can vary between calls, you can apply relative time ranges across all calls. +// A time range, in percentage, between two points in your media file. You can use +// StartPercentage and EndPercentage to search a custom segment. For example, +// setting StartPercentage to 10 and EndPercentage to 50 only searches for your +// specified criteria in the audio contained between the 10 percent mark and the 50 +// percent mark of your media file. You can use also First to search from the start +// of the media file until the time you specify, or Last to search from the time +// you specify until the end of the media file. For example, setting First to 10 +// only searches for your specified criteria in the audio contained in the first 10 +// percent of the media file. If you prefer to use milliseconds instead of +// percentage, see . type RelativeTimeRange struct { - // A value that indicates the percentage of the end of the time range. To set a - // relative time range, you must specify a start percentage and an end percentage. - // For example, if you specify the following values: - // - // * StartPercentage - 10 - // - // * - // EndPercentage - 50 - // - // This looks at the time range starting from 10% of the way - // into the call to 50% of the way through the call. For a call that lasts 100,000 - // milliseconds, this example range would apply from the 10,000 millisecond mark to - // the 50,000 millisecond mark. + // The time, in percentage, when Amazon Transcribe stops searching for the + // specified criteria in your media file. If you include EndPercentage in your + // request, you must also include StartPercentage. EndPercentage *int32 - // A range that takes the portion of the call up to the time in milliseconds set by - // the value that you've specified. For example, if you specify 120000, the time - // range is set for the first 120,000 milliseconds of the call. + // The time, in percentage, from the start of your media file until the value you + // specify in which Amazon Transcribe searches for your specified criteria. First *int32 - // A range that takes the portion of the call from the time in milliseconds set by - // the value that you've specified to the end of the call. For example, if you - // specify 120000, the time range is set for the last 120,000 milliseconds of the - // call. + // The time, in percentage, from the value you specify until the end of your media + // file in which Amazon Transcribe searches for your specified criteria. Last *int32 - // A value that indicates the percentage of the beginning of the time range. To set - // a relative time range, you must specify a start percentage and an end - // percentage. For example, if you specify the following values: - // - // * StartPercentage - // - 10 - // - // * EndPercentage - 50 - // - // This looks at the time range starting from 10% of - // the way into the call to 50% of the way through the call. For a call that lasts - // 100,000 milliseconds, this example range would apply from the 10,000 millisecond - // mark to the 50,000 millisecond mark. + // The time, in percentage, when Amazon Transcribe starts searching for the + // specified criteria in your media file. If you include StartPercentage in your + // request, you must also include EndPercentage. StartPercentage *int32 noSmithyDocumentSerde } -// A condition in the call between the customer and the agent that you want to -// filter for. +// A rule is a set of criteria you can specify to flag an attribute in your Call +// Analytics output. Rules define a Call Analytics category. Rules can include +// these parameters: , , , and . To learn more about these parameters, refer to +// Rule criteria +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html#call-analytics-create-categories-rules). +// To learn more about Call Analytics categories, see Creating categories +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html). +// To learn more about Call Analytics, see Analyzing call center audio with Call +// Analytics +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics.html). // // The following types satisfy this interface: // RuleMemberInterruptionFilter @@ -737,8 +970,8 @@ type Rule interface { isRule() } -// A condition for a time period when either the customer or agent was interrupting -// the other person. +// Flag the presence or absence of interruptions in your Call Analytics +// transcription output. Refer to for more detail. type RuleMemberInterruptionFilter struct { Value InterruptionFilter @@ -747,8 +980,8 @@ type RuleMemberInterruptionFilter struct { func (*RuleMemberInterruptionFilter) isRule() {} -// A condition for a time period when neither the customer nor the agent was -// talking. +// Flag the presence or absence of periods of silence in your Call Analytics +// transcription output. Refer to for more detail. type RuleMemberNonTalkTimeFilter struct { Value NonTalkTimeFilter @@ -757,7 +990,8 @@ type RuleMemberNonTalkTimeFilter struct { func (*RuleMemberNonTalkTimeFilter) isRule() {} -// A condition that is applied to a particular customer sentiment. +// Flag the presence or absence of specific sentiments in your Call Analytics +// transcription output. Refer to for more detail. type RuleMemberSentimentFilter struct { Value SentimentFilter @@ -766,9 +1000,8 @@ type RuleMemberSentimentFilter struct { func (*RuleMemberSentimentFilter) isRule() {} -// A condition that catches particular words or phrases based on a exact match. For -// example, if you set the phrase "I want to speak to the manager", only that exact -// phrase will be returned. +// Flag the presence or absence of specific words or phrases in your Call Analytics +// transcription output. Refer to for more detail. type RuleMemberTranscriptFilter struct { Value TranscriptFilter @@ -777,98 +1010,132 @@ type RuleMemberTranscriptFilter struct { func (*RuleMemberTranscriptFilter) isRule() {} -// An object that enables you to specify a particular customer or agent sentiment. -// If at least 50 percent of the conversation turns (the back-and-forth between two -// speakers) in a specified time period match the specified sentiment, Amazon -// Transcribe will consider the sentiment a match. +// Flag the presence or absence of specific sentiments detected in your Call +// Analytics transcription output. Rules using SentimentFilter are designed to +// match: +// +// * The presence or absence of a positive sentiment felt by the customer, +// agent, or both at specified points in the call +// +// * The presence or absence of a +// negative sentiment felt by the customer, agent, or both at specified points in +// the call +// +// * The presence or absence of a neutral sentiment felt by the customer, +// agent, or both at specified points in the call +// +// * The presence or absence of a +// mixed sentiment felt by the customer, the agent, or both at specified points in +// the call +// +// See Rule criteria +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html#call-analytics-create-categories-rules) +// for examples. type SentimentFilter struct { - // An array that enables you to specify sentiments for the customer or agent. You - // can specify one or more values. + // Specify the sentiments you want to flag. // // This member is required. Sentiments []SentimentValue - // The time range, measured in seconds, of the sentiment. + // Allows you to specify a time range (in milliseconds) in your audio, during which + // you want to search for the specified sentiments. See for more detail. AbsoluteTimeRange *AbsoluteTimeRange - // Set to TRUE to look for sentiments that weren't specified in the request. + // Set to TRUE to flag the sentiments you didn't include in your request. Set to + // FALSE to flag the sentiments you specified in your request. Negate *bool - // A value that determines whether the sentiment belongs to the customer or the - // agent. + // Specify the participant you want to flag. Omitting this parameter is equivalent + // to specifying both participants. ParticipantRole ParticipantRole - // The time range, set in percentages, that correspond to proportion of the call. + // Allows you to specify a time range (in percentage) in your media file, during + // which you want to search for the specified sentiments. See for more detail. RelativeTimeRange *RelativeTimeRange noSmithyDocumentSerde } -// Provides optional settings for the StartTranscriptionJob operation. +// Allows additional optional settings in your request, including channel +// identification, alternative transcriptions, and speaker labeling; allows you to +// apply custom vocabularies to your transcription job. type Settings struct { - // Instructs Amazon Transcribe to process each audio channel separately and then - // merge the transcription output of each channel into a single transcription. - // Amazon Transcribe also produces a transcription of each item detected on an - // audio channel, including the start time and end time of the item and alternative - // transcriptions of the item including the confidence that Amazon Transcribe has - // in the transcription. You can't set both ShowSpeakerLabels and - // ChannelIdentification in the same request. If you set both, your request returns - // a BadRequestException. + // Enables channel identification in multi-channel audio. Channel identification + // transcribes the audio on each channel independently, then appends the output for + // each channel into one transcript. You can't include both ShowSpeakerLabels and + // ChannelIdentification in the same request. Including both parameters returns a + // BadRequestException. For more information, see Transcribing multi-channel audio + // (https://docs.aws.amazon.com/transcribe/latest/dg/channel-id.html). ChannelIdentification *bool - // The number of alternative transcriptions that the service should return. If you - // specify the MaxAlternatives field, you must set the ShowAlternatives field to - // true. + // Indicate the maximum number of alternative transcriptions you want Amazon + // Transcribe to include in your transcript. If you select a number greater than + // the number of alternative transcriptions generated by Amazon Transcribe, only + // the actual number of alternative transcriptions are included. If you include + // MaxAlternatives in your request, you must also include ShowAlternatives with a + // value of true. For more information, see Alternative transcriptions + // (https://docs.aws.amazon.com/transcribe/latest/dg/how-alternatives.html). MaxAlternatives *int32 - // The maximum number of speakers to identify in the input audio. If there are more - // speakers in the audio than this number, multiple speakers are identified as a - // single speaker. If you specify the MaxSpeakerLabels field, you must set the - // ShowSpeakerLabels field to true. + // Specify the maximum number of speakers you want to identify in your media. Note + // that if your media contains more speakers than the specified number, multiple + // speakers will be identified as a single speaker. If you specify the + // MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true. MaxSpeakerLabels *int32 - // Determines whether the transcription contains alternative transcriptions. If you - // set the ShowAlternatives field to true, you must also set the maximum number of - // alternatives to return in the MaxAlternatives field. + // To include alternative transcriptions within your transcription output, include + // ShowAlternatives in your transcription request. If you have multi-channel audio + // and do not enable channel identification, your audio is transcribed in a + // continuous manner and your transcript does not separate the speech by channel. + // If you include ShowAlternatives, you must also include MaxAlternatives, which is + // the maximum number of alternative transcriptions you want Amazon Transcribe to + // generate. For more information, see Alternative transcriptions + // (https://docs.aws.amazon.com/transcribe/latest/dg/how-alternatives.html). ShowAlternatives *bool - // Determines whether the transcription job uses speaker recognition to identify - // different speakers in the input audio. Speaker recognition labels individual - // speakers in the audio file. If you set the ShowSpeakerLabels field to true, you - // must also set the maximum number of speaker labels MaxSpeakerLabels field. You - // can't set both ShowSpeakerLabels and ChannelIdentification in the same request. - // If you set both, your request returns a BadRequestException. + // Enables speaker identification (diarization) in your transcription output. + // Speaker identification labels the speech from individual speakers in your media + // file. If you enable ShowSpeakerLabels in your request, you must also include + // MaxSpeakerLabels. You can't include both ShowSpeakerLabels and + // ChannelIdentification in the same request. Including both parameters returns a + // BadRequestException. For more information, see Identifying speakers + // (diarization) + // (https://docs.aws.amazon.com/transcribe/latest/dg/diarization.html). ShowSpeakerLabels *bool - // Set to mask to remove filtered text from the transcript and replace it with - // three asterisks ("***") as placeholder text. Set to remove to remove filtered - // text from the transcript without using placeholder text. Set to tag to mark the - // word in the transcription output that matches the vocabulary filter. When you - // set the filter method to tag, the words matching your vocabulary filter are not - // masked or removed. + // Specify how you want your vocabulary filter applied to your transcript. To + // replace words with ***, choose mask. To delete words, choose remove. To flag + // words without changing them, choose tag. VocabularyFilterMethod VocabularyFilterMethod - // The name of the vocabulary filter to use when transcribing the audio. The filter - // that you specify must have the same language code as the transcription job. + // The name of the custom vocabulary filter you want to use in your transcription + // job request. This name is case sensitive, cannot contain spaces, and must be + // unique within an Amazon Web Services account. Note that if you include + // VocabularyFilterName in your request, you must also include + // VocabularyFilterMethod. VocabularyFilterName *string - // The name of a vocabulary to use when processing the transcription job. + // The name of the custom vocabulary you want to use in your transcription job + // request. This name is case sensitive, cannot contain spaces, and must be unique + // within an Amazon Web Services account. VocabularyName *string noSmithyDocumentSerde } -// Generate subtitles for your batch transcription job. Note that your subtitle -// files are placed in the same location as your transcription output. +// Generate subtitles for your media file with your transcription request. You can +// choose a start index of 0 or 1, and you can specify either WebVTT or SubRip (or +// both) as your output format. Note that your subtitle files are placed in the +// same location as your transcription output. type Subtitles struct { - // Specify the output format for your subtitle file; if you select both srt and vtt - // formats, two output files are generated. + // Specify the output format for your subtitle file; if you select both WebVTT + // (vtt) and SubRip (srt) formats, two output files are generated. Formats []SubtitleFormat - // Defines the starting value that is assigned to the first subtitle segment. The + // Specify the starting value that is assigned to the first subtitle segment. The // default start index for Amazon Transcribe is 0, which differs from the more // widely used standard of 1. If you're uncertain which value to use, we recommend // choosing 1, as this may improve compatibility with other services. @@ -877,39 +1144,53 @@ type Subtitles struct { noSmithyDocumentSerde } -// The S3 location where your subtitle files are located. Note that your subtitle -// files are placed in the same location as your transcription output. Refer to -// TranscriptFileUri to download your files. +// Provides information about your subtitle file, including format, start index, +// and Amazon S3 location. type SubtitlesOutput struct { - // The format of your subtitle files. If your request specified both srt and vtt - // formats, both formats are shown. + // Provides the format of your subtitle files. If your request included both WebVTT + // (vtt) and SubRip (srt) formats, both formats are shown. Formats []SubtitleFormat - // Shows the output start index value for your subtitle files. If you did not - // specify a value in your request, the default value of 0 is used. + // Provides the start index value for your subtitle files. If you did not specify a + // value in your request, the default value of 0 is used. OutputStartIndex *int32 - // Contains the output location for your subtitle file. This location must be an S3 - // bucket. + // The Amazon S3 location of your transcript. You can use this URI to access or + // download your subtitle file. Your subtitle file is stored in the same location + // as your transcript. If you specified both WebVTT and SubRip subtitle formats, + // two URIs are provided. If you included OutputBucketName in your transcription + // job request, this is the URI of that bucket. If you also included OutputKey in + // your request, your output is located in the path you specified in your request. + // If you didn't include OutputBucketName in your transcription job request, your + // subtitle file is stored in a service-managed bucket, and TranscriptFileUri + // provides you with a temporary URI you can use for secure access to your subtitle + // file. Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 + // minutes. If you get an AccesDenied error, you can get a new temporary URI by + // running a GetTranscriptionJob or ListTranscriptionJob request. SubtitleFileUris []string noSmithyDocumentSerde } -// A key:value pair that adds metadata to a resource used by Amazon Transcribe. For -// example, a tag with the key:value pair ‘Department’:’Sales’ might be added to a -// resource to indicate its use by your organization's sales department. +// Adds metadata, in the form of a key:value pair, to the specified resource. For +// example, you could add the tag Department:Sales to a resource to indicate that +// it pertains to your organization's sales department. You can also use tags for +// tag-based access control. To learn more about tagging, see Tagging resources +// (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). type Tag struct { // The first part of a key:value pair that forms a tag associated with a given - // resource. For example, in the tag ‘Department’:’Sales’, the key is 'Department'. + // resource. For example, in the tag Department:Sales, the key is 'Department'. // // This member is required. Key *string // The second part of a key:value pair that forms a tag associated with a given - // resource. For example, in the tag ‘Department’:’Sales’, the value is 'Sales'. + // resource. For example, in the tag Department:Sales, the value is 'Sales'. Note + // that you can set the value of a tag to an empty string, but you can't set the + // value of a tag to null. Omitting the tag value is the same as using an empty + // string. // // This member is required. Value *string @@ -917,256 +1198,405 @@ type Tag struct { noSmithyDocumentSerde } -// Identifies the location of a transcription. +// Provides you with the Amazon S3 URI you can use to access your transcript. type Transcript struct { - // The S3 object location of the redacted transcript. Use this URI to access the - // redacted transcript. If you specified an S3 bucket in the OutputBucketName field - // when you created the job, this is the URI of that bucket. If you chose to store - // the transcript in Amazon Transcribe, this is a shareable URL that provides - // secure access to that location. + // The Amazon S3 location of your redacted transcript. You can use this URI to + // access or download your transcript. If you included OutputBucketName in your + // transcription job request, this is the URI of that bucket. If you also included + // OutputKey in your request, your output is located in the path you specified in + // your request. If you didn't include OutputBucketName in your transcription job + // request, your transcript is stored in a service-managed bucket, and + // RedactedTranscriptFileUri provides you with a temporary URI you can use for + // secure access to your transcript. Temporary URIs for service-managed Amazon S3 + // buckets are only valid for 15 minutes. If you get an AccesDenied error, you can + // get a new temporary URI by running a GetTranscriptionJob or ListTranscriptionJob + // request. RedactedTranscriptFileUri *string - // The S3 object location of the transcript. Use this URI to access the transcript. - // If you specified an S3 bucket in the OutputBucketName field when you created the - // job, this is the URI of that bucket. If you chose to store the transcript in - // Amazon Transcribe, this is a shareable URL that provides secure access to that - // location. + // The Amazon S3 location of your transcript. You can use this URI to access or + // download your transcript. If you included OutputBucketName in your transcription + // job request, this is the URI of that bucket. If you also included OutputKey in + // your request, your output is located in the path you specified in your request. + // If you didn't include OutputBucketName in your transcription job request, your + // transcript is stored in a service-managed bucket, and TranscriptFileUri provides + // you with a temporary URI you can use for secure access to your transcript. + // Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 + // minutes. If you get an AccesDenied error, you can get a new temporary URI by + // running a GetTranscriptionJob or ListTranscriptionJob request. TranscriptFileUri *string noSmithyDocumentSerde } -// Matches the output of the transcription to either the specific phrases that you -// specify, or the intent of the phrases that you specify. +// Flag the presence or absence of specific words or phrases detected in your Call +// Analytics transcription output. Rules using TranscriptFilter are designed to +// match: +// +// * Custom words or phrases spoken by the agent, the customer, or both +// +// * +// Custom words or phrases not spoken by the agent, the customer, or either +// +// * +// Custom words or phrases that occur at a specific time frame +// +// See Rule criteria +// (https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics-create-categories.html#call-analytics-create-categories-rules) +// for examples. type TranscriptFilter struct { - // The phrases that you're specifying for the transcript filter to match. + // Specify the phrases you want to flag. // // This member is required. Targets []string - // Matches the phrase to the transcription output in a word for word fashion. For - // example, if you specify the phrase "I want to speak to the manager." Amazon - // Transcribe attempts to match that specific phrase to the transcription. + // Flag the presence or absence of an exact match to the phrases you specify. For + // example, if you specify the phrase "speak to a manager" as your Targets value, + // only that exact phrase is flagged. Note that semantic matching is not supported. + // For example, if your customer says "speak to the manager", instead of "speak to + // a manager", your content is not flagged. // // This member is required. TranscriptFilterType TranscriptFilterType - // A time range, set in seconds, between two points in the call. + // Allows you to specify a time range (in milliseconds) in your audio, during which + // you want to search for the specified key words or phrases. See for more detail. AbsoluteTimeRange *AbsoluteTimeRange - // If TRUE, the rule that you specify is applied to everything except for the - // phrases that you specify. + // Set to TRUE to flag the absence of the phrase you specified in your request. Set + // to FALSE to flag the presence of the phrase you specified in your request. Negate *bool - // Determines whether the customer or the agent is speaking the phrases that you've - // specified. + // Specify the participant you want to flag. Omitting this parameter is equivalent + // to specifying both participants. ParticipantRole ParticipantRole - // An object that allows percentages to specify the proportion of the call where - // you would like to apply a filter. For example, you can specify the first half of - // the call. You can also specify the period of time between halfway through to - // three-quarters of the way through the call. Because the length of conversation - // can vary between calls, you can apply relative time ranges across all calls. + // Allows you to specify a time range (in percentage) in your media file, during + // which you want to search for the specified key words or phrases. See for more + // detail. RelativeTimeRange *RelativeTimeRange noSmithyDocumentSerde } -// Describes an asynchronous transcription job that was created with the -// StartTranscriptionJob operation. +// Provides detailed information about a transcription job. To view the status of +// the specified transcription job, check the TranscriptionJobStatus field. If the +// status is COMPLETED, the job is finished and you can find the results at the +// location specified in TranscriptFileUri. If the status is FAILED, FailureReason +// provides details on why your transcription job failed. If you enabled content +// redaction, the redacted transcript can be found at the location specified in +// RedactedTranscriptFileUri. type TranscriptionJob struct { - // A timestamp that shows when the job completed. + // The date and time the specified transcription job finished processing. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:33:13.922000-07:00 represents a transcription job that started + // processing at 12:33 PM UTC-7 on May 4, 2022. CompletionTime *time.Time - // An object that describes content redaction settings for the transcription job. + // Redacts or flags specified personally identifiable information (PII) in your + // transcript. ContentRedaction *ContentRedaction - // A timestamp that shows when the job was created. + // The date and time the specified transcription job request was made. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. CreationTime *time.Time - // If the TranscriptionJobStatus field is FAILED, this field contains information - // about why the job failed. The FailureReason field can contain one of the - // following values: + // If TranscriptionJobStatus is FAILED, FailureReason contains information about + // why the transcription job request failed. The FailureReason field contains one + // of the following values: // - // * Unsupported media format - The media format specified in - // the MediaFormat field of the request isn't valid. See the description of the - // MediaFormat field for a list of valid values. + // * Unsupported media format. The media format specified + // in MediaFormat isn't valid. Refer to MediaFormat for a list of supported + // formats. // - // * The media format provided does - // not match the detected media format - The media format of the audio file doesn't - // match the format specified in the MediaFormat field in the request. Check the - // media format of your media file and make sure that the two values match. + // * The media format provided does not match the detected media format. + // The media format specified in MediaFormat doesn't match the format of the input + // file. Check the media format of your media file and correct the specified + // value. // - // * - // Invalid sample rate for audio file - The sample rate specified in the - // MediaSampleRateHertz of the request isn't valid. The sample rate must be between - // 8,000 and 48,000 Hertz. + // * Invalid sample rate for audio file. The sample rate specified in + // MediaSampleRateHertz isn't valid. The sample rate must be between 8,000 and + // 48,000 Hertz. // - // * The sample rate provided does not match the detected - // sample rate - The sample rate in the audio file doesn't match the sample rate - // specified in the MediaSampleRateHertz field in the request. Check the sample - // rate of your media file and make sure that the two values match. + // * The sample rate provided does not match the detected sample + // rate. The sample rate specified in MediaSampleRateHertz doesn't match the sample + // rate detected in your input media file. Check the sample rate of your media file + // and correct the specified value. // - // * Invalid file - // size: file size too large - The size of your audio file is larger than Amazon - // Transcribe can process. For more information, see Limits - // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits) - // in the Amazon Transcribe Developer Guide. + // * Invalid file size: file size too large. The + // size of your media file is larger than what Amazon Transcribe can process. For + // more information, refer to Guidelines and quotas + // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits). // - // * Invalid number of channels: number - // of channels too large - Your audio contains more channels than Amazon Transcribe - // is configured to process. To request additional channels, see Amazon Transcribe - // Limits - // (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits-amazon-transcribe) - // in the Amazon Web Services General Reference. + // * + // Invalid number of channels: number of channels too large. Your audio contains + // more channels than Amazon Transcribe is able to process. For more information, + // refer to Guidelines and quotas + // (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits). FailureReason *string - // A value between zero and one that Amazon Transcribe assigned to the language - // that it identified in the source audio. Larger values indicate that Amazon - // Transcribe has higher confidence in the language it identified. + // The confidence score associated with the language identified in your media file. + // Confidence scores are values between 0 and 1; a larger value indicates a higher + // probability that the identified language correctly matches the language spoken + // in your media. IdentifiedLanguageScore *float32 - // A value that shows if automatic language identification was enabled for a - // transcription job. + // Indicates whether automatic language identification was enabled (TRUE) for the + // specified transcription job. IdentifyLanguage *bool - // Provides information about how a transcription job is executed. + // Indicates whether automatic multi-language identification was enabled (TRUE) for + // the specified transcription job. + IdentifyMultipleLanguages *bool + + // Provides information about how your transcription job is being processed. This + // parameter shows if your request is queued and what data access role is being + // used. JobExecutionSettings *JobExecutionSettings - // The language code for the input speech. + // The language code used to create your transcription job. For a list of supported + // languages and their associated language codes, refer to the Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. Note that you must include one of LanguageCode, IdentifyLanguage, or + // IdentifyMultipleLanguages in your request. If you include more than one of these + // parameters, your transcription job fails. LanguageCode LanguageCode - // Language-specific settings that can be specified when language identification is - // enabled for your transcription job. These settings include VocabularyName, - // VocabularyFilterName, and LanguageModelName. + // The language codes used to create your transcription job. This parameter is used + // with multi-language identification. For single-language identification requests, + // refer to the singular version of this parameter, LanguageCode. For a list of + // supported languages and their associated language codes, refer to the Supported + // languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. + LanguageCodes []LanguageCodeItem + + // If using automatic language identification (IdentifyLanguage) in your request + // and you want to apply a custom language model, a custom vocabulary, or a custom + // vocabulary filter, include LanguageIdSettings with the relevant sub-parameters + // (VocabularyName, LanguageModelName, and VocabularyFilterName). You can specify + // two or more language codes that represent the languages you think may be present + // in your media; including more than five is not recommended. Each language code + // you include can have an associated custom language model, custom vocabulary, and + // custom vocabulary filter. The languages you specify must match the languages of + // the specified custom language models, custom vocabularies, and custom vocabulary + // filters. To include language options using IdentifyLanguage without including a + // custom language model, a custom vocabulary, or a custom vocabulary filter, use + // LanguageOptions instead of LanguageIdSettings. Including language options can + // improve the accuracy of automatic language identification. If you want to + // include a custom language model with your request but do not want to use + // automatic language identification, use instead the parameter with the + // LanguageModelName sub-parameter. If you want to include a custom vocabulary or a + // custom vocabulary filter (or both) with your request but do not want to use + // automatic language identification, use instead the parameter with the + // VocabularyName or VocabularyFilterName (or both) sub-parameter. LanguageIdSettings map[string]LanguageIdSettings - // An object that shows the optional array of languages inputted for transcription - // jobs with automatic language identification enabled. + // You can specify two or more language codes that represent the languages you + // think may be present in your media; including more than five is not recommended. + // If you're unsure what languages are present, do not include this parameter. If + // you include LanguageOptions in your request, you must also include + // IdentifyLanguage. For more information, refer to Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html). To + // transcribe speech in Modern Standard Arabic (ar-SA), your media file must be + // encoded at a sample rate of 16,000 Hz or higher. LanguageOptions []LanguageCode - // An object that describes the input media for the transcription job. + // Describes the Amazon S3 location of the media file you want to use in your + // request. Media *Media // The format of the input media file. MediaFormat MediaFormat - // The sample rate, in Hertz (Hz), of the audio track in the input media file. + // The sample rate, in Hertz, of the audio track in your input media file. MediaSampleRateHertz *int32 - // An object containing the details of your custom language model. + // The custom language model you want to include with your transcription job. If + // you include ModelSettings in your request, you must include the + // LanguageModelName sub-parameter. ModelSettings *ModelSettings - // Optional settings for the transcription job. Use these settings to turn on - // speaker recognition, to set the maximum number of speakers that should be - // identified and to specify a custom vocabulary to use when processing the - // transcription job. + // Specify additional optional settings in your request, including channel + // identification, alternative transcriptions, speaker labeling; allows you to + // apply custom vocabularies and vocabulary filters. If you want to include a + // custom vocabulary or a custom vocabulary filter (or both) with your request but + // do not want to use automatic language identification, use Settings with the + // VocabularyName or VocabularyFilterName (or both) sub-parameter. If you're using + // automatic language identification with your request and want to include a custom + // language model, a custom vocabulary, or a custom vocabulary filter, do not use + // the Settings parameter; use instead the parameter with the LanguageModelName, + // VocabularyName or VocabularyFilterName sub-parameters. Settings *Settings - // A timestamp that shows when the job started processing. + // The date and time the specified transcription job began processing. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.789000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. StartTime *time.Time - // Generate subtitles for your batch transcription job. + // Generate subtitles for your media file with your transcription request. Subtitles *SubtitlesOutput - // A key:value pair assigned to a given transcription job. + // Adds one or more custom tags, each in the form of a key:value pair, to a new + // transcription job at the time you start this new job. To learn more about using + // tags with Amazon Transcribe, refer to Tagging resources + // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []Tag - // An object that describes the output of the transcription job. + // Provides you with the Amazon S3 URI you can use to access your transcript. Transcript *Transcript - // The name of the transcription job. + // The name of the transcription job. Job names are case sensitive and must be + // unique within an Amazon Web Services account. TranscriptionJobName *string - // The status of the transcription job. + // Provides the status of the specified transcription job. If the status is + // COMPLETED, the job is finished and you can find the results at the location + // specified in TranscriptFileUri (or RedactedTranscriptFileUri, if you requested + // transcript redaction). If the status is FAILED, FailureReason provides details + // on why your transcription job failed. TranscriptionJobStatus TranscriptionJobStatus noSmithyDocumentSerde } -// Provides a summary of information about a transcription job. +// Provides detailed information about a specific transcription job. type TranscriptionJobSummary struct { - // A timestamp that shows when the job was completed. + // The date and time the specified transcription job finished processing. + // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:33:13.922000-07:00 represents a transcription job that started + // processing at 12:33 PM UTC-7 on May 4, 2022. CompletionTime *time.Time // The content redaction settings of the transcription job. ContentRedaction *ContentRedaction - // A timestamp that shows when the job was created. + // The date and time the specified transcription job request was made. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. CreationTime *time.Time - // If the TranscriptionJobStatus field is FAILED, a description of the error. + // If TranscriptionJobStatus is FAILED, FailureReason contains information about + // why the transcription job failed. See also: Common Errors + // (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html). FailureReason *string - // A value between zero and one that Amazon Transcribe assigned to the language it - // identified in the source audio. A higher score indicates that Amazon Transcribe - // is more confident in the language it identified. + // The confidence score associated with the language identified in your media file. + // Confidence scores are values between 0 and 1; a larger value indicates a higher + // probability that the identified language correctly matches the language spoken + // in your media. IdentifiedLanguageScore *float32 - // Whether automatic language identification was enabled for a transcription job. + // Indicates whether automatic language identification was enabled (TRUE) for the + // specified transcription job. IdentifyLanguage *bool - // The language code for the input speech. + // Indicates whether automatic multi-language identification was enabled (TRUE) for + // the specified transcription job. + IdentifyMultipleLanguages *bool + + // The language code used to create your transcription. LanguageCode LanguageCode - // The object used to call your custom language model to your transcription job. + // The language codes used to create your transcription job. This parameter is used + // with multi-language identification. For single-language identification, the + // singular version of this parameter, LanguageCode, is present. + LanguageCodes []LanguageCodeItem + + // Provides the name of the custom language model that was included in the + // specified transcription job. Only use ModelSettings with the LanguageModelName + // sub-parameter if you're not using automatic language identification (). If using + // LanguageIdSettings in your request, this parameter contains a LanguageModelName + // sub-parameter. ModelSettings *ModelSettings - // Indicates the location of the output of the transcription job. If the value is - // CUSTOMER_BUCKET then the location is the S3 bucket specified in the - // outputBucketName field when the transcription job was started with the - // StartTranscriptionJob operation. If the value is SERVICE_BUCKET then the output - // is stored by Amazon Transcribe and can be retrieved using the URI in the - // GetTranscriptionJob response's TranscriptFileUri field. + // Indicates where the specified transcription output is stored. If the value is + // CUSTOMER_BUCKET, the location is the Amazon S3 bucket you specified using the + // OutputBucketName parameter in your request. If you also included OutputKey in + // your request, your output is located in the path you specified in your request. + // If the value is SERVICE_BUCKET, the location is a service-managed Amazon S3 + // bucket. To access a transcript stored in a service-managed bucket, use the URI + // shown in the TranscriptFileUri or RedactedTranscriptFileUri field. OutputLocationType OutputLocationType - // A timestamp that shows when the job started processing. + // The date and time your transcription job began processing. Timestamps are in the + // format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.789000-07:00 represents a transcription job that started + // processing at 12:32 PM UTC-7 on May 4, 2022. StartTime *time.Time - // The name of the transcription job. + // The name of the transcription job. Job names are case sensitive and must be + // unique within an Amazon Web Services account. TranscriptionJobName *string - // The status of the transcription job. When the status is COMPLETED, use the - // GetTranscriptionJob operation to get the results of the transcription. + // Provides the status of your transcription job. If the status is COMPLETED, the + // job is finished and you can find the results at the location specified in + // TranscriptFileUri (or RedactedTranscriptFileUri, if you requested transcript + // redaction). If the status is FAILED, FailureReason provides details on why your + // transcription job failed. TranscriptionJobStatus TranscriptionJobStatus noSmithyDocumentSerde } -// Provides information about a vocabulary filter. +// Provides information about a vocabulary filter, including the language of the +// filter, when it was last modified, and its name. type VocabularyFilterInfo struct { - // The language code of the words in the vocabulary filter. + // The language code that represents the language of the entries in your vocabulary + // filter. Each vocabulary filter must contain terms in only one language. A + // vocabulary filter can only be used to transcribe files in the same language as + // the filter. For example, if you create a vocabulary filter using US English + // (en-US), you can only apply this filter to files that contain English audio. For + // a list of supported languages and their associated language codes, refer to the + // Supported languages + // (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) + // table. LanguageCode LanguageCode - // The date and time that the vocabulary was last updated. + // The date and time the specified vocabulary filter was last modified. Timestamps + // are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the vocabulary filter. The name must be unique in the account that - // holds the filter. + // A unique name, chosen by you, for your custom vocabulary filter. This name is + // case sensitive, cannot contain spaces, and must be unique within an Amazon Web + // Services account. VocabularyFilterName *string noSmithyDocumentSerde } -// Provides information about a custom vocabulary. +// Provides information about a custom vocabulary, including the language of the +// vocabulary, when it was last modified, its name, and the processing state. type VocabularyInfo struct { - // The language code of the vocabulary entries. + // The language code used to create your custom vocabulary. Each vocabulary must + // contain terms in only one language. A custom vocabulary can only be used to + // transcribe files in the same language as the vocabulary. For example, if you + // create a vocabulary using US English (en-US), you can only apply this vocabulary + // to files that contain English audio. LanguageCode LanguageCode - // The date and time that the vocabulary was last modified. + // The date and time the specified vocabulary was last modified. Timestamps are in + // the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time - // The name of the vocabulary. + // A unique name, chosen by you, for your custom vocabulary. This name is case + // sensitive, cannot contain spaces, and must be unique within an Amazon Web + // Services account. VocabularyName *string - // The processing state of the vocabulary. If the state is READY you can use the - // vocabulary in a StartTranscriptionJob request. + // The processing state of your custom vocabulary. If the state is READY, you can + // use the vocabulary in a StartTranscriptionJob request. VocabularyState VocabularyState noSmithyDocumentSerde diff --git a/service/transcribe/validators.go b/service/transcribe/validators.go index e1b2216877a..494ca4e656f 100644 --- a/service/transcribe/validators.go +++ b/service/transcribe/validators.go @@ -1309,9 +1309,6 @@ func validateOpStartCallAnalyticsJobInput(v *StartCallAnalyticsJobInput) error { if v.Media == nil { invalidParams.Add(smithy.NewErrParamRequired("Media")) } - if v.DataAccessRoleArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("DataAccessRoleArn")) - } if v.Settings != nil { if err := validateCallAnalyticsJobSettings(v.Settings); err != nil { invalidParams.AddNested("Settings", err.(smithy.InvalidParamsError)) diff --git a/service/transcribestreaming/CHANGELOG.md b/service/transcribestreaming/CHANGELOG.md index d0eeabe6c50..1fa4fb9e51d 100644 --- a/service/transcribestreaming/CHANGELOG.md +++ b/service/transcribestreaming/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.6.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/transcribestreaming/go.mod b/service/transcribestreaming/go.mod index 2f5e2c6bd3a..0b5ed90c740 100644 --- a/service/transcribestreaming/go.mod +++ b/service/transcribestreaming/go.mod @@ -3,11 +3,11 @@ module github.com/aws/aws-sdk-go-v2/service/transcribestreaming go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/transcribestreaming/go.sum b/service/transcribestreaming/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/transcribestreaming/go.sum +++ b/service/transcribestreaming/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/transcribestreaming/go_module_metadata.go b/service/transcribestreaming/go_module_metadata.go index 3d71c2ec943..8338c9141ae 100644 --- a/service/transcribestreaming/go_module_metadata.go +++ b/service/transcribestreaming/go_module_metadata.go @@ -3,4 +3,4 @@ package transcribestreaming // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.6" +const goModuleVersion = "1.6.7" diff --git a/service/transcribestreaming/internal/testing/go.mod b/service/transcribestreaming/internal/testing/go.mod index 466de8e2ab8..aff930bf2aa 100644 --- a/service/transcribestreaming/internal/testing/go.mod +++ b/service/transcribestreaming/internal/testing/go.mod @@ -3,12 +3,12 @@ module github.com/aws/aws-sdk-go-v2/service/transcribestreaming/internal/testing go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 - github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.0.15 - github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.6.6 - github.com/aws/smithy-go v1.11.2 - github.com/google/go-cmp v0.5.7 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 + github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.0.18 + github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.6.7 + github.com/aws/smithy-go v1.11.3 + github.com/google/go-cmp v0.5.8 ) replace github.com/aws/aws-sdk-go-v2 => ../../../../ diff --git a/service/transcribestreaming/internal/testing/go.sum b/service/transcribestreaming/internal/testing/go.sum index 2c1e16f2de6..f8a451bdc25 100644 --- a/service/transcribestreaming/internal/testing/go.sum +++ b/service/transcribestreaming/internal/testing/go.sum @@ -1,8 +1,8 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -15,7 +15,5 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/transfer/CHANGELOG.md b/service/transfer/CHANGELOG.md index b1c101fd8cd..cf1a88f7f56 100644 --- a/service/transfer/CHANGELOG.md +++ b/service/transfer/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.19.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.19.0 (2022-05-18) + +* **Feature**: AWS Transfer Family now supports SetStat server configuration option, which provides the ability to ignore SetStat command issued by file transfer clients, enabling customers to upload files without any errors. + # v1.18.7 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/transfer/api_op_CreateServer.go b/service/transfer/api_op_CreateServer.go index f873ee8374c..e991bcee9a6 100644 --- a/service/transfer/api_op_CreateServer.go +++ b/service/transfer/api_op_CreateServer.go @@ -95,15 +95,9 @@ type CreateServerInput struct { // EndpointType set to VPC_ENDPOINT. EndpointType types.EndpointType - // The RSA or ECDSA private key to use for your server. Use the following command - // to generate an RSA 2048 bit key with no passphrase: ssh-keygen -t rsa -b 2048 -N - // "" -m PEM -f my-new-server-key. Use a minimum value of 2048 for the -b option: - // you can create a stronger key using 3072 or 4096. Use the following command to - // generate an ECDSA 256 bit key with no passphrase: ssh-keygen -t ecdsa -b 256 -N - // "" -m PEM -f my-new-server-key. Valid values for the -b option for ECDSA are - // 256, 384, and 521. For both of these commands, you can replace my-new-server-key - // with a string of your choice. If you aren't planning to migrate existing users - // from an existing SFTP-enabled server to a new server, don't update the host key. + // The RSA private key as generated by the ssh-keygen -N "" -m PEM -f + // my-new-server-key command. If you aren't planning to migrate existing users from + // an existing SFTP-enabled server to a new server, don't update the host key. // Accidentally changing a server's host key can be disruptive. For more // information, see Change the host key for your SFTP-enabled server // (https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key) @@ -151,12 +145,24 @@ type CreateServerInput struct { // on this system monitored and recorded by system personnel. PreAuthenticationLoginBanner *string - // The protocol settings that are configured for your server. Use the PassiveIp + // The protocol settings that are configured for your server. + // + // * Use the PassiveIp // parameter to indicate passive mode (for FTP and FTPS protocols). Enter a single // dotted-quad IPv4 address, such as the external IP address of a firewall, router, - // or load balancer. Use the TlsSessionResumptionMode parameter to determine - // whether or not your Transfer server resumes recent, negotiated sessions through - // a unique session ID. + // or load balancer. + // + // * Use the SetStatOption to ignore the error that is generated + // when the client attempts to use SETSTAT on a file you are uploading to an S3 + // bucket. Set the value to ENABLE_NO_OP to have the Transfer Family server ignore + // the SETSTAT command, and upload files without needing to make any changes to + // your SFTP client. Note that with SetStatOption set to ENABLE_NO_OP, Transfer + // generates a log entry to CloudWatch Logs, so you can determine when the client + // is making a SETSTAT call. + // + // * Use the TlsSessionResumptionMode parameter to + // determine whether or not your Transfer server resumes recent, negotiated + // sessions through a unique session ID. ProtocolDetails *types.ProtocolDetails // Specifies the file transfer protocol or protocols over which your file transfer diff --git a/service/transfer/api_op_UpdateServer.go b/service/transfer/api_op_UpdateServer.go index 992d12f9ed2..0dfaf1ded9b 100644 --- a/service/transfer/api_op_UpdateServer.go +++ b/service/transfer/api_op_UpdateServer.go @@ -94,19 +94,13 @@ type UpdateServerInput struct { // EndpointType set to VPC_ENDPOINT. EndpointType types.EndpointType - // The RSA or ECDSA private key to use for your server. Use the following command - // to generate an RSA 2048 bit key with no passphrase: ssh-keygen -t rsa -b 2048 -N - // "" -m PEM -f my-new-server-key. Use a minimum value of 2048 for the -b option: - // you can create a stronger key using 3072 or 4096. Use the following command to - // generate an ECDSA 256 bit key with no passphrase: ssh-keygen -t ecdsa -b 256 -N - // "" -m PEM -f my-new-server-key. Valid values for the -b option for ECDSA are - // 256, 384, and 521. For both of these commands, you can replace my-new-server-key - // with a string of your choice. If you aren't planning to migrate existing users - // from an existing SFTP-enabled server to a new server, don't update the host key. - // Accidentally changing a server's host key can be disruptive. For more - // information, see Change the host key for your SFTP-enabled server + // The RSA private key as generated by ssh-keygen -N "" -m PEM -f + // my-new-server-key. If you aren't planning to migrate existing users from an + // existing server to a new server, don't update the host key. Accidentally + // changing a server's host key can be disruptive. For more information, see Change + // the host key for your SFTP-enabled server // (https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key) - // in the Amazon Web Services Transfer Family User Guide. + // in the Amazon Web ServicesTransfer Family User Guide. HostKey *string // An array containing all of the information required to call a customer's @@ -132,12 +126,24 @@ type UpdateServerInput struct { // on this system monitored and recorded by system personnel. PreAuthenticationLoginBanner *string - // The protocol settings that are configured for your server. Use the PassiveIp + // The protocol settings that are configured for your server. + // + // * Use the PassiveIp // parameter to indicate passive mode (for FTP and FTPS protocols). Enter a single // dotted-quad IPv4 address, such as the external IP address of a firewall, router, - // or load balancer. Use the TlsSessionResumptionMode parameter to determine - // whether or not your Transfer server resumes recent, negotiated sessions through - // a unique session ID. + // or load balancer. + // + // * Use the SetStatOption to ignore the error that is generated + // when the client attempts to use SETSTAT on a file you are uploading to an S3 + // bucket. Set the value to ENABLE_NO_OP to have the Transfer Family server ignore + // the SETSTAT command, and upload files without needing to make any changes to + // your SFTP client. Note that with SetStatOption set to ENABLE_NO_OP, Transfer + // generates a log entry to CloudWatch Logs, so you can determine when the client + // is making a SETSTAT call. + // + // * Use the TlsSessionResumptionMode parameter to + // determine whether or not your Transfer server resumes recent, negotiated + // sessions through a unique session ID. ProtocolDetails *types.ProtocolDetails // Specifies the file transfer protocol or protocols over which your file transfer diff --git a/service/transfer/deserializers.go b/service/transfer/deserializers.go index bf1d92f66b1..9d0a5ea7171 100644 --- a/service/transfer/deserializers.go +++ b/service/transfer/deserializers.go @@ -6318,6 +6318,15 @@ func awsAwsjson11_deserializeDocumentProtocolDetails(v **types.ProtocolDetails, sv.PassiveIp = ptr.String(jtv) } + case "SetStatOption": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SetStatOption to be of type string, got %T instead", value) + } + sv.SetStatOption = types.SetStatOption(jtv) + } + case "TlsSessionResumptionMode": if value != nil { jtv, ok := value.(string) diff --git a/service/transfer/go.mod b/service/transfer/go.mod index 40d50647112..d1f2039d4f8 100644 --- a/service/transfer/go.mod +++ b/service/transfer/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/transfer go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/transfer/go.sum b/service/transfer/go.sum index 1add25982f4..8bce9965be5 100644 --- a/service/transfer/go.sum +++ b/service/transfer/go.sum @@ -1,9 +1,9 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -11,8 +11,6 @@ github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfC github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/service/transfer/go_module_metadata.go b/service/transfer/go_module_metadata.go index 6c51a25cce9..68152e9cdf8 100644 --- a/service/transfer/go_module_metadata.go +++ b/service/transfer/go_module_metadata.go @@ -3,4 +3,4 @@ package transfer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.7" +const goModuleVersion = "1.19.1" diff --git a/service/transfer/serializers.go b/service/transfer/serializers.go index 595e18ebee5..5e1838b311b 100644 --- a/service/transfer/serializers.go +++ b/service/transfer/serializers.go @@ -2037,6 +2037,11 @@ func awsAwsjson11_serializeDocumentProtocolDetails(v *types.ProtocolDetails, val ok.String(*v.PassiveIp) } + if len(v.SetStatOption) > 0 { + ok := object.Key("SetStatOption") + ok.String(string(v.SetStatOption)) + } + if len(v.TlsSessionResumptionMode) > 0 { ok := object.Key("TlsSessionResumptionMode") ok.String(string(v.TlsSessionResumptionMode)) diff --git a/service/transfer/types/enums.go b/service/transfer/types/enums.go index da67e59fc6e..968a8ca6087 100644 --- a/service/transfer/types/enums.go +++ b/service/transfer/types/enums.go @@ -188,6 +188,24 @@ func (Protocol) Values() []Protocol { } } +type SetStatOption string + +// Enum values for SetStatOption +const ( + SetStatOptionDefault SetStatOption = "DEFAULT" + SetStatOptionEnableNoOp SetStatOption = "ENABLE_NO_OP" +) + +// Values returns all known values for SetStatOption. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (SetStatOption) Values() []SetStatOption { + return []SetStatOption{ + "DEFAULT", + "ENABLE_NO_OP", + } +} + type State string // Enum values for State diff --git a/service/transfer/types/types.go b/service/transfer/types/types.go index c27547f149b..8e8391caa4a 100644 --- a/service/transfer/types/types.go +++ b/service/transfer/types/types.go @@ -879,6 +879,22 @@ type ProtocolDetails struct { // (http://aws.amazon.com/blogs/storage/configuring-your-ftps-server-behind-a-firewall-or-nat-with-aws-transfer-family/). PassiveIp *string + // Use the SetStatOption to ignore the error that is generated when the client + // attempts to use SETSTAT on a file you are uploading to an S3 bucket. Some SFTP + // file transfer clients can attempt to change the attributes of remote files, + // including timestamp and permissions, using commands, such as SETSTAT when + // uploading the file. However, these commands are not compatible with object + // storage systems, such as Amazon S3. Due to this incompatibility, file uploads + // from these clients can result in errors even when the file is otherwise + // successfully uploaded. Set the value to ENABLE_NO_OP to have the Transfer Family + // server ignore the SETSTAT command, and upload files without needing to make any + // changes to your SFTP client. While the SetStatOptionENABLE_NO_OP setting ignores + // the error, it does generate a log entry in CloudWatch Logs, so you can determine + // when the client is making a SETSTAT call. If you want to preserve the original + // timestamp for your file, and modify other file attributes using SETSTAT, you can + // use Amazon EFS as backend storage with Transfer Family. + SetStatOption SetStatOption + // A property used with Transfer servers that use the FTPS protocol. TLS Session // Resumption provides a mechanism to resume or share a negotiated secret key // between the control and data connection for an FTPS session. diff --git a/service/translate/CHANGELOG.md b/service/translate/CHANGELOG.md index f4d675f2ede..87c56f4d98a 100644 --- a/service/translate/CHANGELOG.md +++ b/service/translate/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/translate/go.mod b/service/translate/go.mod index 5064e9c8c82..b83b7130c2f 100644 --- a/service/translate/go.mod +++ b/service/translate/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/translate go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/translate/go.sum b/service/translate/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/translate/go.sum +++ b/service/translate/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/translate/go_module_metadata.go b/service/translate/go_module_metadata.go index 3d6104bb50a..4a6a8fec1d4 100644 --- a/service/translate/go_module_metadata.go +++ b/service/translate/go_module_metadata.go @@ -3,4 +3,4 @@ package translate // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.5" +const goModuleVersion = "1.13.6" diff --git a/service/voiceid/CHANGELOG.md b/service/voiceid/CHANGELOG.md index 5887d4dc639..5647b459e50 100644 --- a/service/voiceid/CHANGELOG.md +++ b/service/voiceid/CHANGELOG.md @@ -1,3 +1,15 @@ +# v1.10.1 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.10.0 (2022-06-02) + +* **Feature**: Added a new attribute ServerSideEncryptionUpdateDetails to Domain and DomainSummary. + +# v1.9.0 (2022-05-25) + +* **Feature**: VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a "LastAccessedAt" time for Speakers, and the EvaluateSession API returns "SPEAKER_EXPIRED" Auth Decision for EXPIRED Speakers. + # v1.8.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/voiceid/api_op_CreateDomain.go b/service/voiceid/api_op_CreateDomain.go index a16c59dc09a..3970a04eb48 100644 --- a/service/voiceid/api_op_CreateDomain.go +++ b/service/voiceid/api_op_CreateDomain.go @@ -36,11 +36,11 @@ type CreateDomainInput struct { // This member is required. Name *string - // The configuration, containing the KMS Key Identifier, to be used by Voice ID for - // the server-side encryption of your data. Refer to Amazon Connect VoiceID + // The configuration, containing the KMS key identifier, to be used by Voice ID for + // the server-side encryption of your data. Refer to Amazon Connect Voice ID // encryption at rest // (https://docs.aws.amazon.com/connect/latest/adminguide/encryption-at-rest.html#encryption-at-rest-voiceid) - // for more details on how the KMS Key is used. + // for more details on how the KMS key is used. // // This member is required. ServerSideEncryptionConfiguration *types.ServerSideEncryptionConfiguration diff --git a/service/voiceid/api_op_DeleteDomain.go b/service/voiceid/api_op_DeleteDomain.go index 34c8601ec48..4adc9c7af54 100644 --- a/service/voiceid/api_op_DeleteDomain.go +++ b/service/voiceid/api_op_DeleteDomain.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes the specified domain from the Amazon Connect Voice ID system. +// Deletes the specified domain from Voice ID. func (c *Client) DeleteDomain(ctx context.Context, params *DeleteDomainInput, optFns ...func(*Options)) (*DeleteDomainOutput, error) { if params == nil { params = &DeleteDomainInput{} diff --git a/service/voiceid/api_op_DeleteFraudster.go b/service/voiceid/api_op_DeleteFraudster.go index 3bde3fdeca1..11077a78315 100644 --- a/service/voiceid/api_op_DeleteFraudster.go +++ b/service/voiceid/api_op_DeleteFraudster.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes the specified fraudster from the Amazon Connect Voice ID system. +// Deletes the specified fraudster from Voice ID. func (c *Client) DeleteFraudster(ctx context.Context, params *DeleteFraudsterInput, optFns ...func(*Options)) (*DeleteFraudsterOutput, error) { if params == nil { params = &DeleteFraudsterInput{} diff --git a/service/voiceid/api_op_DeleteSpeaker.go b/service/voiceid/api_op_DeleteSpeaker.go index 00463d5d9a5..ea207e84f27 100644 --- a/service/voiceid/api_op_DeleteSpeaker.go +++ b/service/voiceid/api_op_DeleteSpeaker.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes the specified speaker from the Amazon Connect Voice ID system. +// Deletes the specified speaker from Voice ID. func (c *Client) DeleteSpeaker(ctx context.Context, params *DeleteSpeakerInput, optFns ...func(*Options)) (*DeleteSpeakerOutput, error) { if params == nil { params = &DeleteSpeakerInput{} diff --git a/service/voiceid/api_op_EvaluateSession.go b/service/voiceid/api_op_EvaluateSession.go index a5110c598ac..97cea81eb06 100644 --- a/service/voiceid/api_op_EvaluateSession.go +++ b/service/voiceid/api_op_EvaluateSession.go @@ -67,10 +67,10 @@ type EvaluateSessionOutput struct { // infer next steps when the Authentication or Fraud Detection results are empty or // the decision is NOT_ENOUGH_SPEECH. In this situation, if the StreamingStatus is // ONGOING/PENDING_CONFIGURATION, it can mean that the client should call the API - // again later, once Voice ID has enough audio to produce a result. If the decision - // remains NOT_ENOUGH_SPEECH even after StreamingStatus is ENDED, it means that the - // previously streamed session did not have enough speech to perform evaluation, - // and a new streaming session is needed to try again. + // again later, after Voice ID has enough audio to produce a result. If the + // decision remains NOT_ENOUGH_SPEECH even after StreamingStatus is ENDED, it means + // that the previously streamed session did not have enough speech to perform + // evaluation, and a new streaming session is needed to try again. StreamingStatus types.StreamingStatus // Metadata pertaining to the operation's result. diff --git a/service/voiceid/api_op_OptOutSpeaker.go b/service/voiceid/api_op_OptOutSpeaker.go index bb4b9e75204..c070a0888c3 100644 --- a/service/voiceid/api_op_OptOutSpeaker.go +++ b/service/voiceid/api_op_OptOutSpeaker.go @@ -11,12 +11,12 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Opts out a speaker from Voice ID system. A speaker can be opted out regardless -// of whether or not they already exist in the system. If they don't yet exist, a -// new speaker is created in an opted out state. If they already exist, their -// existing status is overridden and they are opted out. Enrollment and evaluation +// Opts out a speaker from Voice ID. A speaker can be opted out regardless of +// whether or not they already exist in Voice ID. If they don't yet exist, a new +// speaker is created in an opted out state. If they already exist, their existing +// status is overridden and they are opted out. Enrollment and evaluation // authentication requests are rejected for opted out speakers, and opted out -// speakers have no voice embeddings stored in the system. +// speakers have no voice embeddings stored in Voice ID. func (c *Client) OptOutSpeaker(ctx context.Context, params *OptOutSpeakerInput, optFns ...func(*Options)) (*OptOutSpeakerOutput, error) { if params == nil { params = &OptOutSpeakerInput{} diff --git a/service/voiceid/api_op_StartFraudsterRegistrationJob.go b/service/voiceid/api_op_StartFraudsterRegistrationJob.go index e6d3ee691ea..741d6c2362e 100644 --- a/service/voiceid/api_op_StartFraudsterRegistrationJob.go +++ b/service/voiceid/api_op_StartFraudsterRegistrationJob.go @@ -52,7 +52,7 @@ type StartFraudsterRegistrationJobInput struct { InputDataConfig *types.InputDataConfig // The output data config containing the S3 location where Voice ID writes the job - // output file; you must also include a KMS Key ID to encrypt the file. + // output file; you must also include a KMS key ID to encrypt the file. // // This member is required. OutputDataConfig *types.OutputDataConfig diff --git a/service/voiceid/api_op_StartSpeakerEnrollmentJob.go b/service/voiceid/api_op_StartSpeakerEnrollmentJob.go index b4861a9da49..eb6c37755f7 100644 --- a/service/voiceid/api_op_StartSpeakerEnrollmentJob.go +++ b/service/voiceid/api_op_StartSpeakerEnrollmentJob.go @@ -52,7 +52,7 @@ type StartSpeakerEnrollmentJobInput struct { InputDataConfig *types.InputDataConfig // The output data config containing the S3 location where Voice ID writes the job - // output file; you must also include a KMS Key ID to encrypt the file. + // output file; you must also include a KMS key ID to encrypt the file. // // This member is required. OutputDataConfig *types.OutputDataConfig @@ -62,8 +62,8 @@ type StartSpeakerEnrollmentJobInput struct { ClientToken *string // The enrollment config that contains details such as the action to take when a - // speaker is already enrolled in the Voice ID system or when a speaker is - // identified as a fraudster. + // speaker is already enrolled in Voice ID or when a speaker is identified as a + // fraudster. EnrollmentConfig *types.EnrollmentConfig // A name for your speaker enrollment job. diff --git a/service/voiceid/api_op_TagResource.go b/service/voiceid/api_op_TagResource.go index 269d0bebc07..4497dadc6d6 100644 --- a/service/voiceid/api_op_TagResource.go +++ b/service/voiceid/api_op_TagResource.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Tags an Amazon Connect Voice ID resource with the provided list of tags. +// Tags a Voice ID resource with the provided list of tags. func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { if params == nil { params = &TagResourceInput{} diff --git a/service/voiceid/api_op_UpdateDomain.go b/service/voiceid/api_op_UpdateDomain.go index 4bed75e6d98..a9bc25be9f7 100644 --- a/service/voiceid/api_op_UpdateDomain.go +++ b/service/voiceid/api_op_UpdateDomain.go @@ -41,7 +41,7 @@ type UpdateDomainInput struct { // This member is required. Name *string - // The configuration, containing the KMS Key Identifier, to be used by Voice ID for + // The configuration, containing the KMS key identifier, to be used by Voice ID for // the server-side encryption of your data. Note that all the existing data in the // domain are still encrypted using the existing key, only the data added to domain // after updating the key is encrypted using the new key. diff --git a/service/voiceid/deserializers.go b/service/voiceid/deserializers.go index 07a386050e7..542a34f4b19 100644 --- a/service/voiceid/deserializers.go +++ b/service/voiceid/deserializers.go @@ -332,6 +332,9 @@ func awsAwsjson10_deserializeOpErrorDeleteFraudster(response *smithyhttp.Respons case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -1174,6 +1177,9 @@ func awsAwsjson10_deserializeOpErrorEvaluateSession(response *smithyhttp.Respons case strings.EqualFold("AccessDeniedException", errorCode): return awsAwsjson10_deserializeErrorAccessDeniedException(response, errorBody) + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson10_deserializeErrorConflictException(response, errorBody) + case strings.EqualFold("InternalServerException", errorCode): return awsAwsjson10_deserializeErrorInternalServerException(response, errorBody) @@ -3153,6 +3159,11 @@ func awsAwsjson10_deserializeDocumentDomain(v **types.Domain, value interface{}) return err } + case "ServerSideEncryptionUpdateDetails": + if err := awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(&sv.ServerSideEncryptionUpdateDetails, value); err != nil { + return err + } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -3300,6 +3311,11 @@ func awsAwsjson10_deserializeDocumentDomainSummary(v **types.DomainSummary, valu return err } + case "ServerSideEncryptionUpdateDetails": + if err := awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(&sv.ServerSideEncryptionUpdateDetails, value); err != nil { + return err + } + case "UpdatedAt": if value != nil { switch jtv := value.(type) { @@ -4397,6 +4413,64 @@ func awsAwsjson10_deserializeDocumentServerSideEncryptionConfiguration(v **types return nil } +func awsAwsjson10_deserializeDocumentServerSideEncryptionUpdateDetails(v **types.ServerSideEncryptionUpdateDetails, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ServerSideEncryptionUpdateDetails + if *v == nil { + sv = &types.ServerSideEncryptionUpdateDetails{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "OldKmsKeyId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected KmsKeyId to be of type string, got %T instead", value) + } + sv.OldKmsKeyId = ptr.String(jtv) + } + + case "UpdateStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideEncryptionUpdateStatus to be of type string, got %T instead", value) + } + sv.UpdateStatus = types.ServerSideEncryptionUpdateStatus(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson10_deserializeDocumentServiceQuotaExceededException(v **types.ServiceQuotaExceededException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -4502,6 +4576,22 @@ func awsAwsjson10_deserializeDocumentSpeaker(v **types.Speaker, value interface{ sv.GeneratedSpeakerId = ptr.String(jtv) } + case "LastAccessedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastAccessedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + case "Status": if value != nil { jtv, ok := value.(string) @@ -4911,6 +5001,22 @@ func awsAwsjson10_deserializeDocumentSpeakerSummary(v **types.SpeakerSummary, va sv.GeneratedSpeakerId = ptr.String(jtv) } + case "LastAccessedAt": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastAccessedAt = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + case "Status": if value != nil { jtv, ok := value.(string) diff --git a/service/voiceid/go.mod b/service/voiceid/go.mod index d84fd8b294b..2ae35fc89fc 100644 --- a/service/voiceid/go.mod +++ b/service/voiceid/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/voiceid go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/voiceid/go.sum b/service/voiceid/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/voiceid/go.sum +++ b/service/voiceid/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/voiceid/go_module_metadata.go b/service/voiceid/go_module_metadata.go index 73b4fb860a0..ee8120e72c9 100644 --- a/service/voiceid/go_module_metadata.go +++ b/service/voiceid/go_module_metadata.go @@ -3,4 +3,4 @@ package voiceid // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.5" +const goModuleVersion = "1.10.1" diff --git a/service/voiceid/types/enums.go b/service/voiceid/types/enums.go index d8f45842c95..ae03c2acde3 100644 --- a/service/voiceid/types/enums.go +++ b/service/voiceid/types/enums.go @@ -12,6 +12,7 @@ const ( AuthenticationDecisionSpeakerNotEnrolled AuthenticationDecision = "SPEAKER_NOT_ENROLLED" AuthenticationDecisionSpeakerOptedOut AuthenticationDecision = "SPEAKER_OPTED_OUT" AuthenticationDecisionSpeakerIdNotProvided AuthenticationDecision = "SPEAKER_ID_NOT_PROVIDED" + AuthenticationDecisionSpeakerExpired AuthenticationDecision = "SPEAKER_EXPIRED" ) // Values returns all known values for AuthenticationDecision. Note that this can @@ -25,6 +26,7 @@ func (AuthenticationDecision) Values() []AuthenticationDecision { "SPEAKER_NOT_ENROLLED", "SPEAKER_OPTED_OUT", "SPEAKER_ID_NOT_PROVIDED", + "SPEAKER_EXPIRED", } } @@ -39,6 +41,7 @@ const ( ConflictTypeSpeakerNotSet ConflictType = "SPEAKER_NOT_SET" ConflictTypeSpeakerOptedOut ConflictType = "SPEAKER_OPTED_OUT" ConflictTypeConcurrentChanges ConflictType = "CONCURRENT_CHANGES" + ConflictTypeDomainLockedFromEncryptionUpdates ConflictType = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES" ) // Values returns all known values for ConflictType. Note that this can be expanded @@ -53,6 +56,7 @@ func (ConflictType) Values() []ConflictType { "SPEAKER_NOT_SET", "SPEAKER_OPTED_OUT", "CONCURRENT_CHANGES", + "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES", } } @@ -217,6 +221,27 @@ func (ResourceType) Values() []ResourceType { } } +type ServerSideEncryptionUpdateStatus string + +// Enum values for ServerSideEncryptionUpdateStatus +const ( + ServerSideEncryptionUpdateStatusInProgress ServerSideEncryptionUpdateStatus = "IN_PROGRESS" + ServerSideEncryptionUpdateStatusCompleted ServerSideEncryptionUpdateStatus = "COMPLETED" + ServerSideEncryptionUpdateStatusFailed ServerSideEncryptionUpdateStatus = "FAILED" +) + +// Values returns all known values for ServerSideEncryptionUpdateStatus. Note that +// this can be expanded in the future, and so it is only as up to date as the +// client. The ordering of this slice is not guaranteed to be stable across +// updates. +func (ServerSideEncryptionUpdateStatus) Values() []ServerSideEncryptionUpdateStatus { + return []ServerSideEncryptionUpdateStatus{ + "IN_PROGRESS", + "COMPLETED", + "FAILED", + } +} + type SpeakerEnrollmentJobStatus string // Enum values for SpeakerEnrollmentJobStatus diff --git a/service/voiceid/types/types.go b/service/voiceid/types/types.go index 6ee508b886f..40b90a6a9fa 100644 --- a/service/voiceid/types/types.go +++ b/service/voiceid/types/types.go @@ -82,10 +82,16 @@ type Domain struct { // The client-provided name for the domain. Name *string - // The server-side encryption configuration containing the KMS Key Identifier you + // The server-side encryption configuration containing the KMS key identifier you // want Voice ID to use to encrypt your data. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration + // Details about the most recent server-side encryption configuration update. When + // the server-side encryption configuration is changed, dependency on the old KMS + // key is removed through an asynchronous process. When this update is complete, + // the domain's data can only be accessed using the new KMS key. + ServerSideEncryptionUpdateDetails *ServerSideEncryptionUpdateDetails + // The timestamp showing the domain's last update. UpdatedAt *time.Time @@ -113,10 +119,16 @@ type DomainSummary struct { // The client-provided name for the domain. Name *string - // The server-side encryption configuration containing the KMS Key Identifier you - // want Voice ID to use to encrypt your data.. + // The server-side encryption configuration containing the KMS key identifier you + // want Voice ID to use to encrypt your data. ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration + // Details about the most recent server-side encryption configuration update. When + // the server-side encryption configuration is changed, dependency on the old KMS + // key is removed through an asynchronous process. When this update is complete, + // the domain’s data can only be accessed using the new KMS key. + ServerSideEncryptionUpdateDetails *ServerSideEncryptionUpdateDetails + // The timestamp showing the domain's last update. UpdatedAt *time.Time @@ -278,7 +290,7 @@ type FraudsterRegistrationJob struct { // The service-generated identifier for the fraudster registration job. JobId *string - // The client-provied name for the fraudster registration job. + // The client-provided name for the fraudster registration job. JobName *string // Shows the completed percentage of registration requests listed in the input @@ -289,7 +301,7 @@ type FraudsterRegistrationJob struct { JobStatus FraudsterRegistrationJobStatus // The output data config containing the S3 location where you want Voice ID to - // write your job output file; you must also include a KMS Key ID in order to + // write your job output file; you must also include a KMS key iD in order to // encrypt the file. OutputDataConfig *OutputDataConfig @@ -377,10 +389,10 @@ type KnownFraudsterRisk struct { // The configuration containing output file information for a batch job. type OutputDataConfig struct { - // The S3 path of the folder to which Voice ID writes the job output file, which - // has a *.out extension. For example, if the input file name is input-file.json - // and the output folder path is s3://output-bucket/output-folder, the full output - // file path is s3://output-bucket/output-folder/job-Id/input-file.json.out. + // The S3 path of the folder where Voice ID writes the job output file. It has a + // *.out extension. For example, if the input file name is input-file.json and the + // output folder path is s3://output-bucket/output-folder, the full output file + // path is s3://output-bucket/output-folder/job-Id/input-file.json.out. // // This member is required. S3Uri *string @@ -392,7 +404,7 @@ type OutputDataConfig struct { noSmithyDocumentSerde } -// The configuration definining the action to take when a duplicate fraudster is +// The configuration defining the action to take when a duplicate fraudster is // detected, and the similarity threshold to use for detecting a duplicate // fraudster during a batch fraudster registration job. type RegistrationConfig struct { @@ -410,11 +422,11 @@ type RegistrationConfig struct { noSmithyDocumentSerde } -// The configuration containing information about the customer-managed KMS Key used -// for encrypting customer data. +// The configuration containing information about the customer managed key used for +// encrypting customer data. type ServerSideEncryptionConfiguration struct { - // The identifier of the KMS Key you want Voice ID to use to encrypt your data. + // The identifier of the KMS key you want Voice ID to use to encrypt your data. // // This member is required. KmsKeyId *string @@ -422,6 +434,30 @@ type ServerSideEncryptionConfiguration struct { noSmithyDocumentSerde } +// Details about the most recent server-side encryption configuration update. When +// the server-side encryption configuration is changed, dependency on the old KMS +// key is removed through an asynchronous process. When this update is complete, +// the domain’s data can only be accessed using the new KMS key. +type ServerSideEncryptionUpdateDetails struct { + + // Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, + // this message explains the cause of the failure. + Message *string + + // The previous KMS key ID the domain was encrypted with, before + // ServerSideEncryptionConfiguration was updated to a new KMS key ID. + OldKmsKeyId *string + + // Status of the server-side encryption update. During an update, if there is an + // issue with the domain's current or old KMS key ID, such as an inaccessible or + // disabled key, then the status is FAILED. In order to resolve this, the key needs + // to be made accessible, and then an UpdateDomain call with the existing + // server-side encryption configuration will re-attempt this update process. + UpdateStatus ServerSideEncryptionUpdateStatus + + noSmithyDocumentSerde +} + // Contains all the information about a speaker. type Speaker struct { @@ -437,6 +473,10 @@ type Speaker struct { // The service-generated identifier for the speaker. GeneratedSpeakerId *string + // The timestamp when the speaker was last accessed for enrollment, re-enrollment + // or a successful authentication. This timestamp is accurate to one hour. + LastAccessedAt *time.Time + // The current status of the speaker. Status SpeakerStatus @@ -491,7 +531,7 @@ type SpeakerEnrollmentJob struct { JobStatus SpeakerEnrollmentJobStatus // The output data config containing the S3 location where Voice ID writes the job - // output file; you must also include a KMS Key ID to encrypt the file. + // output file; you must also include a KMS key ID to encrypt the file. OutputDataConfig *OutputDataConfig noSmithyDocumentSerde @@ -546,6 +586,10 @@ type SpeakerSummary struct { // The service-generated identifier for the speaker. GeneratedSpeakerId *string + // The timestamp when the speaker was last accessed for enrollment, re-enrollment + // or a successful authentication. This timestamp is accurate to one hour. + LastAccessedAt *time.Time + // The current status of the speaker. Status SpeakerStatus diff --git a/service/waf/CHANGELOG.md b/service/waf/CHANGELOG.md index 27c2647f1b3..e7c91e8007b 100644 --- a/service/waf/CHANGELOG.md +++ b/service/waf/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/waf/go.mod b/service/waf/go.mod index e7f86cdcb31..8289f066edb 100644 --- a/service/waf/go.mod +++ b/service/waf/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/waf go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/waf/go.sum b/service/waf/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/waf/go.sum +++ b/service/waf/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/waf/go_module_metadata.go b/service/waf/go_module_metadata.go index a1b4073f767..739a10b34bd 100644 --- a/service/waf/go_module_metadata.go +++ b/service/waf/go_module_metadata.go @@ -3,4 +3,4 @@ package waf // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/wafregional/CHANGELOG.md b/service/wafregional/CHANGELOG.md index aaa07d620b3..a56f1fa9ae5 100644 --- a/service/wafregional/CHANGELOG.md +++ b/service/wafregional/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/wafregional/go.mod b/service/wafregional/go.mod index 1ad13f299b3..7794e1b8257 100644 --- a/service/wafregional/go.mod +++ b/service/wafregional/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/wafregional go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wafregional/go.sum b/service/wafregional/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/wafregional/go.sum +++ b/service/wafregional/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/wafregional/go_module_metadata.go b/service/wafregional/go_module_metadata.go index df49a15c769..868a92916e3 100644 --- a/service/wafregional/go_module_metadata.go +++ b/service/wafregional/go_module_metadata.go @@ -3,4 +3,4 @@ package wafregional // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.6" +const goModuleVersion = "1.12.7" diff --git a/service/wafv2/CHANGELOG.md b/service/wafv2/CHANGELOG.md index 2eed6085727..efe68646aa8 100644 --- a/service/wafv2/CHANGELOG.md +++ b/service/wafv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.20.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/wafv2/go.mod b/service/wafv2/go.mod index f37c11d360f..87c509b90b1 100644 --- a/service/wafv2/go.mod +++ b/service/wafv2/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/wafv2 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wafv2/go.sum b/service/wafv2/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/wafv2/go.sum +++ b/service/wafv2/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/wafv2/go_module_metadata.go b/service/wafv2/go_module_metadata.go index e3b37ddbbbd..76958842e6e 100644 --- a/service/wafv2/go_module_metadata.go +++ b/service/wafv2/go_module_metadata.go @@ -3,4 +3,4 @@ package wafv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.1" +const goModuleVersion = "1.20.2" diff --git a/service/wellarchitected/CHANGELOG.md b/service/wellarchitected/CHANGELOG.md index b2169142bd0..019ef9cdfb1 100644 --- a/service/wellarchitected/CHANGELOG.md +++ b/service/wellarchitected/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.14.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.14.6 (2022-05-23) + +* No change notes available for this release. + # v1.14.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/wellarchitected/go.mod b/service/wellarchitected/go.mod index f6deae9c191..6f45fd6e262 100644 --- a/service/wellarchitected/go.mod +++ b/service/wellarchitected/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/wellarchitected go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wellarchitected/go.sum b/service/wellarchitected/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/wellarchitected/go.sum +++ b/service/wellarchitected/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/wellarchitected/go_module_metadata.go b/service/wellarchitected/go_module_metadata.go index 6757ecf9964..f4ce884bab9 100644 --- a/service/wellarchitected/go_module_metadata.go +++ b/service/wellarchitected/go_module_metadata.go @@ -3,4 +3,4 @@ package wellarchitected // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.5" +const goModuleVersion = "1.14.7" diff --git a/service/wellarchitected/internal/endpoints/endpoints.go b/service/wellarchitected/internal/endpoints/endpoints.go index df152d88285..53371017b05 100644 --- a/service/wellarchitected/internal/endpoints/endpoints.go +++ b/service/wellarchitected/internal/endpoints/endpoints.go @@ -134,6 +134,62 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.Aws, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ca-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "me-south-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-cn", diff --git a/service/wisdom/CHANGELOG.md b/service/wisdom/CHANGELOG.md index 901e3730765..f0b622b8227 100644 --- a/service/wisdom/CHANGELOG.md +++ b/service/wisdom/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.8.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/wisdom/go.mod b/service/wisdom/go.mod index 7956adfe99e..475b298f667 100644 --- a/service/wisdom/go.mod +++ b/service/wisdom/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/wisdom go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wisdom/go.sum b/service/wisdom/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/wisdom/go.sum +++ b/service/wisdom/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/wisdom/go_module_metadata.go b/service/wisdom/go_module_metadata.go index 87e8941ed2e..b2f6d1918d0 100644 --- a/service/wisdom/go_module_metadata.go +++ b/service/wisdom/go_module_metadata.go @@ -3,4 +3,4 @@ package wisdom // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.2" +const goModuleVersion = "1.8.3" diff --git a/service/workdocs/CHANGELOG.md b/service/workdocs/CHANGELOG.md index d1b4269529a..a0abac976a7 100644 --- a/service/workdocs/CHANGELOG.md +++ b/service/workdocs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/workdocs/go.mod b/service/workdocs/go.mod index b412a97ecfb..f574f5f08d2 100644 --- a/service/workdocs/go.mod +++ b/service/workdocs/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/workdocs go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workdocs/go.sum b/service/workdocs/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/workdocs/go.sum +++ b/service/workdocs/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/workdocs/go_module_metadata.go b/service/workdocs/go_module_metadata.go index 00979fe3dc8..c7d5f657310 100644 --- a/service/workdocs/go_module_metadata.go +++ b/service/workdocs/go_module_metadata.go @@ -3,4 +3,4 @@ package workdocs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/worklink/CHANGELOG.md b/service/worklink/CHANGELOG.md index 6056d5d00f4..43375e59507 100644 --- a/service/worklink/CHANGELOG.md +++ b/service/worklink/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.12.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/worklink/go.mod b/service/worklink/go.mod index 501ab842510..3f895745c0c 100644 --- a/service/worklink/go.mod +++ b/service/worklink/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/worklink go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/worklink/go.sum b/service/worklink/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/worklink/go.sum +++ b/service/worklink/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/worklink/go_module_metadata.go b/service/worklink/go_module_metadata.go index 06adf69eed3..916d0fea6e3 100644 --- a/service/worklink/go_module_metadata.go +++ b/service/worklink/go_module_metadata.go @@ -3,4 +3,4 @@ package worklink // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/workmail/CHANGELOG.md b/service/workmail/CHANGELOG.md index 77aee6651a8..6fbf6371b83 100644 --- a/service/workmail/CHANGELOG.md +++ b/service/workmail/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/workmail/go.mod b/service/workmail/go.mod index cb70ed2bf57..d20012d801a 100644 --- a/service/workmail/go.mod +++ b/service/workmail/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/workmail go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workmail/go.sum b/service/workmail/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/workmail/go.sum +++ b/service/workmail/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/workmail/go_module_metadata.go b/service/workmail/go_module_metadata.go index 585aa698055..171cc32910d 100644 --- a/service/workmail/go_module_metadata.go +++ b/service/workmail/go_module_metadata.go @@ -3,4 +3,4 @@ package workmail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.5" +const goModuleVersion = "1.15.6" diff --git a/service/workmailmessageflow/CHANGELOG.md b/service/workmailmessageflow/CHANGELOG.md index 90f30d824d3..5a749b3f491 100644 --- a/service/workmailmessageflow/CHANGELOG.md +++ b/service/workmailmessageflow/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.6 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.11.5 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/workmailmessageflow/go.mod b/service/workmailmessageflow/go.mod index 5578128f736..34ff8a0ef6e 100644 --- a/service/workmailmessageflow/go.mod +++ b/service/workmailmessageflow/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/workmailmessageflow go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workmailmessageflow/go.sum b/service/workmailmessageflow/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/workmailmessageflow/go.sum +++ b/service/workmailmessageflow/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/workmailmessageflow/go_module_metadata.go b/service/workmailmessageflow/go_module_metadata.go index 6c8cd5908d0..553fa16a563 100644 --- a/service/workmailmessageflow/go_module_metadata.go +++ b/service/workmailmessageflow/go_module_metadata.go @@ -3,4 +3,4 @@ package workmailmessageflow // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.5" +const goModuleVersion = "1.11.6" diff --git a/service/workspaces/CHANGELOG.md b/service/workspaces/CHANGELOG.md index a9aa6f0199a..9b99f9b537f 100644 --- a/service/workspaces/CHANGELOG.md +++ b/service/workspaces/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.18.2 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/workspaces/go.mod b/service/workspaces/go.mod index aa8d397e14d..7cd73965720 100644 --- a/service/workspaces/go.mod +++ b/service/workspaces/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/workspaces go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workspaces/go.sum b/service/workspaces/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/workspaces/go.sum +++ b/service/workspaces/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/workspaces/go_module_metadata.go b/service/workspaces/go_module_metadata.go index c9ae7f24ae1..d3748278f93 100644 --- a/service/workspaces/go_module_metadata.go +++ b/service/workspaces/go_module_metadata.go @@ -3,4 +3,4 @@ package workspaces // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/workspacesweb/CHANGELOG.md b/service/workspacesweb/CHANGELOG.md index 25a51646275..254581ae7fe 100644 --- a/service/workspacesweb/CHANGELOG.md +++ b/service/workspacesweb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.2 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.6.1 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/workspacesweb/go.mod b/service/workspacesweb/go.mod index f0284cd7116..0ae5162a626 100644 --- a/service/workspacesweb/go.mod +++ b/service/workspacesweb/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/workspacesweb go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workspacesweb/go.sum b/service/workspacesweb/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/workspacesweb/go.sum +++ b/service/workspacesweb/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/workspacesweb/go_module_metadata.go b/service/workspacesweb/go_module_metadata.go index f0ec1bac2e4..f3e6fea9ec0 100644 --- a/service/workspacesweb/go_module_metadata.go +++ b/service/workspacesweb/go_module_metadata.go @@ -3,4 +3,4 @@ package workspacesweb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.1" +const goModuleVersion = "1.6.2" diff --git a/service/xray/CHANGELOG.md b/service/xray/CHANGELOG.md index 130e4d248d7..7ae1a48c77f 100644 --- a/service/xray/CHANGELOG.md +++ b/service/xray/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.7 (2022-06-07) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.13.6 (2022-05-17) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/xray/go.mod b/service/xray/go.mod index 2db9706ebda..65184b14d85 100644 --- a/service/xray/go.mod +++ b/service/xray/go.mod @@ -3,10 +3,10 @@ module github.com/aws/aws-sdk-go-v2/service/xray go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v1.16.4 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.11 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.5 - github.com/aws/smithy-go v1.11.2 + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.11.3 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/xray/go.sum b/service/xray/go.sum index d50e4572cb0..86cce5bcbcc 100644 --- a/service/xray/go.sum +++ b/service/xray/go.sum @@ -1,13 +1,11 @@ -github.com/aws/smithy-go v1.11.2 h1:eG/N+CcUMAvsdffgMvjMKwfyDzIkjM6pfxMJ8Mzc6mE= -github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= +github.com/aws/smithy-go v1.11.3 h1:DQixirEFM9IaKxX1olZ3ke3nvxRS2xMDteKIDWxozW8= +github.com/aws/smithy-go v1.11.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/xray/go_module_metadata.go b/service/xray/go_module_metadata.go index 838ac384a78..fb9fd5eed63 100644 --- a/service/xray/go_module_metadata.go +++ b/service/xray/go_module_metadata.go @@ -3,4 +3,4 @@ package xray // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.6" +const goModuleVersion = "1.13.7"