@aws-sdk/client-lightsail 3.87.0 → 3.94.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -1
- package/dist-types/Lightsail.d.ts +11 -2
- package/dist-types/commands/GetBundlesCommand.d.ts +11 -2
- package/dist-types/models/models_0.d.ts +5 -4
- package/dist-types/models/models_1.d.ts +5 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-lightsail
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-lightsail
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **client-lightsail:** This release adds support to include inactive database bundles in the response of the GetRelationalDatabaseBundles request. ([2ed03c4](https://github.com/aws/aws-sdk-js-v3/commit/2ed03c4609739967b0bb191639cae41ff01a168c))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-lightsail
|
|
@@ -10823,6 +10823,8 @@ const serializeAws_json1_1GetRelationalDatabaseBlueprintsRequest = (input, conte
|
|
|
10823
10823
|
};
|
|
10824
10824
|
const serializeAws_json1_1GetRelationalDatabaseBundlesRequest = (input, context) => {
|
|
10825
10825
|
return {
|
|
10826
|
+
...(input.includeInactive !== undefined &&
|
|
10827
|
+
input.includeInactive !== null && { includeInactive: input.includeInactive }),
|
|
10826
10828
|
...(input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }),
|
|
10827
10829
|
};
|
|
10828
10830
|
};
|
|
@@ -13522,7 +13522,8 @@ var serializeAws_json1_1GetRelationalDatabaseBlueprintsRequest = function (input
|
|
|
13522
13522
|
return __assign({}, (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
|
|
13523
13523
|
};
|
|
13524
13524
|
var serializeAws_json1_1GetRelationalDatabaseBundlesRequest = function (input, context) {
|
|
13525
|
-
return __assign({}, (input.
|
|
13525
|
+
return __assign(__assign({}, (input.includeInactive !== undefined &&
|
|
13526
|
+
input.includeInactive !== null && { includeInactive: input.includeInactive })), (input.pageToken !== undefined && input.pageToken !== null && { pageToken: input.pageToken }));
|
|
13526
13527
|
};
|
|
13527
13528
|
var serializeAws_json1_1GetRelationalDatabaseEventsRequest = function (input, context) {
|
|
13528
13529
|
return __assign(__assign(__assign({}, (input.durationInMinutes !== undefined &&
|
|
@@ -928,8 +928,17 @@ export declare class Lightsail extends LightsailClient {
|
|
|
928
928
|
getBuckets(args: GetBucketsCommandInput, cb: (err: any, data?: GetBucketsCommandOutput) => void): void;
|
|
929
929
|
getBuckets(args: GetBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketsCommandOutput) => void): void;
|
|
930
930
|
/**
|
|
931
|
-
* <p>Returns the
|
|
932
|
-
*
|
|
931
|
+
* <p>Returns the bundles that you can apply to an Amazon Lightsail instance when you create
|
|
932
|
+
* it.</p>
|
|
933
|
+
*
|
|
934
|
+
* <p>A bundle describes the specifications of an instance, such as the monthly cost, amount of
|
|
935
|
+
* memory, the number of vCPUs, amount of storage space, and monthly network data transfer
|
|
936
|
+
* quota.</p>
|
|
937
|
+
*
|
|
938
|
+
* <note>
|
|
939
|
+
* <p>Bundles are referred to as <i>instance plans</i> in the Lightsail
|
|
940
|
+
* console.</p>
|
|
941
|
+
* </note>
|
|
933
942
|
*/
|
|
934
943
|
getBundles(args: GetBundlesCommandInput, options?: __HttpHandlerOptions): Promise<GetBundlesCommandOutput>;
|
|
935
944
|
getBundles(args: GetBundlesCommandInput, cb: (err: any, data?: GetBundlesCommandOutput) => void): void;
|
|
@@ -7,8 +7,17 @@ export interface GetBundlesCommandInput extends GetBundlesRequest {
|
|
|
7
7
|
export interface GetBundlesCommandOutput extends GetBundlesResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns the
|
|
11
|
-
*
|
|
10
|
+
* <p>Returns the bundles that you can apply to an Amazon Lightsail instance when you create
|
|
11
|
+
* it.</p>
|
|
12
|
+
*
|
|
13
|
+
* <p>A bundle describes the specifications of an instance, such as the monthly cost, amount of
|
|
14
|
+
* memory, the number of vCPUs, amount of storage space, and monthly network data transfer
|
|
15
|
+
* quota.</p>
|
|
16
|
+
*
|
|
17
|
+
* <note>
|
|
18
|
+
* <p>Bundles are referred to as <i>instance plans</i> in the Lightsail
|
|
19
|
+
* console.</p>
|
|
20
|
+
* </note>
|
|
12
21
|
* @example
|
|
13
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
23
|
* ```javascript
|
|
@@ -6822,7 +6822,8 @@ export declare namespace GetAutoSnapshotsResult {
|
|
|
6822
6822
|
}
|
|
6823
6823
|
export interface GetBlueprintsRequest {
|
|
6824
6824
|
/**
|
|
6825
|
-
* <p>A Boolean value
|
|
6825
|
+
* <p>A Boolean value that indicates whether to include inactive (unavailable) blueprints in the
|
|
6826
|
+
* response of your request.</p>
|
|
6826
6827
|
*/
|
|
6827
6828
|
includeInactive?: boolean;
|
|
6828
6829
|
/**
|
|
@@ -6886,7 +6887,7 @@ export declare namespace GetBucketAccessKeysResult {
|
|
|
6886
6887
|
export interface GetBucketBundlesRequest {
|
|
6887
6888
|
/**
|
|
6888
6889
|
* <p>A Boolean value that indicates whether to include inactive (unavailable) bundles in the
|
|
6889
|
-
* response.</p>
|
|
6890
|
+
* response of your request.</p>
|
|
6890
6891
|
*/
|
|
6891
6892
|
includeInactive?: boolean;
|
|
6892
6893
|
}
|
|
@@ -7129,8 +7130,8 @@ export declare namespace GetBucketsResult {
|
|
|
7129
7130
|
}
|
|
7130
7131
|
export interface GetBundlesRequest {
|
|
7131
7132
|
/**
|
|
7132
|
-
* <p>A Boolean value that indicates whether to include inactive
|
|
7133
|
-
* request.</p>
|
|
7133
|
+
* <p>A Boolean value that indicates whether to include inactive (unavailable) bundles in the
|
|
7134
|
+
* response of your request.</p>
|
|
7134
7135
|
*/
|
|
7135
7136
|
includeInactive?: boolean;
|
|
7136
7137
|
/**
|
|
@@ -2858,6 +2858,11 @@ export interface GetRelationalDatabaseBundlesRequest {
|
|
|
2858
2858
|
* as the page token in a subsequent request.</p>
|
|
2859
2859
|
*/
|
|
2860
2860
|
pageToken?: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* <p>A Boolean value that indicates whether to include inactive (unavailable) bundles in the
|
|
2863
|
+
* response of your request.</p>
|
|
2864
|
+
*/
|
|
2865
|
+
includeInactive?: boolean;
|
|
2861
2866
|
}
|
|
2862
2867
|
export declare namespace GetRelationalDatabaseBundlesRequest {
|
|
2863
2868
|
/**
|
|
@@ -1064,6 +1064,8 @@ export declare namespace GetRelationalDatabaseBlueprintsResult {
|
|
|
1064
1064
|
export interface GetRelationalDatabaseBundlesRequest {
|
|
1065
1065
|
|
|
1066
1066
|
pageToken?: string;
|
|
1067
|
+
|
|
1068
|
+
includeInactive?: boolean;
|
|
1067
1069
|
}
|
|
1068
1070
|
export declare namespace GetRelationalDatabaseBundlesRequest {
|
|
1069
1071
|
|
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.94.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,9 +18,9 @@
|
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.94.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.94.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|