@aws-sdk/client-cloudwatch-events 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.
|
@@ -3178,7 +3178,7 @@ const serializeAws_json1_1PutEventsRequestEntry = (input, context) => {
|
|
|
3178
3178
|
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3179
3179
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3180
3180
|
...(input.Source != null && { Source: input.Source }),
|
|
3181
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000)
|
|
3181
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3182
3182
|
...(input.TraceHeader != null && { TraceHeader: input.TraceHeader }),
|
|
3183
3183
|
};
|
|
3184
3184
|
};
|
|
@@ -3202,7 +3202,7 @@ const serializeAws_json1_1PutPartnerEventsRequestEntry = (input, context) => {
|
|
|
3202
3202
|
...(input.DetailType != null && { DetailType: input.DetailType }),
|
|
3203
3203
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3204
3204
|
...(input.Source != null && { Source: input.Source }),
|
|
3205
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000)
|
|
3205
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3206
3206
|
};
|
|
3207
3207
|
};
|
|
3208
3208
|
const serializeAws_json1_1PutPartnerEventsRequestEntryList = (input, context) => {
|
|
@@ -3354,11 +3354,9 @@ const serializeAws_json1_1StartReplayRequest = (input, context) => {
|
|
|
3354
3354
|
...(input.Destination != null && {
|
|
3355
3355
|
Destination: serializeAws_json1_1ReplayDestination(input.Destination, context),
|
|
3356
3356
|
}),
|
|
3357
|
-
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000)
|
|
3357
|
+
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) }),
|
|
3358
3358
|
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
3359
|
-
...(input.EventStartTime != null && {
|
|
3360
|
-
EventStartTime: Math.round(input.EventStartTime.getTime() / 1000).toString(),
|
|
3361
|
-
}),
|
|
3359
|
+
...(input.EventStartTime != null && { EventStartTime: Math.round(input.EventStartTime.getTime() / 1000) }),
|
|
3362
3360
|
...(input.ReplayName != null && { ReplayName: input.ReplayName }),
|
|
3363
3361
|
};
|
|
3364
3362
|
};
|
|
@@ -3071,7 +3071,7 @@ const serializeAws_json1_1PutEventsRequestEntry = (input, context) => {
|
|
|
3071
3071
|
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3072
3072
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3073
3073
|
...(input.Source != null && { Source: input.Source }),
|
|
3074
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000)
|
|
3074
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3075
3075
|
...(input.TraceHeader != null && { TraceHeader: input.TraceHeader }),
|
|
3076
3076
|
};
|
|
3077
3077
|
};
|
|
@@ -3095,7 +3095,7 @@ const serializeAws_json1_1PutPartnerEventsRequestEntry = (input, context) => {
|
|
|
3095
3095
|
...(input.DetailType != null && { DetailType: input.DetailType }),
|
|
3096
3096
|
...(input.Resources != null && { Resources: serializeAws_json1_1EventResourceList(input.Resources, context) }),
|
|
3097
3097
|
...(input.Source != null && { Source: input.Source }),
|
|
3098
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000)
|
|
3098
|
+
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3099
3099
|
};
|
|
3100
3100
|
};
|
|
3101
3101
|
const serializeAws_json1_1PutPartnerEventsRequestEntryList = (input, context) => {
|
|
@@ -3247,11 +3247,9 @@ const serializeAws_json1_1StartReplayRequest = (input, context) => {
|
|
|
3247
3247
|
...(input.Destination != null && {
|
|
3248
3248
|
Destination: serializeAws_json1_1ReplayDestination(input.Destination, context),
|
|
3249
3249
|
}),
|
|
3250
|
-
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000)
|
|
3250
|
+
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) }),
|
|
3251
3251
|
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
3252
|
-
...(input.EventStartTime != null && {
|
|
3253
|
-
EventStartTime: Math.round(input.EventStartTime.getTime() / 1000).toString(),
|
|
3254
|
-
}),
|
|
3252
|
+
...(input.EventStartTime != null && { EventStartTime: Math.round(input.EventStartTime.getTime() / 1000) }),
|
|
3255
3253
|
...(input.ReplayName != null && { ReplayName: input.ReplayName }),
|
|
3256
3254
|
};
|
|
3257
3255
|
};
|
|
@@ -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 { ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand";
|
|
11
11
|
import { CancelReplayCommandInput, CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
|
|
12
12
|
import { CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput } from "./commands/CreateApiDestinationCommand";
|
|
@@ -67,11 +67,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
67
67
|
*/
|
|
68
68
|
requestHandler?: __HttpHandler;
|
|
69
69
|
/**
|
|
70
|
-
* A constructor for a class implementing the {@link
|
|
70
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
71
71
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
72
72
|
* @internal
|
|
73
73
|
*/
|
|
74
|
-
sha256?: __HashConstructor;
|
|
74
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
75
75
|
/**
|
|
76
76
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
77
77
|
* @internal
|
|
@@ -157,9 +157,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
157
157
|
*/
|
|
158
158
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
159
159
|
/**
|
|
160
|
-
* The {@link
|
|
160
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
161
161
|
*/
|
|
162
|
-
defaultsMode?:
|
|
162
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
163
163
|
}
|
|
164
164
|
declare type CloudWatchEventsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
165
165
|
/**
|
|
@@ -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,
|
|
@@ -359,7 +360,7 @@ export declare type ServiceOutputTypes =
|
|
|
359
360
|
export interface ClientDefaults
|
|
360
361
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
361
362
|
requestHandler?: __HttpHandler;
|
|
362
|
-
sha256?: __HashConstructor;
|
|
363
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
363
364
|
urlParser?: __UrlParser;
|
|
364
365
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
365
366
|
streamCollector?: __StreamCollector;
|
|
@@ -378,7 +379,7 @@ export interface ClientDefaults
|
|
|
378
379
|
region?: string | __Provider<string>;
|
|
379
380
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
380
381
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
381
|
-
defaultsMode?:
|
|
382
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
382
383
|
}
|
|
383
384
|
declare type CloudWatchEventsClientConfigType = Partial<
|
|
384
385
|
__SmithyConfiguration<__HttpHandlerOptions>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-events",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Events 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"
|