@aws-sdk/client-lightsail 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,12 +1,14 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { LightsailServiceException as __BaseException } from "./LightsailServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
  code?: string;
7
8
  docs?: string;
8
- message?: string;
9
9
  tip?: string;
10
+
11
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
12
  }
11
13
  export declare enum AccessDirection {
12
14
  inbound = "inbound",
@@ -73,13 +75,14 @@ export declare namespace AccessRules {
73
75
  const filterSensitiveLog: (obj: AccessRules) => any;
74
76
  }
75
77
 
76
- export interface AccountSetupInProgressException extends __SmithyException, $MetadataBearer {
77
- name: "AccountSetupInProgressException";
78
- $fault: "client";
78
+ export declare class AccountSetupInProgressException extends __BaseException {
79
+ readonly name: "AccountSetupInProgressException";
80
+ readonly $fault: "client";
79
81
  code?: string;
80
82
  docs?: string;
81
- message?: string;
82
83
  tip?: string;
84
+
85
+ constructor(opts: __ExceptionOptionType<AccountSetupInProgressException, __BaseException>);
83
86
  }
84
87
 
85
88
  export interface AddOn {
@@ -449,49 +452,54 @@ export declare namespace AllocateStaticIpResult {
449
452
  const filterSensitiveLog: (obj: AllocateStaticIpResult) => any;
450
453
  }
451
454
 
452
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
453
- name: "InvalidInputException";
454
- $fault: "client";
455
+ export declare class InvalidInputException extends __BaseException {
456
+ readonly name: "InvalidInputException";
457
+ readonly $fault: "client";
455
458
  code?: string;
456
459
  docs?: string;
457
- message?: string;
458
460
  tip?: string;
461
+
462
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
459
463
  }
460
464
 
461
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
462
- name: "NotFoundException";
463
- $fault: "client";
465
+ export declare class NotFoundException extends __BaseException {
466
+ readonly name: "NotFoundException";
467
+ readonly $fault: "client";
464
468
  code?: string;
465
469
  docs?: string;
466
- message?: string;
467
470
  tip?: string;
471
+
472
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
468
473
  }
469
474
 
470
- export interface OperationFailureException extends __SmithyException, $MetadataBearer {
471
- name: "OperationFailureException";
472
- $fault: "client";
475
+ export declare class OperationFailureException extends __BaseException {
476
+ readonly name: "OperationFailureException";
477
+ readonly $fault: "client";
473
478
  code?: string;
474
479
  docs?: string;
475
- message?: string;
476
480
  tip?: string;
481
+
482
+ constructor(opts: __ExceptionOptionType<OperationFailureException, __BaseException>);
477
483
  }
478
484
 
479
- export interface ServiceException extends __SmithyException, $MetadataBearer {
480
- name: "ServiceException";
481
- $fault: "server";
485
+ export declare class ServiceException extends __BaseException {
486
+ readonly name: "ServiceException";
487
+ readonly $fault: "server";
482
488
  code?: string;
483
489
  docs?: string;
484
- message?: string;
485
490
  tip?: string;
491
+
492
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
486
493
  }
487
494
 
488
- export interface UnauthenticatedException extends __SmithyException, $MetadataBearer {
489
- name: "UnauthenticatedException";
490
- $fault: "client";
495
+ export declare class UnauthenticatedException extends __BaseException {
496
+ readonly name: "UnauthenticatedException";
497
+ readonly $fault: "client";
491
498
  code?: string;
492
499
  docs?: string;
493
- message?: string;
494
500
  tip?: string;
501
+
502
+ constructor(opts: __ExceptionOptionType<UnauthenticatedException, __BaseException>);
495
503
  }
496
504
  export interface AttachCertificateToDistributionRequest {
497
505
 
@@ -371,6 +371,8 @@ export declare namespace GetKeyPairResult {
371
371
  export interface GetKeyPairsRequest {
372
372
 
373
373
  pageToken?: string;
374
+
375
+ includeDefaultKeyPair?: boolean;
374
376
  }
375
377
  export declare namespace GetKeyPairsRequest {
376
378
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lightsail",
3
3
  "description": "AWS SDK for JavaScript Lightsail 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,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.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
51
  "tslib": "^2.3.0"