@aws-sdk/client-ssm-incidents 3.216.0 → 3.218.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.
|
@@ -117,7 +117,7 @@ const serializeAws_restJson1DeleteReplicationSetCommand = async (input, context)
|
|
|
117
117
|
const headers = {};
|
|
118
118
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deleteReplicationSet";
|
|
119
119
|
const query = map({
|
|
120
|
-
arn: [, input.arn],
|
|
120
|
+
arn: [, (0, smithy_client_1.expectNonNull)(input.arn, `arn`)],
|
|
121
121
|
});
|
|
122
122
|
let body;
|
|
123
123
|
return new protocol_http_1.HttpRequest({
|
|
@@ -202,7 +202,7 @@ const serializeAws_restJson1GetIncidentRecordCommand = async (input, context) =>
|
|
|
202
202
|
const headers = {};
|
|
203
203
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getIncidentRecord";
|
|
204
204
|
const query = map({
|
|
205
|
-
arn: [, input.arn],
|
|
205
|
+
arn: [, (0, smithy_client_1.expectNonNull)(input.arn, `arn`)],
|
|
206
206
|
});
|
|
207
207
|
let body;
|
|
208
208
|
return new protocol_http_1.HttpRequest({
|
|
@@ -222,7 +222,7 @@ const serializeAws_restJson1GetReplicationSetCommand = async (input, context) =>
|
|
|
222
222
|
const headers = {};
|
|
223
223
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getReplicationSet";
|
|
224
224
|
const query = map({
|
|
225
|
-
arn: [, input.arn],
|
|
225
|
+
arn: [, (0, smithy_client_1.expectNonNull)(input.arn, `arn`)],
|
|
226
226
|
});
|
|
227
227
|
let body;
|
|
228
228
|
return new protocol_http_1.HttpRequest({
|
|
@@ -244,7 +244,7 @@ const serializeAws_restJson1GetResourcePoliciesCommand = async (input, context)
|
|
|
244
244
|
};
|
|
245
245
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getResourcePolicies";
|
|
246
246
|
const query = map({
|
|
247
|
-
resourceArn: [, input.resourceArn],
|
|
247
|
+
resourceArn: [, (0, smithy_client_1.expectNonNull)(input.resourceArn, `resourceArn`)],
|
|
248
248
|
});
|
|
249
249
|
let body;
|
|
250
250
|
body = JSON.stringify({
|
|
@@ -268,7 +268,7 @@ const serializeAws_restJson1GetResponsePlanCommand = async (input, context) => {
|
|
|
268
268
|
const headers = {};
|
|
269
269
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getResponsePlan";
|
|
270
270
|
const query = map({
|
|
271
|
-
arn: [, input.arn],
|
|
271
|
+
arn: [, (0, smithy_client_1.expectNonNull)(input.arn, `arn`)],
|
|
272
272
|
});
|
|
273
273
|
let body;
|
|
274
274
|
return new protocol_http_1.HttpRequest({
|
|
@@ -288,8 +288,8 @@ const serializeAws_restJson1GetTimelineEventCommand = async (input, context) =>
|
|
|
288
288
|
const headers = {};
|
|
289
289
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getTimelineEvent";
|
|
290
290
|
const query = map({
|
|
291
|
-
incidentRecordArn: [, input.incidentRecordArn],
|
|
292
|
-
eventId: [, input.eventId],
|
|
291
|
+
incidentRecordArn: [, (0, smithy_client_1.expectNonNull)(input.incidentRecordArn, `incidentRecordArn`)],
|
|
292
|
+
eventId: [, (0, smithy_client_1.expectNonNull)(input.eventId, `eventId`)],
|
|
293
293
|
});
|
|
294
294
|
let body;
|
|
295
295
|
return new protocol_http_1.HttpRequest({
|
|
@@ -517,7 +517,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
517
517
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
518
518
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
519
519
|
const query = map({
|
|
520
|
-
tagKeys: [
|
|
520
|
+
tagKeys: [
|
|
521
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
522
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
523
|
+
],
|
|
521
524
|
});
|
|
522
525
|
let body;
|
|
523
526
|
return new protocol_http_1.HttpRequest({
|
|
@@ -109,7 +109,7 @@ export const serializeAws_restJson1DeleteReplicationSetCommand = async (input, c
|
|
|
109
109
|
const headers = {};
|
|
110
110
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deleteReplicationSet";
|
|
111
111
|
const query = map({
|
|
112
|
-
arn: [, input.arn],
|
|
112
|
+
arn: [, __expectNonNull(input.arn, `arn`)],
|
|
113
113
|
});
|
|
114
114
|
let body;
|
|
115
115
|
return new __HttpRequest({
|
|
@@ -190,7 +190,7 @@ export const serializeAws_restJson1GetIncidentRecordCommand = async (input, cont
|
|
|
190
190
|
const headers = {};
|
|
191
191
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getIncidentRecord";
|
|
192
192
|
const query = map({
|
|
193
|
-
arn: [, input.arn],
|
|
193
|
+
arn: [, __expectNonNull(input.arn, `arn`)],
|
|
194
194
|
});
|
|
195
195
|
let body;
|
|
196
196
|
return new __HttpRequest({
|
|
@@ -209,7 +209,7 @@ export const serializeAws_restJson1GetReplicationSetCommand = async (input, cont
|
|
|
209
209
|
const headers = {};
|
|
210
210
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getReplicationSet";
|
|
211
211
|
const query = map({
|
|
212
|
-
arn: [, input.arn],
|
|
212
|
+
arn: [, __expectNonNull(input.arn, `arn`)],
|
|
213
213
|
});
|
|
214
214
|
let body;
|
|
215
215
|
return new __HttpRequest({
|
|
@@ -230,7 +230,7 @@ export const serializeAws_restJson1GetResourcePoliciesCommand = async (input, co
|
|
|
230
230
|
};
|
|
231
231
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getResourcePolicies";
|
|
232
232
|
const query = map({
|
|
233
|
-
resourceArn: [, input.resourceArn],
|
|
233
|
+
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
234
234
|
});
|
|
235
235
|
let body;
|
|
236
236
|
body = JSON.stringify({
|
|
@@ -253,7 +253,7 @@ export const serializeAws_restJson1GetResponsePlanCommand = async (input, contex
|
|
|
253
253
|
const headers = {};
|
|
254
254
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getResponsePlan";
|
|
255
255
|
const query = map({
|
|
256
|
-
arn: [, input.arn],
|
|
256
|
+
arn: [, __expectNonNull(input.arn, `arn`)],
|
|
257
257
|
});
|
|
258
258
|
let body;
|
|
259
259
|
return new __HttpRequest({
|
|
@@ -272,8 +272,8 @@ export const serializeAws_restJson1GetTimelineEventCommand = async (input, conte
|
|
|
272
272
|
const headers = {};
|
|
273
273
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getTimelineEvent";
|
|
274
274
|
const query = map({
|
|
275
|
-
incidentRecordArn: [, input.incidentRecordArn],
|
|
276
|
-
eventId: [, input.eventId],
|
|
275
|
+
incidentRecordArn: [, __expectNonNull(input.incidentRecordArn, `incidentRecordArn`)],
|
|
276
|
+
eventId: [, __expectNonNull(input.eventId, `eventId`)],
|
|
277
277
|
});
|
|
278
278
|
let body;
|
|
279
279
|
return new __HttpRequest({
|
|
@@ -491,7 +491,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
491
491
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
492
492
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
493
493
|
const query = map({
|
|
494
|
-
tagKeys: [
|
|
494
|
+
tagKeys: [
|
|
495
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
496
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
497
|
+
],
|
|
495
498
|
});
|
|
496
499
|
let body;
|
|
497
500
|
return new __HttpRequest({
|
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.218.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|