diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ca12c847d4..eb297fc0258 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.37.4 (2021-02-04) +=== + +### Service Client Updates +* `service/appflow`: Updates service API and documentation +* `service/athena`: Updates service API and documentation + * Adds the Athena ListEngineVersions action and the EngineVersion data type. ListEngineVersions returns the available Athena engine versions, including Auto, as a list of EngineVersion objects. +* `service/dlm`: Updates service API and documentation +* `service/ec2`: Updates service API, documentation, and paginators + * AWS Outposts now supports EBS local snapshots on Outposts that allows customers to store snapshots of EBS volumes and AMIs locally on S3 on Outposts. +* `service/emr-containers`: Updates service API +* `service/quicksight`: Updates service API and documentation + * API release for field folders feature. + Release v1.37.3 (2021-02-03) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 53098d6f7da..6ee1adc08ae 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -9173,6 +9173,12 @@ var awsusgovPartition = partition{ Endpoints: endpoints{ "us-gov-west-1": endpoint{}, + "us-gov-west-1-fips": endpoint{ + Hostname: "runtime.sagemaker.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, }, }, "s3": service{ @@ -9910,6 +9916,12 @@ var awsisoPartition = partition{ "us-iso-east-1": endpoint{}, }, }, + "outposts": service{ + + Endpoints: endpoints{ + "us-iso-east-1": endpoint{}, + }, + }, "rds": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index 0fd3cb3c030..781c2ca1086 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.37.3" +const SDKVersion = "1.37.4" diff --git a/models/apis/appflow/2020-08-23/api-2.json b/models/apis/appflow/2020-08-23/api-2.json index 545b4cf027b..530341e1b95 100644 --- a/models/apis/appflow/2020-08-23/api-2.json +++ b/models/apis/appflow/2020-08-23/api-2.json @@ -1042,7 +1042,9 @@ "executionStatus":{"shape":"ExecutionStatus"}, "executionResult":{"shape":"ExecutionResult"}, "startedAt":{"shape":"Date"}, - "lastUpdatedAt":{"shape":"Date"} + "lastUpdatedAt":{"shape":"Date"}, + "dataPullStartTime":{"shape":"Date"}, + "dataPullEndTime":{"shape":"Date"} } }, "ExecutionResult":{ @@ -1721,6 +1723,11 @@ "ONCE" ] }, + "ScheduleOffset":{ + "type":"long", + "max":36000, + "min":0 + }, "ScheduledTriggerProperties":{ "type":"structure", "required":["scheduleExpression"], @@ -1729,7 +1736,11 @@ "dataPullMode":{"shape":"DataPullMode"}, "scheduleStartTime":{"shape":"Date"}, "scheduleEndTime":{"shape":"Date"}, - "timezone":{"shape":"Timezone"} + "timezone":{"shape":"Timezone"}, + "scheduleOffset":{ + "shape":"ScheduleOffset", + "box":true + } } }, "SchedulingFrequencyTypeList":{ diff --git a/models/apis/appflow/2020-08-23/docs-2.json b/models/apis/appflow/2020-08-23/docs-2.json index 8c2a62126fa..d982aac50de 100644 --- a/models/apis/appflow/2020-08-23/docs-2.json +++ b/models/apis/appflow/2020-08-23/docs-2.json @@ -366,7 +366,7 @@ "base": null, "refs": { "ConnectorConfiguration$supportedDestinationConnectors": "

Lists the connectors that are available for use as destinations.

", - "DescribeConnectorsRequest$connectorTypes": "

The type of connector, such as Salesforce, Amplitude, and so on.

" + "DescribeConnectorsRequest$connectorTypes": "

The type of connector, such as Salesforce, Amplitude, and so on.

Locke refers to a new destination known as Amazon Connect Customer Profiles. At this time, we recommend that you do not use this destination.

" } }, "CreateConnectorProfileRequest": { @@ -448,6 +448,8 @@ "ExecutionDetails$mostRecentExecutionTime": "

Specifies the time of the most recent flow run.

", "ExecutionRecord$startedAt": "

Specifies the start time of the flow run.

", "ExecutionRecord$lastUpdatedAt": "

Specifies the time of the most recent update.

", + "ExecutionRecord$dataPullStartTime": "

The timestamp that determines the first new or updated record to be transferred in the flow run.

", + "ExecutionRecord$dataPullEndTime": "

The timestamp that indicates the last new or updated record to be transferred in the flow run.

", "FlowDefinition$createdAt": "

Specifies when the flow was created.

", "FlowDefinition$lastUpdatedAt": "

Specifies when the flow was last updated.

", "ScheduledTriggerProperties$scheduleStartTime": "

Specifies the scheduled start time for a schedule-triggered flow.

", @@ -1233,6 +1235,12 @@ "SchedulingFrequencyTypeList$member": null } }, + "ScheduleOffset": { + "base": null, + "refs": { + "ScheduledTriggerProperties$scheduleOffset": "

Specifies the optional offset that is added to the time interval for a schedule-triggered flow.

" + } + }, "ScheduledTriggerProperties": { "base": "

Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled trigger type.

", "refs": { @@ -1514,7 +1522,7 @@ "Timezone": { "base": null, "refs": { - "ScheduledTriggerProperties$timezone": "

Specifies the time zone used when referring to the date and time of a scheduled-triggered flow.

" + "ScheduledTriggerProperties$timezone": "

Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.

" } }, "TrendmicroConnectorOperator": { diff --git a/models/apis/athena/2017-05-18/api-2.json b/models/apis/athena/2017-05-18/api-2.json index 28e87666798..41829859f85 100644 --- a/models/apis/athena/2017-05-18/api-2.json +++ b/models/apis/athena/2017-05-18/api-2.json @@ -239,6 +239,19 @@ {"shape":"MetadataException"} ] }, + "ListEngineVersions":{ + "name":"ListEngineVersions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListEngineVersionsInput"}, + "output":{"shape":"ListEngineVersionsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"InvalidRequestException"} + ] + }, "ListNamedQueries":{ "name":"ListNamedQueries", "http":{ @@ -663,6 +676,19 @@ "CSE_KMS" ] }, + "EngineVersion":{ + "type":"structure", + "members":{ + "SelectedEngineVersion":{"shape":"NameString"}, + "EffectiveEngineVersion":{"shape":"NameString"} + } + }, + "EngineVersionsList":{ + "type":"list", + "member":{"shape":"EngineVersion"}, + "max":10, + "min":0 + }, "ErrorCode":{ "type":"string", "max":256, @@ -837,6 +863,20 @@ "NextToken":{"shape":"Token"} } }, + "ListEngineVersionsInput":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"Token"}, + "MaxResults":{"shape":"MaxEngineVersionsCount"} + } + }, + "ListEngineVersionsOutput":{ + "type":"structure", + "members":{ + "EngineVersions":{"shape":"EngineVersionsList"}, + "NextToken":{"shape":"Token"} + } + }, "ListNamedQueriesInput":{ "type":"structure", "members":{ @@ -931,6 +971,12 @@ "max":50, "min":1 }, + "MaxEngineVersionsCount":{ + "type":"integer", + "box":true, + "max":10, + "min":1 + }, "MaxNamedQueriesCount":{ "type":"integer", "box":true, @@ -1024,7 +1070,8 @@ "QueryExecutionContext":{"shape":"QueryExecutionContext"}, "Status":{"shape":"QueryExecutionStatus"}, "Statistics":{"shape":"QueryExecutionStatistics"}, - "WorkGroup":{"shape":"WorkGroupName"} + "WorkGroup":{"shape":"WorkGroupName"}, + "EngineVersion":{"shape":"EngineVersion"} } }, "QueryExecutionContext":{ @@ -1349,7 +1396,8 @@ "EnforceWorkGroupConfiguration":{"shape":"BoxedBoolean"}, "PublishCloudWatchMetricsEnabled":{"shape":"BoxedBoolean"}, "BytesScannedCutoffPerQuery":{"shape":"BytesScannedCutoffValue"}, - "RequesterPaysEnabled":{"shape":"BoxedBoolean"} + "RequesterPaysEnabled":{"shape":"BoxedBoolean"}, + "EngineVersion":{"shape":"EngineVersion"} } }, "WorkGroupConfigurationUpdates":{ @@ -1360,7 +1408,8 @@ "PublishCloudWatchMetricsEnabled":{"shape":"BoxedBoolean"}, "BytesScannedCutoffPerQuery":{"shape":"BytesScannedCutoffValue"}, "RemoveBytesScannedCutoffPerQuery":{"shape":"BoxedBoolean"}, - "RequesterPaysEnabled":{"shape":"BoxedBoolean"} + "RequesterPaysEnabled":{"shape":"BoxedBoolean"}, + "EngineVersion":{"shape":"EngineVersion"} } }, "WorkGroupDescriptionString":{ @@ -1385,7 +1434,8 @@ "Name":{"shape":"WorkGroupName"}, "State":{"shape":"WorkGroupState"}, "Description":{"shape":"WorkGroupDescriptionString"}, - "CreationTime":{"shape":"Date"} + "CreationTime":{"shape":"Date"}, + "EngineVersion":{"shape":"EngineVersion"} } }, "WorkGroupsList":{ diff --git a/models/apis/athena/2017-05-18/docs-2.json b/models/apis/athena/2017-05-18/docs-2.json index c9d2f3901cb..9175a2028d8 100644 --- a/models/apis/athena/2017-05-18/docs-2.json +++ b/models/apis/athena/2017-05-18/docs-2.json @@ -11,7 +11,7 @@ "DeleteNamedQuery": "

Deletes the named query if you have access to the workgroup in which the query was saved.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

", "DeleteWorkGroup": "

Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.

", "GetDataCatalog": "

Returns the specified data catalog.

", - "GetDatabase": "

Returns a database object for the specfied database and data catalog.

", + "GetDatabase": "

Returns a database object for the specified database and data catalog.

", "GetNamedQuery": "

Returns information about a single query. Requires that you have access to the workgroup in which the query was saved.

", "GetQueryExecution": "

Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.

", "GetQueryResults": "

Streams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3. For more information, see Query Results in the Amazon Athena User Guide. This request does not execute the query but returns results. Use StartQueryExecution to run a query.

To stream query results successfully, the IAM principal with permission to call GetQueryResults also must have permissions to the Amazon S3 GetObject action for the Athena query results location.

IAM principals with permission to the Amazon S3 GetObject action for the query results location are able to retrieve query results from Amazon S3 even if permission to the GetQueryResults action is denied. To restrict user or role access, ensure that Amazon S3 permissions to the Athena query location are denied.

", @@ -19,6 +19,7 @@ "GetWorkGroup": "

Returns information about the workgroup with the specified name.

", "ListDataCatalogs": "

Lists the data catalogs in the current AWS account.

", "ListDatabases": "

Lists the databases in the specified data catalog.

", + "ListEngineVersions": "

Returns a list of engine versions that are available to choose from, including the Auto option.

", "ListNamedQueries": "

Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary workgroup.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

", "ListQueryExecutions": "

Provides a list of available query execution IDs for the queries in the specified workgroup. If a workgroup is not specified, returns a list of query execution IDs for the primary workgroup. Requires you to have access to the workgroup in which the queries ran.

For code samples using the AWS SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.

", "ListTableMetadata": "

Lists the metadata for the tables in the specified data catalog database.

", @@ -70,7 +71,7 @@ "BoxedBoolean": { "base": null, "refs": { - "DeleteWorkGroupInput$RecursiveDeleteOption": "

The option to delete the workgroup and its contents even if the workgroup contains any named queries.

", + "DeleteWorkGroupInput$RecursiveDeleteOption": "

The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.

", "ResultConfigurationUpdates$RemoveOutputLocation": "

If set to \"true\", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to \"false\" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

", "ResultConfigurationUpdates$RemoveEncryptionConfiguration": "

If set to \"true\", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to \"false\" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.

", "WorkGroupConfiguration$EnforceWorkGroupConfiguration": "

If set to \"true\", the settings for the workgroup override client-side settings. If set to \"false\", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.

", @@ -193,10 +194,10 @@ "DataCatalogType": { "base": null, "refs": { - "CreateDataCatalogInput$Type": "

The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.

", - "DataCatalog$Type": "

The type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.

", + "CreateDataCatalogInput$Type": "

The type of data catalog to create: LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

", + "DataCatalog$Type": "

The type of data catalog: LAMBDA for a federated catalog or HIVE for an external hive metastore. GLUE refers to the AwsDataCatalog that already exists in your account, of which you can have only one.

", "DataCatalogSummary$Type": "

The data catalog type.

", - "UpdateDataCatalogInput$Type": "

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.

" + "UpdateDataCatalogInput$Type": "

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

" } }, "Database": { @@ -289,6 +290,22 @@ "EncryptionConfiguration$EncryptionOption": "

Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys (CSE-KMS) is used.

If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

" } }, + "EngineVersion": { + "base": "

The Athena engine version for running queries.

", + "refs": { + "EngineVersionsList$member": null, + "QueryExecution$EngineVersion": "

The engine version that executed the query.

", + "WorkGroupConfiguration$EngineVersion": "

The engine version that all queries running on the workgroup use. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

", + "WorkGroupConfigurationUpdates$EngineVersion": "

The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

", + "WorkGroupSummary$EngineVersion": "

The engine version setting for all queries on the workgroup. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.

" + } + }, + "EngineVersionsList": { + "base": null, + "refs": { + "ListEngineVersionsOutput$EngineVersions": "

A list of engine versions that are available to choose from.

" + } + }, "ErrorCode": { "base": "

The error code returned when the query execution failed to process, or when the processing request for the named query failed.

", "refs": { @@ -435,6 +452,16 @@ "refs": { } }, + "ListEngineVersionsInput": { + "base": null, + "refs": { + } + }, + "ListEngineVersionsOutput": { + "base": null, + "refs": { + } + }, "ListNamedQueriesInput": { "base": null, "refs": { @@ -509,6 +536,12 @@ "ListDatabasesInput$MaxResults": "

Specifies the maximum number of results to return.

" } }, + "MaxEngineVersionsCount": { + "base": null, + "refs": { + "ListEngineVersionsInput$MaxResults": "

The maximum number of engine versions to return in this request.

" + } + }, "MaxNamedQueriesCount": { "base": null, "refs": { @@ -556,6 +589,8 @@ "Column$Name": "

The name of the column.

", "CreateNamedQueryInput$Name": "

The query name.

", "Database$Name": "

The name of the database.

", + "EngineVersion$SelectedEngineVersion": "

The engine version requested by the user. Possible values are determined by the output of ListEngineVersions, including Auto. The default is Auto.

", + "EngineVersion$EffectiveEngineVersion": "

Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.

", "GetDatabaseInput$DatabaseName": "

The name of the database to return.

", "GetTableMetadataInput$DatabaseName": "

The name of the database that contains the table metadata to return.

", "GetTableMetadataInput$TableName": "

The name of the table for which metadata is returned.

", @@ -598,11 +633,11 @@ "ParametersMap": { "base": null, "refs": { - "CreateDataCatalogInput$Parameters": "

Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.

", - "DataCatalog$Parameters": "

Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.

", + "CreateDataCatalogInput$Parameters": "

Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.

", + "DataCatalog$Parameters": "

Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.

", "Database$Parameters": "

A set of custom key/value pairs.

", "TableMetadata$Parameters": "

A set of custom key/value pairs for table properties.

", - "UpdateDataCatalogInput$Parameters": "

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

" + "UpdateDataCatalogInput$Parameters": "

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

" } }, "ParametersMapValue": { @@ -847,6 +882,8 @@ "ListDataCatalogsOutput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", "ListDatabasesInput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", "ListDatabasesOutput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", + "ListEngineVersionsInput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", + "ListEngineVersionsOutput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", "ListNamedQueriesInput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", "ListNamedQueriesOutput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", "ListQueryExecutionsInput$NextToken": "

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

", @@ -986,7 +1023,7 @@ "WorkGroupsList": { "base": null, "refs": { - "ListWorkGroupsOutput$WorkGroups": "

The list of workgroups, including their names, descriptions, creation times, and states.

" + "ListWorkGroupsOutput$WorkGroups": "

A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.

" } }, "datumList": { diff --git a/models/apis/dlm/2018-01-12/api-2.json b/models/apis/dlm/2018-01-12/api-2.json index 8ddbf405f57..db82cf38c67 100644 --- a/models/apis/dlm/2018-01-12/api-2.json +++ b/models/apis/dlm/2018-01-12/api-2.json @@ -208,6 +208,7 @@ "CreateRule":{ "type":"structure", "members":{ + "Location":{"shape":"LocationValues"}, "Interval":{"shape":"Interval"}, "IntervalUnit":{"shape":"IntervalUnitValues"}, "Times":{"shape":"TimesList"}, @@ -247,12 +248,10 @@ }, "CrossRegionCopyRule":{ "type":"structure", - "required":[ - "TargetRegion", - "Encrypted" - ], + "required":["Encrypted"], "members":{ "TargetRegion":{"shape":"TargetRegion"}, + "Target":{"shape":"Target"}, "Encrypted":{"shape":"Encrypted"}, "CmkArn":{"shape":"CmkArn"}, "CopyTags":{"shape":"CopyTagsNullable"}, @@ -489,6 +488,13 @@ "Tags":{"shape":"TagMap"} } }, + "LocationValues":{ + "type":"string", + "enum":[ + "CLOUD", + "OUTPOST_LOCAL" + ] + }, "NoReboot":{"type":"boolean"}, "Parameter":{"type":"string"}, "ParameterList":{ @@ -519,6 +525,7 @@ "members":{ "PolicyType":{"shape":"PolicyTypeValues"}, "ResourceTypes":{"shape":"ResourceTypeValuesList"}, + "ResourceLocations":{"shape":"ResourceLocationList"}, "TargetTags":{"shape":"TargetTagList"}, "Schedules":{"shape":"ScheduleList"}, "Parameters":{"shape":"Parameters"}, @@ -544,6 +551,19 @@ "EVENT_BASED_POLICY" ] }, + "ResourceLocationList":{ + "type":"list", + "member":{"shape":"ResourceLocationValues"}, + "max":1, + "min":1 + }, + "ResourceLocationValues":{ + "type":"string", + "enum":[ + "CLOUD", + "OUTPOST" + ] + }, "ResourceNotFoundException":{ "type":"structure", "members":{ @@ -731,9 +751,9 @@ }, "Target":{ "type":"string", - "max":16, + "max":2048, "min":0, - "pattern":"^[\\\\w:\\\\-\\\\/\\\\*]+$" + "pattern":"^[\\w:\\-\\/\\*]+$" }, "TargetRegion":{ "type":"string", diff --git a/models/apis/dlm/2018-01-12/docs-2.json b/models/apis/dlm/2018-01-12/docs-2.json index 38a9d86e895..a80ad58a6f5 100644 --- a/models/apis/dlm/2018-01-12/docs-2.json +++ b/models/apis/dlm/2018-01-12/docs-2.json @@ -125,7 +125,7 @@ "CrossRegionCopyRules": { "base": null, "refs": { - "Schedule$CrossRegionCopyRules": "

The rule for cross-Region snapshot copies.

" + "Schedule$CrossRegionCopyRules": "

The rule for cross-Region snapshot copies.

You can only specify cross-Region copy rules for policies that create snapshots in a Region. If the policy creates snapshots on an Outpost, then you cannot copy the snapshots to a Region or to an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.

" } }, "DeleteLifecyclePolicyRequest": { @@ -306,6 +306,12 @@ "refs": { } }, + "LocationValues": { + "base": null, + "refs": { + "CreateRule$Location": "

Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default.

If the policy targets resources in an AWS Region, then you must create snapshots in the same Region as the source resource.

If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.

" + } + }, "NoReboot": { "base": null, "refs": { @@ -383,6 +389,18 @@ "PolicyDetails$PolicyType": "

The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your AWS account.

The default is EBS_SNAPSHOT_MANAGEMENT.

" } }, + "ResourceLocationList": { + "base": null, + "refs": { + "PolicyDetails$ResourceLocations": "

The location of the resources to backup. If the source resources are located in an AWS Region, specify CLOUD. If the source resources are located on an AWS Outpost in your account, specify OUTPOST.

If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.

" + } + }, + "ResourceLocationValues": { + "base": null, + "refs": { + "ResourceLocationList$member": null + } + }, "ResourceNotFoundException": { "base": "

A requested resource was not found.

", "refs": { @@ -549,13 +567,14 @@ "Target": { "base": null, "refs": { - "CrossRegionCopyAction$Target": "

The target Region.

" + "CrossRegionCopyAction$Target": "

The target Region.

", + "CrossRegionCopyRule$Target": "

The Amazon Resource Name (ARN) of the target AWS Outpost for the snapshot copies.

If you specify an ARN, you must omit TargetRegion. You cannot specify a target Region and a target Outpost in the same rule.

" } }, "TargetRegion": { "base": null, "refs": { - "CrossRegionCopyRule$TargetRegion": "

The target Region.

" + "CrossRegionCopyRule$TargetRegion": "

The target Region for the snapshot copies.

If you specify a target Region, you must omit Target. You cannot specify a target Region and a target Outpost in the same rule.

" } }, "TargetTagList": { diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index ab223ae2d76..00c5e78c17d 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -1449,15 +1449,6 @@ "input":{"shape":"DescribeAddressesRequest"}, "output":{"shape":"DescribeAddressesResult"} }, - "DescribeAddressesAttribute":{ - "name":"DescribeAddressesAttribute", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"DescribeAddressesAttributeRequest"}, - "output":{"shape":"DescribeAddressesAttributeResult"} - }, "DescribeAggregateIdFormat":{ "name":"DescribeAggregateIdFormat", "http":{ @@ -3025,15 +3016,6 @@ "input":{"shape":"ImportVolumeRequest"}, "output":{"shape":"ImportVolumeResult"} }, - "ModifyAddressAttribute":{ - "name":"ModifyAddressAttribute", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"ModifyAddressAttributeRequest"}, - "output":{"shape":"ModifyAddressAttributeResult"} - }, "ModifyAvailabilityZoneGroup":{ "name":"ModifyAvailabilityZoneGroup", "http":{ @@ -3650,15 +3632,6 @@ "input":{"shape":"RequestSpotInstancesRequest"}, "output":{"shape":"RequestSpotInstancesResult"} }, - "ResetAddressAttribute":{ - "name":"ResetAddressAttribute", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"ResetAddressAttributeRequest"}, - "output":{"shape":"ResetAddressAttributeResult"} - }, "ResetEbsDefaultKmsKeyId":{ "name":"ResetEbsDefaultKmsKeyId", "http":{ @@ -4200,31 +4173,6 @@ } } }, - "AddressAttribute":{ - "type":"structure", - "members":{ - "PublicIp":{ - "shape":"PublicIpAddress", - "locationName":"publicIp" - }, - "AllocationId":{ - "shape":"AllocationId", - "locationName":"allocationId" - }, - "PtrRecord":{ - "shape":"String", - "locationName":"ptrRecord" - }, - "PtrRecordUpdate":{ - "shape":"PtrUpdateStatus", - "locationName":"ptrRecordUpdate" - } - } - }, - "AddressAttributeName":{ - "type":"string", - "enum":["domain-name"] - }, "AddressList":{ "type":"list", "member":{ @@ -4232,18 +4180,6 @@ "locationName":"item" } }, - "AddressMaxResults":{ - "type":"integer", - "max":1000, - "min":1 - }, - "AddressSet":{ - "type":"list", - "member":{ - "shape":"AddressAttribute", - "locationName":"item" - } - }, "AdvertiseByoipCidrRequest":{ "type":"structure", "required":["Cidr"], @@ -4375,13 +4311,6 @@ "locationName":"AllocationId" } }, - "AllocationIds":{ - "type":"list", - "member":{ - "shape":"AllocationId", - "locationName":"item" - } - }, "AllocationState":{ "type":"string", "enum":[ @@ -7109,6 +7038,7 @@ "Name":{"shape":"String"}, "SourceImageId":{"shape":"String"}, "SourceRegion":{"shape":"String"}, + "DestinationOutpostArn":{"shape":"String"}, "DryRun":{ "shape":"Boolean", "locationName":"dryRun" @@ -7132,6 +7062,7 @@ ], "members":{ "Description":{"shape":"String"}, + "DestinationOutpostArn":{"shape":"String"}, "DestinationRegion":{ "shape":"String", "locationName":"destinationRegion" @@ -8325,6 +8256,7 @@ "required":["VolumeId"], "members":{ "Description":{"shape":"String"}, + "OutpostArn":{"shape":"String"}, "VolumeId":{"shape":"VolumeId"}, "TagSpecifications":{ "shape":"TagSpecificationList", @@ -8342,6 +8274,7 @@ "members":{ "Description":{"shape":"String"}, "InstanceSpecification":{"shape":"InstanceSpecification"}, + "OutpostArn":{"shape":"String"}, "TagSpecifications":{ "shape":"TagSpecificationList", "locationName":"TagSpecification" @@ -10402,32 +10335,6 @@ } } }, - "DescribeAddressesAttributeRequest":{ - "type":"structure", - "members":{ - "AllocationIds":{ - "shape":"AllocationIds", - "locationName":"AllocationId" - }, - "Attribute":{"shape":"AddressAttributeName"}, - "NextToken":{"shape":"NextToken"}, - "MaxResults":{"shape":"AddressMaxResults"}, - "DryRun":{"shape":"Boolean"} - } - }, - "DescribeAddressesAttributeResult":{ - "type":"structure", - "members":{ - "Addresses":{ - "shape":"AddressSet", - "locationName":"addressSet" - }, - "NextToken":{ - "shape":"NextToken", - "locationName":"nextToken" - } - } - }, "DescribeAddressesRequest":{ "type":"structure", "members":{ @@ -14974,6 +14881,10 @@ "shape":"Integer", "locationName":"throughput" }, + "OutpostArn":{ + "shape":"String", + "locationName":"outpostArn" + }, "Encrypted":{ "shape":"Boolean", "locationName":"encrypted" @@ -22074,24 +21985,6 @@ }, "MemorySize":{"type":"long"}, "MillisecondDateTime":{"type":"timestamp"}, - "ModifyAddressAttributeRequest":{ - "type":"structure", - "required":["AllocationId"], - "members":{ - "AllocationId":{"shape":"AllocationId"}, - "DomainName":{"shape":"String"}, - "DryRun":{"shape":"Boolean"} - } - }, - "ModifyAddressAttributeResult":{ - "type":"structure", - "members":{ - "Address":{ - "shape":"AddressAttribute", - "locationName":"address" - } - } - }, "ModifyAvailabilityZoneGroupRequest":{ "type":"structure", "required":[ @@ -25116,23 +25009,6 @@ } } }, - "PtrUpdateStatus":{ - "type":"structure", - "members":{ - "Value":{ - "shape":"String", - "locationName":"value" - }, - "Status":{ - "shape":"String", - "locationName":"status" - }, - "Reason":{ - "shape":"String", - "locationName":"reason" - } - } - }, "PublicIpAddress":{"type":"string"}, "PublicIpStringList":{ "type":"list", @@ -26713,27 +26589,6 @@ "locationName":"item" } }, - "ResetAddressAttributeRequest":{ - "type":"structure", - "required":[ - "AllocationId", - "Attribute" - ], - "members":{ - "AllocationId":{"shape":"AllocationId"}, - "Attribute":{"shape":"AddressAttributeName"}, - "DryRun":{"shape":"Boolean"} - } - }, - "ResetAddressAttributeResult":{ - "type":"structure", - "members":{ - "Address":{ - "shape":"AddressAttribute", - "locationName":"address" - } - } - }, "ResetEbsDefaultKmsKeyIdRequest":{ "type":"structure", "members":{ @@ -28346,6 +28201,10 @@ "shape":"String", "locationName":"ownerAlias" }, + "OutpostArn":{ + "shape":"String", + "locationName":"outpostArn" + }, "Tags":{ "shape":"TagList", "locationName":"tagSet" @@ -28470,6 +28329,10 @@ "SnapshotId":{ "shape":"String", "locationName":"snapshotId" + }, + "OutpostArn":{ + "shape":"String", + "locationName":"outpostArn" } } }, diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 17b64a7be5b..51a0f1f53ca 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -43,8 +43,8 @@ "CancelSpotInstanceRequests": "

Cancels one or more Spot Instance requests.

Canceling a Spot Instance request does not terminate running Spot Instances associated with the request.

", "ConfirmProductInstance": "

Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner must verify whether another user's instance is eligible for support.

", "CopyFpgaImage": "

Copies the specified Amazon FPGA Image (AFI) to the current Region.

", - "CopyImage": "

Initiates the copy of an AMI from the specified source Region to the current Region. You specify the destination Region by using its endpoint when making the request.

Copies of encrypted backing snapshots for the AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted, unless you set Encrypted during the copy operation. You cannot create an unencrypted copy of an encrypted backing snapshot.

For more information about the prerequisites and limits when copying an AMI, see Copying an AMI in the Amazon Elastic Compute Cloud User Guide.

", - "CopySnapshot": "

Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy the snapshot within the same Region or from one Region to another. You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).

Copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the snapshot copy operation. By default, encrypted snapshot copies use the default AWS Key Management Service (AWS KMS) customer master key (CMK); however, you can specify a different CMK.

To copy an encrypted snapshot that has been shared from another account, you must have permissions for the CMK used to encrypt the snapshot.

Snapshots created by copying another snapshot have an arbitrary volume ID that should not be used for any purpose.

For more information, see Copying an Amazon EBS snapshot in the Amazon Elastic Compute Cloud User Guide.

", + "CopyImage": "

Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a Region to an AWS Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost to another, or within the same Outpost.

To copy an AMI from one Region to another, specify the source Region using the SourceRegion parameter, and specify the destination Region using its endpoint. Copies of encrypted backing snapshots for the AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted, unless you set Encrypted during the copy operation. You cannot create an unencrypted copy of an encrypted backing snapshot.

To copy an AMI from a Region to an Outpost, specify the source Region using the SourceRegion parameter, and specify the ARN of the destination Outpost using DestinationOutpostArn. Backing snapshots copied to an Outpost are encrypted by default using the default encryption key for the Region, or a different key that you specify in the request using KmsKeyId. Outposts do not support unencrypted snapshots. For more information, Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.

For more information about the prerequisites and limits when copying an AMI, see Copying an AMI in the Amazon Elastic Compute Cloud User Guide.

", + "CopySnapshot": "

Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy a snapshot within the same Region, from one Region to another, or from a Region to an Outpost. You can't copy a snapshot from an Outpost to a Region, from one Outpost to another, or within the same Outpost.

You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).

When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the snapshot copy operation. By default, encrypted snapshot copies use the default AWS Key Management Service (AWS KMS) customer master key (CMK); however, you can specify a different CMK. To copy an encrypted snapshot that has been shared from another account, you must have permissions for the CMK used to encrypt the snapshot.

Snapshots copied to an Outpost are encrypted by default using the default encryption key for the Region, or a different key that you specify in the request using KmsKeyId. Outposts do not support unencrypted snapshots. For more information, Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.

Snapshots created by copying another snapshot have an arbitrary volume ID that should not be used for any purpose.

For more information, see Copying an Amazon EBS snapshot in the Amazon Elastic Compute Cloud User Guide.

", "CreateCapacityReservation": "

Creates a new Capacity Reservation with the specified attributes.

Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration. This gives you the flexibility to selectively add capacity reservations and still get the Regional RI discounts for that usage. By creating Capacity Reservations, you ensure that you always have access to Amazon EC2 capacity when you need it, for as long as you need it. For more information, see Capacity Reservations in the Amazon EC2 User Guide.

Your request to create a Capacity Reservation could fail if Amazon EC2 does not have sufficient capacity to fulfill the request. If your request fails due to Amazon EC2 capacity constraints, either try again at a later time, try in a different Availability Zone, or request a smaller capacity reservation. If your application is flexible across instance types and sizes, try to create a Capacity Reservation with different instance attributes.

Your request could also fail if the requested quantity exceeds your On-Demand Instance limit for the selected instance type. If your request fails due to limit constraints, increase your On-Demand Instance limit for the required instance type and try again. For more information about increasing your instance limits, see Amazon EC2 Service Quotas in the Amazon EC2 User Guide.

", "CreateCarrierGateway": "

Creates a carrier gateway. For more information about carrier gateways, see Carrier gateways in the AWS Wavelength Developer Guide.

", "CreateClientVpnEndpoint": "

Creates a Client VPN endpoint. A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.

", @@ -77,8 +77,8 @@ "CreateRoute": "

Creates a route in a route table within a VPC.

You must specify one of the following targets: internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, egress-only internet gateway, or transit gateway.

When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3, and the route table includes the following two IPv4 routes:

Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic.

For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.

", "CreateRouteTable": "

Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.

For more information, see Route Tables in the Amazon Virtual Private Cloud User Guide.

", "CreateSecurityGroup": "

Creates a security group.

A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. For more information, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide and Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

When you create a security group, you specify a friendly name of your choice. You can have a security group for use in EC2-Classic with the same name as a security group for use in a VPC. However, you can't have two security groups for use in EC2-Classic with the same name or two security groups for use in a VPC with the same name.

You have a default security group for use in EC2-Classic and a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other.

You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress.

For more information about VPC security group limits, see Amazon VPC Limits.

", - "CreateSnapshot": "

Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.

When a snapshot is created, any AWS Marketplace product codes that are associated with the source volume are propagated to the snapshot.

You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your EBS volume at the time the snapshot command is issued; this might exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending.

To create a snapshot for EBS volumes that serve as root devices, you should stop the instance before taking the snapshot.

Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected.

You can tag your snapshots during creation. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

For more information, see Amazon Elastic Block Store and Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

", - "CreateSnapshots": "

Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3. Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot each that is crash-consistent across the instance. Boot volumes can be excluded by changing the parameters.

", + "CreateSnapshot": "

Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.

You can create snapshots of volumes in a Region and volumes on an Outpost. If you create a snapshot of a volume in a Region, the snapshot must be stored in the same Region as the volume. If you create a snapshot of a volume on an Outpost, the snapshot can be stored on the same Outpost as the volume, or in the Region for that Outpost.

When a snapshot is created, any AWS Marketplace product codes that are associated with the source volume are propagated to the snapshot.

You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your EBS volume at the time the snapshot command is issued; this might exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending.

To create a snapshot for EBS volumes that serve as root devices, you should stop the instance before taking the snapshot.

Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected.

You can tag your snapshots during creation. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

For more information, see Amazon Elastic Block Store and Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

", + "CreateSnapshots": "

Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3. Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot each that is crash-consistent across the instance. Boot volumes can be excluded by changing the parameters.

You can create multi-volume snapshots of instances in a Region and instances on an Outpost. If you create snapshots from an instance in a Region, the snapshots must be stored in the same Region as the instance. If you create snapshots from an instance on an Outpost, the snapshots can be stored on the same Outpost as the instance, or in the Region for that Outpost.

", "CreateSpotDatafeedSubscription": "

Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per AWS account. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.

", "CreateSubnet": "

Creates a subnet in a specified VPC.

