@aws-sdk/client-lightsail 3.51.0 → 3.54.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.
- package/CHANGELOG.md +28 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/LightsailServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +119 -6
- package/dist-cjs/protocols/Aws_json1_1.js +1762 -7559
- package/dist-es/index.js +1 -0
- package/dist-es/models/LightsailServiceException.js +12 -0
- package/dist-es/models/models_0.js +107 -1
- package/dist-es/protocols/Aws_json1_1.js +3975 -8160
- package/dist-types/Lightsail.d.ts +25 -13
- package/dist-types/LightsailClient.d.ts +2 -2
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +2 -2
- package/dist-types/commands/CreateKeyPairCommand.d.ts +7 -1
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +5 -2
- package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +3 -1
- package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketBundlesCommand.d.ts +2 -2
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/LightsailServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +94 -58
- package/dist-types/models/models_1.d.ts +8 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/LightsailClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/LightsailServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: LightsailClientConfig) => {
|
|
|
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: (
|
|
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: LightsailClientConfig) => {
|
|
|
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: (
|
|
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 { AllocateStaticIpCommandInput, AllocateStaticIpCommandOutput } from "./commands/AllocateStaticIpCommand";
|
|
10
10
|
import { AttachCertificateToDistributionCommandInput, AttachCertificateToDistributionCommandOutput } from "./commands/AttachCertificateToDistributionCommand";
|
|
11
11
|
import { AttachDiskCommandInput, AttachDiskCommandOutput } from "./commands/AttachDiskCommand";
|
|
@@ -169,7 +169,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
169
169
|
|
|
170
170
|
urlParser?: __UrlParser;
|
|
171
171
|
|
|
172
|
-
bodyLengthChecker?:
|
|
172
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
173
173
|
|
|
174
174
|
streamCollector?: __StreamCollector;
|
|
175
175
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class LightsailServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { LightsailServiceException as __BaseException } from "./LightsailServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LightsailClientConfig) => {
|
|
|
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: (
|
|
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: LightsailClientConfig) => {
|
|
|
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: (
|
|
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: LightsailClientConfig) => {
|
|
|
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: (
|
|
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-lightsail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lightsail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-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.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|