@aws-sdk/client-redshift 3.699.0 → 3.709.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 (46) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +249 -27
  3. package/dist-es/Redshift.js +4 -0
  4. package/dist-es/commands/DeregisterNamespaceCommand.js +22 -0
  5. package/dist-es/commands/RegisterNamespaceCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +13 -0
  8. package/dist-es/models/models_1.js +4 -0
  9. package/dist-es/protocols/Aws_query.js +191 -28
  10. package/dist-types/Redshift.d.ts +14 -0
  11. package/dist-types/RedshiftClient.d.ts +4 -2
  12. package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +1 -0
  13. package/dist-types/commands/AuthorizeDataShareCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateClusterCommand.d.ts +22 -0
  15. package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +1 -0
  16. package/dist-types/commands/DeregisterNamespaceCommand.d.ts +93 -0
  17. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeClusterDbRevisionsCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeClusterParameterGroupsCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -0
  24. package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +1 -0
  25. package/dist-types/commands/ModifyClusterCommand.d.ts +22 -0
  26. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +22 -0
  27. package/dist-types/commands/RegisterNamespaceCommand.d.ts +92 -0
  28. package/dist-types/commands/RejectDataShareCommand.d.ts +1 -0
  29. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +22 -0
  30. package/dist-types/commands/index.d.ts +2 -0
  31. package/dist-types/models/models_0.d.ts +64 -79
  32. package/dist-types/models/models_1.d.ts +171 -1
  33. package/dist-types/protocols/Aws_query.d.ts +18 -0
  34. package/dist-types/ts3.4/Redshift.d.ts +34 -0
  35. package/dist-types/ts3.4/RedshiftClient.d.ts +12 -0
  36. package/dist-types/ts3.4/commands/DeregisterNamespaceCommand.d.ts +49 -0
  37. package/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/DescribeClusterDbRevisionsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/DescribeClusterParameterGroupsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/RegisterNamespaceCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +40 -18
  44. package/dist-types/ts3.4/models/models_1.d.ts +39 -0
  45. package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
  46. package/package.json +36 -36
