@aws-sdk/client-redshift-serverless 3.300.0 → 3.303.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 (45) hide show
  1. package/dist-cjs/models/models_0.js +38 -45
  2. package/dist-es/models/models_0.js +38 -45
  3. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +3 -3
  4. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateNamespaceCommand.d.ts +5 -5
  6. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
  7. package/dist-types/commands/CreateUsageLimitCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateWorkgroupCommand.d.ts +7 -7
  9. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteNamespaceCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +1 -1
  15. package/dist-types/commands/GetCredentialsCommand.d.ts +1 -1
  16. package/dist-types/commands/GetEndpointAccessCommand.d.ts +1 -1
  17. package/dist-types/commands/GetNamespaceCommand.d.ts +1 -1
  18. package/dist-types/commands/GetRecoveryPointCommand.d.ts +1 -1
  19. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  20. package/dist-types/commands/GetSnapshotCommand.d.ts +1 -1
  21. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +1 -1
  22. package/dist-types/commands/GetUsageLimitCommand.d.ts +1 -1
  23. package/dist-types/commands/GetWorkgroupCommand.d.ts +1 -1
  24. package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -1
  25. package/dist-types/commands/ListNamespacesCommand.d.ts +1 -1
  26. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListSnapshotsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +1 -1
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/ListUsageLimitsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListWorkgroupsCommand.d.ts +1 -1
  32. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +1 -1
  34. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +1 -1
  35. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +1 -1
  36. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  37. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  38. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +2 -2
  39. package/dist-types/commands/UpdateNamespaceCommand.d.ts +3 -3
  40. package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +5 -5
  43. package/dist-types/models/models_0.d.ts +73 -38
  44. package/dist-types/ts3.4/models/models_0.d.ts +51 -38
  45. package/package.json +34 -34
@@ -30,15 +30,14 @@ class ConflictException extends RedshiftServerlessServiceException_1.RedshiftSer
30
30
  }
31
31
  }
32
32
  exports.ConflictException = ConflictException;
