diff --git a/.changes/next-release/feature-RedshiftServerless-9ae8500.json b/.changes/next-release/feature-RedshiftServerless-9ae8500.json new file mode 100644 index 000000000000..d6a4b96533c4 --- /dev/null +++ b/.changes/next-release/feature-RedshiftServerless-9ae8500.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "Redshift Serverless", + "contributor": "", + "description": "Add Table Level Restore operations for Amazon Redshift Serverless. Add multi-port support for Amazon Redshift Serverless endpoints. Add Tagging support to Snapshots and Recovery Points in Amazon Redshift Serverless." +} diff --git a/services/redshiftserverless/src/main/resources/codegen-resources/endpoint-tests.json b/services/redshiftserverless/src/main/resources/codegen-resources/endpoint-tests.json index 99ae8ead4ecb..46367910fbd9 100644 --- a/services/redshiftserverless/src/main/resources/codegen-resources/endpoint-tests.json +++ b/services/redshiftserverless/src/main/resources/codegen-resources/endpoint-tests.json @@ -8,9 +8,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-central-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-central-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-central-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-central-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-west-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-west-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-west-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-west-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-north-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-north-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-north-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-north-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -346,9 +346,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -359,9 +359,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -372,9 +372,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -385,9 +385,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -398,9 +398,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -411,9 +411,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -424,9 +424,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -437,9 +437,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -450,9 +450,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -463,9 +463,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -476,9 +476,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -489,9 +489,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -502,9 +502,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-1", - "UseFIPS": false + "UseDualStack": true } }, { @@ -515,9 +515,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -528,9 +528,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-2", - "UseFIPS": true + "UseDualStack": true } }, { @@ -541,9 +541,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-2", - "UseFIPS": true + "UseDualStack": false } }, { @@ -554,9 +554,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -567,9 +567,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -580,9 +580,9 @@ } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -592,9 +592,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -604,9 +604,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/services/redshiftserverless/src/main/resources/codegen-resources/paginators-1.json b/services/redshiftserverless/src/main/resources/codegen-resources/paginators-1.json index cf5163d45010..6eec4209e492 100644 --- a/services/redshiftserverless/src/main/resources/codegen-resources/paginators-1.json +++ b/services/redshiftserverless/src/main/resources/codegen-resources/paginators-1.json @@ -24,6 +24,12 @@ "limit_key": "maxResults", "result_key": "snapshots" }, + "ListTableRestoreStatus": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "tableRestoreStatuses" + }, "ListUsageLimits": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/services/redshiftserverless/src/main/resources/codegen-resources/service-2.json b/services/redshiftserverless/src/main/resources/codegen-resources/service-2.json index a1b68b0f463a..970f1bbb1c83 100644 --- a/services/redshiftserverless/src/main/resources/codegen-resources/service-2.json +++ b/services/redshiftserverless/src/main/resources/codegen-resources/service-2.json @@ -26,6 +26,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, + {"shape":"TooManyTagsException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.

" @@ -79,6 +80,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, + {"shape":"TooManyTagsException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points.

", @@ -234,7 +236,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], - "documentation":"

Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.

By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

 <p> The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources. </p> <p> If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p> 
" + "documentation":"

Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.

By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

 <p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p> 
" }, "GetEndpointAccess":{ "name":"GetEndpointAccess", @@ -313,6 +315,20 @@ ], "documentation":"

Returns information about a specific snapshot.

" }, + "GetTableRestoreStatus":{ + "name":"GetTableRestoreStatus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetTableRestoreStatusRequest"}, + "output":{"shape":"GetTableRestoreStatusResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ], + "documentation":"

Returns information about a TableRestoreStatus object.

" + }, "GetUsageLimit":{ "name":"GetUsageLimit", "http":{ @@ -403,6 +419,21 @@ ], "documentation":"

Returns a list of snapshots.

" }, + "ListTableRestoreStatus":{ + "name":"ListTableRestoreStatus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListTableRestoreStatusRequest"}, + "output":{"shape":"ListTableRestoreStatusResponse"}, + "errors":[ + {"shape":"InvalidPaginationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ], + "documentation":"

Returns information about an array of TableRestoreStatus objects.

" + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -501,6 +532,22 @@ "documentation":"

Restores a namespace from a snapshot.

", "idempotent":true }, + "RestoreTableFromSnapshot":{ + "name":"RestoreTableFromSnapshot", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RestoreTableFromSnapshotRequest"}, + "output":{"shape":"RestoreTableFromSnapshotResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

Restores a table from a snapshot to your Amazon Redshift Serverless instance.

" + }, "TagResource":{ "name":"TagResource", "http":{ @@ -685,6 +732,10 @@ "snapshotName":{ "shape":"String", "documentation":"

The name of the snapshot.

" + }, + "tags":{ + "shape":"TagList", + "documentation":"

An array of Tag objects to associate with the created snapshot.

" } } }, @@ -801,6 +852,10 @@ "snapshotName":{ "shape":"String", "documentation":"

The name of the snapshot.

" + }, + "tags":{ + "shape":"TagList", + "documentation":"

An array of Tag objects to associate with the snapshot.

" } } }, @@ -875,6 +930,10 @@ "shape":"NamespaceName", "documentation":"

The name of the namespace to associate with the workgroup.

" }, + "port":{ + "shape":"Integer", + "documentation":"

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

" + }, "publiclyAccessible":{ "shape":"Boolean", "documentation":"

A value that specifies whether the workgroup can be accessed from a public network.

" @@ -1113,7 +1172,7 @@ "members":{ "dbName":{ "shape":"DbName", - "documentation":"

The name of the database to get temporary authorization to log on to.

Constraints:

" + "documentation":"

The name of the database to get temporary authorization to log on to.

Constraints:

" }, "durationSeconds":{ "shape":"Integer", @@ -1249,6 +1308,25 @@ } } }, + "GetTableRestoreStatusRequest":{ + "type":"structure", + "required":["tableRestoreRequestId"], + "members":{ + "tableRestoreRequestId":{ + "shape":"String", + "documentation":"

The ID of the RestoreTableFromSnapshot request to return status for.

" + } + } + }, + "GetTableRestoreStatusResponse":{ + "type":"structure", + "members":{ + "tableRestoreStatus":{ + "shape":"TableRestoreStatus", + "documentation":"

The returned TableRestoreStatus object that contains information about the status of your RestoreTableFromSnapshot request.

" + } + } + }, "GetUsageLimitRequest":{ "type":"structure", "required":["usageLimitId"], @@ -1333,12 +1411,12 @@ "members":{ "maxResults":{ "shape":"ListEndpointAccessRequestMaxResultsInteger", - "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", + "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

", "box":true }, "nextToken":{ "shape":"String", - "documentation":"

If your initial ListEndpointAccess operation returns a nextToken, you can include the returned nextToken in subsequent ListEndpointAccess operations, which returns results in the next page.

" + "documentation":"

If your initial ListEndpointAccess operation returns a nextToken, you can include the returned nextToken in following ListEndpointAccess operations, which returns results in the next page.

" }, "vpcId":{ "shape":"String", @@ -1375,12 +1453,12 @@ "members":{ "maxResults":{ "shape":"ListNamespacesRequestMaxResultsInteger", - "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", + "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

", "box":true }, "nextToken":{ "shape":"String", - "documentation":"

If your initial ListNamespaces operation returns a nextToken, you can include the returned nextToken in subsequent ListNamespaces operations, which returns results in the next page.

" + "documentation":"

If your initial ListNamespaces operation returns a nextToken, you can include the returned nextToken in following ListNamespaces operations, which returns results in the next page.

" } } }, @@ -1413,16 +1491,20 @@ }, "maxResults":{ "shape":"ListRecoveryPointsRequestMaxResultsInteger", - "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", + "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

", "box":true }, + "namespaceArn":{ + "shape":"String", + "documentation":"

The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

" + }, "namespaceName":{ "shape":"NamespaceName", "documentation":"

The name of the namespace to list recovery points for.

" }, "nextToken":{ "shape":"String", - "documentation":"

If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in subsequent ListRecoveryPoints operations, which returns results in the next page.

" + "documentation":"

If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in following ListRecoveryPoints operations, which returns results in the next page.

" }, "startTime":{ "shape":"Timestamp", @@ -1458,7 +1540,7 @@ }, "maxResults":{ "shape":"ListSnapshotsRequestMaxResultsInteger", - "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", + "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

", "box":true }, "namespaceArn":{ @@ -1502,6 +1584,47 @@ } } }, + "ListTableRestoreStatusRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"ListTableRestoreStatusRequestMaxResultsInteger", + "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

", + "box":true + }, + "namespaceName":{ + "shape":"String", + "documentation":"

The namespace from which to list all of the statuses of RestoreTableFromSnapshot operations .

" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will return results on the next page.

" + }, + "workgroupName":{ + "shape":"String", + "documentation":"

The workgroup from which to list all of the statuses of RestoreTableFromSnapshot operations.

" + } + } + }, + "ListTableRestoreStatusRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ListTableRestoreStatusResponse":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will returns results on the next page.

" + }, + "tableRestoreStatuses":{ + "shape":"TableRestoreStatusList", + "documentation":"

The array of returned TableRestoreStatus objects.

" + } + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], @@ -1531,7 +1654,7 @@ }, "nextToken":{ "shape":"PaginationToken", - "documentation":"

If your initial ListUsageLimits operation returns a nextToken, you can include the returned nextToken in subsequent ListUsageLimits operations, which returns results in the next page.

" + "documentation":"

If your initial ListUsageLimits operation returns a nextToken, you can include the returned nextToken in following ListUsageLimits operations, which returns results in the next page.

" }, "resourceArn":{ "shape":"String", @@ -1567,12 +1690,12 @@ "members":{ "maxResults":{ "shape":"ListWorkgroupsRequestMaxResultsInteger", - "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", + "documentation":"

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

", "box":true }, "nextToken":{ "shape":"String", - "documentation":"

If your initial ListWorkgroups operation returns a nextToken, you can include the returned nextToken in subsequent ListNamespaces operations, which returns results in the next page.

" + "documentation":"

If your initial ListWorkgroups operation returns a nextToken, you can include the returned nextToken in following ListNamespaces operations, which returns results in the next page.

" } } }, @@ -1744,6 +1867,10 @@ "RecoveryPoint":{ "type":"structure", "members":{ + "namespaceArn":{ + "shape":"String", + "documentation":"

The Amazon Resource Name (ARN) of the namespace the recovery point is associated with.

" + }, "namespaceName":{ "shape":"NamespaceName", "documentation":"

The name of the namespace the recovery point is associated with.

" @@ -1850,11 +1977,11 @@ }, "snapshotArn":{ "shape":"String", - "documentation":"

The Amazon Resource Name (ARN) of the snapshot to restore from.

" + "documentation":"

The Amazon Resource Name (ARN) of the snapshot to restore from. Required if restoring from Amazon Redshift Serverless to a provisioned cluster. Must not be specified at the same time as snapshotName.

The format of the ARN is arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>.

" }, "snapshotName":{ "shape":"String", - "documentation":"

The name of the snapshot to restore from.

" + "documentation":"

The name of the snapshot to restore from. Must not be specified at the same time as snapshotArn.

" }, "workgroupName":{ "shape":"WorkgroupName", @@ -1876,6 +2003,68 @@ } } }, + "RestoreTableFromSnapshotRequest":{ + "type":"structure", + "required":[ + "namespaceName", + "newTableName", + "snapshotName", + "sourceDatabaseName", + "sourceTableName", + "workgroupName" + ], + "members":{ + "activateCaseSensitiveIdentifier":{ + "shape":"Boolean", + "documentation":"

Indicates whether name identifiers for database, schema, and table are case sensitive. If true, the names are case sensitive. If false, the names are not case sensitive. The default is false.

" + }, + "namespaceName":{ + "shape":"String", + "documentation":"

The namespace of the snapshot to restore from.

" + }, + "newTableName":{ + "shape":"String", + "documentation":"

The name of the table to create from the restore operation.

" + }, + "snapshotName":{ + "shape":"String", + "documentation":"

The name of the snapshot to restore the table from.

" + }, + "sourceDatabaseName":{ + "shape":"String", + "documentation":"

The name of the source database that contains the table being restored.

" + }, + "sourceSchemaName":{ + "shape":"String", + "documentation":"

The name of the source schema that contains the table being restored.

" + }, + "sourceTableName":{ + "shape":"String", + "documentation":"

The name of the source table being restored.

" + }, + "targetDatabaseName":{ + "shape":"String", + "documentation":"

The name of the database to restore the table to.

" + }, + "targetSchemaName":{ + "shape":"String", + "documentation":"

The name of the schema to restore the table to.

" + }, + "workgroupName":{ + "shape":"String", + "documentation":"

The workgroup to restore the table to.

" + } + } + }, + "RestoreTableFromSnapshotResponse":{ + "type":"structure", + "members":{ + "tableRestoreStatus":{ + "shape":"TableRestoreStatus", + "documentation":"

The TableRestoreStatus object that contains the status of the restore operation.

" + } + } + }, "SecurityGroupId":{"type":"string"}, "SecurityGroupIdList":{ "type":"list", @@ -2001,6 +2190,76 @@ "type":"timestamp", "timestampFormat":"iso8601" }, + "TableRestoreStatus":{ + "type":"structure", + "members":{ + "message":{ + "shape":"String", + "documentation":"

A description of the status of the table restore request. Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.

" + }, + "namespaceName":{ + "shape":"String", + "documentation":"

The namespace of the table being restored from.

" + }, + "newTableName":{ + "shape":"String", + "documentation":"

The name of the table to create from the restore operation.

" + }, + "progressInMegaBytes":{ + "shape":"Long", + "documentation":"

The amount of data restored to the new table so far, in megabytes (MB).

" + }, + "requestTime":{ + "shape":"Timestamp", + "documentation":"

The time that the table restore request was made, in Universal Coordinated Time (UTC).

" + }, + "snapshotName":{ + "shape":"String", + "documentation":"

The name of the snapshot being restored from.

" + }, + "sourceDatabaseName":{ + "shape":"String", + "documentation":"

The name of the source database being restored from.

" + }, + "sourceSchemaName":{ + "shape":"String", + "documentation":"

The name of the source schema being restored from.

" + }, + "sourceTableName":{ + "shape":"String", + "documentation":"

The name of the source table being restored from.

" + }, + "status":{ + "shape":"String", + "documentation":"

A value that describes the current state of the table restore request. Possible values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.

" + }, + "tableRestoreRequestId":{ + "shape":"String", + "documentation":"

The ID of the RestoreTableFromSnapshot request.

" + }, + "targetDatabaseName":{ + "shape":"String", + "documentation":"

The name of the database to restore to.

" + }, + "targetSchemaName":{ + "shape":"String", + "documentation":"

The name of the schema to restore to.

" + }, + "totalDataInMegaBytes":{ + "shape":"Long", + "documentation":"

The total amount of data to restore to the new table, in megabytes (MB).

" + }, + "workgroupName":{ + "shape":"String", + "documentation":"

The name of the workgroup being restored from.

" + } + }, + "documentation":"

Contains information about a table restore request.

" + }, + "TableRestoreStatusList":{ + "type":"list", + "member":{"shape":"TableRestoreStatus"} + }, "Tag":{ "type":"structure", "required":[ @@ -2204,7 +2463,7 @@ "members":{ "amount":{ "shape":"Long", - "documentation":"

The new limit amount. For more information about this parameter.

" + "documentation":"

The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

" }, "breachAction":{ "shape":"UsageLimitBreachAction", @@ -2241,6 +2500,10 @@ "shape":"Boolean", "documentation":"

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

" }, + "port":{ + "shape":"Integer", + "documentation":"

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

" + }, "publiclyAccessible":{ "shape":"Boolean", "documentation":"

A value that specifies whether the workgroup can be accessible from a public network.

" @@ -2413,6 +2676,10 @@ "shape":"String", "documentation":"

The namespace the workgroup is associated with.

" }, + "port":{ + "shape":"Integer", + "documentation":"

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

" + }, "publiclyAccessible":{ "shape":"Boolean", "documentation":"

A value that specifies whether the workgroup can be accessible from a public network

"