@@ -59,6 +59,7 @@ declare const AuthorizeDataShareCommand_base: {
59
59
  * // },
60
60
  * // ],
61
61
  * // ManagedBy: "STRING_VALUE",
62
+ * // DataShareType: "INTERNAL",
62
63
  * // };
63
64
  *
64
65
  * ```
@@ -34,6 +34,28 @@ declare const CreateClusterCommand_base: {
34
34
  * For more information about managing clusters, go to
35
35
  * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html">Amazon Redshift Clusters</a>
36
36
  * in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
37
+ * <p>VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that
38
+ * you own in a Region from reaching or being reached from the internet through internet
39
+ * gateways and egress-only internet gateways. If a subnet group for a
40
+ * provisioned cluster is in an account with VPC BPA turned on, the following capabilities
41
+ * are blocked:</p>
42
+ * <ul>
43
+ * <li>
44
+ * <p>Creating a public cluster</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>Restoring a public cluster</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>Modifying a private cluster to be public</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>Adding a subnet with VPC BPA turned on to the subnet group when there's at
54
+ * least one public cluster within the group</p>
55
+ * </li>
56
+ * </ul>
57
+ * <p>For more information about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and
58
+ * subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
37
59
  * @example
38
60
  * Use a bare-bones client and the command you need to make an API call.
39
61
  * ```javascript
@@ -56,6 +56,7 @@ declare const DeauthorizeDataShareCommand_base: {
56
56
  * // },
57
57
  * // ],
58
58
  * // ManagedBy: "STRING_VALUE",
59
+ * // DataShareType: "INTERNAL",
59
60
  * // };
60
61
  *
61
62
  * ```
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeregisterNamespaceInputMessage } from "../models/models_0";
4
+ import { DeregisterNamespaceOutputMessage } from "../models/models_1";
5
+ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link DeregisterNamespaceCommand}.
15
+ */
16
+ export interface DeregisterNamespaceCommandInput extends DeregisterNamespaceInputMessage {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link DeregisterNamespaceCommand}.
22
+ */
23
+ export interface DeregisterNamespaceCommandOutput extends DeregisterNamespaceOutputMessage, __MetadataBearer {
24
+ }
25
+ declare const DeregisterNamespaceCommand_base: {
26
+ new (input: DeregisterNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterNamespaceCommandInput, DeregisterNamespaceCommandOutput, RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (__0_0: DeregisterNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterNamespaceCommandInput, DeregisterNamespaceCommandOutput, RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Deregisters a cluster or serverless namespace from the Amazon Web Services Glue Data Catalog.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { RedshiftClient, DeregisterNamespaceCommand } from "@aws-sdk/client-redshift"; // ES Modules import
36
+ * // const { RedshiftClient, DeregisterNamespaceCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
37
+ * const client = new RedshiftClient(config);
38
+ * const input = { // DeregisterNamespaceInputMessage
39
+ * NamespaceIdentifier: { // NamespaceIdentifierUnion Union: only one key present
40
+ * ServerlessIdentifier: { // ServerlessIdentifier
41
+ * NamespaceIdentifier: "STRING_VALUE", // required
42
+ * WorkgroupIdentifier: "STRING_VALUE", // required
43
+ * },
44
+ * ProvisionedIdentifier: { // ProvisionedIdentifier
45
+ * ClusterIdentifier: "STRING_VALUE", // required
46
+ * },
47
+ * },
48
+ * ConsumerIdentifiers: [ // ConsumerIdentifierList // required
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * };
52
+ * const command = new DeregisterNamespaceCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // DeregisterNamespaceOutputMessage
55
+ * // Status: "Registering" || "Deregistering",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DeregisterNamespaceCommandInput - {@link DeregisterNamespaceCommandInput}
61
+ * @returns {@link DeregisterNamespaceCommandOutput}
62
+ * @see {@link DeregisterNamespaceCommandInput} for command's `input` shape.
63
+ * @see {@link DeregisterNamespaceCommandOutput} for command's `response` shape.
64
+ * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
65
+ *
66
+ * @throws {@link ClusterNotFoundFault} (client fault)
67
+ * <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
68
+ * </p>
69
+ *
70
+ * @throws {@link InvalidClusterStateFault} (client fault)
71
+ * <p>The specified cluster is not in the <code>available</code> state. </p>
72
+ *
73
+ * @throws {@link InvalidNamespaceFault} (client fault)
74
+ * <p>The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.</p>
75
+ *
76
+ * @throws {@link RedshiftServiceException}
77
+ * <p>Base exception class for all service exceptions from Redshift service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class DeregisterNamespaceCommand extends DeregisterNamespaceCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: DeregisterNamespaceInputMessage;
86
+ output: DeregisterNamespaceOutputMessage;
87
+ };
88
+ sdk: {
89
+ input: DeregisterNamespaceCommandInput;
90
+ output: DeregisterNamespaceCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { AccountAttributeList, DescribeAccountAttributesMessage } from "../models/models_0";
3
+ import { AccountAttributeList } from "../models/models_0";
4
+ import { DescribeAccountAttributesMessage } from "../models/models_1";
4
5
  import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
5
6
  /**
6
7
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeAuthenticationProfilesMessage, DescribeAuthenticationProfilesResult } from "../models/models_0";
3
+ import { DescribeAuthenticationProfilesMessage, DescribeAuthenticationProfilesResult } from "../models/models_1";
4
4
  import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ClusterDbRevisionsMessage, DescribeClusterDbRevisionsMessage } from "../models/models_0";
3
+ import { ClusterDbRevisionsMessage } from "../models/models_0";
4
+ import { DescribeClusterDbRevisionsMessage } from "../models/models_1";
4
5
  import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
5
6
  /**
6
7
  * @public
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ClusterParameterGroupsMessage, DescribeClusterParameterGroupsMessage } from "../models/models_0";
3
+ import { ClusterParameterGroupsMessage } from "../models/models_0";
4
+ import { DescribeClusterParameterGroupsMessage } from "../models/models_1";
4
5
  import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
5
6
  /**
6
7
  * @public
@@ -60,6 +60,7 @@ declare const DescribeDataSharesCommand_base: {
60
60
  * // },
61
61
  * // ],
62
62
  * // ManagedBy: "STRING_VALUE",
63
+ * // DataShareType: "INTERNAL",
63
64
  * // },
64
65
  * // ],
65
66
  * // Marker: "STRING_VALUE",
@@ -60,6 +60,7 @@ declare const DescribeDataSharesForConsumerCommand_base: {
60
60
  * // },
61
61
  * // ],
62
62
  * // ManagedBy: "STRING_VALUE",
63
+ * // DataShareType: "INTERNAL",
63
64
  * // },
64
65
  * // ],
65
66
  * // Marker: "STRING_VALUE",
@@ -60,6 +60,7 @@ declare const DescribeDataSharesForProducerCommand_base: {
60
60
  * // },
61
61
  * // ],
62
62
  * // ManagedBy: "STRING_VALUE",
63
+ * // DataShareType: "INTERNAL",
63
64
  * // },
64
65
  * // ],
65
66
  * // Marker: "STRING_VALUE",
@@ -60,6 +60,7 @@ declare const DisassociateDataShareConsumerCommand_base: {
60
60
  * // },
61
61
  * // ],
62
62
  * // ManagedBy: "STRING_VALUE",
63
+ * // DataShareType: "INTERNAL",
63
64
  * // };
64
65
  *
65
66
  * ```
@@ -36,6 +36,28 @@ declare const ModifyClusterCommand_base: {
36
36
  * For more information about managing clusters, go to
37
37
  * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html">Amazon Redshift Clusters</a>
38
38
  * in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
39
+ * <p>VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that
40
+ * you own in a Region from reaching or being reached from the internet through internet
41
+ * gateways and egress-only internet gateways. If a subnet group for a
42
+ * provisioned cluster is in an account with VPC BPA turned on, the following capabilities
43
+ * are blocked:</p>
44
+ * <ul>
45
+ * <li>
46
+ * <p>Creating a public cluster</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>Restoring a public cluster</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>Modifying a private cluster to be public</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>Adding a subnet with VPC BPA turned on to the subnet group when there's at
56
+ * least one public cluster within the group</p>
57
+ * </li>
58
+ * </ul>
59
+ * <p>For more information about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and
60
+ * subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
39
61
  * @example
40
62
  * Use a bare-bones client and the command you need to make an API call.
41
63
  * ```javascript
@@ -29,6 +29,28 @@ declare const ModifyClusterSubnetGroupCommand_base: {
29
29
  /**
30
30
  * <p>Modifies a cluster subnet group to include the specified list of VPC subnets. The
31
31
  * operation replaces the existing list of subnets with the new list of subnets.</p>
32
+ * <p>VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that
33
+ * you own in a Region from reaching or being reached from the internet through internet
34
+ * gateways and egress-only internet gateways. If a subnet group for a
35
+ * provisioned cluster is in an account with VPC BPA turned on, the following capabilities
36
+ * are blocked:</p>
37
+ * <ul>
38
+ * <li>
39
+ * <p>Creating a public cluster</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>Restoring a public cluster</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>Modifying a private cluster to be public</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>Adding a subnet with VPC BPA turned on to the subnet group when there's at
49
+ * least one public cluster within the group</p>
50
+ * </li>
51
+ * </ul>
52
+ * <p>For more information about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and
53
+ * subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
32
54
  * @example
33
55
  * Use a bare-bones client and the command you need to make an API call.
34
56
  * ```javascript
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { RegisterNamespaceInputMessage, RegisterNamespaceOutputMessage } from "../models/models_1";
4
+ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RegisterNamespaceCommand}.
14
+ */
15
+ export interface RegisterNamespaceCommandInput extends RegisterNamespaceInputMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RegisterNamespaceCommand}.
21
+ */
22
+ export interface RegisterNamespaceCommandOutput extends RegisterNamespaceOutputMessage, __MetadataBearer {
23
+ }
24
+ declare const RegisterNamespaceCommand_base: {
25
+ new (input: RegisterNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterNamespaceCommandInput, RegisterNamespaceCommandOutput, RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RegisterNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterNamespaceCommandInput, RegisterNamespaceCommandOutput, RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Registers a cluster or serverless namespace to the Amazon Web Services Glue Data Catalog.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RedshiftClient, RegisterNamespaceCommand } from "@aws-sdk/client-redshift"; // ES Modules import
35
+ * // const { RedshiftClient, RegisterNamespaceCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
36
+ * const client = new RedshiftClient(config);
37
+ * const input = { // RegisterNamespaceInputMessage
38
+ * NamespaceIdentifier: { // NamespaceIdentifierUnion Union: only one key present
39
+ * ServerlessIdentifier: { // ServerlessIdentifier
40
+ * NamespaceIdentifier: "STRING_VALUE", // required
41
+ * WorkgroupIdentifier: "STRING_VALUE", // required
42
+ * },
43
+ * ProvisionedIdentifier: { // ProvisionedIdentifier
44
+ * ClusterIdentifier: "STRING_VALUE", // required
45
+ * },
46
+ * },
47
+ * ConsumerIdentifiers: [ // ConsumerIdentifierList // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * };
51
+ * const command = new RegisterNamespaceCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // RegisterNamespaceOutputMessage
54
+ * // Status: "Registering" || "Deregistering",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param RegisterNamespaceCommandInput - {@link RegisterNamespaceCommandInput}
60
+ * @returns {@link RegisterNamespaceCommandOutput}
61
+ * @see {@link RegisterNamespaceCommandInput} for command's `input` shape.
62
+ * @see {@link RegisterNamespaceCommandOutput} for command's `response` shape.
63
+ * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
64
+ *
65
+ * @throws {@link ClusterNotFoundFault} (client fault)
66
+ * <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
67
+ * </p>
68
+ *
69
+ * @throws {@link InvalidClusterStateFault} (client fault)
70
+ * <p>The specified cluster is not in the <code>available</code> state. </p>
71
+ *
72
+ * @throws {@link InvalidNamespaceFault} (client fault)
73
+ * <p>The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.</p>
74
+ *
75
+ * @throws {@link RedshiftServiceException}
76
+ * <p>Base exception class for all service exceptions from Redshift service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class RegisterNamespaceCommand extends RegisterNamespaceCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: RegisterNamespaceInputMessage;
85
+ output: RegisterNamespaceOutputMessage;
86
+ };
87
+ sdk: {
88
+ input: RegisterNamespaceCommandInput;
89
+ output: RegisterNamespaceCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -56,6 +56,7 @@ declare const RejectDataShareCommand_base: {
56
56
  * // },
57
57
  * // ],
58
58
  * // ManagedBy: "STRING_VALUE",
59
+ * // DataShareType: "INTERNAL",
59
60
  * // };
60
61
  *
61
62
  * ```
@@ -35,6 +35,28 @@ declare const RestoreFromClusterSnapshotCommand_base: {
35
35
  * choose to change to another DS node type of the same size during restore.</p>
36
36
  * <p>If you restore a cluster into a VPC, you must provide a cluster subnet group where
37
37
  * you want the cluster restored.</p>
38
+ * <p>VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that
39
+ * you own in a Region from reaching or being reached from the internet through internet
40
+ * gateways and egress-only internet gateways. If a subnet group for a
41
+ * provisioned cluster is in an account with VPC BPA turned on, the following capabilities
42
+ * are blocked:</p>
43
+ * <ul>
44
+ * <li>
45
+ * <p>Creating a public cluster</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>Restoring a public cluster</p>
49
+ * </li>
50
+ * <li>
51
+ * <p>Modifying a private cluster to be public</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>Adding a subnet with VPC BPA turned on to the subnet group when there's at
55
+ * least one public cluster within the group</p>
56
+ * </li>
57
+ * </ul>
58
+ * <p>For more information about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and
59
+ * subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
38
60
  * <p>
39
61
  * For more information about working with snapshots, go to
40
62
  * <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html">Amazon Redshift Snapshots</a>
@@ -48,6 +48,7 @@ export * from "./DeleteSnapshotCopyGrantCommand";
48
48
  export * from "./DeleteSnapshotScheduleCommand";
49
49
  export * from "./DeleteTagsCommand";
50
50
  export * from "./DeleteUsageLimitCommand";
51
+ export * from "./DeregisterNamespaceCommand";
51
52
  export * from "./DescribeAccountAttributesCommand";
52
53
  export * from "./DescribeAuthenticationProfilesCommand";
53
54
  export * from "./DescribeClusterDbRevisionsCommand";
@@ -124,6 +125,7 @@ export * from "./PauseClusterCommand";
124
125
  export * from "./PurchaseReservedNodeOfferingCommand";
125
126
  export * from "./PutResourcePolicyCommand";
126
127
  export * from "./RebootClusterCommand";
128
+ export * from "./RegisterNamespaceCommand";
127
129
  export * from "./RejectDataShareCommand";
128
130
  export * from "./ResetClusterParameterGroupCommand";
129
131
  export * from "./ResizeClusterCommand";
@@ -539,6 +539,17 @@ export interface DataShareAssociation {
539
539
  */
540
540
  ConsumerAcceptedWrites?: boolean | undefined;
541
541
  }
542
+ /**
543
+ * @public
544
+ * @enum
545
+ */
546
+ export declare const DataShareType: {
547
+ readonly INTERNAL: "INTERNAL";
548
+ };
549
+ /**
550
+ * @public
551
+ */
552
+ export type DataShareType = (typeof DataShareType)[keyof typeof DataShareType];
542
553
  /**
543
554
  * @public
544
555
  */
@@ -569,6 +580,11 @@ export interface DataShare {
569
580
  * @public
570
581
  */
571
582
  ManagedBy?: string | undefined;
583
+ /**
584
+ * <p> The type of the datashare created by RegisterNamespace.</p>
585
+ * @public
586
+ */
587
+ DataShareType?: DataShareType | undefined;
572
588
  }
573
589
  /**
574
590
  * <p>There is an error with the datashare.</p>
@@ -6915,123 +6931,92 @@ export declare class UsageLimitNotFoundFault extends __BaseException {
6915
6931
  constructor(opts: __ExceptionOptionType<UsageLimitNotFoundFault, __BaseException>);
6916
6932
  }
6917
6933
  /**
6934
+ * <p>The identifier for a provisioned cluster.</p>
6918
6935
  * @public
6919
6936
  */
6920
- export interface DescribeAccountAttributesMessage {
6937
+ export interface ProvisionedIdentifier {
6921
6938
  /**
6922
- * <p>A list of attribute names.</p>
6939
+ * <p>The unique identifier for the provisioned cluster.</p>
6923
6940
  * @public
6924
6941
  */
6925
- AttributeNames?: string[] | undefined;
6942
+ ClusterIdentifier: string | undefined;
6926
6943
  }
6927
6944
  /**
6945
+ * <p>The identifier for a serverless namespace.</p>
6928
6946
  * @public
6929
6947
  */
6930
- export interface DescribeAuthenticationProfilesMessage {
6948
+ export interface ServerlessIdentifier {
6931
6949
  /**
6932
- * <p>The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.</p>
6950
+ * <p>The unique identifier for the serverless namespace.</p>
6933
6951
  * @public
6934
6952
  */
6935
- AuthenticationProfileName?: string | undefined;
6936
- }
6937
- /**
6938
- * @public
6939
- */
6940
- export interface DescribeAuthenticationProfilesResult {
6953
+ NamespaceIdentifier: string | undefined;
6941
6954
  /**
6942
- * <p>The list of authentication profiles.</p>
6955
+ * <p>The unique identifier for the workgroup
6956
+ * associated with the serverless namespace.</p>
6943
6957
  * @public
6944
6958
  */
6945
- AuthenticationProfiles?: AuthenticationProfile[] | undefined;
6959
+ WorkgroupIdentifier: string | undefined;
6946
6960
  }
6947
6961
  /**
6962
+ * <p>Object to store union of values for a
6963
+ * provisioned cluster or serverless namespace’s identifier.</p>
6948
6964
  * @public
6949
6965
  */
6950
- export interface DescribeClusterDbRevisionsMessage {
6966
+ export type NamespaceIdentifierUnion = NamespaceIdentifierUnion.ProvisionedIdentifierMember | NamespaceIdentifierUnion.ServerlessIdentifierMember | NamespaceIdentifierUnion.$UnknownMember;
6967
+ /**
6968
+ * @public
6969
+ */
6970
+ export declare namespace NamespaceIdentifierUnion {
6951
6971
  /**
6952
- * <p>A unique identifier for a cluster whose <code>ClusterDbRevisions</code> you are
6953
- * requesting. This parameter is case sensitive. All clusters defined for an account are
6954
- * returned by default.</p>
6972
+ * <p>The identifier for a serverless namespace.</p>
6955
6973
  * @public
6956
6974
  */
6957
- ClusterIdentifier?: string | undefined;
6975
+ interface ServerlessIdentifierMember {
6976
+ ServerlessIdentifier: ServerlessIdentifier;
6977
+ ProvisionedIdentifier?: never;
6978
+ $unknown?: never;
6979
+ }
6958
6980
  /**
6959
- * <p>The maximum number of response records to return in each call. If the number of
6960
- * remaining response records exceeds the specified MaxRecords value, a value is returned
6961
- * in the <code>marker</code> field of the response. You can retrieve the next set of
6962
- * response records by providing the returned <code>marker</code> value in the
6963
- * <code>marker</code> parameter and retrying the request. </p>
6964
- * <p>Default: 100</p>
6965
- * <p>Constraints: minimum 20, maximum 100.</p>
6981
+ * <p>The identifier for a provisioned cluster.</p>
6966
6982
  * @public
6967
6983
  */
6968
- MaxRecords?: number | undefined;
6984
+ interface ProvisionedIdentifierMember {
6985
+ ServerlessIdentifier?: never;
6986
+ ProvisionedIdentifier: ProvisionedIdentifier;
6987
+ $unknown?: never;
6988
+ }
6969
6989
  /**
6970
- * <p>An optional parameter that specifies the starting point for returning a set of
6971
- * response records. When the results of a <code>DescribeClusterDbRevisions</code> request
6972
- * exceed the value specified in <code>MaxRecords</code>, Amazon Redshift returns a value
6973
- * in the <code>marker</code> field of the response. You can retrieve the next set of
6974
- * response records by providing the returned <code>marker</code> value in the
6975
- * <code>marker</code> parameter and retrying the request. </p>
6976
- * <p>Constraints: You can specify either the <code>ClusterIdentifier</code> parameter, or
6977
- * the <code>marker</code> parameter, but not both.</p>
6978
6990
  * @public
6979
6991
  */
6980
- Marker?: string | undefined;
6992
+ interface $UnknownMember {
6993
+ ServerlessIdentifier?: never;
6994
+ ProvisionedIdentifier?: never;
6995
+ $unknown: [string, any];
6996
+ }
6997
+ interface Visitor<T> {
6998
+ ServerlessIdentifier: (value: ServerlessIdentifier) => T;
6999
+ ProvisionedIdentifier: (value: ProvisionedIdentifier) => T;
7000
+ _: (name: string, value: any) => T;
7001
+ }
7002
+ const visit: <T>(value: NamespaceIdentifierUnion, visitor: Visitor<T>) => T;
6981
7003
  }
6982
7004
  /**
6983
- * <p></p>
6984
7005
  * @public
6985
7006
  */
6986
- export interface DescribeClusterParameterGroupsMessage {
6987
- /**
6988
- * <p>The name of a specific parameter group for which to return details. By default,
6989
- * details about all parameter groups and the default parameter group are
6990
- * returned.</p>
6991
- * @public
6992
- */
6993
- ParameterGroupName?: string | undefined;
6994
- /**
6995
- * <p>The maximum number of response records to return in each call. If the number of
6996
- * remaining response records exceeds the specified <code>MaxRecords</code> value, a value
6997
- * is returned in a <code>marker</code> field of the response. You can retrieve the next
6998
- * set of records by retrying the command with the returned marker value. </p>
6999
- * <p>Default: <code>100</code>
7000
- * </p>
7001
- * <p>Constraints: minimum 20, maximum 100.</p>
7002
- * @public
7003
- */
7004
- MaxRecords?: number | undefined;
7005
- /**
7006
- * <p>An optional parameter that specifies the starting point to return a set of response
7007
- * records. When the results of a <a>DescribeClusterParameterGroups</a> request
7008
- * exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the
7009
- * <code>Marker</code> field of the response. You can retrieve the next set of response
7010
- * records by providing the returned marker value in the <code>Marker</code> parameter and
7011
- * retrying the request. </p>
7012
- * @public
7013
- */
7014
- Marker?: string | undefined;
7007
+ export interface DeregisterNamespaceInputMessage {
7015
7008
  /**
7016
- * <p>A tag key or keys for which you want to return all matching cluster parameter
7017
- * groups that are associated with the specified key or keys. For example, suppose that you
7018
- * have parameter groups that are tagged with keys called <code>owner</code> and
7019
- * <code>environment</code>. If you specify both of these tag keys in the request,
7020
- * Amazon Redshift returns a response with the parameter groups that have either or both of these
7021
- * tag keys associated with them.</p>
7009
+ * <p>The unique identifier of the cluster or
7010
+ * serverless namespace that you want to deregister.</p>
7022
7011
  * @public
7023
7012
  */
7024
- TagKeys?: string[] | undefined;
7013
+ NamespaceIdentifier: NamespaceIdentifierUnion | undefined;
7025
7014
  /**
7026
- * <p>A tag value or values for which you want to return all matching cluster parameter
7027
- * groups that are associated with the specified tag value or values. For example, suppose
7028
- * that you have parameter groups that are tagged with values called <code>admin</code> and
7029
- * <code>test</code>. If you specify both of these tag values in the request, Amazon Redshift
7030
- * returns a response with the parameter groups that have either or both of these tag
7031
- * values associated with them.</p>
7015
+ * <p>An array containing the ID of the consumer account
7016
+ * that you want to deregister the cluster or serverless namespace from.</p>
7032
7017
  * @public
7033
7018
  */
7034
- TagValues?: string[] | undefined;
7019
+ ConsumerIdentifiers: string[] | undefined;
7035
7020
  }
7036
7021
  /**
7037
7022
  * @internal