@aws-sdk/client-redshift 3.52.0 → 3.53.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.
@@ -1,5 +1,6 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ActionType, AquaConfiguration, AquaConfigurationStatus, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, EventSubscription, HsmConfiguration, Parameter, RecurringCharge, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType } from "./models_0";
3
+ import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
3
4
 
4
5
  export interface HsmConfigurationMessage {
5
6
 
@@ -229,10 +230,11 @@ export declare namespace DescribeReservedNodeExchangeStatusOutputMessage {
229
230
  const filterSensitiveLog: (obj: DescribeReservedNodeExchangeStatusOutputMessage) => any;
230
231
  }
231
232
 
232
- export interface ReservedNodeExchangeNotFoundFault extends __SmithyException, $MetadataBearer {
233
- name: "ReservedNodeExchangeNotFoundFault";
234
- $fault: "client";
235
- message?: string;
233
+ export declare class ReservedNodeExchangeNotFoundFault extends __BaseException {
234
+ readonly name: "ReservedNodeExchangeNotFoundFault";
235
+ readonly $fault: "client";
236
+
237
+ constructor(opts: __ExceptionOptionType<ReservedNodeExchangeNotFoundFault, __BaseException>);
236
238
  }
237
239
 
238
240
  export interface DescribeReservedNodeOfferingsMessage {
@@ -440,10 +442,11 @@ export declare namespace DescribeTableRestoreStatusMessage {
440
442
  const filterSensitiveLog: (obj: DescribeTableRestoreStatusMessage) => any;
441
443
  }
442
444
 
443
- export interface TableRestoreNotFoundFault extends __SmithyException, $MetadataBearer {
444
- name: "TableRestoreNotFoundFault";
445
- $fault: "client";
446
- message?: string;
445
+ export declare class TableRestoreNotFoundFault extends __BaseException {
446
+ readonly name: "TableRestoreNotFoundFault";
447
+ readonly $fault: "client";
448
+
449
+ constructor(opts: __ExceptionOptionType<TableRestoreNotFoundFault, __BaseException>);
447
450
  }
448
451
  export declare type TableRestoreStatusType = "CANCELED" | "FAILED" | "IN_PROGRESS" | "PENDING" | "SUCCEEDED";
449
452
 
@@ -592,10 +595,11 @@ export declare namespace DisableSnapshotCopyResult {
592
595
  const filterSensitiveLog: (obj: DisableSnapshotCopyResult) => any;
593
596
  }
594
597
 
595
- export interface SnapshotCopyAlreadyDisabledFault extends __SmithyException, $MetadataBearer {
596
- name: "SnapshotCopyAlreadyDisabledFault";
597
- $fault: "client";
598
- message?: string;
598
+ export declare class SnapshotCopyAlreadyDisabledFault extends __BaseException {
599
+ readonly name: "SnapshotCopyAlreadyDisabledFault";
600
+ readonly $fault: "client";
601
+
602
+ constructor(opts: __ExceptionOptionType<SnapshotCopyAlreadyDisabledFault, __BaseException>);
599
603
  }
600
604
  export interface DisassociateDataShareConsumerMessage {
601
605
 
@@ -625,22 +629,25 @@ export declare namespace EnableLoggingMessage {
625
629
  const filterSensitiveLog: (obj: EnableLoggingMessage) => any;
626
630
  }
627
631
 
628
- export interface InsufficientS3BucketPolicyFault extends __SmithyException, $MetadataBearer {
629
- name: "InsufficientS3BucketPolicyFault";
630
- $fault: "client";
631
- message?: string;
632
+ export declare class InsufficientS3BucketPolicyFault extends __BaseException {
633
+ readonly name: "InsufficientS3BucketPolicyFault";
634
+ readonly $fault: "client";
635
+
636
+ constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyFault, __BaseException>);
632
637
  }
633
638
 
634
- export interface InvalidS3BucketNameFault extends __SmithyException, $MetadataBearer {
635
- name: "InvalidS3BucketNameFault";
636
- $fault: "client";
637
- message?: string;
639
+ export declare class InvalidS3BucketNameFault extends __BaseException {
640
+ readonly name: "InvalidS3BucketNameFault";
641
+ readonly $fault: "client";
642
+
643
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketNameFault, __BaseException>);
638
644
  }
639
645
 
640
- export interface InvalidS3KeyPrefixFault extends __SmithyException, $MetadataBearer {
641
- name: "InvalidS3KeyPrefixFault";
642
- $fault: "client";
643
- message?: string;
646
+ export declare class InvalidS3KeyPrefixFault extends __BaseException {
647
+ readonly name: "InvalidS3KeyPrefixFault";
648
+ readonly $fault: "client";
649
+
650
+ constructor(opts: __ExceptionOptionType<InvalidS3KeyPrefixFault, __BaseException>);
644
651
  }
645
652
 
646
653
  export interface EnableSnapshotCopyMessage {
@@ -668,28 +675,32 @@ export declare namespace EnableSnapshotCopyResult {
668
675
  const filterSensitiveLog: (obj: EnableSnapshotCopyResult) => any;
669
676
  }
670
677
 
671
- export interface IncompatibleOrderableOptions extends __SmithyException, $MetadataBearer {
672
- name: "IncompatibleOrderableOptions";
673
- $fault: "client";
674
- message?: string;
678
+ export declare class IncompatibleOrderableOptions extends __BaseException {
679
+ readonly name: "IncompatibleOrderableOptions";
680
+ readonly $fault: "client";
681
+
682
+ constructor(opts: __ExceptionOptionType<IncompatibleOrderableOptions, __BaseException>);
675
683
  }
676
684
 
677
- export interface SnapshotCopyAlreadyEnabledFault extends __SmithyException, $MetadataBearer {
678
- name: "SnapshotCopyAlreadyEnabledFault";
679
- $fault: "client";
680
- message?: string;
685
+ export declare class SnapshotCopyAlreadyEnabledFault extends __BaseException {
686
+ readonly name: "SnapshotCopyAlreadyEnabledFault";
687
+ readonly $fault: "client";
688
+
689
+ constructor(opts: __ExceptionOptionType<SnapshotCopyAlreadyEnabledFault, __BaseException>);
681
690
  }
682
691
 
683
- export interface UnknownSnapshotCopyRegionFault extends __SmithyException, $MetadataBearer {
684
- name: "UnknownSnapshotCopyRegionFault";
685
- $fault: "client";
686
- message?: string;
692
+ export declare class UnknownSnapshotCopyRegionFault extends __BaseException {
693
+ readonly name: "UnknownSnapshotCopyRegionFault";
694
+ readonly $fault: "client";
695
+
696
+ constructor(opts: __ExceptionOptionType<UnknownSnapshotCopyRegionFault, __BaseException>);
687
697
  }
688
698
 
689
- export interface EndpointAuthorizationNotFoundFault extends __SmithyException, $MetadataBearer {
690
- name: "EndpointAuthorizationNotFoundFault";
691
- $fault: "client";
692
- message?: string;
699
+ export declare class EndpointAuthorizationNotFoundFault extends __BaseException {
700
+ readonly name: "EndpointAuthorizationNotFoundFault";
701
+ readonly $fault: "client";
702
+
703
+ constructor(opts: __ExceptionOptionType<EndpointAuthorizationNotFoundFault, __BaseException>);
693
704
  }
694
705
 
695
706
  export interface GetClusterCredentialsMessage {
@@ -777,22 +788,25 @@ export declare namespace GetReservedNodeExchangeOfferingsOutputMessage {
777
788
  const filterSensitiveLog: (obj: GetReservedNodeExchangeOfferingsOutputMessage) => any;
778
789
  }
779
790
 
780
- export interface InProgressTableRestoreQuotaExceededFault extends __SmithyException, $MetadataBearer {
781
- name: "InProgressTableRestoreQuotaExceededFault";
782
- $fault: "client";
783
- message?: string;
791
+ export declare class InProgressTableRestoreQuotaExceededFault extends __BaseException {
792
+ readonly name: "InProgressTableRestoreQuotaExceededFault";
793
+ readonly $fault: "client";
794
+
795
+ constructor(opts: __ExceptionOptionType<InProgressTableRestoreQuotaExceededFault, __BaseException>);
784
796
  }
785
797
 
786
- export interface InvalidRestoreFault extends __SmithyException, $MetadataBearer {
787
- name: "InvalidRestoreFault";
788
- $fault: "client";
789
- message?: string;
798
+ export declare class InvalidRestoreFault extends __BaseException {
799
+ readonly name: "InvalidRestoreFault";
800
+ readonly $fault: "client";
801
+
802
+ constructor(opts: __ExceptionOptionType<InvalidRestoreFault, __BaseException>);
790
803
  }
791
804
 
792
- export interface InvalidTableRestoreArgumentFault extends __SmithyException, $MetadataBearer {
793
- name: "InvalidTableRestoreArgumentFault";
794
- $fault: "client";
795
- message?: string;
805
+ export declare class InvalidTableRestoreArgumentFault extends __BaseException {
806
+ readonly name: "InvalidTableRestoreArgumentFault";
807
+ readonly $fault: "client";
808
+
809
+ constructor(opts: __ExceptionOptionType<InvalidTableRestoreArgumentFault, __BaseException>);
796
810
  }
797
811
  export interface ModifyAquaInputMessage {
798
812
 
@@ -898,16 +912,18 @@ export declare namespace ModifyClusterResult {
898
912
  const filterSensitiveLog: (obj: ModifyClusterResult) => any;
899
913
  }
900
914
 
901
- export interface TableLimitExceededFault extends __SmithyException, $MetadataBearer {
902
- name: "TableLimitExceededFault";
903
- $fault: "client";
904
- message?: string;
915
+ export declare class TableLimitExceededFault extends __BaseException {
916
+ readonly name: "TableLimitExceededFault";
917
+ readonly $fault: "client";
918
+
919
+ constructor(opts: __ExceptionOptionType<TableLimitExceededFault, __BaseException>);
905
920
  }
906
921
 
907
- export interface UnsupportedOptionFault extends __SmithyException, $MetadataBearer {
908
- name: "UnsupportedOptionFault";
909
- $fault: "client";
910
- message?: string;
922
+ export declare class UnsupportedOptionFault extends __BaseException {
923
+ readonly name: "UnsupportedOptionFault";
924
+ readonly $fault: "client";
925
+
926
+ constructor(opts: __ExceptionOptionType<UnsupportedOptionFault, __BaseException>);
911
927
  }
912
928
  export interface ModifyClusterDbRevisionMessage {
913
929
 
@@ -1041,10 +1057,11 @@ export declare namespace ModifyClusterSubnetGroupResult {
1041
1057
  const filterSensitiveLog: (obj: ModifyClusterSubnetGroupResult) => any;
1042
1058
  }
1043
1059
 
1044
- export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
1045
- name: "SubnetAlreadyInUse";
1046
- $fault: "client";
1047
- message?: string;
1060
+ export declare class SubnetAlreadyInUse extends __BaseException {
1061
+ readonly name: "SubnetAlreadyInUse";
1062
+ readonly $fault: "client";
1063
+
1064
+ constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
1048
1065
  }
1049
1066
  export interface ModifyEndpointAccessMessage {
1050
1067
 
@@ -1129,10 +1146,11 @@ export declare namespace ModifySnapshotCopyRetentionPeriodResult {
1129
1146
  const filterSensitiveLog: (obj: ModifySnapshotCopyRetentionPeriodResult) => any;
1130
1147
  }
1131
1148
 
1132
- export interface SnapshotCopyDisabledFault extends __SmithyException, $MetadataBearer {
1133
- name: "SnapshotCopyDisabledFault";
1134
- $fault: "client";
1135
- message?: string;
1149
+ export declare class SnapshotCopyDisabledFault extends __BaseException {
1150
+ readonly name: "SnapshotCopyDisabledFault";
1151
+ readonly $fault: "client";
1152
+
1153
+ constructor(opts: __ExceptionOptionType<SnapshotCopyDisabledFault, __BaseException>);
1136
1154
  }
1137
1155
  export interface ModifySnapshotScheduleMessage {
1138
1156
 
@@ -1145,10 +1163,11 @@ export declare namespace ModifySnapshotScheduleMessage {
1145
1163
  const filterSensitiveLog: (obj: ModifySnapshotScheduleMessage) => any;
1146
1164
  }
1147
1165
 
1148
- export interface SnapshotScheduleUpdateInProgressFault extends __SmithyException, $MetadataBearer {
1149
- name: "SnapshotScheduleUpdateInProgressFault";
1150
- $fault: "client";
1151
- message?: string;
1166
+ export declare class SnapshotScheduleUpdateInProgressFault extends __BaseException {
1167
+ readonly name: "SnapshotScheduleUpdateInProgressFault";
1168
+ readonly $fault: "client";
1169
+
1170
+ constructor(opts: __ExceptionOptionType<SnapshotScheduleUpdateInProgressFault, __BaseException>);
1152
1171
  }
1153
1172
  export interface ModifyUsageLimitMessage {
1154
1173
 
@@ -1190,10 +1209,11 @@ export declare namespace PurchaseReservedNodeOfferingResult {
1190
1209
  const filterSensitiveLog: (obj: PurchaseReservedNodeOfferingResult) => any;
1191
1210
  }
1192
1211
 
1193
- export interface ReservedNodeQuotaExceededFault extends __SmithyException, $MetadataBearer {
1194
- name: "ReservedNodeQuotaExceededFault";
1195
- $fault: "client";
1196
- message?: string;
1212
+ export declare class ReservedNodeQuotaExceededFault extends __BaseException {
1213
+ readonly name: "ReservedNodeQuotaExceededFault";
1214
+ readonly $fault: "client";
1215
+
1216
+ constructor(opts: __ExceptionOptionType<ReservedNodeQuotaExceededFault, __BaseException>);
1197
1217
  }
1198
1218
 
1199
1219
  export interface RebootClusterMessage {
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.52.0",
4
+ "version": "3.53.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",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.53.0",
52
52
  "entities": "2.2.0",
53
53
  "fast-xml-parser": "3.19.0",
54
54
  "tslib": "^2.3.0"