From d089bd12b918e80e93d35ae91d56f99717044cec Mon Sep 17 00:00:00 2001 From: AllanZhengYP Date: Thu, 23 Jun 2022 15:57:39 -0700 Subject: [PATCH] remove redshiftserverless client (#4135) --- .../bugfix-redshiftserverless-f5891d10.json | 5 + apis/metadata.json | 3 - ...edshiftserverless-2021-04-21.examples.json | 5 - apis/redshiftserverless-2021-04-21.min.json | 1206 ------- .../redshiftserverless-2021-04-21.normal.json | 2924 ----------------- ...shiftserverless-2021-04-21.paginators.json | 40 - clients/all.d.ts | 1 - clients/all.js | 1 - clients/redshiftserverless.d.ts | 1525 --------- clients/redshiftserverless.js | 18 - lib/config_service_placeholders.d.ts | 2 - 11 files changed, 5 insertions(+), 5725 deletions(-) create mode 100644 .changes/next-release/bugfix-redshiftserverless-f5891d10.json delete mode 100644 apis/redshiftserverless-2021-04-21.examples.json delete mode 100644 apis/redshiftserverless-2021-04-21.min.json delete mode 100644 apis/redshiftserverless-2021-04-21.normal.json delete mode 100644 apis/redshiftserverless-2021-04-21.paginators.json delete mode 100644 clients/redshiftserverless.d.ts delete mode 100644 clients/redshiftserverless.js diff --git a/.changes/next-release/bugfix-redshiftserverless-f5891d10.json b/.changes/next-release/bugfix-redshiftserverless-f5891d10.json new file mode 100644 index 0000000000..4a9e776dfd --- /dev/null +++ b/.changes/next-release/bugfix-redshiftserverless-f5891d10.json @@ -0,0 +1,5 @@ +{ + "type": "bugfix", + "category": "redshiftserverless", + "description": "remove redshiftserverless client" +} \ No newline at end of file diff --git a/apis/metadata.json b/apis/metadata.json index bce6175b13..c913bf9fa5 100644 --- a/apis/metadata.json +++ b/apis/metadata.json @@ -1167,9 +1167,6 @@ "m2": { "name": "M2" }, - "redshiftserverless": { - "name": "RedshiftServerless" - }, "connectcampaigns": { "name": "ConnectCampaigns" } diff --git a/apis/redshiftserverless-2021-04-21.examples.json b/apis/redshiftserverless-2021-04-21.examples.json deleted file mode 100644 index 0ea7e3b0bb..0000000000 --- a/apis/redshiftserverless-2021-04-21.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/apis/redshiftserverless-2021-04-21.min.json b/apis/redshiftserverless-2021-04-21.min.json deleted file mode 100644 index d9962344e8..0000000000 --- a/apis/redshiftserverless-2021-04-21.min.json +++ /dev/null @@ -1,1206 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2021-04-21", - "endpointPrefix": "redshift-serverless", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Redshift Serverless", - "serviceId": "RedshiftServerless", - "signatureVersion": "v4", - "signingName": "redshift-serverless", - "targetPrefix": "RedshiftServerless", - "uid": "redshiftserverless-2021-04-21" - }, - "operations": { - "ConvertRecoveryPointToSnapshot": { - "input": { - "type": "structure", - "required": [ - "recoveryPointId", - "snapshotName" - ], - "members": { - "recoveryPointId": {}, - "retentionPeriod": { - "type": "integer" - }, - "snapshotName": {} - } - }, - "output": { - "type": "structure", - "members": { - "snapshot": { - "shape": "S5" - } - } - } - }, - "CreateEndpointAccess": { - "input": { - "type": "structure", - "required": [ - "endpointName", - "subnetIds", - "workgroupName" - ], - "members": { - "endpointName": {}, - "subnetIds": { - "shape": "Sd" - }, - "vpcSecurityGroupIds": { - "shape": "Sf" - }, - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "endpoint": { - "shape": "Si" - } - } - }, - "idempotent": true - }, - "CreateNamespace": { - "input": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "adminUserPassword": { - "shape": "Sp" - }, - "adminUsername": { - "shape": "Sq" - }, - "dbName": {}, - "defaultIamRoleArn": {}, - "iamRoles": { - "shape": "Sr" - }, - "kmsKeyId": {}, - "logExports": { - "shape": "St" - }, - "namespaceName": {}, - "tags": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": { - "namespace": { - "shape": "S11" - } - } - }, - "idempotent": true - }, - "CreateSnapshot": { - "input": { - "type": "structure", - "required": [ - "namespaceName", - "snapshotName" - ], - "members": { - "namespaceName": {}, - "retentionPeriod": { - "type": "integer" - }, - "snapshotName": {} - } - }, - "output": { - "type": "structure", - "members": { - "snapshot": { - "shape": "S5" - } - } - }, - "idempotent": true - }, - "CreateUsageLimit": { - "input": { - "type": "structure", - "required": [ - "amount", - "resourceArn", - "usageType" - ], - "members": { - "amount": { - "type": "long" - }, - "breachAction": {}, - "period": {}, - "resourceArn": {}, - "usageType": {} - } - }, - "output": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "S1a" - } - } - }, - "idempotent": true - }, - "CreateWorkgroup": { - "input": { - "type": "structure", - "required": [ - "namespaceName", - "workgroupName" - ], - "members": { - "baseCapacity": { - "type": "integer" - }, - "configParameters": { - "shape": "S1c" - }, - "enhancedVpcRouting": { - "type": "boolean" - }, - "namespaceName": {}, - "publiclyAccessible": { - "type": "boolean" - }, - "securityGroupIds": { - "shape": "S1h" - }, - "subnetIds": { - "shape": "Sd" - }, - "tags": { - "shape": "Sw" - }, - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "workgroup": { - "shape": "S1l" - } - } - }, - "idempotent": true - }, - "DeleteEndpointAccess": { - "input": { - "type": "structure", - "required": [ - "endpointName" - ], - "members": { - "endpointName": {} - } - }, - "output": { - "type": "structure", - "members": { - "endpoint": { - "shape": "Si" - } - } - }, - "idempotent": true - }, - "DeleteNamespace": { - "input": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "finalSnapshotName": {}, - "finalSnapshotRetentionPeriod": { - "type": "integer" - }, - "namespaceName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "namespace" - ], - "members": { - "namespace": { - "shape": "S11" - } - } - }, - "idempotent": true - }, - "DeleteResourcePolicy": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {} - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "DeleteSnapshot": { - "input": { - "type": "structure", - "required": [ - "snapshotName" - ], - "members": { - "snapshotName": {} - } - }, - "output": { - "type": "structure", - "members": { - "snapshot": { - "shape": "S5" - } - } - }, - "idempotent": true - }, - "DeleteUsageLimit": { - "input": { - "type": "structure", - "required": [ - "usageLimitId" - ], - "members": { - "usageLimitId": {} - } - }, - "output": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "S1a" - } - } - }, - "idempotent": true - }, - "DeleteWorkgroup": { - "input": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "workgroup" - ], - "members": { - "workgroup": { - "shape": "S1l" - } - } - }, - "idempotent": true - }, - "GetCredentials": { - "input": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "dbName": {}, - "durationSeconds": { - "type": "integer" - }, - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "dbPassword": { - "shape": "Sp" - }, - "dbUser": { - "shape": "Sq" - }, - "expiration": { - "type": "timestamp" - }, - "nextRefreshTime": { - "type": "timestamp" - } - } - } - }, - "GetEndpointAccess": { - "input": { - "type": "structure", - "required": [ - "endpointName" - ], - "members": { - "endpointName": {} - } - }, - "output": { - "type": "structure", - "members": { - "endpoint": { - "shape": "Si" - } - } - } - }, - "GetNamespace": { - "input": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "namespaceName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "namespace" - ], - "members": { - "namespace": { - "shape": "S11" - } - } - } - }, - "GetRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "recoveryPointId" - ], - "members": { - "recoveryPointId": {} - } - }, - "output": { - "type": "structure", - "members": { - "recoveryPoint": { - "shape": "S2b" - } - } - } - }, - "GetResourcePolicy": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "resourcePolicy": { - "shape": "S2e" - } - } - } - }, - "GetSnapshot": { - "input": { - "type": "structure", - "members": { - "ownerAccount": {}, - "snapshotArn": {}, - "snapshotName": {} - } - }, - "output": { - "type": "structure", - "members": { - "snapshot": { - "shape": "S5" - } - } - } - }, - "GetUsageLimit": { - "input": { - "type": "structure", - "required": [ - "usageLimitId" - ], - "members": { - "usageLimitId": {} - } - }, - "output": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "S1a" - } - } - } - }, - "GetWorkgroup": { - "input": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "workgroup" - ], - "members": { - "workgroup": { - "shape": "S1l" - } - } - } - }, - "ListEndpointAccess": { - "input": { - "type": "structure", - "members": { - "maxResults": { - "type": "integer" - }, - "nextToken": {}, - "vpcId": {}, - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "endpoints" - ], - "members": { - "endpoints": { - "type": "list", - "member": { - "shape": "Si" - } - }, - "nextToken": {} - } - } - }, - "ListNamespaces": { - "input": { - "type": "structure", - "members": { - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "namespaces" - ], - "members": { - "namespaces": { - "type": "list", - "member": { - "shape": "S11" - } - }, - "nextToken": {} - } - } - }, - "ListRecoveryPoints": { - "input": { - "type": "structure", - "members": { - "endTime": { - "type": "timestamp" - }, - "maxResults": { - "type": "integer" - }, - "namespaceName": {}, - "nextToken": {}, - "startTime": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "nextToken": {}, - "recoveryPoints": { - "type": "list", - "member": { - "shape": "S2b" - } - } - } - } - }, - "ListSnapshots": { - "input": { - "type": "structure", - "members": { - "endTime": { - "type": "timestamp" - }, - "maxResults": { - "type": "integer" - }, - "namespaceArn": {}, - "namespaceName": {}, - "nextToken": {}, - "ownerAccount": {}, - "startTime": { - "type": "timestamp" - } - } - }, - "output": { - "type": "structure", - "members": { - "nextToken": {}, - "snapshots": { - "type": "list", - "member": { - "shape": "S5" - } - } - } - } - }, - "ListTagsForResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "tags": { - "shape": "Sw" - } - } - } - }, - "ListUsageLimits": { - "input": { - "type": "structure", - "members": { - "maxResults": { - "type": "integer" - }, - "nextToken": {}, - "resourceArn": {}, - "usageType": {} - } - }, - "output": { - "type": "structure", - "members": { - "nextToken": {}, - "usageLimits": { - "type": "list", - "member": { - "shape": "S1a" - } - } - } - } - }, - "ListWorkgroups": { - "input": { - "type": "structure", - "members": { - "maxResults": { - "type": "integer" - }, - "nextToken": {} - } - }, - "output": { - "type": "structure", - "required": [ - "workgroups" - ], - "members": { - "nextToken": {}, - "workgroups": { - "type": "list", - "member": { - "shape": "S1l" - } - } - } - } - }, - "PutResourcePolicy": { - "input": { - "type": "structure", - "required": [ - "policy", - "resourceArn" - ], - "members": { - "policy": {}, - "resourceArn": {} - } - }, - "output": { - "type": "structure", - "members": { - "resourcePolicy": { - "shape": "S2e" - } - } - } - }, - "RestoreFromRecoveryPoint": { - "input": { - "type": "structure", - "required": [ - "namespaceName", - "recoveryPointId", - "workgroupName" - ], - "members": { - "namespaceName": {}, - "recoveryPointId": {}, - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "namespace": { - "shape": "S11" - }, - "recoveryPointId": {} - } - } - }, - "RestoreFromSnapshot": { - "input": { - "type": "structure", - "required": [ - "namespaceName", - "workgroupName" - ], - "members": { - "namespaceName": {}, - "ownerAccount": {}, - "snapshotArn": {}, - "snapshotName": {}, - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "members": { - "namespace": { - "shape": "S11" - }, - "ownerAccount": {}, - "snapshotName": {} - } - }, - "idempotent": true - }, - "TagResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "tags" - ], - "members": { - "resourceArn": {}, - "tags": { - "shape": "Sw" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UntagResource": { - "input": { - "type": "structure", - "required": [ - "resourceArn", - "tagKeys" - ], - "members": { - "resourceArn": {}, - "tagKeys": { - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UpdateEndpointAccess": { - "input": { - "type": "structure", - "required": [ - "endpointName" - ], - "members": { - "endpointName": {}, - "vpcSecurityGroupIds": { - "shape": "Sf" - } - } - }, - "output": { - "type": "structure", - "members": { - "endpoint": { - "shape": "Si" - } - } - } - }, - "UpdateNamespace": { - "input": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "adminUserPassword": { - "shape": "Sp" - }, - "adminUsername": { - "shape": "Sq" - }, - "defaultIamRoleArn": {}, - "iamRoles": { - "shape": "Sr" - }, - "kmsKeyId": {}, - "logExports": { - "shape": "St" - }, - "namespaceName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "namespace" - ], - "members": { - "namespace": { - "shape": "S11" - } - } - } - }, - "UpdateSnapshot": { - "input": { - "type": "structure", - "required": [ - "snapshotName" - ], - "members": { - "retentionPeriod": { - "type": "integer" - }, - "snapshotName": {} - } - }, - "output": { - "type": "structure", - "members": { - "snapshot": { - "shape": "S5" - } - } - } - }, - "UpdateUsageLimit": { - "input": { - "type": "structure", - "required": [ - "usageLimitId" - ], - "members": { - "amount": { - "type": "long" - }, - "breachAction": {}, - "usageLimitId": {} - } - }, - "output": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "S1a" - } - } - } - }, - "UpdateWorkgroup": { - "input": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "baseCapacity": { - "type": "integer" - }, - "configParameters": { - "shape": "S1c" - }, - "enhancedVpcRouting": { - "type": "boolean" - }, - "publiclyAccessible": { - "type": "boolean" - }, - "securityGroupIds": { - "shape": "S1h" - }, - "subnetIds": { - "shape": "Sd" - }, - "workgroupName": {} - } - }, - "output": { - "type": "structure", - "required": [ - "workgroup" - ], - "members": { - "workgroup": { - "shape": "S1l" - } - } - } - } - }, - "shapes": { - "S5": { - "type": "structure", - "members": { - "accountsWithProvisionedRestoreAccess": { - "shape": "S6" - }, - "accountsWithRestoreAccess": { - "shape": "S6" - }, - "actualIncrementalBackupSizeInMegaBytes": { - "type": "double" - }, - "adminUsername": {}, - "backupProgressInMegaBytes": { - "type": "double" - }, - "currentBackupRateInMegaBytesPerSecond": { - "type": "double" - }, - "elapsedTimeInSeconds": { - "type": "long" - }, - "estimatedSecondsToCompletion": { - "type": "long" - }, - "kmsKeyId": {}, - "namespaceArn": {}, - "namespaceName": {}, - "ownerAccount": {}, - "snapshotArn": {}, - "snapshotCreateTime": { - "shape": "Sa" - }, - "snapshotName": {}, - "snapshotRemainingDays": { - "type": "integer" - }, - "snapshotRetentionPeriod": { - "type": "integer" - }, - "snapshotRetentionStartTime": { - "shape": "Sa" - }, - "status": {}, - "totalBackupSizeInMegaBytes": { - "type": "double" - } - } - }, - "S6": { - "type": "list", - "member": {} - }, - "Sa": { - "type": "timestamp", - "timestampFormat": "iso8601" - }, - "Sd": { - "type": "list", - "member": {} - }, - "Sf": { - "type": "list", - "member": {} - }, - "Si": { - "type": "structure", - "members": { - "address": {}, - "endpointArn": {}, - "endpointCreateTime": { - "shape": "Sa" - }, - "endpointName": {}, - "endpointStatus": {}, - "port": { - "type": "integer" - }, - "subnetIds": { - "shape": "Sd" - }, - "vpcEndpoint": { - "shape": "Sj" - }, - "vpcSecurityGroups": { - "type": "list", - "member": { - "type": "structure", - "members": { - "status": {}, - "vpcSecurityGroupId": {} - } - } - }, - "workgroupName": {} - } - }, - "Sj": { - "type": "structure", - "members": { - "networkInterfaces": { - "type": "list", - "member": { - "type": "structure", - "members": { - "availabilityZone": {}, - "networkInterfaceId": {}, - "privateIpAddress": {}, - "subnetId": {} - } - } - }, - "vpcEndpointId": {}, - "vpcId": {} - } - }, - "Sp": { - "type": "string", - "sensitive": true - }, - "Sq": { - "type": "string", - "sensitive": true - }, - "Sr": { - "type": "list", - "member": {} - }, - "St": { - "type": "list", - "member": {} - }, - "Sw": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": {} - } - } - }, - "S11": { - "type": "structure", - "members": { - "adminUsername": { - "shape": "Sq" - }, - "creationDate": { - "shape": "Sa" - }, - "dbName": {}, - "defaultIamRoleArn": {}, - "iamRoles": { - "shape": "Sr" - }, - "kmsKeyId": {}, - "logExports": { - "shape": "St" - }, - "namespaceArn": {}, - "namespaceId": {}, - "namespaceName": {}, - "status": {} - } - }, - "S1a": { - "type": "structure", - "members": { - "amount": { - "type": "long" - }, - "breachAction": {}, - "period": {}, - "resourceArn": {}, - "usageLimitArn": {}, - "usageLimitId": {}, - "usageType": {} - } - }, - "S1c": { - "type": "list", - "member": { - "type": "structure", - "members": { - "parameterKey": {}, - "parameterValue": {} - } - } - }, - "S1h": { - "type": "list", - "member": {} - }, - "S1l": { - "type": "structure", - "members": { - "baseCapacity": { - "type": "integer" - }, - "configParameters": { - "shape": "S1c" - }, - "creationDate": { - "shape": "Sa" - }, - "endpoint": { - "type": "structure", - "members": { - "address": {}, - "port": { - "type": "integer" - }, - "vpcEndpoints": { - "type": "list", - "member": { - "shape": "Sj" - } - } - } - }, - "enhancedVpcRouting": { - "type": "boolean" - }, - "namespaceName": {}, - "publiclyAccessible": { - "type": "boolean" - }, - "securityGroupIds": { - "shape": "S1h" - }, - "status": {}, - "subnetIds": { - "shape": "Sd" - }, - "workgroupArn": {}, - "workgroupId": {}, - "workgroupName": {} - } - }, - "S2b": { - "type": "structure", - "members": { - "namespaceName": {}, - "recoveryPointCreateTime": { - "shape": "Sa" - }, - "recoveryPointId": {}, - "totalSizeInMegaBytes": { - "type": "double" - }, - "workgroupName": {} - } - }, - "S2e": { - "type": "structure", - "members": { - "policy": {}, - "resourceArn": {} - } - } - } -} \ No newline at end of file diff --git a/apis/redshiftserverless-2021-04-21.normal.json b/apis/redshiftserverless-2021-04-21.normal.json deleted file mode 100644 index b9adcba096..0000000000 --- a/apis/redshiftserverless-2021-04-21.normal.json +++ /dev/null @@ -1,2924 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2021-04-21", - "endpointPrefix": "redshift-serverless", - "jsonVersion": "1.1", - "protocol": "json", - "serviceFullName": "Redshift Serverless", - "serviceId": "RedshiftServerless", - "signatureVersion": "v4", - "signingName": "redshift-serverless", - "targetPrefix": "RedshiftServerless", - "uid": "redshiftserverless-2021-04-21" - }, - "operations": { - "ConvertRecoveryPointToSnapshot": { - "name": "ConvertRecoveryPointToSnapshot", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ConvertRecoveryPointToSnapshotRequest" - }, - "output": { - "shape": "ConvertRecoveryPointToSnapshotResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "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.

" - }, - "CreateEndpointAccess": { - "name": "CreateEndpointAccess", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "CreateEndpointAccessRequest" - }, - "output": { - "shape": "CreateEndpointAccessResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

Creates an Amazon Redshift Serverless managed VPC endpoint.

", - "idempotent": true - }, - "CreateNamespace": { - "name": "CreateNamespace", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "CreateNamespaceRequest" - }, - "output": { - "shape": "CreateNamespaceResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "TooManyTagsException" - } - ], - "documentation": "

Creates a namespace in Amazon Redshift Serverless.

", - "idempotent": true - }, - "CreateSnapshot": { - "name": "CreateSnapshot", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "CreateSnapshotRequest" - }, - "output": { - "shape": "CreateSnapshotResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

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

", - "idempotent": true - }, - "CreateUsageLimit": { - "name": "CreateUsageLimit", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "CreateUsageLimitRequest" - }, - "output": { - "shape": "CreateUsageLimitResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier.

", - "idempotent": true - }, - "CreateWorkgroup": { - "name": "CreateWorkgroup", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "CreateWorkgroupRequest" - }, - "output": { - "shape": "CreateWorkgroupResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "InsufficientCapacityException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "TooManyTagsException" - } - ], - "documentation": "

Creates an workgroup in Amazon Redshift Serverless.

", - "idempotent": true - }, - "DeleteEndpointAccess": { - "name": "DeleteEndpointAccess", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "DeleteEndpointAccessRequest" - }, - "output": { - "shape": "DeleteEndpointAccessResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Deletes an Amazon Redshift Serverless managed VPC endpoint.

", - "idempotent": true - }, - "DeleteNamespace": { - "name": "DeleteNamespace", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "DeleteNamespaceRequest" - }, - "output": { - "shape": "DeleteNamespaceResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Deletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace.

", - "idempotent": true - }, - "DeleteResourcePolicy": { - "name": "DeleteResourcePolicy", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "DeleteResourcePolicyRequest" - }, - "output": { - "shape": "DeleteResourcePolicyResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Deletes the specified resource policy.

" - }, - "DeleteSnapshot": { - "name": "DeleteSnapshot", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "DeleteSnapshotRequest" - }, - "output": { - "shape": "DeleteSnapshotResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Deletes a snapshot from Amazon Redshift Serverless.

", - "idempotent": true - }, - "DeleteUsageLimit": { - "name": "DeleteUsageLimit", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "DeleteUsageLimitRequest" - }, - "output": { - "shape": "DeleteUsageLimitResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Deletes a usage limit from Amazon Redshift Serverless.

", - "idempotent": true - }, - "DeleteWorkgroup": { - "name": "DeleteWorkgroup", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "DeleteWorkgroupRequest" - }, - "output": { - "shape": "DeleteWorkgroupResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Deletes a workgroup.

", - "idempotent": true - }, - "GetCredentials": { - "name": "GetCredentials", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetCredentialsRequest" - }, - "output": { - "shape": "GetCredentialsResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "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> 
" - }, - "GetEndpointAccess": { - "name": "GetEndpointAccess", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetEndpointAccessRequest" - }, - "output": { - "shape": "GetEndpointAccessResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information, such as the name, about a VPC endpoint.

" - }, - "GetNamespace": { - "name": "GetNamespace", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetNamespaceRequest" - }, - "output": { - "shape": "GetNamespaceResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information about a namespace in Amazon Redshift Serverless.

" - }, - "GetRecoveryPoint": { - "name": "GetRecoveryPoint", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetRecoveryPointRequest" - }, - "output": { - "shape": "GetRecoveryPointResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information about a recovery point.

" - }, - "GetResourcePolicy": { - "name": "GetResourcePolicy", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetResourcePolicyRequest" - }, - "output": { - "shape": "GetResourcePolicyResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns a resource policy.

" - }, - "GetSnapshot": { - "name": "GetSnapshot", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetSnapshotRequest" - }, - "output": { - "shape": "GetSnapshotResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information about a specific snapshot.

" - }, - "GetUsageLimit": { - "name": "GetUsageLimit", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetUsageLimitRequest" - }, - "output": { - "shape": "GetUsageLimitResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information about a usage limit.

" - }, - "GetWorkgroup": { - "name": "GetWorkgroup", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "GetWorkgroupRequest" - }, - "output": { - "shape": "GetWorkgroupResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information about a specific workgroup.

" - }, - "ListEndpointAccess": { - "name": "ListEndpointAccess", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ListEndpointAccessRequest" - }, - "output": { - "shape": "ListEndpointAccessResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns an array of EndpointAccess objects and relevant information.

" - }, - "ListNamespaces": { - "name": "ListNamespaces", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ListNamespacesRequest" - }, - "output": { - "shape": "ListNamespacesResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information about a list of specified namespaces.

" - }, - "ListRecoveryPoints": { - "name": "ListRecoveryPoints", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ListRecoveryPointsRequest" - }, - "output": { - "shape": "ListRecoveryPointsResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns an array of recovery points.

" - }, - "ListSnapshots": { - "name": "ListSnapshots", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ListSnapshotsRequest" - }, - "output": { - "shape": "ListSnapshotsResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns a list of snapshots.

" - }, - "ListTagsForResource": { - "name": "ListTagsForResource", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ListTagsForResourceRequest" - }, - "output": { - "shape": "ListTagsForResourceResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "ThrottlingException" - } - ], - "documentation": "

Lists the tags assigned to a resource.

" - }, - "ListUsageLimits": { - "name": "ListUsageLimits", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ListUsageLimitsRequest" - }, - "output": { - "shape": "ListUsageLimitsResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "InvalidPaginationException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Lists all usage limits within Amazon Redshift Serverless.

" - }, - "ListWorkgroups": { - "name": "ListWorkgroups", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "ListWorkgroupsRequest" - }, - "output": { - "shape": "ListWorkgroupsResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Returns information about a list of specified workgroups.

" - }, - "PutResourcePolicy": { - "name": "PutResourcePolicy", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "PutResourcePolicyRequest" - }, - "output": { - "shape": "PutResourcePolicyResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts.

" - }, - "RestoreFromRecoveryPoint": { - "name": "RestoreFromRecoveryPoint", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "RestoreFromRecoveryPointRequest" - }, - "output": { - "shape": "RestoreFromRecoveryPointResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Restore the data from a recovery point.

" - }, - "RestoreFromSnapshot": { - "name": "RestoreFromSnapshot", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "RestoreFromSnapshotRequest" - }, - "output": { - "shape": "RestoreFromSnapshotResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

Restores a namespace from a snapshot.

", - "idempotent": true - }, - "TagResource": { - "name": "TagResource", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "TagResourceRequest" - }, - "output": { - "shape": "TagResourceResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "TooManyTagsException" - }, - { - "shape": "ThrottlingException" - } - ], - "documentation": "

Assigns one or more tags to a resource.

" - }, - "UntagResource": { - "name": "UntagResource", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "UntagResourceRequest" - }, - "output": { - "shape": "UntagResourceResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "ThrottlingException" - } - ], - "documentation": "

Removes a tag or set of tags from a resource.

" - }, - "UpdateEndpointAccess": { - "name": "UpdateEndpointAccess", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "UpdateEndpointAccessRequest" - }, - "output": { - "shape": "UpdateEndpointAccessResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - } - ], - "documentation": "

Updates an Amazon Redshift Serverless managed endpoint.

" - }, - "UpdateNamespace": { - "name": "UpdateNamespace", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "UpdateNamespaceRequest" - }, - "output": { - "shape": "UpdateNamespaceResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Updates a namespace with the specified settings.

