@aws-sdk/client-redshift-serverless 3.299.0 → 3.301.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 +11 -0
  2. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +10 -0
  3. package/dist-types/commands/CreateNamespaceCommand.d.ts +20 -0
  4. package/dist-types/commands/CreateSnapshotCommand.d.ts +11 -0
  5. package/dist-types/commands/CreateUsageLimitCommand.d.ts +7 -0
  6. package/dist-types/commands/CreateWorkgroupCommand.d.ts +26 -0
  7. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteNamespaceCommand.d.ts +5 -0
  9. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteSnapshotCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -0
  13. package/dist-types/commands/GetCredentialsCommand.d.ts +5 -0
  14. package/dist-types/commands/GetEndpointAccessCommand.d.ts +3 -0
  15. package/dist-types/commands/GetNamespaceCommand.d.ts +3 -0
  16. package/dist-types/commands/GetRecoveryPointCommand.d.ts +3 -0
  17. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -0
  18. package/dist-types/commands/GetSnapshotCommand.d.ts +5 -0
  19. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +3 -0
  20. package/dist-types/commands/GetUsageLimitCommand.d.ts +3 -0
  21. package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -0
  22. package/dist-types/commands/ListEndpointAccessCommand.d.ts +6 -0
  23. package/dist-types/commands/ListNamespacesCommand.d.ts +4 -0
  24. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +8 -0
  25. package/dist-types/commands/ListSnapshotsCommand.d.ts +9 -0
  26. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +6 -0
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  28. package/dist-types/commands/ListUsageLimitsCommand.d.ts +6 -0
  29. package/dist-types/commands/ListWorkgroupsCommand.d.ts +4 -0
  30. package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
  31. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +5 -0
  32. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +7 -0
  33. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +12 -0
  34. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  35. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  36. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +6 -0
  37. package/dist-types/commands/UpdateNamespaceCommand.d.ts +13 -0
  38. package/dist-types/commands/UpdateSnapshotCommand.d.ts +4 -0
  39. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +5 -0
  40. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +19 -0
  41. package/package.json +8 -8
