@aws-sdk/client-redshift-serverless 3.325.0 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +31 -0
  2. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +35 -0
  3. package/dist-types/commands/CreateNamespaceCommand.d.ts +22 -0
  4. package/dist-types/commands/CreateSnapshotCommand.d.ts +31 -0
  5. package/dist-types/commands/CreateUsageLimitCommand.d.ts +14 -0
  6. package/dist-types/commands/CreateWorkgroupCommand.d.ts +47 -0
  7. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +35 -0
  8. package/dist-types/commands/DeleteNamespaceCommand.d.ts +22 -0
  9. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteSnapshotCommand.d.ts +31 -0
  11. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +14 -0
  12. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +47 -0
  13. package/dist-types/commands/GetCredentialsCommand.d.ts +9 -0
  14. package/dist-types/commands/GetEndpointAccessCommand.d.ts +35 -0
  15. package/dist-types/commands/GetNamespaceCommand.d.ts +22 -0
  16. package/dist-types/commands/GetRecoveryPointCommand.d.ts +13 -0
  17. package/dist-types/commands/GetResourcePolicyCommand.d.ts +9 -0
  18. package/dist-types/commands/GetSnapshotCommand.d.ts +31 -0
  19. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +22 -0
  20. package/dist-types/commands/GetUsageLimitCommand.d.ts +14 -0
  21. package/dist-types/commands/GetWorkgroupCommand.d.ts +47 -0
  22. package/dist-types/commands/ListEndpointAccessCommand.d.ts +38 -0
  23. package/dist-types/commands/ListNamespacesCommand.d.ts +25 -0
  24. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +16 -0
  25. package/dist-types/commands/ListSnapshotsCommand.d.ts +34 -0
  26. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +25 -0
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  28. package/dist-types/commands/ListUsageLimitsCommand.d.ts +17 -0
  29. package/dist-types/commands/ListWorkgroupsCommand.d.ts +50 -0
  30. package/dist-types/commands/PutResourcePolicyCommand.d.ts +9 -0
  31. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +23 -0
  32. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +24 -0
  33. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +22 -0
  34. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  35. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  36. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +35 -0
  37. package/dist-types/commands/UpdateNamespaceCommand.d.ts +22 -0
  38. package/dist-types/commands/UpdateSnapshotCommand.d.ts +31 -0
  39. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +14 -0
  40. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +47 -0
  41. package/package.json +3 -3
@@ -31,6 +31,13 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
31
31
  * };
32
32
  * const command = new GetResourcePolicyCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetResourcePolicyResponse
35
+ * // resourcePolicy: { // ResourcePolicy
36
+ * // resourceArn: "STRING_VALUE",
37
+ * // policy: "STRING_VALUE",
38
+ * // },
39
+ * // };
40
+ *
34
41
  * ```
35
42
  *
36
43
  * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
@@ -48,6 +55,8 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
48
55
  * @throws {@link ValidationException} (client fault)
49
56
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
50
57
  *
58
+ * @throws {@link RedshiftServerlessServiceException}
59
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
51
60
  *
52
61
  */
53
62
  export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -33,6 +33,35 @@ export interface GetSnapshotCommandOutput extends GetSnapshotResponse, __Metadat
33
33
  * };
34
34
  * const command = new GetSnapshotCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetSnapshotResponse
37
+ * // snapshot: { // Snapshot
38
+ * // namespaceName: "STRING_VALUE",
39
+ * // namespaceArn: "STRING_VALUE",
40
+ * // snapshotName: "STRING_VALUE",
41
+ * // snapshotCreateTime: new Date("TIMESTAMP"),
42
+ * // adminUsername: "STRING_VALUE",
43
+ * // status: "STRING_VALUE",
44
+ * // kmsKeyId: "STRING_VALUE",
45
+ * // ownerAccount: "STRING_VALUE",
46
+ * // totalBackupSizeInMegaBytes: Number("double"),
47
+ * // actualIncrementalBackupSizeInMegaBytes: Number("double"),
48
+ * // backupProgressInMegaBytes: Number("double"),
49
+ * // currentBackupRateInMegaBytesPerSecond: Number("double"),
50
+ * // estimatedSecondsToCompletion: Number("long"),
51
+ * // elapsedTimeInSeconds: Number("long"),
52
+ * // snapshotRetentionPeriod: Number("int"),
53
+ * // snapshotRemainingDays: Number("int"),
54
+ * // snapshotRetentionStartTime: new Date("TIMESTAMP"),
55
+ * // snapshotArn: "STRING_VALUE",
56
+ * // accountsWithRestoreAccess: [ // AccountIdList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // accountsWithProvisionedRestoreAccess: [
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // },
63
+ * // };
64
+ *
36
65
  * ```
