@aws-sdk/client-pi 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.
|
@@ -344,7 +344,7 @@ const serializeAws_json1_1DescribeDimensionKeysRequest = (input, context) => {
|
|
|
344
344
|
...(input.AdditionalMetrics != null && {
|
|
345
345
|
AdditionalMetrics: serializeAws_json1_1AdditionalMetricsList(input.AdditionalMetrics, context),
|
|
346
346
|
}),
|
|
347
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000)
|
|
347
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
348
348
|
...(input.Filter != null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) }),
|
|
349
349
|
...(input.GroupBy != null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) }),
|
|
350
350
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
@@ -354,7 +354,7 @@ const serializeAws_json1_1DescribeDimensionKeysRequest = (input, context) => {
|
|
|
354
354
|
...(input.PartitionBy != null && { PartitionBy: serializeAws_json1_1DimensionGroup(input.PartitionBy, context) }),
|
|
355
355
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
356
356
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
357
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000)
|
|
357
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
358
358
|
};
|
|
359
359
|
};
|
|
360
360
|
const serializeAws_json1_1DimensionGroup = (input, context) => {
|
|
@@ -390,7 +390,7 @@ const serializeAws_json1_1GetResourceMetadataRequest = (input, context) => {
|
|
|
390
390
|
};
|
|
391
391
|
const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
392
392
|
return {
|
|
393
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000)
|
|
393
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
394
394
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
395
395
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
396
396
|
...(input.MetricQueries != null && {
|
|
@@ -399,7 +399,7 @@ const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
|
399
399
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
400
400
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
401
401
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
402
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000)
|
|
402
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
403
403
|
};
|
|
404
404
|
};
|
|
405
405
|
const serializeAws_json1_1ListAvailableResourceDimensionsRequest = (input, context) => {
|
|
@@ -329,7 +329,7 @@ const serializeAws_json1_1DescribeDimensionKeysRequest = (input, context) => {
|
|
|
329
329
|
...(input.AdditionalMetrics != null && {
|
|
330
330
|
AdditionalMetrics: serializeAws_json1_1AdditionalMetricsList(input.AdditionalMetrics, context),
|
|
331
331
|
}),
|
|
332
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000)
|
|
332
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
333
333
|
...(input.Filter != null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) }),
|
|
334
334
|
...(input.GroupBy != null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) }),
|
|
335
335
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
@@ -339,7 +339,7 @@ const serializeAws_json1_1DescribeDimensionKeysRequest = (input, context) => {
|
|
|
339
339
|
...(input.PartitionBy != null && { PartitionBy: serializeAws_json1_1DimensionGroup(input.PartitionBy, context) }),
|
|
340
340
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
341
341
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
342
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000)
|
|
342
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
343
343
|
};
|
|
344
344
|
};
|
|
345
345
|
const serializeAws_json1_1DimensionGroup = (input, context) => {
|
|
@@ -375,7 +375,7 @@ const serializeAws_json1_1GetResourceMetadataRequest = (input, context) => {
|
|
|
375
375
|
};
|
|
376
376
|
const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
377
377
|
return {
|
|
378
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000)
|
|
378
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
379
379
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
380
380
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
381
381
|
...(input.MetricQueries != null && {
|
|
@@ -384,7 +384,7 @@ const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
|
384
384
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
385
385
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
386
386
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
387
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000)
|
|
387
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
388
388
|
};
|
|
389
389
|
};
|
|
390
390
|
const serializeAws_json1_1ListAvailableResourceDimensionsRequest = (input, context) => {
|
package/dist-types/PIClient.d.ts
CHANGED
|
@@ -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 { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "./commands/DescribeDimensionKeysCommand";
|
|
11
11
|
import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "./commands/GetDimensionKeyDetailsCommand";
|
|
12
12
|
import { GetResourceMetadataCommandInput, GetResourceMetadataCommandOutput } from "./commands/GetResourceMetadataCommand";
|
|
@@ -22,11 +22,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
22
22
|
*/
|
|
23
23
|
requestHandler?: __HttpHandler;
|
|
24
24
|
/**
|
|
25
|
-
* A constructor for a class implementing the {@link
|
|
25
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
26
26
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
27
27
|
* @internal
|
|
28
28
|
*/
|
|
29
|
-
sha256?: __HashConstructor;
|
|
29
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
30
30
|
/**
|
|
31
31
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
32
32
|
* @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,
|
|
@@ -89,7 +90,7 @@ export declare type ServiceOutputTypes =
|
|
|
89
90
|
export interface ClientDefaults
|
|
90
91
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
91
92
|
requestHandler?: __HttpHandler;
|
|
92
|
-
sha256?: __HashConstructor;
|
|
93
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
93
94
|
urlParser?: __UrlParser;
|
|
94
95
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
95
96
|
streamCollector?: __StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pi",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pi 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"
|