@aws-sdk/client-devops-guru 3.252.0 → 3.254.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.
|
@@ -72,8 +72,8 @@ const serializeAws_restJson1DescribeAccountOverviewCommand = async (input, conte
|
|
|
72
72
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/overview";
|
|
73
73
|
let body;
|
|
74
74
|
body = JSON.stringify({
|
|
75
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
76
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
75
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
76
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
77
77
|
});
|
|
78
78
|
return new protocol_http_1.HttpRequest({
|
|
79
79
|
protocol,
|
|
@@ -201,11 +201,11 @@ const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (input,
|
|
|
201
201
|
let body;
|
|
202
202
|
body = JSON.stringify({
|
|
203
203
|
...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
|
|
204
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
204
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
205
205
|
...(input.OrganizationalUnitIds != null && {
|
|
206
206
|
OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
|
|
207
207
|
}),
|
|
208
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
208
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
209
209
|
});
|
|
210
210
|
return new protocol_http_1.HttpRequest({
|
|
211
211
|
protocol,
|
|
@@ -2396,8 +2396,8 @@ const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
|
|
|
2396
2396
|
};
|
|
2397
2397
|
const serializeAws_restJson1EndTimeRange = (input, context) => {
|
|
2398
2398
|
return {
|
|
2399
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
2400
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
2399
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2400
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2401
2401
|
};
|
|
2402
2402
|
};
|
|
2403
2403
|
const serializeAws_restJson1EventSourcesConfig = (input, context) => {
|
|
@@ -2409,8 +2409,8 @@ const serializeAws_restJson1EventSourcesConfig = (input, context) => {
|
|
|
2409
2409
|
};
|
|
2410
2410
|
const serializeAws_restJson1EventTimeRange = (input, context) => {
|
|
2411
2411
|
return {
|
|
2412
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
2413
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
2412
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2413
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2414
2414
|
};
|
|
2415
2415
|
};
|
|
2416
2416
|
const serializeAws_restJson1InsightFeedback = (input, context) => {
|
|
@@ -2613,8 +2613,8 @@ const serializeAws_restJson1StackNames = (input, context) => {
|
|
|
2613
2613
|
};
|
|
2614
2614
|
const serializeAws_restJson1StartTimeRange = (input, context) => {
|
|
2615
2615
|
return {
|
|
2616
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
2617
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
2616
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2617
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2618
2618
|
};
|
|
2619
2619
|
};
|
|
2620
2620
|
const serializeAws_restJson1TagCollection = (input, context) => {
|
|
@@ -65,8 +65,8 @@ export const serializeAws_restJson1DescribeAccountOverviewCommand = async (input
|
|
|
65
65
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/overview";
|
|
66
66
|
let body;
|
|
67
67
|
body = JSON.stringify({
|
|
68
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
69
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
68
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
69
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
70
70
|
});
|
|
71
71
|
return new __HttpRequest({
|
|
72
72
|
protocol,
|
|
@@ -188,11 +188,11 @@ export const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (
|
|
|
188
188
|
let body;
|
|
189
189
|
body = JSON.stringify({
|
|
190
190
|
...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
|
|
191
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
191
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
192
192
|
...(input.OrganizationalUnitIds != null && {
|
|
193
193
|
OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
|
|
194
194
|
}),
|
|
195
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
195
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
196
196
|
});
|
|
197
197
|
return new __HttpRequest({
|
|
198
198
|
protocol,
|
|
@@ -2330,8 +2330,8 @@ const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
|
|
|
2330
2330
|
};
|
|
2331
2331
|
const serializeAws_restJson1EndTimeRange = (input, context) => {
|
|
2332
2332
|
return {
|
|
2333
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
2334
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
2333
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2334
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2335
2335
|
};
|
|
2336
2336
|
};
|
|
2337
2337
|
const serializeAws_restJson1EventSourcesConfig = (input, context) => {
|
|
@@ -2343,8 +2343,8 @@ const serializeAws_restJson1EventSourcesConfig = (input, context) => {
|
|
|
2343
2343
|
};
|
|
2344
2344
|
const serializeAws_restJson1EventTimeRange = (input, context) => {
|
|
2345
2345
|
return {
|
|
2346
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
2347
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
2346
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2347
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2348
2348
|
};
|
|
2349
2349
|
};
|
|
2350
2350
|
const serializeAws_restJson1InsightFeedback = (input, context) => {
|
|
@@ -2547,8 +2547,8 @@ const serializeAws_restJson1StackNames = (input, context) => {
|
|
|
2547
2547
|
};
|
|
2548
2548
|
const serializeAws_restJson1StartTimeRange = (input, context) => {
|
|
2549
2549
|
return {
|
|
2550
|
-
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000)
|
|
2551
|
-
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000)
|
|
2550
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2551
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2552
2552
|
};
|
|
2553
2553
|
};
|
|
2554
2554
|
const serializeAws_restJson1TagCollection = (input, context) => {
|
|
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
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";
|
|
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 { AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput } from "./commands/AddNotificationChannelCommand";
|
|
11
11
|
import { DeleteInsightCommandInput, DeleteInsightCommandOutput } from "./commands/DeleteInsightCommand";
|
|
12
12
|
import { DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput } from "./commands/DescribeAccountHealthCommand";
|
|
@@ -47,11 +47,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
47
47
|
*/
|
|
48
48
|
requestHandler?: __HttpHandler;
|
|
49
49
|
/**
|
|
50
|
-
* A constructor for a class implementing the {@link
|
|
50
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
51
51
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
52
52
|
* @internal
|
|
53
53
|
*/
|
|
54
|
-
sha256?: __HashConstructor;
|
|
54
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
55
55
|
/**
|
|
56
56
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
57
57
|
* @internal
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
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,
|
|
@@ -239,7 +240,7 @@ export declare type ServiceOutputTypes =
|
|
|
239
240
|
export interface ClientDefaults
|
|
240
241
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
241
242
|
requestHandler?: __HttpHandler;
|
|
242
|
-
sha256?: __HashConstructor;
|
|
243
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
243
244
|
urlParser?: __UrlParser;
|
|
244
245
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
245
246
|
streamCollector?: __StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-devops-guru",
|
|
3
3
|
"description": "AWS SDK for JavaScript Devops Guru Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.254.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.254.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.254.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",
|