37
66
  *
38
67
  * @param GetSnapshotCommandInput - {@link GetSnapshotCommandInput}
@@ -50,6 +79,8 @@ export interface GetSnapshotCommandOutput extends GetSnapshotResponse, __Metadat
50
79
  * @throws {@link ValidationException} (client fault)
51
80
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
52
81
  *
82
+ * @throws {@link RedshiftServerlessServiceException}
83
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
53
84
  *
54
85
  */
55
86
  export declare class GetSnapshotCommand extends $Command<GetSnapshotCommandInput, GetSnapshotCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -31,6 +31,26 @@ export interface GetTableRestoreStatusCommandOutput extends GetTableRestoreStatu
31
31
  * };
32
32
  * const command = new GetTableRestoreStatusCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetTableRestoreStatusResponse
35
+ * // tableRestoreStatus: { // TableRestoreStatus
36
+ * // tableRestoreRequestId: "STRING_VALUE",
37
+ * // status: "STRING_VALUE",
38
+ * // message: "STRING_VALUE",
39
+ * // requestTime: new Date("TIMESTAMP"),
40
+ * // namespaceName: "STRING_VALUE",
41
+ * // workgroupName: "STRING_VALUE",
42
+ * // snapshotName: "STRING_VALUE",
43
+ * // progressInMegaBytes: Number("long"),
44
+ * // totalDataInMegaBytes: Number("long"),
45
+ * // sourceDatabaseName: "STRING_VALUE",
46
+ * // sourceSchemaName: "STRING_VALUE",
47
+ * // sourceTableName: "STRING_VALUE",
48
+ * // targetDatabaseName: "STRING_VALUE",
49
+ * // targetSchemaName: "STRING_VALUE",
50
+ * // newTableName: "STRING_VALUE",
51
+ * // },
52
+ * // };
53
+ *
34
54
  * ```
35
55
  *
36
56
  * @param GetTableRestoreStatusCommandInput - {@link GetTableRestoreStatusCommandInput}
@@ -45,6 +65,8 @@ export interface GetTableRestoreStatusCommandOutput extends GetTableRestoreStatu
45
65
  * @throws {@link ValidationException} (client fault)
46
66
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
47
67
  *
68
+ * @throws {@link RedshiftServerlessServiceException}
69
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
48
70
  *
49
71
  */
50
72
  export declare class GetTableRestoreStatusCommand extends $Command<GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -31,6 +31,18 @@ export interface GetUsageLimitCommandOutput extends GetUsageLimitResponse, __Met
31
31
  * };
32
32
  * const command = new GetUsageLimitCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetUsageLimitResponse
35
+ * // usageLimit: { // UsageLimit
36
+ * // usageLimitId: "STRING_VALUE",
37
+ * // usageLimitArn: "STRING_VALUE",
38
+ * // resourceArn: "STRING_VALUE",
39
+ * // usageType: "STRING_VALUE",
40
+ * // amount: Number("long"),
41
+ * // period: "STRING_VALUE",
42
+ * // breachAction: "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
34
46
  * ```
35
47
  *
36
48
  * @param GetUsageLimitCommandInput - {@link GetUsageLimitCommandInput}
@@ -51,6 +63,8 @@ export interface GetUsageLimitCommandOutput extends GetUsageLimitResponse, __Met
51
63
  * @throws {@link ValidationException} (client fault)
52
64
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
53
65
  *
66
+ * @throws {@link RedshiftServerlessServiceException}
67
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
54
68
  *
55
69
  */
56
70
  export declare class GetUsageLimitCommand extends $Command<GetUsageLimitCommandInput, GetUsageLimitCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -31,6 +31,51 @@ export interface GetWorkgroupCommandOutput extends GetWorkgroupResponse, __Metad
31
31
  * };
32
32
  * const command = new GetWorkgroupCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetWorkgroupResponse
