@aws-sdk/client-budgets 3.252.0 → 3.256.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.
|
@@ -1468,7 +1468,7 @@ const serializeAws_json1_1AutoAdjustData = (input, context) => {
|
|
|
1468
1468
|
HistoricalOptions: serializeAws_json1_1HistoricalOptions(input.HistoricalOptions, context),
|
|
1469
1469
|
}),
|
|
1470
1470
|
...(input.LastAutoAdjustTime != null && {
|
|
1471
|
-
LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000)
|
|
1471
|
+
LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000),
|
|
1472
1472
|
}),
|
|
1473
1473
|
};
|
|
1474
1474
|
};
|
|
@@ -1485,9 +1485,7 @@ const serializeAws_json1_1Budget = (input, context) => {
|
|
|
1485
1485
|
}),
|
|
1486
1486
|
...(input.CostFilters != null && { CostFilters: serializeAws_json1_1CostFilters(input.CostFilters, context) }),
|
|
1487
1487
|
...(input.CostTypes != null && { CostTypes: serializeAws_json1_1CostTypes(input.CostTypes, context) }),
|
|
1488
|
-
...(input.LastUpdatedTime != null && {
|
|
1489
|
-
LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000).toString(),
|
|
1490
|
-
}),
|
|
1488
|
+
...(input.LastUpdatedTime != null && { LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000) }),
|
|
1491
1489
|
...(input.PlannedBudgetLimits != null && {
|
|
1492
1490
|
PlannedBudgetLimits: serializeAws_json1_1PlannedBudgetLimits(input.PlannedBudgetLimits, context),
|
|
1493
1491
|
}),
|
|
@@ -1808,8 +1806,8 @@ const serializeAws_json1_1TargetIds = (input, context) => {
|
|
|
1808
1806
|
};
|
|
1809
1807
|
const serializeAws_json1_1TimePeriod = (input, context) => {
|
|
1810
1808
|
return {
|
|
1811
|
-
...(input.End != null && { End: Math.round(input.End.getTime() / 1000)
|
|
1812
|
-
...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000)
|
|
1809
|
+
...(input.End != null && { End: Math.round(input.End.getTime() / 1000) }),
|
|
1810
|
+
...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000) }),
|
|
1813
1811
|
};
|
|
1814
1812
|
};
|
|
1815
1813
|
const serializeAws_json1_1UpdateBudgetActionRequest = (input, context) => {
|
|
@@ -1419,7 +1419,7 @@ const serializeAws_json1_1AutoAdjustData = (input, context) => {
|
|
|
1419
1419
|
HistoricalOptions: serializeAws_json1_1HistoricalOptions(input.HistoricalOptions, context),
|
|
1420
1420
|
}),
|
|
1421
1421
|
...(input.LastAutoAdjustTime != null && {
|
|
1422
|
-
LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000)
|
|
1422
|
+
LastAutoAdjustTime: Math.round(input.LastAutoAdjustTime.getTime() / 1000),
|
|
1423
1423
|
}),
|
|
1424
1424
|
};
|
|
1425
1425
|
};
|
|
@@ -1436,9 +1436,7 @@ const serializeAws_json1_1Budget = (input, context) => {
|
|
|
1436
1436
|
}),
|
|
1437
1437
|
...(input.CostFilters != null && { CostFilters: serializeAws_json1_1CostFilters(input.CostFilters, context) }),
|
|
1438
1438
|
...(input.CostTypes != null && { CostTypes: serializeAws_json1_1CostTypes(input.CostTypes, context) }),
|
|
1439
|
-
...(input.LastUpdatedTime != null && {
|
|
1440
|
-
LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000).toString(),
|
|
1441
|
-
}),
|
|
1439
|
+
...(input.LastUpdatedTime != null && { LastUpdatedTime: Math.round(input.LastUpdatedTime.getTime() / 1000) }),
|
|
1442
1440
|
...(input.PlannedBudgetLimits != null && {
|
|
1443
1441
|
PlannedBudgetLimits: serializeAws_json1_1PlannedBudgetLimits(input.PlannedBudgetLimits, context),
|
|
1444
1442
|
}),
|
|
@@ -1759,8 +1757,8 @@ const serializeAws_json1_1TargetIds = (input, context) => {
|
|
|
1759
1757
|
};
|
|
1760
1758
|
const serializeAws_json1_1TimePeriod = (input, context) => {
|
|
1761
1759
|
return {
|
|
1762
|
-
...(input.End != null && { End: Math.round(input.End.getTime() / 1000)
|
|
1763
|
-
...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000)
|
|
1760
|
+
...(input.End != null && { End: Math.round(input.End.getTime() / 1000) }),
|
|
1761
|
+
...(input.Start != null && { Start: Math.round(input.Start.getTime() / 1000) }),
|
|
1764
1762
|
};
|
|
1765
1763
|
};
|
|
1766
1764
|
const serializeAws_json1_1UpdateBudgetActionRequest = (input, context) => {
|
|
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CreateBudgetActionCommandInput, CreateBudgetActionCommandOutput } from "./commands/CreateBudgetActionCommand";
|
|
11
11
|
import { CreateBudgetCommandInput, CreateBudgetCommandOutput } from "./commands/CreateBudgetCommand";
|
|
12
12
|
import { CreateNotificationCommandInput, CreateNotificationCommandOutput } from "./commands/CreateNotificationCommand";
|
|
@@ -39,11 +39,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
39
39
|
*/
|
|
40
40
|
requestHandler?: __HttpHandler;
|
|
41
41
|
/**
|
|
42
|
-
* A constructor for a class implementing the {@link
|
|
42
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
43
43
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
44
44
|
* @internal
|
|
45
45
|
*/
|
|
46
|
-
sha256?: __HashConstructor;
|
|
46
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
47
47
|
/**
|
|
48
48
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
49
49
|
* @internal
|
|
@@ -129,9 +129,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
129
129
|
*/
|
|
130
130
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
131
131
|
/**
|
|
132
|
-
* The {@link
|
|
132
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
133
133
|
*/
|
|
134
|
-
defaultsMode?:
|
|
134
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
135
135
|
}
|
|
136
136
|
declare type BudgetsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
137
137
|
/**
|
|
@@ -25,12 +25,13 @@ import {
|
|
|
25
25
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
26
|
import {
|
|
27
27
|
Client as __Client,
|
|
28
|
-
DefaultsMode,
|
|
28
|
+
DefaultsMode as __DefaultsMode,
|
|
29
29
|
SmithyConfiguration as __SmithyConfiguration,
|
|
30
30
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -191,7 +192,7 @@ export declare type ServiceOutputTypes =
|
|
|
191
192
|
export interface ClientDefaults
|
|
192
193
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
193
194
|
requestHandler?: __HttpHandler;
|
|
194
|
-
sha256?: __HashConstructor;
|
|
195
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
195
196
|
urlParser?: __UrlParser;
|
|
196
197
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
197
198
|
streamCollector?: __StreamCollector;
|
|
@@ -210,7 +211,7 @@ export interface ClientDefaults
|
|
|
210
211
|
region?: string | __Provider<string>;
|
|
211
212
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
212
213
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
213
|
-
defaultsMode?:
|
|
214
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
214
215
|
}
|
|
215
216
|
declare type BudgetsClientConfigType = Partial<
|
|
216
217
|
__SmithyConfiguration<__HttpHandlerOptions>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-budgets",
|
|
3
3
|
"description": "AWS SDK for JavaScript Budgets Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.256.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,39 +18,39 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.256.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.256.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1"
|