@@ -27,6 +27,17 @@ export interface ConvertRecoveryPointToSnapshotCommandOutput extends ConvertReco
27
27
  * import { RedshiftServerlessClient, ConvertRecoveryPointToSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
28
28
  * // const { RedshiftServerlessClient, ConvertRecoveryPointToSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
29
29
  * const client = new RedshiftServerlessClient(config);
30
+ * const input = { // ConvertRecoveryPointToSnapshotRequest
31
+ * recoveryPointId: "STRING_VALUE", // required
32
+ * snapshotName: "STRING_VALUE", // required
33
+ * retentionPeriod: Number("int"),
34
+ * tags: [ // TagList
35
+ * { // Tag
36
+ * key: "STRING_VALUE", // required
37
+ * value: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * };
30
41
  * const command = new ConvertRecoveryPointToSnapshotCommand(input);
31
42
  * const response = await client.send(command);
32
43
  * ```
@@ -26,6 +26,16 @@ export interface CreateEndpointAccessCommandOutput extends CreateEndpointAccessR
26
26
  * import { RedshiftServerlessClient, CreateEndpointAccessCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, CreateEndpointAccessCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // CreateEndpointAccessRequest
30
+ * endpointName: "STRING_VALUE", // required
31
+ * subnetIds: [ // SubnetIdList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * workgroupName: "STRING_VALUE", // required
35
+ * vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
29
39
  * const command = new CreateEndpointAccessCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,26 @@ export interface CreateNamespaceCommandOutput extends CreateNamespaceResponse, _
26
26
  * import { RedshiftServerlessClient, CreateNamespaceCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, CreateNamespaceCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // CreateNamespaceRequest
30
+ * namespaceName: "STRING_VALUE", // required
31
+ * adminUsername: "STRING_VALUE",
32
+ * adminUserPassword: "STRING_VALUE",
33
+ * dbName: "STRING_VALUE",
34
+ * kmsKeyId: "STRING_VALUE",
35
+ * defaultIamRoleArn: "STRING_VALUE",
36
+ * iamRoles: [ // IamRoleArnList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * logExports: [ // LogExportList
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * tags: [ // TagList
43
+ * { // Tag
44
+ * key: "STRING_VALUE", // required
45
+ * value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * };
29
49
  * const command = new CreateNamespaceCommand(input);
30
50
  * const response = await client.send(command);
31
51
  * ```
@@ -29,6 +29,17 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
29
29
  * import { RedshiftServerlessClient, CreateSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
30
30
  * // const { RedshiftServerlessClient, CreateSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
31
31
  * const client = new RedshiftServerlessClient(config);
32
+ * const input = { // CreateSnapshotRequest
33
+ * namespaceName: "STRING_VALUE", // required
34
+ * snapshotName: "STRING_VALUE", // required
35
+ * retentionPeriod: Number("int"),
36
+ * tags: [ // TagList
37
+ * { // Tag
38
+ * key: "STRING_VALUE", // required
39
+ * value: "STRING_VALUE", // required
40
+ * },
41
+ * ],
42
+ * };
32
43
  * const command = new CreateSnapshotCommand(input);
33
44
  * const response = await client.send(command);
34
45
  * ```
@@ -27,6 +27,13 @@ export interface CreateUsageLimitCommandOutput extends CreateUsageLimitResponse,
27
27
  * import { RedshiftServerlessClient, CreateUsageLimitCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
28
28
  * // const { RedshiftServerlessClient, CreateUsageLimitCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
29
29
  * const client = new RedshiftServerlessClient(config);
30
+ * const input = { // CreateUsageLimitRequest
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * usageType: "STRING_VALUE", // required
33
+ * amount: Number("long"), // required
34
+ * period: "STRING_VALUE",
35
+ * breachAction: "STRING_VALUE",
36
+ * };
30
37
  * const command = new CreateUsageLimitCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -26,6 +26,32 @@ export interface CreateWorkgroupCommandOutput extends CreateWorkgroupResponse, _
26
26
  * import { RedshiftServerlessClient, CreateWorkgroupCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, CreateWorkgroupCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // CreateWorkgroupRequest
30
+ * workgroupName: "STRING_VALUE", // required
31
+ * namespaceName: "STRING_VALUE", // required
32
+ * baseCapacity: Number("int"),
33
+ * enhancedVpcRouting: true || false,
34
+ * configParameters: [ // ConfigParameterList
35
+ * { // ConfigParameter
36
+ * parameterKey: "STRING_VALUE",
37
+ * parameterValue: "STRING_VALUE",
38
+ * },
39
+ * ],
40
+ * securityGroupIds: [ // SecurityGroupIdList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * subnetIds: [ // SubnetIdList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * publiclyAccessible: true || false,
47
+ * tags: [ // TagList
48
+ * { // Tag
49
+ * key: "STRING_VALUE", // required
50
+ * value: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * port: Number("int"),
54
+ * };
29
55
  * const command = new CreateWorkgroupCommand(input);
30
56
  * const response = await client.send(command);
31
57
  * ```
@@ -26,6 +26,9 @@ export interface DeleteEndpointAccessCommandOutput extends DeleteEndpointAccessR
26
26
  * import { RedshiftServerlessClient, DeleteEndpointAccessCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, DeleteEndpointAccessCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // DeleteEndpointAccessRequest
30
+ * endpointName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteEndpointAccessCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,11 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
27
27
  * import { RedshiftServerlessClient, DeleteNamespaceCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
28
28
  * // const { RedshiftServerlessClient, DeleteNamespaceCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
29
29
  * const client = new RedshiftServerlessClient(config);
30
+ * const input = { // DeleteNamespaceRequest
31
+ * namespaceName: "STRING_VALUE", // required
32
+ * finalSnapshotName: "STRING_VALUE",
33
+ * finalSnapshotRetentionPeriod: Number("int"),
34
+ * };
30
35
  * const command = new DeleteNamespaceCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,9 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
26
26
  * import { RedshiftServerlessClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // DeleteResourcePolicyRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteResourcePolicyCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __M
26
26
  * import { RedshiftServerlessClient, DeleteSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, DeleteSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // DeleteSnapshotRequest
30
+ * snapshotName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteSnapshotCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteUsageLimitCommandOutput extends DeleteUsageLimitResponse,
26
26
  * import { RedshiftServerlessClient, DeleteUsageLimitCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, DeleteUsageLimitCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // DeleteUsageLimitRequest
30
+ * usageLimitId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteUsageLimitCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteWorkgroupCommandOutput extends DeleteWorkgroupResponse, _
26
26
  * import { RedshiftServerlessClient, DeleteWorkgroupCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, DeleteWorkgroupCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // DeleteWorkgroupRequest
30
+ * workgroupName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteWorkgroupCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -36,6 +36,11 @@ export interface GetCredentialsCommandOutput extends GetCredentialsResponse, __M
36
36
  * import { RedshiftServerlessClient, GetCredentialsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
37
37
  * // const { RedshiftServerlessClient, GetCredentialsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
38
38
  * const client = new RedshiftServerlessClient(config);
39
+ * const input = { // GetCredentialsRequest
40
+ * workgroupName: "STRING_VALUE", // required
41
+ * dbName: "STRING_VALUE",
42
+ * durationSeconds: Number("int"),
43
+ * };
39
44
  * const command = new GetCredentialsCommand(input);
40
45
  * const response = await client.send(command);
41
46
  * ```
@@ -26,6 +26,9 @@ export interface GetEndpointAccessCommandOutput extends GetEndpointAccessRespons
26
26
  * import { RedshiftServerlessClient, GetEndpointAccessCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetEndpointAccessCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetEndpointAccessRequest
30
+ * endpointName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetEndpointAccessCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
26
26
  * import { RedshiftServerlessClient, GetNamespaceCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetNamespaceCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetNamespaceRequest
30
+ * namespaceName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetNamespaceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetRecoveryPointCommandOutput extends GetRecoveryPointResponse,
26
26
  * import { RedshiftServerlessClient, GetRecoveryPointCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetRecoveryPointCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetRecoveryPointRequest
30
+ * recoveryPointId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetRecoveryPointCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
26
26
  * import { RedshiftServerlessClient, GetResourcePolicyCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetResourcePolicyCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetResourcePolicyRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetResourcePolicyCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface GetSnapshotCommandOutput extends GetSnapshotResponse, __Metadat
26
26
  * import { RedshiftServerlessClient, GetSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetSnapshotRequest
30
+ * snapshotName: "STRING_VALUE",
31
+ * ownerAccount: "STRING_VALUE",
32
+ * snapshotArn: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetSnapshotCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface GetTableRestoreStatusCommandOutput extends GetTableRestoreStatu
26
26
  * import { RedshiftServerlessClient, GetTableRestoreStatusCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetTableRestoreStatusCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetTableRestoreStatusRequest
30
+ * tableRestoreRequestId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetTableRestoreStatusCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetUsageLimitCommandOutput extends GetUsageLimitResponse, __Met
26
26
  * import { RedshiftServerlessClient, GetUsageLimitCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetUsageLimitCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetUsageLimitRequest
30
+ * usageLimitId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetUsageLimitCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetWorkgroupCommandOutput extends GetWorkgroupResponse, __Metad
26
26
  * import { RedshiftServerlessClient, GetWorkgroupCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, GetWorkgroupCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // GetWorkgroupRequest
30
+ * workgroupName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetWorkgroupCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,12 @@ export interface ListEndpointAccessCommandOutput extends ListEndpointAccessRespo
26
26
  * import { RedshiftServerlessClient, ListEndpointAccessCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListEndpointAccessCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListEndpointAccessRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * workgroupName: "STRING_VALUE",
33
+ * vpcId: "STRING_VALUE",
34
+ * };
29
35
  * const command = new ListEndpointAccessCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,10 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
26
26
  * import { RedshiftServerlessClient, ListNamespacesCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListNamespacesCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListNamespacesRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListNamespacesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,14 @@ export interface ListRecoveryPointsCommandOutput extends ListRecoveryPointsRespo
26
26
  * import { RedshiftServerlessClient, ListRecoveryPointsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListRecoveryPointsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListRecoveryPointsRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * startTime: new Date("TIMESTAMP"),
33
+ * endTime: new Date("TIMESTAMP"),
34
+ * namespaceName: "STRING_VALUE",
35
+ * namespaceArn: "STRING_VALUE",
36
+ * };
29
37
  * const command = new ListRecoveryPointsCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,15 @@ export interface ListSnapshotsCommandOutput extends ListSnapshotsResponse, __Met
26
26
  * import { RedshiftServerlessClient, ListSnapshotsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListSnapshotsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListSnapshotsRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * namespaceName: "STRING_VALUE",
33
+ * namespaceArn: "STRING_VALUE",
34
+ * ownerAccount: "STRING_VALUE",
35
+ * startTime: new Date("TIMESTAMP"),
36
+ * endTime: new Date("TIMESTAMP"),
37
+ * };
29
38
  * const command = new ListSnapshotsCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface ListTableRestoreStatusCommandOutput extends ListTableRestoreSta
26
26
  * import { RedshiftServerlessClient, ListTableRestoreStatusCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListTableRestoreStatusCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListTableRestoreStatusRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * namespaceName: "STRING_VALUE",
33
+ * workgroupName: "STRING_VALUE",
34
+ * };
29
35
  * const command = new ListTableRestoreStatusCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { RedshiftServerlessClient, ListTagsForResourceCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListTagsForResourceCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,12 @@ export interface ListUsageLimitsCommandOutput extends ListUsageLimitsResponse, _
26
26
  * import { RedshiftServerlessClient, ListUsageLimitsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListUsageLimitsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListUsageLimitsRequest
30
+ * resourceArn: "STRING_VALUE",
31
+ * usageType: "STRING_VALUE",
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
29
35
  * const command = new ListUsageLimitsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,10 @@ export interface ListWorkgroupsCommandOutput extends ListWorkgroupsResponse, __M
26
26
  * import { RedshiftServerlessClient, ListWorkgroupsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, ListWorkgroupsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // ListWorkgroupsRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListWorkgroupsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
26
26
  * import { RedshiftServerlessClient, PutResourcePolicyCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, PutResourcePolicyCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // PutResourcePolicyRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * policy: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new PutResourcePolicyCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface RestoreFromRecoveryPointCommandOutput extends RestoreFromRecove
26
26
  * import { RedshiftServerlessClient, RestoreFromRecoveryPointCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, RestoreFromRecoveryPointCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // RestoreFromRecoveryPointRequest
30
+ * recoveryPointId: "STRING_VALUE", // required
31
+ * namespaceName: "STRING_VALUE", // required
32
+ * workgroupName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new RestoreFromRecoveryPointCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,13 @@ export interface RestoreFromSnapshotCommandOutput extends RestoreFromSnapshotRes
26
26
  * import { RedshiftServerlessClient, RestoreFromSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, RestoreFromSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // RestoreFromSnapshotRequest
30
+ * namespaceName: "STRING_VALUE", // required
31
+ * workgroupName: "STRING_VALUE", // required
32
+ * snapshotName: "STRING_VALUE",
33
+ * snapshotArn: "STRING_VALUE",
34
+ * ownerAccount: "STRING_VALUE",
35
+ * };
29
36
  * const command = new RestoreFromSnapshotCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -27,6 +27,18 @@ export interface RestoreTableFromSnapshotCommandOutput extends RestoreTableFromS
27
27
  * import { RedshiftServerlessClient, RestoreTableFromSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
28
28
  * // const { RedshiftServerlessClient, RestoreTableFromSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
29
29
  * const client = new RedshiftServerlessClient(config);
30
+ * const input = { // RestoreTableFromSnapshotRequest
31
+ * namespaceName: "STRING_VALUE", // required
32
+ * workgroupName: "STRING_VALUE", // required
33
+ * snapshotName: "STRING_VALUE", // required
34
+ * sourceDatabaseName: "STRING_VALUE", // required
35
+ * sourceSchemaName: "STRING_VALUE",
36
+ * sourceTableName: "STRING_VALUE", // required
37
+ * targetDatabaseName: "STRING_VALUE",
38
+ * targetSchemaName: "STRING_VALUE",
39
+ * newTableName: "STRING_VALUE", // required
40
+ * activateCaseSensitiveIdentifier: true || false,
41
+ * };
30
42
  * const command = new RestoreTableFromSnapshotCommand(input);
31
43
  * const response = await client.send(command);
32
44
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { RedshiftServerlessClient, TagResourceCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, TagResourceCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: [ // TagList // required
32
+ * { // Tag
33
+ * key: "STRING_VALUE", // required
34
+ * value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { RedshiftServerlessClient, UntagResourceCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, UntagResourceCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UpdateEndpointAccessCommandOutput extends UpdateEndpointAccessR
26
26
  * import { RedshiftServerlessClient, UpdateEndpointAccessCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, UpdateEndpointAccessCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // UpdateEndpointAccessRequest
30
+ * endpointName: "STRING_VALUE", // required
31
+ * vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UpdateEndpointAccessCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -28,6 +28,19 @@ export interface UpdateNamespaceCommandOutput extends UpdateNamespaceResponse, _
28
28
  * import { RedshiftServerlessClient, UpdateNamespaceCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
29
29
  * // const { RedshiftServerlessClient, UpdateNamespaceCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
30
30
  * const client = new RedshiftServerlessClient(config);
31
+ * const input = { // UpdateNamespaceRequest
32
+ * namespaceName: "STRING_VALUE", // required
33
+ * adminUserPassword: "STRING_VALUE",
34
+ * adminUsername: "STRING_VALUE",
35
+ * kmsKeyId: "STRING_VALUE",
36
+ * defaultIamRoleArn: "STRING_VALUE",
37
+ * iamRoles: [ // IamRoleArnList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * logExports: [ // LogExportList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * };
31
44
  * const command = new UpdateNamespaceCommand(input);
32
45
  * const response = await client.send(command);
33
46
  * ```
@@ -26,6 +26,10 @@ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __M
26
26
  * import { RedshiftServerlessClient, UpdateSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, UpdateSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // UpdateSnapshotRequest
30
+ * snapshotName: "STRING_VALUE", // required
31
+ * retentionPeriod: Number("int"),
32
+ * };
29
33
  * const command = new UpdateSnapshotCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface UpdateUsageLimitCommandOutput extends UpdateUsageLimitResponse,
26
26
  * import { RedshiftServerlessClient, UpdateUsageLimitCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
27
27
  * // const { RedshiftServerlessClient, UpdateUsageLimitCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
28
28
  * const client = new RedshiftServerlessClient(config);
29
+ * const input = { // UpdateUsageLimitRequest
30
+ * usageLimitId: "STRING_VALUE", // required
31
+ * amount: Number("long"),
32
+ * breachAction: "STRING_VALUE",
33
+ * };
29
34
  * const command = new UpdateUsageLimitCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,25 @@ export interface UpdateWorkgroupCommandOutput extends UpdateWorkgroupResponse, _
27
27
  * import { RedshiftServerlessClient, UpdateWorkgroupCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
28
28
  * // const { RedshiftServerlessClient, UpdateWorkgroupCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
29
29
  * const client = new RedshiftServerlessClient(config);
30
+ * const input = { // UpdateWorkgroupRequest
31
+ * workgroupName: "STRING_VALUE", // required
32
+ * baseCapacity: Number("int"),
33
+ * enhancedVpcRouting: true || false,
34
+ * configParameters: [ // ConfigParameterList
35
+ * { // ConfigParameter
36
+ * parameterKey: "STRING_VALUE",
37
+ * parameterValue: "STRING_VALUE",
38
+ * },
39
+ * ],
40
+ * publiclyAccessible: true || false,
41
+ * subnetIds: [ // SubnetIdList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * securityGroupIds: [ // SecurityGroupIdList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * port: Number("int"),
48
+ * };
30
49
  * const command = new UpdateWorkgroupCommand(input);
31
50
  * const response = await client.send(command);
32
51
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-serverless",
3
3
  "description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },