@aws-sdk/client-redshift 3.353.0 → 3.356.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 (76) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/Redshift.js +8 -0
  3. package/dist-cjs/commands/CreateCustomDomainAssociationCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteCustomDomainAssociationCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeCustomDomainAssociationsCommand.js +46 -0
  6. package/dist-cjs/commands/ModifyCustomDomainAssociationCommand.js +46 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoint/ruleset.js +3 -3
  9. package/dist-cjs/models/models_0.js +28 -9
  10. package/dist-cjs/models/models_1.js +8 -1
  11. package/dist-cjs/pagination/DescribeCustomDomainAssociationsPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +2 -1
  13. package/dist-cjs/protocols/Aws_query.js +387 -5
  14. package/dist-es/Redshift.js +8 -0
  15. package/dist-es/commands/CreateCustomDomainAssociationCommand.js +42 -0
  16. package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +42 -0
  17. package/dist-es/commands/DescribeCustomDomainAssociationsCommand.js +42 -0
  18. package/dist-es/commands/ModifyCustomDomainAssociationCommand.js +42 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +24 -7
  22. package/dist-es/models/models_1.js +7 -0
  23. package/dist-es/pagination/DescribeCustomDomainAssociationsPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +2 -1
  25. package/dist-es/protocols/Aws_query.js +375 -1
  26. package/dist-types/Redshift.d.ts +28 -0
  27. package/dist-types/RedshiftClient.d.ts +6 -2
  28. package/dist-types/commands/CreateClusterCommand.d.ts +3 -0
  29. package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +89 -0
  30. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
  31. package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +81 -0
  32. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -0
  33. package/dist-types/commands/DescribeCustomDomainAssociationsCommand.d.ts +94 -0
  34. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
  38. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +3 -0
  39. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +3 -0
  40. package/dist-types/commands/GetClusterCredentialsCommand.d.ts +2 -1
  41. package/dist-types/commands/GetClusterCredentialsWithIAMCommand.d.ts +2 -1
  42. package/dist-types/commands/ModifyClusterCommand.d.ts +9 -0
  43. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +3 -0
  44. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +3 -0
  45. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +3 -0
  46. package/dist-types/commands/ModifyCustomDomainAssociationCommand.d.ts +88 -0
  47. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +3 -0
  48. package/dist-types/commands/PauseClusterCommand.d.ts +3 -0
  49. package/dist-types/commands/RebootClusterCommand.d.ts +3 -0
  50. package/dist-types/commands/ResizeClusterCommand.d.ts +3 -0
  51. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +3 -0
  52. package/dist-types/commands/ResumeClusterCommand.d.ts +3 -0
  53. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +3 -0
  54. package/dist-types/commands/index.d.ts +4 -0
  55. package/dist-types/models/models_0.d.ts +156 -323
  56. package/dist-types/models/models_1.d.ts +369 -6
  57. package/dist-types/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +2 -1
  59. package/dist-types/protocols/Aws_query.d.ts +36 -0
  60. package/dist-types/ts3.4/Redshift.d.ts +68 -0
  61. package/dist-types/ts3.4/RedshiftClient.d.ts +24 -0
  62. package/dist-types/ts3.4/commands/CreateCustomDomainAssociationCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +38 -0
  64. package/dist-types/ts3.4/commands/DescribeCustomDomainAssociationsCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ModifyCustomDomainAssociationCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +53 -55
  72. package/dist-types/ts3.4/models/models_1.d.ts +72 -2
  73. package/dist-types/ts3.4/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  75. package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
  76. package/package.json +9 -9
@@ -7,7 +7,9 @@ import {
7
7
  Cluster,
8
8
  ClusterSecurityGroup,
9
9
  ClusterSubnetGroup,
10
+ EventCategoriesMap,
10
11
  EventSubscription,
12
+ HsmClientCertificate,
11
13
  HsmConfiguration,
12
14
  Parameter,
13
15
  RecurringCharge,
@@ -25,6 +27,61 @@ import {
25
27
  UsageLimitFeatureType,
26
28
  } from "./models_0";
27
29
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
30
+ export interface EventCategoriesMessage {
31
+ EventCategoriesMapList?: EventCategoriesMap[];
32
+ }
33
+ export declare const SourceType: {
34
+ readonly cluster: "cluster";
35
+ readonly cluster_parameter_group: "cluster-parameter-group";
36
+ readonly cluster_security_group: "cluster-security-group";
37
+ readonly cluster_snapshot: "cluster-snapshot";
38
+ readonly scheduled_action: "scheduled-action";
39
+ };
40
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
41
+ export interface DescribeEventsMessage {
42
+ SourceIdentifier?: string;
43
+ SourceType?: SourceType | string;
44
+ StartTime?: Date;
45
+ EndTime?: Date;
46
+ Duration?: number;
47
+ MaxRecords?: number;
48
+ Marker?: string;
49
+ }
50
+ export interface Event {
51
+ SourceIdentifier?: string;
52
+ SourceType?: SourceType | string;
53
+ Message?: string;
54
+ EventCategories?: string[];
55
+ Severity?: string;
56
+ Date?: Date;
57
+ EventId?: string;
58
+ }
59
+ export interface EventsMessage {
60
+ Marker?: string;
61
+ Events?: Event[];
62
+ }
63
+ export interface DescribeEventSubscriptionsMessage {
64
+ SubscriptionName?: string;
65
+ MaxRecords?: number;
66
+ Marker?: string;
67
+ TagKeys?: string[];
68
+ TagValues?: string[];
69
+ }
70
+ export interface EventSubscriptionsMessage {
71
+ Marker?: string;
72
+ EventSubscriptionsList?: EventSubscription[];
73
+ }
74
+ export interface DescribeHsmClientCertificatesMessage {
75
+ HsmClientCertificateIdentifier?: string;
76
+ MaxRecords?: number;
77
+ Marker?: string;
78
+ TagKeys?: string[];
79
+ TagValues?: string[];
80
+ }
81
+ export interface HsmClientCertificateMessage {
82
+ Marker?: string;
83
+ HsmClientCertificates?: HsmClientCertificate[];
84
+ }
28
85
  export interface DescribeHsmConfigurationsMessage {
29
86
  HsmConfigurationIdentifier?: string;
30
87
  MaxRecords?: number;
@@ -425,15 +482,17 @@ export declare class EndpointAuthorizationNotFoundFault extends __BaseException
425
482
  export interface GetClusterCredentialsMessage {
426
483
  DbUser: string | undefined;
427
484
  DbName?: string;
428
- ClusterIdentifier: string | undefined;
485
+ ClusterIdentifier?: string;
429
486
  DurationSeconds?: number;
430
487
  AutoCreate?: boolean;
431
488
  DbGroups?: string[];
489
+ CustomDomainName?: string;
432
490
  }
433
491
  export interface GetClusterCredentialsWithIAMMessage {
434
492
  DbName?: string;
435
- ClusterIdentifier: string | undefined;
493
+ ClusterIdentifier?: string;
436
494
  DurationSeconds?: number;
495
+ CustomDomainName?: string;
437
496
  }
438
497
  export declare const ReservedNodeExchangeActionType: {
439
498
  readonly RESIZE_CLUSTER: "resize-cluster";
@@ -609,6 +668,17 @@ export declare class SubnetAlreadyInUse extends __BaseException {
609
668
  readonly $fault: "client";
610
669
  constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
611
670
  }
671
+ export interface ModifyCustomDomainAssociationMessage {
672
+ CustomDomainName?: string;
673
+ CustomDomainCertificateArn?: string;
674
+ ClusterIdentifier: string | undefined;
675
+ }
676
+ export interface ModifyCustomDomainAssociationResult {
677
+ CustomDomainName?: string;
678
+ CustomDomainCertificateArn?: string;
679
+ ClusterIdentifier?: string;
680
+ CustomDomainCertExpiryTime?: string;
681
+ }
612
682
  export interface ModifyEndpointAccessMessage {
613
683
  EndpointName: string | undefined;
614
684
  VpcSecurityGroupIds?: string[];
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ DescribeCustomDomainAssociationsCommandInput,
4
+ DescribeCustomDomainAssociationsCommandOutput,
5
+ } from "../commands/DescribeCustomDomainAssociationsCommand";
6
+ import { RedshiftPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateDescribeCustomDomainAssociations(
8
+ config: RedshiftPaginationConfiguration,
9
+ input: DescribeCustomDomainAssociationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<DescribeCustomDomainAssociationsCommandOutput>;
@@ -7,8 +7,9 @@ export * from "./DescribeClusterSubnetGroupsPaginator";
7
7
  export * from "./DescribeClusterTracksPaginator";
8
8
  export * from "./DescribeClusterVersionsPaginator";
9
9
  export * from "./DescribeClustersPaginator";
10
- export * from "./DescribeDataSharesForConsumerPaginator";
10
+ export * from "./DescribeCustomDomainAssociationsPaginator";
11
11
  export * from "./Interfaces";
12
+ export * from "./DescribeDataSharesForConsumerPaginator";
12
13
  export * from "./DescribeDataSharesForProducerPaginator";
13
14
  export * from "./DescribeDataSharesPaginator";
14
15
  export * from "./DescribeDefaultClusterParametersPaginator";
@@ -71,6 +71,10 @@ import {
71
71
  CreateClusterSubnetGroupCommandInput,
72
72
  CreateClusterSubnetGroupCommandOutput,
73
73
  } from "../commands/CreateClusterSubnetGroupCommand";
74
+ import {
75
+ CreateCustomDomainAssociationCommandInput,
76
+ CreateCustomDomainAssociationCommandOutput,
77
+ } from "../commands/CreateCustomDomainAssociationCommand";
74
78
  import {
75
79
  CreateEndpointAccessCommandInput,
76
80
  CreateEndpointAccessCommandOutput,
@@ -135,6 +139,10 @@ import {
135
139
  DeleteClusterSubnetGroupCommandInput,
136
140
  DeleteClusterSubnetGroupCommandOutput,
137
141
  } from "../commands/DeleteClusterSubnetGroupCommand";
142
+ import {
143
+ DeleteCustomDomainAssociationCommandInput,
144
+ DeleteCustomDomainAssociationCommandOutput,
145
+ } from "../commands/DeleteCustomDomainAssociationCommand";
138
146
  import {
139
147
  DeleteEndpointAccessCommandInput,
140
148
  DeleteEndpointAccessCommandOutput,
@@ -219,6 +227,10 @@ import {
219
227
  DescribeClusterVersionsCommandInput,
220
228
  DescribeClusterVersionsCommandOutput,
221
229
  } from "../commands/DescribeClusterVersionsCommand";
230
+ import {
231
+ DescribeCustomDomainAssociationsCommandInput,
232
+ DescribeCustomDomainAssociationsCommandOutput,
233
+ } from "../commands/DescribeCustomDomainAssociationsCommand";
222
234
  import {
223
235
  DescribeDataSharesCommandInput,
224
236
  DescribeDataSharesCommandOutput,
@@ -399,6 +411,10 @@ import {
399
411
  ModifyClusterSubnetGroupCommandInput,
400
412
  ModifyClusterSubnetGroupCommandOutput,
401
413
  } from "../commands/ModifyClusterSubnetGroupCommand";
414
+ import {
415
+ ModifyCustomDomainAssociationCommandInput,
416
+ ModifyCustomDomainAssociationCommandOutput,
417
+ } from "../commands/ModifyCustomDomainAssociationCommand";
402
418
  import {
403
419
  ModifyEndpointAccessCommandInput,
404
420
  ModifyEndpointAccessCommandOutput,
@@ -547,6 +563,10 @@ export declare const se_CreateClusterSubnetGroupCommand: (
547
563
  input: CreateClusterSubnetGroupCommandInput,
548
564
  context: __SerdeContext
549
565
  ) => Promise<__HttpRequest>;
566
+ export declare const se_CreateCustomDomainAssociationCommand: (
567
+ input: CreateCustomDomainAssociationCommandInput,
568
+ context: __SerdeContext
569
+ ) => Promise<__HttpRequest>;
550
570
  export declare const se_CreateEndpointAccessCommand: (
551
571
  input: CreateEndpointAccessCommandInput,
552
572
  context: __SerdeContext
@@ -611,6 +631,10 @@ export declare const se_DeleteClusterSubnetGroupCommand: (
611
631
  input: DeleteClusterSubnetGroupCommandInput,
612
632
  context: __SerdeContext
613
633
  ) => Promise<__HttpRequest>;
634
+ export declare const se_DeleteCustomDomainAssociationCommand: (
635
+ input: DeleteCustomDomainAssociationCommandInput,
636
+ context: __SerdeContext
637
+ ) => Promise<__HttpRequest>;
614
638
  export declare const se_DeleteEndpointAccessCommand: (
615
639
  input: DeleteEndpointAccessCommandInput,
616
640
  context: __SerdeContext
@@ -695,6 +719,10 @@ export declare const se_DescribeClusterVersionsCommand: (
695
719
  input: DescribeClusterVersionsCommandInput,
696
720
  context: __SerdeContext
697
721
  ) => Promise<__HttpRequest>;
722
+ export declare const se_DescribeCustomDomainAssociationsCommand: (
723
+ input: DescribeCustomDomainAssociationsCommandInput,
724
+ context: __SerdeContext
725
+ ) => Promise<__HttpRequest>;
698
726
  export declare const se_DescribeDataSharesCommand: (
699
727
  input: DescribeDataSharesCommandInput,
700
728
  context: __SerdeContext
@@ -875,6 +903,10 @@ export declare const se_ModifyClusterSubnetGroupCommand: (
875
903
  input: ModifyClusterSubnetGroupCommandInput,
876
904
  context: __SerdeContext
877
905
  ) => Promise<__HttpRequest>;
906
+ export declare const se_ModifyCustomDomainAssociationCommand: (
907
+ input: ModifyCustomDomainAssociationCommandInput,
908
+ context: __SerdeContext
909
+ ) => Promise<__HttpRequest>;
878
910
  export declare const se_ModifyEndpointAccessCommand: (
879
911
  input: ModifyEndpointAccessCommandInput,
880
912
  context: __SerdeContext
@@ -1023,6 +1055,10 @@ export declare const de_CreateClusterSubnetGroupCommand: (
1023
1055
  output: __HttpResponse,
1024
1056
  context: __SerdeContext
1025
1057
  ) => Promise<CreateClusterSubnetGroupCommandOutput>;
1058
+ export declare const de_CreateCustomDomainAssociationCommand: (
1059
+ output: __HttpResponse,
1060
+ context: __SerdeContext
1061
+ ) => Promise<CreateCustomDomainAssociationCommandOutput>;
1026
1062
  export declare const de_CreateEndpointAccessCommand: (
1027
1063
  output: __HttpResponse,
1028
1064
  context: __SerdeContext
@@ -1087,6 +1123,10 @@ export declare const de_DeleteClusterSubnetGroupCommand: (
1087
1123
  output: __HttpResponse,
1088
1124
  context: __SerdeContext
1089
1125
  ) => Promise<DeleteClusterSubnetGroupCommandOutput>;
1126
+ export declare const de_DeleteCustomDomainAssociationCommand: (
1127
+ output: __HttpResponse,
1128
+ context: __SerdeContext
1129
+ ) => Promise<DeleteCustomDomainAssociationCommandOutput>;
1090
1130
  export declare const de_DeleteEndpointAccessCommand: (
1091
1131
  output: __HttpResponse,
1092
1132
  context: __SerdeContext
@@ -1171,6 +1211,10 @@ export declare const de_DescribeClusterVersionsCommand: (
1171
1211
  output: __HttpResponse,
1172
1212
  context: __SerdeContext
1173
1213
  ) => Promise<DescribeClusterVersionsCommandOutput>;
1214
+ export declare const de_DescribeCustomDomainAssociationsCommand: (
1215
+ output: __HttpResponse,
1216
+ context: __SerdeContext
1217
+ ) => Promise<DescribeCustomDomainAssociationsCommandOutput>;
1174
1218
  export declare const de_DescribeDataSharesCommand: (
1175
1219
  output: __HttpResponse,
1176
1220
  context: __SerdeContext
@@ -1351,6 +1395,10 @@ export declare const de_ModifyClusterSubnetGroupCommand: (
1351
1395
  output: __HttpResponse,
1352
1396
  context: __SerdeContext
1353
1397
  ) => Promise<ModifyClusterSubnetGroupCommandOutput>;
1398
+ export declare const de_ModifyCustomDomainAssociationCommand: (
1399
+ output: __HttpResponse,
1400
+ context: __SerdeContext
1401
+ ) => Promise<ModifyCustomDomainAssociationCommandOutput>;
1354
1402
  export declare const de_ModifyEndpointAccessCommand: (
1355
1403
  output: __HttpResponse,
1356
1404
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift",
3
3
  "description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
4
- "version": "3.353.0",
4
+ "version": "3.356.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.353.0",
25
- "@aws-sdk/config-resolver": "3.353.0",
26
- "@aws-sdk/credential-provider-node": "3.353.0",
24
+ "@aws-sdk/client-sts": "3.354.0",
25
+ "@aws-sdk/config-resolver": "3.354.0",
26
+ "@aws-sdk/credential-provider-node": "3.354.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.353.0",
28
28
  "@aws-sdk/hash-node": "3.347.0",
29
29
  "@aws-sdk/invalid-dependency": "3.347.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.347.0",
33
33
  "@aws-sdk/middleware-logger": "3.347.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
- "@aws-sdk/middleware-retry": "3.353.0",
35
+ "@aws-sdk/middleware-retry": "3.354.0",
36
36
  "@aws-sdk/middleware-serde": "3.347.0",
37
- "@aws-sdk/middleware-signing": "3.353.0",
37
+ "@aws-sdk/middleware-signing": "3.354.0",
38
38
  "@aws-sdk/middleware-stack": "3.347.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.352.0",
40
- "@aws-sdk/node-config-provider": "3.353.0",
40
+ "@aws-sdk/node-config-provider": "3.354.0",
41
41
  "@aws-sdk/node-http-handler": "3.350.0",
42
42
  "@aws-sdk/smithy-client": "3.347.0",
43
43
  "@aws-sdk/types": "3.347.0",
@@ -46,11 +46,11 @@
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.353.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.353.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.354.0",
50
50
  "@aws-sdk/util-endpoints": "3.352.0",
51
51
  "@aws-sdk/util-retry": "3.347.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.347.0",
53
- "@aws-sdk/util-user-agent-node": "3.353.0",
53
+ "@aws-sdk/util-user-agent-node": "3.354.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@aws-sdk/util-waiter": "3.347.0",
56
56
  "@smithy/protocol-http": "^1.0.1",