" - }, - "UpdateSnapshot": { - "name": "UpdateSnapshot", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "UpdateSnapshotRequest" - }, - "output": { - "shape": "UpdateSnapshotResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Updates a snapshot.

" - }, - "UpdateUsageLimit": { - "name": "UpdateUsageLimit", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "UpdateUsageLimitRequest" - }, - "output": { - "shape": "UpdateUsageLimitResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.

" - }, - "UpdateWorkgroup": { - "name": "UpdateWorkgroup", - "http": { - "method": "POST", - "requestUri": "/" - }, - "input": { - "shape": "UpdateWorkgroupRequest" - }, - "output": { - "shape": "UpdateWorkgroupResponse" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "InsufficientCapacityException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - } - ], - "documentation": "

Updates a workgroup with the specified configuration settings.

" - } - }, - "shapes": { - "AccountIdList": { - "type": "list", - "member": { - "shape": "String" - } - }, - "AmazonResourceName": { - "type": "string", - "max": 1011, - "min": 1 - }, - "Boolean": { - "type": "boolean", - "box": true - }, - "ConfigParameter": { - "type": "structure", - "members": { - "parameterKey": { - "shape": "ParameterKey", - "documentation": "

The key of the parameter. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time.

" - }, - "parameterValue": { - "shape": "ParameterValue", - "documentation": "

The value of the parameter to set.

" - } - }, - "documentation": "

An array of key-value pairs to set for advanced control over Amazon Redshift Serverless.

" - }, - "ConfigParameterList": { - "type": "list", - "member": { - "shape": "ConfigParameter" - } - }, - "ConvertRecoveryPointToSnapshotRequest": { - "type": "structure", - "required": [ - "recoveryPointId", - "snapshotName" - ], - "members": { - "recoveryPointId": { - "shape": "String", - "documentation": "

The unique identifier of the recovery point.

" - }, - "retentionPeriod": { - "shape": "Integer", - "documentation": "

How long to retain the snapshot.

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

The name of the snapshot.

" - } - } - }, - "ConvertRecoveryPointToSnapshotResponse": { - "type": "structure", - "members": { - "snapshot": { - "shape": "Snapshot", - "documentation": "

The snapshot converted from the recovery point.

" - } - } - }, - "CreateEndpointAccessRequest": { - "type": "structure", - "required": [ - "endpointName", - "subnetIds", - "workgroupName" - ], - "members": { - "endpointName": { - "shape": "String", - "documentation": "

The name of the VPC endpoint. An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.

" - }, - "subnetIds": { - "shape": "SubnetIdList", - "documentation": "

The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.

" - }, - "vpcSecurityGroupIds": { - "shape": "VpcSecurityGroupIdList", - "documentation": "

The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

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

The name of the workgroup to associate with the VPC endpoint.

" - } - } - }, - "CreateEndpointAccessResponse": { - "type": "structure", - "members": { - "endpoint": { - "shape": "EndpointAccess", - "documentation": "

The created VPC endpoint.

" - } - } - }, - "CreateNamespaceRequest": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "adminUserPassword": { - "shape": "DbPassword", - "documentation": "

The password of the administrator for the first database created in the namespace.

" - }, - "adminUsername": { - "shape": "DbUser", - "documentation": "

The username of the administrator for the first database created in the namespace.

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

The name of the first database created in the namespace.

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

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

" - }, - "iamRoles": { - "shape": "IamRoleArnList", - "documentation": "

A list of IAM roles to associate with the namespace.

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

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

" - }, - "logExports": { - "shape": "LogExportList", - "documentation": "

The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog.

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

The name of the namespace.

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

A list of tag instances.

" - } - } - }, - "CreateNamespaceResponse": { - "type": "structure", - "members": { - "namespace": { - "shape": "Namespace", - "documentation": "

The created namespace object.

" - } - } - }, - "CreateSnapshotRequest": { - "type": "structure", - "required": [ - "namespaceName", - "snapshotName" - ], - "members": { - "namespaceName": { - "shape": "String", - "documentation": "

The namespace to create a snapshot for.

" - }, - "retentionPeriod": { - "shape": "Integer", - "documentation": "

How long to retain the created snapshot.

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

The name of the snapshot.

" - } - } - }, - "CreateSnapshotResponse": { - "type": "structure", - "members": { - "snapshot": { - "shape": "Snapshot", - "documentation": "

The created snapshot object.

" - } - } - }, - "CreateUsageLimitRequest": { - "type": "structure", - "required": [ - "amount", - "resourceArn", - "usageType" - ], - "members": { - "amount": { - "shape": "Long", - "documentation": "

The 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", - "documentation": "

The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.

" - }, - "period": { - "shape": "UsageLimitPeriod", - "documentation": "

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

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

The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.

" - }, - "usageType": { - "shape": "UsageLimitUsageType", - "documentation": "

The type of Amazon Redshift Serverless usage to create a usage limit for.

" - } - } - }, - "CreateUsageLimitResponse": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "UsageLimit", - "documentation": "

The returned usage limit object.

" - } - } - }, - "CreateWorkgroupRequest": { - "type": "structure", - "required": [ - "namespaceName", - "workgroupName" - ], - "members": { - "baseCapacity": { - "shape": "Integer", - "documentation": "

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

" - }, - "configParameters": { - "shape": "ConfigParameterList", - "documentation": "

An array of parameters to set for more control over a serverless database. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time.

" - }, - "enhancedVpcRouting": { - "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 instead of over the internet.

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

The name of the namespace to associate with the workgroup.

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

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

" - }, - "securityGroupIds": { - "shape": "SecurityGroupIdList", - "documentation": "

An array of security group IDs to associate with the workgroup.

" - }, - "subnetIds": { - "shape": "SubnetIdList", - "documentation": "

An array of VPC subnet IDs to associate with the workgroup.

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

A array of tag instances.

" - }, - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the created workgroup.

" - } - } - }, - "CreateWorkgroupResponse": { - "type": "structure", - "members": { - "workgroup": { - "shape": "Workgroup", - "documentation": "

The created workgroup object.

" - } - } - }, - "DbName": { - "type": "string" - }, - "DbPassword": { - "type": "string", - "sensitive": true - }, - "DbUser": { - "type": "string", - "sensitive": true - }, - "DeleteEndpointAccessRequest": { - "type": "structure", - "required": [ - "endpointName" - ], - "members": { - "endpointName": { - "shape": "String", - "documentation": "

The name of the VPC endpoint to delete.

" - } - } - }, - "DeleteEndpointAccessResponse": { - "type": "structure", - "members": { - "endpoint": { - "shape": "EndpointAccess", - "documentation": "

The deleted VPC endpoint.

" - } - } - }, - "DeleteNamespaceRequest": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "finalSnapshotName": { - "shape": "String", - "documentation": "

The name of the snapshot to be created before the namespace is deleted.

" - }, - "finalSnapshotRetentionPeriod": { - "shape": "Integer", - "documentation": "

How long to retain the final snapshot.

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

The name of the namespace to delete.

" - } - } - }, - "DeleteNamespaceResponse": { - "type": "structure", - "required": [ - "namespace" - ], - "members": { - "namespace": { - "shape": "Namespace", - "documentation": "

The deleted namespace object.