35
+ * // workgroup: { // Workgroup
36
+ * // workgroupId: "STRING_VALUE",
37
+ * // workgroupArn: "STRING_VALUE",
38
+ * // workgroupName: "STRING_VALUE",
39
+ * // namespaceName: "STRING_VALUE",
40
+ * // baseCapacity: Number("int"),
41
+ * // enhancedVpcRouting: true || false,
42
+ * // configParameters: [ // ConfigParameterList
43
+ * // { // ConfigParameter
44
+ * // parameterKey: "STRING_VALUE",
45
+ * // parameterValue: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // securityGroupIds: [ // SecurityGroupIdList
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // subnetIds: [ // SubnetIdList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // status: "STRING_VALUE",
55
+ * // endpoint: { // Endpoint
56
+ * // address: "STRING_VALUE",
57
+ * // port: Number("int"),
58
+ * // vpcEndpoints: [ // VpcEndpointList
59
+ * // { // VpcEndpoint
60
+ * // vpcEndpointId: "STRING_VALUE",
61
+ * // vpcId: "STRING_VALUE",
62
+ * // networkInterfaces: [ // NetworkInterfaceList
63
+ * // { // NetworkInterface
64
+ * // networkInterfaceId: "STRING_VALUE",
65
+ * // subnetId: "STRING_VALUE",
66
+ * // privateIpAddress: "STRING_VALUE",
67
+ * // availabilityZone: "STRING_VALUE",
68
+ * // },
69
+ * // ],
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // publiclyAccessible: true || false,
74
+ * // creationDate: new Date("TIMESTAMP"),
75
+ * // port: Number("int"),
76
+ * // },
77
+ * // };
78
+ *
34
79
  * ```
35
80
  *
36
81
  * @param GetWorkgroupCommandInput - {@link GetWorkgroupCommandInput}
@@ -48,6 +93,8 @@ export interface GetWorkgroupCommandOutput extends GetWorkgroupResponse, __Metad
48
93
  * @throws {@link ValidationException} (client fault)
49
94
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
50
95
  *
96
+ * @throws {@link RedshiftServerlessServiceException}
97
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
51
98
  *
52
99
  */
53
100
  export declare class GetWorkgroupCommand extends $Command<GetWorkgroupCommandInput, GetWorkgroupCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -34,6 +34,42 @@ export interface ListEndpointAccessCommandOutput extends ListEndpointAccessRespo
34
34
  * };
35
35
  * const command = new ListEndpointAccessCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListEndpointAccessResponse
38
+ * // nextToken: "STRING_VALUE",
39
+ * // endpoints: [ // EndpointAccessList // required
40
+ * // { // EndpointAccess
41
+ * // endpointName: "STRING_VALUE",
42
+ * // endpointStatus: "STRING_VALUE",
43
+ * // workgroupName: "STRING_VALUE",
44
+ * // endpointCreateTime: new Date("TIMESTAMP"),
45
+ * // port: Number("int"),
46
+ * // address: "STRING_VALUE",
47
+ * // subnetIds: [ // SubnetIdList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // vpcSecurityGroups: [ // VpcSecurityGroupMembershipList
51
+ * // { // VpcSecurityGroupMembership
52
+ * // vpcSecurityGroupId: "STRING_VALUE",
53
+ * // status: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // vpcEndpoint: { // VpcEndpoint
57
+ * // vpcEndpointId: "STRING_VALUE",
58
+ * // vpcId: "STRING_VALUE",
59
+ * // networkInterfaces: [ // NetworkInterfaceList
60
+ * // { // NetworkInterface
61
+ * // networkInterfaceId: "STRING_VALUE",
62
+ * // subnetId: "STRING_VALUE",
63
+ * // privateIpAddress: "STRING_VALUE",
64
+ * // availabilityZone: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // endpointArn: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // };
72
+ *
37
73
  * ```
38
74
  *
39
75
  * @param ListEndpointAccessCommandInput - {@link ListEndpointAccessCommandInput}
@@ -54,6 +90,8 @@ export interface ListEndpointAccessCommandOutput extends ListEndpointAccessRespo
54
90
  * @throws {@link ValidationException} (client fault)
55
91
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
56
92
  *
93
+ * @throws {@link RedshiftServerlessServiceException}
94
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
57
95
  *
58
96
  */
59
97
  export declare class ListEndpointAccessCommand extends $Command<ListEndpointAccessCommandInput, ListEndpointAccessCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -32,6 +32,29 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
