@aws-sdk/client-redshift 3.699.0 → 3.705.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 +1 -1
@@ -1,6 +1,148 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ActionType, AquaConfiguration, AquaConfigurationStatus, AuthorizedTokenIssuer, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, DataShare, DataShareStatusForConsumer, DataShareStatusForProducer, DefaultClusterParameters, EndpointAccess, EndpointAuthorization, EventSubscription, HsmClientCertificate, HsmConfiguration, Integration, IntegrationError, Parameter, RecurringCharge, RedshiftIdcApplication, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, ServiceIntegrationsUnion, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType, ZeroETLIntegrationStatus } from "./models_0";
2
+ import { ActionType, AquaConfiguration, AquaConfigurationStatus, AuthenticationProfile, AuthorizedTokenIssuer, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, DataShare, DataShareStatusForConsumer, DataShareStatusForProducer, DefaultClusterParameters, EndpointAccess, EndpointAuthorization, EventSubscription, HsmClientCertificate, HsmConfiguration, Integration, IntegrationError, NamespaceIdentifierUnion, Parameter, RecurringCharge, RedshiftIdcApplication, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, ServiceIntegrationsUnion, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType, ZeroETLIntegrationStatus } from "./models_0";
3
3
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
4
+ /**
5
+ * @public
6
+ * @enum
7
+ */
8
+ export declare const NamespaceRegistrationStatus: {
9
+ readonly DEREGISTERING: "Deregistering";
10
+ readonly REGISTERING: "Registering";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type NamespaceRegistrationStatus = (typeof NamespaceRegistrationStatus)[keyof typeof NamespaceRegistrationStatus];
16
+ /**
17
+ * @public
18
+ */
19
+ export interface DeregisterNamespaceOutputMessage {
20
+ /**
21
+ * <p>The registration status of the cluster or
22
+ * serverless namespace.</p>
23
+ * @public
24
+ */
25
+ Status?: NamespaceRegistrationStatus | undefined;
26
+ }
27
+ /**
28
+ * @public
29
+ */
30
+ export interface DescribeAccountAttributesMessage {
31
+ /**
32
+ * <p>A list of attribute names.</p>
33
+ * @public
34
+ */
35
+ AttributeNames?: string[] | undefined;
36
+ }
37
+ /**
38
+ * @public
39
+ */
40
+ export interface DescribeAuthenticationProfilesMessage {
41
+ /**
42
+ * <p>The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.</p>
43
+ * @public
44
+ */
45
+ AuthenticationProfileName?: string | undefined;
46
+ }
47
+ /**
48
+ * @public
49
+ */
50
+ export interface DescribeAuthenticationProfilesResult {
51
+ /**
52
+ * <p>The list of authentication profiles.</p>
53
+ * @public
54
+ */
55
+ AuthenticationProfiles?: AuthenticationProfile[] | undefined;
56
+ }
57
+ /**
58
+ * @public
59
+ */
60
+ export interface DescribeClusterDbRevisionsMessage {
61
+ /**
62
+ * <p>A unique identifier for a cluster whose <code>ClusterDbRevisions</code> you are
63
+ * requesting. This parameter is case sensitive. All clusters defined for an account are
64
+ * returned by default.</p>
65
+ * @public
66
+ */
67
+ ClusterIdentifier?: string | undefined;
68
+ /**
69
+ * <p>The maximum number of response records to return in each call. If the number of
70
+ * remaining response records exceeds the specified MaxRecords value, a value is returned
71
+ * in the <code>marker</code> field of the response. You can retrieve the next set of
72
+ * response records by providing the returned <code>marker</code> value in the
73
+ * <code>marker</code> parameter and retrying the request. </p>
74
+ * <p>Default: 100</p>
75
+ * <p>Constraints: minimum 20, maximum 100.</p>
76
+ * @public
77
+ */
78
+ MaxRecords?: number | undefined;
79
+ /**
80
+ * <p>An optional parameter that specifies the starting point for returning a set of
81
+ * response records. When the results of a <code>DescribeClusterDbRevisions</code> request
82
+ * exceed the value specified in <code>MaxRecords</code>, Amazon Redshift returns a value
83
+ * in the <code>marker</code> field of the response. You can retrieve the next set of
84
+ * response records by providing the returned <code>marker</code> value in the
85
+ * <code>marker</code> parameter and retrying the request. </p>
86
+ * <p>Constraints: You can specify either the <code>ClusterIdentifier</code> parameter, or
87
+ * the <code>marker</code> parameter, but not both.</p>
88
+ * @public
89
+ */
90
+ Marker?: string | undefined;
91
+ }
92
+ /**
93
+ * <p></p>
94
+ * @public
95
+ */
96
+ export interface DescribeClusterParameterGroupsMessage {
97
+ /**
98
+ * <p>The name of a specific parameter group for which to return details. By default,
99
+ * details about all parameter groups and the default parameter group are
100
+ * returned.</p>
101
+ * @public
102
+ */
103
+ ParameterGroupName?: string | undefined;
104
+ /**
105
+ * <p>The maximum number of response records to return in each call. If the number of
106
+ * remaining response records exceeds the specified <code>MaxRecords</code> value, a value
107
+ * is returned in a <code>marker</code> field of the response. You can retrieve the next
108
+ * set of records by retrying the command with the returned marker value. </p>
109
+ * <p>Default: <code>100</code>
110
+ * </p>
111
+ * <p>Constraints: minimum 20, maximum 100.</p>
112
+ * @public
113
+ */
114
+ MaxRecords?: number | undefined;
115
+ /**
116
+ * <p>An optional parameter that specifies the starting point to return a set of response
117
+ * records. When the results of a <a>DescribeClusterParameterGroups</a> request
118
+ * exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the
119
+ * <code>Marker</code> field of the response. You can retrieve the next set of response
120
+ * records by providing the returned marker value in the <code>Marker</code> parameter and
121
+ * retrying the request. </p>
122
+ * @public
123
+ */
124
+ Marker?: string | undefined;
125
+ /**
126
+ * <p>A tag key or keys for which you want to return all matching cluster parameter
127
+ * groups that are associated with the specified key or keys. For example, suppose that you
128
+ * have parameter groups that are tagged with keys called <code>owner</code> and
129
+ * <code>environment</code>. If you specify both of these tag keys in the request,
130
+ * Amazon Redshift returns a response with the parameter groups that have either or both of these
131
+ * tag keys associated with them.</p>
132
+ * @public
133
+ */
134
+ TagKeys?: string[] | undefined;
135
+ /**
136
+ * <p>A tag value or values for which you want to return all matching cluster parameter
137
+ * groups that are associated with the specified tag value or values. For example, suppose
138
+ * that you have parameter groups that are tagged with values called <code>admin</code> and
139
+ * <code>test</code>. If you specify both of these tag values in the request, Amazon Redshift
140
+ * returns a response with the parameter groups that have either or both of these tag
141
+ * values associated with them.</p>
142
+ * @public
143
+ */
144
+ TagValues?: string[] | undefined;
145
+ }
4
146
  /**
5
147
  * <p></p>
6
148
  * @public
@@ -4841,6 +4983,34 @@ export interface RebootClusterResult {
4841
4983
  */
4842
4984
  Cluster?: Cluster | undefined;
4843
4985
  }
