@aws-sdk/client-backup 3.52.0 → 3.54.1

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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
10
10
  import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
11
11
  import { CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput } from "./commands/CreateBackupVaultCommand";
@@ -94,7 +94,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
94
94
  * A function that can calculate the length of a request body.
95
95
  * @internal
96
96
  */
97
- bodyLengthChecker?: (body: any) => number | undefined;
97
+ bodyLengthChecker?: __BodyLengthCalculator;
98
98
  /**
99
99
  * A function that converts a stream into an array of bytes.
100
100
  * @internal
@@ -3,3 +3,4 @@ export * from "./BackupClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { BackupServiceException } from "./models/BackupServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Backup service.
4
+ */
5
+ export declare class BackupServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { BackupServiceException as __BaseException } from "./BackupServiceException";
2
3
  /**
3
4
  * <p>A list of backup options for each resource type.</p>
4
5
  */
@@ -37,9 +38,9 @@ export declare namespace AdvancedBackupSetting {
37
38
  /**
38
39
  * <p>The required resource already exists.</p>
39
40
  */
40
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
41
- name: "AlreadyExistsException";
42
- $fault: "client";
41
+ export declare class AlreadyExistsException extends __BaseException {
42
+ readonly name: "AlreadyExistsException";
43
+ readonly $fault: "client";
43
44
  Code?: string;
44
45
  Message?: string;
45
46
  /**
@@ -58,6 +59,10 @@ export interface AlreadyExistsException extends __SmithyException, $MetadataBear
58
59
  * <p></p>
59
60
  */
60
61
  Context?: string;
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
61
66
  }
62
67
  /**
63
68
  * <p>Contains information about the backup plan and rule that Backup used to
@@ -931,9 +936,9 @@ export declare namespace CalculatedLifecycle {
931
936
  * <p>Backup can't perform the action that you requested until it finishes
932
937
  * performing a previous action. Try again later.</p>
933
938
  */
934
- export interface ConflictException extends __SmithyException, $MetadataBearer {
935
- name: "ConflictException";
936
- $fault: "client";
939
+ export declare class ConflictException extends __BaseException {
940
+ readonly name: "ConflictException";
941
+ readonly $fault: "client";
937
942
  Code?: string;
938
943
  Message?: string;
939
944
  /**
@@ -944,6 +949,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
944
949
  * <p></p>
945
950
  */
946
951
  Context?: string;
952
+ /**
953
+ * @internal
954
+ */
955
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
947
956
  }
948
957
  /**
949
958
  * <p>A list of parameters for a control. A control can have zero, one, or more than one
@@ -1161,9 +1170,9 @@ export declare namespace CreateBackupPlanOutput {
1161
1170
  * <p>Indicates that something is wrong with a parameter's value. For example, the value is
1162
1171
  * out of range.</p>
1163
1172
  */
1164
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
1165
- name: "InvalidParameterValueException";
1166
- $fault: "client";
1173
+ export declare class InvalidParameterValueException extends __BaseException {
1174
+ readonly name: "InvalidParameterValueException";
1175
+ readonly $fault: "client";
1167
1176
  Code?: string;
1168
1177
  Message?: string;
1169
1178
  /**
@@ -1174,14 +1183,18 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
1174
1183
  * <p></p>
1175
1184
  */
1176
1185
  Context?: string;
1186
+ /**
1187
+ * @internal
1188
+ */
1189
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
1177
1190
  }
1178
1191
  /**
1179
1192
  * <p>A limit in the request has been exceeded; for example, a maximum number of items allowed
1180
1193
  * in a request.</p>
1181
1194
  */
1182
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
1183
- name: "LimitExceededException";
1184
- $fault: "client";
1195
+ export declare class LimitExceededException extends __BaseException {
1196
+ readonly name: "LimitExceededException";
1197
+ readonly $fault: "client";
1185
1198
  Code?: string;
1186
1199
  Message?: string;
1187
1200
  /**
@@ -1192,13 +1205,17 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
1192
1205
  * <p></p>
1193
1206
  */
1194
1207
  Context?: string;
1208
+ /**
1209
+ * @internal
1210
+ */
1211
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1195
1212
  }
1196
1213
  /**
1197
1214
  * <p>Indicates that a required parameter is missing.</p>
1198
1215
  */
1199
- export interface MissingParameterValueException extends __SmithyException, $MetadataBearer {
1200
- name: "MissingParameterValueException";
1201
- $fault: "client";
1216
+ export declare class MissingParameterValueException extends __BaseException {
1217
+ readonly name: "MissingParameterValueException";
1218
+ readonly $fault: "client";
1202
1219
  Code?: string;
1203
1220
  Message?: string;
1204
1221
  /**
@@ -1209,13 +1226,17 @@ export interface MissingParameterValueException extends __SmithyException, $Meta
1209
1226
  * <p></p>
1210
1227
  */
1211
1228
  Context?: string;
1229
+ /**
1230
+ * @internal
1231
+ */
1232
+ constructor(opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>);
1212
1233
  }
1213
1234
  /**
1214
1235
  * <p>The request failed due to a temporary failure of the server.</p>
1215
1236
  */
1216
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1217
- name: "ServiceUnavailableException";
1218
- $fault: "server";
1237
+ export declare class ServiceUnavailableException extends __BaseException {
1238
+ readonly name: "ServiceUnavailableException";
1239
+ readonly $fault: "server";
1219
1240
  Code?: string;
1220
1241
  Message?: string;
1221
1242
  /**
@@ -1226,6 +1247,10 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
1226
1247
  * <p></p>
1227
1248
  */
1228
1249
  Context?: string;
1250
+ /**
1251
+ * @internal
1252
+ */
1253
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1229
1254
  }
1230
1255
  export interface CreateBackupSelectionInput {
1231
1256
  /**
@@ -1587,9 +1612,9 @@ export declare namespace DeleteBackupPlanOutput {
1587
1612
  * <p>Indicates that something is wrong with the input to the request. For example, a
1588
1613
  * parameter is of the wrong type.</p>
1589
1614
  */
1590
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
1591
- name: "InvalidRequestException";
1592
- $fault: "client";
1615
+ export declare class InvalidRequestException extends __BaseException {
1616
+ readonly name: "InvalidRequestException";
1617
+ readonly $fault: "client";
1593
1618
  Code?: string;
1594
1619
  Message?: string;
1595
1620
  /**
@@ -1600,13 +1625,17 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
1600
1625
  * <p></p>
1601
1626
  */
1602
1627
  Context?: string;
1628
+ /**
1629
+ * @internal
1630
+ */
1631
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
1603
1632
  }
1604
1633
  /**
1605
1634
  * <p>A resource that is required for the action doesn't exist.</p>
1606
1635
  */
1607
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
1608
- name: "ResourceNotFoundException";
1609
- $fault: "client";
1636
+ export declare class ResourceNotFoundException extends __BaseException {
1637
+ readonly name: "ResourceNotFoundException";
1638
+ readonly $fault: "client";
1610
1639
  Code?: string;
1611
1640
  Message?: string;
1612
1641
  /**
@@ -1617,6 +1646,10 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
1617
1646
  * <p></p>
1618
1647
  */
1619
1648
  Context?: string;
1649
+ /**
1650
+ * @internal
1651
+ */
1652
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1620
1653
  }
1621
1654
  export interface DeleteBackupSelectionInput {
1622
1655
  /**
@@ -1727,9 +1760,9 @@ export declare namespace DeleteRecoveryPointInput {
1727
1760
  * <p>Backup is already performing an action on this recovery point. It can't
1728
1761
  * perform the action you requested until the first action finishes. Try again later.</p>
1729
1762
  */
1730
- export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
1731
- name: "InvalidResourceStateException";
1732
- $fault: "client";
1763
+ export declare class InvalidResourceStateException extends __BaseException {
1764
+ readonly name: "InvalidResourceStateException";
1765
+ readonly $fault: "client";
1733
1766
  Code?: string;
1734
1767
  Message?: string;
1735
1768
  /**
@@ -1740,6 +1773,10 @@ export interface InvalidResourceStateException extends __SmithyException, $Metad
1740
1773
  * <p></p>
1741
1774
  */
1742
1775
  Context?: string;
1776
+ /**
1777
+ * @internal
1778
+ */
1779
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
1743
1780
  }
1744
1781
  export interface DeleteReportPlanInput {
1745
1782
  /**
@@ -1756,9 +1793,9 @@ export declare namespace DeleteReportPlanInput {
1756
1793
  /**
1757
1794
  * <p>A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.</p>
1758
1795
  */
1759
- export interface DependencyFailureException extends __SmithyException, $MetadataBearer {
1760
- name: "DependencyFailureException";
1761
- $fault: "server";
1796
+ export declare class DependencyFailureException extends __BaseException {
1797
+ readonly name: "DependencyFailureException";
1798
+ readonly $fault: "server";
1762
1799
  Code?: string;
1763
1800
  Message?: string;
1764
1801
  /**
@@ -1769,6 +1806,10 @@ export interface DependencyFailureException extends __SmithyException, $Metadata
1769
1806
  * <p></p>
1770
1807
  */
1771
1808
  Context?: string;
1809
+ /**
1810
+ * @internal
1811
+ */
1812
+ constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
1772
1813
  }
1773
1814
  export interface DescribeBackupJobInput {
1774
1815
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
10
10
  import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
11
11
  import { CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput } from "./commands/CreateBackupVaultCommand";
@@ -82,7 +82,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
82
82
 
83
83
  urlParser?: __UrlParser;
84
84
 
85
- bodyLengthChecker?: (body: any) => number | undefined;
85
+ bodyLengthChecker?: __BodyLengthCalculator;
86
86
 
87
87
  streamCollector?: __StreamCollector;
88
88
 
@@ -3,3 +3,4 @@ export * from "./BackupClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { BackupServiceException } from "./models/BackupServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class BackupServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { BackupServiceException as __BaseException } from "./BackupServiceException";
2
3
 
3
4
  export interface AdvancedBackupSetting {
4
5
 
@@ -13,9 +14,9 @@ export declare namespace AdvancedBackupSetting {
13
14
  const filterSensitiveLog: (obj: AdvancedBackupSetting) => any;
14
15
  }
15
16
 
16
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
17
- name: "AlreadyExistsException";
18
- $fault: "client";
17
+ export declare class AlreadyExistsException extends __BaseException {
18
+ readonly name: "AlreadyExistsException";
19
+ readonly $fault: "client";
19
20
  Code?: string;
20
21
  Message?: string;
21
22
 
@@ -26,6 +27,8 @@ export interface AlreadyExistsException extends __SmithyException, $MetadataBear
26
27
  Type?: string;
27
28
 
28
29
  Context?: string;
30
+
31
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
29
32
  }
30
33
 
31
34
  export interface RecoveryPointCreator {
@@ -379,15 +382,17 @@ export declare namespace CalculatedLifecycle {
379
382
  const filterSensitiveLog: (obj: CalculatedLifecycle) => any;
380
383
  }
381
384
 
382
- export interface ConflictException extends __SmithyException, $MetadataBearer {
383
- name: "ConflictException";
384
- $fault: "client";
385
+ export declare class ConflictException extends __BaseException {
386
+ readonly name: "ConflictException";
387
+ readonly $fault: "client";
385
388
  Code?: string;
386
389
  Message?: string;
387
390
 
388
391
  Type?: string;
389
392
 
390
393
  Context?: string;
394
+
395
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
391
396
  }
392
397
 
393
398
  export interface ControlInputParameter {
@@ -489,48 +494,56 @@ export declare namespace CreateBackupPlanOutput {
489
494
  const filterSensitiveLog: (obj: CreateBackupPlanOutput) => any;
490
495
  }
491
496
 
492
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
493
- name: "InvalidParameterValueException";
494
- $fault: "client";
497
+ export declare class InvalidParameterValueException extends __BaseException {
498
+ readonly name: "InvalidParameterValueException";
499
+ readonly $fault: "client";
495
500
  Code?: string;
496
501
  Message?: string;
497
502
 
498
503
  Type?: string;
499
504
 
500
505
  Context?: string;
506
+
507
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
501
508
  }
502
509
 
503
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
504
- name: "LimitExceededException";
505
- $fault: "client";
510
+ export declare class LimitExceededException extends __BaseException {
511
+ readonly name: "LimitExceededException";
512
+ readonly $fault: "client";
506
513
  Code?: string;
507
514
  Message?: string;
508
515
 
509
516
  Type?: string;
510
517
 
511
518
  Context?: string;
519
+
520
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
512
521
  }
513
522
 
514
- export interface MissingParameterValueException extends __SmithyException, $MetadataBearer {
515
- name: "MissingParameterValueException";
516
- $fault: "client";
523
+ export declare class MissingParameterValueException extends __BaseException {
524
+ readonly name: "MissingParameterValueException";
525
+ readonly $fault: "client";
517
526
  Code?: string;
518
527
  Message?: string;
519
528
 
520
529
  Type?: string;
521
530
 
522
531
  Context?: string;
532
+
533
+ constructor(opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>);
523
534
  }
524
535
 
525
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
526
- name: "ServiceUnavailableException";
527
- $fault: "server";
536
+ export declare class ServiceUnavailableException extends __BaseException {
537
+ readonly name: "ServiceUnavailableException";
538
+ readonly $fault: "server";
528
539
  Code?: string;
529
540
  Message?: string;
530
541
 
531
542
  Type?: string;
532
543
 
533
544
  Context?: string;
545
+
546
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
534
547
  }
535
548
  export interface CreateBackupSelectionInput {
536
549
 
@@ -706,26 +719,30 @@ export declare namespace DeleteBackupPlanOutput {
706
719
  const filterSensitiveLog: (obj: DeleteBackupPlanOutput) => any;
707
720
  }
708
721
 
709
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
710
- name: "InvalidRequestException";
711
- $fault: "client";
722
+ export declare class InvalidRequestException extends __BaseException {
723
+ readonly name: "InvalidRequestException";
724
+ readonly $fault: "client";
712
725
  Code?: string;
713
726
  Message?: string;
714
727
 
715
728
  Type?: string;
716
729
 
717
730
  Context?: string;
731
+
732
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
718
733
  }
719
734
 
720
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
721
- name: "ResourceNotFoundException";
722
- $fault: "client";
735
+ export declare class ResourceNotFoundException extends __BaseException {
736
+ readonly name: "ResourceNotFoundException";
737
+ readonly $fault: "client";
723
738
  Code?: string;
724
739
  Message?: string;
725
740
 
726
741
  Type?: string;
727
742
 
728
743
  Context?: string;
744
+
745
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
729
746
  }
730
747
  export interface DeleteBackupSelectionInput {
731
748
 
@@ -788,15 +805,17 @@ export declare namespace DeleteRecoveryPointInput {
788
805
  const filterSensitiveLog: (obj: DeleteRecoveryPointInput) => any;
789
806
  }
790
807
 
791
- export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
792
- name: "InvalidResourceStateException";
793
- $fault: "client";
808
+ export declare class InvalidResourceStateException extends __BaseException {
809
+ readonly name: "InvalidResourceStateException";
810
+ readonly $fault: "client";
794
811
  Code?: string;
795
812
  Message?: string;
796
813
 
797
814
  Type?: string;
798
815
 
799
816
  Context?: string;
817
+
818
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
800
819
  }
801
820
  export interface DeleteReportPlanInput {
802
821
 
@@ -807,15 +826,17 @@ export declare namespace DeleteReportPlanInput {
807
826
  const filterSensitiveLog: (obj: DeleteReportPlanInput) => any;
808
827
  }
809
828
 
810
- export interface DependencyFailureException extends __SmithyException, $MetadataBearer {
811
- name: "DependencyFailureException";
812
- $fault: "server";
829
+ export declare class DependencyFailureException extends __BaseException {
830
+ readonly name: "DependencyFailureException";
831
+ readonly $fault: "server";
813
832
  Code?: string;
814
833
  Message?: string;
815
834
 
816
835
  Type?: string;
817
836
 
818
837
  Context?: string;
838
+
839
+ constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
819
840
  }
820
841
  export interface DescribeBackupJobInput {
821
842
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-backup",
3
3
  "description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.54.1",
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,34 +18,34 @@
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.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
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",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",