32
32
  * };
33
33
  * const command = new ListNamespacesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListNamespacesResponse
36
+ * // nextToken: "STRING_VALUE",
37
+ * // namespaces: [ // NamespaceList // required
38
+ * // { // Namespace
39
+ * // namespaceArn: "STRING_VALUE",
40
+ * // namespaceId: "STRING_VALUE",
41
+ * // namespaceName: "STRING_VALUE",
42
+ * // adminUsername: "STRING_VALUE",
43
+ * // dbName: "STRING_VALUE",
44
+ * // kmsKeyId: "STRING_VALUE",
45
+ * // defaultIamRoleArn: "STRING_VALUE",
46
+ * // iamRoles: [ // IamRoleArnList
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // logExports: [ // LogExportList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // status: "STRING_VALUE",
53
+ * // creationDate: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
35
58
  * ```
36
59
  *
37
60
  * @param ListNamespacesCommandInput - {@link ListNamespacesCommandInput}
@@ -46,6 +69,8 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
46
69
  * @throws {@link ValidationException} (client fault)
47
70
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
48
71
  *
72
+ * @throws {@link RedshiftServerlessServiceException}
73
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
49
74
  *
50
75
  */
51
76
  export declare class ListNamespacesCommand extends $Command<ListNamespacesCommandInput, ListNamespacesCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -36,6 +36,20 @@ export interface ListRecoveryPointsCommandOutput extends ListRecoveryPointsRespo
36
36
  * };
37
37
  * const command = new ListRecoveryPointsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListRecoveryPointsResponse
40
+ * // recoveryPoints: [ // RecoveryPointList
41
+ * // { // RecoveryPoint
42
+ * // recoveryPointId: "STRING_VALUE",
43
+ * // recoveryPointCreateTime: new Date("TIMESTAMP"),
44
+ * // totalSizeInMegaBytes: Number("double"),
45
+ * // namespaceName: "STRING_VALUE",
46
+ * // workgroupName: "STRING_VALUE",
47
+ * // namespaceArn: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
39
53
  * ```
40
54
  *
41
55
  * @param ListRecoveryPointsCommandInput - {@link ListRecoveryPointsCommandInput}
@@ -50,6 +64,8 @@ export interface ListRecoveryPointsCommandOutput extends ListRecoveryPointsRespo
50
64
  * @throws {@link ValidationException} (client fault)
51
65
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
52
66
  *
67
+ * @throws {@link RedshiftServerlessServiceException}
68
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
53
69
  *
54
70
  */
55
71
  export declare class ListRecoveryPointsCommand extends $Command<ListRecoveryPointsCommandInput, ListRecoveryPointsCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -37,6 +37,38 @@ export interface ListSnapshotsCommandOutput extends ListSnapshotsResponse, __Met
37
37
  * };
38
38
  * const command = new ListSnapshotsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListSnapshotsResponse
41
+ * // nextToken: "STRING_VALUE",
42
+ * // snapshots: [ // SnapshotList
43
+ * // { // Snapshot
44
+ * // namespaceName: "STRING_VALUE",
45
+ * // namespaceArn: "STRING_VALUE",
46
+ * // snapshotName: "STRING_VALUE",
47
+ * // snapshotCreateTime: new Date("TIMESTAMP"),
48
+ * // adminUsername: "STRING_VALUE",
49
+ * // status: "STRING_VALUE",
50
+ * // kmsKeyId: "STRING_VALUE",
51
+ * // ownerAccount: "STRING_VALUE",
52
+ * // totalBackupSizeInMegaBytes: Number("double"),
53
+ * // actualIncrementalBackupSizeInMegaBytes: Number("double"),
54
+ * // backupProgressInMegaBytes: Number("double"),
55
+ * // currentBackupRateInMegaBytesPerSecond: Number("double"),
56
+ * // estimatedSecondsToCompletion: Number("long"),
57
+ * // elapsedTimeInSeconds: Number("long"),
58
+ * // snapshotRetentionPeriod: Number("int"),
59
+ * // snapshotRemainingDays: Number("int"),
60
+ * // snapshotRetentionStartTime: new Date("TIMESTAMP"),
61
+ * // snapshotArn: "STRING_VALUE",
62
+ * // accountsWithRestoreAccess: [ // AccountIdList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // accountsWithProvisionedRestoreAccess: [
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // },
69
+ * // ],
70
+ * // };
71
+ *
40
72
  * ```
41
73
  *
42
74
  * @param ListSnapshotsCommandInput - {@link ListSnapshotsCommandInput}
@@ -54,6 +86,8 @@ export interface ListSnapshotsCommandOutput extends ListSnapshotsResponse, __Met
54
86
  * @throws {@link ValidationException} (client fault)
55
87
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
56
88
  *
89
+ * @throws {@link RedshiftServerlessServiceException}
90
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
57
91
  *
58
92
  */
59
93
  export declare class ListSnapshotsCommand extends $Command<ListSnapshotsCommandInput, ListSnapshotsCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -34,6 +34,29 @@ export interface ListTableRestoreStatusCommandOutput extends ListTableRestoreSta
34
34
  * };
35
35
  * const command = new ListTableRestoreStatusCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListTableRestoreStatusResponse
38
+ * // nextToken: "STRING_VALUE",
39
+ * // tableRestoreStatuses: [ // TableRestoreStatusList
40
+ * // { // TableRestoreStatus
41
+ * // tableRestoreRequestId: "STRING_VALUE",
42
+ * // status: "STRING_VALUE",
43
+ * // message: "STRING_VALUE",
44
+ * // requestTime: new Date("TIMESTAMP"),
45
+ * // namespaceName: "STRING_VALUE",
46
+ * // workgroupName: "STRING_VALUE",
47
+ * // snapshotName: "STRING_VALUE",
48
+ * // progressInMegaBytes: Number("long"),
49
+ * // totalDataInMegaBytes: Number("long"),
50
+ * // sourceDatabaseName: "STRING_VALUE",
51
+ * // sourceSchemaName: "STRING_VALUE",
52
+ * // sourceTableName: "STRING_VALUE",
53
+ * // targetDatabaseName: "STRING_VALUE",
54
+ * // targetSchemaName: "STRING_VALUE",
55
+ * // newTableName: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
37
60
  * ```
38
61
  *
39
62
  * @param ListTableRestoreStatusCommandInput - {@link ListTableRestoreStatusCommandInput}
@@ -51,6 +74,8 @@ export interface ListTableRestoreStatusCommandOutput extends ListTableRestoreSta
51
74
  * @throws {@link ValidationException} (client fault)
52
75
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
53
76
  *
77
+ * @throws {@link RedshiftServerlessServiceException}
78
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
54
79
  *
55
80
  */
56
81
  export declare class ListTableRestoreStatusCommand extends $Command<ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // tags: [ // TagList
36
+ * // { // Tag
37
+ * // key: "STRING_VALUE", // required
38
+ * // value: "STRING_VALUE", // required
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -51,6 +60,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
51
60
  * @throws {@link ValidationException} (client fault)
52
61
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
53
62
  *
63
+ * @throws {@link RedshiftServerlessServiceException}
64
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
54
65
  *
55
66
  */
56
67
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -34,6 +34,21 @@ export interface ListUsageLimitsCommandOutput extends ListUsageLimitsResponse, _
34
34
  * };
35
35
  * const command = new ListUsageLimitsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListUsageLimitsResponse
38
+ * // usageLimits: [ // UsageLimits
39
+ * // { // UsageLimit
40
+ * // usageLimitId: "STRING_VALUE",
41
+ * // usageLimitArn: "STRING_VALUE",
42
+ * // resourceArn: "STRING_VALUE",
43
+ * // usageType: "STRING_VALUE",
44
+ * // amount: Number("long"),
45
+ * // period: "STRING_VALUE",
46
+ * // breachAction: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // nextToken: "STRING_VALUE",
50
+ * // };
51
+ *
37
52
  * ```
38
53
  *
39
54
  * @param ListUsageLimitsCommandInput - {@link ListUsageLimitsCommandInput}
@@ -57,6 +72,8 @@ export interface ListUsageLimitsCommandOutput extends ListUsageLimitsResponse, _
57
72
  * @throws {@link ValidationException} (client fault)
58
73
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
59
74
  *
75
+ * @throws {@link RedshiftServerlessServiceException}
76
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
60
77
  *
61
78
  */
62
79
  export declare class ListUsageLimitsCommand extends $Command<ListUsageLimitsCommandInput, ListUsageLimitsCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -32,6 +32,54 @@ export interface ListWorkgroupsCommandOutput extends ListWorkgroupsResponse, __M
32
32
  * };
33
33
  * const command = new ListWorkgroupsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListWorkgroupsResponse
36
+ * // nextToken: "STRING_VALUE",
37
+ * // workgroups: [ // WorkgroupList // required
38
+ * // { // Workgroup
39
+ * // workgroupId: "STRING_VALUE",
40
+ * // workgroupArn: "STRING_VALUE",
41
+ * // workgroupName: "STRING_VALUE",
42
+ * // namespaceName: "STRING_VALUE",
43
+ * // baseCapacity: Number("int"),
44
+ * // enhancedVpcRouting: true || false,
45
+ * // configParameters: [ // ConfigParameterList
46
+ * // { // ConfigParameter
47
+ * // parameterKey: "STRING_VALUE",
48
+ * // parameterValue: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // securityGroupIds: [ // SecurityGroupIdList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // subnetIds: [ // SubnetIdList
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // status: "STRING_VALUE",
58
+ * // endpoint: { // Endpoint
59
+ * // address: "STRING_VALUE",
60
+ * // port: Number("int"),
61
+ * // vpcEndpoints: [ // VpcEndpointList
62
+ * // { // VpcEndpoint
63
+ * // vpcEndpointId: "STRING_VALUE",
64
+ * // vpcId: "STRING_VALUE",
65
+ * // networkInterfaces: [ // NetworkInterfaceList
66
+ * // { // NetworkInterface
67
+ * // networkInterfaceId: "STRING_VALUE",
68
+ * // subnetId: "STRING_VALUE",
69
+ * // privateIpAddress: "STRING_VALUE",
70
+ * // availabilityZone: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // ],
75
+ * // },
76
+ * // publiclyAccessible: true || false,
77
+ * // creationDate: new Date("TIMESTAMP"),
78
+ * // port: Number("int"),
79
+ * // },
80
+ * // ],
81
+ * // };
82
+ *
35
83
  * ```
36
84
  *
37
85
  * @param ListWorkgroupsCommandInput - {@link ListWorkgroupsCommandInput}
@@ -46,6 +94,8 @@ export interface ListWorkgroupsCommandOutput extends ListWorkgroupsResponse, __M
46
94
  * @throws {@link ValidationException} (client fault)
47
95
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
48
96
  *
97
+ * @throws {@link RedshiftServerlessServiceException}
98
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
49
99
  *
50
100
  */
51
101
  export declare class ListWorkgroupsCommand extends $Command<ListWorkgroupsCommandInput, ListWorkgroupsCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -32,6 +32,13 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
32
32
  * };
33
33
  * const command = new PutResourcePolicyCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // PutResourcePolicyResponse
36
+ * // resourcePolicy: { // ResourcePolicy
37
+ * // resourceArn: "STRING_VALUE",
38
+ * // policy: "STRING_VALUE",
39
+ * // },
40
+ * // };
41
+ *
35
42
  * ```
36
43
  *
37
44
  * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
@@ -55,6 +62,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
55
62
  * @throws {@link ValidationException} (client fault)
56
63
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
57
64
  *
65
+ * @throws {@link RedshiftServerlessServiceException}
66
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
58
67
  *
59
68
  */
60
69
  export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -33,6 +33,27 @@ export interface RestoreFromRecoveryPointCommandOutput extends RestoreFromRecove
33
33
  * };
34
34
  * const command = new RestoreFromRecoveryPointCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // RestoreFromRecoveryPointResponse
37
+ * // recoveryPointId: "STRING_VALUE",
38
+ * // namespace: { // Namespace
39
+ * // namespaceArn: "STRING_VALUE",
40
+ * // namespaceId: "STRING_VALUE",
41
+ * // namespaceName: "STRING_VALUE",
42
+ * // adminUsername: "STRING_VALUE",
43
+ * // dbName: "STRING_VALUE",
44
+ * // kmsKeyId: "STRING_VALUE",
45
+ * // defaultIamRoleArn: "STRING_VALUE",
46
+ * // iamRoles: [ // IamRoleArnList
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // logExports: [ // LogExportList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // status: "STRING_VALUE",
53
+ * // creationDate: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // };
56
+ *
36
57
  * ```
37
58
  *
