From 5a9633d0f53573ccdf43270c0ce198fb369193b0 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 23 Sep 2022 11:26:03 -0700 Subject: [PATCH] Release v1.44.105 (2022-09-23) (#4567) Release v1.44.105 (2022-09-23) === ### Service Client Updates * `service/apprunner`: Updates service API * `service/ec2`: Updates service API and documentation * Letting external AWS customers provide ImageId as a Launch Template override in FleetLaunchTemplateOverridesRequest * `service/lightsail`: Updates service API and documentation * This release adds Instance Metadata Service (IMDS) support for Lightsail instances. * `service/models.lex.v2`: Updates service API and documentation * `service/nimble`: Updates service API, documentation, and waiters * `service/ssm`: Updates service API * This release adds new SSM document types ConformancePackTemplate and CloudFormation * `service/wafv2`: Updates service documentation --- CHANGELOG.md | 15 + aws/endpoints/defaults.go | 21 + aws/version.go | 2 +- models/apis/apprunner/2020-05-15/api-2.json | 3 +- models/apis/ec2/2016-11-15/api-2.json | 7 +- models/apis/ec2/2016-11-15/docs-2.json | 2 + models/apis/lightsail/2016-11-28/api-2.json | 82 ++- models/apis/lightsail/2016-11-28/docs-2.json | 54 +- .../apis/models.lex.v2/2020-08-07/api-2.json | 97 +++- .../apis/models.lex.v2/2020-08-07/docs-2.json | 74 +++ models/apis/nimble/2020-08-01/api-2.json | 13 +- models/apis/nimble/2020-08-01/docs-2.json | 22 +- models/apis/nimble/2020-08-01/waiters-2.json | 2 +- models/apis/ssm/2014-11-06/api-2.json | 4 +- models/apis/wafv2/2019-07-29/docs-2.json | 22 +- models/endpoints/endpoints.json | 7 + service/apprunner/api.go | 4 + service/ec2/api.go | 20 + service/lexmodelsv2/api.go | 499 ++++++++++++++++++ service/lightsail/api.go | 431 +++++++++++++++ service/lightsail/lightsailiface/interface.go | 4 + service/nimblestudio/api.go | 82 ++- service/ssm/api.go | 8 + service/wafv2/api.go | 282 +++++++--- service/wafv2/errors.go | 11 +- 25 files changed, 1642 insertions(+), 126 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0782ec9627e..05267ae8006 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +Release v1.44.105 (2022-09-23) +=== + +### Service Client Updates +* `service/apprunner`: Updates service API +* `service/ec2`: Updates service API and documentation + * Letting external AWS customers provide ImageId as a Launch Template override in FleetLaunchTemplateOverridesRequest +* `service/lightsail`: Updates service API and documentation + * This release adds Instance Metadata Service (IMDS) support for Lightsail instances. +* `service/models.lex.v2`: Updates service API and documentation +* `service/nimble`: Updates service API, documentation, and waiters +* `service/ssm`: Updates service API + * This release adds new SSM document types ConformancePackTemplate and CloudFormation +* `service/wafv2`: Updates service documentation + Release v1.44.104 (2022-09-22) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index f420acd0749..524d2240dc0 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -9517,6 +9517,12 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -9553,6 +9559,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "sa-east-1", + }: endpoint{}, endpointKey{ Region: "us-east-1", }: endpoint{}, @@ -12739,6 +12748,18 @@ var awsPartition = partition{ }, "ivschat": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "ap-northeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index aba2334c8b9..fbd13072524 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.104" +const SDKVersion = "1.44.105" diff --git a/models/apis/apprunner/2020-05-15/api-2.json b/models/apis/apprunner/2020-05-15/api-2.json index 987ac438262..6ee624f0b86 100644 --- a/models/apis/apprunner/2020-05-15/api-2.json +++ b/models/apis/apprunner/2020-05-15/api-2.json @@ -1365,7 +1365,8 @@ "NODEJS_12", "NODEJS_14", "CORRETTO_8", - "CORRETTO_11" + "CORRETTO_11", + "NODEJS_16" ] }, "RuntimeEnvironmentVariables":{ diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 4ff0d9172b3..9df32a1056f 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -20014,6 +20014,10 @@ "InstanceRequirements":{ "shape":"InstanceRequirements", "locationName":"instanceRequirements" + }, + "ImageId":{ + "shape":"ImageId", + "locationName":"imageId" } } }, @@ -20041,7 +20045,8 @@ "WeightedCapacity":{"shape":"Double"}, "Priority":{"shape":"Double"}, "Placement":{"shape":"Placement"}, - "InstanceRequirements":{"shape":"InstanceRequirementsRequest"} + "InstanceRequirements":{"shape":"InstanceRequirementsRequest"}, + "ImageId":{"shape":"ImageId"} } }, "FleetLaunchTemplateSpecification":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 9a9b8013eb8..90a687dc4a2 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -9543,6 +9543,8 @@ "EnableImageDeprecationRequest$ImageId": "

The ID of the AMI.

", "ExportImageRequest$ImageId": "

The ID of the image.

", "FastLaunchImageIdList$member": null, + "FleetLaunchTemplateOverrides$ImageId": "

The ID of the AMI. An AMI is required to launch an instance. The AMI ID must be specified here or in the launch template.

", + "FleetLaunchTemplateOverridesRequest$ImageId": "

The ID of the AMI. An AMI is required to launch an instance. The AMI ID must be specified here or in the launch template.

", "ImageIdList$member": null, "ImageIdStringList$member": null, "ModifyImageAttributeRequest$ImageId": "

The ID of the AMI.

", diff --git a/models/apis/lightsail/2016-11-28/api-2.json b/models/apis/lightsail/2016-11-28/api-2.json index 2738655fe33..35049b93733 100644 --- a/models/apis/lightsail/2016-11-28/api-2.json +++ b/models/apis/lightsail/2016-11-28/api-2.json @@ -2645,6 +2645,24 @@ {"shape":"UnauthenticatedException"} ] }, + "UpdateInstanceMetadataOptions":{ + "name":"UpdateInstanceMetadataOptions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateInstanceMetadataOptionsRequest"}, + "output":{"shape":"UpdateInstanceMetadataOptionsResult"}, + "errors":[ + {"shape":"ServiceException"}, + {"shape":"InvalidInputException"}, + {"shape":"NotFoundException"}, + {"shape":"OperationFailureException"}, + {"shape":"AccessDeniedException"}, + {"shape":"AccountSetupInProgressException"}, + {"shape":"UnauthenticatedException"} + ] + }, "UpdateLoadBalancerAttribute":{ "name":"UpdateLoadBalancerAttribute", "http":{ @@ -5743,6 +5761,27 @@ "type":"list", "member":{"shape":"HostKeyAttributes"} }, + "HttpEndpoint":{ + "type":"string", + "enum":[ + "disabled", + "enabled" + ] + }, + "HttpProtocolIpv6":{ + "type":"string", + "enum":[ + "disabled", + "enabled" + ] + }, + "HttpTokens":{ + "type":"string", + "enum":[ + "optional", + "required" + ] + }, "IAMAccessKeyId":{ "type":"string", "max":20, @@ -5800,7 +5839,8 @@ "networking":{"shape":"InstanceNetworking"}, "state":{"shape":"InstanceState"}, "username":{"shape":"NonEmptyString"}, - "sshKeyName":{"shape":"ResourceName"} + "sshKeyName":{"shape":"ResourceName"}, + "metadataOptions":{"shape":"InstanceMetadataOptions"} } }, "InstanceAccessDetails":{ @@ -5896,6 +5936,23 @@ "type":"list", "member":{"shape":"Instance"} }, + "InstanceMetadataOptions":{ + "type":"structure", + "members":{ + "state":{"shape":"InstanceMetadataState"}, + "httpTokens":{"shape":"HttpTokens"}, + "httpEndpoint":{"shape":"HttpEndpoint"}, + "httpPutResponseHopLimit":{"shape":"integer"}, + "httpProtocolIpv6":{"shape":"HttpProtocolIpv6"} + } + }, + "InstanceMetadataState":{ + "type":"string", + "enum":[ + "pending", + "applied" + ] + }, "InstanceMetricName":{ "type":"string", "enum":[ @@ -5906,7 +5963,8 @@ "StatusCheckFailed_Instance", "StatusCheckFailed_System", "BurstCapacityTime", - "BurstCapacityPercentage" + "BurstCapacityPercentage", + "MetadataNoToken" ] }, "InstanceNetworking":{ @@ -6606,7 +6664,8 @@ "DeleteBucketAccessKey", "UpdateBucketBundle", "UpdateBucket", - "SetResourceAccessForBucket" + "SetResourceAccessForBucket", + "UpdateInstanceMetadataOptions" ] }, "Origin":{ @@ -7512,6 +7571,23 @@ "operations":{"shape":"OperationList"} } }, + "UpdateInstanceMetadataOptionsRequest":{ + "type":"structure", + "required":["instanceName"], + "members":{ + "instanceName":{"shape":"ResourceName"}, + "httpTokens":{"shape":"HttpTokens"}, + "httpEndpoint":{"shape":"HttpEndpoint"}, + "httpPutResponseHopLimit":{"shape":"integer"}, + "httpProtocolIpv6":{"shape":"HttpProtocolIpv6"} + } + }, + "UpdateInstanceMetadataOptionsResult":{ + "type":"structure", + "members":{ + "operation":{"shape":"Operation"} + } + }, "UpdateLoadBalancerAttributeRequest":{ "type":"structure", "required":[ diff --git a/models/apis/lightsail/2016-11-28/docs-2.json b/models/apis/lightsail/2016-11-28/docs-2.json index ef3695c9422..8fb02ece54a 100644 --- a/models/apis/lightsail/2016-11-28/docs-2.json +++ b/models/apis/lightsail/2016-11-28/docs-2.json @@ -153,6 +153,7 @@ "UpdateDistribution": "

Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

Use this action to update the configuration of your existing distribution.

", "UpdateDistributionBundle": "

Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.

A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.

Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.

You can update your distribution's bundle only one time within your monthly AWS billing cycle. To determine if you can update your distribution's bundle, use the GetDistributions action. The ableToUpdateBundle parameter in the result will indicate whether you can currently update your distribution's bundle.

", "UpdateDomainEntry": "

Updates a domain recordset after it is created.

The update domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.

", + "UpdateInstanceMetadataOptions": "

Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the GetInstance or GetInstances API operation initially responds with a state of pending. After the parameter modifications are successfully applied, the state changes to applied in subsequent GetInstance or GetInstances API calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.

", "UpdateLoadBalancerAttribute": "

Updates the specified attribute for a load balancer. You can only update one attribute at a time.

The update load balancer attribute operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

", "UpdateRelationalDatabase": "

Allows the update of one or more attributes of a database in Amazon Lightsail.

Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.

The update relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

", "UpdateRelationalDatabaseParameters": "

Allows the update of one or more parameters of a database in Amazon Lightsail.

Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which parameter updates are applied: dynamic or pending-reboot. Parameters marked with a dynamic apply type are applied immediately. Parameters marked with a pending-reboot apply type are applied only after the database is rebooted using the reboot relational database operation.

The update relational database parameters operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

" @@ -2346,6 +2347,27 @@ "InstanceAccessDetails$hostKeys": "

Describes the public SSH host keys or the RDP certificate.

" } }, + "HttpEndpoint": { + "base": null, + "refs": { + "InstanceMetadataOptions$httpEndpoint": "

Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.

If the value is disabled, you cannot access your instance metadata.

", + "UpdateInstanceMetadataOptionsRequest$httpEndpoint": "

Enables or disables the HTTP metadata endpoint on your instances. If this parameter is not specified, the existing state is maintained.

If you specify a value of disabled, you cannot access your instance metadata.

" + } + }, + "HttpProtocolIpv6": { + "base": null, + "refs": { + "InstanceMetadataOptions$httpProtocolIpv6": "

Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.

", + "UpdateInstanceMetadataOptionsRequest$httpProtocolIpv6": "

Enables or disables the IPv6 endpoint for the instance metadata service. This setting applies only when the HTTP metadata endpoint is enabled.

This parameter is available only for instances in the Europe (Stockholm) Amazon Web Services Region (eu-north-1).

" + } + }, + "HttpTokens": { + "base": null, + "refs": { + "InstanceMetadataOptions$httpTokens": "

The state of token usage for your instance metadata requests.

If the state is optional, you can choose whether to retrieve instance metadata with a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials by using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with all instance metadata retrieval requests. In this state, retrieving the IAM role credential always returns the version 2.0 credentials. The version 1.0 credentials are not available.

Not all instance blueprints in Lightsail support version 2.0 credentials. Use the MetadataNoToken instance metric to track the number of calls to the instance metadata service that are using version 1.0 credentials. For more information, see Viewing instance metrics in Amazon Lightsail in the Amazon Lightsail Developer Guide.

", + "UpdateInstanceMetadataOptionsRequest$httpTokens": "

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose whether to retrieve instance metadata with a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials by using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with all instance metadata retrieval requests. In this state, retrieving the IAM role credential always returns the version 2.0 credentials. The version 1.0 credentials are not available.

" + } + }, "IAMAccessKeyId": { "base": null, "refs": { @@ -2449,10 +2471,22 @@ "GetInstancesResult$instances": "

An array of key-value pairs containing information about your instances.

" } }, + "InstanceMetadataOptions": { + "base": "

The metadata options for the instance.

", + "refs": { + "Instance$metadataOptions": "

The metadata options for the Amazon Lightsail instance.

" + } + }, + "InstanceMetadataState": { + "base": null, + "refs": { + "InstanceMetadataOptions$state": "

The state of the metadata option changes.

The following states are possible:

" + } + }, "InstanceMetricName": { "base": null, "refs": { - "GetInstanceMetricDataRequest$metricName": "

The metric for which you want to return information.

Valid instance metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

", + "GetInstanceMetricDataRequest$metricName": "

The metric for which you want to return information.

Valid instance metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

", "GetInstanceMetricDataResult$metricName": "

The name of the metric returned.

" } }, @@ -3070,7 +3104,8 @@ "ResetDistributionCacheResult$operation": "

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

", "UnpeerVpcResult$operation": "

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

", "UpdateDistributionBundleResult$operation": "

An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

", - "UpdateDistributionResult$operation": "

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

" + "UpdateDistributionResult$operation": "

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

", + "UpdateInstanceMetadataOptionsResult$operation": null } }, "OperationFailureException": { @@ -3709,6 +3744,7 @@ "UntagResourceRequest$resourceName": "

The name of the resource from which you are removing a tag.

", "UpdateDistributionBundleRequest$distributionName": "

The name of the distribution for which to update the bundle.

Use the GetDistributions action to get a list of distribution names that you can specify.

", "UpdateDistributionRequest$distributionName": "

The name of the distribution to update.

Use the GetDistributions action to get a list of distribution names that you can specify.

", + "UpdateInstanceMetadataOptionsRequest$instanceName": "

The name of the instance for which to update metadata parameters.

", "UpdateLoadBalancerAttributeRequest$loadBalancerName": "

The name of the load balancer that you want to modify (e.g., my-load-balancer.

", "UpdateRelationalDatabaseParametersRequest$relationalDatabaseName": "

The name of your database for which to update parameters.

", "UpdateRelationalDatabaseRequest$relationalDatabaseName": "

The name of your Lightsail database resource to update.

" @@ -4097,6 +4133,16 @@ "refs": { } }, + "UpdateInstanceMetadataOptionsRequest": { + "base": null, + "refs": { + } + }, + "UpdateInstanceMetadataOptionsResult": { + "base": null, + "refs": { + } + }, "UpdateLoadBalancerAttributeRequest": { "base": null, "refs": { @@ -4258,6 +4304,7 @@ "EndpointRequest$containerPort": "

The port of the container to which traffic is forwarded to.

", "GetRelationalDatabaseEventsRequest$durationInMinutes": "

The number of minutes in the past from which to retrieve events. For example, to get all events from the past 2 hours, enter 120.

Default: 60

The minimum is 1 and the maximum is 14 days (20160 minutes).

", "InstanceHardware$cpuCount": "

The number of vCPUs the instance has.

", + "InstanceMetadataOptions$httpPutResponseHopLimit": "

The desired HTTP PUT response hop limit for instance metadata requests. A larger number means that the instance metadata requests can travel farther.

", "InstanceSnapshot$sizeInGb": "

The size in GB of the SSD.

", "InstanceState$code": "

The status code for the instance.

", "LoadBalancer$instancePort": "

The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.

", @@ -4270,7 +4317,8 @@ "RelationalDatabaseEndpoint$port": "

Specifies the port that the database is listening on.

", "RelationalDatabaseHardware$cpuCount": "

The number of vCPUs for the database.

", "RelationalDatabaseHardware$diskSizeInGb": "

The size of the disk for the database.

", - "RelationalDatabaseSnapshot$sizeInGb": "

The size of the disk in GB (for example, 32) for the database snapshot.

" + "RelationalDatabaseSnapshot$sizeInGb": "

The size of the disk in GB (for example, 32) for the database snapshot.

", + "UpdateInstanceMetadataOptionsRequest$httpPutResponseHopLimit": "

The desired HTTP PUT response hop limit for instance metadata requests. A larger number means that the instance metadata requests can travel farther. If no parameter is specified, the existing state is maintained.

" } }, "long": { diff --git a/models/apis/models.lex.v2/2020-08-07/api-2.json b/models/apis/models.lex.v2/2020-08-07/api-2.json index 8e92a93b76b..04e78d07715 100644 --- a/models/apis/models.lex.v2/2020-08-07/api-2.json +++ b/models/apis/models.lex.v2/2020-08-07/api-2.json @@ -1231,6 +1231,17 @@ "type":"list", "member":{"shape":"AggregatedUtterancesSummary"} }, + "AllowedInputTypes":{ + "type":"structure", + "required":[ + "allowAudioInput", + "allowDTMFInput" + ], + "members":{ + "allowAudioInput":{"shape":"BoxedBoolean"}, + "allowDTMFInput":{"shape":"BoxedBoolean"} + } + }, "AmazonResourceName":{ "type":"string", "max":1011, @@ -1280,6 +1291,15 @@ "max":250, "min":1 }, + "AudioAndDTMFInputSpecification":{ + "type":"structure", + "required":["startTimeoutMs"], + "members":{ + "startTimeoutMs":{"shape":"TimeInMilliSeconds"}, + "audioSpecification":{"shape":"AudioSpecification"}, + "dtmfSpecification":{"shape":"DTMFSpecification"} + } + }, "AudioLogDestination":{ "type":"structure", "required":["s3Bucket"], @@ -1308,6 +1328,17 @@ "type":"string", "enum":["UseSlotValuesAsCustomVocabulary"] }, + "AudioSpecification":{ + "type":"structure", + "required":[ + "maxLengthMs", + "endTimeoutMs" + ], + "members":{ + "maxLengthMs":{"shape":"TimeInMilliSeconds"}, + "endTimeoutMs":{"shape":"TimeInMilliSeconds"} + } + }, "Boolean":{"type":"boolean"}, "BotAliasHistoryEvent":{ "type":"structure", @@ -2389,6 +2420,25 @@ "Creating" ] }, + "DTMFCharacter":{ + "type":"string", + "pattern":"^[A-D0-9#*]{1}$" + }, + "DTMFSpecification":{ + "type":"structure", + "required":[ + "maxLength", + "endTimeoutMs", + "deletionCharacter", + "endCharacter" + ], + "members":{ + "maxLength":{"shape":"MaxUtteranceDigits"}, + "endTimeoutMs":{"shape":"TimeInMilliSeconds"}, + "deletionCharacter":{"shape":"DTMFCharacter"}, + "endCharacter":{"shape":"DTMFCharacter"} + } + }, "DataPrivacy":{ "type":"structure", "required":["childDirected"], @@ -4266,6 +4316,11 @@ "max":1000, "min":1 }, + "MaxUtteranceDigits":{ + "type":"integer", + "max":1024, + "min":1 + }, "MergeStrategy":{ "type":"string", "enum":[ @@ -4479,6 +4534,32 @@ "max":100, "min":0 }, + "PromptAttempt":{ + "type":"string", + "enum":[ + "Initial", + "Retry1", + "Retry2", + "Retry3", + "Retry4", + "Retry5" + ] + }, + "PromptAttemptSpecification":{ + "type":"structure", + "required":["allowedInputTypes"], + "members":{ + "allowInterrupt":{"shape":"BoxedBoolean"}, + "allowedInputTypes":{"shape":"AllowedInputTypes"}, + "audioAndDTMFInputSpecification":{"shape":"AudioAndDTMFInputSpecification"}, + "textInputSpecification":{"shape":"TextInputSpecification"} + } + }, + "PromptAttemptsSpecificationMap":{ + "type":"map", + "key":{"shape":"PromptAttempt"}, + "value":{"shape":"PromptAttemptSpecification"} + }, "PromptMaxRetries":{ "type":"integer", "max":5, @@ -4494,7 +4575,8 @@ "messageGroups":{"shape":"MessageGroupsList"}, "maxRetries":{"shape":"PromptMaxRetries"}, "allowInterrupt":{"shape":"BoxedBoolean"}, - "messageSelectionStrategy":{"shape":"MessageSelectionStrategy"} + "messageSelectionStrategy":{"shape":"MessageSelectionStrategy"}, + "promptAttemptsSpecification":{"shape":"PromptAttemptsSpecificationMap"} } }, "QueryFilterString":{ @@ -5171,7 +5253,7 @@ "type":"string", "max":640, "min":0, - "pattern":"[0-9A-Za-z_\\s\\(\\)]+" + "pattern":"[0-9A-Za-z_\\-\\s\\(\\)]+" }, "SubSlotSetting":{ "type":"structure", @@ -5263,6 +5345,13 @@ "max":256, "min":0 }, + "TextInputSpecification":{ + "type":"structure", + "required":["startTimeoutMs"], + "members":{ + "startTimeoutMs":{"shape":"TimeInMilliSeconds"} + } + }, "TextLogDestination":{ "type":"structure", "required":["cloudWatch"], @@ -5308,6 +5397,10 @@ "Weeks" ] }, + "TimeInMilliSeconds":{ + "type":"integer", + "min":1 + }, "TimeValue":{ "type":"integer", "max":24, diff --git a/models/apis/models.lex.v2/2020-08-07/docs-2.json b/models/apis/models.lex.v2/2020-08-07/docs-2.json index 8e563207138..912ff4156f5 100644 --- a/models/apis/models.lex.v2/2020-08-07/docs-2.json +++ b/models/apis/models.lex.v2/2020-08-07/docs-2.json @@ -125,6 +125,12 @@ "ListAggregatedUtterancesResponse$aggregatedUtterancesSummaries": "

Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.

" } }, + "AllowedInputTypes": { + "base": "

Specifies the allowed input types.

", + "refs": { + "PromptAttemptSpecification$allowedInputTypes": "

Indicates the allowed input types of the prompt attempt.

" + } + }, "AmazonResourceName": { "base": null, "refs": { @@ -188,6 +194,12 @@ "ImageResponseCard$imageUrl": "

The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.

" } }, + "AudioAndDTMFInputSpecification": { + "base": "

Specifies the audio and DTMF input specification.

", + "refs": { + "PromptAttemptSpecification$audioAndDTMFInputSpecification": "

Specifies the settings on audio and DTMF input.

" + } + }, "AudioLogDestination": { "base": "

The location of audio log files collected when conversation logging is enabled for a bot.

", "refs": { @@ -212,6 +224,12 @@ "AdvancedRecognitionSetting$audioRecognitionStrategy": "

Enables using the slot values as a custom vocabulary for recognizing user utterances.

" } }, + "AudioSpecification": { + "base": "

Specifies the audio input specifications.

", + "refs": { + "AudioAndDTMFInputSpecification$audioSpecification": "

Specifies the settings on audio input.

" + } + }, "Boolean": { "base": null, "refs": { @@ -566,6 +584,8 @@ "base": null, "refs": { "AggregatedUtterancesSummary$containsDataFromDeletedResources": "

Aggregated utterance data may contain utterances from versions of your bot that have since been deleted. When the aggregated contains this kind of data, this field is set to true.

", + "AllowedInputTypes$allowAudioInput": "

Indicates whether audio input is allowed.

", + "AllowedInputTypes$allowDTMFInput": "

Indicates whether DTMF input is allowed.

", "ConditionalSpecification$active": "

Determines whether a conditional branch is active. When active is false, the conditions are not evaluated.

", "DialogAction$suppressNextMessage": "

When true the next message for the intent is not used.

", "DialogCodeHookInvocationSetting$enableCodeHookInvocation": "

Indicates whether a Lambda function should be invoked for the dialog.

", @@ -577,6 +597,7 @@ "FulfillmentUpdatesSpecification$active": "

Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.

If the active field is set to true, the startResponse, updateResponse, and timeoutInSeconds fields are required.

", "IntentClosingSetting$active": "

Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.

", "IntentConfirmationSetting$active": "

Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true.

", + "PromptAttemptSpecification$allowInterrupt": "

Indicates whether the user can interrupt a speech prompt attempt from the bot.

", "PromptSpecification$allowInterrupt": "

Indicates whether the user can interrupt a speech prompt from the bot.

", "ResponseSpecification$allowInterrupt": "

Indicates whether the user can interrupt a speech response from Amazon Lex.

", "StillWaitingResponseSpecification$allowInterrupt": "

Indicates that the user can interrupt the response by speaking while the message is being played.

", @@ -983,6 +1004,19 @@ "DescribeCustomVocabularyMetadataResponse$customVocabularyStatus": "

The status of the custom vocabulary. If the status is Ready the custom vocabulary is ready to use.

" } }, + "DTMFCharacter": { + "base": null, + "refs": { + "DTMFSpecification$deletionCharacter": "

The DTMF character that clears the accumulated DTMF digits and immediately ends the input.

", + "DTMFSpecification$endCharacter": "

The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.

" + } + }, + "DTMFSpecification": { + "base": "

Specifies the DTMF input specifications.

", + "refs": { + "AudioAndDTMFInputSpecification$dtmfSpecification": "

Specifies the settings on DTMF input.

" + } + }, "DataPrivacy": { "base": "

By default, data stored by Amazon Lex is encrypted. The DataPrivacy structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.

", "refs": { @@ -2299,6 +2333,12 @@ "SearchAssociatedTranscriptsResponse$totalResults": "

The total number of transcripts returned by the search.

" } }, + "MaxUtteranceDigits": { + "base": null, + "refs": { + "DTMFSpecification$maxLength": "

The maximum number of DTMF digits allowed in an utterance.

" + } + }, "MergeStrategy": { "base": null, "refs": { @@ -2605,6 +2645,24 @@ "SlotPriority$priority": "

The priority that a slot should be elicited.

" } }, + "PromptAttempt": { + "base": "

The attempt name of attempts of a prompt.

", + "refs": { + "PromptAttemptsSpecificationMap$key": null + } + }, + "PromptAttemptSpecification": { + "base": "

Specifies the settings on a prompt attempt.

", + "refs": { + "PromptAttemptsSpecificationMap$value": null + } + }, + "PromptAttemptsSpecificationMap": { + "base": null, + "refs": { + "PromptSpecification$promptAttemptsSpecification": "

Specifies the advanced settings on each attempt of the prompt.

" + } + }, "PromptMaxRetries": { "base": null, "refs": { @@ -3291,6 +3349,12 @@ "TagMap$value": null } }, + "TextInputSpecification": { + "base": "

Specifies the text input specifications.

", + "refs": { + "PromptAttemptSpecification$textInputSpecification": "

Specifies the settings on text input.

" + } + }, "TextLogDestination": { "base": "

Defines the Amazon CloudWatch Logs destination log group for conversation text logs.

", "refs": { @@ -3320,6 +3384,16 @@ "RelativeAggregationDuration$timeDimension": "

The type of time period that the timeValue field represents.

" } }, + "TimeInMilliSeconds": { + "base": null, + "refs": { + "AudioAndDTMFInputSpecification$startTimeoutMs": "

Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.

", + "AudioSpecification$maxLengthMs": "

Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.

", + "AudioSpecification$endTimeoutMs": "

Time for which a bot waits after the customer stops speaking to assume the utterance is finished.

", + "DTMFSpecification$endTimeoutMs": "

How long the bot should wait after the last DTMF character input before assuming that the input has concluded.

", + "TextInputSpecification$startTimeoutMs": "

Time for which a bot waits before re-prompting a customer for text input.

" + } + }, "TimeValue": { "base": null, "refs": { diff --git a/models/apis/nimble/2020-08-01/api-2.json b/models/apis/nimble/2020-08-01/api-2.json index 6795ffcd13f..b4bc0c0b4a2 100644 --- a/models/apis/nimble/2020-08-01/api-2.json +++ b/models/apis/nimble/2020-08-01/api-2.json @@ -1961,7 +1961,9 @@ "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", "ENCRYPTION_KEY_ACCESS_DENIED", "ENCRYPTION_KEY_NOT_FOUND", - "INVALID_SUBNETS_PROVIDED" + "INVALID_SUBNETS_PROVIDED", + "INVALID_INSTANCE_TYPES_PROVIDED", + "INVALID_SUBNETS_COMBINATION" ] }, "LaunchProfileStudioComponentIdList":{ @@ -2729,7 +2731,14 @@ "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", - "g4dn.16xlarge" + "g4dn.16xlarge", + "g3.4xlarge", + "g3s.xlarge", + "g5.xlarge", + "g5.2xlarge", + "g5.4xlarge", + "g5.8xlarge", + "g5.16xlarge" ] }, "StreamingInstanceTypeList":{ diff --git a/models/apis/nimble/2020-08-01/docs-2.json b/models/apis/nimble/2020-08-01/docs-2.json index 5d3487062dc..7fa95fb5299 100644 --- a/models/apis/nimble/2020-08-01/docs-2.json +++ b/models/apis/nimble/2020-08-01/docs-2.json @@ -40,7 +40,7 @@ "PutLaunchProfileMembers": "

Add/update users with given persona to launch profile membership.

", "PutStudioMembers": "

Add/update users with given persona to studio membership.

", "StartStreamingSession": "

Transitions sessions from the STOPPED state into the READY state. The START_IN_PROGRESS state is the intermediate state between the STOPPED and READY states.

", - "StartStudioSSOConfigurationRepair": "

Repairs the Amazon Web Services SSO configuration for a given studio.

If the studio has a valid Amazon Web Services SSO configuration currently associated with it, this operation will fail with a validation error.

If the studio does not have a valid Amazon Web Services SSO configuration currently associated with it, then a new Amazon Web Services SSO application is created for the studio and the studio is changed to the READY state.

After the Amazon Web Services SSO application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.

", + "StartStudioSSOConfigurationRepair": "

Repairs the IAM Identity Center configuration for a given studio.

If the studio has a valid IAM Identity Center configuration currently associated with it, this operation will fail with a validation error.

If the studio does not have a valid IAM Identity Center configuration currently associated with it, then a new IAM Identity Center application is created for the studio and the studio is changed to the READY state.

After the IAM Identity Center application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.

", "StopStreamingSession": "

Transitions sessions from the READY state into the STOPPED state. The STOP_IN_PROGRESS state is the intermediate state between the READY and STOPPED states.

", "TagResource": "

Creates tags for a resource, given its ARN.

", "UntagResource": "

Deletes the tags for a resource.

", @@ -1176,7 +1176,7 @@ "String": { "base": null, "refs": { - "AcceptEulasRequest$studioId": "

A collection of EULA IDs.

", + "AcceptEulasRequest$studioId": "

The studio ID.

", "AccessDeniedException$code": "

A more specific error code.

", "AccessDeniedException$message": "

A human-readable description of the error.

", "ComputeFarmConfiguration$activeDirectoryUser": "

The name of an Active Directory user that is used on ComputeFarm worker instances.

", @@ -1191,7 +1191,7 @@ "CreateStreamingSessionStreamRequest$studioId": "

The studio ID.

", "CreateStudioComponentRequest$studioId": "

The studio ID.

", "DeleteLaunchProfileMemberRequest$launchProfileId": "

The Launch Profile ID.

", - "DeleteLaunchProfileMemberRequest$principalId": "

The principal ID. This currently supports a Amazon Web Services SSO UserId.

", + "DeleteLaunchProfileMemberRequest$principalId": "

The principal ID. This currently supports a IAM Identity Center UserId.

", "DeleteLaunchProfileMemberRequest$studioId": "

The studio ID.

", "DeleteLaunchProfileRequest$launchProfileId": "

The Launch Profile ID.

", "DeleteLaunchProfileRequest$studioId": "

The studio ID.

", @@ -1201,7 +1201,7 @@ "DeleteStreamingSessionRequest$studioId": "

The studio ID.

", "DeleteStudioComponentRequest$studioComponentId": "

The studio component ID.

", "DeleteStudioComponentRequest$studioId": "

The studio ID.

", - "DeleteStudioMemberRequest$principalId": "

The principal ID. This currently supports a Amazon Web Services SSO UserId.

", + "DeleteStudioMemberRequest$principalId": "

The principal ID. This currently supports a IAM Identity Center UserId.

", "DeleteStudioMemberRequest$studioId": "

The studio ID.

", "DeleteStudioRequest$studioId": "

The studio ID.

", "Eula$content": "

The EULA content.

", @@ -1218,7 +1218,7 @@ "GetLaunchProfileInitializationRequest$platform": "

The platform where this Launch Profile will be used, either WINDOWS or LINUX.

", "GetLaunchProfileInitializationRequest$studioId": "

The studio ID.

", "GetLaunchProfileMemberRequest$launchProfileId": "

The Launch Profile ID.

", - "GetLaunchProfileMemberRequest$principalId": "

The principal ID. This currently supports a Amazon Web Services SSO UserId.

", + "GetLaunchProfileMemberRequest$principalId": "

The principal ID. This currently supports a IAM Identity Center UserId.

", "GetLaunchProfileMemberRequest$studioId": "

The studio ID.

", "GetLaunchProfileRequest$launchProfileId": "

The Launch Profile ID.

", "GetLaunchProfileRequest$studioId": "

The studio ID.

", @@ -1231,7 +1231,7 @@ "GetStreamingSessionStreamRequest$studioId": "

The studio ID.

", "GetStudioComponentRequest$studioComponentId": "

The studio component ID.

", "GetStudioComponentRequest$studioId": "

The studio ID.

", - "GetStudioMemberRequest$principalId": "

The principal ID. This currently supports a Amazon Web Services SSO UserId.

", + "GetStudioMemberRequest$principalId": "

The principal ID. This currently supports a IAM Identity Center UserId.

", "GetStudioMemberRequest$studioId": "

The studio ID.

", "GetStudioRequest$studioId": "

The studio ID.

", "InternalServerErrorException$code": "

A more specific error code.

", @@ -1255,7 +1255,7 @@ "ListLaunchProfileMembersRequest$studioId": "

The studio ID.

", "ListLaunchProfileMembersResponse$nextToken": "

The token for the next set of results, or null if there are no more results.

", "ListLaunchProfilesRequest$nextToken": "

The token to request the next page of results.

", - "ListLaunchProfilesRequest$principalId": "

The principal ID. This currently supports a Amazon Web Services SSO UserId.

", + "ListLaunchProfilesRequest$principalId": "

The principal ID. This currently supports a IAM Identity Center UserId.

", "ListLaunchProfilesRequest$studioId": "

The studio ID.

", "ListLaunchProfilesResponse$nextToken": "

The token for the next set of results, or null if there are no more results.

", "ListStreamingImagesRequest$nextToken": "

The token to request the next page of results.

", @@ -1310,7 +1310,7 @@ "StreamingSessionStream$streamId": "

The stream ID.

", "StringList$member": null, "Studio$arn": "

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

", - "Studio$ssoClientId": "

The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

", + "Studio$ssoClientId": "

The IAM Identity Center application client ID used to integrate with IAM Identity Center to enable IAM Identity Center users to log in to Nimble Studio portal.

", "Studio$statusMessage": "

Additional detail on the studio state.

", "Studio$studioId": "

The unique identifier for a studio resource. In Nimble Studio, all other resources are contained in a studio resource.

", "Studio$studioUrl": "

The address of the web page for the studio.

", @@ -1330,7 +1330,7 @@ "ThrottlingException$message": "

A human-readable description of the error.

", "UntagResourceRequest$resourceArn": "

Identifies the Amazon Resource Name(ARN) key from which you are removing tags.

", "UpdateLaunchProfileMemberRequest$launchProfileId": "

The Launch Profile ID.

", - "UpdateLaunchProfileMemberRequest$principalId": "

The principal ID. This currently supports a Amazon Web Services SSO UserId.

", + "UpdateLaunchProfileMemberRequest$principalId": "

The principal ID. This currently supports a IAM Identity Center UserId.

", "UpdateLaunchProfileMemberRequest$studioId": "

The studio ID.

", "UpdateLaunchProfileRequest$launchProfileId": "

The Launch Profile ID.

", "UpdateLaunchProfileRequest$studioId": "

The studio ID.

", @@ -1353,7 +1353,7 @@ } }, "Studio": { - "base": "

Represents a studio resource.

A studio is the core resource used with Nimble Studio. You must create a studio first, before any other resource type can be created. All other resources you create and manage in Nimble Studio are contained within a studio.

When creating a studio, you must provides two IAM roles for use with the Nimble Studio portal. These roles are assumed by your users when they log in to the Nimble Studio portal via Amazon Web Services SSO and your identity source.

The user role must have the AmazonNimbleStudio-StudioUser managed policy attached for the portal to function properly.

The admin role must have the AmazonNimbleStudio-StudioAdmin managed policy attached for the portal to function properly.

Your studio roles must trust the identity.nimble.amazonaws.com service principal to function properly.

", + "base": "

Represents a studio resource.

A studio is the core resource used with Nimble Studio. You must create a studio first, before any other resource type can be created. All other resources you create and manage in Nimble Studio are contained within a studio.

When creating a studio, you must provides two IAM roles for use with the Nimble Studio portal. These roles are assumed by your users when they log in to the Nimble Studio portal via IAM Identity Center and your identity source.

The user role must have the AmazonNimbleStudio-StudioUser managed policy attached for the portal to function properly.

The admin role must have the AmazonNimbleStudio-StudioAdmin managed policy attached for the portal to function properly.

Your studio roles must trust the identity.nimble.amazonaws.com service principal to function properly.

", "refs": { "CreateStudioResponse$studio": "

Information about a studio.

", "DeleteStudioResponse$studio": "

Information about a studio.

", @@ -1549,7 +1549,7 @@ } }, "StudioMembership": { - "base": "

A studio member is an association of a user from your studio identity source to elevated permissions that they are granted in the studio.

When you add a user to your studio using the Nimble Studio console, they are given access to the studio's AWS SSO application and are given access to log in to the Nimble Studio portal. These users have the permissions provided by the studio's user IAM role and do not appear in the studio membership collection. Only studio admins appear in studio membership.

When you add a user to studio membership with the persona ADMIN, upon logging in to the Nimble Studio portal, they are granted permissions specified by the Studio's Admin IAM role.

", + "base": "

A studio member is an association of a user from your studio identity source to elevated permissions that they are granted in the studio.

When you add a user to your studio using the Nimble Studio console, they are given access to the studio's IAM Identity Center application and are given access to log in to the Nimble Studio portal. These users have the permissions provided by the studio's user IAM role and do not appear in the studio membership collection. Only studio admins appear in studio membership.

When you add a user to studio membership with the persona ADMIN, upon logging in to the Nimble Studio portal, they are granted permissions specified by the Studio's Admin IAM role.

", "refs": { "GetStudioMemberResponse$member": "

The member.

", "StudioMembershipList$member": null diff --git a/models/apis/nimble/2020-08-01/waiters-2.json b/models/apis/nimble/2020-08-01/waiters-2.json index 7ad4ad9b279..2c37a115b40 100644 --- a/models/apis/nimble/2020-08-01/waiters-2.json +++ b/models/apis/nimble/2020-08-01/waiters-2.json @@ -80,7 +80,7 @@ } ] }, "StreamingSessionDeleted" : { - "description" : "Wait until a StreamingSessionDeleted. Use this after invoking Deletesession", + "description" : "Wait until a StreamingSessionDeleted. Use this after invoking DeleteStreamingSession", "delay" : 5, "maxAttempts" : 180, "operation" : "GetStreamingSession", diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index 30e7fbe0a20..dca15532941 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -4778,7 +4778,9 @@ "ChangeCalendar", "Automation.ChangeTemplate", "ProblemAnalysis", - "ProblemAnalysisTemplate" + "ProblemAnalysisTemplate", + "CloudFormation", + "ConformancePackTemplate" ] }, "DocumentVersion":{ diff --git a/models/apis/wafv2/2019-07-29/docs-2.json b/models/apis/wafv2/2019-07-29/docs-2.json index 0e762cb4998..19735ba1cad 100755 --- a/models/apis/wafv2/2019-07-29/docs-2.json +++ b/models/apis/wafv2/2019-07-29/docs-2.json @@ -230,7 +230,7 @@ "base": "

Specifies that WAF should count the request. Optionally defines additional custom handling for the request.

This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

", "refs": { "OverrideAction$Count": "

Override the rule group evaluation result to count only.

This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.

", - "RuleAction$Count": "

Instructs WAF to count the web request and allow it.

" + "RuleAction$Count": "

Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.

" } }, "Country": { @@ -348,7 +348,7 @@ } }, "DefaultAction": { - "base": "

In a WebACL, this is the action that you want WAF to perform when a web request doesn't match any of the rules in the WebACL. The default action must be a terminating action, so you can't use count.

", + "base": "

In a WebACL, this is the action that you want WAF to perform when a web request doesn't match any of the rules in the WebACL. The default action must be a terminating action.

", "refs": { "CreateWebACLRequest$DefaultAction": "

The action to perform if none of the Rules contained in the WebACL match.

", "UpdateWebACLRequest$DefaultAction": "

The action to perform if none of the Rules contained in the WebACL match.

", @@ -905,10 +905,10 @@ "IPAddresses": { "base": null, "refs": { - "CreateIPSetRequest$Addresses": "

Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Example address strings:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Example JSON Addresses specifications:

", - "IPSet$Addresses": "

Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Example address strings:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Example JSON Addresses specifications:

", + "CreateIPSetRequest$Addresses": "

Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Example address strings:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Example JSON Addresses specifications:

", + "IPSet$Addresses": "

Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Example address strings:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Example JSON Addresses specifications:

", "RateBasedStatementManagedKeysIPSet$Addresses": "

The IP addresses that are currently blocked.

", - "UpdateIPSetRequest$Addresses": "

Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Example address strings:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Example JSON Addresses specifications:

" + "UpdateIPSetRequest$Addresses": "

Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Example address strings:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Example JSON Addresses specifications:

" } }, "IPSet": { @@ -1244,10 +1244,10 @@ } }, "ManagedRuleGroupStatement": { - "base": "

A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.

You cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

", + "base": "

A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.

You cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

You are charged additional fees when you use the WAF Bot Control managed rule group AWSManagedRulesBotControlRuleSet or the WAF Fraud Control account takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet. For more information, see WAF Pricing.

", "refs": { - "FirewallManagerStatement$ManagedRuleGroupStatement": "

A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.

You cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

", - "Statement$ManagedRuleGroupStatement": "

A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.

You cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

" + "FirewallManagerStatement$ManagedRuleGroupStatement": "

A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.

You cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

You are charged additional fees when you use the WAF Bot Control managed rule group AWSManagedRulesBotControlRuleSet or the WAF Fraud Control account takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet. For more information, see WAF Pricing.

", + "Statement$ManagedRuleGroupStatement": "

A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.

You cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

You are charged additional fees when you use the WAF Bot Control managed rule group AWSManagedRulesBotControlRuleSet or the WAF Fraud Control account takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet. For more information, see WAF Pricing.

" } }, "ManagedRuleGroupSummaries": { @@ -1648,7 +1648,7 @@ "ResourceType": { "base": null, "refs": { - "ListResourcesForWebACLRequest$ResourceType": "

Used for web ACLs that are scoped for regional applications. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool.

" + "ListResourcesForWebACLRequest$ResourceType": "

Used for web ACLs that are scoped for regional applications. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool.

If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

Default: APPLICATION_LOAD_BALANCER

" } }, "ResponseCode": { @@ -2177,7 +2177,7 @@ } }, "WAFNonexistentItemException": { - "base": "

WAF couldn’t perform the operation because your resource doesn’t exist.

", + "base": "

WAF couldn’t perform the operation because your resource doesn't exist. If you've just created a resource that you're using in this operation, you might just need to wait a few minutes. It can take from a few seconds to a number of minutes for changes to propagate.

", "refs": { } }, @@ -2207,7 +2207,7 @@ } }, "WAFUnavailableEntityException": { - "base": "

WAF couldn’t retrieve a resource that you specified for this operation. Verify the resources that you are specifying in your request parameters and then retry the operation.

", + "base": "

WAF couldn’t retrieve a resource that you specified for this operation. If you've just created a resource that you're using in this operation, you might just need to wait a few minutes. It can take from a few seconds to a number of minutes for changes to propagate. Verify the resources that you are specifying in your request parameters and then retry the operation.

", "refs": { } }, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index ddf358455b5..e49196f1558 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -5501,6 +5501,8 @@ "emr-serverless" : { "endpoints" : { "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, "ap-southeast-1" : { }, "eu-central-1" : { }, "eu-west-1" : { }, @@ -5525,6 +5527,7 @@ "deprecated" : true, "hostname" : "emr-serverless-fips.us-west-2.amazonaws.com" }, + "sa-east-1" : { }, "us-east-1" : { "variants" : [ { "hostname" : "emr-serverless-fips.us-east-1.amazonaws.com", @@ -7481,6 +7484,10 @@ }, "ivschat" : { "endpoints" : { + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, + "eu-central-1" : { }, "eu-west-1" : { }, "us-east-1" : { }, "us-west-2" : { } diff --git a/service/apprunner/api.go b/service/apprunner/api.go index d1d5ae23ae8..97d0e9d6536 100644 --- a/service/apprunner/api.go +++ b/service/apprunner/api.go @@ -9498,6 +9498,9 @@ const ( // RuntimeCorretto11 is a Runtime enum value RuntimeCorretto11 = "CORRETTO_11" + + // RuntimeNodejs16 is a Runtime enum value + RuntimeNodejs16 = "NODEJS_16" ) // Runtime_Values returns all elements of the Runtime enum @@ -9508,6 +9511,7 @@ func Runtime_Values() []string { RuntimeNodejs14, RuntimeCorretto8, RuntimeCorretto11, + RuntimeNodejs16, } } diff --git a/service/ec2/api.go b/service/ec2/api.go index d26bcc02031..e0332c684bd 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -107861,6 +107861,10 @@ type FleetLaunchTemplateOverrides struct { // The Availability Zone in which to launch the instances. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + // The ID of the AMI. An AMI is required to launch an instance. The AMI ID must + // be specified here or in the launch template. + ImageId *string `locationName:"imageId" type:"string"` + // The attributes for the instance types. When you specify instance attributes, // Amazon EC2 will identify instance types with those attributes. // @@ -107932,6 +107936,12 @@ func (s *FleetLaunchTemplateOverrides) SetAvailabilityZone(v string) *FleetLaunc return s } +// SetImageId sets the ImageId field's value. +func (s *FleetLaunchTemplateOverrides) SetImageId(v string) *FleetLaunchTemplateOverrides { + s.ImageId = &v + return s +} + // SetInstanceRequirements sets the InstanceRequirements field's value. func (s *FleetLaunchTemplateOverrides) SetInstanceRequirements(v *InstanceRequirements) *FleetLaunchTemplateOverrides { s.InstanceRequirements = v @@ -107981,6 +107991,10 @@ type FleetLaunchTemplateOverridesRequest struct { // The Availability Zone in which to launch the instances. AvailabilityZone *string `type:"string"` + // The ID of the AMI. An AMI is required to launch an instance. The AMI ID must + // be specified here or in the launch template. + ImageId *string `type:"string"` + // The attributes for the instance types. When you specify instance attributes, // Amazon EC2 will identify instance types with those attributes. // @@ -108069,6 +108083,12 @@ func (s *FleetLaunchTemplateOverridesRequest) SetAvailabilityZone(v string) *Fle return s } +// SetImageId sets the ImageId field's value. +func (s *FleetLaunchTemplateOverridesRequest) SetImageId(v string) *FleetLaunchTemplateOverridesRequest { + s.ImageId = &v + return s +} + // SetInstanceRequirements sets the InstanceRequirements field's value. func (s *FleetLaunchTemplateOverridesRequest) SetInstanceRequirements(v *InstanceRequirementsRequest) *FleetLaunchTemplateOverridesRequest { s.InstanceRequirements = v diff --git a/service/lexmodelsv2/api.go b/service/lexmodelsv2/api.go index 076e6622300..3e1f3132d21 100644 --- a/service/lexmodelsv2/api.go +++ b/service/lexmodelsv2/api.go @@ -7552,6 +7552,67 @@ func (s *AggregatedUtterancesSummary) SetUtteranceLastRecordedInAggregationDurat return s } +// Specifies the allowed input types. +type AllowedInputTypes struct { + _ struct{} `type:"structure"` + + // Indicates whether audio input is allowed. + // + // AllowAudioInput is a required field + AllowAudioInput *bool `locationName:"allowAudioInput" type:"boolean" required:"true"` + + // Indicates whether DTMF input is allowed. + // + // AllowDTMFInput is a required field + AllowDTMFInput *bool `locationName:"allowDTMFInput" type:"boolean" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowedInputTypes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowedInputTypes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AllowedInputTypes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AllowedInputTypes"} + if s.AllowAudioInput == nil { + invalidParams.Add(request.NewErrParamRequired("AllowAudioInput")) + } + if s.AllowDTMFInput == nil { + invalidParams.Add(request.NewErrParamRequired("AllowDTMFInput")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowAudioInput sets the AllowAudioInput field's value. +func (s *AllowedInputTypes) SetAllowAudioInput(v bool) *AllowedInputTypes { + s.AllowAudioInput = &v + return s +} + +// SetAllowDTMFInput sets the AllowDTMFInput field's value. +func (s *AllowedInputTypes) SetAllowDTMFInput(v bool) *AllowedInputTypes { + s.AllowDTMFInput = &v + return s +} + // The object containing information that associates the recommended intent/slot // type with a conversation. type AssociatedTranscript struct { @@ -7651,6 +7712,85 @@ func (s *AssociatedTranscriptFilter) SetValues(v []*string) *AssociatedTranscrip return s } +// Specifies the audio and DTMF input specification. +type AudioAndDTMFInputSpecification struct { + _ struct{} `type:"structure"` + + // Specifies the settings on audio input. + AudioSpecification *AudioSpecification `locationName:"audioSpecification" type:"structure"` + + // Specifies the settings on DTMF input. + DtmfSpecification *DTMFSpecification `locationName:"dtmfSpecification" type:"structure"` + + // Time for which a bot waits before assuming that the customer isn't going + // to speak or press a key. This timeout is shared between Audio and DTMF inputs. + // + // StartTimeoutMs is a required field + StartTimeoutMs *int64 `locationName:"startTimeoutMs" min:"1" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioAndDTMFInputSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioAndDTMFInputSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioAndDTMFInputSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioAndDTMFInputSpecification"} + if s.StartTimeoutMs == nil { + invalidParams.Add(request.NewErrParamRequired("StartTimeoutMs")) + } + if s.StartTimeoutMs != nil && *s.StartTimeoutMs < 1 { + invalidParams.Add(request.NewErrParamMinValue("StartTimeoutMs", 1)) + } + if s.AudioSpecification != nil { + if err := s.AudioSpecification.Validate(); err != nil { + invalidParams.AddNested("AudioSpecification", err.(request.ErrInvalidParams)) + } + } + if s.DtmfSpecification != nil { + if err := s.DtmfSpecification.Validate(); err != nil { + invalidParams.AddNested("DtmfSpecification", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAudioSpecification sets the AudioSpecification field's value. +func (s *AudioAndDTMFInputSpecification) SetAudioSpecification(v *AudioSpecification) *AudioAndDTMFInputSpecification { + s.AudioSpecification = v + return s +} + +// SetDtmfSpecification sets the DtmfSpecification field's value. +func (s *AudioAndDTMFInputSpecification) SetDtmfSpecification(v *DTMFSpecification) *AudioAndDTMFInputSpecification { + s.DtmfSpecification = v + return s +} + +// SetStartTimeoutMs sets the StartTimeoutMs field's value. +func (s *AudioAndDTMFInputSpecification) SetStartTimeoutMs(v int64) *AudioAndDTMFInputSpecification { + s.StartTimeoutMs = &v + return s +} + // The location of audio log files collected when conversation logging is enabled // for a bot. type AudioLogDestination struct { @@ -7775,6 +7915,75 @@ func (s *AudioLogSetting) SetEnabled(v bool) *AudioLogSetting { return s } +// Specifies the audio input specifications. +type AudioSpecification struct { + _ struct{} `type:"structure"` + + // Time for which a bot waits after the customer stops speaking to assume the + // utterance is finished. + // + // EndTimeoutMs is a required field + EndTimeoutMs *int64 `locationName:"endTimeoutMs" min:"1" type:"integer" required:"true"` + + // Time for how long Amazon Lex waits before speech input is truncated and the + // speech is returned to application. + // + // MaxLengthMs is a required field + MaxLengthMs *int64 `locationName:"maxLengthMs" min:"1" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioSpecification"} + if s.EndTimeoutMs == nil { + invalidParams.Add(request.NewErrParamRequired("EndTimeoutMs")) + } + if s.EndTimeoutMs != nil && *s.EndTimeoutMs < 1 { + invalidParams.Add(request.NewErrParamMinValue("EndTimeoutMs", 1)) + } + if s.MaxLengthMs == nil { + invalidParams.Add(request.NewErrParamRequired("MaxLengthMs")) + } + if s.MaxLengthMs != nil && *s.MaxLengthMs < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxLengthMs", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndTimeoutMs sets the EndTimeoutMs field's value. +func (s *AudioSpecification) SetEndTimeoutMs(v int64) *AudioSpecification { + s.EndTimeoutMs = &v + return s +} + +// SetMaxLengthMs sets the MaxLengthMs field's value. +func (s *AudioSpecification) SetMaxLengthMs(v int64) *AudioSpecification { + s.MaxLengthMs = &v + return s +} + // Provides a record of an event that affects a bot alias. For example, when // the version of a bot that the alias points to changes. type BotAliasHistoryEvent struct { @@ -13109,6 +13318,104 @@ func (s *CustomVocabularyImportSpecification) SetLocaleId(v string) *CustomVocab return s } +// Specifies the DTMF input specifications. +type DTMFSpecification struct { + _ struct{} `type:"structure"` + + // The DTMF character that clears the accumulated DTMF digits and immediately + // ends the input. + // + // DeletionCharacter is a required field + DeletionCharacter *string `locationName:"deletionCharacter" type:"string" required:"true"` + + // The DTMF character that immediately ends input. If the user does not press + // this character, the input ends after the end timeout. + // + // EndCharacter is a required field + EndCharacter *string `locationName:"endCharacter" type:"string" required:"true"` + + // How long the bot should wait after the last DTMF character input before assuming + // that the input has concluded. + // + // EndTimeoutMs is a required field + EndTimeoutMs *int64 `locationName:"endTimeoutMs" min:"1" type:"integer" required:"true"` + + // The maximum number of DTMF digits allowed in an utterance. + // + // MaxLength is a required field + MaxLength *int64 `locationName:"maxLength" min:"1" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DTMFSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DTMFSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DTMFSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DTMFSpecification"} + if s.DeletionCharacter == nil { + invalidParams.Add(request.NewErrParamRequired("DeletionCharacter")) + } + if s.EndCharacter == nil { + invalidParams.Add(request.NewErrParamRequired("EndCharacter")) + } + if s.EndTimeoutMs == nil { + invalidParams.Add(request.NewErrParamRequired("EndTimeoutMs")) + } + if s.EndTimeoutMs != nil && *s.EndTimeoutMs < 1 { + invalidParams.Add(request.NewErrParamMinValue("EndTimeoutMs", 1)) + } + if s.MaxLength == nil { + invalidParams.Add(request.NewErrParamRequired("MaxLength")) + } + if s.MaxLength != nil && *s.MaxLength < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxLength", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeletionCharacter sets the DeletionCharacter field's value. +func (s *DTMFSpecification) SetDeletionCharacter(v string) *DTMFSpecification { + s.DeletionCharacter = &v + return s +} + +// SetEndCharacter sets the EndCharacter field's value. +func (s *DTMFSpecification) SetEndCharacter(v string) *DTMFSpecification { + s.EndCharacter = &v + return s +} + +// SetEndTimeoutMs sets the EndTimeoutMs field's value. +func (s *DTMFSpecification) SetEndTimeoutMs(v int64) *DTMFSpecification { + s.EndTimeoutMs = &v + return s +} + +// SetMaxLength sets the MaxLength field's value. +func (s *DTMFSpecification) SetMaxLength(v int64) *DTMFSpecification { + s.MaxLength = &v + return s +} + // By default, data stored by Amazon Lex is encrypted. The DataPrivacy structure // provides settings that determine how Amazon Lex handles special cases of // securing the data for your bot. @@ -23705,6 +24012,96 @@ func (s *Principal) SetService(v string) *Principal { return s } +// Specifies the settings on a prompt attempt. +type PromptAttemptSpecification struct { + _ struct{} `type:"structure"` + + // Indicates whether the user can interrupt a speech prompt attempt from the + // bot. + AllowInterrupt *bool `locationName:"allowInterrupt" type:"boolean"` + + // Indicates the allowed input types of the prompt attempt. + // + // AllowedInputTypes is a required field + AllowedInputTypes *AllowedInputTypes `locationName:"allowedInputTypes" type:"structure" required:"true"` + + // Specifies the settings on audio and DTMF input. + AudioAndDTMFInputSpecification *AudioAndDTMFInputSpecification `locationName:"audioAndDTMFInputSpecification" type:"structure"` + + // Specifies the settings on text input. + TextInputSpecification *TextInputSpecification `locationName:"textInputSpecification" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PromptAttemptSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PromptAttemptSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PromptAttemptSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PromptAttemptSpecification"} + if s.AllowedInputTypes == nil { + invalidParams.Add(request.NewErrParamRequired("AllowedInputTypes")) + } + if s.AllowedInputTypes != nil { + if err := s.AllowedInputTypes.Validate(); err != nil { + invalidParams.AddNested("AllowedInputTypes", err.(request.ErrInvalidParams)) + } + } + if s.AudioAndDTMFInputSpecification != nil { + if err := s.AudioAndDTMFInputSpecification.Validate(); err != nil { + invalidParams.AddNested("AudioAndDTMFInputSpecification", err.(request.ErrInvalidParams)) + } + } + if s.TextInputSpecification != nil { + if err := s.TextInputSpecification.Validate(); err != nil { + invalidParams.AddNested("TextInputSpecification", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowInterrupt sets the AllowInterrupt field's value. +func (s *PromptAttemptSpecification) SetAllowInterrupt(v bool) *PromptAttemptSpecification { + s.AllowInterrupt = &v + return s +} + +// SetAllowedInputTypes sets the AllowedInputTypes field's value. +func (s *PromptAttemptSpecification) SetAllowedInputTypes(v *AllowedInputTypes) *PromptAttemptSpecification { + s.AllowedInputTypes = v + return s +} + +// SetAudioAndDTMFInputSpecification sets the AudioAndDTMFInputSpecification field's value. +func (s *PromptAttemptSpecification) SetAudioAndDTMFInputSpecification(v *AudioAndDTMFInputSpecification) *PromptAttemptSpecification { + s.AudioAndDTMFInputSpecification = v + return s +} + +// SetTextInputSpecification sets the TextInputSpecification field's value. +func (s *PromptAttemptSpecification) SetTextInputSpecification(v *TextInputSpecification) *PromptAttemptSpecification { + s.TextInputSpecification = v + return s +} + // Specifies a list of message groups that Amazon Lex sends to a user to elicit // a response. type PromptSpecification struct { @@ -23727,6 +24124,9 @@ type PromptSpecification struct { // Indicates how a message is selected from a message group among retries. MessageSelectionStrategy *string `locationName:"messageSelectionStrategy" type:"string" enum:"MessageSelectionStrategy"` + + // Specifies the advanced settings on each attempt of the prompt. + PromptAttemptsSpecification map[string]*PromptAttemptSpecification `locationName:"promptAttemptsSpecification" type:"map"` } // String returns the string representation. @@ -23769,6 +24169,16 @@ func (s *PromptSpecification) Validate() error { } } } + if s.PromptAttemptsSpecification != nil { + for i, v := range s.PromptAttemptsSpecification { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PromptAttemptsSpecification", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -23800,6 +24210,12 @@ func (s *PromptSpecification) SetMessageSelectionStrategy(v string) *PromptSpeci return s } +// SetPromptAttemptsSpecification sets the PromptAttemptsSpecification field's value. +func (s *PromptSpecification) SetPromptAttemptsSpecification(v map[string]*PromptAttemptSpecification) *PromptSpecification { + s.PromptAttemptsSpecification = v + return s +} + // An object that contains a summary of a recommended intent. type RecommendedIntentSummary struct { _ struct{} `type:"structure"` @@ -27158,6 +27574,56 @@ func (s TagResourceOutput) GoString() string { return s.String() } +// Specifies the text input specifications. +type TextInputSpecification struct { + _ struct{} `type:"structure"` + + // Time for which a bot waits before re-prompting a customer for text input. + // + // StartTimeoutMs is a required field + StartTimeoutMs *int64 `locationName:"startTimeoutMs" min:"1" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TextInputSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TextInputSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TextInputSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TextInputSpecification"} + if s.StartTimeoutMs == nil { + invalidParams.Add(request.NewErrParamRequired("StartTimeoutMs")) + } + if s.StartTimeoutMs != nil && *s.StartTimeoutMs < 1 { + invalidParams.Add(request.NewErrParamMinValue("StartTimeoutMs", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStartTimeoutMs sets the StartTimeoutMs field's value. +func (s *TextInputSpecification) SetStartTimeoutMs(v int64) *TextInputSpecification { + s.StartTimeoutMs = &v + return s +} + // Defines the Amazon CloudWatch Logs destination log group for conversation // text logs. type TextLogDestination struct { @@ -31007,6 +31473,39 @@ func ObfuscationSettingType_Values() []string { } } +// The attempt name of attempts of a prompt. +const ( + // PromptAttemptInitial is a PromptAttempt enum value + PromptAttemptInitial = "Initial" + + // PromptAttemptRetry1 is a PromptAttempt enum value + PromptAttemptRetry1 = "Retry1" + + // PromptAttemptRetry2 is a PromptAttempt enum value + PromptAttemptRetry2 = "Retry2" + + // PromptAttemptRetry3 is a PromptAttempt enum value + PromptAttemptRetry3 = "Retry3" + + // PromptAttemptRetry4 is a PromptAttempt enum value + PromptAttemptRetry4 = "Retry4" + + // PromptAttemptRetry5 is a PromptAttempt enum value + PromptAttemptRetry5 = "Retry5" +) + +// PromptAttempt_Values returns all elements of the PromptAttempt enum +func PromptAttempt_Values() []string { + return []string{ + PromptAttemptInitial, + PromptAttemptRetry1, + PromptAttemptRetry2, + PromptAttemptRetry3, + PromptAttemptRetry4, + PromptAttemptRetry5, + } +} + const ( // SearchOrderAscending is a SearchOrder enum value SearchOrderAscending = "Ascending" diff --git a/service/lightsail/api.go b/service/lightsail/api.go index 884ce493689..c4d38ebd91a 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -16119,6 +16119,116 @@ func (c *Lightsail) UpdateDomainEntryWithContext(ctx aws.Context, input *UpdateD return out, req.Send() } +const opUpdateInstanceMetadataOptions = "UpdateInstanceMetadataOptions" + +// UpdateInstanceMetadataOptionsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateInstanceMetadataOptions operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateInstanceMetadataOptions for more information on using the UpdateInstanceMetadataOptions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateInstanceMetadataOptionsRequest method. +// req, resp := client.UpdateInstanceMetadataOptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateInstanceMetadataOptions +func (c *Lightsail) UpdateInstanceMetadataOptionsRequest(input *UpdateInstanceMetadataOptionsInput) (req *request.Request, output *UpdateInstanceMetadataOptionsOutput) { + op := &request.Operation{ + Name: opUpdateInstanceMetadataOptions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateInstanceMetadataOptionsInput{} + } + + output = &UpdateInstanceMetadataOptionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateInstanceMetadataOptions API operation for Amazon Lightsail. +// +// Modifies the Amazon Lightsail instance metadata parameters on a running or +// stopped instance. When you modify the parameters on a running instance, the +// GetInstance or GetInstances API operation initially responds with a state +// of pending. After the parameter modifications are successfully applied, the +// state changes to applied in subsequent GetInstance or GetInstances API calls. +// For more information, see Use IMDSv2 with an Amazon Lightsail instance (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-instance-metadata-service) +// in the Amazon Lightsail Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lightsail's +// API operation UpdateInstanceMetadataOptions for usage and error information. +// +// Returned Error Types: +// +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. +// +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. +// +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. +// +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. +// +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateInstanceMetadataOptions +func (c *Lightsail) UpdateInstanceMetadataOptions(input *UpdateInstanceMetadataOptionsInput) (*UpdateInstanceMetadataOptionsOutput, error) { + req, out := c.UpdateInstanceMetadataOptionsRequest(input) + return out, req.Send() +} + +// UpdateInstanceMetadataOptionsWithContext is the same as UpdateInstanceMetadataOptions with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateInstanceMetadataOptions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lightsail) UpdateInstanceMetadataOptionsWithContext(ctx aws.Context, input *UpdateInstanceMetadataOptionsInput, opts ...request.Option) (*UpdateInstanceMetadataOptionsOutput, error) { + req, out := c.UpdateInstanceMetadataOptionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateLoadBalancerAttribute = "UpdateLoadBalancerAttribute" // UpdateLoadBalancerAttributeRequest generates a "aws/request.Request" representing the @@ -31271,6 +31381,14 @@ type GetInstanceMetricDataInput struct { // This metric data is available in 1-minute (60 seconds) granularity. Statistics: // The most useful statistic is Sum. Unit: The published unit is Count. // + // * MetadataNoToken - Reports the number of times that the instance metadata + // service was successfully accessed without a token. This metric determines + // if there are any processes accessing instance metadata by using Instance + // Metadata Service Version 1, which doesn't use a token. If all requests + // use token-backed sessions, such as Instance Metadata Service Version 2, + // then the value is 0. Statistics: The most useful statistic is Sum. Unit: + // The published unit is Count. + // // MetricName is a required field MetricName *string `locationName:"metricName" type:"string" required:"true" enum:"InstanceMetricName"` @@ -34810,6 +34928,9 @@ type Instance struct { // The region name and Availability Zone where the instance is located. Location *ResourceLocation `locationName:"location" type:"structure"` + // The metadata options for the Amazon Lightsail instance. + MetadataOptions *InstanceMetadataOptions `locationName:"metadataOptions" type:"structure"` + // The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1). Name *string `locationName:"name" type:"string"` @@ -34929,6 +35050,12 @@ func (s *Instance) SetLocation(v *ResourceLocation) *Instance { return s } +// SetMetadataOptions sets the MetadataOptions field's value. +func (s *Instance) SetMetadataOptions(v *InstanceMetadataOptions) *Instance { + s.MetadataOptions = v + return s +} + // SetName sets the Name field's value. func (s *Instance) SetName(v string) *Instance { s.Name = &v @@ -35401,6 +35528,104 @@ func (s *InstanceHealthSummary) SetInstanceName(v string) *InstanceHealthSummary return s } +// The metadata options for the instance. +type InstanceMetadataOptions struct { + _ struct{} `type:"structure"` + + // Indicates whether the HTTP metadata endpoint on your instances is enabled + // or disabled. + // + // If the value is disabled, you cannot access your instance metadata. + HttpEndpoint *string `locationName:"httpEndpoint" type:"string" enum:"HttpEndpoint"` + + // Indicates whether the IPv6 endpoint for the instance metadata service is + // enabled or disabled. + HttpProtocolIpv6 *string `locationName:"httpProtocolIpv6" type:"string" enum:"HttpProtocolIpv6"` + + // The desired HTTP PUT response hop limit for instance metadata requests. A + // larger number means that the instance metadata requests can travel farther. + HttpPutResponseHopLimit *int64 `locationName:"httpPutResponseHopLimit" type:"integer"` + + // The state of token usage for your instance metadata requests. + // + // If the state is optional, you can choose whether to retrieve instance metadata + // with a signed token header on your request. If you retrieve the IAM role + // credentials without a token, the version 1.0 role credentials are returned. + // If you retrieve the IAM role credentials by using a valid signed token, the + // version 2.0 role credentials are returned. + // + // If the state is required, you must send a signed token header with all instance + // metadata retrieval requests. In this state, retrieving the IAM role credential + // always returns the version 2.0 credentials. The version 1.0 credentials are + // not available. + // + // Not all instance blueprints in Lightsail support version 2.0 credentials. + // Use the MetadataNoToken instance metric to track the number of calls to the + // instance metadata service that are using version 1.0 credentials. For more + // information, see Viewing instance metrics in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-health-metrics) + // in the Amazon Lightsail Developer Guide. + HttpTokens *string `locationName:"httpTokens" type:"string" enum:"HttpTokens"` + + // The state of the metadata option changes. + // + // The following states are possible: + // + // * pending - The metadata options are being updated. The instance is not + // yet ready to process metadata traffic with the new selection. + // + // * applied - The metadata options have been successfully applied to the + // instance. + State *string `locationName:"state" type:"string" enum:"InstanceMetadataState"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InstanceMetadataOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InstanceMetadataOptions) GoString() string { + return s.String() +} + +// SetHttpEndpoint sets the HttpEndpoint field's value. +func (s *InstanceMetadataOptions) SetHttpEndpoint(v string) *InstanceMetadataOptions { + s.HttpEndpoint = &v + return s +} + +// SetHttpProtocolIpv6 sets the HttpProtocolIpv6 field's value. +func (s *InstanceMetadataOptions) SetHttpProtocolIpv6(v string) *InstanceMetadataOptions { + s.HttpProtocolIpv6 = &v + return s +} + +// SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value. +func (s *InstanceMetadataOptions) SetHttpPutResponseHopLimit(v int64) *InstanceMetadataOptions { + s.HttpPutResponseHopLimit = &v + return s +} + +// SetHttpTokens sets the HttpTokens field's value. +func (s *InstanceMetadataOptions) SetHttpTokens(v string) *InstanceMetadataOptions { + s.HttpTokens = &v + return s +} + +// SetState sets the State field's value. +func (s *InstanceMetadataOptions) SetState(v string) *InstanceMetadataOptions { + s.State = &v + return s +} + // Describes monthly data transfer rates and port information for an instance. type InstanceNetworking struct { _ struct{} `type:"structure"` @@ -42540,6 +42765,140 @@ func (s *UpdateDomainEntryOutput) SetOperations(v []*Operation) *UpdateDomainEnt return s } +type UpdateInstanceMetadataOptionsInput struct { + _ struct{} `type:"structure"` + + // Enables or disables the HTTP metadata endpoint on your instances. If this + // parameter is not specified, the existing state is maintained. + // + // If you specify a value of disabled, you cannot access your instance metadata. + HttpEndpoint *string `locationName:"httpEndpoint" type:"string" enum:"HttpEndpoint"` + + // Enables or disables the IPv6 endpoint for the instance metadata service. + // This setting applies only when the HTTP metadata endpoint is enabled. + // + // This parameter is available only for instances in the Europe (Stockholm) + // Amazon Web Services Region (eu-north-1). + HttpProtocolIpv6 *string `locationName:"httpProtocolIpv6" type:"string" enum:"HttpProtocolIpv6"` + + // The desired HTTP PUT response hop limit for instance metadata requests. A + // larger number means that the instance metadata requests can travel farther. + // If no parameter is specified, the existing state is maintained. + HttpPutResponseHopLimit *int64 `locationName:"httpPutResponseHopLimit" type:"integer"` + + // The state of token usage for your instance metadata requests. If the parameter + // is not specified in the request, the default state is optional. + // + // If the state is optional, you can choose whether to retrieve instance metadata + // with a signed token header on your request. If you retrieve the IAM role + // credentials without a token, the version 1.0 role credentials are returned. + // If you retrieve the IAM role credentials by using a valid signed token, the + // version 2.0 role credentials are returned. + // + // If the state is required, you must send a signed token header with all instance + // metadata retrieval requests. In this state, retrieving the IAM role credential + // always returns the version 2.0 credentials. The version 1.0 credentials are + // not available. + HttpTokens *string `locationName:"httpTokens" type:"string" enum:"HttpTokens"` + + // The name of the instance for which to update metadata parameters. + // + // InstanceName is a required field + InstanceName *string `locationName:"instanceName" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateInstanceMetadataOptionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateInstanceMetadataOptionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateInstanceMetadataOptionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceMetadataOptionsInput"} + if s.InstanceName == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHttpEndpoint sets the HttpEndpoint field's value. +func (s *UpdateInstanceMetadataOptionsInput) SetHttpEndpoint(v string) *UpdateInstanceMetadataOptionsInput { + s.HttpEndpoint = &v + return s +} + +// SetHttpProtocolIpv6 sets the HttpProtocolIpv6 field's value. +func (s *UpdateInstanceMetadataOptionsInput) SetHttpProtocolIpv6(v string) *UpdateInstanceMetadataOptionsInput { + s.HttpProtocolIpv6 = &v + return s +} + +// SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value. +func (s *UpdateInstanceMetadataOptionsInput) SetHttpPutResponseHopLimit(v int64) *UpdateInstanceMetadataOptionsInput { + s.HttpPutResponseHopLimit = &v + return s +} + +// SetHttpTokens sets the HttpTokens field's value. +func (s *UpdateInstanceMetadataOptionsInput) SetHttpTokens(v string) *UpdateInstanceMetadataOptionsInput { + s.HttpTokens = &v + return s +} + +// SetInstanceName sets the InstanceName field's value. +func (s *UpdateInstanceMetadataOptionsInput) SetInstanceName(v string) *UpdateInstanceMetadataOptionsInput { + s.InstanceName = &v + return s +} + +type UpdateInstanceMetadataOptionsOutput struct { + _ struct{} `type:"structure"` + + // Describes the API operation. + Operation *Operation `locationName:"operation" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateInstanceMetadataOptionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateInstanceMetadataOptionsOutput) GoString() string { + return s.String() +} + +// SetOperation sets the Operation field's value. +func (s *UpdateInstanceMetadataOptionsOutput) SetOperation(v *Operation) *UpdateInstanceMetadataOptionsOutput { + s.Operation = v + return s +} + type UpdateLoadBalancerAttributeInput struct { _ struct{} `type:"structure"` @@ -43654,6 +44013,54 @@ func HeaderEnum_Values() []string { } } +const ( + // HttpEndpointDisabled is a HttpEndpoint enum value + HttpEndpointDisabled = "disabled" + + // HttpEndpointEnabled is a HttpEndpoint enum value + HttpEndpointEnabled = "enabled" +) + +// HttpEndpoint_Values returns all elements of the HttpEndpoint enum +func HttpEndpoint_Values() []string { + return []string{ + HttpEndpointDisabled, + HttpEndpointEnabled, + } +} + +const ( + // HttpProtocolIpv6Disabled is a HttpProtocolIpv6 enum value + HttpProtocolIpv6Disabled = "disabled" + + // HttpProtocolIpv6Enabled is a HttpProtocolIpv6 enum value + HttpProtocolIpv6Enabled = "enabled" +) + +// HttpProtocolIpv6_Values returns all elements of the HttpProtocolIpv6 enum +func HttpProtocolIpv6_Values() []string { + return []string{ + HttpProtocolIpv6Disabled, + HttpProtocolIpv6Enabled, + } +} + +const ( + // HttpTokensOptional is a HttpTokens enum value + HttpTokensOptional = "optional" + + // HttpTokensRequired is a HttpTokens enum value + HttpTokensRequired = "required" +) + +// HttpTokens_Values returns all elements of the HttpTokens enum +func HttpTokens_Values() []string { + return []string{ + HttpTokensOptional, + HttpTokensRequired, + } +} + const ( // InstanceAccessProtocolSsh is a InstanceAccessProtocol enum value InstanceAccessProtocolSsh = "ssh" @@ -43754,6 +44161,22 @@ func InstanceHealthState_Values() []string { } } +const ( + // InstanceMetadataStatePending is a InstanceMetadataState enum value + InstanceMetadataStatePending = "pending" + + // InstanceMetadataStateApplied is a InstanceMetadataState enum value + InstanceMetadataStateApplied = "applied" +) + +// InstanceMetadataState_Values returns all elements of the InstanceMetadataState enum +func InstanceMetadataState_Values() []string { + return []string{ + InstanceMetadataStatePending, + InstanceMetadataStateApplied, + } +} + const ( // InstanceMetricNameCpuutilization is a InstanceMetricName enum value InstanceMetricNameCpuutilization = "CPUUtilization" @@ -43778,6 +44201,9 @@ const ( // InstanceMetricNameBurstCapacityPercentage is a InstanceMetricName enum value InstanceMetricNameBurstCapacityPercentage = "BurstCapacityPercentage" + + // InstanceMetricNameMetadataNoToken is a InstanceMetricName enum value + InstanceMetricNameMetadataNoToken = "MetadataNoToken" ) // InstanceMetricName_Values returns all elements of the InstanceMetricName enum @@ -43791,6 +44217,7 @@ func InstanceMetricName_Values() []string { InstanceMetricNameStatusCheckFailedSystem, InstanceMetricNameBurstCapacityTime, InstanceMetricNameBurstCapacityPercentage, + InstanceMetricNameMetadataNoToken, } } @@ -44675,6 +45102,9 @@ const ( // OperationTypeSetResourceAccessForBucket is a OperationType enum value OperationTypeSetResourceAccessForBucket = "SetResourceAccessForBucket" + + // OperationTypeUpdateInstanceMetadataOptions is a OperationType enum value + OperationTypeUpdateInstanceMetadataOptions = "UpdateInstanceMetadataOptions" ) // OperationType_Values returns all elements of the OperationType enum @@ -44759,6 +45189,7 @@ func OperationType_Values() []string { OperationTypeUpdateBucketBundle, OperationTypeUpdateBucket, OperationTypeSetResourceAccessForBucket, + OperationTypeUpdateInstanceMetadataOptions, } } diff --git a/service/lightsail/lightsailiface/interface.go b/service/lightsail/lightsailiface/interface.go index 290820e6bd4..02589bc86a8 100644 --- a/service/lightsail/lightsailiface/interface.go +++ b/service/lightsail/lightsailiface/interface.go @@ -664,6 +664,10 @@ type LightsailAPI interface { UpdateDomainEntryWithContext(aws.Context, *lightsail.UpdateDomainEntryInput, ...request.Option) (*lightsail.UpdateDomainEntryOutput, error) UpdateDomainEntryRequest(*lightsail.UpdateDomainEntryInput) (*request.Request, *lightsail.UpdateDomainEntryOutput) + UpdateInstanceMetadataOptions(*lightsail.UpdateInstanceMetadataOptionsInput) (*lightsail.UpdateInstanceMetadataOptionsOutput, error) + UpdateInstanceMetadataOptionsWithContext(aws.Context, *lightsail.UpdateInstanceMetadataOptionsInput, ...request.Option) (*lightsail.UpdateInstanceMetadataOptionsOutput, error) + UpdateInstanceMetadataOptionsRequest(*lightsail.UpdateInstanceMetadataOptionsInput) (*request.Request, *lightsail.UpdateInstanceMetadataOptionsOutput) + UpdateLoadBalancerAttribute(*lightsail.UpdateLoadBalancerAttributeInput) (*lightsail.UpdateLoadBalancerAttributeOutput, error) UpdateLoadBalancerAttributeWithContext(aws.Context, *lightsail.UpdateLoadBalancerAttributeInput, ...request.Option) (*lightsail.UpdateLoadBalancerAttributeOutput, error) UpdateLoadBalancerAttributeRequest(*lightsail.UpdateLoadBalancerAttributeInput) (*request.Request, *lightsail.UpdateLoadBalancerAttributeOutput) diff --git a/service/nimblestudio/api.go b/service/nimblestudio/api.go index 9c395a0f14a..4cd1d344de0 100644 --- a/service/nimblestudio/api.go +++ b/service/nimblestudio/api.go @@ -4474,17 +4474,17 @@ func (c *NimbleStudio) StartStudioSSOConfigurationRepairRequest(input *StartStud // StartStudioSSOConfigurationRepair API operation for AmazonNimbleStudio. // -// Repairs the Amazon Web Services SSO configuration for a given studio. +// Repairs the IAM Identity Center configuration for a given studio. // -// If the studio has a valid Amazon Web Services SSO configuration currently -// associated with it, this operation will fail with a validation error. +// If the studio has a valid IAM Identity Center configuration currently associated +// with it, this operation will fail with a validation error. // -// If the studio does not have a valid Amazon Web Services SSO configuration -// currently associated with it, then a new Amazon Web Services SSO application -// is created for the studio and the studio is changed to the READY state. +// If the studio does not have a valid IAM Identity Center configuration currently +// associated with it, then a new IAM Identity Center application is created +// for the studio and the studio is changed to the READY state. // -// After the Amazon Web Services SSO application is repaired, you must use the -// Amazon Nimble Studio console to add administrators and users to your studio. +// After the IAM Identity Center application is repaired, you must use the Amazon +// Nimble Studio console to add administrators and users to your studio. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5367,7 +5367,7 @@ type AcceptEulasInput struct { // The EULA ID. EulaIds []*string `locationName:"eulaIds" type:"list"` - // A collection of EULA IDs. + // The studio ID. // // StudioId is a required field StudioId *string `location:"uri" locationName:"studioId" type:"string" required:"true"` @@ -6909,7 +6909,7 @@ type DeleteLaunchProfileMemberInput struct { // LaunchProfileId is a required field LaunchProfileId *string `location:"uri" locationName:"launchProfileId" type:"string" required:"true"` - // The principal ID. This currently supports a Amazon Web Services SSO UserId. + // The principal ID. This currently supports a IAM Identity Center UserId. // // PrincipalId is a required field PrincipalId *string `location:"uri" locationName:"principalId" type:"string" required:"true"` @@ -7450,7 +7450,7 @@ type DeleteStudioMemberInput struct { // generates a client token and uses it for the request to ensure idempotency. ClientToken *string `location:"header" locationName:"X-Amz-Client-Token" min:"1" type:"string" idempotencyToken:"true"` - // The principal ID. This currently supports a Amazon Web Services SSO UserId. + // The principal ID. This currently supports a IAM Identity Center UserId. // // PrincipalId is a required field PrincipalId *string `location:"uri" locationName:"principalId" type:"string" required:"true"` @@ -8121,7 +8121,7 @@ type GetLaunchProfileMemberInput struct { // LaunchProfileId is a required field LaunchProfileId *string `location:"uri" locationName:"launchProfileId" type:"string" required:"true"` - // The principal ID. This currently supports a Amazon Web Services SSO UserId. + // The principal ID. This currently supports a IAM Identity Center UserId. // // PrincipalId is a required field PrincipalId *string `location:"uri" locationName:"principalId" type:"string" required:"true"` @@ -8715,7 +8715,7 @@ func (s *GetStudioInput) SetStudioId(v string) *GetStudioInput { type GetStudioMemberInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The principal ID. This currently supports a Amazon Web Services SSO UserId. + // The principal ID. This currently supports a IAM Identity Center UserId. // // PrincipalId is a required field PrincipalId *string `location:"uri" locationName:"principalId" type:"string" required:"true"` @@ -9835,7 +9835,7 @@ type ListLaunchProfilesInput struct { // The token to request the next page of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // The principal ID. This currently supports a Amazon Web Services SSO UserId. + // The principal ID. This currently supports a IAM Identity Center UserId. PrincipalId *string `location:"querystring" locationName:"principalId" type:"string"` // Filter this request to launch profiles in any of the given states. @@ -12466,7 +12466,7 @@ func (s *StreamingSessionStream) SetUrl(v string) *StreamingSessionStream { // // When creating a studio, you must provides two IAM roles for use with the // Nimble Studio portal. These roles are assumed by your users when they log -// in to the Nimble Studio portal via Amazon Web Services SSO and your identity +// in to the Nimble Studio portal via IAM Identity Center and your identity // source. // // The user role must have the AmazonNimbleStudio-StudioUser managed policy @@ -12501,9 +12501,9 @@ type Studio struct { // The Amazon Web Services Region where the studio resource is located. HomeRegion *string `locationName:"homeRegion" type:"string"` - // The Amazon Web Services SSO application client ID used to integrate with - // Amazon Web Services SSO to enable Amazon Web Services SSO users to log in - // to Nimble Studio portal. + // The IAM Identity Center application client ID used to integrate with IAM + // Identity Center to enable IAM Identity Center users to log in to Nimble Studio + // portal. SsoClientId *string `locationName:"ssoClientId" type:"string"` // The current state of the studio resource. @@ -13213,10 +13213,10 @@ func (s *StudioEncryptionConfiguration) SetKeyType(v string) *StudioEncryptionCo // to elevated permissions that they are granted in the studio. // // When you add a user to your studio using the Nimble Studio console, they -// are given access to the studio's AWS SSO application and are given access -// to log in to the Nimble Studio portal. These users have the permissions provided -// by the studio's user IAM role and do not appear in the studio membership -// collection. Only studio admins appear in studio membership. +// are given access to the studio's IAM Identity Center application and are +// given access to log in to the Nimble Studio portal. These users have the +// permissions provided by the studio's user IAM role and do not appear in the +// studio membership collection. Only studio admins appear in studio membership. // // When you add a user to studio membership with the persona ADMIN, upon logging // in to the Nimble Studio portal, they are granted permissions specified by @@ -13681,7 +13681,7 @@ type UpdateLaunchProfileMemberInput struct { // Persona is a required field Persona *string `locationName:"persona" type:"string" required:"true" enum:"LaunchProfilePersona"` - // The principal ID. This currently supports a Amazon Web Services SSO UserId. + // The principal ID. This currently supports a IAM Identity Center UserId. // // PrincipalId is a required field PrincipalId *string `location:"uri" locationName:"principalId" type:"string" required:"true"` @@ -14598,6 +14598,12 @@ const ( // LaunchProfileStatusCodeInvalidSubnetsProvided is a LaunchProfileStatusCode enum value LaunchProfileStatusCodeInvalidSubnetsProvided = "INVALID_SUBNETS_PROVIDED" + + // LaunchProfileStatusCodeInvalidInstanceTypesProvided is a LaunchProfileStatusCode enum value + LaunchProfileStatusCodeInvalidInstanceTypesProvided = "INVALID_INSTANCE_TYPES_PROVIDED" + + // LaunchProfileStatusCodeInvalidSubnetsCombination is a LaunchProfileStatusCode enum value + LaunchProfileStatusCodeInvalidSubnetsCombination = "INVALID_SUBNETS_COMBINATION" ) // LaunchProfileStatusCode_Values returns all elements of the LaunchProfileStatusCode enum @@ -14616,6 +14622,8 @@ func LaunchProfileStatusCode_Values() []string { LaunchProfileStatusCodeEncryptionKeyAccessDenied, LaunchProfileStatusCodeEncryptionKeyNotFound, LaunchProfileStatusCodeInvalidSubnetsProvided, + LaunchProfileStatusCodeInvalidInstanceTypesProvided, + LaunchProfileStatusCodeInvalidSubnetsCombination, } } @@ -14838,6 +14846,27 @@ const ( // StreamingInstanceTypeG4dn16xlarge is a StreamingInstanceType enum value StreamingInstanceTypeG4dn16xlarge = "g4dn.16xlarge" + + // StreamingInstanceTypeG34xlarge is a StreamingInstanceType enum value + StreamingInstanceTypeG34xlarge = "g3.4xlarge" + + // StreamingInstanceTypeG3sXlarge is a StreamingInstanceType enum value + StreamingInstanceTypeG3sXlarge = "g3s.xlarge" + + // StreamingInstanceTypeG5Xlarge is a StreamingInstanceType enum value + StreamingInstanceTypeG5Xlarge = "g5.xlarge" + + // StreamingInstanceTypeG52xlarge is a StreamingInstanceType enum value + StreamingInstanceTypeG52xlarge = "g5.2xlarge" + + // StreamingInstanceTypeG54xlarge is a StreamingInstanceType enum value + StreamingInstanceTypeG54xlarge = "g5.4xlarge" + + // StreamingInstanceTypeG58xlarge is a StreamingInstanceType enum value + StreamingInstanceTypeG58xlarge = "g5.8xlarge" + + // StreamingInstanceTypeG516xlarge is a StreamingInstanceType enum value + StreamingInstanceTypeG516xlarge = "g5.16xlarge" ) // StreamingInstanceType_Values returns all elements of the StreamingInstanceType enum @@ -14849,6 +14878,13 @@ func StreamingInstanceType_Values() []string { StreamingInstanceTypeG4dn8xlarge, StreamingInstanceTypeG4dn12xlarge, StreamingInstanceTypeG4dn16xlarge, + StreamingInstanceTypeG34xlarge, + StreamingInstanceTypeG3sXlarge, + StreamingInstanceTypeG5Xlarge, + StreamingInstanceTypeG52xlarge, + StreamingInstanceTypeG54xlarge, + StreamingInstanceTypeG58xlarge, + StreamingInstanceTypeG516xlarge, } } diff --git a/service/ssm/api.go b/service/ssm/api.go index d76a80495f9..ddd6a28c11b 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -59059,6 +59059,12 @@ const ( // DocumentTypeProblemAnalysisTemplate is a DocumentType enum value DocumentTypeProblemAnalysisTemplate = "ProblemAnalysisTemplate" + + // DocumentTypeCloudFormation is a DocumentType enum value + DocumentTypeCloudFormation = "CloudFormation" + + // DocumentTypeConformancePackTemplate is a DocumentType enum value + DocumentTypeConformancePackTemplate = "ConformancePackTemplate" ) // DocumentType_Values returns all elements of the DocumentType enum @@ -59076,6 +59082,8 @@ func DocumentType_Values() []string { DocumentTypeAutomationChangeTemplate, DocumentTypeProblemAnalysis, DocumentTypeProblemAnalysisTemplate, + DocumentTypeCloudFormation, + DocumentTypeConformancePackTemplate, } } diff --git a/service/wafv2/api.go b/service/wafv2/api.go index bd17e5835c7..59ddfad0e8f 100644 --- a/service/wafv2/api.go +++ b/service/wafv2/api.go @@ -109,12 +109,17 @@ func (c *WAFV2) AssociateWebACLRequest(input *AssociateWebACLInput) (req *reques // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFUnavailableEntityException // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. // // - WAFInvalidOperationException // The operation isn't valid. @@ -225,7 +230,10 @@ func (c *WAFV2) CheckCapacityRequest(input *CheckCapacityInput) (req *request.Re // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFLimitsExceededException // WAF couldn’t perform the operation because you exceeded your resource limit. @@ -239,8 +247,10 @@ func (c *WAFV2) CheckCapacityRequest(input *CheckCapacityInput) (req *request.Re // // - WAFUnavailableEntityException // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. // // - WAFSubscriptionNotFoundException // You tried to use a managed rule group that's available by subscription, but @@ -616,8 +626,10 @@ func (c *WAFV2) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *reques // // - WAFUnavailableEntityException // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. // // - WAFTagOperationException // An error occurred during the tagging operation. Retry your request. @@ -631,7 +643,10 @@ func (c *WAFV2) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *reques // you aren't subscribed to it yet. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -762,11 +777,16 @@ func (c *WAFV2) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Requ // // - WAFUnavailableEntityException // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFTagOperationException // An error occurred during the tagging operation. Retry your request. @@ -896,7 +916,10 @@ func (c *WAFV2) DeleteFirewallManagerRuleGroupsRequest(input *DeleteFirewallMana // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -1003,7 +1026,10 @@ func (c *WAFV2) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Reques // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -1106,7 +1132,10 @@ func (c *WAFV2) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfigurat // a system problem. Retry your request. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -1211,7 +1240,10 @@ func (c *WAFV2) DeletePermissionPolicyRequest(input *DeletePermissionPolicyInput // Returned Error Types: // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInternalErrorException // Your request is valid, but WAF couldn’t perform the operation because of @@ -1329,7 +1361,10 @@ func (c *WAFV2) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -1447,7 +1482,10 @@ func (c *WAFV2) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *reques // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -1580,7 +1618,10 @@ func (c *WAFV2) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Requ // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -1702,7 +1743,10 @@ func (c *WAFV2) DescribeManagedRuleGroupRequest(input *DescribeManagedRuleGroupI // isn’t valid. Check the resource, and try again. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -1817,7 +1861,10 @@ func (c *WAFV2) DisassociateWebACLRequest(input *DisassociateWebACLInput) (req * // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -1910,7 +1957,10 @@ func (c *WAFV2) GenerateMobileSdkReleaseUrlRequest(input *GenerateMobileSdkRelea // a system problem. Retry your request. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidParameterException // The operation failed because WAF didn't recognize a parameter in the request. @@ -2026,7 +2076,10 @@ func (c *WAFV2) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, out // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -2112,7 +2165,10 @@ func (c *WAFV2) GetLoggingConfigurationRequest(input *GetLoggingConfigurationInp // a system problem. Retry your request. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidParameterException // The operation failed because WAF didn't recognize a parameter in the request. @@ -2236,7 +2292,10 @@ func (c *WAFV2) GetManagedRuleSetRequest(input *GetManagedRuleSetInput) (req *re // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -2329,7 +2388,10 @@ func (c *WAFV2) GetMobileSdkReleaseRequest(input *GetMobileSdkReleaseInput) (req // a system problem. Retry your request. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidParameterException // The operation failed because WAF didn't recognize a parameter in the request. @@ -2428,7 +2490,10 @@ func (c *WAFV2) GetPermissionPolicyRequest(input *GetPermissionPolicyInput) (req // Returned Error Types: // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInternalErrorException // Your request is valid, but WAF couldn’t perform the operation because of @@ -2560,7 +2625,10 @@ func (c *WAFV2) GetRateBasedStatementManagedKeysRequest(input *GetRateBasedState // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -2661,7 +2729,10 @@ func (c *WAFV2) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req * // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -2762,7 +2833,10 @@ func (c *WAFV2) GetRuleGroupRequest(input *GetRuleGroupInput) (req *request.Requ // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -2854,7 +2928,10 @@ func (c *WAFV2) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req * // Returned Error Types: // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInternalErrorException // Your request is valid, but WAF couldn’t perform the operation because of @@ -2971,7 +3048,10 @@ func (c *WAFV2) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, o // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -3057,7 +3137,10 @@ func (c *WAFV2) GetWebACLForResourceRequest(input *GetWebACLForResourceInput) (r // a system problem. Retry your request. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidParameterException // The operation failed because WAF didn't recognize a parameter in the request. @@ -3076,8 +3159,10 @@ func (c *WAFV2) GetWebACLForResourceRequest(input *GetWebACLForResourceInput) (r // // - WAFUnavailableEntityException // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. // // - WAFInvalidOperationException // The operation isn't valid. @@ -3178,7 +3263,10 @@ func (c *WAFV2) ListAvailableManagedRuleGroupVersionsRequest(input *ListAvailabl // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidOperationException // The operation isn't valid. @@ -3873,7 +3961,10 @@ func (c *WAFV2) ListResourcesForWebACLRequest(input *ListResourcesForWebACLInput // a system problem. Retry your request. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInvalidParameterException // The operation failed because WAF didn't recognize a parameter in the request. @@ -4096,7 +4187,10 @@ func (c *WAFV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFTagOperationException // An error occurred during the tagging operation. Retry your request. @@ -4320,7 +4414,10 @@ func (c *WAFV2) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInp // a system problem. Retry your request. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -4481,7 +4578,10 @@ func (c *WAFV2) PutManagedRuleSetVersionsRequest(input *PutManagedRuleSetVersion // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -4581,7 +4681,10 @@ func (c *WAFV2) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req // Returned Error Types: // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFInternalErrorException // Your request is valid, but WAF couldn’t perform the operation because of @@ -4733,7 +4836,10 @@ func (c *WAFV2) TagResourceRequest(input *TagResourceInput) (req *request.Reques // in the WAF Developer Guide. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFTagOperationException // An error occurred during the tagging operation. Retry your request. @@ -4846,7 +4952,10 @@ func (c *WAFV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Re // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFTagOperationException // An error occurred during the tagging operation. Retry your request. @@ -4972,7 +5081,10 @@ func (c *WAFV2) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Reques // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFDuplicateItemException // WAF couldn’t perform the operation because the resource that you tried @@ -5099,7 +5211,10 @@ func (c *WAFV2) UpdateManagedRuleSetVersionExpiryDateRequest(input *UpdateManage // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFOptimisticLockException // WAF couldn’t save your changes because you tried to update or delete a @@ -5224,7 +5339,10 @@ func (c *WAFV2) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFDuplicateItemException // WAF couldn’t perform the operation because the resource that you tried @@ -5365,7 +5483,10 @@ func (c *WAFV2) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *reques // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFDuplicateItemException // WAF couldn’t perform the operation because the resource that you tried @@ -5384,8 +5505,10 @@ func (c *WAFV2) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *reques // // - WAFUnavailableEntityException // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. // // - WAFSubscriptionNotFoundException // You tried to use a managed rule group that's available by subscription, but @@ -5533,7 +5656,10 @@ func (c *WAFV2) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Requ // a resource with which a web ACL can't be associated. // // - WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. // // - WAFDuplicateItemException // WAF couldn’t perform the operation because the resource that you tried @@ -5556,8 +5682,10 @@ func (c *WAFV2) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Requ // // - WAFUnavailableEntityException // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. // // - WAFSubscriptionNotFoundException // You tried to use a managed rule group that's available by subscription, but @@ -6793,8 +6921,9 @@ type CreateIPSetInput struct { _ struct{} `type:"structure"` // Contains an array of strings that specifies zero or more IP addresses or - // blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. - // WAF supports all IPv4 and IPv6 CIDR ranges except for /0. + // blocks of IP addresses. All addresses must be specified using Classless Inter-Domain + // Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except + // for /0. // // Example address strings: // @@ -7974,7 +8103,7 @@ func (s *CustomResponseBody) SetContentType(v string) *CustomResponseBody { // In a WebACL, this is the action that you want WAF to perform when a web request // doesn't match any of the rules in the WebACL. The default action must be -// a terminating action, so you can't use count. +// a terminating action. type DefaultAction struct { _ struct{} `type:"structure"` @@ -9597,6 +9726,11 @@ type FirewallManagerStatement struct { // You cannot nest a ManagedRuleGroupStatement, for example for use inside a // NotStatement or OrStatement. It can only be referenced as a top-level statement // within a rule. + // + // You are charged additional fees when you use the WAF Bot Control managed + // rule group AWSManagedRulesBotControlRuleSet or the WAF Fraud Control account + // takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet. For + // more information, see WAF Pricing (http://aws.amazon.com/waf/pricing/). ManagedRuleGroupStatement *ManagedRuleGroupStatement `type:"structure"` // A rule statement used to run the rules that are defined in a RuleGroup. To @@ -11661,8 +11795,9 @@ type IPSet struct { ARN *string `min:"20" type:"string" required:"true"` // Contains an array of strings that specifies zero or more IP addresses or - // blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. - // WAF supports all IPv4 and IPv6 CIDR ranges except for /0. + // blocks of IP addresses. All addresses must be specified using Classless Inter-Domain + // Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except + // for /0. // // Example address strings: // @@ -13481,6 +13616,10 @@ type ListResourcesForWebACLInput struct { // Used for web ACLs that are scoped for regional applications. A regional application // can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, // an AppSync GraphQL API, or an Amazon Cognito user pool. + // + // If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER. + // + // Default: APPLICATION_LOAD_BALANCER ResourceType *string `type:"string" enum:"ResourceType"` // The Amazon Resource Name (ARN) of the web ACL. @@ -14275,6 +14414,11 @@ func (s *ManagedRuleGroupConfig) SetUsernameField(v *UsernameField) *ManagedRule // You cannot nest a ManagedRuleGroupStatement, for example for use inside a // NotStatement or OrStatement. It can only be referenced as a top-level statement // within a rule. +// +// You are charged additional fees when you use the WAF Bot Control managed +// rule group AWSManagedRulesBotControlRuleSet or the WAF Fraud Control account +// takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet. For +// more information, see WAF Pricing (http://aws.amazon.com/waf/pricing/). type ManagedRuleGroupStatement struct { _ struct{} `type:"structure"` @@ -16566,7 +16710,8 @@ type RuleAction struct { // Instructs WAF to run a CAPTCHA check against the web request. Captcha *CaptchaAction `type:"structure"` - // Instructs WAF to count the web request and allow it. + // Instructs WAF to count the web request and then continue evaluating the request + // using the remaining rules in the web ACL. Count *CountAction `type:"structure"` } @@ -17545,6 +17690,11 @@ type Statement struct { // You cannot nest a ManagedRuleGroupStatement, for example for use inside a // NotStatement or OrStatement. It can only be referenced as a top-level statement // within a rule. + // + // You are charged additional fees when you use the WAF Bot Control managed + // rule group AWSManagedRulesBotControlRuleSet or the WAF Fraud Control account + // takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet. For + // more information, see WAF Pricing (http://aws.amazon.com/waf/pricing/). ManagedRuleGroupStatement *ManagedRuleGroupStatement `type:"structure"` // A logical rule statement used to negate the results of another rule statement. @@ -18416,8 +18566,9 @@ type UpdateIPSetInput struct { _ struct{} `type:"structure"` // Contains an array of strings that specifies zero or more IP addresses or - // blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. - // WAF supports all IPv4 and IPv6 CIDR ranges except for /0. + // blocks of IP addresses. All addresses must be specified using Classless Inter-Domain + // Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except + // for /0. // // Example address strings: // @@ -20516,7 +20667,10 @@ func (s *WAFLogDestinationPermissionIssueException) RequestID() string { return s.RespMetadata.RequestID } -// WAF couldn’t perform the operation because your resource doesn’t exist. +// WAF couldn’t perform the operation because your resource doesn't exist. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. type WAFNonexistentItemException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -20912,8 +21066,10 @@ func (s *WAFTagOperationInternalErrorException) RequestID() string { } // WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// If you've just created a resource that you're using in this operation, you +// might just need to wait a few minutes. It can take from a few seconds to +// a number of minutes for changes to propagate. Verify the resources that you +// are specifying in your request parameters and then retry the operation. type WAFUnavailableEntityException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/service/wafv2/errors.go b/service/wafv2/errors.go index e681843fb6f..47a5eda9512 100644 --- a/service/wafv2/errors.go +++ b/service/wafv2/errors.go @@ -129,7 +129,10 @@ const ( // ErrCodeWAFNonexistentItemException for service response error code // "WAFNonexistentItemException". // - // WAF couldn’t perform the operation because your resource doesn’t exist. + // WAF couldn’t perform the operation because your resource doesn't exist. + // If you've just created a resource that you're using in this operation, you + // might just need to wait a few minutes. It can take from a few seconds to + // a number of minutes for changes to propagate. ErrCodeWAFNonexistentItemException = "WAFNonexistentItemException" // ErrCodeWAFOptimisticLockException for service response error code @@ -177,8 +180,10 @@ const ( // "WAFUnavailableEntityException". // // WAF couldn’t retrieve a resource that you specified for this operation. - // Verify the resources that you are specifying in your request parameters and - // then retry the operation. + // If you've just created a resource that you're using in this operation, you + // might just need to wait a few minutes. It can take from a few seconds to + // a number of minutes for changes to propagate. Verify the resources that you + // are specifying in your request parameters and then retry the operation. ErrCodeWAFUnavailableEntityException = "WAFUnavailableEntityException" )