4986
+ /**
4987
+ * @public
4988
+ */
4989
+ export interface RegisterNamespaceInputMessage {
4990
+ /**
4991
+ * <p>The unique identifier of the cluster or
4992
+ * serverless namespace that you want to register. </p>
4993
+ * @public
4994
+ */
4995
+ NamespaceIdentifier: NamespaceIdentifierUnion | undefined;
4996
+ /**
4997
+ * <p>An array containing the ID of the consumer account
4998
+ * that you want to register the namespace to.</p>
4999
+ * @public
5000
+ */
5001
+ ConsumerIdentifiers: string[] | undefined;
5002
+ }
5003
+ /**
5004
+ * @public
5005
+ */
5006
+ export interface RegisterNamespaceOutputMessage {
5007
+ /**
5008
+ * <p>The registration status of the cluster or
5009
+ * serverless namespace.</p>
5010
+ * @public
5011
+ */
5012
+ Status?: NamespaceRegistrationStatus | undefined;
5013
+ }
4844
5014
  /**
4845
5015
  * @public
4846
5016
  */
@@ -50,6 +50,7 @@ import { DeleteSnapshotCopyGrantCommandInput, DeleteSnapshotCopyGrantCommandOutp
50
50
  import { DeleteSnapshotScheduleCommandInput, DeleteSnapshotScheduleCommandOutput } from "../commands/DeleteSnapshotScheduleCommand";
51
51
  import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "../commands/DeleteTagsCommand";
52
52
  import { DeleteUsageLimitCommandInput, DeleteUsageLimitCommandOutput } from "../commands/DeleteUsageLimitCommand";
53
+ import { DeregisterNamespaceCommandInput, DeregisterNamespaceCommandOutput } from "../commands/DeregisterNamespaceCommand";
53
54
  import { DescribeAccountAttributesCommandInput, DescribeAccountAttributesCommandOutput } from "../commands/DescribeAccountAttributesCommand";
54
55
  import { DescribeAuthenticationProfilesCommandInput, DescribeAuthenticationProfilesCommandOutput } from "../commands/DescribeAuthenticationProfilesCommand";
55
56
  import { DescribeClusterDbRevisionsCommandInput, DescribeClusterDbRevisionsCommandOutput } from "../commands/DescribeClusterDbRevisionsCommand";
@@ -126,6 +127,7 @@ import { PauseClusterCommandInput, PauseClusterCommandOutput } from "../commands
126
127
  import { PurchaseReservedNodeOfferingCommandInput, PurchaseReservedNodeOfferingCommandOutput } from "../commands/PurchaseReservedNodeOfferingCommand";
127
128
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
128
129
  import { RebootClusterCommandInput, RebootClusterCommandOutput } from "../commands/RebootClusterCommand";
130
+ import { RegisterNamespaceCommandInput, RegisterNamespaceCommandOutput } from "../commands/RegisterNamespaceCommand";
129
131
  import { RejectDataShareCommandInput, RejectDataShareCommandOutput } from "../commands/RejectDataShareCommand";
130
132
  import { ResetClusterParameterGroupCommandInput, ResetClusterParameterGroupCommandOutput } from "../commands/ResetClusterParameterGroupCommand";
131
133
  import { ResizeClusterCommandInput, ResizeClusterCommandOutput } from "../commands/ResizeClusterCommand";
@@ -337,6 +339,10 @@ export declare const se_DeleteTagsCommand: (input: DeleteTagsCommandInput, conte
337
339
  * serializeAws_queryDeleteUsageLimitCommand
338
340
  */
339
341
  export declare const se_DeleteUsageLimitCommand: (input: DeleteUsageLimitCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
342
+ /**
343
+ * serializeAws_queryDeregisterNamespaceCommand
344
+ */
345
+ export declare const se_DeregisterNamespaceCommand: (input: DeregisterNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
340
346
  /**
341
347
  * serializeAws_queryDescribeAccountAttributesCommand
342
348
  */
@@ -641,6 +647,10 @@ export declare const se_PutResourcePolicyCommand: (input: PutResourcePolicyComma
641
647
  * serializeAws_queryRebootClusterCommand
642
648
  */
643
649
  export declare const se_RebootClusterCommand: (input: RebootClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
650
+ /**
651
+ * serializeAws_queryRegisterNamespaceCommand
652
+ */
653
+ export declare const se_RegisterNamespaceCommand: (input: RegisterNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
644
654
  /**
645
655
  * serializeAws_queryRejectDataShareCommand
646
656
  */
@@ -885,6 +895,10 @@ export declare const de_DeleteTagsCommand: (output: __HttpResponse, context: __S
885
895
  * deserializeAws_queryDeleteUsageLimitCommand
886
896
  */
887
897
  export declare const de_DeleteUsageLimitCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteUsageLimitCommandOutput>;
898
+ /**
899
+ * deserializeAws_queryDeregisterNamespaceCommand
900
+ */
901
+ export declare const de_DeregisterNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterNamespaceCommandOutput>;
888
902
  /**
889
903
  * deserializeAws_queryDescribeAccountAttributesCommand
890
904
  */
@@ -1189,6 +1203,10 @@ export declare const de_PutResourcePolicyCommand: (output: __HttpResponse, conte
1189
1203
  * deserializeAws_queryRebootClusterCommand
1190
1204
  */
1191
1205
  export declare const de_RebootClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RebootClusterCommandOutput>;
1206
+ /**
1207
+ * deserializeAws_queryRegisterNamespaceCommand
1208
+ */
1209
+ export declare const de_RegisterNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterNamespaceCommandOutput>;
1192
1210
  /**
1193
1211
  * deserializeAws_queryRejectDataShareCommand
1194
1212
  */
@@ -199,6 +199,10 @@ import {
199
199
  DeleteUsageLimitCommandInput,
200
200
  DeleteUsageLimitCommandOutput,
201
201
  } from "./commands/DeleteUsageLimitCommand";
202
+ import {
203
+ DeregisterNamespaceCommandInput,
204
+ DeregisterNamespaceCommandOutput,
205
+ } from "./commands/DeregisterNamespaceCommand";
202
206
  import {
203
207
  DescribeAccountAttributesCommandInput,
204
208
  DescribeAccountAttributesCommandOutput,
@@ -503,6 +507,10 @@ import {
503
507
  RebootClusterCommandInput,
504
508
  RebootClusterCommandOutput,
505
509
  } from "./commands/RebootClusterCommand";
510
+ import {
511
+ RegisterNamespaceCommandInput,
512
+ RegisterNamespaceCommandOutput,
513
+ } from "./commands/RegisterNamespaceCommand";
506
514
  import {
507
515
  RejectDataShareCommandInput,
508
516
  RejectDataShareCommandOutput,
@@ -1206,6 +1214,19 @@ export interface Redshift {
1206
1214
  options: __HttpHandlerOptions,
1207
1215
  cb: (err: any, data?: DeleteUsageLimitCommandOutput) => void
1208
1216
  ): void;
1217
+ deregisterNamespace(
1218
+ args: DeregisterNamespaceCommandInput,
1219
+ options?: __HttpHandlerOptions
1220
+ ): Promise<DeregisterNamespaceCommandOutput>;
1221
+ deregisterNamespace(
1222
+ args: DeregisterNamespaceCommandInput,
1223
+ cb: (err: any, data?: DeregisterNamespaceCommandOutput) => void
1224
+ ): void;
1225
+ deregisterNamespace(
1226
+ args: DeregisterNamespaceCommandInput,
1227
+ options: __HttpHandlerOptions,
1228
+ cb: (err: any, data?: DeregisterNamespaceCommandOutput) => void
1229
+ ): void;
1209
1230
  describeAccountAttributes(): Promise<DescribeAccountAttributesCommandOutput>;
1210
1231
  describeAccountAttributes(
1211
1232
  args: DescribeAccountAttributesCommandInput,
@@ -2249,6 +2270,19 @@ export interface Redshift {
2249
2270
  options: __HttpHandlerOptions,
2250
2271
  cb: (err: any, data?: RebootClusterCommandOutput) => void
2251
2272
  ): void;
2273
+ registerNamespace(
2274
+ args: RegisterNamespaceCommandInput,
2275
+ options?: __HttpHandlerOptions
2276
+ ): Promise<RegisterNamespaceCommandOutput>;
2277
+ registerNamespace(
2278
+ args: RegisterNamespaceCommandInput,
2279
+ cb: (err: any, data?: RegisterNamespaceCommandOutput) => void
2280
+ ): void;
2281
+ registerNamespace(
2282
+ args: RegisterNamespaceCommandInput,
2283
+ options: __HttpHandlerOptions,
2284
+ cb: (err: any, data?: RegisterNamespaceCommandOutput) => void
2285
+ ): void;
2252
2286
  rejectDataShare(
2253
2287
  args: RejectDataShareCommandInput,
2254
2288
  options?: __HttpHandlerOptions
@@ -245,6 +245,10 @@ import {
245
245
  DeleteUsageLimitCommandInput,
246
246
  DeleteUsageLimitCommandOutput,
247
247
  } from "./commands/DeleteUsageLimitCommand";
248
+ import {
249
+ DeregisterNamespaceCommandInput,
250
+ DeregisterNamespaceCommandOutput,
251
+ } from "./commands/DeregisterNamespaceCommand";
248
252
  import {
249
253
  DescribeAccountAttributesCommandInput,
250
254
  DescribeAccountAttributesCommandOutput,
@@ -549,6 +553,10 @@ import {
549
553
  RebootClusterCommandInput,
550
554
  RebootClusterCommandOutput,
551
555
  } from "./commands/RebootClusterCommand";
556
+ import {
557
+ RegisterNamespaceCommandInput,
558
+ RegisterNamespaceCommandOutput,
559
+ } from "./commands/RegisterNamespaceCommand";
552
560
  import {
553
561
  RejectDataShareCommandInput,
554
562
  RejectDataShareCommandOutput,
@@ -651,6 +659,7 @@ export type ServiceInputTypes =
651
659
  | DeleteSnapshotScheduleCommandInput
652
660
  | DeleteTagsCommandInput
653
661
  | DeleteUsageLimitCommandInput
662
+ | DeregisterNamespaceCommandInput
654
663
  | DescribeAccountAttributesCommandInput
655
664
  | DescribeAuthenticationProfilesCommandInput
656
665
  | DescribeClusterDbRevisionsCommandInput
@@ -727,6 +736,7 @@ export type ServiceInputTypes =
727
736
  | PurchaseReservedNodeOfferingCommandInput
728
737
  | PutResourcePolicyCommandInput
729
738
  | RebootClusterCommandInput
739
+ | RegisterNamespaceCommandInput
730
740
  | RejectDataShareCommandInput
731
741
  | ResetClusterParameterGroupCommandInput
732
742
  | ResizeClusterCommandInput
@@ -789,6 +799,7 @@ export type ServiceOutputTypes =
789
799
  | DeleteSnapshotScheduleCommandOutput
790
800
  | DeleteTagsCommandOutput
791
801
  | DeleteUsageLimitCommandOutput
802
+ | DeregisterNamespaceCommandOutput
792
803
  | DescribeAccountAttributesCommandOutput
793
804
  | DescribeAuthenticationProfilesCommandOutput
794
805
  | DescribeClusterDbRevisionsCommandOutput
@@ -865,6 +876,7 @@ export type ServiceOutputTypes =
865
876
  | PurchaseReservedNodeOfferingCommandOutput
866
877
  | PutResourcePolicyCommandOutput
867
878
  | RebootClusterCommandOutput
879
+ | RegisterNamespaceCommandOutput
868
880
  | RejectDataShareCommandOutput
869
881
  | ResetClusterParameterGroupCommandOutput
870
882
  | ResizeClusterCommandOutput
@@ -0,0 +1,49 @@
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 {
6
+ RedshiftClientResolvedConfig,
7
+ ServiceInputTypes,
8
+ ServiceOutputTypes,
9
+ } from "../RedshiftClient";
10
+ export { __MetadataBearer };
11
+ export { $Command };
12
+ export interface DeregisterNamespaceCommandInput
13
+ extends DeregisterNamespaceInputMessage {}
14
+ export interface DeregisterNamespaceCommandOutput
15
+ extends DeregisterNamespaceOutputMessage,
16
+ __MetadataBearer {}
17
+ declare const DeregisterNamespaceCommand_base: {
18
+ new (
19
+ input: DeregisterNamespaceCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ DeregisterNamespaceCommandInput,
22
+ DeregisterNamespaceCommandOutput,
23
+ RedshiftClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ __0_0: DeregisterNamespaceCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ DeregisterNamespaceCommandInput,
31
+ DeregisterNamespaceCommandOutput,
32
+ RedshiftClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class DeregisterNamespaceCommand extends DeregisterNamespaceCommand_base {
39
+ protected static __types: {
40
+ api: {
41
+ input: DeregisterNamespaceInputMessage;
42
+ output: DeregisterNamespaceOutputMessage;
43
+ };
44
+ sdk: {
45
+ input: DeregisterNamespaceCommandInput;
46
+ output: DeregisterNamespaceCommandOutput;
47
+ };
48
+ };
49
+ }
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AccountAttributeList,
5
- DescribeAccountAttributesMessage,
6
- } from "../models/models_0";
3
+ import { AccountAttributeList } from "../models/models_0";
4
+ import { DescribeAccountAttributesMessage } from "../models/models_1";
7
5
  import {
8
6
  RedshiftClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  DescribeAuthenticationProfilesMessage,
5
5
  DescribeAuthenticationProfilesResult,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  RedshiftClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ClusterDbRevisionsMessage,
5
- DescribeClusterDbRevisionsMessage,
6
- } from "../models/models_0";
3
+ import { ClusterDbRevisionsMessage } from "../models/models_0";
4
+ import { DescribeClusterDbRevisionsMessage } from "../models/models_1";
7
5
  import {
8
6
  RedshiftClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ClusterParameterGroupsMessage,
5
- DescribeClusterParameterGroupsMessage,
6
- } from "../models/models_0";
3
+ import { ClusterParameterGroupsMessage } from "../models/models_0";
4
+ import { DescribeClusterParameterGroupsMessage } from "../models/models_1";
7
5
  import {
8
6
  RedshiftClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ RegisterNamespaceInputMessage,
5
+ RegisterNamespaceOutputMessage,
6
+ } from "../models/models_1";
7
+ import {
8
+ RedshiftClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RedshiftClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface RegisterNamespaceCommandInput
15
+ extends RegisterNamespaceInputMessage {}
16
+ export interface RegisterNamespaceCommandOutput
17
+ extends RegisterNamespaceOutputMessage,
18
+ __MetadataBearer {}
19
+ declare const RegisterNamespaceCommand_base: {
20
+ new (
21
+ input: RegisterNamespaceCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ RegisterNamespaceCommandInput,
24
+ RegisterNamespaceCommandOutput,
25
+ RedshiftClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: RegisterNamespaceCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ RegisterNamespaceCommandInput,
33
+ RegisterNamespaceCommandOutput,
34
+ RedshiftClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class RegisterNamespaceCommand extends RegisterNamespaceCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: RegisterNamespaceInputMessage;
44
+ output: RegisterNamespaceOutputMessage;
45
+ };
46
+ sdk: {
47
+ input: RegisterNamespaceCommandInput;
48
+ output: RegisterNamespaceCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";
@@ -201,12 +201,17 @@ export interface DataShareAssociation {
201
201
  ProducerAllowedWrites?: boolean | undefined;
202
202
  ConsumerAcceptedWrites?: boolean | undefined;
203
203
  }
204
+ export declare const DataShareType: {
205
+ readonly INTERNAL: "INTERNAL";
206
+ };
207
+ export type DataShareType = (typeof DataShareType)[keyof typeof DataShareType];
204
208
  export interface DataShare {
205
209
  DataShareArn?: string | undefined;
206
210
  ProducerArn?: string | undefined;
207
211
  AllowPubliclyAccessibleConsumers?: boolean | undefined;
208
212
  DataShareAssociations?: DataShareAssociation[] | undefined;
209
213
  ManagedBy?: string | undefined;
214
+ DataShareType?: DataShareType | undefined;
210
215
  }
211
216
  export declare class InvalidDataShareFault extends __BaseException {
212
217
  readonly name: "InvalidDataShareFault";
@@ -2162,26 +2167,43 @@ export declare class UsageLimitNotFoundFault extends __BaseException {
2162
2167
  opts: __ExceptionOptionType<UsageLimitNotFoundFault, __BaseException>
2163
2168
  );
2164
2169
  }
2165
- export interface DescribeAccountAttributesMessage {
2166
- AttributeNames?: string[] | undefined;
2167
- }
2168
- export interface DescribeAuthenticationProfilesMessage {
2169
- AuthenticationProfileName?: string | undefined;
2170
- }
2171
- export interface DescribeAuthenticationProfilesResult {
2172
- AuthenticationProfiles?: AuthenticationProfile[] | undefined;
2170
+ export interface ProvisionedIdentifier {
2171
+ ClusterIdentifier: string | undefined;
2173
2172
  }
2174
- export interface DescribeClusterDbRevisionsMessage {
2175
- ClusterIdentifier?: string | undefined;
2176
- MaxRecords?: number | undefined;
2177
- Marker?: string | undefined;
2173
+ export interface ServerlessIdentifier {
2174
+ NamespaceIdentifier: string | undefined;
2175
+ WorkgroupIdentifier: string | undefined;
2176
+ }
2177
+ export type NamespaceIdentifierUnion =
2178
+ | NamespaceIdentifierUnion.ProvisionedIdentifierMember
2179
+ | NamespaceIdentifierUnion.ServerlessIdentifierMember
2180
+ | NamespaceIdentifierUnion.$UnknownMember;
2181
+ export declare namespace NamespaceIdentifierUnion {
2182
+ interface ServerlessIdentifierMember {
2183
+ ServerlessIdentifier: ServerlessIdentifier;
2184
+ ProvisionedIdentifier?: never;
2185
+ $unknown?: never;
2186
+ }
2187
+ interface ProvisionedIdentifierMember {
2188
+ ServerlessIdentifier?: never;
2189
+ ProvisionedIdentifier: ProvisionedIdentifier;
2190
+ $unknown?: never;
2191
+ }
2192
+ interface $UnknownMember {
2193
+ ServerlessIdentifier?: never;
2194
+ ProvisionedIdentifier?: never;
2195
+ $unknown: [string, any];
2196
+ }
2197
+ interface Visitor<T> {
2198
+ ServerlessIdentifier: (value: ServerlessIdentifier) => T;
2199
+ ProvisionedIdentifier: (value: ProvisionedIdentifier) => T;
2200
+ _: (name: string, value: any) => T;
2201
+ }
2202
+ const visit: <T>(value: NamespaceIdentifierUnion, visitor: Visitor<T>) => T;
2178
2203
  }
2179
- export interface DescribeClusterParameterGroupsMessage {
2180
- ParameterGroupName?: string | undefined;
2181
- MaxRecords?: number | undefined;
2182
- Marker?: string | undefined;
2183
- TagKeys?: string[] | undefined;
2184
- TagValues?: string[] | undefined;
2204
+ export interface DeregisterNamespaceInputMessage {
2205
+ NamespaceIdentifier: NamespaceIdentifierUnion | undefined;
2206
+ ConsumerIdentifiers: string[] | undefined;
2185
2207
  }
2186
2208
  export declare const PendingModifiedValuesFilterSensitiveLog: (
2187
2209
  obj: PendingModifiedValues
@@ -3,6 +3,7 @@ import {
3
3
  ActionType,
4
4
  AquaConfiguration,
5
5
  AquaConfigurationStatus,
6
+ AuthenticationProfile,
6
7
  AuthorizedTokenIssuer,
7
8
  AvailabilityZone,
8
9
  Cluster,
@@ -19,6 +20,7 @@ import {
19
20
  HsmConfiguration,
20
21
  Integration,
21
22
  IntegrationError,
23
+ NamespaceIdentifierUnion,
22
24
  Parameter,
23
25
  RecurringCharge,
24
26
  RedshiftIdcApplication,
@@ -38,6 +40,36 @@ import {
38
40
  ZeroETLIntegrationStatus,
39
41
  } from "./models_0";
40
42
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
43
+ export declare const NamespaceRegistrationStatus: {
44
+ readonly DEREGISTERING: "Deregistering";
45
+ readonly REGISTERING: "Registering";
46
+ };
47
+ export type NamespaceRegistrationStatus =
48
+ (typeof NamespaceRegistrationStatus)[keyof typeof NamespaceRegistrationStatus];
49
+ export interface DeregisterNamespaceOutputMessage {
50
+ Status?: NamespaceRegistrationStatus | undefined;
51
+ }
52
+ export interface DescribeAccountAttributesMessage {
53
+ AttributeNames?: string[] | undefined;
54
+ }
55
+ export interface DescribeAuthenticationProfilesMessage {
56
+ AuthenticationProfileName?: string | undefined;
57
+ }
58
+ export interface DescribeAuthenticationProfilesResult {
59
+ AuthenticationProfiles?: AuthenticationProfile[] | undefined;
60
+ }
61
+ export interface DescribeClusterDbRevisionsMessage {
62
+ ClusterIdentifier?: string | undefined;
63
+ MaxRecords?: number | undefined;
64
+ Marker?: string | undefined;
65
+ }
66
+ export interface DescribeClusterParameterGroupsMessage {
67
+ ParameterGroupName?: string | undefined;
68
+ MaxRecords?: number | undefined;
69
+ Marker?: string | undefined;
70
+ TagKeys?: string[] | undefined;
71
+ TagValues?: string[] | undefined;
72
+ }
41
73
  export interface DescribeClusterParametersMessage {
42
74
  ParameterGroupName: string | undefined;
43
75
  Source?: string | undefined;
@@ -1088,6 +1120,13 @@ export interface RebootClusterMessage {
1088
1120
  export interface RebootClusterResult {
1089
1121
  Cluster?: Cluster | undefined;
1090
1122
  }
1123
+ export interface RegisterNamespaceInputMessage {
1124
+ NamespaceIdentifier: NamespaceIdentifierUnion | undefined;
1125
+ ConsumerIdentifiers: string[] | undefined;
1126
+ }
1127
+ export interface RegisterNamespaceOutputMessage {
1128
+ Status?: NamespaceRegistrationStatus | undefined;
1129
+ }
1091
1130
  export interface RejectDataShareMessage {
1092
1131
  DataShareArn: string | undefined;
1093
1132
  }