You must specify an IPv4 CIDR block for the subnet. After you create a subnet, you can't change its CIDR block. The allowed block size is between a /16 netmask (65,536 IP addresses) and /28 netmask (16 IP addresses). The CIDR block must not overlap with the CIDR block of an existing subnet in the VPC.

If you've associated an IPv6 CIDR block with your VPC, you can create a subnet with an IPv6 CIDR block that uses a /64 prefix length.

AWS reserves both the first four and the last IPv4 address in each subnet's CIDR block. They're not available for use.

If you add more than one subnet to a VPC, they're set up in a star topology with a logical router in the middle.

When you stop an instance in a subnet, it retains its private IPv4 address. It's therefore possible to have a subnet with no running instances (they're all stopped), but no remaining IP addresses available.

For more information about subnets, see Your VPC and Subnets in the Amazon Virtual Private Cloud User Guide.

", "CreateTags": "

Adds or overwrites only the specified tags for the specified Amazon EC2 resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.

For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. For more information about creating IAM policies that control users' access to resources based on tags, see Supported Resource-Level Permissions for Amazon EC2 API Actions in the Amazon Elastic Compute Cloud User Guide.

", @@ -153,7 +153,7 @@ "DeleteVpc": "

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.

", "DeleteVpcEndpointConnectionNotifications": "

Deletes one or more VPC endpoint connection notifications.

", "DeleteVpcEndpointServiceConfigurations": "

Deletes one or more VPC endpoint service configurations in your account. Before you delete the endpoint service configuration, you must reject any Available or PendingAcceptance interface endpoint connections that are attached to the service.

", - "DeleteVpcEndpoints": "

Deletes one or more specified VPC endpoints. You can delete any of the following types of VPC endpoints.

The following rules apply when you delete a VPC endpoint:

", + "DeleteVpcEndpoints": "

Deletes one or more specified VPC endpoints. Deleting a gateway endpoint also deletes the endpoint routes in the route tables that were associated with the endpoint. Deleting an interface endpoint or a Gateway Load Balancer endpoint deletes the endpoint network interfaces. Gateway Load Balancer endpoints can only be deleted if the routes that are associated with the endpoint are deleted.

", "DeleteVpcPeeringConnection": "

Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance state. You cannot delete a VPC peering connection that's in the failed state.

", "DeleteVpnConnection": "

Deletes the specified VPN connection.

If you're deleting the VPC and its associated components, we recommend that you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection. If you believe that the tunnel credentials for your VPN connection have been compromised, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or virtual private gateway. If you create a new VPN connection, you must reconfigure the customer gateway device using the new configuration information returned with the new VPN connection ID.

For certificate-based authentication, delete all AWS Certificate Manager (ACM) private certificates used for the AWS-side tunnel endpoints for the VPN connection before deleting the VPN connection.

", "DeleteVpnConnectionRoute": "

Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.

", @@ -165,7 +165,6 @@ "DeregisterTransitGatewayMulticastGroupSources": "

Deregisters the specified sources (network interfaces) from the transit gateway multicast group.

", "DescribeAccountAttributes": "

Describes attributes of your AWS account. The following are the supported account attributes:

", "DescribeAddresses": "

Describes the specified Elastic IP addresses or all of your Elastic IP addresses.

An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.

", - "DescribeAddressesAttribute": "

Describes the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications.

", "DescribeAggregateIdFormat": "

Describes the longer ID format settings for all resource types in a specific Region. This request is useful for performing a quick audit to determine whether a specific Region is fully opted in for longer IDs (17-character IDs).

This request only returns information about resource types that support longer IDs.

The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

", "DescribeAvailabilityZones": "

Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. If there is an event impacting a zone, you can use this request to view the state and any provided messages for that zone.

For more information about Availability Zones, Local Zones, and Wavelength Zones, see Regions, Zones and Outposts in the Amazon Elastic Compute Cloud User Guide.

", "DescribeBundleTasks": "

Describes the specified bundle tasks or all of your bundle tasks.

Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task.

", @@ -277,7 +276,7 @@ "DescribeVpcEndpointConnections": "

Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance.

", "DescribeVpcEndpointServiceConfigurations": "

Describes the VPC endpoint service configurations in your account (your services).

", "DescribeVpcEndpointServicePermissions": "

Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.

", - "DescribeVpcEndpointServices": "

Describes available services to which you can create a VPC endpoint.

When the service provider and the consumer have different accounts in multiple Availability Zones, and the consumer views the VPC endpoint service information, the response only includes the common Availability Zones. For example, when the service provider account uses us-east-1a and us-east-1c and the consumer uses us-east-1a and us-east-1b, the response includes the VPC endpoint services in the common Availability Zone, us-east-1a.

", + "DescribeVpcEndpointServices": "

Describes available services to which you can create a VPC endpoint.

When the service provider and the consumer have different accounts multiple Availability Zones, and the consumer views the VPC endpoint service information, the response only includes the common Availability Zones. For example, when the service provider account uses us-east-1a and us-east-1c and the consumer uses us-east-1a and us-east-1a and us-east-1b, the response includes the VPC endpoint services in the common Availability Zone, us-east-1a.

", "DescribeVpcEndpoints": "

Describes one or more of your VPC endpoints.

", "DescribeVpcPeeringConnections": "

Describes one or more of your VPC peering connections.

", "DescribeVpcs": "

Describes one or more of your VPCs.

", @@ -341,7 +340,6 @@ "ImportKeyPair": "

Imports the public key from an RSA key pair that you created with a third-party tool. Compare this with CreateKeyPair, in which AWS creates the key pair and gives the keys to you (AWS keeps a copy of the public key). With ImportKeyPair, you create the key pair and give AWS just the public key. The private key is never transferred between you and AWS.

For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide.

", "ImportSnapshot": "

Imports a disk into an EBS snapshot.

", "ImportVolume": "

Creates an import volume task using metadata from the specified disk image.For more information, see Importing Disks to Amazon EBS.

For information about the import manifest referenced by this API action, see VM Import Manifest.

", - "ModifyAddressAttribute": "

Modifies an attribute of the specified Elastic IP address. For requirements, see Using reverse DNS for email applications.

", "ModifyAvailabilityZoneGroup": "

Changes the opt-in status of the Local Zone and Wavelength Zone group for your account.

Use DescribeAvailabilityZones to view the value for GroupName.

", "ModifyCapacityReservation": "

Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings, platform, Availability Zone, or instance eligibility. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with the required attributes.

", "ModifyClientVpnEndpoint": "

Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing client connections.

", @@ -412,7 +410,6 @@ "ReportInstanceStatus": "

Submits feedback about the status of an instance. The instance must be in the running state. If your experience with the instance differs from the instance status returned by DescribeInstanceStatus, use ReportInstanceStatus to report your experience with the instance. Amazon EC2 collects this information to improve the accuracy of status checks.

Use of this action does not change the value returned by DescribeInstanceStatus.

", "RequestSpotFleet": "

Creates a Spot Fleet request.

The Spot Fleet request specifies the total target capacity and the On-Demand target capacity. Amazon EC2 calculates the difference between the total capacity and On-Demand capacity, and launches the difference as Spot capacity.

You can submit a single request that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet.

By default, the Spot Fleet requests Spot Instances in the Spot Instance pool where the price per unit is the lowest. Each launch specification can include its own instance weighting that reflects the value of the instance type to your application workload.

Alternatively, you can specify that the Spot Fleet distribute the target capacity across the Spot pools included in its launch specifications. By ensuring that the Spot Instances in your Spot Fleet are in different Spot pools, you can improve the availability of your fleet.

You can specify tags for the Spot Fleet request and instances launched by the fleet. You cannot tag other resource types in a Spot Fleet request because only the spot-fleet-request and instance resource types are supported.

For more information, see Spot Fleet requests in the Amazon EC2 User Guide for Linux Instances.

", "RequestSpotInstances": "

Creates a Spot Instance request.

For more information, see Spot Instance requests in the Amazon EC2 User Guide for Linux Instances.

", - "ResetAddressAttribute": "

Resets the attribute of the specified IP address. For requirements, see Using reverse DNS for email applications.

", "ResetEbsDefaultKmsKeyId": "

Resets the default customer master key (CMK) for EBS encryption for your account in this Region to the AWS managed CMK for EBS.

After resetting the default CMK to the AWS managed CMK, you can continue to encrypt by a customer managed CMK by specifying it when you create the volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

", "ResetFpgaImageAttribute": "

Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value. You can only reset the load permission attribute.

", "ResetImageAttribute": "

Resets an attribute of an AMI to its default value.

The productCodes attribute can't be reset.

", @@ -578,39 +575,12 @@ "AddressList$member": null } }, - "AddressAttribute": { - "base": "

The attributes associated with an Elastic IP address.

", - "refs": { - "AddressSet$member": null, - "ModifyAddressAttributeResult$Address": "

Information about the Elastic IP address.

", - "ResetAddressAttributeResult$Address": "

Information about the IP address.

" - } - }, - "AddressAttributeName": { - "base": null, - "refs": { - "DescribeAddressesAttributeRequest$Attribute": "

The attribute of the IP address.

", - "ResetAddressAttributeRequest$Attribute": "

The attribute of the IP address.

" - } - }, "AddressList": { "base": null, "refs": { "DescribeAddressesResult$Addresses": "

Information about the Elastic IP addresses.

" } }, - "AddressMaxResults": { - "base": null, - "refs": { - "DescribeAddressesAttributeRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" - } - }, - "AddressSet": { - "base": null, - "refs": { - "DescribeAddressesAttributeResult$Addresses": "

Information about the IP addresses.

" - } - }, "AdvertiseByoipCidrRequest": { "base": null, "refs": { @@ -650,14 +620,10 @@ "AllocationId": { "base": null, "refs": { - "AddressAttribute$AllocationId": "

[EC2-VPC] The allocation ID.

", "AllocationIdList$member": null, - "AllocationIds$member": null, "AssociateAddressRequest$AllocationId": "

[EC2-VPC] The allocation ID. This is required for EC2-VPC.

", "CreateNatGatewayRequest$AllocationId": "

The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

", - "ModifyAddressAttributeRequest$AllocationId": "

[EC2-VPC] The allocation ID.

", - "ReleaseAddressRequest$AllocationId": "

[EC2-VPC] The allocation ID. Required for EC2-VPC.

", - "ResetAddressAttributeRequest$AllocationId": "

[EC2-VPC] The allocation ID.

" + "ReleaseAddressRequest$AllocationId": "

[EC2-VPC] The allocation ID. Required for EC2-VPC.

" } }, "AllocationIdList": { @@ -666,12 +632,6 @@ "DescribeAddressesRequest$AllocationIds": "

[EC2-VPC] Information about the allocation IDs.

" } }, - "AllocationIds": { - "base": null, - "refs": { - "DescribeAddressesAttributeRequest$AllocationIds": "

[EC2-VPC] The allocation IDs.

" - } - }, "AllocationState": { "base": null, "refs": { @@ -1319,7 +1279,7 @@ "base": null, "refs": { "CreateImageRequest$BlockDeviceMappings": "

The block device mappings. This parameter cannot be used to modify the encryption status of existing volumes or snapshots. To create an AMI with encrypted snapshots, use the CopyImage action.

", - "RegisterImageRequest$BlockDeviceMappings": "

The block device mapping entries.

", + "RegisterImageRequest$BlockDeviceMappings": "

The block device mapping entries.

If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can be used to launch instances on the same Outpost only. For more information, Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.

", "RunInstancesRequest$BlockDeviceMappings": "

The block device mapping entries.

" } }, @@ -1396,7 +1356,7 @@ "CreateEgressOnlyInternetGatewayRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateFleetRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateFleetRequest$TerminateInstancesWithExpiration": "

Indicates whether running instances should be terminated when the EC2 Fleet expires.

", - "CreateFleetRequest$ReplaceUnhealthyInstances": "

Indicates whether EC2 Fleet should replace unhealthy instances.

", + "CreateFleetRequest$ReplaceUnhealthyInstances": "

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.

", "CreateFlowLogsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateFpgaImageRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateImageRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -1445,7 +1405,7 @@ "CreateVolumeRequest$MultiAttachEnabled": "

Indicates whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the volume to up to 16 Instances built on the Nitro System in the same Availability Zone. This parameter is supported with io1 and io2 volumes only. For more information, see Amazon EBS Multi-Attach in the Amazon Elastic Compute Cloud User Guide.

", "CreateVpcEndpointConnectionNotificationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateVpcEndpointRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", - "CreateVpcEndpointRequest$PrivateDnsEnabled": "

(Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.

To use a private hosted zone, you must set the following VPC attributes to true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to set the VPC attributes.

Private DNS is not supported for Amazon S3 interface endpoints.

Default: true for supported endpoints

", + "CreateVpcEndpointRequest$PrivateDnsEnabled": "

(Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.

To use a private hosted zone, you must set the following VPC attributes to true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to set the VPC attributes.

Default: true

", "CreateVpcEndpointServiceConfigurationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateVpcEndpointServiceConfigurationRequest$AcceptanceRequired": "

Indicates whether requests from service consumers to create an endpoint to your service must be accepted. To accept a request, use AcceptVpcEndpointConnections.

", "CreateVpcPeeringConnectionRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -1520,7 +1480,6 @@ "DeregisterTransitGatewayMulticastGroupMembersRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DeregisterTransitGatewayMulticastGroupSourcesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeAccountAttributesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", - "DescribeAddressesAttributeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeAddressesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeAggregateIdFormatRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeAggregateIdFormatResult$UseLongIdsAggregated": "

Indicates whether all resource types in the Region are configured to use longer IDs. This value is only true if all users are configured to use longer IDs for all resources types in the Region.

", @@ -1676,7 +1635,7 @@ "ExportImageRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ExportTransitGatewayRoutesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "FleetData$TerminateInstancesWithExpiration": "

Indicates whether running instances should be terminated when the EC2 Fleet expires.

", - "FleetData$ReplaceUnhealthyInstances": "

Indicates whether EC2 Fleet should replace unhealthy instances.

", + "FleetData$ReplaceUnhealthyInstances": "

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.

", "FpgaImage$Public": "

Indicates whether the AFI is public.

", "FpgaImage$DataRetentionSupport": "

Indicates whether data retention support is enabled for the AFI.

", "GetAssociatedEnclaveCertificateIamRolesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -1750,7 +1709,6 @@ "LaunchTemplateVersion$DefaultVersion": "

Indicates whether the version is the default version.

", "LaunchTemplatesMonitoring$Enabled": "

Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

", "LaunchTemplatesMonitoringRequest$Enabled": "

Specify true to enable detailed monitoring. Otherwise, basic monitoring is enabled.

", - "ModifyAddressAttributeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyAvailabilityZoneGroupRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyAvailabilityZoneGroupResult$Return": "

Is true if the request succeeds, and an error otherwise.

", "ModifyCapacityReservationRequest$Accept": "

Reserved. Capacity Reservations you have created are accepted by default.

", @@ -1793,7 +1751,7 @@ "ModifyVpcEndpointConnectionNotificationResult$ReturnValue": "

Returns true if the request succeeds; otherwise, it returns an error.

", "ModifyVpcEndpointRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyVpcEndpointRequest$ResetPolicy": "

(Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service.

", - "ModifyVpcEndpointRequest$PrivateDnsEnabled": "

(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.

Private DNS is not supported for Amazon S3 interface endpoints.

", + "ModifyVpcEndpointRequest$PrivateDnsEnabled": "

(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.

", "ModifyVpcEndpointResult$Return": "

Returns true if the request succeeds; otherwise, it returns an error.

", "ModifyVpcEndpointServiceConfigurationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyVpcEndpointServiceConfigurationRequest$RemovePrivateDnsName": "

(Interface endpoint configuration) Removes the private DNS name of the endpoint service.

", @@ -1863,7 +1821,6 @@ "RequestSpotInstancesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "RequestSpotLaunchSpecification$EbsOptimized": "

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

", "ReservedInstancesOffering$Marketplace": "

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

", - "ResetAddressAttributeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ResetEbsDefaultKmsKeyIdRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ResetFpgaImageAttributeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ResetFpgaImageAttributeResult$Return": "

Is true if the request succeeds, and an error otherwise.

", @@ -4231,16 +4188,6 @@ "refs": { } }, - "DescribeAddressesAttributeRequest": { - "base": null, - "refs": { - } - }, - "DescribeAddressesAttributeResult": { - "base": null, - "refs": { - } - }, "DescribeAddressesRequest": { "base": null, "refs": { @@ -6687,7 +6634,7 @@ "DescribeHostReservationsRequest$Filter": "

The filters.

", "DescribeHostsRequest$Filter": "

The filters.

", "DescribeIamInstanceProfileAssociationsRequest$Filters": "

The filters.

", - "DescribeImagesRequest$Filters": "

The filters.

", + "DescribeImagesRequest$Filters": "

The filters.

", "DescribeImportImageTasksRequest$Filters": "

Filter tasks using the task-state filter and one of the following values: active, completed, deleting, or deleted.

", "DescribeImportSnapshotTasksRequest$Filters": "

The filters.

", "DescribeInstanceCreditSpecificationsRequest$Filters": "

The filters.

", @@ -9910,16 +9857,6 @@ "VpcEndpointConnection$CreationTimestamp": "

The date and time that the VPC endpoint was created.

" } }, - "ModifyAddressAttributeRequest": { - "base": null, - "refs": { - } - }, - "ModifyAddressAttributeResult": { - "base": null, - "refs": { - } - }, "ModifyAvailabilityZoneGroupRequest": { "base": null, "refs": { @@ -10763,8 +10700,6 @@ "NextToken": { "base": null, "refs": { - "DescribeAddressesAttributeRequest$NextToken": "

The token for the next page of results.

", - "DescribeAddressesAttributeResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeByoipCidrsRequest$NextToken": "

The token for the next page of results.

", "DescribeClientVpnAuthorizationRulesRequest$NextToken": "

The token to retrieve the next page of results.

", "DescribeClientVpnAuthorizationRulesResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", @@ -11522,16 +11457,9 @@ "NatGateway$ProvisionedBandwidth": "

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

" } }, - "PtrUpdateStatus": { - "base": "

The status of an updated pointer (PTR) record for an Elastic IP address.

", - "refs": { - "AddressAttribute$PtrRecordUpdate": "

The updated PTR record for the IP address.

" - } - }, "PublicIpAddress": { "base": null, "refs": { - "AddressAttribute$PublicIp": "

The public IP address.

", "AllocateAddressRequest$Address": "

[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.

" } }, @@ -12157,16 +12085,6 @@ "ReservedInstancesModification$ReservedInstancesIds": "

The IDs of one or more Reserved Instances.

" } }, - "ResetAddressAttributeRequest": { - "base": null, - "refs": { - } - }, - "ResetAddressAttributeResult": { - "base": null, - "refs": { - } - }, "ResetEbsDefaultKmsKeyIdRequest": { "base": null, "refs": { @@ -13240,7 +13158,6 @@ "Address$CustomerOwnedIp": "

The customer-owned IP address.

", "Address$CustomerOwnedIpv4Pool": "

The ID of the customer-owned address pool.

", "Address$CarrierIp": "

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

", - "AddressAttribute$PtrRecord": "

The pointer (PTR) record for the IP address.

", "AdvertiseByoipCidrRequest$Cidr": "

The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

", "AllocateAddressRequest$NetworkBorderGroup": "

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

", "AllocateAddressRequest$CustomerOwnedIpv4Pool": "

The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.

", @@ -13437,8 +13354,10 @@ "CopyImageRequest$Name": "

The name of the new AMI in the destination Region.

", "CopyImageRequest$SourceImageId": "

The ID of the AMI to copy.

", "CopyImageRequest$SourceRegion": "

The name of the Region that contains the AMI to copy.

", + "CopyImageRequest$DestinationOutpostArn": "

The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only specify this parameter when copying an AMI from an AWS Region to an Outpost. The AMI must be in the Region of the destination Outpost. You cannot copy an AMI from an Outpost to a Region, from one Outpost to another, or within the same Outpost.

For more information, see Copying AMIs from an AWS Region to an Outpost in the Amazon Elastic Compute Cloud User Guide.

", "CopyImageResult$ImageId": "

The ID of the new AMI.

", "CopySnapshotRequest$Description": "

A description for the EBS snapshot.

", + "CopySnapshotRequest$DestinationOutpostArn": "

The Amazon Resource Name (ARN) of the Outpost to which to copy the snapshot. Only specify this parameter when copying a snapshot from an AWS Region to an Outpost. The snapshot must be in the Region for the destination Outpost. You cannot copy a snapshot from an Outpost to a Region, from one Outpost to another, or within the same Outpost.

For more information, see Copying snapshots from an AWS Region to an Outpost in the Amazon Elastic Compute Cloud User Guide.

", "CopySnapshotRequest$DestinationRegion": "

The destination Region to use in the PresignedUrl parameter of a snapshot copy operation. This parameter is only valid for specifying the destination Region in a PresignedUrl parameter, where it is required.

The snapshot copy is sent to the regional endpoint that you sent the HTTP request to (for example, ec2.us-east-1.amazonaws.com). With the AWS CLI, this is specified using the --region parameter or the default Region in your AWS configuration file.

", "CopySnapshotRequest$PresignedUrl": "

When you copy an encrypted source snapshot using the Amazon EC2 Query API, you must supply a pre-signed URL. This parameter is optional for unencrypted snapshots. For more information, see Query requests.

The PresignedUrl should use the snapshot source endpoint, the CopySnapshot action, and include the SourceRegion, SourceSnapshotId, and DestinationRegion parameters. The PresignedUrl must be signed using AWS Signature Version 4. Because EBS snapshots are stored in Amazon S3, the signing algorithm for this parameter uses the same logic that is described in Authenticating Requests: Using Query Parameters (AWS Signature Version 4) in the Amazon Simple Storage Service API Reference. An invalid or improperly signed PresignedUrl will cause the copy operation to fail asynchronously, and the snapshot will move to an error state.

", "CopySnapshotRequest$SourceRegion": "

The ID of the Region that contains the snapshot to be copied.

", @@ -13510,7 +13429,9 @@ "CreateSecurityGroupRequest$GroupName": "

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

", "CreateSecurityGroupResult$GroupId": "

The ID of the security group.

", "CreateSnapshotRequest$Description": "

A description for the snapshot.

", + "CreateSnapshotRequest$OutpostArn": "

The Amazon Resource Name (ARN) of the AWS Outpost on which to create a local snapshot.

For more information, see Creating local snapshots from volumes on an Outpost in the Amazon Elastic Compute Cloud User Guide.

", "CreateSnapshotsRequest$Description": "

A description propagated to every snapshot specified by the instance.

", + "CreateSnapshotsRequest$OutpostArn": "

The Amazon Resource Name (ARN) of the AWS Outpost on which to create the local snapshots.

For more information, see Creating multi-volume local snapshots from instances on an Outpost in the Amazon Elastic Compute Cloud User Guide.

", "CreateSpotDatafeedSubscriptionRequest$Bucket": "

The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.

", "CreateSpotDatafeedSubscriptionRequest$Prefix": "

The prefix for the data feed file names.

", "CreateSubnetRequest$AvailabilityZone": "

The Availability Zone or Local Zone for the subnet.

Default: AWS selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.

To create a subnet in a Local Zone, set this value to the Local Zone ID, for example us-west-2-lax-1a. For information about the Regions that support Local Zones, see Available Regions in the Amazon Elastic Compute Cloud User Guide.

To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.

", @@ -13782,6 +13703,7 @@ "DnsEntry$HostedZoneId": "

The ID of the private hosted zone.

", "EbsBlockDevice$SnapshotId": "

The ID of the snapshot.

", "EbsBlockDevice$KmsKeyId": "

Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.

This parameter is only supported on BlockDeviceMapping objects called by RunInstances, RequestSpotFleet, and RequestSpotInstances.

", + "EbsBlockDevice$OutpostArn": "

The ARN of the Outpost on which the snapshot is stored.

", "EbsInstanceBlockDevice$VolumeId": "

The ID of the EBS volume.

", "ElasticGpuAssociation$ElasticGpuId": "

The ID of the Elastic Graphics accelerator.

", "ElasticGpuAssociation$ElasticGpuAssociationId": "

The ID of the association.

", @@ -14102,7 +14024,7 @@ "KeyPairInfo$KeyName": "

The name of the key pair.

", "LastError$Message": "

The error message for the VPC endpoint error.

", "LastError$Code": "

The error code for the VPC endpoint error.

", - "LaunchPermission$UserId": "

The AWS account ID.

", + "LaunchPermission$UserId": "

The AWS account ID.

Constraints: Up to 10 000 account IDs can be specified in a single request.

", "LaunchSpecification$UserData": "

The Base64-encoded user data for the instance.

", "LaunchSpecification$AddressingType": "

Deprecated.

", "LaunchSpecification$ImageId": "

The ID of the AMI.

", @@ -14182,7 +14104,6 @@ "ManagedPrefixList$StateMessage": "

The state message.

", "ManagedPrefixList$PrefixListName": "

The name of the prefix list.

", "ManagedPrefixList$OwnerId": "

The ID of the owner of the prefix list.

", - "ModifyAddressAttributeRequest$DomainName": "

The domain name to modify for the IP address.

", "ModifyAvailabilityZoneGroupRequest$GroupName": "

The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.

", "ModifyClientVpnEndpointRequest$ServerCertificateArn": "

The ARN of the server certificate to be used. The server certificate must be provisioned in AWS Certificate Manager (ACM).

", "ModifyClientVpnEndpointRequest$Description": "

A brief description of the Client VPN endpoint.

", @@ -14335,9 +14256,6 @@ "ProvisionedBandwidth$Provisioned": "

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

", "ProvisionedBandwidth$Requested": "

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

", "ProvisionedBandwidth$Status": "

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

", - "PtrUpdateStatus$Value": "

The value for the PTR record update.

", - "PtrUpdateStatus$Status": "

The status of the PTR record update.

", - "PtrUpdateStatus$Reason": "

The reason for the PTR record update.

", "PublicIpStringList$member": null, "PublicIpv4Pool$PoolId": "

The ID of the address pool.

", "PublicIpv4Pool$Description": "

A description of the address pool.

", @@ -14523,6 +14441,7 @@ "Snapshot$StateMessage": "

Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper AWS Key Management Service (AWS KMS) permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by DescribeSnapshots.

", "Snapshot$VolumeId": "

The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any purpose.

", "Snapshot$OwnerAlias": "

The AWS owner alias, from an Amazon-maintained list (amazon). This is not the user-configured AWS account alias set using the IAM console.

", + "Snapshot$OutpostArn": "

The ARN of the AWS Outpost on which the snapshot is stored. For more information, see EBS Local Snapshot on Outposts in the Amazon Elastic Compute Cloud User Guide.

", "SnapshotDetail$Description": "

A description for the snapshot.

", "SnapshotDetail$DeviceName": "

The block device mapping for the snapshot.

", "SnapshotDetail$Format": "

The format of the disk image from which the snapshot is created.

", @@ -14539,6 +14458,7 @@ "SnapshotInfo$Progress": "

Progress this snapshot has made towards completing.

", "SnapshotInfo$OwnerId": "

Account id used when creating this snapshot.

", "SnapshotInfo$SnapshotId": "

Snapshot id that can be used to describe this snapshot.

", + "SnapshotInfo$OutpostArn": "

The ARN of the AWS Outpost on which the snapshot is stored. For more information, see EBS Local Snapshot on Outposts in the Amazon Elastic Compute Cloud User Guide.

", "SnapshotTaskDetail$Description": "

The description of the snapshot.

", "SnapshotTaskDetail$Format": "

The format of the disk image from which the snapshot is created.

", "SnapshotTaskDetail$KmsKeyId": "

The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create the encrypted snapshot.

", diff --git a/models/apis/ec2/2016-11-15/paginators-1.json b/models/apis/ec2/2016-11-15/paginators-1.json index 2e93291f0a4..cc36cc87d56 100755 --- a/models/apis/ec2/2016-11-15/paginators-1.json +++ b/models/apis/ec2/2016-11-15/paginators-1.json @@ -6,12 +6,6 @@ "DescribeAddresses": { "result_key": "Addresses" }, - "DescribeAddressesAttribute": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Addresses" - }, "DescribeAvailabilityZones": { "result_key": "AvailabilityZones" }, diff --git a/models/apis/emr-containers/2020-10-01/api-2.json b/models/apis/emr-containers/2020-10-01/api-2.json index 836ace7cc2f..c5b6586720b 100644 --- a/models/apis/emr-containers/2020-10-01/api-2.json +++ b/models/apis/emr-containers/2020-10-01/api-2.json @@ -372,7 +372,10 @@ "arn":{"shape":"VirtualClusterArn"} } }, - "Date":{"type":"timestamp"}, + "Date":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, "DeleteManagedEndpointRequest":{ "type":"structure", "required":[ diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index b513ef2d383..bb9249578c0 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -2355,6 +2355,7 @@ "LogicalTableMap":{"shape":"LogicalTableMap"}, "ImportMode":{"shape":"DataSetImportMode"}, "ColumnGroups":{"shape":"ColumnGroupList"}, + "FieldFolders":{"shape":"FieldFolderMap"}, "Permissions":{"shape":"ResourcePermissionList"}, "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"}, @@ -2959,6 +2960,7 @@ "ImportMode":{"shape":"DataSetImportMode"}, "ConsumedSpiceCapacityInBytes":{"shape":"Long"}, "ColumnGroups":{"shape":"ColumnGroupList"}, + "FieldFolders":{"shape":"FieldFolderMap"}, "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"} } @@ -4487,6 +4489,27 @@ "max":4096, "min":1 }, + "FieldFolder":{ + "type":"structure", + "members":{ + "description":{"shape":"FieldFolderDescription"}, + "columns":{"shape":"FolderColumnList"} + } + }, + "FieldFolderDescription":{ + "type":"string", + "max":500 + }, + "FieldFolderMap":{ + "type":"map", + "key":{"shape":"FieldFolderPath"}, + "value":{"shape":"FieldFolder"} + }, + "FieldFolderPath":{ + "type":"string", + "max":1000, + "min":1 + }, "FileFormat":{ "type":"string", "enum":[ @@ -4509,6 +4532,11 @@ "type":"string", "enum":["StringEquals"] }, + "FolderColumnList":{ + "type":"list", + "member":{"shape":"String"}, + "max":5000 + }, "GeoSpatialColumnGroup":{ "type":"structure", "required":[ @@ -7309,6 +7337,7 @@ "LogicalTableMap":{"shape":"LogicalTableMap"}, "ImportMode":{"shape":"DataSetImportMode"}, "ColumnGroups":{"shape":"ColumnGroupList"}, + "FieldFolders":{"shape":"FieldFolderMap"}, "RowLevelPermissionDataSet":{"shape":"RowLevelPermissionDataSet"}, "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"} } diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index 635eb9d1a04..64f71f34bbc 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -1136,7 +1136,7 @@ "DataSourceType": { "base": null, "refs": { - "CreateDataSourceRequest$Type": "

The type of the data source. Currently, the supported types for this operation are: ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA. Use ListDataSources to return a list of all data sources.

", + "CreateDataSourceRequest$Type": "

The type of the data source. Currently, the supported types for this operation are: ATHENA, AURORA, AURORA_POSTGRESQL, AMAZON_ELASTICSEARCH, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA. Use ListDataSources to return a list of all data sources.

AMAZON_ELASTICSEARCH is for Amazon managed Elasticsearch Service.

", "DataSource$Type": "

The type of the data source. This type indicates which database engine the data source connects to.

" } }, @@ -1622,6 +1622,32 @@ "FilterOperation$ConditionExpression": "

An expression that must evaluate to a Boolean value. Rows for which the expression evaluates to true are kept in the dataset.

" } }, + "FieldFolder": { + "base": "

A FieldFolder element is a folder that contains fields and nested subfolders.

", + "refs": { + "FieldFolderMap$value": null + } + }, + "FieldFolderDescription": { + "base": null, + "refs": { + "FieldFolder$description": "

The description for a field folder.

" + } + }, + "FieldFolderMap": { + "base": null, + "refs": { + "CreateDataSetRequest$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

", + "DataSet$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

", + "UpdateDataSetRequest$FieldFolders": "

The folder that contains fields and nested subfolders for your dataset.

" + } + }, + "FieldFolderPath": { + "base": null, + "refs": { + "FieldFolderMap$key": null + } + }, "FileFormat": { "base": null, "refs": { @@ -1641,6 +1667,12 @@ "DashboardSearchFilter$Operator": "

The comparison operator that you want to use as a filter, for example, \"Operator\": \"StringEquals\".

" } }, + "FolderColumnList": { + "base": null, + "refs": { + "FieldFolder$columns": "

A folder has a list of columns. A column can only be in one folder.

" + } + }, "GeoSpatialColumnGroup": { "base": "

Geospatial column group that denotes a hierarchy.

", "refs": { @@ -3133,6 +3165,7 @@ "DescribeUserResponse$RequestId": "

The AWS request ID for this operation.

", "DomainNotWhitelistedException$Message": null, "DomainNotWhitelistedException$RequestId": "

The AWS request ID for this request.

", + "FolderColumnList$member": null, "GetDashboardEmbedUrlResponse$RequestId": "

The AWS request ID for this operation.

", "GetSessionEmbedUrlResponse$RequestId": "

The AWS request ID for this operation.

", "Group$PrincipalId": "

The principal ID of the group.

", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 4d2aba8baa0..5a7220e82cd 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -8761,7 +8761,13 @@ }, "runtime.sagemaker" : { "endpoints" : { - "us-gov-west-1" : { } + "us-gov-west-1" : { }, + "us-gov-west-1-fips" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "runtime.sagemaker.us-gov-west-1.amazonaws.com" + } } }, "s3" : { @@ -9422,6 +9428,11 @@ "us-iso-east-1" : { } } }, + "outposts" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, "rds" : { "endpoints" : { "us-iso-east-1" : { } diff --git a/service/appflow/api.go b/service/appflow/api.go index 502925eebb0..00315cabf9b 100644 --- a/service/appflow/api.go +++ b/service/appflow/api.go @@ -4168,6 +4168,9 @@ type DescribeConnectorsInput struct { _ struct{} `type:"structure"` // The type of connector, such as Salesforce, Amplitude, and so on. + // + // Locke refers to a new destination known as Amazon Connect Customer Profiles. + // At this time, we recommend that you do not use this destination. ConnectorTypes []*string `locationName:"connectorTypes" type:"list"` // The pagination token for the next page of data. @@ -5115,6 +5118,14 @@ func (s *ExecutionDetails) SetMostRecentExecutionTime(v time.Time) *ExecutionDet type ExecutionRecord struct { _ struct{} `type:"structure"` + // The timestamp that indicates the last new or updated record to be transferred + // in the flow run. + DataPullEndTime *time.Time `locationName:"dataPullEndTime" type:"timestamp"` + + // The timestamp that determines the first new or updated record to be transferred + // in the flow run. + DataPullStartTime *time.Time `locationName:"dataPullStartTime" type:"timestamp"` + // Specifies the identifier of the given flow run. ExecutionId *string `locationName:"executionId" type:"string"` @@ -5142,6 +5153,18 @@ func (s ExecutionRecord) GoString() string { return s.String() } +// SetDataPullEndTime sets the DataPullEndTime field's value. +func (s *ExecutionRecord) SetDataPullEndTime(v time.Time) *ExecutionRecord { + s.DataPullEndTime = &v + return s +} + +// SetDataPullStartTime sets the DataPullStartTime field's value. +func (s *ExecutionRecord) SetDataPullStartTime(v time.Time) *ExecutionRecord { + s.DataPullStartTime = &v + return s +} + // SetExecutionId sets the ExecutionId field's value. func (s *ExecutionRecord) SetExecutionId(v string) *ExecutionRecord { s.ExecutionId = &v @@ -6988,11 +7011,15 @@ type ScheduledTriggerProperties struct { // ScheduleExpression is a required field ScheduleExpression *string `locationName:"scheduleExpression" type:"string" required:"true"` + // Specifies the optional offset that is added to the time interval for a schedule-triggered + // flow. + ScheduleOffset *int64 `locationName:"scheduleOffset" type:"long"` + // Specifies the scheduled start time for a schedule-triggered flow. ScheduleStartTime *time.Time `locationName:"scheduleStartTime" type:"timestamp"` // Specifies the time zone used when referring to the date and time of a scheduled-triggered - // flow. + // flow, such as America/New_York. Timezone *string `locationName:"timezone" type:"string"` } @@ -7037,6 +7064,12 @@ func (s *ScheduledTriggerProperties) SetScheduleExpression(v string) *ScheduledT return s } +// SetScheduleOffset sets the ScheduleOffset field's value. +func (s *ScheduledTriggerProperties) SetScheduleOffset(v int64) *ScheduledTriggerProperties { + s.ScheduleOffset = &v + return s +} + // SetScheduleStartTime sets the ScheduleStartTime field's value. func (s *ScheduledTriggerProperties) SetScheduleStartTime(v time.Time) *ScheduledTriggerProperties { s.ScheduleStartTime = &v diff --git a/service/athena/api.go b/service/athena/api.go index 7e5303a78b0..69aabc15f02 100644 --- a/service/athena/api.go +++ b/service/athena/api.go @@ -843,7 +843,7 @@ func (c *Athena) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Reque // GetDatabase API operation for Amazon Athena. // -// Returns a database object for the specfied database and data catalog. +// Returns a database object for the specified database and data catalog. // // 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 @@ -1683,6 +1683,91 @@ func (c *Athena) ListDatabasesPagesWithContext(ctx aws.Context, input *ListDatab return p.Err() } +const opListEngineVersions = "ListEngineVersions" + +// ListEngineVersionsRequest generates a "aws/request.Request" representing the +// client's request for the ListEngineVersions 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 ListEngineVersions for more information on using the ListEngineVersions +// 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 ListEngineVersionsRequest method. +// req, resp := client.ListEngineVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListEngineVersions +func (c *Athena) ListEngineVersionsRequest(input *ListEngineVersionsInput) (req *request.Request, output *ListEngineVersionsOutput) { + op := &request.Operation{ + Name: opListEngineVersions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListEngineVersionsInput{} + } + + output = &ListEngineVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListEngineVersions API operation for Amazon Athena. +// +// Returns a list of engine versions that are available to choose from, including +// the Auto option. +// +// 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 Athena's +// API operation ListEngineVersions for usage and error information. +// +// Returned Error Types: +// * InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// * InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListEngineVersions +func (c *Athena) ListEngineVersions(input *ListEngineVersionsInput) (*ListEngineVersionsOutput, error) { + req, out := c.ListEngineVersionsRequest(input) + return out, req.Send() +} + +// ListEngineVersionsWithContext is the same as ListEngineVersions with the addition of +// the ability to pass a context and additional request options. +// +// See ListEngineVersions 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 *Athena) ListEngineVersionsWithContext(ctx aws.Context, input *ListEngineVersionsInput, opts ...request.Option) (*ListEngineVersionsOutput, error) { + req, out := c.ListEngineVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListNamedQueries = "ListNamedQueries" // ListNamedQueriesRequest generates a "aws/request.Request" representing the @@ -3282,15 +3367,17 @@ type CreateDataCatalogInput struct { // Both parameters are required. metadata-function=lambda_arn, record-function=lambda_arn // If you have a composite Lambda function that processes both metadata and // data, use the following syntax to specify your Lambda function. function=lambda_arn - // - // * The GLUE type has no parameters. Parameters map[string]*string `type:"map"` // A list of comma separated tags to add to the data catalog that is created. Tags []*Tag `type:"list"` - // The type of data catalog to create: LAMBDA for a federated catalog, GLUE - // for AWS Glue Catalog, or HIVE for an external hive metastore. + // The type of data catalog to create: LAMBDA for a federated catalog or HIVE + // for an external hive metastore. + // + // Do not use the GLUE type. This refers to the AwsDataCatalog that already + // exists in your account, of which you can have only one. Specifying the GLUE + // type will result in an INVALID_INPUT error. // // Type is a required field Type *string `type:"string" required:"true" enum:"DataCatalogType"` @@ -3647,12 +3734,11 @@ type DataCatalog struct { // Both parameters are required. metadata-function=lambda_arn, record-function=lambda_arn // If you have a composite Lambda function that processes both metadata and // data, use the following syntax to specify your Lambda function. function=lambda_arn - // - // * The GLUE type has no parameters. Parameters map[string]*string `type:"map"` - // The type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue - // Catalog, or HIVE for an external hive metastore. + // The type of data catalog: LAMBDA for a federated catalog or HIVE for an external + // hive metastore. GLUE refers to the AwsDataCatalog that already exists in + // your account, of which you can have only one. // // Type is a required field Type *string `type:"string" required:"true" enum:"DataCatalogType"` @@ -3890,7 +3976,7 @@ type DeleteWorkGroupInput struct { _ struct{} `type:"structure"` // The option to delete the workgroup and its contents even if the workgroup - // contains any named queries. + // contains any named queries or query executions. RecursiveDeleteOption *bool `type:"boolean"` // The unique name of the workgroup to delete. @@ -4003,6 +4089,61 @@ func (s *EncryptionConfiguration) SetKmsKey(v string) *EncryptionConfiguration { return s } +// The Athena engine version for running queries. +type EngineVersion struct { + _ struct{} `type:"structure"` + + // Read only. The engine version on which the query runs. If the user requests + // a valid engine version other than Auto, the effective engine version is the + // same as the engine version that the user requested. If the user requests + // Auto, the effective engine version is chosen by Athena. When a request to + // update the engine version is made by a CreateWorkGroup or UpdateWorkGroup + // operation, the EffectiveEngineVersion field is ignored. + EffectiveEngineVersion *string `min:"1" type:"string"` + + // The engine version requested by the user. Possible values are determined + // by the output of ListEngineVersions, including Auto. The default is Auto. + SelectedEngineVersion *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s EngineVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EngineVersion) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EngineVersion) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EngineVersion"} + if s.EffectiveEngineVersion != nil && len(*s.EffectiveEngineVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EffectiveEngineVersion", 1)) + } + if s.SelectedEngineVersion != nil && len(*s.SelectedEngineVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SelectedEngineVersion", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEffectiveEngineVersion sets the EffectiveEngineVersion field's value. +func (s *EngineVersion) SetEffectiveEngineVersion(v string) *EngineVersion { + s.EffectiveEngineVersion = &v + return s +} + +// SetSelectedEngineVersion sets the SelectedEngineVersion field's value. +func (s *EngineVersion) SetSelectedEngineVersion(v string) *EngineVersion { + s.SelectedEngineVersion = &v + return s +} + type GetDataCatalogInput struct { _ struct{} `type:"structure"` @@ -4846,6 +4987,92 @@ func (s *ListDatabasesOutput) SetNextToken(v string) *ListDatabasesOutput { return s } +type ListEngineVersionsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of engine versions to return in this request. + MaxResults *int64 `min:"1" type:"integer"` + + // A token generated by the Athena service that specifies where to continue + // pagination if a previous request was truncated. To obtain the next set of + // pages, pass in the NextToken from the response object of the previous page + // call. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListEngineVersionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListEngineVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListEngineVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListEngineVersionsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListEngineVersionsInput) SetMaxResults(v int64) *ListEngineVersionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListEngineVersionsInput) SetNextToken(v string) *ListEngineVersionsInput { + s.NextToken = &v + return s +} + +type ListEngineVersionsOutput struct { + _ struct{} `type:"structure"` + + // A list of engine versions that are available to choose from. + EngineVersions []*EngineVersion `type:"list"` + + // A token generated by the Athena service that specifies where to continue + // pagination if a previous request was truncated. To obtain the next set of + // pages, pass in the NextToken from the response object of the previous page + // call. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListEngineVersionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListEngineVersionsOutput) GoString() string { + return s.String() +} + +// SetEngineVersions sets the EngineVersions field's value. +func (s *ListEngineVersionsOutput) SetEngineVersions(v []*EngineVersion) *ListEngineVersionsOutput { + s.EngineVersions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListEngineVersionsOutput) SetNextToken(v string) *ListEngineVersionsOutput { + s.NextToken = &v + return s +} + type ListNamedQueriesInput struct { _ struct{} `type:"structure"` @@ -5321,8 +5548,8 @@ type ListWorkGroupsOutput struct { // call. NextToken *string `min:"1" type:"string"` - // The list of workgroups, including their names, descriptions, creation times, - // and states. + // A list of WorkGroupSummary objects that include the names, descriptions, + // creation times, and states for each workgroup. WorkGroups []*WorkGroupSummary `type:"list"` } @@ -5488,6 +5715,9 @@ func (s *NamedQuery) SetWorkGroup(v string) *NamedQuery { type QueryExecution struct { _ struct{} `type:"structure"` + // The engine version that executed the query. + EngineVersion *EngineVersion `type:"structure"` + // The SQL query statements which the query execution ran. Query *string `min:"1" type:"string"` @@ -5533,6 +5763,12 @@ func (s QueryExecution) GoString() string { return s.String() } +// SetEngineVersion sets the EngineVersion field's value. +func (s *QueryExecution) SetEngineVersion(v *EngineVersion) *QueryExecution { + s.EngineVersion = v + return s +} + // SetQuery sets the Query field's value. func (s *QueryExecution) SetQuery(v string) *QueryExecution { s.Query = &v @@ -6700,12 +6936,14 @@ type UpdateDataCatalogInput struct { // Both parameters are required. metadata-function=lambda_arn, record-function=lambda_arn // If you have a composite Lambda function that processes both metadata and // data, use the following syntax to specify your Lambda function. function=lambda_arn - // - // * The GLUE type has no parameters. Parameters map[string]*string `type:"map"` // Specifies the type of data catalog to update. Specify LAMBDA for a federated - // catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. + // catalog or HIVE for an external hive metastore. + // + // Do not use the GLUE type. This refers to the AwsDataCatalog that already + // exists in your account, of which you can have only one. Specifying the GLUE + // type will result in an INVALID_INPUT error. // // Type is a required field Type *string `type:"string" required:"true" enum:"DataCatalogType"` @@ -6960,6 +7198,11 @@ type WorkGroupConfiguration struct { // Workgroup Settings Override Client-Side Settings (https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html). EnforceWorkGroupConfiguration *bool `type:"boolean"` + // The engine version that all queries running on the workgroup use. Queries + // on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine + // regardless of this setting. + EngineVersion *EngineVersion `type:"structure"` + // Indicates that the Amazon CloudWatch metrics are enabled for the workgroup. PublishCloudWatchMetricsEnabled *bool `type:"boolean"` @@ -6998,6 +7241,11 @@ func (s *WorkGroupConfiguration) Validate() error { if s.BytesScannedCutoffPerQuery != nil && *s.BytesScannedCutoffPerQuery < 1e+07 { invalidParams.Add(request.NewErrParamMinValue("BytesScannedCutoffPerQuery", 1e+07)) } + if s.EngineVersion != nil { + if err := s.EngineVersion.Validate(); err != nil { + invalidParams.AddNested("EngineVersion", err.(request.ErrInvalidParams)) + } + } if s.ResultConfiguration != nil { if err := s.ResultConfiguration.Validate(); err != nil { invalidParams.AddNested("ResultConfiguration", err.(request.ErrInvalidParams)) @@ -7022,6 +7270,12 @@ func (s *WorkGroupConfiguration) SetEnforceWorkGroupConfiguration(v bool) *WorkG return s } +// SetEngineVersion sets the EngineVersion field's value. +func (s *WorkGroupConfiguration) SetEngineVersion(v *EngineVersion) *WorkGroupConfiguration { + s.EngineVersion = v + return s +} + // SetPublishCloudWatchMetricsEnabled sets the PublishCloudWatchMetricsEnabled field's value. func (s *WorkGroupConfiguration) SetPublishCloudWatchMetricsEnabled(v bool) *WorkGroupConfiguration { s.PublishCloudWatchMetricsEnabled = &v @@ -7058,6 +7312,12 @@ type WorkGroupConfigurationUpdates struct { // Workgroup Settings Override Client-Side Settings (https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html). EnforceWorkGroupConfiguration *bool `type:"boolean"` + // The engine version requested when a workgroup is updated. After the update, + // all queries on the workgroup run on the requested engine version. If no value + // was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality + // workgroup run on the preview engine regardless of this setting. + EngineVersion *EngineVersion `type:"structure"` + // Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch. PublishCloudWatchMetricsEnabled *bool `type:"boolean"` @@ -7095,6 +7355,11 @@ func (s *WorkGroupConfigurationUpdates) Validate() error { if s.BytesScannedCutoffPerQuery != nil && *s.BytesScannedCutoffPerQuery < 1e+07 { invalidParams.Add(request.NewErrParamMinValue("BytesScannedCutoffPerQuery", 1e+07)) } + if s.EngineVersion != nil { + if err := s.EngineVersion.Validate(); err != nil { + invalidParams.AddNested("EngineVersion", err.(request.ErrInvalidParams)) + } + } if s.ResultConfigurationUpdates != nil { if err := s.ResultConfigurationUpdates.Validate(); err != nil { invalidParams.AddNested("ResultConfigurationUpdates", err.(request.ErrInvalidParams)) @@ -7119,6 +7384,12 @@ func (s *WorkGroupConfigurationUpdates) SetEnforceWorkGroupConfiguration(v bool) return s } +// SetEngineVersion sets the EngineVersion field's value. +func (s *WorkGroupConfigurationUpdates) SetEngineVersion(v *EngineVersion) *WorkGroupConfigurationUpdates { + s.EngineVersion = v + return s +} + // SetPublishCloudWatchMetricsEnabled sets the PublishCloudWatchMetricsEnabled field's value. func (s *WorkGroupConfigurationUpdates) SetPublishCloudWatchMetricsEnabled(v bool) *WorkGroupConfigurationUpdates { s.PublishCloudWatchMetricsEnabled = &v @@ -7154,6 +7425,11 @@ type WorkGroupSummary struct { // The workgroup description. Description *string `type:"string"` + // The engine version setting for all queries on the workgroup. Queries on the + // AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless + // of this setting. + EngineVersion *EngineVersion `type:"structure"` + // The name of the workgroup. Name *string `type:"string"` @@ -7183,6 +7459,12 @@ func (s *WorkGroupSummary) SetDescription(v string) *WorkGroupSummary { return s } +// SetEngineVersion sets the EngineVersion field's value. +func (s *WorkGroupSummary) SetEngineVersion(v *EngineVersion) *WorkGroupSummary { + s.EngineVersion = v + return s +} + // SetName sets the Name field's value. func (s *WorkGroupSummary) SetName(v string) *WorkGroupSummary { s.Name = &v diff --git a/service/athena/athenaiface/interface.go b/service/athena/athenaiface/interface.go index 0950ff8208a..351d49adc05 100644 --- a/service/athena/athenaiface/interface.go +++ b/service/athena/athenaiface/interface.go @@ -137,6 +137,10 @@ type AthenaAPI interface { ListDatabasesPages(*athena.ListDatabasesInput, func(*athena.ListDatabasesOutput, bool) bool) error ListDatabasesPagesWithContext(aws.Context, *athena.ListDatabasesInput, func(*athena.ListDatabasesOutput, bool) bool, ...request.Option) error + ListEngineVersions(*athena.ListEngineVersionsInput) (*athena.ListEngineVersionsOutput, error) + ListEngineVersionsWithContext(aws.Context, *athena.ListEngineVersionsInput, ...request.Option) (*athena.ListEngineVersionsOutput, error) + ListEngineVersionsRequest(*athena.ListEngineVersionsInput) (*request.Request, *athena.ListEngineVersionsOutput) + ListNamedQueries(*athena.ListNamedQueriesInput) (*athena.ListNamedQueriesOutput, error) ListNamedQueriesWithContext(aws.Context, *athena.ListNamedQueriesInput, ...request.Option) (*athena.ListNamedQueriesOutput, error) ListNamedQueriesRequest(*athena.ListNamedQueriesInput) (*request.Request, *athena.ListNamedQueriesOutput) diff --git a/service/dlm/api.go b/service/dlm/api.go index f1a22ce39d3..a897a728c24 100644 --- a/service/dlm/api.go +++ b/service/dlm/api.go @@ -911,6 +911,18 @@ type CreateRule struct { // The interval unit. IntervalUnit *string `type:"string" enum:"IntervalUnitValues"` + // Specifies the destination for snapshots created by the policy. To create + // snapshots in the same Region as the source resource, specify CLOUD. To create + // snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. + // If you omit this parameter, CLOUD is used by default. + // + // If the policy targets resources in an AWS Region, then you must create snapshots + // in the same Region as the source resource. + // + // If the policy targets resources on an Outpost, then you can create snapshots + // on the same Outpost as the source resource, or in the Region of that Outpost. + Location *string `type:"string" enum:"LocationValues"` + // The time, in UTC, to start the operation. The supported format is hh:mm. // // The operation occurs within a one-hour window following the specified time. @@ -963,6 +975,12 @@ func (s *CreateRule) SetIntervalUnit(v string) *CreateRule { return s } +// SetLocation sets the Location field's value. +func (s *CreateRule) SetLocation(v string) *CreateRule { + s.Location = &v + return s +} + // SetTimes sets the Times field's value. func (s *CreateRule) SetTimes(v []*string) *CreateRule { s.Times = v @@ -1111,10 +1129,18 @@ type CrossRegionCopyRule struct { // The retention rule. RetainRule *CrossRegionCopyRetainRule `type:"structure"` - // The target Region. + // The Amazon Resource Name (ARN) of the target AWS Outpost for the snapshot + // copies. // - // TargetRegion is a required field - TargetRegion *string `type:"string" required:"true"` + // If you specify an ARN, you must omit TargetRegion. You cannot specify a target + // Region and a target Outpost in the same rule. + Target *string `type:"string"` + + // The target Region for the snapshot copies. + // + // If you specify a target Region, you must omit Target. You cannot specify + // a target Region and a target Outpost in the same rule. + TargetRegion *string `type:"string"` } // String returns the string representation @@ -1133,9 +1159,6 @@ func (s *CrossRegionCopyRule) Validate() error { if s.Encrypted == nil { invalidParams.Add(request.NewErrParamRequired("Encrypted")) } - if s.TargetRegion == nil { - invalidParams.Add(request.NewErrParamRequired("TargetRegion")) - } if s.RetainRule != nil { if err := s.RetainRule.Validate(); err != nil { invalidParams.AddNested("RetainRule", err.(request.ErrInvalidParams)) @@ -1172,6 +1195,12 @@ func (s *CrossRegionCopyRule) SetRetainRule(v *CrossRegionCopyRetainRule) *Cross return s } +// SetTarget sets the Target field's value. +func (s *CrossRegionCopyRule) SetTarget(v string) *CrossRegionCopyRule { + s.Target = &v + return s +} + // SetTargetRegion sets the TargetRegion field's value. func (s *CrossRegionCopyRule) SetTargetRegion(v string) *CrossRegionCopyRule { s.TargetRegion = &v @@ -2151,6 +2180,15 @@ type PolicyDetails struct { // The default is EBS_SNAPSHOT_MANAGEMENT. PolicyType *string `type:"string" enum:"PolicyTypeValues"` + // The location of the resources to backup. If the source resources are located + // in an AWS Region, specify CLOUD. If the source resources are located on an + // AWS Outpost in your account, specify OUTPOST. + // + // If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources + // of the specified type with matching target tags across all of the Outposts + // in your account. + ResourceLocations []*string `min:"1" type:"list"` + // The target resource type for snapshot and AMI lifecycle policies. Use VOLUME // to create snapshots of individual volumes or use INSTANCE to create multi-volume // snapshots from the volumes for an instance. @@ -2190,6 +2228,9 @@ func (s *PolicyDetails) Validate() error { if s.Actions != nil && len(s.Actions) < 1 { invalidParams.Add(request.NewErrParamMinLen("Actions", 1)) } + if s.ResourceLocations != nil && len(s.ResourceLocations) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceLocations", 1)) + } if s.ResourceTypes != nil && len(s.ResourceTypes) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceTypes", 1)) } @@ -2265,6 +2306,12 @@ func (s *PolicyDetails) SetPolicyType(v string) *PolicyDetails { return s } +// SetResourceLocations sets the ResourceLocations field's value. +func (s *PolicyDetails) SetResourceLocations(v []*string) *PolicyDetails { + s.ResourceLocations = v + return s +} + // SetResourceTypes sets the ResourceTypes field's value. func (s *PolicyDetails) SetResourceTypes(v []*string) *PolicyDetails { s.ResourceTypes = v @@ -2419,6 +2466,11 @@ type Schedule struct { CreateRule *CreateRule `type:"structure"` // The rule for cross-Region snapshot copies. + // + // You can only specify cross-Region copy rules for policies that create snapshots + // in a Region. If the policy creates snapshots on an Outpost, then you cannot + // copy the snapshots to a Region or to an Outpost. If the policy creates snapshots + // in a Region, then snapshots can be copied to up to three Regions or Outposts. CrossRegionCopyRules []*CrossRegionCopyRule `type:"list"` // The rule for enabling fast snapshot restore. @@ -2988,6 +3040,22 @@ func IntervalUnitValues_Values() []string { } } +const ( + // LocationValuesCloud is a LocationValues enum value + LocationValuesCloud = "CLOUD" + + // LocationValuesOutpostLocal is a LocationValues enum value + LocationValuesOutpostLocal = "OUTPOST_LOCAL" +) + +// LocationValues_Values returns all elements of the LocationValues enum +func LocationValues_Values() []string { + return []string{ + LocationValuesCloud, + LocationValuesOutpostLocal, + } +} + const ( // PolicyTypeValuesEbsSnapshotManagement is a PolicyTypeValues enum value PolicyTypeValuesEbsSnapshotManagement = "EBS_SNAPSHOT_MANAGEMENT" @@ -3008,6 +3076,22 @@ func PolicyTypeValues_Values() []string { } } +const ( + // ResourceLocationValuesCloud is a ResourceLocationValues enum value + ResourceLocationValuesCloud = "CLOUD" + + // ResourceLocationValuesOutpost is a ResourceLocationValues enum value + ResourceLocationValuesOutpost = "OUTPOST" +) + +// ResourceLocationValues_Values returns all elements of the ResourceLocationValues enum +func ResourceLocationValues_Values() []string { + return []string{ + ResourceLocationValuesCloud, + ResourceLocationValuesOutpost, + } +} + const ( // ResourceTypeValuesVolume is a ResourceTypeValues enum value ResourceTypeValuesVolume = "VOLUME" diff --git a/service/ec2/api.go b/service/ec2/api.go index 7cb5a56ca8b..823d4d58f1f 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -3397,14 +3397,25 @@ func (c *EC2) CopyImageRequest(input *CopyImageInput) (req *request.Request, out // CopyImage API operation for Amazon Elastic Compute Cloud. // -// Initiates the copy of an AMI from the specified source Region to the current -// Region. You specify the destination Region by using its endpoint when making -// the request. -// -// Copies of encrypted backing snapshots for the AMI are encrypted. Copies of -// unencrypted backing snapshots remain unencrypted, unless you set Encrypted -// during the copy operation. You cannot create an unencrypted copy of an encrypted -// backing snapshot. +// Initiates the copy of an AMI. You can copy an AMI from one Region to another, +// or from a Region to an AWS Outpost. You can't copy an AMI from an Outpost +// to a Region, from one Outpost to another, or within the same Outpost. +// +// To copy an AMI from one Region to another, specify the source Region using +// the SourceRegion parameter, and specify the destination Region using its +// endpoint. Copies of encrypted backing snapshots for the AMI are encrypted. +// Copies of unencrypted backing snapshots remain unencrypted, unless you set +// Encrypted during the copy operation. You cannot create an unencrypted copy +// of an encrypted backing snapshot. +// +// To copy an AMI from a Region to an Outpost, specify the source Region using +// the SourceRegion parameter, and specify the ARN of the destination Outpost +// using DestinationOutpostArn. Backing snapshots copied to an Outpost are encrypted +// by default using the default encryption key for the Region, or a different +// key that you specify in the request using KmsKeyId. Outposts do not support +// unencrypted snapshots. For more information, Amazon EBS local snapshots on +// Outposts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami) +// in the Amazon Elastic Compute Cloud User Guide. // // For more information about the prerequisites and limits when copying an AMI, // see Copying an AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html) @@ -3483,18 +3494,25 @@ func (c *EC2) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Reques // CopySnapshot API operation for Amazon Elastic Compute Cloud. // // Copies a point-in-time snapshot of an EBS volume and stores it in Amazon -// S3. You can copy the snapshot within the same Region or from one Region to -// another. You can use the snapshot to create EBS volumes or Amazon Machine -// Images (AMIs). -// -// Copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted -// snapshots remain unencrypted, unless you enable encryption for the snapshot -// copy operation. By default, encrypted snapshot copies use the default AWS -// Key Management Service (AWS KMS) customer master key (CMK); however, you -// can specify a different CMK. -// -// To copy an encrypted snapshot that has been shared from another account, -// you must have permissions for the CMK used to encrypt the snapshot. +// S3. You can copy a snapshot within the same Region, from one Region to another, +// or from a Region to an Outpost. You can't copy a snapshot from an Outpost +// to a Region, from one Outpost to another, or within the same Outpost. +// +// You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs). +// +// When copying snapshots to a Region, copies of encrypted EBS snapshots remain +// encrypted. Copies of unencrypted snapshots remain unencrypted, unless you +// enable encryption for the snapshot copy operation. By default, encrypted +// snapshot copies use the default AWS Key Management Service (AWS KMS) customer +// master key (CMK); however, you can specify a different CMK. To copy an encrypted +// snapshot that has been shared from another account, you must have permissions +// for the CMK used to encrypt the snapshot. +// +// Snapshots copied to an Outpost are encrypted by default using the default +// encryption key for the Region, or a different key that you specify in the +// request using KmsKeyId. Outposts do not support unencrypted snapshots. For +// more information, Amazon EBS local snapshots on Outposts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami) +// in the Amazon Elastic Compute Cloud User Guide. // // Snapshots created by copying another snapshot have an arbitrary volume ID // that should not be used for any purpose. @@ -6255,6 +6273,12 @@ func (c *EC2) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Re // snapshots for backups, to make copies of EBS volumes, and to save data before // shutting down an instance. // +// You can create snapshots of volumes in a Region and volumes on an Outpost. +// If you create a snapshot of a volume in a Region, the snapshot must be stored +// in the same Region as the volume. If you create a snapshot of a volume on +// an Outpost, the snapshot can be stored on the same Outpost as the volume, +// or in the Region for that Outpost. +// // When a snapshot is created, any AWS Marketplace product codes that are associated // with the source volume are propagated to the snapshot. // @@ -6361,6 +6385,12 @@ func (c *EC2) CreateSnapshotsRequest(input *CreateSnapshotsInput) (req *request. // will produce one snapshot each that is crash-consistent across the instance. // Boot volumes can be excluded by changing the parameters. // +// You can create multi-volume snapshots of instances in a Region and instances +// on an Outpost. If you create snapshots from an instance in a Region, the +// snapshots must be stored in the same Region as the instance. If you create +// snapshots from an instance on an Outpost, the snapshots can be stored on +// the same Outpost as the instance, or in the Region for that Outpost. +// // 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. @@ -12272,26 +12302,12 @@ func (c *EC2) DeleteVpcEndpointsRequest(input *DeleteVpcEndpointsInput) (req *re // DeleteVpcEndpoints API operation for Amazon Elastic Compute Cloud. // -// Deletes one or more specified VPC endpoints. You can delete any of the following -// types of VPC endpoints. -// -// * Gateway endpoint, -// -// * Gateway Load Balancer endpoint, -// -// * Interface endpoint -// -// The following rules apply when you delete a VPC endpoint: -// -// * When you delete a gateway endpoint, we delete the endpoint routes in -// the route tables that are associated with the endpoint. -// -// * When you delete a Gateway Load Balancer endpoint, we delete the endpoint -// network interfaces. You can only delete Gateway Load Balancer endpoints -// when the routes that are associated with the endpoint are deleted. -// -// * When you delete an interface endpoint, we delete the endpoint network -// interfaces. +// Deletes one or more specified VPC endpoints. Deleting a gateway endpoint +// also deletes the endpoint routes in the route tables that were associated +// with the endpoint. Deleting an interface endpoint or a Gateway Load Balancer +// endpoint deletes the endpoint network interfaces. Gateway Load Balancer endpoints +// can only be deleted if the routes that are associated with the endpoint are +// deleted. // // 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 @@ -13203,139 +13219,6 @@ func (c *EC2) DescribeAddressesWithContext(ctx aws.Context, input *DescribeAddre return out, req.Send() } -const opDescribeAddressesAttribute = "DescribeAddressesAttribute" - -// DescribeAddressesAttributeRequest generates a "aws/request.Request" representing the -// client's request for the DescribeAddressesAttribute 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 DescribeAddressesAttribute for more information on using the DescribeAddressesAttribute -// 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 DescribeAddressesAttributeRequest method. -// req, resp := client.DescribeAddressesAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttribute -func (c *EC2) DescribeAddressesAttributeRequest(input *DescribeAddressesAttributeInput) (req *request.Request, output *DescribeAddressesAttributeOutput) { - op := &request.Operation{ - Name: opDescribeAddressesAttribute, - HTTPMethod: "POST", - HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &DescribeAddressesAttributeInput{} - } - - output = &DescribeAddressesAttributeOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeAddressesAttribute API operation for Amazon Elastic Compute Cloud. -// -// Describes the attributes of the specified Elastic IP addresses. For requirements, -// see Using reverse DNS for email applications (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS). -// -// 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 Elastic Compute Cloud's -// API operation DescribeAddressesAttribute for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttribute -func (c *EC2) DescribeAddressesAttribute(input *DescribeAddressesAttributeInput) (*DescribeAddressesAttributeOutput, error) { - req, out := c.DescribeAddressesAttributeRequest(input) - return out, req.Send() -} - -// DescribeAddressesAttributeWithContext is the same as DescribeAddressesAttribute with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeAddressesAttribute 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 *EC2) DescribeAddressesAttributeWithContext(ctx aws.Context, input *DescribeAddressesAttributeInput, opts ...request.Option) (*DescribeAddressesAttributeOutput, error) { - req, out := c.DescribeAddressesAttributeRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// DescribeAddressesAttributePages iterates over the pages of a DescribeAddressesAttribute operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See DescribeAddressesAttribute method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a DescribeAddressesAttribute operation. -// pageNum := 0 -// err := client.DescribeAddressesAttributePages(params, -// func(page *ec2.DescribeAddressesAttributeOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EC2) DescribeAddressesAttributePages(input *DescribeAddressesAttributeInput, fn func(*DescribeAddressesAttributeOutput, bool) bool) error { - return c.DescribeAddressesAttributePagesWithContext(aws.BackgroundContext(), input, fn) -} - -// DescribeAddressesAttributePagesWithContext same as DescribeAddressesAttributePages except -// it takes a Context and allows setting request options on the pages. -// -// 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 *EC2) DescribeAddressesAttributePagesWithContext(ctx aws.Context, input *DescribeAddressesAttributeInput, fn func(*DescribeAddressesAttributeOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *DescribeAddressesAttributeInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeAddressesAttributeRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*DescribeAddressesAttributeOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - const opDescribeAggregateIdFormat = "DescribeAggregateIdFormat" // DescribeAggregateIdFormatRequest generates a "aws/request.Request" representing the @@ -26769,12 +26652,12 @@ func (c *EC2) DescribeVpcEndpointServicesRequest(input *DescribeVpcEndpointServi // // Describes available services to which you can create a VPC endpoint. // -// When the service provider and the consumer have different accounts in multiple +// When the service provider and the consumer have different accounts multiple // Availability Zones, and the consumer views the VPC endpoint service information, // the response only includes the common Availability Zones. For example, when // the service provider account uses us-east-1a and us-east-1c and the consumer -// uses us-east-1a and us-east-1b, the response includes the VPC endpoint services -// in the common Availability Zone, us-east-1a. +// uses us-east-1a and us-east-1a and us-east-1b, the response includes the +// VPC endpoint services in the common Availability Zone, us-east-1a. // // 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 @@ -32414,81 +32297,6 @@ func (c *EC2) ImportVolumeWithContext(ctx aws.Context, input *ImportVolumeInput, return out, req.Send() } -const opModifyAddressAttribute = "ModifyAddressAttribute" - -// ModifyAddressAttributeRequest generates a "aws/request.Request" representing the -// client's request for the ModifyAddressAttribute 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 ModifyAddressAttribute for more information on using the ModifyAddressAttribute -// 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 ModifyAddressAttributeRequest method. -// req, resp := client.ModifyAddressAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttribute -func (c *EC2) ModifyAddressAttributeRequest(input *ModifyAddressAttributeInput) (req *request.Request, output *ModifyAddressAttributeOutput) { - op := &request.Operation{ - Name: opModifyAddressAttribute, - HTTPMethod: "POST", - HTTPPath: "/", - } - - if input == nil { - input = &ModifyAddressAttributeInput{} - } - - output = &ModifyAddressAttributeOutput{} - req = c.newRequest(op, input, output) - return -} - -// ModifyAddressAttribute API operation for Amazon Elastic Compute Cloud. -// -// Modifies an attribute of the specified Elastic IP address. For requirements, -// see Using reverse DNS for email applications (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS). -// -// 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 Elastic Compute Cloud's -// API operation ModifyAddressAttribute for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttribute -func (c *EC2) ModifyAddressAttribute(input *ModifyAddressAttributeInput) (*ModifyAddressAttributeOutput, error) { - req, out := c.ModifyAddressAttributeRequest(input) - return out, req.Send() -} - -// ModifyAddressAttributeWithContext is the same as ModifyAddressAttribute with the addition of -// the ability to pass a context and additional request options. -// -// See ModifyAddressAttribute 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 *EC2) ModifyAddressAttributeWithContext(ctx aws.Context, input *ModifyAddressAttributeInput, opts ...request.Option) (*ModifyAddressAttributeOutput, error) { - req, out := c.ModifyAddressAttributeRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - const opModifyAvailabilityZoneGroup = "ModifyAvailabilityZoneGroup" // ModifyAvailabilityZoneGroupRequest generates a "aws/request.Request" representing the @@ -38291,81 +38099,6 @@ func (c *EC2) RequestSpotInstancesWithContext(ctx aws.Context, input *RequestSpo return out, req.Send() } -const opResetAddressAttribute = "ResetAddressAttribute" - -// ResetAddressAttributeRequest generates a "aws/request.Request" representing the -// client's request for the ResetAddressAttribute 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 ResetAddressAttribute for more information on using the ResetAddressAttribute -// 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 ResetAddressAttributeRequest method. -// req, resp := client.ResetAddressAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttribute -func (c *EC2) ResetAddressAttributeRequest(input *ResetAddressAttributeInput) (req *request.Request, output *ResetAddressAttributeOutput) { - op := &request.Operation{ - Name: opResetAddressAttribute, - HTTPMethod: "POST", - HTTPPath: "/", - } - - if input == nil { - input = &ResetAddressAttributeInput{} - } - - output = &ResetAddressAttributeOutput{} - req = c.newRequest(op, input, output) - return -} - -// ResetAddressAttribute API operation for Amazon Elastic Compute Cloud. -// -// Resets the attribute of the specified IP address. For requirements, see Using -// reverse DNS for email applications (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS). -// -// 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 Elastic Compute Cloud's -// API operation ResetAddressAttribute for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttribute -func (c *EC2) ResetAddressAttribute(input *ResetAddressAttributeInput) (*ResetAddressAttributeOutput, error) { - req, out := c.ResetAddressAttributeRequest(input) - return out, req.Send() -} - -// ResetAddressAttributeWithContext is the same as ResetAddressAttribute with the addition of -// the ability to pass a context and additional request options. -// -// See ResetAddressAttribute 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 *EC2) ResetAddressAttributeWithContext(ctx aws.Context, input *ResetAddressAttributeInput, opts ...request.Option) (*ResetAddressAttributeOutput, error) { - req, out := c.ResetAddressAttributeRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - const opResetEbsDefaultKmsKeyId = "ResetEbsDefaultKmsKeyId" // ResetEbsDefaultKmsKeyIdRequest generates a "aws/request.Request" representing the @@ -41668,57 +41401,6 @@ func (s *Address) SetTags(v []*Tag) *Address { return s } -// The attributes associated with an Elastic IP address. -type AddressAttribute struct { - _ struct{} `type:"structure"` - - // [EC2-VPC] The allocation ID. - AllocationId *string `locationName:"allocationId" type:"string"` - - // The pointer (PTR) record for the IP address. - PtrRecord *string `locationName:"ptrRecord" type:"string"` - - // The updated PTR record for the IP address. - PtrRecordUpdate *PtrUpdateStatus `locationName:"ptrRecordUpdate" type:"structure"` - - // The public IP address. - PublicIp *string `locationName:"publicIp" type:"string"` -} - -// String returns the string representation -func (s AddressAttribute) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AddressAttribute) GoString() string { - return s.String() -} - -// SetAllocationId sets the AllocationId field's value. -func (s *AddressAttribute) SetAllocationId(v string) *AddressAttribute { - s.AllocationId = &v - return s -} - -// SetPtrRecord sets the PtrRecord field's value. -func (s *AddressAttribute) SetPtrRecord(v string) *AddressAttribute { - s.PtrRecord = &v - return s -} - -// SetPtrRecordUpdate sets the PtrRecordUpdate field's value. -func (s *AddressAttribute) SetPtrRecordUpdate(v *PtrUpdateStatus) *AddressAttribute { - s.PtrRecordUpdate = v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *AddressAttribute) SetPublicIp(v string) *AddressAttribute { - s.PublicIp = &v - return s -} - type AdvertiseByoipCidrInput struct { _ struct{} `type:"structure"` @@ -48665,6 +48347,16 @@ type CopyImageInput struct { // A description for the new AMI in the destination Region. Description *string `type:"string"` + // The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only + // specify this parameter when copying an AMI from an AWS Region to an Outpost. + // The AMI must be in the Region of the destination Outpost. You cannot copy + // an AMI from an Outpost to a Region, from one Outpost to another, or within + // the same Outpost. + // + // For more information, see Copying AMIs from an AWS Region to an Outpost (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis) + // in the Amazon Elastic Compute Cloud User Guide. + DestinationOutpostArn *string `type:"string"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -48760,6 +48452,12 @@ func (s *CopyImageInput) SetDescription(v string) *CopyImageInput { return s } +// SetDestinationOutpostArn sets the DestinationOutpostArn field's value. +func (s *CopyImageInput) SetDestinationOutpostArn(v string) *CopyImageInput { + s.DestinationOutpostArn = &v + return s +} + // SetDryRun sets the DryRun field's value. func (s *CopyImageInput) SetDryRun(v bool) *CopyImageInput { s.DryRun = &v @@ -48826,6 +48524,17 @@ type CopySnapshotInput struct { // A description for the EBS snapshot. Description *string `type:"string"` + // The Amazon Resource Name (ARN) of the Outpost to which to copy the snapshot. + // Only specify this parameter when copying a snapshot from an AWS Region to + // an Outpost. The snapshot must be in the Region for the destination Outpost. + // You cannot copy a snapshot from an Outpost to a Region, from one Outpost + // to another, or within the same Outpost. + // + // For more information, see Copying snapshots from an AWS Region to an Outpost + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots) + // in the Amazon Elastic Compute Cloud User Guide. + DestinationOutpostArn *string `type:"string"` + // The destination Region to use in the PresignedUrl parameter of a snapshot // copy operation. This parameter is only valid for specifying the destination // Region in a PresignedUrl parameter, where it is required. @@ -48931,6 +48640,12 @@ func (s *CopySnapshotInput) SetDescription(v string) *CopySnapshotInput { return s } +// SetDestinationOutpostArn sets the DestinationOutpostArn field's value. +func (s *CopySnapshotInput) SetDestinationOutpostArn(v string) *CopySnapshotInput { + s.DestinationOutpostArn = &v + return s +} + // SetDestinationRegion sets the DestinationRegion field's value. func (s *CopySnapshotInput) SetDestinationRegion(v string) *CopySnapshotInput { s.DestinationRegion = &v @@ -50327,7 +50042,10 @@ type CreateFleetInput struct { // Describes the configuration of On-Demand Instances in an EC2 Fleet. OnDemandOptions *OnDemandOptionsRequest `type:"structure"` - // Indicates whether EC2 Fleet should replace unhealthy instances. + // Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported + // only for fleets of type maintain. For more information, see EC2 Fleet health + // checks (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) + // in the Amazon EC2 User Guide. ReplaceUnhealthyInstances *bool `type:"boolean"` // Describes the configuration of Spot Instances in an EC2 Fleet. @@ -53453,6 +53171,25 @@ type CreateSnapshotInput struct { // it is UnauthorizedOperation. DryRun *bool `locationName:"dryRun" type:"boolean"` + // The Amazon Resource Name (ARN) of the AWS Outpost on which to create a local + // snapshot. + // + // * To create a snapshot of a volume in a Region, omit this parameter. The + // snapshot is created in the same Region as the volume. + // + // * To create a snapshot of a volume on an Outpost and store the snapshot + // in the Region, omit this parameter. The snapshot is created in the Region + // for the Outpost. + // + // * To create a snapshot of a volume on an Outpost and store the snapshot + // on an Outpost, specify the ARN of the destination Outpost. The snapshot + // must be created on the same Outpost as the volume. + // + // For more information, see Creating local snapshots from volumes on an Outpost + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot) + // in the Amazon Elastic Compute Cloud User Guide. + OutpostArn *string `type:"string"` + // The tags to apply to the snapshot during creation. TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` @@ -53497,6 +53234,12 @@ func (s *CreateSnapshotInput) SetDryRun(v bool) *CreateSnapshotInput { return s } +// SetOutpostArn sets the OutpostArn field's value. +func (s *CreateSnapshotInput) SetOutpostArn(v string) *CreateSnapshotInput { + s.OutpostArn = &v + return s +} + // SetTagSpecifications sets the TagSpecifications field's value. func (s *CreateSnapshotInput) SetTagSpecifications(v []*TagSpecification) *CreateSnapshotInput { s.TagSpecifications = v @@ -53529,6 +53272,25 @@ type CreateSnapshotsInput struct { // InstanceSpecification is a required field InstanceSpecification *InstanceSpecification `type:"structure" required:"true"` + // The Amazon Resource Name (ARN) of the AWS Outpost on which to create the + // local snapshots. + // + // * To create snapshots from an instance in a Region, omit this parameter. + // The snapshots are created in the same Region as the instance. + // + // * To create snapshots from an instance on an Outpost and store the snapshots + // in the Region, omit this parameter. The snapshots are created in the Region + // for the Outpost. + // + // * To create snapshots from an instance on an Outpost and store the snapshots + // on an Outpost, specify the ARN of the destination Outpost. The snapshots + // must be created on the same Outpost as the instance. + // + // For more information, see Creating multi-volume local snapshots from instances + // on an Outpost (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot) + // in the Amazon Elastic Compute Cloud User Guide. + OutpostArn *string `type:"string"` + // Tags to apply to every snapshot specified by the instance. TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` } @@ -53580,6 +53342,12 @@ func (s *CreateSnapshotsInput) SetInstanceSpecification(v *InstanceSpecification return s } +// SetOutpostArn sets the OutpostArn field's value. +func (s *CreateSnapshotsInput) SetOutpostArn(v string) *CreateSnapshotsInput { + s.OutpostArn = &v + return s +} + // SetTagSpecifications sets the TagSpecifications field's value. func (s *CreateSnapshotsInput) SetTagSpecifications(v []*TagSpecification) *CreateSnapshotsInput { s.TagSpecifications = v @@ -56026,9 +55794,7 @@ type CreateVpcEndpointInput struct { // true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to // set the VPC attributes. // - // Private DNS is not supported for Amazon S3 interface endpoints. - // - // Default: true for supported endpoints + // Default: true PrivateDnsEnabled *bool `type:"boolean"` // (Gateway endpoint) One or more route table IDs. @@ -61660,115 +61426,6 @@ func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttri return s } -type DescribeAddressesAttributeInput struct { - _ struct{} `type:"structure"` - - // [EC2-VPC] The allocation IDs. - AllocationIds []*string `locationName:"AllocationId" locationNameList:"item" type:"list"` - - // The attribute of the IP address. - Attribute *string `type:"string" enum:"AddressAttributeName"` - - // Checks whether you have the required permissions for the action, without - // actually making the request, and provides an error response. If you have - // the required permissions, the error response is DryRunOperation. Otherwise, - // it is UnauthorizedOperation. - DryRun *bool `type:"boolean"` - - // The maximum number of results to return with a single call. To retrieve the - // remaining results, make another call with the returned nextToken value. - MaxResults *int64 `min:"1" type:"integer"` - - // The token for the next page of results. - NextToken *string `type:"string"` -} - -// String returns the string representation -func (s DescribeAddressesAttributeInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeAddressesAttributeInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAddressesAttributeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAddressesAttributeInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAllocationIds sets the AllocationIds field's value. -func (s *DescribeAddressesAttributeInput) SetAllocationIds(v []*string) *DescribeAddressesAttributeInput { - s.AllocationIds = v - return s -} - -// SetAttribute sets the Attribute field's value. -func (s *DescribeAddressesAttributeInput) SetAttribute(v string) *DescribeAddressesAttributeInput { - s.Attribute = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeAddressesAttributeInput) SetDryRun(v bool) *DescribeAddressesAttributeInput { - s.DryRun = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAddressesAttributeInput) SetMaxResults(v int64) *DescribeAddressesAttributeInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAddressesAttributeInput) SetNextToken(v string) *DescribeAddressesAttributeInput { - s.NextToken = &v - return s -} - -type DescribeAddressesAttributeOutput struct { - _ struct{} `type:"structure"` - - // Information about the IP addresses. - Addresses []*AddressAttribute `locationName:"addressSet" locationNameList:"item" type:"list"` - - // The token to use to retrieve the next page of results. This value is null - // when there are no more results to return. - NextToken *string `locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s DescribeAddressesAttributeOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeAddressesAttributeOutput) GoString() string { - return s.String() -} - -// SetAddresses sets the Addresses field's value. -func (s *DescribeAddressesAttributeOutput) SetAddresses(v []*AddressAttribute) *DescribeAddressesAttributeOutput { - s.Addresses = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAddressesAttributeOutput) SetNextToken(v string) *DescribeAddressesAttributeOutput { - s.NextToken = &v - return s -} - type DescribeAddressesInput struct { _ struct{} `type:"structure"` @@ -65954,13 +65611,13 @@ type DescribeImagesInput struct { // // * name - The name of the AMI (provided during image creation). // - // * owner-alias - The owner alias, from an Amazon-maintained list (amazon - // | aws-marketplace). This is not the user-configured AWS account alias - // set using the IAM console. We recommend that you use the related parameter - // instead of this filter. + // * owner-alias - The owner alias (amazon | aws-marketplace). The valid + // aliases are defined in an Amazon-maintained list. This is not the AWS + // account alias that can be set using the IAM console. We recommend that + // you use the Owner request parameter instead of this filter. // // * owner-id - The AWS account ID of the owner. We recommend that you use - // the related parameter instead of this filter. + // the Owner request parameter instead of this filter. // // * platform - The platform. To only list Windows-based AMIs, use windows. // @@ -78946,6 +78603,9 @@ type EbsBlockDevice struct { // and RequestSpotInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html). KmsKeyId *string `type:"string"` + // The ARN of the Outpost on which the snapshot is stored. + OutpostArn *string `locationName:"outpostArn" type:"string"` + // The ID of the snapshot. SnapshotId *string `locationName:"snapshotId" type:"string"` @@ -79012,6 +78672,12 @@ func (s *EbsBlockDevice) SetKmsKeyId(v string) *EbsBlockDevice { return s } +// SetOutpostArn sets the OutpostArn field's value. +func (s *EbsBlockDevice) SetOutpostArn(v string) *EbsBlockDevice { + s.OutpostArn = &v + return s +} + // SetSnapshotId sets the SnapshotId field's value. func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice { s.SnapshotId = &v @@ -81987,7 +81653,10 @@ type FleetData struct { // The allocation strategy of On-Demand Instances in an EC2 Fleet. OnDemandOptions *OnDemandOptions `locationName:"onDemandOptions" type:"structure"` - // Indicates whether EC2 Fleet should replace unhealthy instances. + // Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported + // only for fleets of type maintain. For more information, see EC2 Fleet health + // checks (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) + // in the Amazon EC2 User Guide. ReplaceUnhealthyInstances *bool `locationName:"replaceUnhealthyInstances" type:"boolean"` // The configuration of Spot Instances in an EC2 Fleet. @@ -91136,6 +90805,8 @@ type LaunchPermission struct { Group *string `locationName:"group" type:"string" enum:"PermissionGroup"` // The AWS account ID. + // + // Constraints: Up to 10 000 account IDs can be specified in a single request. UserId *string `locationName:"userId" type:"string"` } @@ -94346,88 +94017,6 @@ func (s *MemoryInfo) SetSizeInMiB(v int64) *MemoryInfo { return s } -type ModifyAddressAttributeInput struct { - _ struct{} `type:"structure"` - - // [EC2-VPC] The allocation ID. - // - // AllocationId is a required field - AllocationId *string `type:"string" required:"true"` - - // The domain name to modify for the IP address. - DomainName *string `type:"string"` - - // Checks whether you have the required permissions for the action, without - // actually making the request, and provides an error response. If you have - // the required permissions, the error response is DryRunOperation. Otherwise, - // it is UnauthorizedOperation. - DryRun *bool `type:"boolean"` -} - -// String returns the string representation -func (s ModifyAddressAttributeInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ModifyAddressAttributeInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyAddressAttributeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyAddressAttributeInput"} - if s.AllocationId == nil { - invalidParams.Add(request.NewErrParamRequired("AllocationId")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAllocationId sets the AllocationId field's value. -func (s *ModifyAddressAttributeInput) SetAllocationId(v string) *ModifyAddressAttributeInput { - s.AllocationId = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *ModifyAddressAttributeInput) SetDomainName(v string) *ModifyAddressAttributeInput { - s.DomainName = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyAddressAttributeInput) SetDryRun(v bool) *ModifyAddressAttributeInput { - s.DryRun = &v - return s -} - -type ModifyAddressAttributeOutput struct { - _ struct{} `type:"structure"` - - // Information about the Elastic IP address. - Address *AddressAttribute `locationName:"address" type:"structure"` -} - -// String returns the string representation -func (s ModifyAddressAttributeOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ModifyAddressAttributeOutput) GoString() string { - return s.String() -} - -// SetAddress sets the Address field's value. -func (s *ModifyAddressAttributeOutput) SetAddress(v *AddressAttribute) *ModifyAddressAttributeOutput { - s.Address = v - return s -} - type ModifyAvailabilityZoneGroupInput struct { _ struct{} `type:"structure"` @@ -98500,8 +98089,6 @@ type ModifyVpcEndpointInput struct { // (Interface endpoint) Indicates whether a private hosted zone is associated // with the VPC. - // - // Private DNS is not supported for Amazon S3 interface endpoints. PrivateDnsEnabled *bool `type:"boolean"` // (Gateway endpoint) One or more route table IDs to disassociate from the endpoint. @@ -103145,48 +102732,6 @@ func (s *ProvisionedBandwidth) SetStatus(v string) *ProvisionedBandwidth { return s } -// The status of an updated pointer (PTR) record for an Elastic IP address. -type PtrUpdateStatus struct { - _ struct{} `type:"structure"` - - // The reason for the PTR record update. - Reason *string `locationName:"reason" type:"string"` - - // The status of the PTR record update. - Status *string `locationName:"status" type:"string"` - - // The value for the PTR record update. - Value *string `locationName:"value" type:"string"` -} - -// String returns the string representation -func (s PtrUpdateStatus) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s PtrUpdateStatus) GoString() string { - return s.String() -} - -// SetReason sets the Reason field's value. -func (s *PtrUpdateStatus) SetReason(v string) *PtrUpdateStatus { - s.Reason = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *PtrUpdateStatus) SetStatus(v string) *PtrUpdateStatus { - s.Status = &v - return s -} - -// SetValue sets the Value field's value. -func (s *PtrUpdateStatus) SetValue(v string) *PtrUpdateStatus { - s.Value = &v - return s -} - // Describes an IPv4 address pool. type PublicIpv4Pool struct { _ struct{} `type:"structure"` @@ -103980,6 +103525,12 @@ type RegisterImageInput struct { BillingProducts []*string `locationName:"BillingProduct" locationNameList:"item" type:"list"` // The block device mapping entries. + // + // If you create an AMI on an Outpost, then all backing snapshots must be on + // the same Outpost or in the Region of that Outpost. AMIs on an Outpost that + // include local snapshots can be used to launch instances on the same Outpost + // only. For more information, Amazon EBS local snapshots on Outposts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami) + // in the Amazon Elastic Compute Cloud User Guide. BlockDeviceMappings []*BlockDeviceMapping `locationName:"BlockDeviceMapping" locationNameList:"BlockDeviceMapping" type:"list"` // A description for your AMI. @@ -107530,93 +107081,6 @@ func (s *ReservedInstancesOffering) SetUsagePrice(v float64) *ReservedInstancesO return s } -type ResetAddressAttributeInput struct { - _ struct{} `type:"structure"` - - // [EC2-VPC] The allocation ID. - // - // AllocationId is a required field - AllocationId *string `type:"string" required:"true"` - - // The attribute of the IP address. - // - // Attribute is a required field - Attribute *string `type:"string" required:"true" enum:"AddressAttributeName"` - - // Checks whether you have the required permissions for the action, without - // actually making the request, and provides an error response. If you have - // the required permissions, the error response is DryRunOperation. Otherwise, - // it is UnauthorizedOperation. - DryRun *bool `type:"boolean"` -} - -// String returns the string representation -func (s ResetAddressAttributeInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ResetAddressAttributeInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ResetAddressAttributeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ResetAddressAttributeInput"} - if s.AllocationId == nil { - invalidParams.Add(request.NewErrParamRequired("AllocationId")) - } - if s.Attribute == nil { - invalidParams.Add(request.NewErrParamRequired("Attribute")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAllocationId sets the AllocationId field's value. -func (s *ResetAddressAttributeInput) SetAllocationId(v string) *ResetAddressAttributeInput { - s.AllocationId = &v - return s -} - -// SetAttribute sets the Attribute field's value. -func (s *ResetAddressAttributeInput) SetAttribute(v string) *ResetAddressAttributeInput { - s.Attribute = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ResetAddressAttributeInput) SetDryRun(v bool) *ResetAddressAttributeInput { - s.DryRun = &v - return s -} - -type ResetAddressAttributeOutput struct { - _ struct{} `type:"structure"` - - // Information about the IP address. - Address *AddressAttribute `locationName:"address" type:"structure"` -} - -// String returns the string representation -func (s ResetAddressAttributeOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ResetAddressAttributeOutput) GoString() string { - return s.String() -} - -// SetAddress sets the Address field's value. -func (s *ResetAddressAttributeOutput) SetAddress(v *AddressAttribute) *ResetAddressAttributeOutput { - s.Address = v - return s -} - type ResetEbsDefaultKmsKeyIdInput struct { _ struct{} `type:"structure"` @@ -112074,6 +111538,11 @@ type Snapshot struct { // key for the parent volume. KmsKeyId *string `locationName:"kmsKeyId" type:"string"` + // The ARN of the AWS Outpost on which the snapshot is stored. For more information, + // see EBS Local Snapshot on Outposts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html) + // in the Amazon Elastic Compute Cloud User Guide. + OutpostArn *string `locationName:"outpostArn" type:"string"` + // The AWS owner alias, from an Amazon-maintained list (amazon). This is not // the user-configured AWS account alias set using the IAM console. OwnerAlias *string `locationName:"ownerAlias" type:"string"` @@ -112147,6 +111616,12 @@ func (s *Snapshot) SetKmsKeyId(v string) *Snapshot { return s } +// SetOutpostArn sets the OutpostArn field's value. +func (s *Snapshot) SetOutpostArn(v string) *Snapshot { + s.OutpostArn = &v + return s +} + // SetOwnerAlias sets the OwnerAlias field's value. func (s *Snapshot) SetOwnerAlias(v string) *Snapshot { s.OwnerAlias = &v @@ -112377,6 +111852,11 @@ type SnapshotInfo struct { // Indicates whether the snapshot is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` + // The ARN of the AWS Outpost on which the snapshot is stored. For more information, + // see EBS Local Snapshot on Outposts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html) + // in the Amazon Elastic Compute Cloud User Guide. + OutpostArn *string `locationName:"outpostArn" type:"string"` + // Account id used when creating this snapshot. OwnerId *string `locationName:"ownerId" type:"string"` @@ -112425,6 +111905,12 @@ func (s *SnapshotInfo) SetEncrypted(v bool) *SnapshotInfo { return s } +// SetOutpostArn sets the OutpostArn field's value. +func (s *SnapshotInfo) SetOutpostArn(v string) *SnapshotInfo { + s.OutpostArn = &v + return s +} + // SetOwnerId sets the OwnerId field's value. func (s *SnapshotInfo) SetOwnerId(v string) *SnapshotInfo { s.OwnerId = &v @@ -121782,18 +121268,6 @@ func ActivityStatus_Values() []string { } } -const ( - // AddressAttributeNameDomainName is a AddressAttributeName enum value - AddressAttributeNameDomainName = "domain-name" -) - -// AddressAttributeName_Values returns all elements of the AddressAttributeName enum -func AddressAttributeName_Values() []string { - return []string{ - AddressAttributeNameDomainName, - } -} - const ( // AffinityDefault is a Affinity enum value AffinityDefault = "default" diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index f39664930ba..e866cf90397 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -712,13 +712,6 @@ type EC2API interface { DescribeAddressesWithContext(aws.Context, *ec2.DescribeAddressesInput, ...request.Option) (*ec2.DescribeAddressesOutput, error) DescribeAddressesRequest(*ec2.DescribeAddressesInput) (*request.Request, *ec2.DescribeAddressesOutput) - DescribeAddressesAttribute(*ec2.DescribeAddressesAttributeInput) (*ec2.DescribeAddressesAttributeOutput, error) - DescribeAddressesAttributeWithContext(aws.Context, *ec2.DescribeAddressesAttributeInput, ...request.Option) (*ec2.DescribeAddressesAttributeOutput, error) - DescribeAddressesAttributeRequest(*ec2.DescribeAddressesAttributeInput) (*request.Request, *ec2.DescribeAddressesAttributeOutput) - - DescribeAddressesAttributePages(*ec2.DescribeAddressesAttributeInput, func(*ec2.DescribeAddressesAttributeOutput, bool) bool) error - DescribeAddressesAttributePagesWithContext(aws.Context, *ec2.DescribeAddressesAttributeInput, func(*ec2.DescribeAddressesAttributeOutput, bool) bool, ...request.Option) error - DescribeAggregateIdFormat(*ec2.DescribeAggregateIdFormatInput) (*ec2.DescribeAggregateIdFormatOutput, error) DescribeAggregateIdFormatWithContext(aws.Context, *ec2.DescribeAggregateIdFormatInput, ...request.Option) (*ec2.DescribeAggregateIdFormatOutput, error) DescribeAggregateIdFormatRequest(*ec2.DescribeAggregateIdFormatInput) (*request.Request, *ec2.DescribeAggregateIdFormatOutput) @@ -1698,10 +1691,6 @@ type EC2API interface { ImportVolumeWithContext(aws.Context, *ec2.ImportVolumeInput, ...request.Option) (*ec2.ImportVolumeOutput, error) ImportVolumeRequest(*ec2.ImportVolumeInput) (*request.Request, *ec2.ImportVolumeOutput) - ModifyAddressAttribute(*ec2.ModifyAddressAttributeInput) (*ec2.ModifyAddressAttributeOutput, error) - ModifyAddressAttributeWithContext(aws.Context, *ec2.ModifyAddressAttributeInput, ...request.Option) (*ec2.ModifyAddressAttributeOutput, error) - ModifyAddressAttributeRequest(*ec2.ModifyAddressAttributeInput) (*request.Request, *ec2.ModifyAddressAttributeOutput) - ModifyAvailabilityZoneGroup(*ec2.ModifyAvailabilityZoneGroupInput) (*ec2.ModifyAvailabilityZoneGroupOutput, error) ModifyAvailabilityZoneGroupWithContext(aws.Context, *ec2.ModifyAvailabilityZoneGroupInput, ...request.Option) (*ec2.ModifyAvailabilityZoneGroupOutput, error) ModifyAvailabilityZoneGroupRequest(*ec2.ModifyAvailabilityZoneGroupInput) (*request.Request, *ec2.ModifyAvailabilityZoneGroupOutput) @@ -1982,10 +1971,6 @@ type EC2API interface { RequestSpotInstancesWithContext(aws.Context, *ec2.RequestSpotInstancesInput, ...request.Option) (*ec2.RequestSpotInstancesOutput, error) RequestSpotInstancesRequest(*ec2.RequestSpotInstancesInput) (*request.Request, *ec2.RequestSpotInstancesOutput) - ResetAddressAttribute(*ec2.ResetAddressAttributeInput) (*ec2.ResetAddressAttributeOutput, error) - ResetAddressAttributeWithContext(aws.Context, *ec2.ResetAddressAttributeInput, ...request.Option) (*ec2.ResetAddressAttributeOutput, error) - ResetAddressAttributeRequest(*ec2.ResetAddressAttributeInput) (*request.Request, *ec2.ResetAddressAttributeOutput) - ResetEbsDefaultKmsKeyId(*ec2.ResetEbsDefaultKmsKeyIdInput) (*ec2.ResetEbsDefaultKmsKeyIdOutput, error) ResetEbsDefaultKmsKeyIdWithContext(aws.Context, *ec2.ResetEbsDefaultKmsKeyIdInput, ...request.Option) (*ec2.ResetEbsDefaultKmsKeyIdOutput, error) ResetEbsDefaultKmsKeyIdRequest(*ec2.ResetEbsDefaultKmsKeyIdInput) (*request.Request, *ec2.ResetEbsDefaultKmsKeyIdOutput) diff --git a/service/emrcontainers/api.go b/service/emrcontainers/api.go index 18c93d29cf2..088787dec88 100644 --- a/service/emrcontainers/api.go +++ b/service/emrcontainers/api.go @@ -2641,7 +2641,7 @@ type Endpoint struct { ConfigurationOverrides *ConfigurationOverrides `locationName:"configurationOverrides" type:"structure"` // The date and time when the endpoint was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` // The execution role ARN of the endpoint. ExecutionRoleArn *string `locationName:"executionRoleArn" min:"20" type:"string"` @@ -2888,7 +2888,7 @@ type JobRun struct { ConfigurationOverrides *ConfigurationOverrides `locationName:"configurationOverrides" type:"structure"` // The date and time when the job run was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` // The user who created the job run. CreatedBy *string `locationName:"createdBy" min:"20" type:"string"` @@ -2900,7 +2900,7 @@ type JobRun struct { FailureReason *string `locationName:"failureReason" type:"string" enum:"FailureReason"` // The date and time when the job run has finished. - FinishedAt *time.Time `locationName:"finishedAt" type:"timestamp"` + FinishedAt *time.Time `locationName:"finishedAt" type:"timestamp" timestampFormat:"iso8601"` // The ID of the job run. Id *string `locationName:"id" min:"1" type:"string"` @@ -3037,10 +3037,10 @@ type ListJobRunsInput struct { _ struct{} `type:"structure"` // The date and time after which the job runs were submitted. - CreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` + CreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` // The date and time before which the job runs were submitted. - CreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` + CreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` // The maximum number of job runs that can be listed. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` @@ -3170,10 +3170,10 @@ type ListManagedEndpointsInput struct { _ struct{} `type:"structure"` // The date and time after which the endpoints are created. - CreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` + CreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` // The date and time before which the endpoints are created. - CreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` + CreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` // The maximum number of managed endpoints that can be listed. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` @@ -3371,10 +3371,10 @@ type ListVirtualClustersInput struct { ContainerProviderType *string `location:"querystring" locationName:"containerProviderType" type:"string" enum:"ContainerProviderType"` // The date and time after which the virtual clusters are created. - CreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp"` + CreatedAfter *time.Time `location:"querystring" locationName:"createdAfter" type:"timestamp" timestampFormat:"iso8601"` // The date and time before which the virtual clusters are created. - CreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp"` + CreatedBefore *time.Time `location:"querystring" locationName:"createdBefore" type:"timestamp" timestampFormat:"iso8601"` // The maximum number of virtual clusters that can be listed. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` @@ -4112,7 +4112,7 @@ type VirtualCluster struct { ContainerProvider *ContainerProvider `locationName:"containerProvider" type:"structure"` // The date and time when the virtual cluster is created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` // The ID of the virtual cluster. Id *string `locationName:"id" min:"1" type:"string"` diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 4b98ae3031a..30ad4066c5f 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -13081,6 +13081,9 @@ type CreateDataSetInput struct { // DataSetId is a required field DataSetId *string `type:"string" required:"true"` + // The folder that contains fields and nested subfolders for your dataset. + FieldFolders map[string]*FieldFolder `type:"map"` + // Indicates whether you want to import the data into SPICE. // // ImportMode is a required field @@ -13259,6 +13262,12 @@ func (s *CreateDataSetInput) SetDataSetId(v string) *CreateDataSetInput { return s } +// SetFieldFolders sets the FieldFolders field's value. +func (s *CreateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *CreateDataSetInput { + s.FieldFolders = v + return s +} + // SetImportMode sets the ImportMode field's value. func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput { s.ImportMode = &v @@ -13410,9 +13419,11 @@ type CreateDataSourceInput struct { Tags []*Tag `min:"1" type:"list"` // The type of the data source. Currently, the supported types for this operation - // are: ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, - // REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA. Use ListDataSources - // to return a list of all data sources. + // are: ATHENA, AURORA, AURORA_POSTGRESQL, AMAZON_ELASTICSEARCH, MARIADB, MYSQL, + // POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA. + // Use ListDataSources to return a list of all data sources. + // + // AMAZON_ELASTICSEARCH is for Amazon managed Elasticsearch Service. // // Type is a required field Type *string `type:"string" required:"true" enum:"DataSourceType"` @@ -15963,6 +15974,9 @@ type DataSet struct { // The ID of the dataset. DataSetId *string `type:"string"` + // The folder that contains fields and nested subfolders for your dataset. + FieldFolders map[string]*FieldFolder `type:"map"` + // A value that indicates whether you want to import the data into SPICE. ImportMode *string `type:"string" enum:"DataSetImportMode"` @@ -16033,6 +16047,12 @@ func (s *DataSet) SetDataSetId(v string) *DataSet { return s } +// SetFieldFolders sets the FieldFolders field's value. +func (s *DataSet) SetFieldFolders(v map[string]*FieldFolder) *DataSet { + s.FieldFolders = v + return s +} + // SetImportMode sets the ImportMode field's value. func (s *DataSet) SetImportMode(v string) *DataSet { s.ImportMode = &v @@ -21189,6 +21209,39 @@ func (s *ExportToCSVOption) SetAvailabilityStatus(v string) *ExportToCSVOption { return s } +// A FieldFolder element is a folder that contains fields and nested subfolders. +type FieldFolder struct { + _ struct{} `type:"structure"` + + // A folder has a list of columns. A column can only be in one folder. + Columns []*string `locationName:"columns" type:"list"` + + // The description for a field folder. + Description *string `locationName:"description" type:"string"` +} + +// String returns the string representation +func (s FieldFolder) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FieldFolder) GoString() string { + return s.String() +} + +// SetColumns sets the Columns field's value. +func (s *FieldFolder) SetColumns(v []*string) *FieldFolder { + s.Columns = v + return s +} + +// SetDescription sets the Description field's value. +func (s *FieldFolder) SetDescription(v string) *FieldFolder { + s.Description = &v + return s +} + // A transform operation that filters rows based on a condition. type FilterOperation struct { _ struct{} `type:"structure"` @@ -31059,6 +31112,9 @@ type UpdateDataSetInput struct { // DataSetId is a required field DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"` + // The folder that contains fields and nested subfolders for your dataset. + FieldFolders map[string]*FieldFolder `type:"map"` + // Indicates whether you want to import the data into SPICE. // // ImportMode is a required field @@ -31207,6 +31263,12 @@ func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput { return s } +// SetFieldFolders sets the FieldFolders field's value. +func (s *UpdateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *UpdateDataSetInput { + s.FieldFolders = v + return s +} + // SetImportMode sets the ImportMode field's value. func (s *UpdateDataSetInput) SetImportMode(v string) *UpdateDataSetInput { s.ImportMode = &v