@aws-sdk/client-ssm-incidents 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.
|
@@ -76,7 +76,7 @@ const serializeAws_restJson1CreateTimelineEventCommand = async (input, context)
|
|
|
76
76
|
...(input.eventReferences != null && {
|
|
77
77
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
78
78
|
}),
|
|
79
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000)
|
|
79
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
80
80
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
81
81
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
82
82
|
});
|
|
@@ -691,7 +691,7 @@ const serializeAws_restJson1UpdateTimelineEventCommand = async (input, context)
|
|
|
691
691
|
...(input.eventReferences != null && {
|
|
692
692
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
693
693
|
}),
|
|
694
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000)
|
|
694
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
695
695
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
696
696
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
697
697
|
});
|
|
@@ -2215,8 +2215,8 @@ const serializeAws_restJson1ChatChannel = (input, context) => {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
const serializeAws_restJson1Condition = (input, context) => {
|
|
2217
2217
|
return models_0_1.Condition.visit(input, {
|
|
2218
|
-
after: (value) => ({ after: Math.round(value.getTime() / 1000)
|
|
2219
|
-
before: (value) => ({ before: Math.round(value.getTime() / 1000)
|
|
2218
|
+
after: (value) => ({ after: Math.round(value.getTime() / 1000) }),
|
|
2219
|
+
before: (value) => ({ before: Math.round(value.getTime() / 1000) }),
|
|
2220
2220
|
equals: (value) => ({ equals: serializeAws_restJson1AttributeValueList(value, context) }),
|
|
2221
2221
|
_: (name, value) => ({ name: value }),
|
|
2222
2222
|
});
|
|
@@ -2455,7 +2455,7 @@ const serializeAws_restJson1TriggerDetails = (input, context) => {
|
|
|
2455
2455
|
return {
|
|
2456
2456
|
...(input.rawData != null && { rawData: input.rawData }),
|
|
2457
2457
|
...(input.source != null && { source: input.source }),
|
|
2458
|
-
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000)
|
|
2458
|
+
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000) }),
|
|
2459
2459
|
...(input.triggerArn != null && { triggerArn: input.triggerArn }),
|
|
2460
2460
|
};
|
|
2461
2461
|
};
|
|
@@ -70,7 +70,7 @@ export const serializeAws_restJson1CreateTimelineEventCommand = async (input, co
|
|
|
70
70
|
...(input.eventReferences != null && {
|
|
71
71
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
72
72
|
}),
|
|
73
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000)
|
|
73
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
74
74
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
75
75
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
76
76
|
});
|
|
@@ -659,7 +659,7 @@ export const serializeAws_restJson1UpdateTimelineEventCommand = async (input, co
|
|
|
659
659
|
...(input.eventReferences != null && {
|
|
660
660
|
eventReferences: serializeAws_restJson1EventReferenceList(input.eventReferences, context),
|
|
661
661
|
}),
|
|
662
|
-
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000)
|
|
662
|
+
...(input.eventTime != null && { eventTime: Math.round(input.eventTime.getTime() / 1000) }),
|
|
663
663
|
...(input.eventType != null && { eventType: input.eventType }),
|
|
664
664
|
...(input.incidentRecordArn != null && { incidentRecordArn: input.incidentRecordArn }),
|
|
665
665
|
});
|
|
@@ -2153,8 +2153,8 @@ const serializeAws_restJson1ChatChannel = (input, context) => {
|
|
|
2153
2153
|
};
|
|
2154
2154
|
const serializeAws_restJson1Condition = (input, context) => {
|
|
2155
2155
|
return Condition.visit(input, {
|
|
2156
|
-
after: (value) => ({ after: Math.round(value.getTime() / 1000)
|
|
2157
|
-
before: (value) => ({ before: Math.round(value.getTime() / 1000)
|
|
2156
|
+
after: (value) => ({ after: Math.round(value.getTime() / 1000) }),
|
|
2157
|
+
before: (value) => ({ before: Math.round(value.getTime() / 1000) }),
|
|
2158
2158
|
equals: (value) => ({ equals: serializeAws_restJson1AttributeValueList(value, context) }),
|
|
2159
2159
|
_: (name, value) => ({ name: value }),
|
|
2160
2160
|
});
|
|
@@ -2393,7 +2393,7 @@ const serializeAws_restJson1TriggerDetails = (input, context) => {
|
|
|
2393
2393
|
return {
|
|
2394
2394
|
...(input.rawData != null && { rawData: input.rawData }),
|
|
2395
2395
|
...(input.source != null && { source: input.source }),
|
|
2396
|
-
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000)
|
|
2396
|
+
...(input.timestamp != null && { timestamp: Math.round(input.timestamp.getTime() / 1000) }),
|
|
2397
2397
|
...(input.triggerArn != null && { triggerArn: input.triggerArn }),
|
|
2398
2398
|
};
|
|
2399
2399
|
};
|
|
@@ -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 { CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput } from "./commands/CreateReplicationSetCommand";
|
|
11
11
|
import { CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput } from "./commands/CreateResponsePlanCommand";
|
|
12
12
|
import { CreateTimelineEventCommandInput, CreateTimelineEventCommandOutput } from "./commands/CreateTimelineEventCommand";
|
|
@@ -45,11 +45,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
45
45
|
*/
|
|
46
46
|
requestHandler?: __HttpHandler;
|
|
47
47
|
/**
|
|
48
|
-
* A constructor for a class implementing the {@link
|
|
48
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
49
49
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
50
50
|
* @internal
|
|
51
51
|
*/
|
|
52
|
-
sha256?: __HashConstructor;
|
|
52
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
53
53
|
/**
|
|
54
54
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
55
55
|
* @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,
|
|
@@ -227,7 +228,7 @@ export declare type ServiceOutputTypes =
|
|
|
227
228
|
export interface ClientDefaults
|
|
228
229
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
229
230
|
requestHandler?: __HttpHandler;
|
|
230
|
-
sha256?: __HashConstructor;
|
|
231
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
231
232
|
urlParser?: __UrlParser;
|
|
232
233
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
233
234
|
streamCollector?: __StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-incidents",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Incidents 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,42 +18,42 @@
|
|
|
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
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-waiter": "3.254.0",
|
|
57
57
|
"tslib": "^2.3.1",
|
|
58
58
|
"uuid": "^8.3.2"
|
|
59
59
|
},
|