@aws-sdk/client-timestream-query 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.
|
@@ -883,9 +883,7 @@ const serializeAws_json1_0ErrorReportConfiguration = (input, context) => {
|
|
|
883
883
|
const serializeAws_json1_0ExecuteScheduledQueryRequest = (input, context) => {
|
|
884
884
|
return {
|
|
885
885
|
ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
|
|
886
|
-
...(input.InvocationTime != null && {
|
|
887
|
-
InvocationTime: Math.round(input.InvocationTime.getTime() / 1000).toString(),
|
|
888
|
-
}),
|
|
886
|
+
...(input.InvocationTime != null && { InvocationTime: Math.round(input.InvocationTime.getTime() / 1000) }),
|
|
889
887
|
...(input.ScheduledQueryArn != null && { ScheduledQueryArn: input.ScheduledQueryArn }),
|
|
890
888
|
};
|
|
891
889
|
};
|
|
@@ -854,9 +854,7 @@ const serializeAws_json1_0ErrorReportConfiguration = (input, context) => {
|
|
|
854
854
|
const serializeAws_json1_0ExecuteScheduledQueryRequest = (input, context) => {
|
|
855
855
|
return {
|
|
856
856
|
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
857
|
-
...(input.InvocationTime != null && {
|
|
858
|
-
InvocationTime: Math.round(input.InvocationTime.getTime() / 1000).toString(),
|
|
859
|
-
}),
|
|
857
|
+
...(input.InvocationTime != null && { InvocationTime: Math.round(input.InvocationTime.getTime() / 1000) }),
|
|
860
858
|
...(input.ScheduledQueryArn != null && { ScheduledQueryArn: input.ScheduledQueryArn }),
|
|
861
859
|
};
|
|
862
860
|
};
|
|
@@ -6,8 +6,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
6
6
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
7
7
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
|
-
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 { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
|
+
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";
|
|
11
11
|
import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
|
|
12
12
|
import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
|
|
13
13
|
import { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
|
|
@@ -30,11 +30,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
30
30
|
*/
|
|
31
31
|
requestHandler?: __HttpHandler;
|
|
32
32
|
/**
|
|
33
|
-
* A constructor for a class implementing the {@link
|
|
33
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
34
34
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
35
35
|
* @internal
|
|
36
36
|
*/
|
|
37
|
-
sha256?: __HashConstructor;
|
|
37
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
38
38
|
/**
|
|
39
39
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
40
40
|
* @internal
|
|
@@ -126,9 +126,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
126
126
|
*/
|
|
127
127
|
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
128
128
|
/**
|
|
129
|
-
* The {@link
|
|
129
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
130
130
|
*/
|
|
131
|
-
defaultsMode?:
|
|
131
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
132
132
|
}
|
|
133
133
|
declare type TimestreamQueryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig & ClientInputEndpointParameters;
|
|
134
134
|
/**
|
|
@@ -29,12 +29,13 @@ import {
|
|
|
29
29
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
30
30
|
import {
|
|
31
31
|
Client as __Client,
|
|
32
|
-
DefaultsMode,
|
|
32
|
+
DefaultsMode as __DefaultsMode,
|
|
33
33
|
SmithyConfiguration as __SmithyConfiguration,
|
|
34
34
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
35
|
} from "@aws-sdk/smithy-client";
|
|
36
36
|
import {
|
|
37
37
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
38
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
38
39
|
Credentials as __Credentials,
|
|
39
40
|
Decoder as __Decoder,
|
|
40
41
|
Encoder as __Encoder,
|
|
@@ -132,7 +133,7 @@ export declare type ServiceOutputTypes =
|
|
|
132
133
|
export interface ClientDefaults
|
|
133
134
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
134
135
|
requestHandler?: __HttpHandler;
|
|
135
|
-
sha256?: __HashConstructor;
|
|
136
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
136
137
|
urlParser?: __UrlParser;
|
|
137
138
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
138
139
|
streamCollector?: __StreamCollector;
|
|
@@ -152,7 +153,7 @@ export interface ClientDefaults
|
|
|
152
153
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
153
154
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
154
155
|
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
155
|
-
defaultsMode?:
|
|
156
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
156
157
|
}
|
|
157
158
|
declare type TimestreamQueryClientConfigType = Partial<
|
|
158
159
|
__SmithyConfiguration<__HttpHandlerOptions>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-timestream-query",
|
|
3
3
|
"description": "AWS SDK for JavaScript Timestream Query 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,40 +18,40 @@
|
|
|
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-endpoint-discovery": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@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-endpoint-discovery": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
44
|
+
"@aws-sdk/types": "3.254.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
55
55
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
56
56
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
57
57
|
"tslib": "^2.3.1",
|