38
59
  * @param RestoreFromRecoveryPointCommandInput - {@link RestoreFromRecoveryPointCommandInput}
@@ -53,6 +74,8 @@ export interface RestoreFromRecoveryPointCommandOutput extends RestoreFromRecove
53
74
  * @throws {@link ValidationException} (client fault)
54
75
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
55
76
  *
77
+ * @throws {@link RedshiftServerlessServiceException}
78
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
56
79
  *
57
80
  */
58
81
  export declare class RestoreFromRecoveryPointCommand extends $Command<RestoreFromRecoveryPointCommandInput, RestoreFromRecoveryPointCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -35,6 +35,28 @@ export interface RestoreFromSnapshotCommandOutput extends RestoreFromSnapshotRes
35
35
  * };
36
36
  * const command = new RestoreFromSnapshotCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // RestoreFromSnapshotResponse
39
+ * // snapshotName: "STRING_VALUE",
40
+ * // ownerAccount: "STRING_VALUE",
41
+ * // namespace: { // Namespace
42
+ * // namespaceArn: "STRING_VALUE",
43
+ * // namespaceId: "STRING_VALUE",
44
+ * // namespaceName: "STRING_VALUE",
45
+ * // adminUsername: "STRING_VALUE",
46
+ * // dbName: "STRING_VALUE",
47
+ * // kmsKeyId: "STRING_VALUE",
48
+ * // defaultIamRoleArn: "STRING_VALUE",
49
+ * // iamRoles: [ // IamRoleArnList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // logExports: [ // LogExportList
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // status: "STRING_VALUE",
56
+ * // creationDate: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // };
59
+ *
38
60
  * ```
39
61
  *
40
62
  * @param RestoreFromSnapshotCommandInput - {@link RestoreFromSnapshotCommandInput}
@@ -58,6 +80,8 @@ export interface RestoreFromSnapshotCommandOutput extends RestoreFromSnapshotRes
58
80
  * @throws {@link ValidationException} (client fault)
59
81
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
60
82
  *
83
+ * @throws {@link RedshiftServerlessServiceException}
84
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
61
85
  *
62
86
  */
63
87
  export declare class RestoreFromSnapshotCommand extends $Command<RestoreFromSnapshotCommandInput, RestoreFromSnapshotCommandOutput, RedshiftServerlessClientResolvedConfig> {
@@ -41,6 +41,26 @@ export interface RestoreTableFromSnapshotCommandOutput extends RestoreTableFromS
41
41
  * };
42
42
  * const command = new RestoreTableFromSnapshotCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // RestoreTableFromSnapshotResponse
45
+ * // tableRestoreStatus: { // TableRestoreStatus
46
+ * // tableRestoreRequestId: "STRING_VALUE",
47
+ * // status: "STRING_VALUE",
48
+ * // message: "STRING_VALUE",
49
+ * // requestTime: new Date("TIMESTAMP"),
50
+ * // namespaceName: "STRING_VALUE",
51
+ * // workgroupName: "STRING_VALUE",
52
+ * // snapshotName: "STRING_VALUE",
53
+ * // progressInMegaBytes: Number("long"),
54
+ * // totalDataInMegaBytes: Number("long"),
55
+ * // sourceDatabaseName: "STRING_VALUE",
56
+ * // sourceSchemaName: "STRING_VALUE",
57
+ * // sourceTableName: "STRING_VALUE",
58
+ * // targetDatabaseName: "STRING_VALUE",
59
+ * // targetSchemaName: "STRING_VALUE",
60
+ * // newTableName: "STRING_VALUE",
61
+ * // },
62
+ * // };
63
+ *
44
64
  * ```
45
65
  *
46
66
  * @param RestoreTableFromSnapshotCommandInput - {@link RestoreTableFromSnapshotCommandInput}
@@ -61,6 +81,8 @@ export interface RestoreTableFromSnapshotCommandOutput extends RestoreTableFromS
61
81
  * @throws {@link ValidationException} (client fault)
62
82
  * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
63
83
  *
84
+ * @throws {@link RedshiftServerlessServiceException}
85
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
64
86
  *
65
87
  */
66
88
  export declare class RestoreTableFromSnapshotCommand extends $Command<RestoreTableFromSnapshotCommandInput, RestoreTableFromSnapshotCommandOutput, RedshiftServerlessClientResolvedConfig> {