From 57fb93a396dec58d7893ad816ffbca4934fe0ae8 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:31:06 -0500 Subject: [PATCH] Release v1.50.12 (2024-02-06) (#5162) Release v1.50.12 (2024-02-06) === ### Service Client Updates * `service/appsync`: Updates service API and documentation * `service/ecs`: Updates service documentation * This release is a documentation only update to address customer issues. * `service/es`: Updates service API and documentation * This release adds clear visibility to the customers on the changes that they make on the domain. * `service/logs`: Updates service API and documentation * This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action. * `service/opensearch`: Updates service API and documentation * `service/wafv2`: Updates service API and documentation --- CHANGELOG.md | 14 + aws/version.go | 2 +- models/apis/appsync/2017-07-25/api-2.json | 89 +++ models/apis/appsync/2017-07-25/docs-2.json | 44 ++ models/apis/ecs/2014-11-13/docs-2.json | 16 +- models/apis/es/2015-01-01/api-2.json | 122 +++- models/apis/es/2015-01-01/docs-2.json | 81 +++ models/apis/logs/2014-03-28/api-2.json | 3 +- models/apis/logs/2014-03-28/docs-2.json | 11 +- models/apis/opensearch/2021-01-01/api-2.json | 122 +++- models/apis/opensearch/2021-01-01/docs-2.json | 83 ++- models/apis/wafv2/2019-07-29/api-2.json | 32 ++ models/apis/wafv2/2019-07-29/docs-2.json | 19 +- models/apis/wafv2/2019-07-29/smoke.json | 9 +- service/appsync/api.go | 424 ++++++++++++++ service/appsync/appsynciface/interface.go | 8 + service/cloudwatchlogs/api.go | 57 +- service/ecs/api.go | 70 +-- service/elasticsearchservice/api.go | 518 +++++++++++++++++ .../elasticsearchserviceiface/interface.go | 4 + service/opensearchservice/api.go | 522 +++++++++++++++++- .../opensearchserviceiface/interface.go | 4 + service/wafv2/api.go | 216 +++++++- service/wafv2/integ_test.go | 7 +- service/wafv2/wafv2iface/interface.go | 4 + 25 files changed, 2410 insertions(+), 71 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f372884e3b2..7c3feba0dae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.50.12 (2024-02-06) +=== + +### Service Client Updates +* `service/appsync`: Updates service API and documentation +* `service/ecs`: Updates service documentation + * This release is a documentation only update to address customer issues. +* `service/es`: Updates service API and documentation + * This release adds clear visibility to the customers on the changes that they make on the domain. +* `service/logs`: Updates service API and documentation + * This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action. +* `service/opensearch`: Updates service API and documentation +* `service/wafv2`: Updates service API and documentation + Release v1.50.11 (2024-02-05) === diff --git a/aws/version.go b/aws/version.go index 32c0434b034..8b219494bf7 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.50.11" +const SDKVersion = "1.50.12" diff --git a/models/apis/appsync/2017-07-25/api-2.json b/models/apis/appsync/2017-07-25/api-2.json index ed573660c06..953bc3b56fb 100644 --- a/models/apis/appsync/2017-07-25/api-2.json +++ b/models/apis/appsync/2017-07-25/api-2.json @@ -516,6 +516,22 @@ {"shape":"AccessDeniedException"} ] }, + "GetGraphqlApiEnvironmentVariables":{ + "name":"GetGraphqlApiEnvironmentVariables", + "http":{ + "method":"GET", + "requestUri":"/v1/apis/{apiId}/environmentVariables" + }, + "input":{"shape":"GetGraphqlApiEnvironmentVariablesRequest"}, + "output":{"shape":"GetGraphqlApiEnvironmentVariablesResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"NotFoundException"}, + {"shape":"UnauthorizedException"}, + {"shape":"InternalFailureException"}, + {"shape":"AccessDeniedException"} + ] + }, "GetIntrospectionSchema":{ "name":"GetIntrospectionSchema", "http":{ @@ -758,6 +774,23 @@ {"shape":"InternalFailureException"} ] }, + "PutGraphqlApiEnvironmentVariables":{ + "name":"PutGraphqlApiEnvironmentVariables", + "http":{ + "method":"PUT", + "requestUri":"/v1/apis/{apiId}/environmentVariables" + }, + "input":{"shape":"PutGraphqlApiEnvironmentVariablesRequest"}, + "output":{"shape":"PutGraphqlApiEnvironmentVariablesResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ConcurrentModificationException"}, + {"shape":"NotFoundException"}, + {"shape":"UnauthorizedException"}, + {"shape":"InternalFailureException"}, + {"shape":"AccessDeniedException"} + ] + }, "StartDataSourceIntrospection":{ "name":"StartDataSourceIntrospection", "http":{ @@ -1955,6 +1988,24 @@ "awsRegion":{"shape":"String"} } }, + "EnvironmentVariableKey":{ + "type":"string", + "max":64, + "min":2, + "pattern":"^[A-Za-z]+\\w*$" + }, + "EnvironmentVariableMap":{ + "type":"map", + "key":{"shape":"EnvironmentVariableKey"}, + "value":{"shape":"EnvironmentVariableValue"}, + "max":50, + "min":0 + }, + "EnvironmentVariableValue":{ + "type":"string", + "max":512, + "min":0 + }, "ErrorDetail":{ "type":"structure", "members":{ @@ -2208,6 +2259,23 @@ "functionConfiguration":{"shape":"FunctionConfiguration"} } }, + "GetGraphqlApiEnvironmentVariablesRequest":{ + "type":"structure", + "required":["apiId"], + "members":{ + "apiId":{ + "shape":"String", + "location":"uri", + "locationName":"apiId" + } + } + }, + "GetGraphqlApiEnvironmentVariablesResponse":{ + "type":"structure", + "members":{ + "environmentVariables":{"shape":"EnvironmentVariableMap"} + } + }, "GetGraphqlApiRequest":{ "type":"structure", "required":["apiId"], @@ -2900,6 +2968,27 @@ "functions":{"shape":"FunctionsIds"} } }, + "PutGraphqlApiEnvironmentVariablesRequest":{ + "type":"structure", + "required":[ + "apiId", + "environmentVariables" + ], + "members":{ + "apiId":{ + "shape":"String", + "location":"uri", + "locationName":"apiId" + }, + "environmentVariables":{"shape":"EnvironmentVariableMap"} + } + }, + "PutGraphqlApiEnvironmentVariablesResponse":{ + "type":"structure", + "members":{ + "environmentVariables":{"shape":"EnvironmentVariableMap"} + } + }, "QueryDepthLimit":{ "type":"integer", "max":75, diff --git a/models/apis/appsync/2017-07-25/docs-2.json b/models/apis/appsync/2017-07-25/docs-2.json index 266f335e9aa..7a8c4946135 100644 --- a/models/apis/appsync/2017-07-25/docs-2.json +++ b/models/apis/appsync/2017-07-25/docs-2.json @@ -34,6 +34,7 @@ "GetDomainName": "
Retrieves a custom DomainName
object.
Get a Function
.
Retrieves a GraphqlApi
object.
Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.
", "GetIntrospectionSchema": "Retrieves the introspection schema for a GraphQL API.
", "GetResolver": "Retrieves a Resolver
object.
Retrieves the current status of a schema creation operation.
", @@ -50,6 +51,7 @@ "ListTagsForResource": "Lists the tags for a resource.
", "ListTypes": "Lists the types for a given API.
", "ListTypesByAssociation": "Lists Type
objects by the source API association ID.
Creates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
Both JavaScript and VTL templates support environmental variables.
Environmental variables are not evaluated before function invocation.
Environmental variables only support string values.
Any defined value in an environmental variable is considered a string literal and not expanded.
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
Keys must begin with a letter.
Keys must be at least two characters long.
Keys can only contain letters, numbers, and the underscore character (_).
Values can be up to 512 characters long.
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the environmentVariables
payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}
. Note that each call of the PutGraphqlApiEnvironmentVariables
action will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.
Creates a new introspection. Returns the introspectionId
of the new introspection after its creation.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
", "StartSchemaMerge": "Initiates a merge operation. Returns a status that shows the result of the merge operation.
", @@ -725,6 +727,26 @@ "UpdateDataSourceRequest$elasticsearchConfig": "The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
" } }, + "EnvironmentVariableKey": { + "base": null, + "refs": { + "EnvironmentVariableMap$key": null + } + }, + "EnvironmentVariableMap": { + "base": null, + "refs": { + "GetGraphqlApiEnvironmentVariablesResponse$environmentVariables": "The payload containing each environmental variable in the \"key\" : \"value\"
format.
The list of environmental variables to add to the API.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
Keys must begin with a letter.
Keys must be at least two characters long.
Keys can only contain letters, numbers, and the underscore character (_).
Values can be up to 512 characters long.
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the environmentVariables
payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}
. Note that each call of the PutGraphqlApiEnvironmentVariables
action will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.
The payload containing each environmental variable in the \"key\" : \"value\"
format.
Contains the list of errors generated. When using JavaScript, this will apply to the request or response function evaluation.
", "refs": { @@ -879,6 +901,16 @@ "refs": { } }, + "GetGraphqlApiEnvironmentVariablesRequest": { + "base": null, + "refs": { + } + }, + "GetGraphqlApiEnvironmentVariablesResponse": { + "base": null, + "refs": { + } + }, "GetGraphqlApiRequest": { "base": null, "refs": { @@ -1292,6 +1324,16 @@ "UpdateResolverRequest$pipelineConfig": "The PipelineConfig
.
The error detail field. When a FAILED
introspectionStatus
is returned, the introspectionStatusDetail
will also return the exact error that was generated during the operation.
The API ID.
", "GetFunctionRequest$apiId": "The GraphQL API ID.
", + "GetGraphqlApiEnvironmentVariablesRequest$apiId": "The ID of the API from which the environmental variable list will be retrieved.
", "GetGraphqlApiRequest$apiId": "The API ID for the GraphQL API.
", "GetIntrospectionSchemaRequest$apiId": "The API ID.
", "GetResolverRequest$apiId": "The API ID.
", @@ -1630,6 +1673,7 @@ "OpenIDConnectConfig$clientId": "The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.
", "OpenSearchServiceDataSourceConfig$endpoint": "The endpoint.
", "OpenSearchServiceDataSourceConfig$awsRegion": "The Amazon Web Services Region.
", + "PutGraphqlApiEnvironmentVariablesRequest$apiId": "The ID of the API to which the environmental variable list will be written.
", "RdsHttpEndpointConfig$awsRegion": "Amazon Web Services Region for Amazon RDS HTTP endpoint.
", "RdsHttpEndpointConfig$dbClusterIdentifier": "Amazon RDS cluster Amazon Resource Name (ARN).
", "RdsHttpEndpointConfig$databaseName": "Logical database name.
", diff --git a/models/apis/ecs/2014-11-13/docs-2.json b/models/apis/ecs/2014-11-13/docs-2.json index 53e5c92761d..ef6dbb5baac 100644 --- a/models/apis/ecs/2014-11-13/docs-2.json +++ b/models/apis/ecs/2014-11-13/docs-2.json @@ -993,9 +993,9 @@ } }, "EphemeralStorage": { - "base": "The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Fargate task storage in the Amazon ECS User Guide for Fargate.
For tasks using the Fargate launch type, the task requires the following platforms:
Linux platform version 1.4.0
or later.
Windows platform version 1.0.0
or later.
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Using data volumes in tasks in the Amazon ECS Developer Guide;.
For tasks using the Fargate launch type, the task requires the following platforms:
Linux platform version 1.4.0
or later.
Windows platform version 1.0.0
or later.
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Fargate task storage in the Amazon ECS User Guide for Fargate.
For tasks using the Fargate launch type, the task requires the following platforms:
Linux platform version 1.4.0
or later.
Windows platform version 1.0.0
or later.
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Using data volumes in tasks in the Amazon ECS Developer Guide.
For tasks using the Fargate launch type, the task requires the following platforms:
Linux platform version 1.4.0
or later.
Windows platform version 1.0.0
or later.
The ephemeral storage settings for the task.
", "TaskDefinition$ephemeralStorage": "The ephemeral storage settings to use for tasks run with the task definition.
", "TaskOverride$ephemeralStorage": "The ephemeral storage setting override for the task.
This parameter is only supported for tasks hosted on Fargate that use the following platform versions:
Linux platform version 1.4.0
or later.
Windows platform version 1.0.0
or later.
The infrastructure that you run your service on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
The FARGATE
launch type runs your tasks on Fargate On-Demand infrastructure.
Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS User Guide for Fargate.
The EC2
launch type runs your tasks on Amazon EC2 instances registered to your cluster.
The EXTERNAL
launch type runs your tasks on your on-premises server or virtual machine (VM) capacity registered to your cluster.
A service can use either a launch type or a capacity provider strategy. If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
The infrastructure that you run your service on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
The FARGATE
launch type runs your tasks on Fargate On-Demand infrastructure.
Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS User Guide for Fargate.
The EC2
launch type runs your tasks on Amazon EC2 instances registered to your cluster.
The EXTERNAL
launch type runs your tasks on your on-premises server or virtual machine (VM) capacity registered to your cluster.
A service can use either a launch type or a capacity provider strategy. If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
", "ListServicesRequest$launchType": "The launch type to use when filtering the ListServices
results.
The launch type to use when filtering the ListTasks
results.
The infrastructure to run your standalone task on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
The FARGATE
launch type runs your tasks on Fargate On-Demand infrastructure.
Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS User Guide for Fargate.
The EC2
launch type runs your tasks on Amazon EC2 instances registered to your cluster.
The EXTERNAL
launch type runs your tasks on your on-premises server or virtual machine (VM) capacity registered to your cluster.
A task can use either a launch type or a capacity provider strategy. If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
When you use cluster auto scaling, you must specify capacityProviderStrategy
and not launchType
.
The infrastructure to run your standalone task on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
The FARGATE
launch type runs your tasks on Fargate On-Demand infrastructure.
Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS Developer Guide.
The EC2
launch type runs your tasks on Amazon EC2 instances registered to your cluster.
The EXTERNAL
launch type runs your tasks on your on-premises server or virtual machine (VM) capacity registered to your cluster.
A task can use either a launch type or a capacity provider strategy. If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
When you use cluster auto scaling, you must specify capacityProviderStrategy
and not launchType
.
The launch type the service is using. When using the DescribeServices API, this field is omitted if the service was created using a capacity provider strategy.
", "Task$launchType": "The infrastructure where your task runs on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
", "TaskSet$launchType": "The launch type the tasks in the task set are using. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
" @@ -2287,7 +2287,7 @@ "ListTasksResponse$nextToken": "The nextToken
value to include in a future ListTasks
request. When the results of a ListTasks
request exceed maxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set.
A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer.
For services using the ECS
deployment controller, you can specify one or multiple target groups. For more information, see Registering multiple target groups with a service in the Amazon Elastic Container Service Developer Guide.
For services using the CODE_DEPLOY
deployment controller, you're required to define two target groups for the load balancer. For more information, see Blue/green deployment with CodeDeploy in the Amazon Elastic Container Service Developer Guide.
If your service's task definition uses the awsvpc
network mode, you must choose ip
as the target type, not instance
. Do this when creating your target groups because tasks that use the awsvpc
network mode are associated with an elastic network interface, not an Amazon EC2 instance. This network mode is required for the Fargate launch type.
The name of the load balancer to associate with the Amazon ECS service or task set.
If you are using an Application Load Balancer or a Network Load Balancer the load balancer name parameter should be omitted.
", - "LoadBalancer$containerName": "The name of the container (as it appears in a container definition) to associate with the load balancer.
", + "LoadBalancer$containerName": "The name of the container (as it appears in a container definition) to associate with the load balancer.
You need to specify the container name when configuring the target group for an Amazon ECS load balancer.
", "LogConfigurationOptionsMap$key": null, "LogConfigurationOptionsMap$value": null, "ManagedAgent$reason": "The reason for why the managed agent is in the state it is in.
", @@ -2536,7 +2536,7 @@ } }, "SystemControl": { - "base": "A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in the Create a container section of the Docker Remote API and the --sysctl
option to docker run.
We don't recommend that you specify network-related systemControls
parameters for multiple containers in a single task. This task also uses either the awsvpc
or host
network mode. It does it for the following reasons.
For tasks that use the awsvpc
network mode, if you set systemControls
for any container, it applies to all containers in the task. If you set different systemControls
for multiple containers in a single task, the container that's started last determines which systemControls
take effect.
For tasks that use the host
network mode, the systemControls
parameter applies to the container instance's kernel parameter and that of all containers of any tasks running on that container instance.
A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in the Create a container section of the Docker Remote API and the --sysctl
option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time
setting to maintain longer lived connections.
We don't recommend that you specify network-related systemControls
parameters for multiple containers in a single task that also uses either the awsvpc
or host
network mode. Doing this has the following disadvantages:
For tasks that use the awsvpc
network mode including Fargate, if you set systemControls
for any container, it applies to all containers in the task. If you set different systemControls
for multiple containers in a single task, the container that's started last determines which systemControls
take effect.
For tasks that use the host
network mode, the network namespace systemControls
aren't supported.
If you're setting an IPC resource namespace to use for the containers in the task, the following conditions apply to your system controls. For more information, see IPC mode.
For tasks that use the host
IPC mode, IPC namespace systemControls
aren't supported.
For tasks that use the task
IPC mode, IPC namespace systemControls
values apply to all containers within a task.
This parameter is not supported for Windows containers.
This parameter is only supported for tasks that are hosted on Fargate if the tasks are using platform version 1.4.0
or later (Linux). This isn't supported for Windows containers on Fargate.
A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in the Create a container section of the Docker Remote API and the --sysctl
option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time
setting to maintain longer lived connections.
We don't recommended that you specify network-related systemControls
parameters for multiple containers in a single task that also uses either the awsvpc
or host
network modes. For tasks that use the awsvpc
network mode, the container that's started last determines which systemControls
parameters take effect. For tasks that use the host
network mode, it changes the container instance's namespaced kernel parameters as well as the containers.
This parameter is not supported for Windows containers.
This parameter is only supported for tasks that are hosted on Fargate if the tasks are using platform version 1.4.0
or later (Linux). This isn't supported for Windows containers on Fargate.
A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in the Create a container section of the Docker Remote API and the --sysctl
option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time
setting to maintain longer lived connections.
The stop code indicating why a task was stopped. The stoppedReason
might contain additional details.
For more information about stop code, see Stopped tasks error codes in the Amazon ECS User Guide.
" + "Task$stopCode": "The stop code indicating why a task was stopped. The stoppedReason
might contain additional details.
For more information about stop code, see Stopped tasks error codes in the Amazon ECS Developer Guide.
" } }, "TaskVolumeConfiguration": { diff --git a/models/apis/es/2015-01-01/api-2.json b/models/apis/es/2015-01-01/api-2.json index fa22438d79d..70dd15af159 100644 --- a/models/apis/es/2015-01-01/api-2.json +++ b/models/apis/es/2015-01-01/api-2.json @@ -72,6 +72,22 @@ {"shape":"BaseException"} ] }, + "CancelDomainConfigChange":{ + "name":"CancelDomainConfigChange", + "http":{ + "method":"POST", + "requestUri":"/2015-01-01/es/domain/{DomainName}/config/cancel" + }, + "input":{"shape":"CancelDomainConfigChangeRequest"}, + "output":{"shape":"CancelDomainConfigChangeResponse"}, + "errors":[ + {"shape":"BaseException"}, + {"shape":"InternalException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"DisabledOperationException"} + ] + }, "CancelElasticsearchServiceSoftwareUpdate":{ "name":"CancelElasticsearchServiceSoftwareUpdate", "http":{ @@ -1058,6 +1074,26 @@ "exception":true }, "Boolean":{"type":"boolean"}, + "CancelDomainConfigChangeRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "DryRun":{"shape":"DryRun"} + } + }, + "CancelDomainConfigChangeResponse":{ + "type":"structure", + "members":{ + "DryRun":{"shape":"DryRun"}, + "CancelledChangeIds":{"shape":"GUIDList"}, + "CancelledChangeProperties":{"shape":"CancelledChangePropertyList"} + } + }, "CancelElasticsearchServiceSoftwareUpdateRequest":{ "type":"structure", "required":["DomainName"], @@ -1071,11 +1107,27 @@ "ServiceSoftwareOptions":{"shape":"ServiceSoftwareOptions"} } }, + "CancelledChangeProperty":{ + "type":"structure", + "members":{ + "PropertyName":{"shape":"String"}, + "CancelledValue":{"shape":"String"}, + "ActiveValue":{"shape":"String"} + } + }, + "CancelledChangePropertyList":{ + "type":"list", + "member":{"shape":"CancelledChangeProperty"} + }, "ChangeProgressDetails":{ "type":"structure", "members":{ "ChangeId":{"shape":"GUID"}, - "Message":{"shape":"Message"} + "Message":{"shape":"Message"}, + "ConfigChangeStatus":{"shape":"ConfigChangeStatus"}, + "StartTime":{"shape":"UpdateTimestamp"}, + "LastUpdatedTime":{"shape":"UpdateTimestamp"}, + "InitiatedBy":{"shape":"InitiatedBy"} } }, "ChangeProgressStage":{ @@ -1110,7 +1162,10 @@ "PendingProperties":{"shape":"StringList"}, "CompletedProperties":{"shape":"StringList"}, "TotalNumberOfStages":{"shape":"TotalNumberOfStages"}, - "ChangeProgressStages":{"shape":"ChangeProgressStageList"} + "ChangeProgressStages":{"shape":"ChangeProgressStageList"}, + "ConfigChangeStatus":{"shape":"ConfigChangeStatus"}, + "LastUpdatedTime":{"shape":"UpdateTimestamp"}, + "InitiatedBy":{"shape":"InitiatedBy"} } }, "ClientToken":{ @@ -1161,6 +1216,19 @@ "TargetVersions":{"shape":"ElasticsearchVersionList"} } }, + "ConfigChangeStatus":{ + "type":"string", + "enum":[ + "Pending", + "Initializing", + "Validating", + "ValidationFailed", + "ApplyingChanges", + "Completed", + "PendingUserInput", + "Cancelled" + ] + }, "ConflictException":{ "type":"structure", "members":{ @@ -1764,6 +1832,18 @@ "DISSOCIATION_FAILED" ] }, + "DomainProcessingStatusType":{ + "type":"string", + "enum":[ + "Creating", + "Active", + "Modifying", + "UpgradingEngineVersion", + "UpdatingServiceSoftware", + "Isolated", + "Deleting" + ] + }, "Double":{"type":"double"}, "DryRun":{"type":"boolean"}, "DryRunResults":{ @@ -1920,7 +2000,8 @@ "DomainEndpointOptions":{"shape":"DomainEndpointOptionsStatus"}, "AdvancedSecurityOptions":{"shape":"AdvancedSecurityOptionsStatus"}, "AutoTuneOptions":{"shape":"AutoTuneOptionsStatus"}, - "ChangeProgressDetails":{"shape":"ChangeProgressDetails"} + "ChangeProgressDetails":{"shape":"ChangeProgressDetails"}, + "ModifyingProperties":{"shape":"ModifyingPropertiesList"} } }, "ElasticsearchDomainStatus":{ @@ -1956,7 +2037,9 @@ "DomainEndpointOptions":{"shape":"DomainEndpointOptions"}, "AdvancedSecurityOptions":{"shape":"AdvancedSecurityOptions"}, "AutoTuneOptions":{"shape":"AutoTuneOptionsOutput"}, - "ChangeProgressDetails":{"shape":"ChangeProgressDetails"} + "ChangeProgressDetails":{"shape":"ChangeProgressDetails"}, + "DomainProcessingStatus":{"shape":"DomainProcessingStatusType"}, + "ModifyingProperties":{"shape":"ModifyingPropertiesList"} } }, "ElasticsearchDomainStatusList":{ @@ -2044,6 +2127,10 @@ "type":"string", "pattern":"\\p{XDigit}{8}-\\p{XDigit}{4}-\\p{XDigit}{4}-\\p{XDigit}{4}-\\p{XDigit}{12}" }, + "GUIDList":{ + "type":"list", + "member":{"shape":"GUID"} + }, "GetCompatibleElasticsearchVersionsRequest":{ "type":"structure", "members":{ @@ -2173,6 +2260,13 @@ "type":"list", "member":{"shape":"InboundCrossClusterSearchConnection"} }, + "InitiatedBy":{ + "type":"string", + "enum":[ + "CUSTOMER", + "SERVICE" + ] + }, "InstanceCount":{ "type":"integer", "min":1 @@ -2517,6 +2611,19 @@ "min":0 }, "MinimumInstanceCount":{"type":"integer"}, + "ModifyingProperties":{ + "type":"structure", + "members":{ + "Name":{"shape":"String"}, + "ActiveValue":{"shape":"String"}, + "PendingValue":{"shape":"String"}, + "ValueType":{"shape":"PropertyValueType"} + } + }, + "ModifyingPropertiesList":{ + "type":"list", + "member":{"shape":"ModifyingProperties"} + }, "NextToken":{"type":"string"}, "NodeToNodeEncryptionOptions":{ "type":"structure", @@ -2689,6 +2796,13 @@ "AWS_SERVICE" ] }, + "PropertyValueType":{ + "type":"string", + "enum":[ + "PLAIN_TEXT", + "STRINGIFIED_JSON" + ] + }, "PurchaseReservedElasticsearchInstanceOfferingRequest":{ "type":"structure", "required":[ diff --git a/models/apis/es/2015-01-01/docs-2.json b/models/apis/es/2015-01-01/docs-2.json index e029b54f61a..b888fab5e21 100644 --- a/models/apis/es/2015-01-01/docs-2.json +++ b/models/apis/es/2015-01-01/docs-2.json @@ -6,6 +6,7 @@ "AddTags": "Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
", "AssociatePackage": "Associates a package with an Amazon ES domain.
", "AuthorizeVpcEndpointAccess": "Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
", + "CancelDomainConfigChange": "Cancels a pending configuration change on an Amazon OpenSearch Service domain.
", "CancelElasticsearchServiceSoftwareUpdate": "Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the AutomatedUpdateDate
and when the UpdateStatus
is in the PENDING_UPDATE
state.
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
", "CreateOutboundCrossClusterSearchConnection": "Creates a new cross-cluster search connection from a source domain to a destination domain.
", @@ -313,6 +314,16 @@ "UpgradeElasticsearchDomainResponse$PerformCheckOnly": "This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
" } }, + "CancelDomainConfigChangeRequest": { + "base": "Container for parameters of the CancelDomainConfigChange
operation.
Contains the details of the cancelled domain config change.
", + "refs": { + } + }, "CancelElasticsearchServiceSoftwareUpdateRequest": { "base": "Container for the parameters to the CancelElasticsearchServiceSoftwareUpdate
operation. Specifies the name of the Elasticsearch domain that you wish to cancel a service software update on.
A property change that was cancelled for an Amazon OpenSearch Service domain.
", + "refs": { + "CancelledChangePropertyList$member": null + } + }, + "CancelledChangePropertyList": { + "base": null, + "refs": { + "CancelDomainConfigChangeResponse$CancelledChangeProperties": "The domain change properties that were cancelled.
" + } + }, "ChangeProgressDetails": { "base": "Specifies change details of the domain configuration change.
", "refs": { @@ -413,6 +436,13 @@ "CompatibleElasticsearchVersionsList$member": null } }, + "ConfigChangeStatus": { + "base": null, + "refs": { + "ChangeProgressDetails$ConfigChangeStatus": "The current status of the configuration change.
", + "ChangeProgressStatusDetails$ConfigChangeStatus": "The current status of the configuration change.
" + } + }, "ConflictException": { "base": "An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.
", "refs": { @@ -796,6 +826,7 @@ "refs": { "AssociatePackageRequest$DomainName": "Name of the domain that you want to associate the package with.
", "AuthorizeVpcEndpointAccessRequest$DomainName": "The name of the OpenSearch Service domain to provide access to.
", + "CancelDomainConfigChangeRequest$DomainName": "Name of the OpenSearch Service domain configuration request to cancel.
", "CancelElasticsearchServiceSoftwareUpdateRequest$DomainName": "The name of the domain that you want to stop the latest service software update on.
", "CreateElasticsearchDomainRequest$DomainName": "The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
", "DeleteElasticsearchDomainRequest$DomainName": "The name of the Elasticsearch domain that you want to permanently delete.
", @@ -857,6 +888,12 @@ "DomainPackageDetails$DomainPackageStatus": "State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
" } }, + "DomainProcessingStatusType": { + "base": null, + "refs": { + "ElasticsearchDomainStatus$DomainProcessingStatus": "The status of any changes that are currently in progress for the domain.
" + } + }, "Double": { "base": null, "refs": { @@ -871,6 +908,8 @@ "DryRun": { "base": null, "refs": { + "CancelDomainConfigChangeRequest$DryRun": "When set to True, returns the list of change IDs and properties that will be cancelled without actually cancelling the change.
", + "CancelDomainConfigChangeResponse$DryRun": "Whether or not the request was a dry run. If True, the changes were not actually cancelled.
", "UpdateElasticsearchDomainConfigRequest$DryRun": " This flag, when set to True, specifies whether the UpdateElasticsearchDomain
request should return the results of validation checks without actually applying the change. This flag, when set to True, specifies the deployment mechanism through which the update shall be applied on the domain. This will not actually perform the Update.
The specific change ID for which you want to get progress information. This is an optional parameter. If omitted, the service returns information about the most recent configuration change.
", "DescribeReservedElasticsearchInstanceOfferingsRequest$ReservedElasticsearchInstanceOfferingId": "The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.
", "DescribeReservedElasticsearchInstancesRequest$ReservedElasticsearchInstanceId": "The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.
", + "GUIDList$member": null, "PurchaseReservedElasticsearchInstanceOfferingRequest$ReservedElasticsearchInstanceOfferingId": "The ID of the reserved Elasticsearch instance offering to purchase.
", "PurchaseReservedElasticsearchInstanceOfferingResponse$ReservedElasticsearchInstanceId": "Details of the reserved Elasticsearch instance which was purchased.
", "ReservedElasticsearchInstance$ReservedElasticsearchInstanceId": "The unique identifier for the reservation.
", "ReservedElasticsearchInstanceOffering$ReservedElasticsearchInstanceOfferingId": "The Elasticsearch reserved instance offering identifier.
" } }, + "GUIDList": { + "base": null, + "refs": { + "CancelDomainConfigChangeResponse$CancelledChangeIds": "The unique identifiers of the changes that were cancelled.
" + } + }, "GetCompatibleElasticsearchVersionsRequest": { "base": " Container for request parameters to GetCompatibleElasticsearchVersions
operation.
Consists of list of InboundCrossClusterSearchConnection
matching the specified filter criteria.
The IAM principal who initiated the configuration change.
", + "ChangeProgressStatusDetails$InitiatedBy": "The IAM principal who initiated the configuration change.
" + } + }, "InstanceCount": { "base": "Specifies the number of EC2 instances in the Elasticsearch domain.
", "refs": { @@ -1432,6 +1485,19 @@ "InstanceCountLimits$MinimumInstanceCount": null } }, + "ModifyingProperties": { + "base": "Information about the domain properties that are currently being modified.
", + "refs": { + "ModifyingPropertiesList$member": null + } + }, + "ModifyingPropertiesList": { + "base": null, + "refs": { + "ElasticsearchDomainConfig$ModifyingProperties": "Information about the domain properties that are currently being modified.
", + "ElasticsearchDomainStatus$ModifyingProperties": "Information about the domain properties that are currently being modified.
" + } + }, "NextToken": { "base": "Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
", "refs": { @@ -1652,6 +1718,12 @@ "AuthorizedPrincipal$PrincipalType": "The type of principal.
" } }, + "PropertyValueType": { + "base": null, + "refs": { + "ModifyingProperties$ValueType": "The type of value that is currently being modified. Properties can have two types:
Container for parameters to PurchaseReservedElasticsearchInstanceOffering
Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
", "AutoTuneOptionsOutput$ErrorMessage": "Specifies the error message while enabling or disabling the Auto-Tune.
", "AutoTuneStatus$ErrorMessage": "Specifies the error message while enabling or disabling the Auto-Tune options.
", + "CancelledChangeProperty$PropertyName": "The name of the property whose change was cancelled.
", + "CancelledChangeProperty$CancelledValue": "The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
", + "CancelledChangeProperty$ActiveValue": "The current value of the property, after the change was cancelled.
", "DescribePackagesResponse$NextToken": null, "DescribeReservedElasticsearchInstancesResponse$NextToken": "Provides an identifier to allow retrieval of paginated results.
", "EndpointsMap$key": null, @@ -1944,6 +2019,9 @@ "GetUpgradeHistoryResponse$NextToken": "Pagination token that needs to be supplied to the next call to get the next page of results
", "ListDomainsForPackageResponse$NextToken": null, "ListPackagesForDomainResponse$NextToken": "Pagination token that needs to be supplied to the next call to get the next page of results.
", + "ModifyingProperties$Name": "The name of the property that is currently being modified.
", + "ModifyingProperties$ActiveValue": "The current value of the domain property that is being modified.
", + "ModifyingProperties$PendingValue": "The value that the property that is currently being modified will eventually have.
", "RecurringCharge$RecurringChargeFrequency": "The frequency of the recurring charge.
", "ReservedElasticsearchInstance$ReservedElasticsearchInstanceOfferingId": "The offering identifier.
", "ReservedElasticsearchInstance$CurrencyCode": "The currency code for the reserved Elasticsearch instance offering.
", @@ -2051,7 +2129,10 @@ "refs": { "AutoTuneStatus$CreationDate": "Timestamp which tells Auto-Tune options creation date .
", "AutoTuneStatus$UpdateDate": "Timestamp which tells Auto-Tune options last updated time.
", + "ChangeProgressDetails$StartTime": "The time that the configuration change was initiated, in Universal Coordinated Time (UTC).
", + "ChangeProgressDetails$LastUpdatedTime": "The last time that the configuration change was updated.
", "ChangeProgressStatusDetails$StartTime": "The time at which the configuration change is made on the domain.
", + "ChangeProgressStatusDetails$LastUpdatedTime": "The last time that the status of the configuration change was updated.
", "OptionStatus$CreationDate": "Timestamp which tells the creation date for the entity.
", "OptionStatus$UpdateDate": "Timestamp which tells the last updated time for the entity.
", "ReservedElasticsearchInstance$StartTime": "The time the reservation started.
" diff --git a/models/apis/logs/2014-03-28/api-2.json b/models/apis/logs/2014-03-28/api-2.json index f20ac81965f..72a8ee58a39 100644 --- a/models/apis/logs/2014-03-28/api-2.json +++ b/models/apis/logs/2014-03-28/api-2.json @@ -2354,7 +2354,8 @@ "kmsKeyId":{"shape":"KmsKeyId"}, "dataProtectionStatus":{"shape":"DataProtectionStatus"}, "inheritedProperties":{"shape":"InheritedProperties"}, - "logGroupClass":{"shape":"LogGroupClass"} + "logGroupClass":{"shape":"LogGroupClass"}, + "logGroupArn":{"shape":"Arn"} } }, "LogGroupArn":{ diff --git a/models/apis/logs/2014-03-28/docs-2.json b/models/apis/logs/2014-03-28/docs-2.json index 85659b20869..714cd5a9cca 100644 --- a/models/apis/logs/2014-03-28/docs-2.json +++ b/models/apis/logs/2014-03-28/docs-2.json @@ -7,7 +7,7 @@ "CreateDelivery": "Creates a delivery. A delivery is a connection between a logical delivery source and a logical delivery destination that you have already created.
Only some Amazon Web Services services support being configured as a delivery source using this operation. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services.
A delivery destination can represent a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Kinesis Data Firehose.
To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:
Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource.
Create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination.
If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination.
Use CreateDelivery
to create a delivery by pairing exactly one delivery source and one delivery destination.
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
You can't update an existing delivery. You can only create and delete deliveries.
", "CreateExportTask": "Creates an export task so that you can efficiently export data from a log group to an Amazon S3 bucket. When you perform a CreateExportTask
operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination.
Exporting log data to S3 buckets that are encrypted by KMS is supported. Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported.
Exporting to S3 buckets that are encrypted with AES-256 is supported.
This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use DescribeExportTasks to get the status of the export task. Each account can only have one active (RUNNING
or PENDING
) export task at a time. To cancel an export task, use CancelExportTask.
You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate log data for each export task, specify a prefix to be used as the Amazon S3 key prefix for all exported objects.
Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the exported log field data by using Linux utilities.
Creates an anomaly detector that regularly scans one or more log groups and look for patterns and anomalies in the logs.
An anomaly detector can help surface issues by automatically discovering anomalies in your log event traffic. An anomaly detector uses machine learning algorithms to scan log events and find patterns. A pattern is a shared text structure that recurs among your log fields. Patterns provide a useful tool for analyzing large sets of logs because a large number of log events can often be compressed into a few patterns.
The anomaly detector uses pattern recognition to find anomalies
, which are unusual log events. It uses the evaluationFrequency
to compare current log events and patterns with trained baselines.
Fields within a pattern are called tokens. Fields that vary within a pattern, such as a request ID or timestamp, are referred to as dynamic tokens and represented by <*>
.
The following is an example of a pattern:
[INFO] Request time: <*> ms
This pattern represents log events like [INFO] Request time: 327 ms
and other similar log events that differ only by the number, in this csse 327. When the pattern is displayed, the different numbers are replaced by <*>
Any parts of log events that are masked as sensitive data are not scanned for anomalies. For more information about masking sensitive data, see Help protect sensitive log data with masking.
Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
Log group names can't start with the string aws/
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates a log stream for the specified log group. A log stream is a sequence of log events that originate from a single source, such as an application instance or a resource that is being monitored.
There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on CreateLogStream
operations, after which transactions are throttled.
You must use the following guidelines when naming a log stream:
Log stream names must be unique within the log group.
Log stream names can be between 1 and 512 characters long.
Don't use ':' (colon) or '*' (asterisk) characters.
Deletes a CloudWatch Logs account policy. This stops the policy from applying to all log groups or a subset of log groups in the account. Log-group level policies will still be in effect.
To use this operation, you must be signed on with the correct permissions depending on the type of policy that you are deleting.
To delete a data protection policy, you must have the logs:DeleteDataProtectionPolicy
and logs:DeleteAccountPolicy
permissions.
To delete a subscription filter policy, you must have the logs:DeleteSubscriptionFilter
and logs:DeleteAccountPolicy
permissions.
Deletes the data protection policy from the specified log group.
For more information about data protection policies, see PutDataProtectionPolicy.
", @@ -25,7 +25,7 @@ "DeleteRetentionPolicy": "Deletes the specified retention policy.
Log events do not expire if they belong to log groups without a retention policy.
", "DeleteSubscriptionFilter": "Deletes the specified subscription filter.
", "DescribeAccountPolicies": "Returns a list of all CloudWatch Logs account policies in the account.
", - "DescribeDeliveries": "Retrieves a list of the deliveries that have been created in the account.
", + "DescribeDeliveries": "Retrieves a list of the deliveries that have been created in the account.
A delivery is a connection between a delivery source and a delivery destination .
A delivery source represents an Amazon Web Services resource that sends logs to an logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some Amazon Web Services services support being configured as a delivery source. These services are listed in Enable logging from Amazon Web Services services.
", "DescribeDeliveryDestinations": "Retrieves a list of the delivery destinations that have been created in the account.
", "DescribeDeliverySources": "Retrieves a list of the delivery sources that have been created in the account.
", "DescribeDestinations": "Lists all your destinations. The results are ASCII-sorted by destination name.
", @@ -40,7 +40,7 @@ "DisassociateKmsKey": "Disassociates the specified KMS key from the specified log group or from all CloudWatch Logs Insights query results in the account.
When you use DisassociateKmsKey
, you specify either the logGroupName
parameter or the resourceIdentifier
parameter. You can't specify both of those parameters in the same operation.
Specify the logGroupName
parameter to stop using the KMS key to encrypt future log events ingested and stored in the log group. Instead, they will be encrypted with the default CloudWatch Logs method. The log events that were ingested while the key was associated with the log group are still encrypted with that key. Therefore, CloudWatch Logs will need permissions for the key whenever that data is accessed.
Specify the resourceIdentifier
parameter with the query-result
resource to stop using the KMS key to encrypt the results of all future StartQuery operations in the account. They will instead be encrypted with the default CloudWatch Logs method. The results from queries that ran while the key was associated with the account are still encrypted with that key. Therefore, CloudWatch Logs will need permissions for the key whenever that data is accessed.
It can take up to 5 minutes for this operation to take effect.
", "FilterLogEvents": "Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream.
You must have the logs:FilterLogEvents
permission to perform this operation.
You can specify the log group to search by using either logGroupIdentifier
or logGroupName
. You must include one of these two parameters, but you can't include both.
By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events) or all the events found within the specified time range. If the results include a token, that means there are more log events available. You can get additional results by specifying the token in a subsequent call. This operation can return empty results while there are more log events available through the token.
The returned log events are sorted by event timestamp, the timestamp when the event was ingested by CloudWatch Logs, and the ID of the PutLogEvents
request.
If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.
", "GetDataProtectionPolicy": "Returns information about a log group data protection policy.
", - "GetDelivery": "Returns complete information about one delivery. A delivery is a connection between a logical delivery source and a logical delivery destination
You need to specify the delivery id
in this operation. You can find the IDs of the deliveries in your account with the DescribeDeliveries operation.
Returns complete information about one logical delivery. A delivery is a connection between a delivery source and a delivery destination .
A delivery source represents an Amazon Web Services resource that sends logs to an logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some Amazon Web Services services support being configured as a delivery source. These services are listed in Enable logging from Amazon Web Services services.
You need to specify the delivery id
in this operation. You can find the IDs of the deliveries in your account with the DescribeDeliveries operation.
Retrieves complete information about one delivery destination.
", "GetDeliveryDestinationPolicy": "Retrieves the delivery destination policy assigned to the delivery destination that you specify. For more information about delivery destinations and their policies, see PutDeliveryDestinationPolicy.
", "GetDeliverySource": "Retrieves complete information about one delivery source.
", @@ -203,7 +203,8 @@ "DeliveryDestinationConfiguration$destinationResourceArn": "The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Kinesis Data Firehose.
", "DeliverySource$arn": "The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
", "Destination$arn": "The ARN of this destination.
", - "LogGroup$arn": "The Amazon Resource Name (ARN) of the log group.
", + "LogGroup$arn": "The Amazon Resource Name (ARN) of the log group. This version of the ARN includes a trailing :*
after the log group name.
Use this version to refer to the ARN in IAM policies when specifying permissions for most API actions. The exception is when specifying permissions for TagResource, UntagResource, and ListTagsForResource. The permissions for those three actions require the ARN version that doesn't include a trailing :*
.
The Amazon Resource Name (ARN) of the log group. This version of the ARN doesn't include a trailing :*
after the log group name.
Use this version to refer to the ARN in the following situations:
In the logGroupIdentifier
input field in many CloudWatch Logs APIs.
In the resourceArn
field in tagging APIs
In IAM policies, when specifying permissions for TagResource, UntagResource, and ListTagsForResource.
The Amazon Resource Name (ARN) of the log stream.
", "PutDeliverySourceRequest$resourceArn": "The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
", - "PutDeliverySourceRequest$logType": "Defines the type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
" + "PutDeliverySourceRequest$logType": "Defines the type of log that the source is sending. For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.
", "AssociatePackage": "Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
", "AuthorizeVpcEndpointAccess": "Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
", + "CancelDomainConfigChange": "Cancels a pending configuration change on an Amazon OpenSearch Service domain.
", "CancelServiceSoftwareUpdate": "Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the AutomatedUpdateDate
and when the domain's UpdateStatus
is PENDING_UPDATE
. For more information, see Service software updates in Amazon OpenSearch Service.
Creates an Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.
", "CreateOutboundConnection": "Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
", @@ -404,6 +405,16 @@ "UpgradeDomainResponse$PerformCheckOnly": "When true, indicates that an upgrade eligibility check was performed.
" } }, + "CancelDomainConfigChangeRequest": { + "base": null, + "refs": { + } + }, + "CancelDomainConfigChangeResponse": { + "base": null, + "refs": { + } + }, "CancelServiceSoftwareUpdateRequest": { "base": "Container for the request parameters to cancel a service software update.
", "refs": { @@ -414,6 +425,18 @@ "refs": { } }, + "CancelledChangeProperty": { + "base": "A property change that was cancelled for an Amazon OpenSearch Service domain.
", + "refs": { + "CancelledChangePropertyList$member": null + } + }, + "CancelledChangePropertyList": { + "base": null, + "refs": { + "CancelDomainConfigChangeResponse$CancelledChangeProperties": "The domain change properties that were cancelled.
" + } + }, "ChangeProgressDetails": { "base": "Container for information about a configuration change happening on a domain.
", "refs": { @@ -519,6 +542,13 @@ "CompatibleVersionsList$member": null } }, + "ConfigChangeStatus": { + "base": null, + "refs": { + "ChangeProgressDetails$ConfigChangeStatus": "The current status of the configuration change.
", + "ChangeProgressStatusDetails$ConfigChangeStatus": "The current status of the configuration change.
" + } + }, "ConflictException": { "base": "An error occurred because the client attempts to remove a resource that is currently in use.
", "refs": { @@ -1038,6 +1068,7 @@ "AddDataSourceRequest$DomainName": "The name of the domain to add the data source to.
", "AssociatePackageRequest$DomainName": "Name of the domain to associate the package with.
", "AuthorizeVpcEndpointAccessRequest$DomainName": "The name of the OpenSearch Service domain to provide access to.
", + "CancelDomainConfigChangeRequest$DomainName": null, "CancelServiceSoftwareUpdateRequest$DomainName": "Name of the OpenSearch Service domain that you want to cancel the service software update on.
", "CreateDomainRequest$DomainName": "Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.
", "DeleteDataSourceRequest$DomainName": "The name of the domain.
", @@ -1123,6 +1154,12 @@ "DomainPackageDetails$DomainPackageStatus": "State of the association.
" } }, + "DomainProcessingStatusType": { + "base": null, + "refs": { + "DomainStatus$DomainProcessingStatus": "The status of any changes that are currently in progress for the domain.
" + } + }, "DomainState": { "base": null, "refs": { @@ -1159,6 +1196,8 @@ "DryRun": { "base": null, "refs": { + "CancelDomainConfigChangeRequest$DryRun": "When set to True
, returns the list of change IDs and properties that will be cancelled without actually cancelling the change.
Whether or not the request was a dry run. If True
, the changes were not actually cancelled.
This flag, when set to True, specifies whether the UpdateDomain
request should return the results of a dry run analysis without actually applying the change. A dry run determines what type of deployment the update will cause.
Specifies whether the domain should encrypt data at rest, and if so, the Key Management Service (KMS) key to use. Can be used only to create a new domain, not update an existing one.
", + "base": "Specifies whether the domain should encrypt data at rest, and if so, the Key Management Service (KMS) key to use. Can only be used when creating a new domain or enabling encryption at rest for the first time on an existing domain. You can't modify this parameter after it's already been specified.
", "refs": { "CreateDomainRequest$EncryptionAtRestOptions": "Key-value pairs to enable encryption at rest.
", "DomainStatus$EncryptionAtRestOptions": "Encryption at rest settings for the domain.
", @@ -1305,12 +1344,19 @@ "DescribeReservedInstanceOfferingsRequest$ReservedInstanceOfferingId": "The Reserved Instance identifier filter value. Use this parameter to show only the available instance types that match the specified reservation identifier.
", "DescribeReservedInstancesRequest$ReservedInstanceId": "The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.
", "DryRunProgressStatus$DryRunId": "The unique identifier of the dry run.
", + "GUIDList$member": null, "PurchaseReservedInstanceOfferingRequest$ReservedInstanceOfferingId": "The ID of the Reserved Instance offering to purchase.
", "PurchaseReservedInstanceOfferingResponse$ReservedInstanceId": "The ID of the Reserved Instance offering that was purchased.
", "ReservedInstance$ReservedInstanceId": "The unique identifier for the reservation.
", "ReservedInstanceOffering$ReservedInstanceOfferingId": "The unique identifier of the Reserved Instance offering.
" } }, + "GUIDList": { + "base": null, + "refs": { + "CancelDomainConfigChangeResponse$CancelledChangeIds": "The unique identifiers of the changes that were cancelled.
" + } + }, "GetCompatibleVersionsRequest": { "base": "Container for the request parameters to GetCompatibleVersions
operation.
List of inbound connections.
" } }, + "InitiatedBy": { + "base": null, + "refs": { + "ChangeProgressDetails$InitiatedBy": "The IAM principal who initiated the configuration change.
", + "ChangeProgressStatusDetails$InitiatedBy": "The IAM principal who initiated the configuration change.
" + } + }, "InstanceCount": { "base": "Number of instances in an OpenSearch Service cluster.
", "refs": { @@ -1800,6 +1853,19 @@ "InstanceCountLimits$MinimumInstanceCount": "The maximum allowed number of instances.
" } }, + "ModifyingProperties": { + "base": "Information about the domain properties that are currently being modified.
", + "refs": { + "ModifyingPropertiesList$member": null + } + }, + "ModifyingPropertiesList": { + "base": null, + "refs": { + "DomainConfig$ModifyingProperties": "Information about the domain properties that are currently being modified.
", + "DomainStatus$ModifyingProperties": "Information about the domain properties that are currently being modified.
" + } + }, "NextToken": { "base": "When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
The type of principal.
" } }, + "PropertyValueType": { + "base": null, + "refs": { + "ModifyingProperties$ValueType": "The type of value that is currently being modified. Properties can have two types:
PLAIN_TEXT
: Contain direct values such as \"1\", \"True\", or \"c5.large.search\".
STRINGIFIED_JSON
: Contain content in JSON format, such as {\"Enabled\":\"True\"}\".
Container for request parameters to the PurchaseReservedInstanceOffering
operation.
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
", "AutoTuneOptionsOutput$ErrorMessage": "Any errors that occurred while enabling or disabling Auto-Tune.
", "AutoTuneStatus$ErrorMessage": "Any errors that occurred while enabling or disabling Auto-Tune.
", + "CancelledChangeProperty$PropertyName": "The name of the property whose change was cancelled.
", + "CancelledChangeProperty$CancelledValue": "The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
", + "CancelledChangeProperty$ActiveValue": "The current value of the property, after the change was cancelled.
", "DeleteDataSourceResponse$Message": "A message associated with deletion of the data source.
", "DescribePackagesResponse$NextToken": "When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
The name of the property that is currently being modified.
", + "ModifyingProperties$ActiveValue": "The current value of the domain property that is being modified.
", + "ModifyingProperties$PendingValue": "The value that the property that is currently being modified will eventually have.
", "RecurringCharge$RecurringChargeFrequency": "The frequency of the recurring charge.
", "ReservedInstance$ReservedInstanceOfferingId": "The unique identifier of the Reserved Instance offering.
", "ReservedInstance$CurrencyCode": "The currency code for the offering.
", @@ -2679,7 +2757,10 @@ "refs": { "AutoTuneStatus$CreationDate": "Date and time when Auto-Tune was enabled for the domain.
", "AutoTuneStatus$UpdateDate": "Date and time when the Auto-Tune options were last updated for the domain.
", + "ChangeProgressDetails$StartTime": "The time that the configuration change was initiated, in Universal Coordinated Time (UTC).
", + "ChangeProgressDetails$LastUpdatedTime": "The last time that the configuration change was updated.
", "ChangeProgressStatusDetails$StartTime": "The time at which the configuration change is made on the domain.
", + "ChangeProgressStatusDetails$LastUpdatedTime": "The last time that the status of the configuration change was updated.
", "DomainMaintenanceDetails$CreatedAt": "The time at which the action was created.
", "DomainMaintenanceDetails$UpdatedAt": "The time at which the action was updated.
", "GetDomainMaintenanceStatusResponse$CreatedAt": "The time at which the action was created.
", diff --git a/models/apis/wafv2/2019-07-29/api-2.json b/models/apis/wafv2/2019-07-29/api-2.json index a533391ffa2..d3df4db13cd 100755 --- a/models/apis/wafv2/2019-07-29/api-2.json +++ b/models/apis/wafv2/2019-07-29/api-2.json @@ -149,6 +149,22 @@ {"shape":"WAFExpiredManagedRuleGroupVersionException"} ] }, + "DeleteAPIKey":{ + "name":"DeleteAPIKey", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteAPIKeyRequest"}, + "output":{"shape":"DeleteAPIKeyResponse"}, + "errors":[ + {"shape":"WAFInternalErrorException"}, + {"shape":"WAFNonexistentItemException"}, + {"shape":"WAFOptimisticLockException"}, + {"shape":"WAFInvalidParameterException"}, + {"shape":"WAFInvalidOperationException"} + ] + }, "DeleteFirewallManagerRuleGroups":{ "name":"DeleteFirewallManagerRuleGroups", "http":{ @@ -1629,6 +1645,22 @@ "Allow":{"shape":"AllowAction"} } }, + "DeleteAPIKeyRequest":{ + "type":"structure", + "required":[ + "Scope", + "APIKey" + ], + "members":{ + "Scope":{"shape":"Scope"}, + "APIKey":{"shape":"APIKey"} + } + }, + "DeleteAPIKeyResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteFirewallManagerRuleGroupsRequest":{ "type":"structure", "required":[ diff --git a/models/apis/wafv2/2019-07-29/docs-2.json b/models/apis/wafv2/2019-07-29/docs-2.json index 9ea70292fd9..2cddc76b237 100755 --- a/models/apis/wafv2/2019-07-29/docs-2.json +++ b/models/apis/wafv2/2019-07-29/docs-2.json @@ -9,6 +9,7 @@ "CreateRegexPatternSet": "Creates a RegexPatternSet, which you reference in a RegexPatternSetReferenceStatement, to have WAF inspect a web request component for the specified patterns.
", "CreateRuleGroup": "Creates a RuleGroup per the specifications provided.
A rule group defines a collection of rules to inspect and control web requests that you can use in a WebACL. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.
", "CreateWebACL": "Creates a WebACL per the specifications provided.
A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
", + "DeleteAPIKey": "Deletes the specified API key.
After you delete a key, it can take up to 24 hours for WAF to disallow use of the key in all regions.
", "DeleteFirewallManagerRuleGroups": "Deletes all rule groups that are managed by Firewall Manager for the specified web ACL.
You can only use this if ManagedByFirewallManager
is false in the specified WebACL.
Deletes the specified IPSet.
", "DeleteLoggingConfiguration": "Deletes the LoggingConfiguration from the specified web ACL.
", @@ -62,6 +63,7 @@ "refs": { "APIKeySummary$APIKey": "The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.
", "CreateAPIKeyResponse$APIKey": "The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.
", + "DeleteAPIKeyRequest$APIKey": "The encrypted API key that you want to delete.
", "GetDecryptedAPIKeyRequest$APIKey": "The encrypted API key.
" } }, @@ -80,7 +82,7 @@ "APIKeyTokenDomains": { "base": null, "refs": { - "CreateAPIKeyRequest$TokenDomains": "The client application domains that you want to use this API key for.
Example JSON: \"TokenDomains\": [\"abc.com\", \"store.abc.com\"]
Public suffixes aren't allowed. For example, you can't use usa.gov
or co.uk
as token domains.
The client application domains that you want to use this API key for.
Example JSON: \"TokenDomains\": [\"abc.com\", \"store.abc.com\"]
Public suffixes aren't allowed. For example, you can't use gov.au
or co.uk
as token domains.
The action to perform if none of the Rules
contained in the WebACL
match.
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
The token domains that are defined in this API key.
", - "CreateWebACLRequest$TokenDomains": "Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
Example JSON: \"TokenDomains\": { \"mywebsite.com\", \"myotherwebsite.com\" }
Public suffixes aren't allowed. For example, you can't use usa.gov
or co.uk
as token domains.
Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
Example JSON: \"TokenDomains\": { \"mywebsite.com\", \"myotherwebsite.com\" }
Public suffixes aren't allowed. For example, you can't use gov.au
or co.uk
as token domains.
The token domains that are defined in this API key.
", - "UpdateWebACLRequest$TokenDomains": "Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
Example JSON: \"TokenDomains\": { \"mywebsite.com\", \"myotherwebsite.com\" }
Public suffixes aren't allowed. For example, you can't use usa.gov
or co.uk
as token domains.
Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
Example JSON: \"TokenDomains\": { \"mywebsite.com\", \"myotherwebsite.com\" }
Public suffixes aren't allowed. For example, you can't use gov.au
or co.uk
as token domains.
Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
" } }, diff --git a/models/apis/wafv2/2019-07-29/smoke.json b/models/apis/wafv2/2019-07-29/smoke.json index 672468473cc..3eea243184d 100755 --- a/models/apis/wafv2/2019-07-29/smoke.json +++ b/models/apis/wafv2/2019-07-29/smoke.json @@ -14,9 +14,14 @@ "operationName": "CreateRegexPatternSet", "input": { "Name": "fake_name", - "Scope": "fake_scope" + "Scope": "fake_scope", + "RegularExpressionList": [ + { + "RegexString": "fake_regex" + } + ] }, "errorExpectedFromService": true } ] -} \ No newline at end of file +} diff --git a/service/appsync/api.go b/service/appsync/api.go index ae441ac8856..a0705607ba8 100644 --- a/service/appsync/api.go +++ b/service/appsync/api.go @@ -3014,6 +3014,100 @@ func (c *AppSync) GetGraphqlApiWithContext(ctx aws.Context, input *GetGraphqlApi return out, req.Send() } +const opGetGraphqlApiEnvironmentVariables = "GetGraphqlApiEnvironmentVariables" + +// GetGraphqlApiEnvironmentVariablesRequest generates a "aws/request.Request" representing the +// client's request for the GetGraphqlApiEnvironmentVariables 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 GetGraphqlApiEnvironmentVariables for more information on using the GetGraphqlApiEnvironmentVariables +// 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 GetGraphqlApiEnvironmentVariablesRequest method. +// req, resp := client.GetGraphqlApiEnvironmentVariablesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariables +func (c *AppSync) GetGraphqlApiEnvironmentVariablesRequest(input *GetGraphqlApiEnvironmentVariablesInput) (req *request.Request, output *GetGraphqlApiEnvironmentVariablesOutput) { + op := &request.Operation{ + Name: opGetGraphqlApiEnvironmentVariables, + HTTPMethod: "GET", + HTTPPath: "/v1/apis/{apiId}/environmentVariables", + } + + if input == nil { + input = &GetGraphqlApiEnvironmentVariablesInput{} + } + + output = &GetGraphqlApiEnvironmentVariablesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetGraphqlApiEnvironmentVariables API operation for AWS AppSync. +// +// Retrieves the list of environmental variable key-value pairs associated with +// an API by its ID value. +// +// 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 AWS AppSync's +// API operation GetGraphqlApiEnvironmentVariables for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. +// +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. +// +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariables +func (c *AppSync) GetGraphqlApiEnvironmentVariables(input *GetGraphqlApiEnvironmentVariablesInput) (*GetGraphqlApiEnvironmentVariablesOutput, error) { + req, out := c.GetGraphqlApiEnvironmentVariablesRequest(input) + return out, req.Send() +} + +// GetGraphqlApiEnvironmentVariablesWithContext is the same as GetGraphqlApiEnvironmentVariables with the addition of +// the ability to pass a context and additional request options. +// +// See GetGraphqlApiEnvironmentVariables 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 *AppSync) GetGraphqlApiEnvironmentVariablesWithContext(ctx aws.Context, input *GetGraphqlApiEnvironmentVariablesInput, opts ...request.Option) (*GetGraphqlApiEnvironmentVariablesOutput, error) { + req, out := c.GetGraphqlApiEnvironmentVariablesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetIntrospectionSchema = "GetIntrospectionSchema" // GetIntrospectionSchemaRequest generates a "aws/request.Request" representing the @@ -4465,6 +4559,138 @@ func (c *AppSync) ListTypesByAssociationWithContext(ctx aws.Context, input *List return out, req.Send() } +const opPutGraphqlApiEnvironmentVariables = "PutGraphqlApiEnvironmentVariables" + +// PutGraphqlApiEnvironmentVariablesRequest generates a "aws/request.Request" representing the +// client's request for the PutGraphqlApiEnvironmentVariables 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 PutGraphqlApiEnvironmentVariables for more information on using the PutGraphqlApiEnvironmentVariables +// 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 PutGraphqlApiEnvironmentVariablesRequest method. +// req, resp := client.PutGraphqlApiEnvironmentVariablesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariables +func (c *AppSync) PutGraphqlApiEnvironmentVariablesRequest(input *PutGraphqlApiEnvironmentVariablesInput) (req *request.Request, output *PutGraphqlApiEnvironmentVariablesOutput) { + op := &request.Operation{ + Name: opPutGraphqlApiEnvironmentVariables, + HTTPMethod: "PUT", + HTTPPath: "/v1/apis/{apiId}/environmentVariables", + } + + if input == nil { + input = &PutGraphqlApiEnvironmentVariablesInput{} + } + + output = &PutGraphqlApiEnvironmentVariablesOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutGraphqlApiEnvironmentVariables API operation for AWS AppSync. +// +// Creates a list of environmental variables in an API by its ID value. +// +// When creating an environmental variable, it must follow the constraints below: +// +// - Both JavaScript and VTL templates support environmental variables. +// +// - Environmental variables are not evaluated before function invocation. +// +// - Environmental variables only support string values. +// +// - Any defined value in an environmental variable is considered a string +// literal and not expanded. +// +// - Variable evaluations should ideally be performed in the function code. +// +// When creating an environmental variable key-value pair, it must follow the +// additional constraints below: +// +// - Keys must begin with a letter. +// +// - Keys must be at least two characters long. +// +// - Keys can only contain letters, numbers, and the underscore character +// (_). +// +// - Values can be up to 512 characters long. +// +// - You can configure up to 50 key-value pairs in a GraphQL API. +// +// You can create a list of environmental variables by adding it to the environmentVariables +// payload as a list in the format {"key1":"value1","key2":"value2", …}. Note +// that each call of the PutGraphqlApiEnvironmentVariables action will result +// in the overwriting of the existing environmental variable list of that API. +// This means the existing environmental variables will be lost. To avoid this, +// you must include all existing and new environmental variables in the list +// each time you call this action. +// +// 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 AWS AppSync's +// API operation PutGraphqlApiEnvironmentVariables for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. +// +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. +// +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariables +func (c *AppSync) PutGraphqlApiEnvironmentVariables(input *PutGraphqlApiEnvironmentVariablesInput) (*PutGraphqlApiEnvironmentVariablesOutput, error) { + req, out := c.PutGraphqlApiEnvironmentVariablesRequest(input) + return out, req.Send() +} + +// PutGraphqlApiEnvironmentVariablesWithContext is the same as PutGraphqlApiEnvironmentVariables with the addition of +// the ability to pass a context and additional request options. +// +// See PutGraphqlApiEnvironmentVariables 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 *AppSync) PutGraphqlApiEnvironmentVariablesWithContext(ctx aws.Context, input *PutGraphqlApiEnvironmentVariablesInput, opts ...request.Option) (*PutGraphqlApiEnvironmentVariablesOutput, error) { + req, out := c.PutGraphqlApiEnvironmentVariablesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartDataSourceIntrospection = "StartDataSourceIntrospection" // StartDataSourceIntrospectionRequest generates a "aws/request.Request" representing the @@ -11646,6 +11872,87 @@ func (s *GetFunctionOutput) SetFunctionConfiguration(v *FunctionConfiguration) * return s } +type GetGraphqlApiEnvironmentVariablesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the API from which the environmental variable list will be retrieved. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" 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 GetGraphqlApiEnvironmentVariablesInput) 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 GetGraphqlApiEnvironmentVariablesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetGraphqlApiEnvironmentVariablesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetGraphqlApiEnvironmentVariablesInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.ApiId != nil && len(*s.ApiId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApiId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *GetGraphqlApiEnvironmentVariablesInput) SetApiId(v string) *GetGraphqlApiEnvironmentVariablesInput { + s.ApiId = &v + return s +} + +type GetGraphqlApiEnvironmentVariablesOutput struct { + _ struct{} `type:"structure"` + + // The payload containing each environmental variable in the "key" : "value" + // format. + EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` +} + +// 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 GetGraphqlApiEnvironmentVariablesOutput) 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 GetGraphqlApiEnvironmentVariablesOutput) GoString() string { + return s.String() +} + +// SetEnvironmentVariables sets the EnvironmentVariables field's value. +func (s *GetGraphqlApiEnvironmentVariablesOutput) SetEnvironmentVariables(v map[string]*string) *GetGraphqlApiEnvironmentVariablesOutput { + s.EnvironmentVariables = v + return s +} + type GetGraphqlApiInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -14490,6 +14797,123 @@ func (s *PipelineConfig) SetFunctions(v []*string) *PipelineConfig { return s } +type PutGraphqlApiEnvironmentVariablesInput struct { + _ struct{} `type:"structure"` + + // The ID of the API to which the environmental variable list will be written. + // + // ApiId is a required field + ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"` + + // The list of environmental variables to add to the API. + // + // When creating an environmental variable key-value pair, it must follow the + // additional constraints below: + // + // * Keys must begin with a letter. + // + // * Keys must be at least two characters long. + // + // * Keys can only contain letters, numbers, and the underscore character + // (_). + // + // * Values can be up to 512 characters long. + // + // * You can configure up to 50 key-value pairs in a GraphQL API. + // + // You can create a list of environmental variables by adding it to the environmentVariables + // payload as a list in the format {"key1":"value1","key2":"value2", …}. Note + // that each call of the PutGraphqlApiEnvironmentVariables action will result + // in the overwriting of the existing environmental variable list of that API. + // This means the existing environmental variables will be lost. To avoid this, + // you must include all existing and new environmental variables in the list + // each time you call this action. + // + // EnvironmentVariables is a required field + EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map" 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 PutGraphqlApiEnvironmentVariablesInput) 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 PutGraphqlApiEnvironmentVariablesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutGraphqlApiEnvironmentVariablesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutGraphqlApiEnvironmentVariablesInput"} + if s.ApiId == nil { + invalidParams.Add(request.NewErrParamRequired("ApiId")) + } + if s.ApiId != nil && len(*s.ApiId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApiId", 1)) + } + if s.EnvironmentVariables == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentVariables")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApiId sets the ApiId field's value. +func (s *PutGraphqlApiEnvironmentVariablesInput) SetApiId(v string) *PutGraphqlApiEnvironmentVariablesInput { + s.ApiId = &v + return s +} + +// SetEnvironmentVariables sets the EnvironmentVariables field's value. +func (s *PutGraphqlApiEnvironmentVariablesInput) SetEnvironmentVariables(v map[string]*string) *PutGraphqlApiEnvironmentVariablesInput { + s.EnvironmentVariables = v + return s +} + +type PutGraphqlApiEnvironmentVariablesOutput struct { + _ struct{} `type:"structure"` + + // The payload containing each environmental variable in the "key" : "value" + // format. + EnvironmentVariables map[string]*string `locationName:"environmentVariables" type:"map"` +} + +// 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 PutGraphqlApiEnvironmentVariablesOutput) 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 PutGraphqlApiEnvironmentVariablesOutput) GoString() string { + return s.String() +} + +// SetEnvironmentVariables sets the EnvironmentVariables field's value. +func (s *PutGraphqlApiEnvironmentVariablesOutput) SetEnvironmentVariables(v map[string]*string) *PutGraphqlApiEnvironmentVariablesOutput { + s.EnvironmentVariables = v + return s +} + // Contains the metadata required to introspect the RDS cluster. type RdsDataApiConfig struct { _ struct{} `type:"structure"` diff --git a/service/appsync/appsynciface/interface.go b/service/appsync/appsynciface/interface.go index 787439efcf0..3041b2dfdf8 100644 --- a/service/appsync/appsynciface/interface.go +++ b/service/appsync/appsynciface/interface.go @@ -188,6 +188,10 @@ type AppSyncAPI interface { GetGraphqlApiWithContext(aws.Context, *appsync.GetGraphqlApiInput, ...request.Option) (*appsync.GetGraphqlApiOutput, error) GetGraphqlApiRequest(*appsync.GetGraphqlApiInput) (*request.Request, *appsync.GetGraphqlApiOutput) + GetGraphqlApiEnvironmentVariables(*appsync.GetGraphqlApiEnvironmentVariablesInput) (*appsync.GetGraphqlApiEnvironmentVariablesOutput, error) + GetGraphqlApiEnvironmentVariablesWithContext(aws.Context, *appsync.GetGraphqlApiEnvironmentVariablesInput, ...request.Option) (*appsync.GetGraphqlApiEnvironmentVariablesOutput, error) + GetGraphqlApiEnvironmentVariablesRequest(*appsync.GetGraphqlApiEnvironmentVariablesInput) (*request.Request, *appsync.GetGraphqlApiEnvironmentVariablesOutput) + GetIntrospectionSchema(*appsync.GetIntrospectionSchemaInput) (*appsync.GetIntrospectionSchemaOutput, error) GetIntrospectionSchemaWithContext(aws.Context, *appsync.GetIntrospectionSchemaInput, ...request.Option) (*appsync.GetIntrospectionSchemaOutput, error) GetIntrospectionSchemaRequest(*appsync.GetIntrospectionSchemaInput) (*request.Request, *appsync.GetIntrospectionSchemaOutput) @@ -252,6 +256,10 @@ type AppSyncAPI interface { ListTypesByAssociationWithContext(aws.Context, *appsync.ListTypesByAssociationInput, ...request.Option) (*appsync.ListTypesByAssociationOutput, error) ListTypesByAssociationRequest(*appsync.ListTypesByAssociationInput) (*request.Request, *appsync.ListTypesByAssociationOutput) + PutGraphqlApiEnvironmentVariables(*appsync.PutGraphqlApiEnvironmentVariablesInput) (*appsync.PutGraphqlApiEnvironmentVariablesOutput, error) + PutGraphqlApiEnvironmentVariablesWithContext(aws.Context, *appsync.PutGraphqlApiEnvironmentVariablesInput, ...request.Option) (*appsync.PutGraphqlApiEnvironmentVariablesOutput, error) + PutGraphqlApiEnvironmentVariablesRequest(*appsync.PutGraphqlApiEnvironmentVariablesInput) (*request.Request, *appsync.PutGraphqlApiEnvironmentVariablesOutput) + StartDataSourceIntrospection(*appsync.StartDataSourceIntrospectionInput) (*appsync.StartDataSourceIntrospectionOutput, error) StartDataSourceIntrospectionWithContext(aws.Context, *appsync.StartDataSourceIntrospectionInput, ...request.Option) (*appsync.StartDataSourceIntrospectionOutput, error) StartDataSourceIntrospectionRequest(*appsync.StartDataSourceIntrospectionInput) (*request.Request, *appsync.StartDataSourceIntrospectionOutput) diff --git a/service/cloudwatchlogs/api.go b/service/cloudwatchlogs/api.go index 8d98e8f8157..0e88056423c 100644 --- a/service/cloudwatchlogs/api.go +++ b/service/cloudwatchlogs/api.go @@ -669,6 +669,8 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req // '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and // '#' (number sign) // +// - Log group names can't start with the string aws/ +// // When you create a log group, by default the log events in the log group do // not expire. To set a retention policy so that events expire and are deleted // after a specified time, use PutRetentionPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html). @@ -2364,6 +2366,15 @@ func (c *CloudWatchLogs) DescribeDeliveriesRequest(input *DescribeDeliveriesInpu // // Retrieves a list of the deliveries that have been created in the account. // +// A delivery is a connection between a delivery source (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html) +// and a delivery destination (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html). +// +// A delivery source represents an Amazon Web Services resource that sends logs +// to an logs delivery destination. The destination can be CloudWatch Logs, +// Amazon S3, or Kinesis Data Firehose. Only some Amazon Web Services services +// support being configured as a delivery source. These services are listed +// in Enable logging from Amazon Web Services services. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) +// // 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. @@ -4239,8 +4250,15 @@ func (c *CloudWatchLogs) GetDeliveryRequest(input *GetDeliveryInput) (req *reque // GetDelivery API operation for Amazon CloudWatch Logs. // -// Returns complete information about one delivery. A delivery is a connection -// between a logical delivery source and a logical delivery destination +// Returns complete information about one logical delivery. A delivery is a +// connection between a delivery source (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html) +// and a delivery destination (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html). +// +// A delivery source represents an Amazon Web Services resource that sends logs +// to an logs delivery destination. The destination can be CloudWatch Logs, +// Amazon S3, or Kinesis Data Firehose. Only some Amazon Web Services services +// support being configured as a delivery source. These services are listed +// in Enable logging from Amazon Web Services services. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) // // You need to specify the delivery id in this operation. You can find the IDs // of the deliveries in your account with the DescribeDeliveries (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html) @@ -15679,7 +15697,16 @@ func (s *LiveTailSessionUpdate) MarshalEvent(pm protocol.PayloadMarshaler) (msg type LogGroup struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the log group. + // The Amazon Resource Name (ARN) of the log group. This version of the ARN + // includes a trailing :* after the log group name. + // + // Use this version to refer to the ARN in IAM policies when specifying permissions + // for most API actions. The exception is when specifying permissions for TagResource + // (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html), + // UntagResource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html), + // and ListTagsForResource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html). + // The permissions for those three actions require the ARN version that doesn't + // include a trailing :*. Arn *string `locationName:"arn" type:"string"` // The creation time of the log group, expressed as the number of milliseconds @@ -15698,6 +15725,20 @@ type LogGroup struct { // data. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` + // The Amazon Resource Name (ARN) of the log group. This version of the ARN + // doesn't include a trailing :* after the log group name. + // + // Use this version to refer to the ARN in the following situations: + // + // * In the logGroupIdentifier input field in many CloudWatch Logs APIs. + // + // * In the resourceArn field in tagging APIs + // + // * In IAM policies, when specifying permissions for TagResource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html), + // UntagResource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html), + // and ListTagsForResource (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html). + LogGroupArn *string `locationName:"logGroupArn" type:"string"` + // This specifies the log group class for this log group. There are two classes: // // * The Standard log class supports all CloudWatch Logs features. @@ -15774,6 +15815,12 @@ func (s *LogGroup) SetKmsKeyId(v string) *LogGroup { return s } +// SetLogGroupArn sets the LogGroupArn field's value. +func (s *LogGroup) SetLogGroupArn(v string) *LogGroup { + s.LogGroupArn = &v + return s +} + // SetLogGroupClass sets the LogGroupClass field's value. func (s *LogGroup) SetLogGroupClass(v string) *LogGroup { s.LogGroupClass = &v @@ -17055,8 +17102,8 @@ func (s *PutDeliveryDestinationPolicyOutput) SetPolicy(v *Policy) *PutDeliveryDe type PutDeliverySourceInput struct { _ struct{} `type:"structure"` - // Defines the type of log that the source is sending. For valid values for - // this parameter, see the documentation for the source service. + // Defines the type of log that the source is sending. For Amazon CodeWhisperer, + // the valid value is EVENT_LOGS. // // LogType is a required field LogType *string `locationName:"logType" min:"1" type:"string" required:"true"` diff --git a/service/ecs/api.go b/service/ecs/api.go index 7056bce97b9..0dda49d35a8 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -9136,19 +9136,6 @@ type ContainerDefinition struct { // and the --sysctl option to docker run (https://docs.docker.com/engine/reference/run/#security-configuration). // For example, you can configure net.ipv4.tcp_keepalive_time setting to maintain // longer lived connections. - // - // We don't recommended that you specify network-related systemControls parameters - // for multiple containers in a single task that also uses either the awsvpc - // or host network modes. For tasks that use the awsvpc network mode, the container - // that's started last determines which systemControls parameters take effect. - // For tasks that use the host network mode, it changes the container instance's - // namespaced kernel parameters as well as the containers. - // - // This parameter is not supported for Windows containers. - // - // This parameter is only supported for tasks that are hosted on Fargate if - // the tasks are using platform version 1.4.0 or later (Linux). This isn't supported - // for Windows containers on Fargate. SystemControls []*SystemControl `locationName:"systemControls" type:"list"` // A list of ulimits to set in the container. If a ulimit value is specified @@ -10645,7 +10632,7 @@ type CreateServiceInput struct { // // Fargate Spot infrastructure is available for use but a capacity provider // strategy must be used. For more information, see Fargate capacity providers - // (https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html) + // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html) // in the Amazon ECS User Guide for Fargate. // // The EC2 launch type runs your tasks on Amazon EC2 instances registered to @@ -14268,8 +14255,8 @@ func (s *EnvironmentFile) SetValue(v string) *EnvironmentFile { // The amount of ephemeral storage to allocate for the task. This parameter // is used to expand the total amount of ephemeral storage available, beyond // the default amount, for tasks hosted on Fargate. For more information, see -// Fargate task storage (https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html) -// in the Amazon ECS User Guide for Fargate. +// Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) +// in the Amazon ECS Developer Guide;. // // For tasks using the Fargate launch type, the task requires the following // platforms: @@ -17210,6 +17197,9 @@ type LoadBalancer struct { // The name of the container (as it appears in a container definition) to associate // with the load balancer. + // + // You need to specify the container name when configuring the target group + // for an Amazon ECS load balancer. ContainerName *string `locationName:"containerName" type:"string"` // The port on the container to associate with the load balancer. This port @@ -19610,8 +19600,8 @@ type RegisterTaskDefinitionInput struct { // The amount of ephemeral storage to allocate for the task. This parameter // is used to expand the total amount of ephemeral storage available, beyond // the default amount, for tasks hosted on Fargate. For more information, see - // Fargate task storage (https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html) - // in the Amazon ECS User Guide for Fargate. + // Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) + // in the Amazon ECS Developer Guide. // // For tasks using the Fargate launch type, the task requires the following // platforms: @@ -20455,8 +20445,8 @@ type RunTaskInput struct { // // Fargate Spot infrastructure is available for use but a capacity provider // strategy must be used. For more information, see Fargate capacity providers - // (https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html) - // in the Amazon ECS User Guide for Fargate. + // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html) + // in the Amazon ECS Developer Guide. // // The EC2 launch type runs your tasks on Amazon EC2 instances registered to // your cluster. @@ -23436,19 +23426,37 @@ func (s *SubmitTaskStateChangeOutput) SetAcknowledgment(v string) *SubmitTaskSta // maps to Sysctls in the Create a container (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) // section of the Docker Remote API (https://docs.docker.com/engine/api/v1.35/) // and the --sysctl option to docker run (https://docs.docker.com/engine/reference/run/#security-configuration). +// For example, you can configure net.ipv4.tcp_keepalive_time setting to maintain +// longer lived connections. // // We don't recommend that you specify network-related systemControls parameters -// for multiple containers in a single task. This task also uses either the -// awsvpc or host network mode. It does it for the following reasons. +// for multiple containers in a single task that also uses either the awsvpc +// or host network mode. Doing this has the following disadvantages: +// +// - For tasks that use the awsvpc network mode including Fargate, if you +// set systemControls for any container, it applies to all containers in +// the task. If you set different systemControls for multiple containers +// in a single task, the container that's started last determines which systemControls +// take effect. +// +// - For tasks that use the host network mode, the network namespace systemControls +// aren't supported. // -// - For tasks that use the awsvpc network mode, if you set systemControls -// for any container, it applies to all containers in the task. If you set -// different systemControls for multiple containers in a single task, the -// container that's started last determines which systemControls take effect. +// If you're setting an IPC resource namespace to use for the containers in +// the task, the following conditions apply to your system controls. For more +// information, see IPC mode (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_ipcmode). // -// - For tasks that use the host network mode, the systemControls parameter -// applies to the container instance's kernel parameter and that of all containers -// of any tasks running on that container instance. +// - For tasks that use the host IPC mode, IPC namespace systemControls aren't +// supported. +// +// - For tasks that use the task IPC mode, IPC namespace systemControls values +// apply to all containers within a task. +// +// This parameter is not supported for Windows containers. +// +// This parameter is only supported for tasks that are hosted on Fargate if +// the tasks are using platform version 1.4.0 or later (Linux). This isn't supported +// for Windows containers on Fargate. type SystemControl struct { _ struct{} `type:"structure"` @@ -24022,8 +24030,8 @@ type Task struct { // The stop code indicating why a task was stopped. The stoppedReason might // contain additional details. // - // For more information about stop code, see Stopped tasks error codes (https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html) - // in the Amazon ECS User Guide. + // For more information about stop code, see Stopped tasks error codes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html) + // in the Amazon ECS Developer Guide. StopCode *string `locationName:"stopCode" type:"string" enum:"TaskStopCode"` // The Unix timestamp for the time when the task was stopped. More specifically, diff --git a/service/elasticsearchservice/api.go b/service/elasticsearchservice/api.go index ad99e2e611d..69623f96880 100644 --- a/service/elasticsearchservice/api.go +++ b/service/elasticsearchservice/api.go @@ -382,6 +382,98 @@ func (c *ElasticsearchService) AuthorizeVpcEndpointAccessWithContext(ctx aws.Con return out, req.Send() } +const opCancelDomainConfigChange = "CancelDomainConfigChange" + +// CancelDomainConfigChangeRequest generates a "aws/request.Request" representing the +// client's request for the CancelDomainConfigChange 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 CancelDomainConfigChange for more information on using the CancelDomainConfigChange +// 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 CancelDomainConfigChangeRequest method. +// req, resp := client.CancelDomainConfigChangeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *ElasticsearchService) CancelDomainConfigChangeRequest(input *CancelDomainConfigChangeInput) (req *request.Request, output *CancelDomainConfigChangeOutput) { + op := &request.Operation{ + Name: opCancelDomainConfigChange, + HTTPMethod: "POST", + HTTPPath: "/2015-01-01/es/domain/{DomainName}/config/cancel", + } + + if input == nil { + input = &CancelDomainConfigChangeInput{} + } + + output = &CancelDomainConfigChangeOutput{} + req = c.newRequest(op, input, output) + return +} + +// CancelDomainConfigChange API operation for Amazon Elasticsearch Service. +// +// Cancels a pending configuration change on an Amazon OpenSearch Service domain. +// +// 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 Elasticsearch Service's +// API operation CancelDomainConfigChange for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +func (c *ElasticsearchService) CancelDomainConfigChange(input *CancelDomainConfigChangeInput) (*CancelDomainConfigChangeOutput, error) { + req, out := c.CancelDomainConfigChangeRequest(input) + return out, req.Send() +} + +// CancelDomainConfigChangeWithContext is the same as CancelDomainConfigChange with the addition of +// the ability to pass a context and additional request options. +// +// See CancelDomainConfigChange 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 *ElasticsearchService) CancelDomainConfigChangeWithContext(ctx aws.Context, input *CancelDomainConfigChangeInput, opts ...request.Option) (*CancelDomainConfigChangeOutput, error) { + req, out := c.CancelDomainConfigChangeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCancelElasticsearchServiceSoftwareUpdate = "CancelElasticsearchServiceSoftwareUpdate" // CancelElasticsearchServiceSoftwareUpdateRequest generates a "aws/request.Request" representing the @@ -6584,6 +6676,117 @@ func (s *BaseException) RequestID() string { return s.RespMetadata.RequestID } +// Container for parameters of the CancelDomainConfigChange operation. +type CancelDomainConfigChangeInput struct { + _ struct{} `type:"structure"` + + // Name of the OpenSearch Service domain configuration request to cancel. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // When set to True, returns the list of change IDs and properties that will + // be cancelled without actually cancelling the change. + DryRun *bool `type:"boolean"` +} + +// 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 CancelDomainConfigChangeInput) 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 CancelDomainConfigChangeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelDomainConfigChangeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelDomainConfigChangeInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *CancelDomainConfigChangeInput) SetDomainName(v string) *CancelDomainConfigChangeInput { + s.DomainName = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CancelDomainConfigChangeInput) SetDryRun(v bool) *CancelDomainConfigChangeInput { + s.DryRun = &v + return s +} + +// Contains the details of the cancelled domain config change. +type CancelDomainConfigChangeOutput struct { + _ struct{} `type:"structure"` + + // The unique identifiers of the changes that were cancelled. + CancelledChangeIds []*string `type:"list"` + + // The domain change properties that were cancelled. + CancelledChangeProperties []*CancelledChangeProperty `type:"list"` + + // Whether or not the request was a dry run. If True, the changes were not actually + // cancelled. + DryRun *bool `type:"boolean"` +} + +// 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 CancelDomainConfigChangeOutput) 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 CancelDomainConfigChangeOutput) GoString() string { + return s.String() +} + +// SetCancelledChangeIds sets the CancelledChangeIds field's value. +func (s *CancelDomainConfigChangeOutput) SetCancelledChangeIds(v []*string) *CancelDomainConfigChangeOutput { + s.CancelledChangeIds = v + return s +} + +// SetCancelledChangeProperties sets the CancelledChangeProperties field's value. +func (s *CancelDomainConfigChangeOutput) SetCancelledChangeProperties(v []*CancelledChangeProperty) *CancelDomainConfigChangeOutput { + s.CancelledChangeProperties = v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CancelDomainConfigChangeOutput) SetDryRun(v bool) *CancelDomainConfigChangeOutput { + s.DryRun = &v + return s +} + // Container for the parameters to the CancelElasticsearchServiceSoftwareUpdate // operation. Specifies the name of the Elasticsearch domain that you wish to // cancel a service software update on. @@ -6670,6 +6873,57 @@ func (s *CancelElasticsearchServiceSoftwareUpdateOutput) SetServiceSoftwareOptio return s } +// A property change that was cancelled for an Amazon OpenSearch Service domain. +type CancelledChangeProperty struct { + _ struct{} `type:"structure"` + + // The current value of the property, after the change was cancelled. + ActiveValue *string `type:"string"` + + // The pending value of the property that was cancelled. This would have been + // the eventual value of the property if the chance had not been cancelled. + CancelledValue *string `type:"string"` + + // The name of the property whose change was cancelled. + PropertyName *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelledChangeProperty) 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 CancelledChangeProperty) GoString() string { + return s.String() +} + +// SetActiveValue sets the ActiveValue field's value. +func (s *CancelledChangeProperty) SetActiveValue(v string) *CancelledChangeProperty { + s.ActiveValue = &v + return s +} + +// SetCancelledValue sets the CancelledValue field's value. +func (s *CancelledChangeProperty) SetCancelledValue(v string) *CancelledChangeProperty { + s.CancelledValue = &v + return s +} + +// SetPropertyName sets the PropertyName field's value. +func (s *CancelledChangeProperty) SetPropertyName(v string) *CancelledChangeProperty { + s.PropertyName = &v + return s +} + // Specifies change details of the domain configuration change. type ChangeProgressDetails struct { _ struct{} `type:"structure"` @@ -6678,8 +6932,21 @@ type ChangeProgressDetails struct { // change. ChangeId *string `type:"string"` + // The current status of the configuration change. + ConfigChangeStatus *string `type:"string" enum:"ConfigChangeStatus"` + + // The IAM principal who initiated the configuration change. + InitiatedBy *string `type:"string" enum:"InitiatedBy"` + + // The last time that the configuration change was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + // Contains an optional message associated with the domain configuration change. Message *string `type:"string"` + + // The time that the configuration change was initiated, in Universal Coordinated + // Time (UTC). + StartTime *time.Time `type:"timestamp"` } // String returns the string representation. @@ -6706,12 +6973,36 @@ func (s *ChangeProgressDetails) SetChangeId(v string) *ChangeProgressDetails { return s } +// SetConfigChangeStatus sets the ConfigChangeStatus field's value. +func (s *ChangeProgressDetails) SetConfigChangeStatus(v string) *ChangeProgressDetails { + s.ConfigChangeStatus = &v + return s +} + +// SetInitiatedBy sets the InitiatedBy field's value. +func (s *ChangeProgressDetails) SetInitiatedBy(v string) *ChangeProgressDetails { + s.InitiatedBy = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *ChangeProgressDetails) SetLastUpdatedTime(v time.Time) *ChangeProgressDetails { + s.LastUpdatedTime = &v + return s +} + // SetMessage sets the Message field's value. func (s *ChangeProgressDetails) SetMessage(v string) *ChangeProgressDetails { s.Message = &v return s } +// SetStartTime sets the StartTime field's value. +func (s *ChangeProgressDetails) SetStartTime(v time.Time) *ChangeProgressDetails { + s.StartTime = &v + return s +} + // A progress stage details of a specific domain configuration change. type ChangeProgressStage struct { _ struct{} `type:"structure"` @@ -6787,6 +7078,15 @@ type ChangeProgressStatusDetails struct { // completed. CompletedProperties []*string `type:"list"` + // The current status of the configuration change. + ConfigChangeStatus *string `type:"string" enum:"ConfigChangeStatus"` + + // The IAM principal who initiated the configuration change. + InitiatedBy *string `type:"string" enum:"InitiatedBy"` + + // The last time that the status of the configuration change was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + // The list of properties involved in the domain configuration change that are // still in pending. PendingProperties []*string `type:"list"` @@ -6838,6 +7138,24 @@ func (s *ChangeProgressStatusDetails) SetCompletedProperties(v []*string) *Chang return s } +// SetConfigChangeStatus sets the ConfigChangeStatus field's value. +func (s *ChangeProgressStatusDetails) SetConfigChangeStatus(v string) *ChangeProgressStatusDetails { + s.ConfigChangeStatus = &v + return s +} + +// SetInitiatedBy sets the InitiatedBy field's value. +func (s *ChangeProgressStatusDetails) SetInitiatedBy(v string) *ChangeProgressStatusDetails { + s.InitiatedBy = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *ChangeProgressStatusDetails) SetLastUpdatedTime(v time.Time) *ChangeProgressStatusDetails { + s.LastUpdatedTime = &v + return s +} + // SetPendingProperties sets the PendingProperties field's value. func (s *ChangeProgressStatusDetails) SetPendingProperties(v []*string) *ChangeProgressStatusDetails { s.PendingProperties = v @@ -10533,6 +10851,9 @@ type ElasticsearchDomainConfig struct { // Log publishing options for the given domain. LogPublishingOptions *LogPublishingOptionsStatus `type:"structure"` + // Information about the domain properties that are currently being modified. + ModifyingProperties []*ModifyingProperties `type:"list"` + // Specifies the NodeToNodeEncryptionOptions for the Elasticsearch domain. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptionsStatus `type:"structure"` @@ -10634,6 +10955,12 @@ func (s *ElasticsearchDomainConfig) SetLogPublishingOptions(v *LogPublishingOpti return s } +// SetModifyingProperties sets the ModifyingProperties field's value. +func (s *ElasticsearchDomainConfig) SetModifyingProperties(v []*ModifyingProperties) *ElasticsearchDomainConfig { + s.ModifyingProperties = v + return s +} + // SetNodeToNodeEncryptionOptions sets the NodeToNodeEncryptionOptions field's value. func (s *ElasticsearchDomainConfig) SetNodeToNodeEncryptionOptions(v *NodeToNodeEncryptionOptionsStatus) *ElasticsearchDomainConfig { s.NodeToNodeEncryptionOptions = v @@ -10708,6 +11035,9 @@ type ElasticsearchDomainStatus struct { // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` + // The status of any changes that are currently in progress for the domain. + DomainProcessingStatus *string `type:"string" enum:"DomainProcessingStatusType"` + // The EBSOptions for the specified domain. See Configuring EBS-based Storage // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) // for more information. @@ -10734,6 +11064,9 @@ type ElasticsearchDomainStatus struct { // Log publishing options for the given domain. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` + // Information about the domain properties that are currently being modified. + ModifyingProperties []*ModifyingProperties `type:"list"` + // Specifies the status of the NodeToNodeEncryptionOptions. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptions `type:"structure"` @@ -10847,6 +11180,12 @@ func (s *ElasticsearchDomainStatus) SetDomainName(v string) *ElasticsearchDomain return s } +// SetDomainProcessingStatus sets the DomainProcessingStatus field's value. +func (s *ElasticsearchDomainStatus) SetDomainProcessingStatus(v string) *ElasticsearchDomainStatus { + s.DomainProcessingStatus = &v + return s +} + // SetEBSOptions sets the EBSOptions field's value. func (s *ElasticsearchDomainStatus) SetEBSOptions(v *EBSOptions) *ElasticsearchDomainStatus { s.EBSOptions = v @@ -10889,6 +11228,12 @@ func (s *ElasticsearchDomainStatus) SetLogPublishingOptions(v map[string]*LogPub return s } +// SetModifyingProperties sets the ModifyingProperties field's value. +func (s *ElasticsearchDomainStatus) SetModifyingProperties(v []*ModifyingProperties) *ElasticsearchDomainStatus { + s.ModifyingProperties = v + return s +} + // SetNodeToNodeEncryptionOptions sets the NodeToNodeEncryptionOptions field's value. func (s *ElasticsearchDomainStatus) SetNodeToNodeEncryptionOptions(v *NodeToNodeEncryptionOptions) *ElasticsearchDomainStatus { s.NodeToNodeEncryptionOptions = v @@ -13159,6 +13504,71 @@ func (s *MasterUserOptions) SetMasterUserPassword(v string) *MasterUserOptions { return s } +// Information about the domain properties that are currently being modified. +type ModifyingProperties struct { + _ struct{} `type:"structure"` + + // The current value of the domain property that is being modified. + ActiveValue *string `type:"string"` + + // The name of the property that is currently being modified. + Name *string `type:"string"` + + // The value that the property that is currently being modified will eventually + // have. + PendingValue *string `type:"string"` + + // The type of value that is currently being modified. Properties can have two + // types: + // + // * PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search". + // + // * STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}". + ValueType *string `type:"string" enum:"PropertyValueType"` +} + +// 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 ModifyingProperties) 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 ModifyingProperties) GoString() string { + return s.String() +} + +// SetActiveValue sets the ActiveValue field's value. +func (s *ModifyingProperties) SetActiveValue(v string) *ModifyingProperties { + s.ActiveValue = &v + return s +} + +// SetName sets the Name field's value. +func (s *ModifyingProperties) SetName(v string) *ModifyingProperties { + s.Name = &v + return s +} + +// SetPendingValue sets the PendingValue field's value. +func (s *ModifyingProperties) SetPendingValue(v string) *ModifyingProperties { + s.PendingValue = &v + return s +} + +// SetValueType sets the ValueType field's value. +func (s *ModifyingProperties) SetValueType(v string) *ModifyingProperties { + s.ValueType = &v + return s +} + // Specifies the node-to-node encryption options. type NodeToNodeEncryptionOptions struct { _ struct{} `type:"structure"` @@ -16466,6 +16876,46 @@ func AutoTuneType_Values() []string { } } +const ( + // ConfigChangeStatusPending is a ConfigChangeStatus enum value + ConfigChangeStatusPending = "Pending" + + // ConfigChangeStatusInitializing is a ConfigChangeStatus enum value + ConfigChangeStatusInitializing = "Initializing" + + // ConfigChangeStatusValidating is a ConfigChangeStatus enum value + ConfigChangeStatusValidating = "Validating" + + // ConfigChangeStatusValidationFailed is a ConfigChangeStatus enum value + ConfigChangeStatusValidationFailed = "ValidationFailed" + + // ConfigChangeStatusApplyingChanges is a ConfigChangeStatus enum value + ConfigChangeStatusApplyingChanges = "ApplyingChanges" + + // ConfigChangeStatusCompleted is a ConfigChangeStatus enum value + ConfigChangeStatusCompleted = "Completed" + + // ConfigChangeStatusPendingUserInput is a ConfigChangeStatus enum value + ConfigChangeStatusPendingUserInput = "PendingUserInput" + + // ConfigChangeStatusCancelled is a ConfigChangeStatus enum value + ConfigChangeStatusCancelled = "Cancelled" +) + +// ConfigChangeStatus_Values returns all elements of the ConfigChangeStatus enum +func ConfigChangeStatus_Values() []string { + return []string{ + ConfigChangeStatusPending, + ConfigChangeStatusInitializing, + ConfigChangeStatusValidating, + ConfigChangeStatusValidationFailed, + ConfigChangeStatusApplyingChanges, + ConfigChangeStatusCompleted, + ConfigChangeStatusPendingUserInput, + ConfigChangeStatusCancelled, + } +} + const ( // DeploymentStatusPendingUpdate is a DeploymentStatus enum value DeploymentStatusPendingUpdate = "PENDING_UPDATE" @@ -16542,6 +16992,42 @@ func DomainPackageStatus_Values() []string { } } +const ( + // DomainProcessingStatusTypeCreating is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeCreating = "Creating" + + // DomainProcessingStatusTypeActive is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeActive = "Active" + + // DomainProcessingStatusTypeModifying is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeModifying = "Modifying" + + // DomainProcessingStatusTypeUpgradingEngineVersion is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeUpgradingEngineVersion = "UpgradingEngineVersion" + + // DomainProcessingStatusTypeUpdatingServiceSoftware is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeUpdatingServiceSoftware = "UpdatingServiceSoftware" + + // DomainProcessingStatusTypeIsolated is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeIsolated = "Isolated" + + // DomainProcessingStatusTypeDeleting is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeDeleting = "Deleting" +) + +// DomainProcessingStatusType_Values returns all elements of the DomainProcessingStatusType enum +func DomainProcessingStatusType_Values() []string { + return []string{ + DomainProcessingStatusTypeCreating, + DomainProcessingStatusTypeActive, + DomainProcessingStatusTypeModifying, + DomainProcessingStatusTypeUpgradingEngineVersion, + DomainProcessingStatusTypeUpdatingServiceSoftware, + DomainProcessingStatusTypeIsolated, + DomainProcessingStatusTypeDeleting, + } +} + const ( // ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch" @@ -16846,6 +17332,22 @@ func InboundCrossClusterSearchConnectionStatusCode_Values() []string { } } +const ( + // InitiatedByCustomer is a InitiatedBy enum value + InitiatedByCustomer = "CUSTOMER" + + // InitiatedByService is a InitiatedBy enum value + InitiatedByService = "SERVICE" +) + +// InitiatedBy_Values returns all elements of the InitiatedBy enum +func InitiatedBy_Values() []string { + return []string{ + InitiatedByCustomer, + InitiatedByService, + } +} + // Type of Log File, it can be one of the following: // // - INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more @@ -17048,6 +17550,22 @@ func PrincipalType_Values() []string { } } +const ( + // PropertyValueTypePlainText is a PropertyValueType enum value + PropertyValueTypePlainText = "PLAIN_TEXT" + + // PropertyValueTypeStringifiedJson is a PropertyValueType enum value + PropertyValueTypeStringifiedJson = "STRINGIFIED_JSON" +) + +// PropertyValueType_Values returns all elements of the PropertyValueType enum +func PropertyValueType_Values() []string { + return []string{ + PropertyValueTypePlainText, + PropertyValueTypeStringifiedJson, + } +} + const ( // ReservedElasticsearchInstancePaymentOptionAllUpfront is a ReservedElasticsearchInstancePaymentOption enum value ReservedElasticsearchInstancePaymentOptionAllUpfront = "ALL_UPFRONT" diff --git a/service/elasticsearchservice/elasticsearchserviceiface/interface.go b/service/elasticsearchservice/elasticsearchserviceiface/interface.go index d13c02b5632..edd211556a7 100644 --- a/service/elasticsearchservice/elasticsearchserviceiface/interface.go +++ b/service/elasticsearchservice/elasticsearchserviceiface/interface.go @@ -76,6 +76,10 @@ type ElasticsearchServiceAPI interface { AuthorizeVpcEndpointAccessWithContext(aws.Context, *elasticsearchservice.AuthorizeVpcEndpointAccessInput, ...request.Option) (*elasticsearchservice.AuthorizeVpcEndpointAccessOutput, error) AuthorizeVpcEndpointAccessRequest(*elasticsearchservice.AuthorizeVpcEndpointAccessInput) (*request.Request, *elasticsearchservice.AuthorizeVpcEndpointAccessOutput) + CancelDomainConfigChange(*elasticsearchservice.CancelDomainConfigChangeInput) (*elasticsearchservice.CancelDomainConfigChangeOutput, error) + CancelDomainConfigChangeWithContext(aws.Context, *elasticsearchservice.CancelDomainConfigChangeInput, ...request.Option) (*elasticsearchservice.CancelDomainConfigChangeOutput, error) + CancelDomainConfigChangeRequest(*elasticsearchservice.CancelDomainConfigChangeInput) (*request.Request, *elasticsearchservice.CancelDomainConfigChangeOutput) + CancelElasticsearchServiceSoftwareUpdate(*elasticsearchservice.CancelElasticsearchServiceSoftwareUpdateInput) (*elasticsearchservice.CancelElasticsearchServiceSoftwareUpdateOutput, error) CancelElasticsearchServiceSoftwareUpdateWithContext(aws.Context, *elasticsearchservice.CancelElasticsearchServiceSoftwareUpdateInput, ...request.Option) (*elasticsearchservice.CancelElasticsearchServiceSoftwareUpdateOutput, error) CancelElasticsearchServiceSoftwareUpdateRequest(*elasticsearchservice.CancelElasticsearchServiceSoftwareUpdateInput) (*request.Request, *elasticsearchservice.CancelElasticsearchServiceSoftwareUpdateOutput) diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 174686e7ab2..2f26751fda4 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -490,6 +490,98 @@ func (c *OpenSearchService) AuthorizeVpcEndpointAccessWithContext(ctx aws.Contex return out, req.Send() } +const opCancelDomainConfigChange = "CancelDomainConfigChange" + +// CancelDomainConfigChangeRequest generates a "aws/request.Request" representing the +// client's request for the CancelDomainConfigChange 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 CancelDomainConfigChange for more information on using the CancelDomainConfigChange +// 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 CancelDomainConfigChangeRequest method. +// req, resp := client.CancelDomainConfigChangeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CancelDomainConfigChange +func (c *OpenSearchService) CancelDomainConfigChangeRequest(input *CancelDomainConfigChangeInput) (req *request.Request, output *CancelDomainConfigChangeOutput) { + op := &request.Operation{ + Name: opCancelDomainConfigChange, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/config/cancel", + } + + if input == nil { + input = &CancelDomainConfigChangeInput{} + } + + output = &CancelDomainConfigChangeOutput{} + req = c.newRequest(op, input, output) + return +} + +// CancelDomainConfigChange API operation for Amazon OpenSearch Service. +// +// Cancels a pending configuration change on an Amazon OpenSearch Service domain. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon OpenSearch Service's +// API operation CancelDomainConfigChange for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// Request processing failed because of an unknown error, exception, or internal +// failure. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - ValidationException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - DisabledOperationException +// An error occured because the client wanted to access an unsupported operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CancelDomainConfigChange +func (c *OpenSearchService) CancelDomainConfigChange(input *CancelDomainConfigChangeInput) (*CancelDomainConfigChangeOutput, error) { + req, out := c.CancelDomainConfigChangeRequest(input) + return out, req.Send() +} + +// CancelDomainConfigChangeWithContext is the same as CancelDomainConfigChange with the addition of +// the ability to pass a context and additional request options. +// +// See CancelDomainConfigChange for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *OpenSearchService) CancelDomainConfigChangeWithContext(ctx aws.Context, input *CancelDomainConfigChangeInput, opts ...request.Option) (*CancelDomainConfigChangeOutput, error) { + req, out := c.CancelDomainConfigChangeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCancelServiceSoftwareUpdate = "CancelServiceSoftwareUpdate" // CancelServiceSoftwareUpdateRequest generates a "aws/request.Request" representing the @@ -8254,6 +8346,116 @@ func (s *BaseException) RequestID() string { return s.RespMetadata.RequestID } +type CancelDomainConfigChangeInput struct { + _ struct{} `type:"structure"` + + // The name of an OpenSearch Service domain. Domain names are unique across + // the domains owned by an account within an Amazon Web Services Region. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // When set to True, returns the list of change IDs and properties that will + // be cancelled without actually cancelling the change. + DryRun *bool `type:"boolean"` +} + +// 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 CancelDomainConfigChangeInput) 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 CancelDomainConfigChangeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelDomainConfigChangeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelDomainConfigChangeInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *CancelDomainConfigChangeInput) SetDomainName(v string) *CancelDomainConfigChangeInput { + s.DomainName = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CancelDomainConfigChangeInput) SetDryRun(v bool) *CancelDomainConfigChangeInput { + s.DryRun = &v + return s +} + +type CancelDomainConfigChangeOutput struct { + _ struct{} `type:"structure"` + + // The unique identifiers of the changes that were cancelled. + CancelledChangeIds []*string `type:"list"` + + // The domain change properties that were cancelled. + CancelledChangeProperties []*CancelledChangeProperty `type:"list"` + + // Whether or not the request was a dry run. If True, the changes were not actually + // cancelled. + DryRun *bool `type:"boolean"` +} + +// 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 CancelDomainConfigChangeOutput) 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 CancelDomainConfigChangeOutput) GoString() string { + return s.String() +} + +// SetCancelledChangeIds sets the CancelledChangeIds field's value. +func (s *CancelDomainConfigChangeOutput) SetCancelledChangeIds(v []*string) *CancelDomainConfigChangeOutput { + s.CancelledChangeIds = v + return s +} + +// SetCancelledChangeProperties sets the CancelledChangeProperties field's value. +func (s *CancelDomainConfigChangeOutput) SetCancelledChangeProperties(v []*CancelledChangeProperty) *CancelDomainConfigChangeOutput { + s.CancelledChangeProperties = v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CancelDomainConfigChangeOutput) SetDryRun(v bool) *CancelDomainConfigChangeOutput { + s.DryRun = &v + return s +} + // Container for the request parameters to cancel a service software update. type CancelServiceSoftwareUpdateInput struct { _ struct{} `type:"structure"` @@ -8338,6 +8540,57 @@ func (s *CancelServiceSoftwareUpdateOutput) SetServiceSoftwareOptions(v *Service return s } +// A property change that was cancelled for an Amazon OpenSearch Service domain. +type CancelledChangeProperty struct { + _ struct{} `type:"structure"` + + // The current value of the property, after the change was cancelled. + ActiveValue *string `type:"string"` + + // The pending value of the property that was cancelled. This would have been + // the eventual value of the property if the chance had not been cancelled. + CancelledValue *string `type:"string"` + + // The name of the property whose change was cancelled. + PropertyName *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelledChangeProperty) 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 CancelledChangeProperty) GoString() string { + return s.String() +} + +// SetActiveValue sets the ActiveValue field's value. +func (s *CancelledChangeProperty) SetActiveValue(v string) *CancelledChangeProperty { + s.ActiveValue = &v + return s +} + +// SetCancelledValue sets the CancelledValue field's value. +func (s *CancelledChangeProperty) SetCancelledValue(v string) *CancelledChangeProperty { + s.CancelledValue = &v + return s +} + +// SetPropertyName sets the PropertyName field's value. +func (s *CancelledChangeProperty) SetPropertyName(v string) *CancelledChangeProperty { + s.PropertyName = &v + return s +} + // Container for information about a configuration change happening on a domain. type ChangeProgressDetails struct { _ struct{} `type:"structure"` @@ -8345,8 +8598,21 @@ type ChangeProgressDetails struct { // The ID of the configuration change. ChangeId *string `min:"36" type:"string"` + // The current status of the configuration change. + ConfigChangeStatus *string `type:"string" enum:"ConfigChangeStatus"` + + // The IAM principal who initiated the configuration change. + InitiatedBy *string `type:"string" enum:"InitiatedBy"` + + // The last time that the configuration change was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + // A message corresponding to the status of the configuration change. Message *string `type:"string"` + + // The time that the configuration change was initiated, in Universal Coordinated + // Time (UTC). + StartTime *time.Time `type:"timestamp"` } // String returns the string representation. @@ -8373,12 +8639,36 @@ func (s *ChangeProgressDetails) SetChangeId(v string) *ChangeProgressDetails { return s } +// SetConfigChangeStatus sets the ConfigChangeStatus field's value. +func (s *ChangeProgressDetails) SetConfigChangeStatus(v string) *ChangeProgressDetails { + s.ConfigChangeStatus = &v + return s +} + +// SetInitiatedBy sets the InitiatedBy field's value. +func (s *ChangeProgressDetails) SetInitiatedBy(v string) *ChangeProgressDetails { + s.InitiatedBy = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *ChangeProgressDetails) SetLastUpdatedTime(v time.Time) *ChangeProgressDetails { + s.LastUpdatedTime = &v + return s +} + // SetMessage sets the Message field's value. func (s *ChangeProgressDetails) SetMessage(v string) *ChangeProgressDetails { s.Message = &v return s } +// SetStartTime sets the StartTime field's value. +func (s *ChangeProgressDetails) SetStartTime(v time.Time) *ChangeProgressDetails { + s.StartTime = &v + return s +} + // Progress details for each stage of a domain update. type ChangeProgressStage struct { _ struct{} `type:"structure"` @@ -8453,6 +8743,15 @@ type ChangeProgressStatusDetails struct { // The list of properties in the domain configuration change that have completed. CompletedProperties []*string `type:"list"` + // The current status of the configuration change. + ConfigChangeStatus *string `type:"string" enum:"ConfigChangeStatus"` + + // The IAM principal who initiated the configuration change. + InitiatedBy *string `type:"string" enum:"InitiatedBy"` + + // The last time that the status of the configuration change was updated. + LastUpdatedTime *time.Time `type:"timestamp"` + // The list of properties in the domain configuration change that are still // pending. PendingProperties []*string `type:"list"` @@ -8503,6 +8802,24 @@ func (s *ChangeProgressStatusDetails) SetCompletedProperties(v []*string) *Chang return s } +// SetConfigChangeStatus sets the ConfigChangeStatus field's value. +func (s *ChangeProgressStatusDetails) SetConfigChangeStatus(v string) *ChangeProgressStatusDetails { + s.ConfigChangeStatus = &v + return s +} + +// SetInitiatedBy sets the InitiatedBy field's value. +func (s *ChangeProgressStatusDetails) SetInitiatedBy(v string) *ChangeProgressStatusDetails { + s.InitiatedBy = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *ChangeProgressStatusDetails) SetLastUpdatedTime(v time.Time) *ChangeProgressStatusDetails { + s.LastUpdatedTime = &v + return s +} + // SetPendingProperties sets the PendingProperties field's value. func (s *ChangeProgressStatusDetails) SetPendingProperties(v []*string) *ChangeProgressStatusDetails { s.PendingProperties = v @@ -12468,6 +12785,9 @@ type DomainConfig struct { // Key-value pairs to configure log publishing. LogPublishingOptions *LogPublishingOptionsStatus `type:"structure"` + // Information about the domain properties that are currently being modified. + ModifyingProperties []*ModifyingProperties `type:"list"` + // Whether node-to-node encryption is enabled or disabled. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptionsStatus `type:"structure"` @@ -12582,6 +12902,12 @@ func (s *DomainConfig) SetLogPublishingOptions(v *LogPublishingOptionsStatus) *D return s } +// SetModifyingProperties sets the ModifyingProperties field's value. +func (s *DomainConfig) SetModifyingProperties(v []*ModifyingProperties) *DomainConfig { + s.ModifyingProperties = v + return s +} + // SetNodeToNodeEncryptionOptions sets the NodeToNodeEncryptionOptions field's value. func (s *DomainConfig) SetNodeToNodeEncryptionOptions(v *NodeToNodeEncryptionOptionsStatus) *DomainConfig { s.NodeToNodeEncryptionOptions = v @@ -13198,6 +13524,9 @@ type DomainStatus struct { // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` + // The status of any changes that are currently in progress for the domain. + DomainProcessingStatus *string `type:"string" enum:"DomainProcessingStatusType"` + // Container for EBS-based storage settings for the domain. EBSOptions *EBSOptions `type:"structure"` @@ -13228,6 +13557,9 @@ type DomainStatus struct { // Log publishing options for the domain. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` + // Information about the domain properties that are currently being modified. + ModifyingProperties []*ModifyingProperties `type:"list"` + // Whether node-to-node encryption is enabled or disabled. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptions `type:"structure"` @@ -13354,6 +13686,12 @@ func (s *DomainStatus) SetDomainName(v string) *DomainStatus { return s } +// SetDomainProcessingStatus sets the DomainProcessingStatus field's value. +func (s *DomainStatus) SetDomainProcessingStatus(v string) *DomainStatus { + s.DomainProcessingStatus = &v + return s +} + // SetEBSOptions sets the EBSOptions field's value. func (s *DomainStatus) SetEBSOptions(v *EBSOptions) *DomainStatus { s.EBSOptions = v @@ -13402,6 +13740,12 @@ func (s *DomainStatus) SetLogPublishingOptions(v map[string]*LogPublishingOption return s } +// SetModifyingProperties sets the ModifyingProperties field's value. +func (s *DomainStatus) SetModifyingProperties(v []*ModifyingProperties) *DomainStatus { + s.ModifyingProperties = v + return s +} + // SetNodeToNodeEncryptionOptions sets the NodeToNodeEncryptionOptions field's value. func (s *DomainStatus) SetNodeToNodeEncryptionOptions(v *NodeToNodeEncryptionOptions) *DomainStatus { s.NodeToNodeEncryptionOptions = v @@ -13751,8 +14095,9 @@ func (s *EBSOptionsStatus) SetStatus(v *OptionStatus) *EBSOptionsStatus { } // Specifies whether the domain should encrypt data at rest, and if so, the -// Key Management Service (KMS) key to use. Can be used only to create a new -// domain, not update an existing one. +// Key Management Service (KMS) key to use. Can only be used when creating a +// new domain or enabling encryption at rest for the first time on an existing +// domain. You can't modify this parameter after it's already been specified. type EncryptionAtRestOptions struct { _ struct{} `type:"structure"` @@ -16734,6 +17079,71 @@ func (s *MasterUserOptions) SetMasterUserPassword(v string) *MasterUserOptions { return s } +// Information about the domain properties that are currently being modified. +type ModifyingProperties struct { + _ struct{} `type:"structure"` + + // The current value of the domain property that is being modified. + ActiveValue *string `type:"string"` + + // The name of the property that is currently being modified. + Name *string `type:"string"` + + // The value that the property that is currently being modified will eventually + // have. + PendingValue *string `type:"string"` + + // The type of value that is currently being modified. Properties can have two + // types: + // + // * PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search". + // + // * STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}". + ValueType *string `type:"string" enum:"PropertyValueType"` +} + +// 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 ModifyingProperties) 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 ModifyingProperties) GoString() string { + return s.String() +} + +// SetActiveValue sets the ActiveValue field's value. +func (s *ModifyingProperties) SetActiveValue(v string) *ModifyingProperties { + s.ActiveValue = &v + return s +} + +// SetName sets the Name field's value. +func (s *ModifyingProperties) SetName(v string) *ModifyingProperties { + s.Name = &v + return s +} + +// SetPendingValue sets the PendingValue field's value. +func (s *ModifyingProperties) SetPendingValue(v string) *ModifyingProperties { + s.PendingValue = &v + return s +} + +// SetValueType sets the ValueType field's value. +func (s *ModifyingProperties) SetValueType(v string) *ModifyingProperties { + s.ValueType = &v + return s +} + // Enables or disables node-to-node encryption. For more information, see Node-to-node // encryption for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html). type NodeToNodeEncryptionOptions struct { @@ -21389,6 +21799,46 @@ func AutoTuneType_Values() []string { } } +const ( + // ConfigChangeStatusPending is a ConfigChangeStatus enum value + ConfigChangeStatusPending = "Pending" + + // ConfigChangeStatusInitializing is a ConfigChangeStatus enum value + ConfigChangeStatusInitializing = "Initializing" + + // ConfigChangeStatusValidating is a ConfigChangeStatus enum value + ConfigChangeStatusValidating = "Validating" + + // ConfigChangeStatusValidationFailed is a ConfigChangeStatus enum value + ConfigChangeStatusValidationFailed = "ValidationFailed" + + // ConfigChangeStatusApplyingChanges is a ConfigChangeStatus enum value + ConfigChangeStatusApplyingChanges = "ApplyingChanges" + + // ConfigChangeStatusCompleted is a ConfigChangeStatus enum value + ConfigChangeStatusCompleted = "Completed" + + // ConfigChangeStatusPendingUserInput is a ConfigChangeStatus enum value + ConfigChangeStatusPendingUserInput = "PendingUserInput" + + // ConfigChangeStatusCancelled is a ConfigChangeStatus enum value + ConfigChangeStatusCancelled = "Cancelled" +) + +// ConfigChangeStatus_Values returns all elements of the ConfigChangeStatus enum +func ConfigChangeStatus_Values() []string { + return []string{ + ConfigChangeStatusPending, + ConfigChangeStatusInitializing, + ConfigChangeStatusValidating, + ConfigChangeStatusValidationFailed, + ConfigChangeStatusApplyingChanges, + ConfigChangeStatusCompleted, + ConfigChangeStatusPendingUserInput, + ConfigChangeStatusCancelled, + } +} + // The connection mode for the cross-cluster connection. // // - DIRECT - Used for cross-cluster search or cross-cluster replication. @@ -21519,6 +21969,42 @@ func DomainPackageStatus_Values() []string { } } +const ( + // DomainProcessingStatusTypeCreating is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeCreating = "Creating" + + // DomainProcessingStatusTypeActive is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeActive = "Active" + + // DomainProcessingStatusTypeModifying is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeModifying = "Modifying" + + // DomainProcessingStatusTypeUpgradingEngineVersion is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeUpgradingEngineVersion = "UpgradingEngineVersion" + + // DomainProcessingStatusTypeUpdatingServiceSoftware is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeUpdatingServiceSoftware = "UpdatingServiceSoftware" + + // DomainProcessingStatusTypeIsolated is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeIsolated = "Isolated" + + // DomainProcessingStatusTypeDeleting is a DomainProcessingStatusType enum value + DomainProcessingStatusTypeDeleting = "Deleting" +) + +// DomainProcessingStatusType_Values returns all elements of the DomainProcessingStatusType enum +func DomainProcessingStatusType_Values() []string { + return []string{ + DomainProcessingStatusTypeCreating, + DomainProcessingStatusTypeActive, + DomainProcessingStatusTypeModifying, + DomainProcessingStatusTypeUpgradingEngineVersion, + DomainProcessingStatusTypeUpdatingServiceSoftware, + DomainProcessingStatusTypeIsolated, + DomainProcessingStatusTypeDeleting, + } +} + const ( // DomainStateActive is a DomainState enum value DomainStateActive = "Active" @@ -21627,6 +22113,22 @@ func InboundConnectionStatusCode_Values() []string { } } +const ( + // InitiatedByCustomer is a InitiatedBy enum value + InitiatedByCustomer = "CUSTOMER" + + // InitiatedByService is a InitiatedBy enum value + InitiatedByService = "SERVICE" +) + +// InitiatedBy_Values returns all elements of the InitiatedBy enum +func InitiatedBy_Values() []string { + return []string{ + InitiatedByCustomer, + InitiatedByService, + } +} + // The type of log file. Can be one of the following: // // - INDEX_SLOW_LOGS - Index slow logs contain insert requests that took @@ -22347,6 +22849,22 @@ func PrincipalType_Values() []string { } } +const ( + // PropertyValueTypePlainText is a PropertyValueType enum value + PropertyValueTypePlainText = "PLAIN_TEXT" + + // PropertyValueTypeStringifiedJson is a PropertyValueType enum value + PropertyValueTypeStringifiedJson = "STRINGIFIED_JSON" +) + +// PropertyValueType_Values returns all elements of the PropertyValueType enum +func PropertyValueType_Values() []string { + return []string{ + PropertyValueTypePlainText, + PropertyValueTypeStringifiedJson, + } +} + const ( // ReservedInstancePaymentOptionAllUpfront is a ReservedInstancePaymentOption enum value ReservedInstancePaymentOptionAllUpfront = "ALL_UPFRONT" diff --git a/service/opensearchservice/opensearchserviceiface/interface.go b/service/opensearchservice/opensearchserviceiface/interface.go index 8f6b3bb93b1..b0323721119 100644 --- a/service/opensearchservice/opensearchserviceiface/interface.go +++ b/service/opensearchservice/opensearchserviceiface/interface.go @@ -80,6 +80,10 @@ type OpenSearchServiceAPI interface { AuthorizeVpcEndpointAccessWithContext(aws.Context, *opensearchservice.AuthorizeVpcEndpointAccessInput, ...request.Option) (*opensearchservice.AuthorizeVpcEndpointAccessOutput, error) AuthorizeVpcEndpointAccessRequest(*opensearchservice.AuthorizeVpcEndpointAccessInput) (*request.Request, *opensearchservice.AuthorizeVpcEndpointAccessOutput) + CancelDomainConfigChange(*opensearchservice.CancelDomainConfigChangeInput) (*opensearchservice.CancelDomainConfigChangeOutput, error) + CancelDomainConfigChangeWithContext(aws.Context, *opensearchservice.CancelDomainConfigChangeInput, ...request.Option) (*opensearchservice.CancelDomainConfigChangeOutput, error) + CancelDomainConfigChangeRequest(*opensearchservice.CancelDomainConfigChangeInput) (*request.Request, *opensearchservice.CancelDomainConfigChangeOutput) + CancelServiceSoftwareUpdate(*opensearchservice.CancelServiceSoftwareUpdateInput) (*opensearchservice.CancelServiceSoftwareUpdateOutput, error) CancelServiceSoftwareUpdateWithContext(aws.Context, *opensearchservice.CancelServiceSoftwareUpdateInput, ...request.Option) (*opensearchservice.CancelServiceSoftwareUpdateOutput, error) CancelServiceSoftwareUpdateRequest(*opensearchservice.CancelServiceSoftwareUpdateInput) (*request.Request, *opensearchservice.CancelServiceSoftwareUpdateOutput) diff --git a/service/wafv2/api.go b/service/wafv2/api.go index 5aa838a891f..798f6301295 100644 --- a/service/wafv2/api.go +++ b/service/wafv2/api.go @@ -976,6 +976,119 @@ func (c *WAFV2) CreateWebACLWithContext(ctx aws.Context, input *CreateWebACLInpu return out, req.Send() } +const opDeleteAPIKey = "DeleteAPIKey" + +// DeleteAPIKeyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAPIKey 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 DeleteAPIKey for more information on using the DeleteAPIKey +// 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 DeleteAPIKeyRequest method. +// req, resp := client.DeleteAPIKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteAPIKey +func (c *WAFV2) DeleteAPIKeyRequest(input *DeleteAPIKeyInput) (req *request.Request, output *DeleteAPIKeyOutput) { + op := &request.Operation{ + Name: opDeleteAPIKey, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteAPIKeyInput{} + } + + output = &DeleteAPIKeyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteAPIKey API operation for AWS WAFV2. +// +// Deletes the specified API key. +// +// After you delete a key, it can take up to 24 hours for WAF to disallow use +// of the key in all regions. +// +// 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 AWS WAFV2's +// API operation DeleteAPIKey for usage and error information. +// +// Returned Error Types: +// +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFNonexistentItemException +// 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 +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: +// +// - You specified a parameter name or value that isn't valid. +// +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. +// +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. +// +// - WAFInvalidOperationException +// The operation isn't valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteAPIKey +func (c *WAFV2) DeleteAPIKey(input *DeleteAPIKeyInput) (*DeleteAPIKeyOutput, error) { + req, out := c.DeleteAPIKeyRequest(input) + return out, req.Send() +} + +// DeleteAPIKeyWithContext is the same as DeleteAPIKey with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAPIKey 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 *WAFV2) DeleteAPIKeyWithContext(ctx aws.Context, input *DeleteAPIKeyInput, opts ...request.Option) (*DeleteAPIKeyOutput, error) { + req, out := c.DeleteAPIKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteFirewallManagerRuleGroups = "DeleteFirewallManagerRuleGroups" // DeleteFirewallManagerRuleGroupsRequest generates a "aws/request.Request" representing the @@ -8339,7 +8452,7 @@ type CreateAPIKeyInput struct { // // Example JSON: "TokenDomains": ["abc.com", "store.abc.com"] // - // Public suffixes aren't allowed. For example, you can't use usa.gov or co.uk + // Public suffixes aren't allowed. For example, you can't use gov.au or co.uk // as token domains. // // TokenDomains is a required field @@ -9133,7 +9246,7 @@ type CreateWebACLInput struct { // // Example JSON: "TokenDomains": { "mywebsite.com", "myotherwebsite.com" } // - // Public suffixes aren't allowed. For example, you can't use usa.gov or co.uk + // Public suffixes aren't allowed. For example, you can't use gov.au or co.uk // as token domains. TokenDomains []*string `type:"list"` @@ -9738,6 +9851,103 @@ func (s *DefaultAction) SetBlock(v *BlockAction) *DefaultAction { return s } +type DeleteAPIKeyInput struct { + _ struct{} `type:"structure"` + + // The encrypted API key that you want to delete. + // + // APIKey is a required field + APIKey *string `min:"1" type:"string" required:"true"` + + // Specifies whether this is for an Amazon CloudFront distribution or for a + // regional application. A regional application can be an Application Load Balancer + // (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon + // Cognito user pool, an App Runner service, or an Amazon Web Services Verified + // Access instance. + // + // To work with CloudFront, you must also specify the Region US East (N. Virginia) + // as follows: + // + // * CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT + // --region=us-east-1. + // + // * API and SDKs - For all calls, use the Region endpoint us-east-1. + // + // Scope is a required field + Scope *string `type:"string" required:"true" enum:"Scope"` +} + +// 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 DeleteAPIKeyInput) 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 DeleteAPIKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAPIKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAPIKeyInput"} + if s.APIKey == nil { + invalidParams.Add(request.NewErrParamRequired("APIKey")) + } + if s.APIKey != nil && len(*s.APIKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("APIKey", 1)) + } + if s.Scope == nil { + invalidParams.Add(request.NewErrParamRequired("Scope")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAPIKey sets the APIKey field's value. +func (s *DeleteAPIKeyInput) SetAPIKey(v string) *DeleteAPIKeyInput { + s.APIKey = &v + return s +} + +// SetScope sets the Scope field's value. +func (s *DeleteAPIKeyInput) SetScope(v string) *DeleteAPIKeyInput { + s.Scope = &v + return s +} + +type DeleteAPIKeyOutput struct { + _ struct{} `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 DeleteAPIKeyOutput) 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 DeleteAPIKeyOutput) GoString() string { + return s.String() +} + type DeleteFirewallManagerRuleGroupsInput struct { _ struct{} `type:"structure"` @@ -24117,7 +24327,7 @@ type UpdateWebACLInput struct { // // Example JSON: "TokenDomains": { "mywebsite.com", "myotherwebsite.com" } // - // Public suffixes aren't allowed. For example, you can't use usa.gov or co.uk + // Public suffixes aren't allowed. For example, you can't use gov.au or co.uk // as token domains. TokenDomains []*string `type:"list"` diff --git a/service/wafv2/integ_test.go b/service/wafv2/integ_test.go index 2c3b75f1627..64c430e6097 100644 --- a/service/wafv2/integ_test.go +++ b/service/wafv2/integ_test.go @@ -45,7 +45,12 @@ func TestInteg_01_CreateRegexPatternSet(t *testing.T) { sess := integration.SessionWithDefaultRegion("us-east-1") svc := wafv2.New(sess) params := &wafv2.CreateRegexPatternSetInput{ - Name: aws.String("fake_name"), + Name: aws.String("fake_name"), + RegularExpressionList: []*wafv2.Regex{ + { + RegexString: aws.String("fake_regex"), + }, + }, Scope: aws.String("fake_scope"), } _, err := svc.CreateRegexPatternSetWithContext(ctx, params, func(r *request.Request) { diff --git a/service/wafv2/wafv2iface/interface.go b/service/wafv2/wafv2iface/interface.go index 534dd9b1a1b..caf8ce0d41e 100644 --- a/service/wafv2/wafv2iface/interface.go +++ b/service/wafv2/wafv2iface/interface.go @@ -88,6 +88,10 @@ type WAFV2API interface { CreateWebACLWithContext(aws.Context, *wafv2.CreateWebACLInput, ...request.Option) (*wafv2.CreateWebACLOutput, error) CreateWebACLRequest(*wafv2.CreateWebACLInput) (*request.Request, *wafv2.CreateWebACLOutput) + DeleteAPIKey(*wafv2.DeleteAPIKeyInput) (*wafv2.DeleteAPIKeyOutput, error) + DeleteAPIKeyWithContext(aws.Context, *wafv2.DeleteAPIKeyInput, ...request.Option) (*wafv2.DeleteAPIKeyOutput, error) + DeleteAPIKeyRequest(*wafv2.DeleteAPIKeyInput) (*request.Request, *wafv2.DeleteAPIKeyOutput) + DeleteFirewallManagerRuleGroups(*wafv2.DeleteFirewallManagerRuleGroupsInput) (*wafv2.DeleteFirewallManagerRuleGroupsOutput, error) DeleteFirewallManagerRuleGroupsWithContext(aws.Context, *wafv2.DeleteFirewallManagerRuleGroupsInput, ...request.Option) (*wafv2.DeleteFirewallManagerRuleGroupsOutput, error) DeleteFirewallManagerRuleGroupsRequest(*wafv2.DeleteFirewallManagerRuleGroupsInput) (*request.Request, *wafv2.DeleteFirewallManagerRuleGroupsOutput)