" - } - } - }, - "DeleteResourcePolicyRequest": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": { - "shape": "String", - "documentation": "

The Amazon Resource Name (ARN) of the policy to delete.

" - } - } - }, - "DeleteResourcePolicyResponse": { - "type": "structure", - "members": {} - }, - "DeleteSnapshotRequest": { - "type": "structure", - "required": [ - "snapshotName" - ], - "members": { - "snapshotName": { - "shape": "String", - "documentation": "

The name of the snapshot to be deleted.

" - } - } - }, - "DeleteSnapshotResponse": { - "type": "structure", - "members": { - "snapshot": { - "shape": "Snapshot", - "documentation": "

The deleted snapshot object.

" - } - } - }, - "DeleteUsageLimitRequest": { - "type": "structure", - "required": [ - "usageLimitId" - ], - "members": { - "usageLimitId": { - "shape": "String", - "documentation": "

The unique identifier of the usage limit to delete.

" - } - } - }, - "DeleteUsageLimitResponse": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "UsageLimit", - "documentation": "

The deleted usage limit object.

" - } - } - }, - "DeleteWorkgroupRequest": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the workgroup to be deleted.

" - } - } - }, - "DeleteWorkgroupResponse": { - "type": "structure", - "required": [ - "workgroup" - ], - "members": { - "workgroup": { - "shape": "Workgroup", - "documentation": "

The deleted workgroup object.

" - } - } - }, - "Double": { - "type": "double", - "box": true - }, - "Endpoint": { - "type": "structure", - "members": { - "address": { - "shape": "String", - "documentation": "

The DNS address of the VPC endpoint.

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

The port that Amazon Redshift Serverless listens on.

" - }, - "vpcEndpoints": { - "shape": "VpcEndpointList", - "documentation": "

An array of VpcEndpoint objects.

" - } - }, - "documentation": "

The VPC endpoint object.

" - }, - "EndpointAccess": { - "type": "structure", - "members": { - "address": { - "shape": "String", - "documentation": "

The DNS address of the endpoint.

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

The Amazon Resource Name (ARN) of the VPC endpoint.

" - }, - "endpointCreateTime": { - "shape": "SyntheticTimestamp_date_time", - "documentation": "

The time that the endpoint was created.

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

The name of the VPC endpoint.

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

The status of the VPC endpoint.

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

The port number on which Amazon Redshift Serverless accepts incoming connections.

" - }, - "subnetIds": { - "shape": "SubnetIdList", - "documentation": "

The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

" - }, - "vpcEndpoint": { - "shape": "VpcEndpoint", - "documentation": "

The connection endpoint for connecting to Amazon Redshift Serverless.

" - }, - "vpcSecurityGroups": { - "shape": "VpcSecurityGroupMembershipList", - "documentation": "

The security groups associated with the endpoint.

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

The name of the workgroup associated with the endpoint.

" - } - }, - "documentation": "

Information about an Amazon Redshift Serverless VPC endpoint.

" - }, - "EndpointAccessList": { - "type": "list", - "member": { - "shape": "EndpointAccess" - } - }, - "GetCredentialsRequest": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "dbName": { - "shape": "DbName", - "documentation": "

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

Constraints:

" - }, - "durationSeconds": { - "shape": "Integer", - "documentation": "

The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.

" - }, - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the workgroup associated with the database.

" - } - } - }, - "GetCredentialsResponse": { - "type": "structure", - "members": { - "dbPassword": { - "shape": "DbPassword", - "documentation": "

A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

" - }, - "dbUser": { - "shape": "DbUser", - "documentation": "

A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database privileges as the the user named in DbUser. By default, the user is added to PUBLIC.

" - }, - "expiration": { - "shape": "Timestamp", - "documentation": "

The date and time the password in DbPassword expires.

" - }, - "nextRefreshTime": { - "shape": "Timestamp", - "documentation": "

The date and time of when the DbUser and DbPassword authorization refreshes.

" - } - } - }, - "GetEndpointAccessRequest": { - "type": "structure", - "required": [ - "endpointName" - ], - "members": { - "endpointName": { - "shape": "String", - "documentation": "

The name of the VPC endpoint to return information for.

" - } - } - }, - "GetEndpointAccessResponse": { - "type": "structure", - "members": { - "endpoint": { - "shape": "EndpointAccess", - "documentation": "

The returned VPC endpoint.

" - } - } - }, - "GetNamespaceRequest": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "namespaceName": { - "shape": "NamespaceName", - "documentation": "

The name of the namespace to retrieve information for.

" - } - } - }, - "GetNamespaceResponse": { - "type": "structure", - "required": [ - "namespace" - ], - "members": { - "namespace": { - "shape": "Namespace", - "documentation": "

The returned namespace object.

" - } - } - }, - "GetRecoveryPointRequest": { - "type": "structure", - "required": [ - "recoveryPointId" - ], - "members": { - "recoveryPointId": { - "shape": "String", - "documentation": "

The unique identifier of the recovery point to return information for.

" - } - } - }, - "GetRecoveryPointResponse": { - "type": "structure", - "members": { - "recoveryPoint": { - "shape": "RecoveryPoint", - "documentation": "

The returned recovery point object.

" - } - } - }, - "GetResourcePolicyRequest": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": { - "shape": "String", - "documentation": "

The Amazon Resource Name (ARN) of the resource to return.

" - } - } - }, - "GetResourcePolicyResponse": { - "type": "structure", - "members": { - "resourcePolicy": { - "shape": "ResourcePolicy", - "documentation": "

The returned resource policy.

" - } - } - }, - "GetSnapshotRequest": { - "type": "structure", - "members": { - "ownerAccount": { - "shape": "String", - "documentation": "

The owner Amazon Web Services account of a snapshot shared with another user.

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

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

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

The name of the snapshot to return.

" - } - } - }, - "GetSnapshotResponse": { - "type": "structure", - "members": { - "snapshot": { - "shape": "Snapshot", - "documentation": "

The returned snapshot object.

" - } - } - }, - "GetUsageLimitRequest": { - "type": "structure", - "required": [ - "usageLimitId" - ], - "members": { - "usageLimitId": { - "shape": "String", - "documentation": "

The unique identifier of the usage limit to return information for.

" - } - } - }, - "GetUsageLimitResponse": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "UsageLimit", - "documentation": "

The returned usage limit object.

" - } - } - }, - "GetWorkgroupRequest": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the workgroup to return information for.

" - } - } - }, - "GetWorkgroupResponse": { - "type": "structure", - "required": [ - "workgroup" - ], - "members": { - "workgroup": { - "shape": "Workgroup", - "documentation": "

The returned workgroup object.

" - } - } - }, - "IamRoleArn": { - "type": "string" - }, - "IamRoleArnList": { - "type": "list", - "member": { - "shape": "IamRoleArn" - } - }, - "Integer": { - "type": "integer", - "box": true - }, - "KmsKeyId": { - "type": "string" - }, - "ListEndpointAccessRequest": { - "type": "structure", - "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.

", - "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.

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

The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.

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

The name of the workgroup associated with the VPC endpoint to return.

" - } - } - }, - "ListEndpointAccessRequestMaxResultsInteger": { - "type": "integer", - "box": true, - "max": 100, - "min": 1 - }, - "ListEndpointAccessResponse": { - "type": "structure", - "required": [ - "endpoints" - ], - "members": { - "endpoints": { - "shape": "EndpointAccessList", - "documentation": "

The returned VPC endpoints.

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

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" - } - } - }, - "ListNamespacesRequest": { - "type": "structure", - "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.

", - "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.

" - } - } - }, - "ListNamespacesRequestMaxResultsInteger": { - "type": "integer", - "box": true, - "max": 100, - "min": 1 - }, - "ListNamespacesResponse": { - "type": "structure", - "required": [ - "namespaces" - ], - "members": { - "namespaces": { - "shape": "NamespaceList", - "documentation": "

The list of returned namespaces.

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

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" - } - } - }, - "ListRecoveryPointsRequest": { - "type": "structure", - "members": { - "endTime": { - "shape": "Timestamp", - "documentation": "

The time when creation of the recovery point finished.

" - }, - "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.

", - "box": true - }, - "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.

" - }, - "startTime": { - "shape": "Timestamp", - "documentation": "

The time when the recovery point's creation was initiated.

" - } - } - }, - "ListRecoveryPointsRequestMaxResultsInteger": { - "type": "integer", - "box": true, - "max": 100, - "min": 1 - }, - "ListRecoveryPointsResponse": { - "type": "structure", - "members": { - "nextToken": { - "shape": "String", - "documentation": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" - }, - "recoveryPoints": { - "shape": "RecoveryPointList", - "documentation": "

The returned recovery point objects.

" - } - } - }, - "ListSnapshotsRequest": { - "type": "structure", - "members": { - "endTime": { - "shape": "Timestamp", - "documentation": "

The timestamp showing when the snapshot creation finished.

" - }, - "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.

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

The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.

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

The namespace from which to list all snapshots.

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

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

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

The owner Amazon Web Services account of the snapshot.

" - }, - "startTime": { - "shape": "Timestamp", - "documentation": "

The time when the creation of the snapshot was initiated.

" - } - } - }, - "ListSnapshotsRequestMaxResultsInteger": { - "type": "integer", - "box": true, - "max": 100, - "min": 1 - }, - "ListSnapshotsResponse": { - "type": "structure", - "members": { - "nextToken": { - "shape": "String", - "documentation": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" - }, - "snapshots": { - "shape": "SnapshotList", - "documentation": "

All of the returned snapshot objects.

" - } - } - }, - "ListTagsForResourceRequest": { - "type": "structure", - "required": [ - "resourceArn" - ], - "members": { - "resourceArn": { - "shape": "AmazonResourceName", - "documentation": "

The Amazon Resource Name (ARN) of the resource to list tags for.

" - } - } - }, - "ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "shape": "TagList", - "documentation": "

A map of the key-value pairs assigned to the resource.

" - } - } - }, - "ListUsageLimitsRequest": { - "type": "structure", - "members": { - "maxResults": { - "shape": "ListUsageLimitsRequestMaxResultsInteger", - "documentation": "

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

", - "box": true - }, - "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.

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

The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.

" - }, - "usageType": { - "shape": "UsageLimitUsageType", - "documentation": "

The Amazon Redshift Serverless feature whose limits you want to see.

" - } - } - }, - "ListUsageLimitsRequestMaxResultsInteger": { - "type": "integer", - "box": true, - "max": 100, - "min": 1 - }, - "ListUsageLimitsResponse": { - "type": "structure", - "members": { - "nextToken": { - "shape": "PaginationToken", - "documentation": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" - }, - "usageLimits": { - "shape": "UsageLimits", - "documentation": "

An array of returned usage limit objects.

" - } - } - }, - "ListWorkgroupsRequest": { - "type": "structure", - "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.

", - "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.

" - } - } - }, - "ListWorkgroupsRequestMaxResultsInteger": { - "type": "integer", - "box": true, - "max": 100, - "min": 1 - }, - "ListWorkgroupsResponse": { - "type": "structure", - "required": [ - "workgroups" - ], - "members": { - "nextToken": { - "shape": "String", - "documentation": "

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.

" - }, - "workgroups": { - "shape": "WorkgroupList", - "documentation": "

The returned array of workgroups.

" - } - } - }, - "LogExport": { - "type": "string", - "enum": [ - "useractivitylog", - "userlog", - "connectionlog" - ] - }, - "LogExportList": { - "type": "list", - "member": { - "shape": "LogExport" - }, - "max": 16, - "min": 0 - }, - "Long": { - "type": "long", - "box": true - }, - "Namespace": { - "type": "structure", - "members": { - "adminUsername": { - "shape": "DbUser", - "documentation": "

The username of the administrator for the first database created in the namespace.

" - }, - "creationDate": { - "shape": "SyntheticTimestamp_date_time", - "documentation": "

The date of when the namespace was created.

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

The name of the first database created in the namespace.

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

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

" - }, - "iamRoles": { - "shape": "IamRoleArnList", - "documentation": "

A list of IAM roles to associate with the namespace.

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

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

" - }, - "logExports": { - "shape": "LogExportList", - "documentation": "

The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log.

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

The Amazon Resource Name (ARN) associated with a namespace.

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

The unique identifier of a namespace.

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

The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.

" - }, - "status": { - "shape": "NamespaceStatus", - "documentation": "

The status of the namespace.

" - } - }, - "documentation": "

A collection of database objects and users.

" - }, - "NamespaceList": { - "type": "list", - "member": { - "shape": "Namespace" - } - }, - "NamespaceName": { - "type": "string", - "max": 64, - "min": 3, - "pattern": "^[a-z0-9-]+$" - }, - "NamespaceStatus": { - "type": "string", - "enum": [ - "AVAILABLE", - "MODIFYING", - "DELETING" - ] - }, - "NetworkInterface": { - "type": "structure", - "members": { - "availabilityZone": { - "shape": "String", - "documentation": "

The availability Zone.

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

The unique identifier of the network interface.

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

The IPv4 address of the network interface within the subnet.

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

The unique identifier of the subnet.

" - } - }, - "documentation": "

Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

" - }, - "NetworkInterfaceList": { - "type": "list", - "member": { - "shape": "NetworkInterface" - } - }, - "PaginationToken": { - "type": "string", - "max": 1024, - "min": 8 - }, - "ParameterKey": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - }, - "PutResourcePolicyRequest": { - "type": "structure", - "required": [ - "policy", - "resourceArn" - ], - "members": { - "policy": { - "shape": "String", - "documentation": "

The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.

\"{\\\"Version\\\": \\\"2012-10-17\\\", \\\"Statement\\\" : [{ \\\"Sid\\\": \\\"AllowUserRestoreFromSnapshot\\\", \\\"Principal\\\":{\\\"AWS\\\": [\\\"739247239426\\\"]}, \\\"Action\\\": [\\\"redshift-serverless:RestoreFromSnapshot\\\"] , \\\"Effect\\\": \\\"Allow\\\" }]}\"

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

The Amazon Resource Name (ARN) of the account to create or update a resource policy for.

" - } - } - }, - "PutResourcePolicyResponse": { - "type": "structure", - "members": { - "resourcePolicy": { - "shape": "ResourcePolicy", - "documentation": "

The policy that was created or updated.

" - } - } - }, - "RecoveryPoint": { - "type": "structure", - "members": { - "namespaceName": { - "shape": "NamespaceName", - "documentation": "

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

" - }, - "recoveryPointCreateTime": { - "shape": "SyntheticTimestamp_date_time", - "documentation": "

The time the recovery point is created.

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

The unique identifier of the recovery point.

" - }, - "totalSizeInMegaBytes": { - "shape": "Double", - "documentation": "

The total size of the data in the recovery point in megabytes.

" - }, - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

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

" - } - }, - "documentation": "

The automatically created recovery point of a namespace. Recovery points are created every 30 minutes and kept for 24 hours.

" - }, - "RecoveryPointList": { - "type": "list", - "member": { - "shape": "RecoveryPoint" - } - }, - "ResourcePolicy": { - "type": "structure", - "members": { - "policy": { - "shape": "String", - "documentation": "

The resource policy.

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

The Amazon Resource Name (ARN) of the policy.

" - } - }, - "documentation": "

The resource policy object. Currently, you can use policies to share snapshots across Amazon Web Services accounts.

" - }, - "RestoreFromRecoveryPointRequest": { - "type": "structure", - "required": [ - "namespaceName", - "recoveryPointId", - "workgroupName" - ], - "members": { - "namespaceName": { - "shape": "NamespaceName", - "documentation": "

The name of the namespace to restore data into.

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

The unique identifier of the recovery point to restore from.

" - }, - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the workgroup used to restore data.

" - } - } - }, - "RestoreFromRecoveryPointResponse": { - "type": "structure", - "members": { - "namespace": { - "shape": "Namespace", - "documentation": "

The namespace that data was restored into.

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

The unique identifier of the recovery point used for the restore.

" - } - } - }, - "RestoreFromSnapshotRequest": { - "type": "structure", - "required": [ - "namespaceName", - "workgroupName" - ], - "members": { - "namespaceName": { - "shape": "NamespaceName", - "documentation": "

The name of the namespace to restore the snapshot to.

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

The Amazon Web Services account that owns the snapshot.

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

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

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

The name of the snapshot to restore from.

" - }, - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the workgroup used to restore the snapshot.

" - } - } - }, - "RestoreFromSnapshotResponse": { - "type": "structure", - "members": { - "namespace": { - "shape": "Namespace" - }, - "ownerAccount": { - "shape": "String", - "documentation": "

The owner Amazon Web Services; account of the snapshot that was restored.

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

The name of the snapshot used to restore the namespace.

" - } - } - }, - "SecurityGroupId": { - "type": "string" - }, - "SecurityGroupIdList": { - "type": "list", - "member": { - "shape": "SecurityGroupId" - } - }, - "Snapshot": { - "type": "structure", - "members": { - "accountsWithProvisionedRestoreAccess": { - "shape": "AccountIdList", - "documentation": "

All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.

" - }, - "accountsWithRestoreAccess": { - "shape": "AccountIdList", - "documentation": "

All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.

" - }, - "actualIncrementalBackupSizeInMegaBytes": { - "shape": "Double", - "documentation": "

The size of the incremental backup in megabytes.

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

The username of the database within a snapshot.

" - }, - "backupProgressInMegaBytes": { - "shape": "Double", - "documentation": "

The size in megabytes of the data that has been backed up to a snapshot.

" - }, - "currentBackupRateInMegaBytesPerSecond": { - "shape": "Double", - "documentation": "

The rate at which data is backed up into a snapshot in megabytes per second.

" - }, - "elapsedTimeInSeconds": { - "shape": "Long", - "documentation": "

The amount of time it took to back up data into a snapshot.

" - }, - "estimatedSecondsToCompletion": { - "shape": "Long", - "documentation": "

The estimated amount of seconds until the snapshot completes backup.

" - }, - "kmsKeyId": { - "shape": "KmsKeyId", - "documentation": "

The unique identifier of the KMS key used to encrypt the snapshot.

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

The Amazon Resource Name (ARN) of the namespace the snapshot was created from.

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

The name of the namepsace.

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

The owner Amazon Web Services; account of the snapshot.

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

The Amazon Resource Name (ARN) of the snapshot.

" - }, - "snapshotCreateTime": { - "shape": "SyntheticTimestamp_date_time", - "documentation": "

The timestamp of when the snapshot was created.

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

The name of the snapshot.

" - }, - "snapshotRemainingDays": { - "shape": "Integer", - "documentation": "

The amount of days until the snapshot is deleted.

" - }, - "snapshotRetentionPeriod": { - "shape": "Integer", - "documentation": "

The period of time, in days, of how long the snapshot is retained.

" - }, - "snapshotRetentionStartTime": { - "shape": "SyntheticTimestamp_date_time", - "documentation": "

The timestamp of when data within the snapshot started getting retained.

" - }, - "status": { - "shape": "SnapshotStatus", - "documentation": "

The status of the snapshot.

" - }, - "totalBackupSizeInMegaBytes": { - "shape": "Double", - "documentation": "

The total size, in megabytes, of how big the snapshot is.

" - } - }, - "documentation": "

A snapshot object that contains databases.

" - }, - "SnapshotList": { - "type": "list", - "member": { - "shape": "Snapshot" - } - }, - "SnapshotStatus": { - "type": "string", - "enum": [ - "AVAILABLE", - "CREATING", - "DELETED", - "CANCELLED", - "FAILED", - "COPYING" - ] - }, - "String": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "SubnetIdList": { - "type": "list", - "member": { - "shape": "SubnetId" - } - }, - "SyntheticTimestamp_date_time": { - "type": "timestamp", - "timestampFormat": "iso8601" - }, - "Tag": { - "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": { - "shape": "TagKey", - "documentation": "

The key to use in the tag.

" - }, - "value": { - "shape": "TagValue", - "documentation": "

The value of the tag.

" - } - }, - "documentation": "

A map of key-value pairs.

" - }, - "TagKey": { - "type": "string", - "max": 128, - "min": 1 - }, - "TagKeyList": { - "type": "list", - "member": { - "shape": "TagKey" - }, - "max": 200, - "min": 0 - }, - "TagList": { - "type": "list", - "member": { - "shape": "Tag" - }, - "max": 200, - "min": 0 - }, - "TagResourceRequest": { - "type": "structure", - "required": [ - "resourceArn", - "tags" - ], - "members": { - "resourceArn": { - "shape": "AmazonResourceName", - "documentation": "

The Amazon Resource Name (ARN) of the resource to tag.

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

The map of the key-value pairs used to tag the resource.

" - } - } - }, - "TagResourceResponse": { - "type": "structure", - "members": {} - }, - "TagValue": { - "type": "string", - "max": 256, - "min": 0 - }, - "Timestamp": { - "type": "timestamp" - }, - "UntagResourceRequest": { - "type": "structure", - "required": [ - "resourceArn", - "tagKeys" - ], - "members": { - "resourceArn": { - "shape": "AmazonResourceName", - "documentation": "

The Amazon Resource Name (ARN) of the resource to remove tags from.

" - }, - "tagKeys": { - "shape": "TagKeyList", - "documentation": "

The tag or set of tags to remove from the resource.

" - } - } - }, - "UntagResourceResponse": { - "type": "structure", - "members": {} - }, - "UpdateEndpointAccessRequest": { - "type": "structure", - "required": [ - "endpointName" - ], - "members": { - "endpointName": { - "shape": "String", - "documentation": "

The name of the VPC endpoint to update.

" - }, - "vpcSecurityGroupIds": { - "shape": "VpcSecurityGroupIdList", - "documentation": "

The list of VPC security groups associated with the endpoint after the endpoint is modified.

" - } - } - }, - "UpdateEndpointAccessResponse": { - "type": "structure", - "members": { - "endpoint": { - "shape": "EndpointAccess", - "documentation": "

The updated VPC endpoint.

" - } - } - }, - "UpdateNamespaceRequest": { - "type": "structure", - "required": [ - "namespaceName" - ], - "members": { - "adminUserPassword": { - "shape": "DbPassword", - "documentation": "

The password of the administrator for the first database created in the namespace.

" - }, - "adminUsername": { - "shape": "DbUser", - "documentation": "

The username of the administrator for the first database created in the namespace.

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

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

" - }, - "iamRoles": { - "shape": "IamRoleArnList", - "documentation": "

A list of IAM roles to associate with the namespace.

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

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

" - }, - "logExports": { - "shape": "LogExportList", - "documentation": "

The types of logs the namespace can export. The export types are userlog, connectionlog, and useractivitylog.

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

The name of the namespace.

" - } - } - }, - "UpdateNamespaceResponse": { - "type": "structure", - "required": [ - "namespace" - ], - "members": { - "namespace": { - "shape": "Namespace", - "documentation": "

A list of tag instances.

" - } - } - }, - "UpdateSnapshotRequest": { - "type": "structure", - "required": [ - "snapshotName" - ], - "members": { - "retentionPeriod": { - "shape": "Integer", - "documentation": "

The new retention period of the snapshot.

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

The name of the snapshot.

" - } - } - }, - "UpdateSnapshotResponse": { - "type": "structure", - "members": { - "snapshot": { - "shape": "Snapshot", - "documentation": "

The updated snapshot object.

" - } - } - }, - "UpdateUsageLimitRequest": { - "type": "structure", - "required": [ - "usageLimitId" - ], - "members": { - "amount": { - "shape": "Long", - "documentation": "

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

" - }, - "breachAction": { - "shape": "UsageLimitBreachAction", - "documentation": "

The new action that Amazon Redshift Serverless takes when the limit is reached.

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

The identifier of the usage limit to update.

" - } - } - }, - "UpdateUsageLimitResponse": { - "type": "structure", - "members": { - "usageLimit": { - "shape": "UsageLimit", - "documentation": "

The updated usage limit object.

" - } - } - }, - "UpdateWorkgroupRequest": { - "type": "structure", - "required": [ - "workgroupName" - ], - "members": { - "baseCapacity": { - "shape": "Integer", - "documentation": "

The new base data warehouse capacity in Redshift Processing Units (RPUs).

" - }, - "configParameters": { - "shape": "ConfigParameterList", - "documentation": "

An array of parameters to set for advanced control over a database. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time.

" - }, - "enhancedVpcRouting": { - "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.

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

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

" - }, - "securityGroupIds": { - "shape": "SecurityGroupIdList", - "documentation": "

An array of security group IDs to associate with the workgroup.

" - }, - "subnetIds": { - "shape": "SubnetIdList", - "documentation": "

An array of VPC subnet IDs to associate with the workgroup.

" - }, - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the workgroup to update.

" - } - } - }, - "UpdateWorkgroupResponse": { - "type": "structure", - "required": [ - "workgroup" - ], - "members": { - "workgroup": { - "shape": "Workgroup", - "documentation": "

The updated workgroup object.

" - } - } - }, - "UsageLimit": { - "type": "structure", - "members": { - "amount": { - "shape": "Long", - "documentation": "

The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

" - }, - "breachAction": { - "shape": "UsageLimitBreachAction", - "documentation": "

The action that Amazon Redshift Serverless takes when the limit is reached.

" - }, - "period": { - "shape": "UsageLimitPeriod", - "documentation": "

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

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

The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

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

The Amazon Resource Name (ARN) of the resource associated with the usage limit.

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

The identifier of the usage limit.

" - }, - "usageType": { - "shape": "UsageLimitUsageType", - "documentation": "

The Amazon Redshift Serverless feature to limit.

" - } - }, - "documentation": "

The usage limit object.

" - }, - "UsageLimitBreachAction": { - "type": "string", - "enum": [ - "log", - "emit-metric", - "deactivate" - ] - }, - "UsageLimitPeriod": { - "type": "string", - "enum": [ - "daily", - "weekly", - "monthly" - ] - }, - "UsageLimitUsageType": { - "type": "string", - "enum": [ - "serverless-compute", - "cross-region-datasharing" - ] - }, - "UsageLimits": { - "type": "list", - "member": { - "shape": "UsageLimit" - }, - "max": 100, - "min": 1 - }, - "VpcEndpoint": { - "type": "structure", - "members": { - "networkInterfaces": { - "shape": "NetworkInterfaceList", - "documentation": "

One or more network interfaces of the endpoint. Also known as an interface endpoint.

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

The connection endpoint ID for connecting to Amazon Redshift Serverless.

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

The VPC identifier that the endpoint is associated with.

" - } - }, - "documentation": "

The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.

" - }, - "VpcEndpointList": { - "type": "list", - "member": { - "shape": "VpcEndpoint" - } - }, - "VpcSecurityGroupId": { - "type": "string" - }, - "VpcSecurityGroupIdList": { - "type": "list", - "member": { - "shape": "VpcSecurityGroupId" - } - }, - "VpcSecurityGroupMembership": { - "type": "structure", - "members": { - "status": { - "shape": "String", - "documentation": "

The status of the VPC security group.

" - }, - "vpcSecurityGroupId": { - "shape": "VpcSecurityGroupId", - "documentation": "

The unique identifier of the VPC security group.

" - } - }, - "documentation": "

Describes the members of a VPC security group.

" - }, - "VpcSecurityGroupMembershipList": { - "type": "list", - "member": { - "shape": "VpcSecurityGroupMembership" - } - }, - "Workgroup": { - "type": "structure", - "members": { - "baseCapacity": { - "shape": "Integer", - "documentation": "

The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).

" - }, - "configParameters": { - "shape": "ConfigParameterList", - "documentation": "

An array of parameters to set for finer control over a database. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time.

" - }, - "creationDate": { - "shape": "SyntheticTimestamp_date_time", - "documentation": "

The creation date of the workgroup.

" - }, - "endpoint": { - "shape": "Endpoint", - "documentation": "

The endpoint that is created from the workgroup.

" - }, - "enhancedVpcRouting": { - "shape": "Boolean", - "documentation": "

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

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

The namespace the workgroup is associated with.

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

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

" - }, - "securityGroupIds": { - "shape": "SecurityGroupIdList", - "documentation": "

An array of security group IDs to associate with the workgroup.

" - }, - "status": { - "shape": "WorkgroupStatus", - "documentation": "

The status of the workgroup.

" - }, - "subnetIds": { - "shape": "SubnetIdList", - "documentation": "

An array of subnet IDs the workgroup is associated with.

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

The Amazon Resource Name (ARN) that links to the workgroup.

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

The unique identifier of the workgroup.

" - }, - "workgroupName": { - "shape": "WorkgroupName", - "documentation": "

The name of the workgroup.

" - } - }, - "documentation": "

The collection of computing resources from which an endpoint is created.

" - }, - "WorkgroupList": { - "type": "list", - "member": { - "shape": "Workgroup" - } - }, - "WorkgroupName": { - "type": "string", - "max": 64, - "min": 3, - "pattern": "^[a-z0-9-]+$" - }, - "WorkgroupStatus": { - "type": "string", - "enum": [ - "CREATING", - "AVAILABLE", - "MODIFYING", - "DELETING" - ] - } - }, - "documentation": "

This is prerelease documentation for Amazon Redshift Serverless, which is in preview release. The documentation and the feature are both subject to change. We recommend that you use this feature only in test environments, and not in production environments. For preview terms and conditions, see Beta Service Participation in Amazon Web Services Service Terms.

This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.

Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers.

To learn more about Amazon Redshift Serverless, see What is Amazon Redshift Serverless.

" -} \ No newline at end of file diff --git a/apis/redshiftserverless-2021-04-21.paginators.json b/apis/redshiftserverless-2021-04-21.paginators.json deleted file mode 100644 index cf5163d450..0000000000 --- a/apis/redshiftserverless-2021-04-21.paginators.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "pagination": { - "ListEndpointAccess": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "endpoints" - }, - "ListNamespaces": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "namespaces" - }, - "ListRecoveryPoints": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "recoveryPoints" - }, - "ListSnapshots": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "snapshots" - }, - "ListUsageLimits": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "usageLimits" - }, - "ListWorkgroups": { - "input_token": "nextToken", - "output_token": "nextToken", - "limit_key": "maxResults", - "result_key": "workgroups" - } - } -} diff --git a/clients/all.d.ts b/clients/all.d.ts index 8adc544db1..fd11d64188 100644 --- a/clients/all.d.ts +++ b/clients/all.d.ts @@ -306,5 +306,4 @@ export import Ivschat = require('./ivschat'); export import ChimeSDKMediaPipelines = require('./chimesdkmediapipelines'); export import EMRServerless = require('./emrserverless'); export import M2 = require('./m2'); -export import RedshiftServerless = require('./redshiftserverless'); export import ConnectCampaigns = require('./connectcampaigns'); diff --git a/clients/all.js b/clients/all.js index 98033f8bcc..0a3d077a40 100644 --- a/clients/all.js +++ b/clients/all.js @@ -308,6 +308,5 @@ module.exports = { ChimeSDKMediaPipelines: require('./chimesdkmediapipelines'), EMRServerless: require('./emrserverless'), M2: require('./m2'), - RedshiftServerless: require('./redshiftserverless'), ConnectCampaigns: require('./connectcampaigns') }; \ No newline at end of file diff --git a/clients/redshiftserverless.d.ts b/clients/redshiftserverless.d.ts deleted file mode 100644 index 782e5a4d9f..0000000000 --- a/clients/redshiftserverless.d.ts +++ /dev/null @@ -1,1525 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config-base'; -interface Blob {} -declare class RedshiftServerless extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: RedshiftServerless.Types.ClientConfiguration) - config: Config & RedshiftServerless.Types.ClientConfiguration; - /** - * Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points. - */ - convertRecoveryPointToSnapshot(params: RedshiftServerless.Types.ConvertRecoveryPointToSnapshotRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ConvertRecoveryPointToSnapshotResponse) => void): Request; - /** - * Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points. - */ - convertRecoveryPointToSnapshot(callback?: (err: AWSError, data: RedshiftServerless.Types.ConvertRecoveryPointToSnapshotResponse) => void): Request; - /** - * Creates an Amazon Redshift Serverless managed VPC endpoint. - */ - createEndpointAccess(params: RedshiftServerless.Types.CreateEndpointAccessRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.CreateEndpointAccessResponse) => void): Request; - /** - * Creates an Amazon Redshift Serverless managed VPC endpoint. - */ - createEndpointAccess(callback?: (err: AWSError, data: RedshiftServerless.Types.CreateEndpointAccessResponse) => void): Request; - /** - * Creates a namespace in Amazon Redshift Serverless. - */ - createNamespace(params: RedshiftServerless.Types.CreateNamespaceRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.CreateNamespaceResponse) => void): Request; - /** - * Creates a namespace in Amazon Redshift Serverless. - */ - createNamespace(callback?: (err: AWSError, data: RedshiftServerless.Types.CreateNamespaceResponse) => void): Request; - /** - * Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points. - */ - createSnapshot(params: RedshiftServerless.Types.CreateSnapshotRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.CreateSnapshotResponse) => void): Request; - /** - * Creates a snapshot of all databases in a namespace. For more information about snapshots, see Working with snapshots and recovery points. - */ - createSnapshot(callback?: (err: AWSError, data: RedshiftServerless.Types.CreateSnapshotResponse) => void): Request; - /** - * Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier. - */ - createUsageLimit(params: RedshiftServerless.Types.CreateUsageLimitRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.CreateUsageLimitResponse) => void): Request; - /** - * Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified by the returned usage limit identifier. - */ - createUsageLimit(callback?: (err: AWSError, data: RedshiftServerless.Types.CreateUsageLimitResponse) => void): Request; - /** - * Creates an workgroup in Amazon Redshift Serverless. - */ - createWorkgroup(params: RedshiftServerless.Types.CreateWorkgroupRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.CreateWorkgroupResponse) => void): Request; - /** - * Creates an workgroup in Amazon Redshift Serverless. - */ - createWorkgroup(callback?: (err: AWSError, data: RedshiftServerless.Types.CreateWorkgroupResponse) => void): Request; - /** - * Deletes an Amazon Redshift Serverless managed VPC endpoint. - */ - deleteEndpointAccess(params: RedshiftServerless.Types.DeleteEndpointAccessRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteEndpointAccessResponse) => void): Request; - /** - * Deletes an Amazon Redshift Serverless managed VPC endpoint. - */ - deleteEndpointAccess(callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteEndpointAccessResponse) => void): Request; - /** - * Deletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace. - */ - deleteNamespace(params: RedshiftServerless.Types.DeleteNamespaceRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteNamespaceResponse) => void): Request; - /** - * Deletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace. - */ - deleteNamespace(callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteNamespaceResponse) => void): Request; - /** - * Deletes the specified resource policy. - */ - deleteResourcePolicy(params: RedshiftServerless.Types.DeleteResourcePolicyRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteResourcePolicyResponse) => void): Request; - /** - * Deletes the specified resource policy. - */ - deleteResourcePolicy(callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteResourcePolicyResponse) => void): Request; - /** - * Deletes a snapshot from Amazon Redshift Serverless. - */ - deleteSnapshot(params: RedshiftServerless.Types.DeleteSnapshotRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteSnapshotResponse) => void): Request; - /** - * Deletes a snapshot from Amazon Redshift Serverless. - */ - deleteSnapshot(callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteSnapshotResponse) => void): Request; - /** - * Deletes a usage limit from Amazon Redshift Serverless. - */ - deleteUsageLimit(params: RedshiftServerless.Types.DeleteUsageLimitRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteUsageLimitResponse) => void): Request; - /** - * Deletes a usage limit from Amazon Redshift Serverless. - */ - deleteUsageLimit(callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteUsageLimitResponse) => void): Request; - /** - * Deletes a workgroup. - */ - deleteWorkgroup(params: RedshiftServerless.Types.DeleteWorkgroupRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteWorkgroupResponse) => void): Request; - /** - * Deletes a workgroup. - */ - deleteWorkgroup(callback?: (err: AWSError, data: RedshiftServerless.Types.DeleteWorkgroupResponse) => void): Request; - /** - * 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> - */ - getCredentials(params: RedshiftServerless.Types.GetCredentialsRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetCredentialsResponse) => void): Request; - /** - * 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> - */ - getCredentials(callback?: (err: AWSError, data: RedshiftServerless.Types.GetCredentialsResponse) => void): Request; - /** - * Returns information, such as the name, about a VPC endpoint. - */ - getEndpointAccess(params: RedshiftServerless.Types.GetEndpointAccessRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetEndpointAccessResponse) => void): Request; - /** - * Returns information, such as the name, about a VPC endpoint. - */ - getEndpointAccess(callback?: (err: AWSError, data: RedshiftServerless.Types.GetEndpointAccessResponse) => void): Request; - /** - * Returns information about a namespace in Amazon Redshift Serverless. - */ - getNamespace(params: RedshiftServerless.Types.GetNamespaceRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetNamespaceResponse) => void): Request; - /** - * Returns information about a namespace in Amazon Redshift Serverless. - */ - getNamespace(callback?: (err: AWSError, data: RedshiftServerless.Types.GetNamespaceResponse) => void): Request; - /** - * Returns information about a recovery point. - */ - getRecoveryPoint(params: RedshiftServerless.Types.GetRecoveryPointRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetRecoveryPointResponse) => void): Request; - /** - * Returns information about a recovery point. - */ - getRecoveryPoint(callback?: (err: AWSError, data: RedshiftServerless.Types.GetRecoveryPointResponse) => void): Request; - /** - * Returns a resource policy. - */ - getResourcePolicy(params: RedshiftServerless.Types.GetResourcePolicyRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetResourcePolicyResponse) => void): Request; - /** - * Returns a resource policy. - */ - getResourcePolicy(callback?: (err: AWSError, data: RedshiftServerless.Types.GetResourcePolicyResponse) => void): Request; - /** - * Returns information about a specific snapshot. - */ - getSnapshot(params: RedshiftServerless.Types.GetSnapshotRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetSnapshotResponse) => void): Request; - /** - * Returns information about a specific snapshot. - */ - getSnapshot(callback?: (err: AWSError, data: RedshiftServerless.Types.GetSnapshotResponse) => void): Request; - /** - * Returns information about a usage limit. - */ - getUsageLimit(params: RedshiftServerless.Types.GetUsageLimitRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetUsageLimitResponse) => void): Request; - /** - * Returns information about a usage limit. - */ - getUsageLimit(callback?: (err: AWSError, data: RedshiftServerless.Types.GetUsageLimitResponse) => void): Request; - /** - * Returns information about a specific workgroup. - */ - getWorkgroup(params: RedshiftServerless.Types.GetWorkgroupRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.GetWorkgroupResponse) => void): Request; - /** - * Returns information about a specific workgroup. - */ - getWorkgroup(callback?: (err: AWSError, data: RedshiftServerless.Types.GetWorkgroupResponse) => void): Request; - /** - * Returns an array of EndpointAccess objects and relevant information. - */ - listEndpointAccess(params: RedshiftServerless.Types.ListEndpointAccessRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ListEndpointAccessResponse) => void): Request; - /** - * Returns an array of EndpointAccess objects and relevant information. - */ - listEndpointAccess(callback?: (err: AWSError, data: RedshiftServerless.Types.ListEndpointAccessResponse) => void): Request; - /** - * Returns information about a list of specified namespaces. - */ - listNamespaces(params: RedshiftServerless.Types.ListNamespacesRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ListNamespacesResponse) => void): Request; - /** - * Returns information about a list of specified namespaces. - */ - listNamespaces(callback?: (err: AWSError, data: RedshiftServerless.Types.ListNamespacesResponse) => void): Request; - /** - * Returns an array of recovery points. - */ - listRecoveryPoints(params: RedshiftServerless.Types.ListRecoveryPointsRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ListRecoveryPointsResponse) => void): Request; - /** - * Returns an array of recovery points. - */ - listRecoveryPoints(callback?: (err: AWSError, data: RedshiftServerless.Types.ListRecoveryPointsResponse) => void): Request; - /** - * Returns a list of snapshots. - */ - listSnapshots(params: RedshiftServerless.Types.ListSnapshotsRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ListSnapshotsResponse) => void): Request; - /** - * Returns a list of snapshots. - */ - listSnapshots(callback?: (err: AWSError, data: RedshiftServerless.Types.ListSnapshotsResponse) => void): Request; - /** - * Lists the tags assigned to a resource. - */ - listTagsForResource(params: RedshiftServerless.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ListTagsForResourceResponse) => void): Request; - /** - * Lists the tags assigned to a resource. - */ - listTagsForResource(callback?: (err: AWSError, data: RedshiftServerless.Types.ListTagsForResourceResponse) => void): Request; - /** - * Lists all usage limits within Amazon Redshift Serverless. - */ - listUsageLimits(params: RedshiftServerless.Types.ListUsageLimitsRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ListUsageLimitsResponse) => void): Request; - /** - * Lists all usage limits within Amazon Redshift Serverless. - */ - listUsageLimits(callback?: (err: AWSError, data: RedshiftServerless.Types.ListUsageLimitsResponse) => void): Request; - /** - * Returns information about a list of specified workgroups. - */ - listWorkgroups(params: RedshiftServerless.Types.ListWorkgroupsRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.ListWorkgroupsResponse) => void): Request; - /** - * Returns information about a list of specified workgroups. - */ - listWorkgroups(callback?: (err: AWSError, data: RedshiftServerless.Types.ListWorkgroupsResponse) => void): Request; - /** - * Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts. - */ - putResourcePolicy(params: RedshiftServerless.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.PutResourcePolicyResponse) => void): Request; - /** - * Creates or updates a resource policy. Currently, you can use policies to share snapshots across Amazon Web Services accounts. - */ - putResourcePolicy(callback?: (err: AWSError, data: RedshiftServerless.Types.PutResourcePolicyResponse) => void): Request; - /** - * Restore the data from a recovery point. - */ - restoreFromRecoveryPoint(params: RedshiftServerless.Types.RestoreFromRecoveryPointRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.RestoreFromRecoveryPointResponse) => void): Request; - /** - * Restore the data from a recovery point. - */ - restoreFromRecoveryPoint(callback?: (err: AWSError, data: RedshiftServerless.Types.RestoreFromRecoveryPointResponse) => void): Request; - /** - * Restores a namespace from a snapshot. - */ - restoreFromSnapshot(params: RedshiftServerless.Types.RestoreFromSnapshotRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.RestoreFromSnapshotResponse) => void): Request; - /** - * Restores a namespace from a snapshot. - */ - restoreFromSnapshot(callback?: (err: AWSError, data: RedshiftServerless.Types.RestoreFromSnapshotResponse) => void): Request; - /** - * Assigns one or more tags to a resource. - */ - tagResource(params: RedshiftServerless.Types.TagResourceRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.TagResourceResponse) => void): Request; - /** - * Assigns one or more tags to a resource. - */ - tagResource(callback?: (err: AWSError, data: RedshiftServerless.Types.TagResourceResponse) => void): Request; - /** - * Removes a tag or set of tags from a resource. - */ - untagResource(params: RedshiftServerless.Types.UntagResourceRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.UntagResourceResponse) => void): Request; - /** - * Removes a tag or set of tags from a resource. - */ - untagResource(callback?: (err: AWSError, data: RedshiftServerless.Types.UntagResourceResponse) => void): Request; - /** - * Updates an Amazon Redshift Serverless managed endpoint. - */ - updateEndpointAccess(params: RedshiftServerless.Types.UpdateEndpointAccessRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateEndpointAccessResponse) => void): Request; - /** - * Updates an Amazon Redshift Serverless managed endpoint. - */ - updateEndpointAccess(callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateEndpointAccessResponse) => void): Request; - /** - * Updates a namespace with the specified settings. - */ - updateNamespace(params: RedshiftServerless.Types.UpdateNamespaceRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateNamespaceResponse) => void): Request; - /** - * Updates a namespace with the specified settings. - */ - updateNamespace(callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateNamespaceResponse) => void): Request; - /** - * Updates a snapshot. - */ - updateSnapshot(params: RedshiftServerless.Types.UpdateSnapshotRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateSnapshotResponse) => void): Request; - /** - * Updates a snapshot. - */ - updateSnapshot(callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateSnapshotResponse) => void): Request; - /** - * Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit. - */ - updateUsageLimit(params: RedshiftServerless.Types.UpdateUsageLimitRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateUsageLimitResponse) => void): Request; - /** - * Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit. - */ - updateUsageLimit(callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateUsageLimitResponse) => void): Request; - /** - * Updates a workgroup with the specified configuration settings. - */ - updateWorkgroup(params: RedshiftServerless.Types.UpdateWorkgroupRequest, callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateWorkgroupResponse) => void): Request; - /** - * Updates a workgroup with the specified configuration settings. - */ - updateWorkgroup(callback?: (err: AWSError, data: RedshiftServerless.Types.UpdateWorkgroupResponse) => void): Request; -} -declare namespace RedshiftServerless { - export type AccountIdList = String[]; - export type AmazonResourceName = string; - export type Boolean = boolean; - export interface ConfigParameter { - /** - * The key of the parameter. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time. - */ - parameterKey?: ParameterKey; - /** - * The value of the parameter to set. - */ - parameterValue?: ParameterValue; - } - export type ConfigParameterList = ConfigParameter[]; - export interface ConvertRecoveryPointToSnapshotRequest { - /** - * The unique identifier of the recovery point. - */ - recoveryPointId: String; - /** - * How long to retain the snapshot. - */ - retentionPeriod?: Integer; - /** - * The name of the snapshot. - */ - snapshotName: String; - } - export interface ConvertRecoveryPointToSnapshotResponse { - /** - * The snapshot converted from the recovery point. - */ - snapshot?: Snapshot; - } - export interface CreateEndpointAccessRequest { - /** - * The name of the VPC endpoint. An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen. - */ - endpointName: String; - /** - * The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint. - */ - subnetIds: SubnetIdList; - /** - * The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. - */ - vpcSecurityGroupIds?: VpcSecurityGroupIdList; - /** - * The name of the workgroup to associate with the VPC endpoint. - */ - workgroupName: String; - } - export interface CreateEndpointAccessResponse { - /** - * The created VPC endpoint. - */ - endpoint?: EndpointAccess; - } - export interface CreateNamespaceRequest { - /** - * The password of the administrator for the first database created in the namespace. - */ - adminUserPassword?: DbPassword; - /** - * The username of the administrator for the first database created in the namespace. - */ - adminUsername?: DbUser; - /** - * The name of the first database created in the namespace. - */ - dbName?: String; - /** - * The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. - */ - defaultIamRoleArn?: String; - /** - * A list of IAM roles to associate with the namespace. - */ - iamRoles?: IamRoleArnList; - /** - * The ID of the Amazon Web Services Key Management Service key used to encrypt your data. - */ - kmsKeyId?: String; - /** - * The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog. - */ - logExports?: LogExportList; - /** - * The name of the namespace. - */ - namespaceName: NamespaceName; - /** - * A list of tag instances. - */ - tags?: TagList; - } - export interface CreateNamespaceResponse { - /** - * The created namespace object. - */ - namespace?: Namespace; - } - export interface CreateSnapshotRequest { - /** - * The namespace to create a snapshot for. - */ - namespaceName: String; - /** - * How long to retain the created snapshot. - */ - retentionPeriod?: Integer; - /** - * The name of the snapshot. - */ - snapshotName: String; - } - export interface CreateSnapshotResponse { - /** - * The created snapshot object. - */ - snapshot?: Snapshot; - } - export interface CreateUsageLimitRequest { - /** - * The 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. - */ - amount: Long; - /** - * The action that Amazon Redshift Serverless takes when the limit is reached. The default is log. - */ - breachAction?: UsageLimitBreachAction; - /** - * The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly. - */ - period?: UsageLimitPeriod; - /** - * The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for. - */ - resourceArn: String; - /** - * The type of Amazon Redshift Serverless usage to create a usage limit for. - */ - usageType: UsageLimitUsageType; - } - export interface CreateUsageLimitResponse { - /** - * The returned usage limit object. - */ - usageLimit?: UsageLimit; - } - export interface CreateWorkgroupRequest { - /** - * The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs). - */ - baseCapacity?: Integer; - /** - * An array of parameters to set for more control over a serverless database. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time. - */ - configParameters?: ConfigParameterList; - /** - * 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 instead of over the internet. - */ - enhancedVpcRouting?: Boolean; - /** - * The name of the namespace to associate with the workgroup. - */ - namespaceName: NamespaceName; - /** - * A value that specifies whether the workgroup can be accessed from a public network. - */ - publiclyAccessible?: Boolean; - /** - * An array of security group IDs to associate with the workgroup. - */ - securityGroupIds?: SecurityGroupIdList; - /** - * An array of VPC subnet IDs to associate with the workgroup. - */ - subnetIds?: SubnetIdList; - /** - * A array of tag instances. - */ - tags?: TagList; - /** - * The name of the created workgroup. - */ - workgroupName: WorkgroupName; - } - export interface CreateWorkgroupResponse { - /** - * The created workgroup object. - */ - workgroup?: Workgroup; - } - export type DbName = string; - export type DbPassword = string; - export type DbUser = string; - export interface DeleteEndpointAccessRequest { - /** - * The name of the VPC endpoint to delete. - */ - endpointName: String; - } - export interface DeleteEndpointAccessResponse { - /** - * The deleted VPC endpoint. - */ - endpoint?: EndpointAccess; - } - export interface DeleteNamespaceRequest { - /** - * The name of the snapshot to be created before the namespace is deleted. - */ - finalSnapshotName?: String; - /** - * How long to retain the final snapshot. - */ - finalSnapshotRetentionPeriod?: Integer; - /** - * The name of the namespace to delete. - */ - namespaceName: NamespaceName; - } - export interface DeleteNamespaceResponse { - /** - * The deleted namespace object. - */ - namespace: Namespace; - } - export interface DeleteResourcePolicyRequest { - /** - * The Amazon Resource Name (ARN) of the policy to delete. - */ - resourceArn: String; - } - export interface DeleteResourcePolicyResponse { - } - export interface DeleteSnapshotRequest { - /** - * The name of the snapshot to be deleted. - */ - snapshotName: String; - } - export interface DeleteSnapshotResponse { - /** - * The deleted snapshot object. - */ - snapshot?: Snapshot; - } - export interface DeleteUsageLimitRequest { - /** - * The unique identifier of the usage limit to delete. - */ - usageLimitId: String; - } - export interface DeleteUsageLimitResponse { - /** - * The deleted usage limit object. - */ - usageLimit?: UsageLimit; - } - export interface DeleteWorkgroupRequest { - /** - * The name of the workgroup to be deleted. - */ - workgroupName: WorkgroupName; - } - export interface DeleteWorkgroupResponse { - /** - * The deleted workgroup object. - */ - workgroup: Workgroup; - } - export type Double = number; - export interface Endpoint { - /** - * The DNS address of the VPC endpoint. - */ - address?: String; - /** - * The port that Amazon Redshift Serverless listens on. - */ - port?: Integer; - /** - * An array of VpcEndpoint objects. - */ - vpcEndpoints?: VpcEndpointList; - } - export interface EndpointAccess { - /** - * The DNS address of the endpoint. - */ - address?: String; - /** - * The Amazon Resource Name (ARN) of the VPC endpoint. - */ - endpointArn?: String; - /** - * The time that the endpoint was created. - */ - endpointCreateTime?: SyntheticTimestamp_date_time; - /** - * The name of the VPC endpoint. - */ - endpointName?: String; - /** - * The status of the VPC endpoint. - */ - endpointStatus?: String; - /** - * The port number on which Amazon Redshift Serverless accepts incoming connections. - */ - port?: Integer; - /** - * The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint. - */ - subnetIds?: SubnetIdList; - /** - * The connection endpoint for connecting to Amazon Redshift Serverless. - */ - vpcEndpoint?: VpcEndpoint; - /** - * The security groups associated with the endpoint. - */ - vpcSecurityGroups?: VpcSecurityGroupMembershipList; - /** - * The name of the workgroup associated with the endpoint. - */ - workgroupName?: String; - } - export type EndpointAccessList = EndpointAccess[]; - export interface GetCredentialsRequest { - /** - * The name of the database to get temporary authorization to log on to. Constraints: Must be 1 to 64 alphanumeric characters or hyphens. Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen. The first character must be a letter. Must not contain a colon ( : ) or slash ( / ). Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide - */ - dbName?: DbName; - /** - * The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds. - */ - durationSeconds?: Integer; - /** - * The name of the workgroup associated with the database. - */ - workgroupName: WorkgroupName; - } - export interface GetCredentialsResponse { - /** - * A temporary password that authorizes the user name returned by DbUser to log on to the database DbName. - */ - dbPassword?: DbPassword; - /** - * A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database privileges as the the user named in DbUser. By default, the user is added to PUBLIC. - */ - dbUser?: DbUser; - /** - * The date and time the password in DbPassword expires. - */ - expiration?: Timestamp; - /** - * The date and time of when the DbUser and DbPassword authorization refreshes. - */ - nextRefreshTime?: Timestamp; - } - export interface GetEndpointAccessRequest { - /** - * The name of the VPC endpoint to return information for. - */ - endpointName: String; - } - export interface GetEndpointAccessResponse { - /** - * The returned VPC endpoint. - */ - endpoint?: EndpointAccess; - } - export interface GetNamespaceRequest { - /** - * The name of the namespace to retrieve information for. - */ - namespaceName: NamespaceName; - } - export interface GetNamespaceResponse { - /** - * The returned namespace object. - */ - namespace: Namespace; - } - export interface GetRecoveryPointRequest { - /** - * The unique identifier of the recovery point to return information for. - */ - recoveryPointId: String; - } - export interface GetRecoveryPointResponse { - /** - * The returned recovery point object. - */ - recoveryPoint?: RecoveryPoint; - } - export interface GetResourcePolicyRequest { - /** - * The Amazon Resource Name (ARN) of the resource to return. - */ - resourceArn: String; - } - export interface GetResourcePolicyResponse { - /** - * The returned resource policy. - */ - resourcePolicy?: ResourcePolicy; - } - export interface GetSnapshotRequest { - /** - * The owner Amazon Web Services account of a snapshot shared with another user. - */ - ownerAccount?: String; - /** - * The Amazon Resource Name (ARN) of the snapshot to return. - */ - snapshotArn?: String; - /** - * The name of the snapshot to return. - */ - snapshotName?: String; - } - export interface GetSnapshotResponse { - /** - * The returned snapshot object. - */ - snapshot?: Snapshot; - } - export interface GetUsageLimitRequest { - /** - * The unique identifier of the usage limit to return information for. - */ - usageLimitId: String; - } - export interface GetUsageLimitResponse { - /** - * The returned usage limit object. - */ - usageLimit?: UsageLimit; - } - export interface GetWorkgroupRequest { - /** - * The name of the workgroup to return information for. - */ - workgroupName: WorkgroupName; - } - export interface GetWorkgroupResponse { - /** - * The returned workgroup object. - */ - workgroup: Workgroup; - } - export type IamRoleArn = string; - export type IamRoleArnList = IamRoleArn[]; - export type Integer = number; - export type KmsKeyId = string; - export interface ListEndpointAccessRequest { - /** - * An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. - */ - maxResults?: ListEndpointAccessRequestMaxResultsInteger; - /** - * 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. - */ - nextToken?: String; - /** - * The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless. - */ - vpcId?: String; - /** - * The name of the workgroup associated with the VPC endpoint to return. - */ - workgroupName?: String; - } - export type ListEndpointAccessRequestMaxResultsInteger = number; - export interface ListEndpointAccessResponse { - /** - * The returned VPC endpoints. - */ - endpoints: EndpointAccessList; - /** - * When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. - */ - nextToken?: String; - } - export interface ListNamespacesRequest { - /** - * An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. - */ - maxResults?: ListNamespacesRequestMaxResultsInteger; - /** - * 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. - */ - nextToken?: String; - } - export type ListNamespacesRequestMaxResultsInteger = number; - export interface ListNamespacesResponse { - /** - * The list of returned namespaces. - */ - namespaces: NamespaceList; - /** - * When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. - */ - nextToken?: String; - } - export interface ListRecoveryPointsRequest { - /** - * The time when creation of the recovery point finished. - */ - endTime?: Timestamp; - /** - * An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. - */ - maxResults?: ListRecoveryPointsRequestMaxResultsInteger; - /** - * The name of the namespace to list recovery points for. - */ - namespaceName?: NamespaceName; - /** - * 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. - */ - nextToken?: String; - /** - * The time when the recovery point's creation was initiated. - */ - startTime?: Timestamp; - } - export type ListRecoveryPointsRequestMaxResultsInteger = number; - export interface ListRecoveryPointsResponse { - /** - * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. - */ - nextToken?: String; - /** - * The returned recovery point objects. - */ - recoveryPoints?: RecoveryPointList; - } - export interface ListSnapshotsRequest { - /** - * The timestamp showing when the snapshot creation finished. - */ - endTime?: Timestamp; - /** - * An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. - */ - maxResults?: ListSnapshotsRequestMaxResultsInteger; - /** - * The Amazon Resource Name (ARN) of the namespace from which to list all snapshots. - */ - namespaceArn?: String; - /** - * The namespace from which to list all snapshots. - */ - namespaceName?: String; - /** - * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. - */ - nextToken?: String; - /** - * The owner Amazon Web Services account of the snapshot. - */ - ownerAccount?: String; - /** - * The time when the creation of the snapshot was initiated. - */ - startTime?: Timestamp; - } - export type ListSnapshotsRequestMaxResultsInteger = number; - export interface ListSnapshotsResponse { - /** - * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. - */ - nextToken?: String; - /** - * All of the returned snapshot objects. - */ - snapshots?: SnapshotList; - } - export interface ListTagsForResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource to list tags for. - */ - resourceArn: AmazonResourceName; - } - export interface ListTagsForResourceResponse { - /** - * A map of the key-value pairs assigned to the resource. - */ - tags?: TagList; - } - export interface ListUsageLimitsRequest { - /** - * An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 100. - */ - maxResults?: ListUsageLimitsRequestMaxResultsInteger; - /** - * 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. - */ - nextToken?: PaginationToken; - /** - * The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list. - */ - resourceArn?: String; - /** - * The Amazon Redshift Serverless feature whose limits you want to see. - */ - usageType?: UsageLimitUsageType; - } - export type ListUsageLimitsRequestMaxResultsInteger = number; - export interface ListUsageLimitsResponse { - /** - * When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. - */ - nextToken?: PaginationToken; - /** - * An array of returned usage limit objects. - */ - usageLimits?: UsageLimits; - } - export interface ListWorkgroupsRequest { - /** - * An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. - */ - maxResults?: ListWorkgroupsRequestMaxResultsInteger; - /** - * 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. - */ - nextToken?: String; - } - export type ListWorkgroupsRequestMaxResultsInteger = number; - export interface ListWorkgroupsResponse { - /** - * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token. - */ - nextToken?: String; - /** - * The returned array of workgroups. - */ - workgroups: WorkgroupList; - } - export type LogExport = "useractivitylog"|"userlog"|"connectionlog"|string; - export type LogExportList = LogExport[]; - export type Long = number; - export interface Namespace { - /** - * The username of the administrator for the first database created in the namespace. - */ - adminUsername?: DbUser; - /** - * The date of when the namespace was created. - */ - creationDate?: SyntheticTimestamp_date_time; - /** - * The name of the first database created in the namespace. - */ - dbName?: String; - /** - * The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. - */ - defaultIamRoleArn?: String; - /** - * A list of IAM roles to associate with the namespace. - */ - iamRoles?: IamRoleArnList; - /** - * The ID of the Amazon Web Services Key Management Service key used to encrypt your data. - */ - kmsKeyId?: String; - /** - * The types of logs the namespace can export. Available export types are User log, Connection log, and User activity log. - */ - logExports?: LogExportList; - /** - * The Amazon Resource Name (ARN) associated with a namespace. - */ - namespaceArn?: String; - /** - * The unique identifier of a namespace. - */ - namespaceId?: String; - /** - * The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide. - */ - namespaceName?: NamespaceName; - /** - * The status of the namespace. - */ - status?: NamespaceStatus; - } - export type NamespaceList = Namespace[]; - export type NamespaceName = string; - export type NamespaceStatus = "AVAILABLE"|"MODIFYING"|"DELETING"|string; - export interface NetworkInterface { - /** - * The availability Zone. - */ - availabilityZone?: String; - /** - * The unique identifier of the network interface. - */ - networkInterfaceId?: String; - /** - * The IPv4 address of the network interface within the subnet. - */ - privateIpAddress?: String; - /** - * The unique identifier of the subnet. - */ - subnetId?: String; - } - export type NetworkInterfaceList = NetworkInterface[]; - export type PaginationToken = string; - export type ParameterKey = string; - export type ParameterValue = string; - export interface PutResourcePolicyRequest { - /** - * The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot. "{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}" - */ - policy: String; - /** - * The Amazon Resource Name (ARN) of the account to create or update a resource policy for. - */ - resourceArn: String; - } - export interface PutResourcePolicyResponse { - /** - * The policy that was created or updated. - */ - resourcePolicy?: ResourcePolicy; - } - export interface RecoveryPoint { - /** - * The name of the namespace the recovery point is associated with. - */ - namespaceName?: NamespaceName; - /** - * The time the recovery point is created. - */ - recoveryPointCreateTime?: SyntheticTimestamp_date_time; - /** - * The unique identifier of the recovery point. - */ - recoveryPointId?: String; - /** - * The total size of the data in the recovery point in megabytes. - */ - totalSizeInMegaBytes?: Double; - /** - * The name of the workgroup the recovery point is associated with. - */ - workgroupName?: WorkgroupName; - } - export type RecoveryPointList = RecoveryPoint[]; - export interface ResourcePolicy { - /** - * The resource policy. - */ - policy?: String; - /** - * The Amazon Resource Name (ARN) of the policy. - */ - resourceArn?: String; - } - export interface RestoreFromRecoveryPointRequest { - /** - * The name of the namespace to restore data into. - */ - namespaceName: NamespaceName; - /** - * The unique identifier of the recovery point to restore from. - */ - recoveryPointId: String; - /** - * The name of the workgroup used to restore data. - */ - workgroupName: WorkgroupName; - } - export interface RestoreFromRecoveryPointResponse { - /** - * The namespace that data was restored into. - */ - namespace?: Namespace; - /** - * The unique identifier of the recovery point used for the restore. - */ - recoveryPointId?: String; - } - export interface RestoreFromSnapshotRequest { - /** - * The name of the namespace to restore the snapshot to. - */ - namespaceName: NamespaceName; - /** - * The Amazon Web Services account that owns the snapshot. - */ - ownerAccount?: String; - /** - * The Amazon Resource Name (ARN) of the snapshot to restore from. - */ - snapshotArn?: String; - /** - * The name of the snapshot to restore from. - */ - snapshotName?: String; - /** - * The name of the workgroup used to restore the snapshot. - */ - workgroupName: WorkgroupName; - } - export interface RestoreFromSnapshotResponse { - namespace?: Namespace; - /** - * The owner Amazon Web Services; account of the snapshot that was restored. - */ - ownerAccount?: String; - /** - * The name of the snapshot used to restore the namespace. - */ - snapshotName?: String; - } - export type SecurityGroupId = string; - export type SecurityGroupIdList = SecurityGroupId[]; - export interface Snapshot { - /** - * All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster. - */ - accountsWithProvisionedRestoreAccess?: AccountIdList; - /** - * All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace. - */ - accountsWithRestoreAccess?: AccountIdList; - /** - * The size of the incremental backup in megabytes. - */ - actualIncrementalBackupSizeInMegaBytes?: Double; - /** - * The username of the database within a snapshot. - */ - adminUsername?: String; - /** - * The size in megabytes of the data that has been backed up to a snapshot. - */ - backupProgressInMegaBytes?: Double; - /** - * The rate at which data is backed up into a snapshot in megabytes per second. - */ - currentBackupRateInMegaBytesPerSecond?: Double; - /** - * The amount of time it took to back up data into a snapshot. - */ - elapsedTimeInSeconds?: Long; - /** - * The estimated amount of seconds until the snapshot completes backup. - */ - estimatedSecondsToCompletion?: Long; - /** - * The unique identifier of the KMS key used to encrypt the snapshot. - */ - kmsKeyId?: KmsKeyId; - /** - * The Amazon Resource Name (ARN) of the namespace the snapshot was created from. - */ - namespaceArn?: String; - /** - * The name of the namepsace. - */ - namespaceName?: String; - /** - * The owner Amazon Web Services; account of the snapshot. - */ - ownerAccount?: String; - /** - * The Amazon Resource Name (ARN) of the snapshot. - */ - snapshotArn?: String; - /** - * The timestamp of when the snapshot was created. - */ - snapshotCreateTime?: SyntheticTimestamp_date_time; - /** - * The name of the snapshot. - */ - snapshotName?: String; - /** - * The amount of days until the snapshot is deleted. - */ - snapshotRemainingDays?: Integer; - /** - * The period of time, in days, of how long the snapshot is retained. - */ - snapshotRetentionPeriod?: Integer; - /** - * The timestamp of when data within the snapshot started getting retained. - */ - snapshotRetentionStartTime?: SyntheticTimestamp_date_time; - /** - * The status of the snapshot. - */ - status?: SnapshotStatus; - /** - * The total size, in megabytes, of how big the snapshot is. - */ - totalBackupSizeInMegaBytes?: Double; - } - export type SnapshotList = Snapshot[]; - export type SnapshotStatus = "AVAILABLE"|"CREATING"|"DELETED"|"CANCELLED"|"FAILED"|"COPYING"|string; - export type String = string; - export type SubnetId = string; - export type SubnetIdList = SubnetId[]; - export type SyntheticTimestamp_date_time = Date; - export interface Tag { - /** - * The key to use in the tag. - */ - key: TagKey; - /** - * The value of the tag. - */ - value: TagValue; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagList = Tag[]; - export interface TagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource to tag. - */ - resourceArn: AmazonResourceName; - /** - * The map of the key-value pairs used to tag the resource. - */ - tags: TagList; - } - export interface TagResourceResponse { - } - export type TagValue = string; - export type Timestamp = Date; - export interface UntagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource to remove tags from. - */ - resourceArn: AmazonResourceName; - /** - * The tag or set of tags to remove from the resource. - */ - tagKeys: TagKeyList; - } - export interface UntagResourceResponse { - } - export interface UpdateEndpointAccessRequest { - /** - * The name of the VPC endpoint to update. - */ - endpointName: String; - /** - * The list of VPC security groups associated with the endpoint after the endpoint is modified. - */ - vpcSecurityGroupIds?: VpcSecurityGroupIdList; - } - export interface UpdateEndpointAccessResponse { - /** - * The updated VPC endpoint. - */ - endpoint?: EndpointAccess; - } - export interface UpdateNamespaceRequest { - /** - * The password of the administrator for the first database created in the namespace. - */ - adminUserPassword?: DbPassword; - /** - * The username of the administrator for the first database created in the namespace. - */ - adminUsername?: DbUser; - /** - * The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. - */ - defaultIamRoleArn?: String; - /** - * A list of IAM roles to associate with the namespace. - */ - iamRoles?: IamRoleArnList; - /** - * The ID of the Amazon Web Services Key Management Service key used to encrypt your data. - */ - kmsKeyId?: String; - /** - * The types of logs the namespace can export. The export types are userlog, connectionlog, and useractivitylog. - */ - logExports?: LogExportList; - /** - * The name of the namespace. - */ - namespaceName: NamespaceName; - } - export interface UpdateNamespaceResponse { - /** - * A list of tag instances. - */ - namespace: Namespace; - } - export interface UpdateSnapshotRequest { - /** - * The new retention period of the snapshot. - */ - retentionPeriod?: Integer; - /** - * The name of the snapshot. - */ - snapshotName: String; - } - export interface UpdateSnapshotResponse { - /** - * The updated snapshot object. - */ - snapshot?: Snapshot; - } - export interface UpdateUsageLimitRequest { - /** - * The new limit amount. For more information about this parameter. - */ - amount?: Long; - /** - * The new action that Amazon Redshift Serverless takes when the limit is reached. - */ - breachAction?: UsageLimitBreachAction; - /** - * The identifier of the usage limit to update. - */ - usageLimitId: String; - } - export interface UpdateUsageLimitResponse { - /** - * The updated usage limit object. - */ - usageLimit?: UsageLimit; - } - export interface UpdateWorkgroupRequest { - /** - * The new base data warehouse capacity in Redshift Processing Units (RPUs). - */ - baseCapacity?: Integer; - /** - * An array of parameters to set for advanced control over a database. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time. - */ - configParameters?: ConfigParameterList; - /** - * 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. - */ - enhancedVpcRouting?: Boolean; - /** - * A value that specifies whether the workgroup can be accessible from a public network. - */ - publiclyAccessible?: Boolean; - /** - * An array of security group IDs to associate with the workgroup. - */ - securityGroupIds?: SecurityGroupIdList; - /** - * An array of VPC subnet IDs to associate with the workgroup. - */ - subnetIds?: SubnetIdList; - /** - * The name of the workgroup to update. - */ - workgroupName: WorkgroupName; - } - export interface UpdateWorkgroupResponse { - /** - * The updated workgroup object. - */ - workgroup: Workgroup; - } - export interface UsageLimit { - /** - * The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number. - */ - amount?: Long; - /** - * The action that Amazon Redshift Serverless takes when the limit is reached. - */ - breachAction?: UsageLimitBreachAction; - /** - * The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly. - */ - period?: UsageLimitPeriod; - /** - * The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource. - */ - resourceArn?: String; - /** - * The Amazon Resource Name (ARN) of the resource associated with the usage limit. - */ - usageLimitArn?: String; - /** - * The identifier of the usage limit. - */ - usageLimitId?: String; - /** - * The Amazon Redshift Serverless feature to limit. - */ - usageType?: UsageLimitUsageType; - } - export type UsageLimitBreachAction = "log"|"emit-metric"|"deactivate"|string; - export type UsageLimitPeriod = "daily"|"weekly"|"monthly"|string; - export type UsageLimitUsageType = "serverless-compute"|"cross-region-datasharing"|string; - export type UsageLimits = UsageLimit[]; - export interface VpcEndpoint { - /** - * One or more network interfaces of the endpoint. Also known as an interface endpoint. - */ - networkInterfaces?: NetworkInterfaceList; - /** - * The connection endpoint ID for connecting to Amazon Redshift Serverless. - */ - vpcEndpointId?: String; - /** - * The VPC identifier that the endpoint is associated with. - */ - vpcId?: String; - } - export type VpcEndpointList = VpcEndpoint[]; - export type VpcSecurityGroupId = string; - export type VpcSecurityGroupIdList = VpcSecurityGroupId[]; - export interface VpcSecurityGroupMembership { - /** - * The status of the VPC security group. - */ - status?: String; - /** - * The unique identifier of the VPC security group. - */ - vpcSecurityGroupId?: VpcSecurityGroupId; - } - export type VpcSecurityGroupMembershipList = VpcSecurityGroupMembership[]; - export interface Workgroup { - /** - * The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs). - */ - baseCapacity?: Integer; - /** - * An array of parameters to set for finer control over a database. The options are datestyle, enable_user_activity_logging, query_group, search_path, and max_query_execution_time. - */ - configParameters?: ConfigParameterList; - /** - * The creation date of the workgroup. - */ - creationDate?: SyntheticTimestamp_date_time; - /** - * The endpoint that is created from the workgroup. - */ - endpoint?: Endpoint; - /** - * The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. - */ - enhancedVpcRouting?: Boolean; - /** - * The namespace the workgroup is associated with. - */ - namespaceName?: String; - /** - * A value that specifies whether the workgroup can be accessible from a public network - */ - publiclyAccessible?: Boolean; - /** - * An array of security group IDs to associate with the workgroup. - */ - securityGroupIds?: SecurityGroupIdList; - /** - * The status of the workgroup. - */ - status?: WorkgroupStatus; - /** - * An array of subnet IDs the workgroup is associated with. - */ - subnetIds?: SubnetIdList; - /** - * The Amazon Resource Name (ARN) that links to the workgroup. - */ - workgroupArn?: String; - /** - * The unique identifier of the workgroup. - */ - workgroupId?: String; - /** - * The name of the workgroup. - */ - workgroupName?: WorkgroupName; - } - export type WorkgroupList = Workgroup[]; - export type WorkgroupName = string; - export type WorkgroupStatus = "CREATING"|"AVAILABLE"|"MODIFYING"|"DELETING"|string; - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2021-04-21"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the RedshiftServerless client. - */ - export import Types = RedshiftServerless; -} -export = RedshiftServerless; diff --git a/clients/redshiftserverless.js b/clients/redshiftserverless.js deleted file mode 100644 index 143e7563ca..0000000000 --- a/clients/redshiftserverless.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['redshiftserverless'] = {}; -AWS.RedshiftServerless = Service.defineService('redshiftserverless', ['2021-04-21']); -Object.defineProperty(apiLoader.services['redshiftserverless'], '2021-04-21', { - get: function get() { - var model = require('../apis/redshiftserverless-2021-04-21.min.json'); - model.paginators = require('../apis/redshiftserverless-2021-04-21.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RedshiftServerless; diff --git a/lib/config_service_placeholders.d.ts b/lib/config_service_placeholders.d.ts index 34949dd5e4..1f0d3407a4 100644 --- a/lib/config_service_placeholders.d.ts +++ b/lib/config_service_placeholders.d.ts @@ -308,7 +308,6 @@ export abstract class ConfigurationServicePlaceholders { chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.ClientConfiguration; emrserverless?: AWS.EMRServerless.Types.ClientConfiguration; m2?: AWS.M2.Types.ClientConfiguration; - redshiftserverless?: AWS.RedshiftServerless.Types.ClientConfiguration; connectcampaigns?: AWS.ConnectCampaigns.Types.ClientConfiguration; } export interface ConfigurationServiceApiVersions { @@ -620,6 +619,5 @@ export interface ConfigurationServiceApiVersions { chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.apiVersion; emrserverless?: AWS.EMRServerless.Types.apiVersion; m2?: AWS.M2.Types.apiVersion; - redshiftserverless?: AWS.RedshiftServerless.Types.apiVersion; connectcampaigns?: AWS.ConnectCampaigns.Types.apiVersion; }