33
- var SnapshotStatus;
34
- (function (SnapshotStatus) {
35
- SnapshotStatus["AVAILABLE"] = "AVAILABLE";
36
- SnapshotStatus["CANCELLED"] = "CANCELLED";
37
- SnapshotStatus["COPYING"] = "COPYING";
38
- SnapshotStatus["CREATING"] = "CREATING";
39
- SnapshotStatus["DELETED"] = "DELETED";
40
- SnapshotStatus["FAILED"] = "FAILED";
41
- })(SnapshotStatus = exports.SnapshotStatus || (exports.SnapshotStatus = {}));
33
+ exports.SnapshotStatus = {
34
+ AVAILABLE: "AVAILABLE",
35
+ CANCELLED: "CANCELLED",
36
+ COPYING: "COPYING",
37
+ CREATING: "CREATING",
38
+ DELETED: "DELETED",
39
+ FAILED: "FAILED",
40
+ };
42
41
  class InternalServerException extends RedshiftServerlessServiceException_1.RedshiftServerlessServiceException {
43
42
  constructor(opts) {
44
43
  super({
@@ -107,42 +106,36 @@ class ValidationException extends RedshiftServerlessServiceException_1.RedshiftS
107
106
  }
108
107
  }
109
108
  exports.ValidationException = ValidationException;
110
- var LogExport;
111
- (function (LogExport) {
112
- LogExport["CONNECTION_LOG"] = "connectionlog";
113
- LogExport["USER_ACTIVITY_LOG"] = "useractivitylog";
114
- LogExport["USER_LOG"] = "userlog";
115
- })(LogExport = exports.LogExport || (exports.LogExport = {}));
116
- var NamespaceStatus;
117
- (function (NamespaceStatus) {
118
- NamespaceStatus["AVAILABLE"] = "AVAILABLE";
119
- NamespaceStatus["DELETING"] = "DELETING";
120
- NamespaceStatus["MODIFYING"] = "MODIFYING";
121
- })(NamespaceStatus = exports.NamespaceStatus || (exports.NamespaceStatus = {}));
122
- var UsageLimitBreachAction;
123
- (function (UsageLimitBreachAction) {
124
- UsageLimitBreachAction["DEACTIVATE"] = "deactivate";
125
- UsageLimitBreachAction["EMIT_METRIC"] = "emit-metric";
126
- UsageLimitBreachAction["LOG"] = "log";
127
- })(UsageLimitBreachAction = exports.UsageLimitBreachAction || (exports.UsageLimitBreachAction = {}));
128
- var UsageLimitPeriod;
129
- (function (UsageLimitPeriod) {
130
- UsageLimitPeriod["DAILY"] = "daily";
131
- UsageLimitPeriod["MONTHLY"] = "monthly";
132
- UsageLimitPeriod["WEEKLY"] = "weekly";
133
- })(UsageLimitPeriod = exports.UsageLimitPeriod || (exports.UsageLimitPeriod = {}));
134
- var UsageLimitUsageType;
135
- (function (UsageLimitUsageType) {
136
- UsageLimitUsageType["CROSS_REGION_DATASHARING"] = "cross-region-datasharing";
137
- UsageLimitUsageType["SERVERLESS_COMPUTE"] = "serverless-compute";
138
- })(UsageLimitUsageType = exports.UsageLimitUsageType || (exports.UsageLimitUsageType = {}));
139
- var WorkgroupStatus;
140
- (function (WorkgroupStatus) {
141
- WorkgroupStatus["AVAILABLE"] = "AVAILABLE";
142
- WorkgroupStatus["CREATING"] = "CREATING";
143
- WorkgroupStatus["DELETING"] = "DELETING";
144
- WorkgroupStatus["MODIFYING"] = "MODIFYING";
145
- })(WorkgroupStatus = exports.WorkgroupStatus || (exports.WorkgroupStatus = {}));
109
+ exports.LogExport = {
110
+ CONNECTION_LOG: "connectionlog",
111
+ USER_ACTIVITY_LOG: "useractivitylog",
112
+ USER_LOG: "userlog",
113
+ };
114
+ exports.NamespaceStatus = {
115
+ AVAILABLE: "AVAILABLE",
116
+ DELETING: "DELETING",
117
+ MODIFYING: "MODIFYING",
118
+ };
119
+ exports.UsageLimitBreachAction = {
120
+ DEACTIVATE: "deactivate",
121
+ EMIT_METRIC: "emit-metric",
122
+ LOG: "log",
123
+ };
124
+ exports.UsageLimitPeriod = {
125
+ DAILY: "daily",
126
+ MONTHLY: "monthly",
127
+ WEEKLY: "weekly",
128
+ };
129
+ exports.UsageLimitUsageType = {
130
+ CROSS_REGION_DATASHARING: "cross-region-datasharing",
131
+ SERVERLESS_COMPUTE: "serverless-compute",
132
+ };
133
+ exports.WorkgroupStatus = {
134
+ AVAILABLE: "AVAILABLE",
135
+ CREATING: "CREATING",
136
+ DELETING: "DELETING",
137
+ MODIFYING: "MODIFYING",
138
+ };
146
139
  class InsufficientCapacityException extends RedshiftServerlessServiceException_1.RedshiftServerlessServiceException {
147
140
  constructor(opts) {
148
141
  super({
@@ -25,15 +25,14 @@ export class ConflictException extends __BaseException {
25
25
  Object.setPrototypeOf(this, ConflictException.prototype);
26
26
  }
27
27
  }
28
- export var SnapshotStatus;
29
- (function (SnapshotStatus) {
30
- SnapshotStatus["AVAILABLE"] = "AVAILABLE";
31
- SnapshotStatus["CANCELLED"] = "CANCELLED";
32
- SnapshotStatus["COPYING"] = "COPYING";
33
- SnapshotStatus["CREATING"] = "CREATING";
34
- SnapshotStatus["DELETED"] = "DELETED";
35
- SnapshotStatus["FAILED"] = "FAILED";
36
- })(SnapshotStatus || (SnapshotStatus = {}));
28
+ export const SnapshotStatus = {
29
+ AVAILABLE: "AVAILABLE",
30
+ CANCELLED: "CANCELLED",
31
+ COPYING: "COPYING",
32
+ CREATING: "CREATING",
33
+ DELETED: "DELETED",
34
+ FAILED: "FAILED",
35
+ };
37
36
  export class InternalServerException extends __BaseException {
38
37
  constructor(opts) {
39
38
  super({
@@ -97,42 +96,36 @@ export class ValidationException extends __BaseException {
97
96
  Object.setPrototypeOf(this, ValidationException.prototype);
98
97
  }
99
98
  }
100
- export var LogExport;
101
- (function (LogExport) {
102
- LogExport["CONNECTION_LOG"] = "connectionlog";
103
- LogExport["USER_ACTIVITY_LOG"] = "useractivitylog";
104
- LogExport["USER_LOG"] = "userlog";
105
- })(LogExport || (LogExport = {}));
106
- export var NamespaceStatus;
107
- (function (NamespaceStatus) {
108
- NamespaceStatus["AVAILABLE"] = "AVAILABLE";
109
- NamespaceStatus["DELETING"] = "DELETING";
110
- NamespaceStatus["MODIFYING"] = "MODIFYING";
111
- })(NamespaceStatus || (NamespaceStatus = {}));
112
- export var UsageLimitBreachAction;
113
- (function (UsageLimitBreachAction) {
114
- UsageLimitBreachAction["DEACTIVATE"] = "deactivate";
115
- UsageLimitBreachAction["EMIT_METRIC"] = "emit-metric";
116
- UsageLimitBreachAction["LOG"] = "log";
117
- })(UsageLimitBreachAction || (UsageLimitBreachAction = {}));
118
- export var UsageLimitPeriod;
119
- (function (UsageLimitPeriod) {
120
- UsageLimitPeriod["DAILY"] = "daily";
121
- UsageLimitPeriod["MONTHLY"] = "monthly";
122
- UsageLimitPeriod["WEEKLY"] = "weekly";
123
- })(UsageLimitPeriod || (UsageLimitPeriod = {}));
124
- export var UsageLimitUsageType;
125
- (function (UsageLimitUsageType) {
126
- UsageLimitUsageType["CROSS_REGION_DATASHARING"] = "cross-region-datasharing";
127
- UsageLimitUsageType["SERVERLESS_COMPUTE"] = "serverless-compute";
128
- })(UsageLimitUsageType || (UsageLimitUsageType = {}));
129
- export var WorkgroupStatus;
130
- (function (WorkgroupStatus) {
131
- WorkgroupStatus["AVAILABLE"] = "AVAILABLE";
132
- WorkgroupStatus["CREATING"] = "CREATING";
133
- WorkgroupStatus["DELETING"] = "DELETING";
134
- WorkgroupStatus["MODIFYING"] = "MODIFYING";
135
- })(WorkgroupStatus || (WorkgroupStatus = {}));
99
+ export const LogExport = {
100
+ CONNECTION_LOG: "connectionlog",
101
+ USER_ACTIVITY_LOG: "useractivitylog",
102
+ USER_LOG: "userlog",
103
+ };
104
+ export const NamespaceStatus = {
105
+ AVAILABLE: "AVAILABLE",
106
+ DELETING: "DELETING",
107
+ MODIFYING: "MODIFYING",
108
+ };
109
+ export const UsageLimitBreachAction = {
110
+ DEACTIVATE: "deactivate",
111
+ EMIT_METRIC: "emit-metric",
112
+ LOG: "log",
113
+ };
114
+ export const UsageLimitPeriod = {
115
+ DAILY: "daily",
116
+ MONTHLY: "monthly",
117
+ WEEKLY: "weekly",
118
+ };
119
+ export const UsageLimitUsageType = {
120
+ CROSS_REGION_DATASHARING: "cross-region-datasharing",
121
+ SERVERLESS_COMPUTE: "serverless-compute",
122
+ };
123
+ export const WorkgroupStatus = {
124
+ AVAILABLE: "AVAILABLE",
125
+ CREATING: "CREATING",
126
+ DELETING: "DELETING",
127
+ MODIFYING: "MODIFYING",
128
+ };
136
129
  export class InsufficientCapacityException extends __BaseException {
137
130
  constructor(opts) {
138
131
  super({
@@ -27,12 +27,12 @@ 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 = {
30
+ * const input = { // ConvertRecoveryPointToSnapshotRequest
31
31
  * recoveryPointId: "STRING_VALUE", // required
32
32
  * snapshotName: "STRING_VALUE", // required
33
33
  * retentionPeriod: Number("int"),
34
- * tags: [
35
- * {
34
+ * tags: [ // TagList
35
+ * { // Tag
36
36
  * key: "STRING_VALUE", // required
37
37
  * value: "STRING_VALUE", // required
38
38
  * },
@@ -26,13 +26,13 @@ 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 = {
29
+ * const input = { // CreateEndpointAccessRequest
30
30
  * endpointName: "STRING_VALUE", // required
31
- * subnetIds: [ // required
31
+ * subnetIds: [ // SubnetIdList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * workgroupName: "STRING_VALUE", // required
35
- * vpcSecurityGroupIds: [
35
+ * vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * };
@@ -26,21 +26,21 @@ 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 = {
29
+ * const input = { // CreateNamespaceRequest
30
30
  * namespaceName: "STRING_VALUE", // required
31
31
  * adminUsername: "STRING_VALUE",
32
32
  * adminUserPassword: "STRING_VALUE",
33
33
  * dbName: "STRING_VALUE",
34
34
  * kmsKeyId: "STRING_VALUE",
35
35
  * defaultIamRoleArn: "STRING_VALUE",
36
- * iamRoles: [
36
+ * iamRoles: [ // IamRoleArnList
37
37
  * "STRING_VALUE",
38
38
  * ],
39
- * logExports: [
39
+ * logExports: [ // LogExportList
40
40
  * "STRING_VALUE",
41
41
  * ],
42
- * tags: [
43
- * {
42
+ * tags: [ // TagList
43
+ * { // Tag
44
44
  * key: "STRING_VALUE", // required
45
45
  * value: "STRING_VALUE", // required
46
46
  * },
@@ -29,12 +29,12 @@ 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 = {
32
+ * const input = { // CreateSnapshotRequest
33
33
  * namespaceName: "STRING_VALUE", // required
34
34
  * snapshotName: "STRING_VALUE", // required
35
35
  * retentionPeriod: Number("int"),
36
- * tags: [
37
- * {
36
+ * tags: [ // TagList
37
+ * { // Tag
38
38
  * key: "STRING_VALUE", // required
39
39
  * value: "STRING_VALUE", // required
40
40
  * },
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // CreateUsageLimitRequest
31
31
  * resourceArn: "STRING_VALUE", // required
32
32
  * usageType: "STRING_VALUE", // required
33
33
  * amount: Number("long"), // required
@@ -26,26 +26,26 @@ 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 = {
29
+ * const input = { // CreateWorkgroupRequest
30
30
  * workgroupName: "STRING_VALUE", // required
31
31
  * namespaceName: "STRING_VALUE", // required
32
32
  * baseCapacity: Number("int"),
33
33
  * enhancedVpcRouting: true || false,
34
- * configParameters: [
35
- * {
34
+ * configParameters: [ // ConfigParameterList
35
+ * { // ConfigParameter
36
36
  * parameterKey: "STRING_VALUE",
37
37
  * parameterValue: "STRING_VALUE",
38
38
  * },
39
39
  * ],
40
- * securityGroupIds: [
40
+ * securityGroupIds: [ // SecurityGroupIdList
41
41
  * "STRING_VALUE",
42
42
  * ],
43
- * subnetIds: [
43
+ * subnetIds: [ // SubnetIdList
44
44
  * "STRING_VALUE",
45
45
  * ],
46
46
  * publiclyAccessible: true || false,
47
- * tags: [
48
- * {
47
+ * tags: [ // TagList
48
+ * { // Tag
49
49
  * key: "STRING_VALUE", // required
50
50
  * value: "STRING_VALUE", // required
51
51
  * },
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteEndpointAccessRequest
30
30
  * endpointName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteEndpointAccessCommand(input);
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // DeleteNamespaceRequest
31
31
  * namespaceName: "STRING_VALUE", // required
32
32
  * finalSnapshotName: "STRING_VALUE",
33
33
  * finalSnapshotRetentionPeriod: Number("int"),
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteResourcePolicyRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteResourcePolicyCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteSnapshotRequest
30
30
  * snapshotName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteSnapshotCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteUsageLimitRequest
30
30
  * usageLimitId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteUsageLimitCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteWorkgroupRequest
30
30
  * workgroupName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteWorkgroupCommand(input);
@@ -36,7 +36,7 @@ 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 = {
39
+ * const input = { // GetCredentialsRequest
40
40
  * workgroupName: "STRING_VALUE", // required
41
41
  * dbName: "STRING_VALUE",
42
42
  * durationSeconds: Number("int"),
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetEndpointAccessRequest
30
30
  * endpointName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetEndpointAccessCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetNamespaceRequest
30
30
  * namespaceName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetNamespaceCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetRecoveryPointRequest
30
30
  * recoveryPointId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetRecoveryPointCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetResourcePolicyRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetResourcePolicyCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetSnapshotRequest
30
30
  * snapshotName: "STRING_VALUE",
31
31
  * ownerAccount: "STRING_VALUE",
32
32
  * snapshotArn: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetTableRestoreStatusRequest
30
30
  * tableRestoreRequestId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetTableRestoreStatusCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetUsageLimitRequest
30
30
  * usageLimitId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetUsageLimitCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetWorkgroupRequest
30
30
  * workgroupName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetWorkgroupCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListEndpointAccessRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * workgroupName: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListNamespacesRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListRecoveryPointsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * startTime: new Date("TIMESTAMP"),
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListSnapshotsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * namespaceName: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListTableRestoreStatusRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * namespaceName: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListUsageLimitsRequest
30
30
  * resourceArn: "STRING_VALUE",
31
31
  * usageType: "STRING_VALUE",
32
32
  * nextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListWorkgroupsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // PutResourcePolicyRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * policy: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // RestoreFromRecoveryPointRequest
30
30
  * recoveryPointId: "STRING_VALUE", // required
31
31
  * namespaceName: "STRING_VALUE", // required
32
32
  * workgroupName: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // RestoreFromSnapshotRequest
30
30
  * namespaceName: "STRING_VALUE", // required
31
31
  * workgroupName: "STRING_VALUE", // required
32
32
  * snapshotName: "STRING_VALUE",
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // RestoreTableFromSnapshotRequest
31
31
  * namespaceName: "STRING_VALUE", // required
32
32
  * workgroupName: "STRING_VALUE", // required
33
33
  * snapshotName: "STRING_VALUE", // required
@@ -26,10 +26,10 @@ 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 = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: [ // required
32
- * {
31
+ * tags: [ // TagList // required
32
+ * { // Tag
33
33
  * key: "STRING_VALUE", // required
34
34
  * value: "STRING_VALUE", // required
35
35
  * },
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UpdateEndpointAccessRequest
30
30
  * endpointName: "STRING_VALUE", // required
31
- * vpcSecurityGroupIds: [
31
+ * vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -28,16 +28,16 @@ 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 = {
31
+ * const input = { // UpdateNamespaceRequest
32
32
  * namespaceName: "STRING_VALUE", // required
33
33
  * adminUserPassword: "STRING_VALUE",
34
34
  * adminUsername: "STRING_VALUE",
35
35
  * kmsKeyId: "STRING_VALUE",
36
36
  * defaultIamRoleArn: "STRING_VALUE",
37
- * iamRoles: [
37
+ * iamRoles: [ // IamRoleArnList
38
38
  * "STRING_VALUE",
39
39
  * ],
40
- * logExports: [
40
+ * logExports: [ // LogExportList
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // UpdateSnapshotRequest
30
30
  * snapshotName: "STRING_VALUE", // required
31
31
  * retentionPeriod: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // UpdateUsageLimitRequest
30
30
  * usageLimitId: "STRING_VALUE", // required
31
31
  * amount: Number("long"),
32
32
  * breachAction: "STRING_VALUE",
@@ -27,21 +27,21 @@ 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 = {
30
+ * const input = { // UpdateWorkgroupRequest
31
31
  * workgroupName: "STRING_VALUE", // required
32
32
  * baseCapacity: Number("int"),
33
33
  * enhancedVpcRouting: true || false,
34
- * configParameters: [
35
- * {
34
+ * configParameters: [ // ConfigParameterList
35
+ * { // ConfigParameter
36
36
  * parameterKey: "STRING_VALUE",
37
37
  * parameterValue: "STRING_VALUE",
38
38
  * },
39
39
  * ],
40
40
  * publiclyAccessible: true || false,
41
- * subnetIds: [
41
+ * subnetIds: [ // SubnetIdList
42
42
  * "STRING_VALUE",
43
43
  * ],
44
- * securityGroupIds: [
44
+ * securityGroupIds: [ // SecurityGroupIdList
45
45
  * "STRING_VALUE",
46
46
  * ],
47
47
  * port: Number("int"),
@@ -81,15 +81,20 @@ export interface ConvertRecoveryPointToSnapshotRequest {
81
81
  }
82
82
  /**
83
83
  * @public
84
+ * @enum
84
85
  */
85
- export declare enum SnapshotStatus {
86
- AVAILABLE = "AVAILABLE",
87
- CANCELLED = "CANCELLED",
88
- COPYING = "COPYING",
89
- CREATING = "CREATING",
90
- DELETED = "DELETED",
91
- FAILED = "FAILED"
92
- }
86
+ export declare const SnapshotStatus: {
87
+ readonly AVAILABLE: "AVAILABLE";
88
+ readonly CANCELLED: "CANCELLED";
89
+ readonly COPYING: "COPYING";
90
+ readonly CREATING: "CREATING";
91
+ readonly DELETED: "DELETED";
92
+ readonly FAILED: "FAILED";
93
+ };
94
+ /**
95
+ * @public
96
+ */
97
+ export type SnapshotStatus = (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
93
98
  /**
94
99
  * @public
95
100
  * <p>A snapshot object that contains databases.</p>
@@ -394,12 +399,17 @@ export interface CreateEndpointAccessResponse {
394
399
  }
395
400
  /**
396
401
  * @public
402
+ * @enum
397
403
  */
398
- export declare enum LogExport {
399
- CONNECTION_LOG = "connectionlog",
400
- USER_ACTIVITY_LOG = "useractivitylog",
401
- USER_LOG = "userlog"
402
- }
404
+ export declare const LogExport: {
405
+ readonly CONNECTION_LOG: "connectionlog";
406
+ readonly USER_ACTIVITY_LOG: "useractivitylog";
407
+ readonly USER_LOG: "userlog";
408
+ };
409
+ /**
410
+ * @public
411
+ */
412
+ export type LogExport = (typeof LogExport)[keyof typeof LogExport];
403
413
  /**
404
414
  * @public
405
415
  */
@@ -444,12 +454,17 @@ export interface CreateNamespaceRequest {
444
454
  }
445
455
  /**
446
456
  * @public
457
+ * @enum
447
458
  */
448
- export declare enum NamespaceStatus {
449
- AVAILABLE = "AVAILABLE",
450
- DELETING = "DELETING",
451
- MODIFYING = "MODIFYING"
452
- }
459
+ export declare const NamespaceStatus: {
460
+ readonly AVAILABLE: "AVAILABLE";
461
+ readonly DELETING: "DELETING";
462
+ readonly MODIFYING: "MODIFYING";
463
+ };
464
+ /**
465
+ * @public
466
+ */
467
+ export type NamespaceStatus = (typeof NamespaceStatus)[keyof typeof NamespaceStatus];
453
468
  /**
454
469
  * @public
455
470
  * <p>A collection of database objects and users.</p>
@@ -544,27 +559,42 @@ export interface CreateSnapshotResponse {
544
559
  }
545
560
  /**
546
561
  * @public
562
+ * @enum
547
563
  */
548
- export declare enum UsageLimitBreachAction {
549
- DEACTIVATE = "deactivate",
550
- EMIT_METRIC = "emit-metric",
551
- LOG = "log"
552
- }
564
+ export declare const UsageLimitBreachAction: {
565
+ readonly DEACTIVATE: "deactivate";
566
+ readonly EMIT_METRIC: "emit-metric";
567
+ readonly LOG: "log";
568
+ };
553
569
  /**
554
570
  * @public
555
571
  */
556
- export declare enum UsageLimitPeriod {
557
- DAILY = "daily",
558
- MONTHLY = "monthly",
559
- WEEKLY = "weekly"
560
- }
572
+ export type UsageLimitBreachAction = (typeof UsageLimitBreachAction)[keyof typeof UsageLimitBreachAction];
561
573
  /**
562
574
  * @public
575
+ * @enum
563
576
  */
564
- export declare enum UsageLimitUsageType {
565
- CROSS_REGION_DATASHARING = "cross-region-datasharing",
566
- SERVERLESS_COMPUTE = "serverless-compute"
567
- }
577
+ export declare const UsageLimitPeriod: {
578
+ readonly DAILY: "daily";
579
+ readonly MONTHLY: "monthly";
580
+ readonly WEEKLY: "weekly";
581
+ };
582
+ /**
583
+ * @public
584
+ */
585
+ export type UsageLimitPeriod = (typeof UsageLimitPeriod)[keyof typeof UsageLimitPeriod];
586
+ /**
587
+ * @public
588
+ * @enum
589
+ */
590
+ export declare const UsageLimitUsageType: {
591
+ readonly CROSS_REGION_DATASHARING: "cross-region-datasharing";
592
+ readonly SERVERLESS_COMPUTE: "serverless-compute";
593
+ };
594
+ /**
595
+ * @public
596
+ */
597
+ export type UsageLimitUsageType = (typeof UsageLimitUsageType)[keyof typeof UsageLimitUsageType];
568
598
  /**
569
599
  * @public
570
600
  */
@@ -704,13 +734,18 @@ export interface Endpoint {
704
734
  }
705
735
  /**
706
736
  * @public
737
+ * @enum
707
738
  */
708
- export declare enum WorkgroupStatus {
709
- AVAILABLE = "AVAILABLE",
710
- CREATING = "CREATING",
711
- DELETING = "DELETING",
712
- MODIFYING = "MODIFYING"
713
- }
739
+ export declare const WorkgroupStatus: {
740
+ readonly AVAILABLE: "AVAILABLE";
741
+ readonly CREATING: "CREATING";
742
+ readonly DELETING: "DELETING";
743
+ readonly MODIFYING: "MODIFYING";
744
+ };
745
+ /**
746
+ * @public
747
+ */
748
+ export type WorkgroupStatus = (typeof WorkgroupStatus)[keyof typeof WorkgroupStatus];
714
749
  /**
715
750
  * @public
716
751
  * <p>The collection of computing resources from which an endpoint is created.</p>
@@ -27,14 +27,16 @@ export interface ConvertRecoveryPointToSnapshotRequest {
27
27
  retentionPeriod?: number;
28
28
  tags?: Tag[];
29
29
  }
30
- export declare enum SnapshotStatus {
31
- AVAILABLE = "AVAILABLE",
32
- CANCELLED = "CANCELLED",
33
- COPYING = "COPYING",
34
- CREATING = "CREATING",
35
- DELETED = "DELETED",
36
- FAILED = "FAILED",
37
- }
30
+ export declare const SnapshotStatus: {
31
+ readonly AVAILABLE: "AVAILABLE";
32
+ readonly CANCELLED: "CANCELLED";
33
+ readonly COPYING: "COPYING";
34
+ readonly CREATING: "CREATING";
35
+ readonly DELETED: "DELETED";
36
+ readonly FAILED: "FAILED";
37
+ };
38
+ export type SnapshotStatus =
39
+ (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
38
40
  export interface Snapshot {
39
41
  namespaceName?: string;
40
42
  namespaceArn?: string;
@@ -134,11 +136,12 @@ export interface EndpointAccess {
134
136
  export interface CreateEndpointAccessResponse {
135
137
  endpoint?: EndpointAccess;
136
138
  }
137
- export declare enum LogExport {
138
- CONNECTION_LOG = "connectionlog",
139
- USER_ACTIVITY_LOG = "useractivitylog",
140
- USER_LOG = "userlog",
141
- }
139
+ export declare const LogExport: {
140
+ readonly CONNECTION_LOG: "connectionlog";
141
+ readonly USER_ACTIVITY_LOG: "useractivitylog";
142
+ readonly USER_LOG: "userlog";
143
+ };
144
+ export type LogExport = (typeof LogExport)[keyof typeof LogExport];
142
145
  export interface CreateNamespaceRequest {
143
146
  namespaceName: string | undefined;
144
147
  adminUsername?: string;
@@ -150,11 +153,13 @@ export interface CreateNamespaceRequest {
150
153
  logExports?: (LogExport | string)[];
151
154
  tags?: Tag[];
152
155
  }
153
- export declare enum NamespaceStatus {
154
- AVAILABLE = "AVAILABLE",
155
- DELETING = "DELETING",
156
- MODIFYING = "MODIFYING",
157
- }
156
+ export declare const NamespaceStatus: {
157
+ readonly AVAILABLE: "AVAILABLE";
158
+ readonly DELETING: "DELETING";
159
+ readonly MODIFYING: "MODIFYING";
160
+ };
161
+ export type NamespaceStatus =
162
+ (typeof NamespaceStatus)[keyof typeof NamespaceStatus];
158
163
  export interface Namespace {
159
164
  namespaceArn?: string;
160
165
  namespaceId?: string;
@@ -180,20 +185,26 @@ export interface CreateSnapshotRequest {
180
185
  export interface CreateSnapshotResponse {
181
186
  snapshot?: Snapshot;
182
187
  }
183
- export declare enum UsageLimitBreachAction {
184
- DEACTIVATE = "deactivate",
185
- EMIT_METRIC = "emit-metric",
186
- LOG = "log",
187
- }
188
- export declare enum UsageLimitPeriod {
189
- DAILY = "daily",
190
- MONTHLY = "monthly",
191
- WEEKLY = "weekly",
192
- }
193
- export declare enum UsageLimitUsageType {
194
- CROSS_REGION_DATASHARING = "cross-region-datasharing",
195
- SERVERLESS_COMPUTE = "serverless-compute",
196
- }
188
+ export declare const UsageLimitBreachAction: {
189
+ readonly DEACTIVATE: "deactivate";
190
+ readonly EMIT_METRIC: "emit-metric";
191
+ readonly LOG: "log";
192
+ };
193
+ export type UsageLimitBreachAction =
194
+ (typeof UsageLimitBreachAction)[keyof typeof UsageLimitBreachAction];
195
+ export declare const UsageLimitPeriod: {
196
+ readonly DAILY: "daily";
197
+ readonly MONTHLY: "monthly";
198
+ readonly WEEKLY: "weekly";
199
+ };
200
+ export type UsageLimitPeriod =
201
+ (typeof UsageLimitPeriod)[keyof typeof UsageLimitPeriod];
202
+ export declare const UsageLimitUsageType: {
203
+ readonly CROSS_REGION_DATASHARING: "cross-region-datasharing";
204
+ readonly SERVERLESS_COMPUTE: "serverless-compute";
205
+ };
206
+ export type UsageLimitUsageType =
207
+ (typeof UsageLimitUsageType)[keyof typeof UsageLimitUsageType];
197
208
  export interface CreateUsageLimitRequest {
198
209
  resourceArn: string | undefined;
199
210
  usageType: UsageLimitUsageType | string | undefined;
@@ -230,12 +241,14 @@ export interface Endpoint {
230
241
  port?: number;
231
242
  vpcEndpoints?: VpcEndpoint[];
232
243
  }
233
- export declare enum WorkgroupStatus {
234
- AVAILABLE = "AVAILABLE",
235
- CREATING = "CREATING",
236
- DELETING = "DELETING",
237
- MODIFYING = "MODIFYING",
238
- }
244
+ export declare const WorkgroupStatus: {
245
+ readonly AVAILABLE: "AVAILABLE";
246
+ readonly CREATING: "CREATING";
247
+ readonly DELETING: "DELETING";
248
+ readonly MODIFYING: "MODIFYING";
249
+ };
250
+ export type WorkgroupStatus =
251
+ (typeof WorkgroupStatus)[keyof typeof WorkgroupStatus];
239
252
  export interface Workgroup {
240
253
  workgroupId?: string;
241
254
  workgroupArn?: string;
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.300.0",
4
+ "version": "3.303.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,42 +21,42 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",