@aws-sdk/client-ssm-incidents 3.54.1 → 3.55.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.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/SSMIncidentsClient.js +13 -13
- package/dist-cjs/commands/CreateReplicationSetCommand.js +3 -3
- package/dist-cjs/commands/CreateResponsePlanCommand.js +3 -3
- package/dist-cjs/commands/CreateTimelineEventCommand.js +3 -3
- package/dist-cjs/commands/DeleteIncidentRecordCommand.js +3 -3
- package/dist-cjs/commands/DeleteReplicationSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteResponsePlanCommand.js +3 -3
- package/dist-cjs/commands/DeleteTimelineEventCommand.js +3 -3
- package/dist-cjs/commands/GetIncidentRecordCommand.js +3 -3
- package/dist-cjs/commands/GetReplicationSetCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +3 -3
- package/dist-cjs/commands/GetResponsePlanCommand.js +3 -3
- package/dist-cjs/commands/GetTimelineEventCommand.js +3 -3
- package/dist-cjs/commands/ListIncidentRecordsCommand.js +3 -3
- package/dist-cjs/commands/ListRelatedItemsCommand.js +3 -3
- package/dist-cjs/commands/ListReplicationSetsCommand.js +3 -3
- package/dist-cjs/commands/ListResponsePlansCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTimelineEventsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/StartIncidentCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateIncidentRecordCommand.js +3 -3
- package/dist-cjs/commands/UpdateRelatedItemsCommand.js +3 -3
- package/dist-cjs/commands/UpdateReplicationSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateResponsePlanCommand.js +3 -3
- package/dist-cjs/commands/UpdateTimelineEventCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +177 -177
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js +3 -3
- package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js +3 -3
- package/dist-es/SSMIncidents.js +29 -29
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListIncidentRecordsPaginator.js +4 -4
- package/dist-es/pagination/ListRelatedItemsPaginator.js +4 -4
- package/dist-es/pagination/ListReplicationSetsPaginator.js +4 -4
- package/dist-es/pagination/ListResponsePlansPaginator.js +4 -4
- package/dist-es/pagination/ListTimelineEventsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +29 -29
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -15,7 +15,7 @@ export var serializeAws_restJson1CreateReplicationSetCommand = function (input,
|
|
|
15
15
|
headers = {
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
|
-
resolvedPath = ""
|
|
18
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/createReplicationSet";
|
|
19
19
|
body = JSON.stringify(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.regions !== undefined &&
|
|
20
20
|
input.regions !== null && { regions: serializeAws_restJson1RegionMapInput(input.regions, context) })));
|
|
21
21
|
return [2, new __HttpRequest({
|
|
@@ -41,7 +41,7 @@ export var serializeAws_restJson1CreateResponsePlanCommand = function (input, co
|
|
|
41
41
|
headers = {
|
|
42
42
|
"content-type": "application/json",
|
|
43
43
|
};
|
|
44
|
-
resolvedPath = ""
|
|
44
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/createResponsePlan";
|
|
45
45
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
|
|
46
46
|
input.actions !== null && { actions: serializeAws_restJson1ActionsList(input.actions, context) })), (input.chatChannel !== undefined &&
|
|
47
47
|
input.chatChannel !== null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName })), (input.engagements !== undefined &&
|
|
@@ -72,7 +72,7 @@ export var serializeAws_restJson1CreateTimelineEventCommand = function (input, c
|
|
|
72
72
|
headers = {
|
|
73
73
|
"content-type": "application/json",
|
|
74
74
|
};
|
|
75
|
-
resolvedPath = ""
|
|
75
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/createTimelineEvent";
|
|
76
76
|
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.eventData !== undefined && input.eventData !== null && { eventData: input.eventData })), (input.eventTime !== undefined &&
|
|
77
77
|
input.eventTime !== null && { eventTime: Math.round(input.eventTime.getTime() / 1000) })), (input.eventType !== undefined && input.eventType !== null && { eventType: input.eventType })), (input.incidentRecordArn !== undefined &&
|
|
78
78
|
input.incidentRecordArn !== null && { incidentRecordArn: input.incidentRecordArn })));
|
|
@@ -98,7 +98,7 @@ export var serializeAws_restJson1DeleteIncidentRecordCommand = function (input,
|
|
|
98
98
|
headers = {
|
|
99
99
|
"content-type": "application/json",
|
|
100
100
|
};
|
|
101
|
-
resolvedPath = ""
|
|
101
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deleteIncidentRecord";
|
|
102
102
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
103
103
|
return [2, new __HttpRequest({
|
|
104
104
|
protocol: protocol,
|
|
@@ -120,7 +120,7 @@ export var serializeAws_restJson1DeleteReplicationSetCommand = function (input,
|
|
|
120
120
|
case 1:
|
|
121
121
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
122
122
|
headers = {};
|
|
123
|
-
resolvedPath = ""
|
|
123
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deleteReplicationSet";
|
|
124
124
|
query = __assign({}, (input.arn !== undefined && { arn: input.arn }));
|
|
125
125
|
return [2, new __HttpRequest({
|
|
126
126
|
protocol: protocol,
|
|
@@ -145,7 +145,7 @@ export var serializeAws_restJson1DeleteResourcePolicyCommand = function (input,
|
|
|
145
145
|
headers = {
|
|
146
146
|
"content-type": "application/json",
|
|
147
147
|
};
|
|
148
|
-
resolvedPath = ""
|
|
148
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deleteResourcePolicy";
|
|
149
149
|
body = JSON.stringify(__assign(__assign({}, (input.policyId !== undefined && input.policyId !== null && { policyId: input.policyId })), (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })));
|
|
150
150
|
return [2, new __HttpRequest({
|
|
151
151
|
protocol: protocol,
|
|
@@ -169,7 +169,7 @@ export var serializeAws_restJson1DeleteResponsePlanCommand = function (input, co
|
|
|
169
169
|
headers = {
|
|
170
170
|
"content-type": "application/json",
|
|
171
171
|
};
|
|
172
|
-
resolvedPath = ""
|
|
172
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deleteResponsePlan";
|
|
173
173
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
174
174
|
return [2, new __HttpRequest({
|
|
175
175
|
protocol: protocol,
|
|
@@ -193,7 +193,7 @@ export var serializeAws_restJson1DeleteTimelineEventCommand = function (input, c
|
|
|
193
193
|
headers = {
|
|
194
194
|
"content-type": "application/json",
|
|
195
195
|
};
|
|
196
|
-
resolvedPath = ""
|
|
196
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deleteTimelineEvent";
|
|
197
197
|
body = JSON.stringify(__assign(__assign({}, (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId })), (input.incidentRecordArn !== undefined &&
|
|
198
198
|
input.incidentRecordArn !== null && { incidentRecordArn: input.incidentRecordArn })));
|
|
199
199
|
return [2, new __HttpRequest({
|
|
@@ -216,7 +216,7 @@ export var serializeAws_restJson1GetIncidentRecordCommand = function (input, con
|
|
|
216
216
|
case 1:
|
|
217
217
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
218
218
|
headers = {};
|
|
219
|
-
resolvedPath = ""
|
|
219
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getIncidentRecord";
|
|
220
220
|
query = __assign({}, (input.arn !== undefined && { arn: input.arn }));
|
|
221
221
|
return [2, new __HttpRequest({
|
|
222
222
|
protocol: protocol,
|
|
@@ -239,7 +239,7 @@ export var serializeAws_restJson1GetReplicationSetCommand = function (input, con
|
|
|
239
239
|
case 1:
|
|
240
240
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
241
241
|
headers = {};
|
|
242
|
-
resolvedPath = ""
|
|
242
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getReplicationSet";
|
|
243
243
|
query = __assign({}, (input.arn !== undefined && { arn: input.arn }));
|
|
244
244
|
return [2, new __HttpRequest({
|
|
245
245
|
protocol: protocol,
|
|
@@ -264,7 +264,7 @@ export var serializeAws_restJson1GetResourcePoliciesCommand = function (input, c
|
|
|
264
264
|
headers = {
|
|
265
265
|
"content-type": "application/json",
|
|
266
266
|
};
|
|
267
|
-
resolvedPath = ""
|
|
267
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getResourcePolicies";
|
|
268
268
|
query = __assign({}, (input.resourceArn !== undefined && { resourceArn: input.resourceArn }));
|
|
269
269
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
270
270
|
return [2, new __HttpRequest({
|
|
@@ -288,7 +288,7 @@ export var serializeAws_restJson1GetResponsePlanCommand = function (input, conte
|
|
|
288
288
|
case 1:
|
|
289
289
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
290
290
|
headers = {};
|
|
291
|
-
resolvedPath = ""
|
|
291
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getResponsePlan";
|
|
292
292
|
query = __assign({}, (input.arn !== undefined && { arn: input.arn }));
|
|
293
293
|
return [2, new __HttpRequest({
|
|
294
294
|
protocol: protocol,
|
|
@@ -311,7 +311,7 @@ export var serializeAws_restJson1GetTimelineEventCommand = function (input, cont
|
|
|
311
311
|
case 1:
|
|
312
312
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
313
313
|
headers = {};
|
|
314
|
-
resolvedPath = ""
|
|
314
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getTimelineEvent";
|
|
315
315
|
query = __assign(__assign({}, (input.incidentRecordArn !== undefined && { incidentRecordArn: input.incidentRecordArn })), (input.eventId !== undefined && { eventId: input.eventId }));
|
|
316
316
|
return [2, new __HttpRequest({
|
|
317
317
|
protocol: protocol,
|
|
@@ -336,7 +336,7 @@ export var serializeAws_restJson1ListIncidentRecordsCommand = function (input, c
|
|
|
336
336
|
headers = {
|
|
337
337
|
"content-type": "application/json",
|
|
338
338
|
};
|
|
339
|
-
resolvedPath = ""
|
|
339
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listIncidentRecords";
|
|
340
340
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
|
|
341
341
|
input.filters !== null && { filters: serializeAws_restJson1FilterList(input.filters, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
342
342
|
return [2, new __HttpRequest({
|
|
@@ -361,7 +361,7 @@ export var serializeAws_restJson1ListRelatedItemsCommand = function (input, cont
|
|
|
361
361
|
headers = {
|
|
362
362
|
"content-type": "application/json",
|
|
363
363
|
};
|
|
364
|
-
resolvedPath = ""
|
|
364
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listRelatedItems";
|
|
365
365
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.incidentRecordArn !== undefined &&
|
|
366
366
|
input.incidentRecordArn !== null && { incidentRecordArn: input.incidentRecordArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
367
367
|
return [2, new __HttpRequest({
|
|
@@ -386,7 +386,7 @@ export var serializeAws_restJson1ListReplicationSetsCommand = function (input, c
|
|
|
386
386
|
headers = {
|
|
387
387
|
"content-type": "application/json",
|
|
388
388
|
};
|
|
389
|
-
resolvedPath = ""
|
|
389
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listReplicationSets";
|
|
390
390
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
391
391
|
return [2, new __HttpRequest({
|
|
392
392
|
protocol: protocol,
|
|
@@ -410,7 +410,7 @@ export var serializeAws_restJson1ListResponsePlansCommand = function (input, con
|
|
|
410
410
|
headers = {
|
|
411
411
|
"content-type": "application/json",
|
|
412
412
|
};
|
|
413
|
-
resolvedPath = ""
|
|
413
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listResponsePlans";
|
|
414
414
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
415
415
|
return [2, new __HttpRequest({
|
|
416
416
|
protocol: protocol,
|
|
@@ -432,7 +432,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
432
432
|
case 1:
|
|
433
433
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
434
434
|
headers = {};
|
|
435
|
-
resolvedPath = ""
|
|
435
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
436
436
|
if (input.resourceArn !== undefined) {
|
|
437
437
|
labelValue = input.resourceArn;
|
|
438
438
|
if (labelValue.length <= 0) {
|
|
@@ -465,7 +465,7 @@ export var serializeAws_restJson1ListTimelineEventsCommand = function (input, co
|
|
|
465
465
|
headers = {
|
|
466
466
|
"content-type": "application/json",
|
|
467
467
|
};
|
|
468
|
-
resolvedPath = ""
|
|
468
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listTimelineEvents";
|
|
469
469
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters !== undefined &&
|
|
470
470
|
input.filters !== null && { filters: serializeAws_restJson1FilterList(input.filters, context) })), (input.incidentRecordArn !== undefined &&
|
|
471
471
|
input.incidentRecordArn !== null && { incidentRecordArn: input.incidentRecordArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.sortBy !== undefined && input.sortBy !== null && { sortBy: input.sortBy })), (input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder })));
|
|
@@ -491,7 +491,7 @@ export var serializeAws_restJson1PutResourcePolicyCommand = function (input, con
|
|
|
491
491
|
headers = {
|
|
492
492
|
"content-type": "application/json",
|
|
493
493
|
};
|
|
494
|
-
resolvedPath = ""
|
|
494
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/putResourcePolicy";
|
|
495
495
|
body = JSON.stringify(__assign(__assign({}, (input.policy !== undefined && input.policy !== null && { policy: input.policy })), (input.resourceArn !== undefined && input.resourceArn !== null && { resourceArn: input.resourceArn })));
|
|
496
496
|
return [2, new __HttpRequest({
|
|
497
497
|
protocol: protocol,
|
|
@@ -516,7 +516,7 @@ export var serializeAws_restJson1StartIncidentCommand = function (input, context
|
|
|
516
516
|
headers = {
|
|
517
517
|
"content-type": "application/json",
|
|
518
518
|
};
|
|
519
|
-
resolvedPath = ""
|
|
519
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/startIncident";
|
|
520
520
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.impact !== undefined && input.impact !== null && { impact: input.impact })), (input.relatedItems !== undefined &&
|
|
521
521
|
input.relatedItems !== null && {
|
|
522
522
|
relatedItems: serializeAws_restJson1RelatedItemList(input.relatedItems, context),
|
|
@@ -547,7 +547,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
547
547
|
headers = {
|
|
548
548
|
"content-type": "application/json",
|
|
549
549
|
};
|
|
550
|
-
resolvedPath = ""
|
|
550
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
551
551
|
if (input.resourceArn !== undefined) {
|
|
552
552
|
labelValue = input.resourceArn;
|
|
553
553
|
if (labelValue.length <= 0) {
|
|
@@ -579,7 +579,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
579
579
|
case 1:
|
|
580
580
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
581
581
|
headers = {};
|
|
582
|
-
resolvedPath = ""
|
|
582
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
583
583
|
if (input.resourceArn !== undefined) {
|
|
584
584
|
labelValue = input.resourceArn;
|
|
585
585
|
if (labelValue.length <= 0) {
|
|
@@ -615,7 +615,7 @@ export var serializeAws_restJson1UpdateDeletionProtectionCommand = function (inp
|
|
|
615
615
|
headers = {
|
|
616
616
|
"content-type": "application/json",
|
|
617
617
|
};
|
|
618
|
-
resolvedPath = ""
|
|
618
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateDeletionProtection";
|
|
619
619
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.deletionProtected !== undefined &&
|
|
620
620
|
input.deletionProtected !== null && { deletionProtected: input.deletionProtected })));
|
|
621
621
|
return [2, new __HttpRequest({
|
|
@@ -641,7 +641,7 @@ export var serializeAws_restJson1UpdateIncidentRecordCommand = function (input,
|
|
|
641
641
|
headers = {
|
|
642
642
|
"content-type": "application/json",
|
|
643
643
|
};
|
|
644
|
-
resolvedPath = ""
|
|
644
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateIncidentRecord";
|
|
645
645
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })), (input.chatChannel !== undefined &&
|
|
646
646
|
input.chatChannel !== null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.impact !== undefined && input.impact !== null && { impact: input.impact })), (input.notificationTargets !== undefined &&
|
|
647
647
|
input.notificationTargets !== null && {
|
|
@@ -670,7 +670,7 @@ export var serializeAws_restJson1UpdateRelatedItemsCommand = function (input, co
|
|
|
670
670
|
headers = {
|
|
671
671
|
"content-type": "application/json",
|
|
672
672
|
};
|
|
673
|
-
resolvedPath = ""
|
|
673
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateRelatedItems";
|
|
674
674
|
body = JSON.stringify(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.incidentRecordArn !== undefined &&
|
|
675
675
|
input.incidentRecordArn !== null && { incidentRecordArn: input.incidentRecordArn })), (input.relatedItemsUpdate !== undefined &&
|
|
676
676
|
input.relatedItemsUpdate !== null && {
|
|
@@ -699,7 +699,7 @@ export var serializeAws_restJson1UpdateReplicationSetCommand = function (input,
|
|
|
699
699
|
headers = {
|
|
700
700
|
"content-type": "application/json",
|
|
701
701
|
};
|
|
702
|
-
resolvedPath = ""
|
|
702
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateReplicationSet";
|
|
703
703
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.actions !== undefined &&
|
|
704
704
|
input.actions !== null && { actions: serializeAws_restJson1UpdateActionList(input.actions, context) })), (input.arn !== undefined && input.arn !== null && { arn: input.arn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
|
|
705
705
|
return [2, new __HttpRequest({
|
|
@@ -725,7 +725,7 @@ export var serializeAws_restJson1UpdateResponsePlanCommand = function (input, co
|
|
|
725
725
|
headers = {
|
|
726
726
|
"content-type": "application/json",
|
|
727
727
|
};
|
|
728
|
-
resolvedPath = ""
|
|
728
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateResponsePlan";
|
|
729
729
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
|
|
730
730
|
input.actions !== null && { actions: serializeAws_restJson1ActionsList(input.actions, context) })), (input.arn !== undefined && input.arn !== null && { arn: input.arn })), (input.chatChannel !== undefined &&
|
|
731
731
|
input.chatChannel !== null && { chatChannel: serializeAws_restJson1ChatChannel(input.chatChannel, context) })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName })), (input.engagements !== undefined &&
|
|
@@ -762,7 +762,7 @@ export var serializeAws_restJson1UpdateTimelineEventCommand = function (input, c
|
|
|
762
762
|
headers = {
|
|
763
763
|
"content-type": "application/json",
|
|
764
764
|
};
|
|
765
|
-
resolvedPath = ""
|
|
765
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/updateTimelineEvent";
|
|
766
766
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.eventData !== undefined && input.eventData !== null && { eventData: input.eventData })), (input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId })), (input.eventTime !== undefined &&
|
|
767
767
|
input.eventTime !== null && { eventTime: Math.round(input.eventTime.getTime() / 1000) })), (input.eventType !== undefined && input.eventType !== null && { eventType: input.eventType })), (input.incidentRecordArn !== undefined &&
|
|
768
768
|
input.incidentRecordArn !== null && { incidentRecordArn: input.incidentRecordArn })));
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: SSMIncidentsClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: SSMIncidentsClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
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.55.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
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
52
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.55.0",
|
|
52
|
+
"tslib": "^2.3.1",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
57
57
|
"@tsconfig/recommended": "1.0.1",
|
|
58
58
|
"@types/node": "^12.7.5",
|
|
59
59
|
"@types/uuid": "^8.3.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"downlevel-dts": "0.7.0",
|
|
62
62
|
"rimraf": "3.0.2",
|
|
63
63
|
"typedoc": "0.19.2",
|
|
64
|
-
"typescript": "~4.
|
|
64
|
+
"typescript": "~4.6.2"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=12.0.0"
|