@aws-sdk/client-savingsplans 3.312.0 → 3.316.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/dist-cjs/Savingsplans.js +13 -126
- package/dist-cjs/protocols/Aws_restJson1.js +131 -530
- package/dist-es/Savingsplans.js +13 -126
- package/dist-es/protocols/Aws_restJson1.js +119 -518
- package/dist-types/Savingsplans.d.ts +19 -26
- package/dist-types/ts3.4/Savingsplans.d.ts +4 -1
- package/package.json +6 -6
|
@@ -9,75 +9,68 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
9
9
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
10
10
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
11
11
|
import { SavingsplansClient } from "./SavingsplansClient";
|
|
12
|
-
|
|
13
|
-
* @public
|
|
14
|
-
* <p>Savings Plans are a pricing model that offer significant savings on AWS usage (for
|
|
15
|
-
* example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD
|
|
16
|
-
* per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For
|
|
17
|
-
* more information, see the <a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/">AWS Savings Plans User Guide</a>.</p>
|
|
18
|
-
*/
|
|
19
|
-
export declare class Savingsplans extends SavingsplansClient {
|
|
12
|
+
export interface Savingsplans {
|
|
20
13
|
/**
|
|
21
|
-
* @
|
|
22
|
-
* <p>Creates a Savings Plan.</p>
|
|
14
|
+
* @see {@link CreateSavingsPlanCommand}
|
|
23
15
|
*/
|
|
24
16
|
createSavingsPlan(args: CreateSavingsPlanCommandInput, options?: __HttpHandlerOptions): Promise<CreateSavingsPlanCommandOutput>;
|
|
25
17
|
createSavingsPlan(args: CreateSavingsPlanCommandInput, cb: (err: any, data?: CreateSavingsPlanCommandOutput) => void): void;
|
|
26
18
|
createSavingsPlan(args: CreateSavingsPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSavingsPlanCommandOutput) => void): void;
|
|
27
19
|
/**
|
|
28
|
-
* @
|
|
29
|
-
* <p>Deletes the queued purchase for the specified Savings Plan.</p>
|
|
20
|
+
* @see {@link DeleteQueuedSavingsPlanCommand}
|
|
30
21
|
*/
|
|
31
22
|
deleteQueuedSavingsPlan(args: DeleteQueuedSavingsPlanCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQueuedSavingsPlanCommandOutput>;
|
|
32
23
|
deleteQueuedSavingsPlan(args: DeleteQueuedSavingsPlanCommandInput, cb: (err: any, data?: DeleteQueuedSavingsPlanCommandOutput) => void): void;
|
|
33
24
|
deleteQueuedSavingsPlan(args: DeleteQueuedSavingsPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueuedSavingsPlanCommandOutput) => void): void;
|
|
34
25
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* <p>Describes the specified Savings Plans rates.</p>
|
|
26
|
+
* @see {@link DescribeSavingsPlanRatesCommand}
|
|
37
27
|
*/
|
|
38
28
|
describeSavingsPlanRates(args: DescribeSavingsPlanRatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlanRatesCommandOutput>;
|
|
39
29
|
describeSavingsPlanRates(args: DescribeSavingsPlanRatesCommandInput, cb: (err: any, data?: DescribeSavingsPlanRatesCommandOutput) => void): void;
|
|
40
30
|
describeSavingsPlanRates(args: DescribeSavingsPlanRatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlanRatesCommandOutput) => void): void;
|
|
41
31
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p>Describes the specified Savings Plans.</p>
|
|
32
|
+
* @see {@link DescribeSavingsPlansCommand}
|
|
44
33
|
*/
|
|
45
34
|
describeSavingsPlans(args: DescribeSavingsPlansCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansCommandOutput>;
|
|
46
35
|
describeSavingsPlans(args: DescribeSavingsPlansCommandInput, cb: (err: any, data?: DescribeSavingsPlansCommandOutput) => void): void;
|
|
47
36
|
describeSavingsPlans(args: DescribeSavingsPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansCommandOutput) => void): void;
|
|
48
37
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Describes the specified Savings Plans offering rates.</p>
|
|
38
|
+
* @see {@link DescribeSavingsPlansOfferingRatesCommand}
|
|
51
39
|
*/
|
|
52
40
|
describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansOfferingRatesCommandOutput>;
|
|
53
41
|
describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, cb: (err: any, data?: DescribeSavingsPlansOfferingRatesCommandOutput) => void): void;
|
|
54
42
|
describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansOfferingRatesCommandOutput) => void): void;
|
|
55
43
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* <p>Describes the specified Savings Plans offerings.</p>
|
|
44
|
+
* @see {@link DescribeSavingsPlansOfferingsCommand}
|
|
58
45
|
*/
|
|
59
46
|
describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansOfferingsCommandOutput>;
|
|
60
47
|
describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, cb: (err: any, data?: DescribeSavingsPlansOfferingsCommandOutput) => void): void;
|
|
61
48
|
describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansOfferingsCommandOutput) => void): void;
|
|
62
49
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>Lists the tags for the specified resource.</p>
|
|
50
|
+
* @see {@link ListTagsForResourceCommand}
|
|
65
51
|
*/
|
|
66
52
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
67
53
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
68
54
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
69
55
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>Adds the specified tags to the specified resource.</p>
|
|
56
|
+
* @see {@link TagResourceCommand}
|
|
72
57
|
*/
|
|
73
58
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
74
59
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
75
60
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
76
61
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* <p>Removes the specified tags from the specified resource.</p>
|
|
62
|
+
* @see {@link UntagResourceCommand}
|
|
79
63
|
*/
|
|
80
64
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
81
65
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
82
66
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
83
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
* <p>Savings Plans are a pricing model that offer significant savings on AWS usage (for
|
|
71
|
+
* example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD
|
|
72
|
+
* per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For
|
|
73
|
+
* more information, see the <a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/">AWS Savings Plans User Guide</a>.</p>
|
|
74
|
+
*/
|
|
75
|
+
export declare class Savingsplans extends SavingsplansClient implements Savingsplans {
|
|
76
|
+
}
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
UntagResourceCommandOutput,
|
|
37
37
|
} from "./commands/UntagResourceCommand";
|
|
38
38
|
import { SavingsplansClient } from "./SavingsplansClient";
|
|
39
|
-
export
|
|
39
|
+
export interface Savingsplans {
|
|
40
40
|
createSavingsPlan(
|
|
41
41
|
args: CreateSavingsPlanCommandInput,
|
|
42
42
|
options?: __HttpHandlerOptions
|
|
@@ -161,3 +161,6 @@ export declare class Savingsplans extends SavingsplansClient {
|
|
|
161
161
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
162
162
|
): void;
|
|
163
163
|
}
|
|
164
|
+
export declare class Savingsplans
|
|
165
|
+
extends SavingsplansClient
|
|
166
|
+
implements Savingsplans {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-savingsplans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|