@aws-sdk/client-ssm-incidents 3.928.0 → 3.930.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/dist-cjs/index.js +1242 -1559
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SSMIncidentsClient.js +2 -0
- package/dist-es/commands/BatchGetIncidentFindingsCommand.js +3 -9
- package/dist-es/commands/CreateReplicationSetCommand.js +3 -9
- package/dist-es/commands/CreateResponsePlanCommand.js +3 -9
- package/dist-es/commands/CreateTimelineEventCommand.js +3 -9
- package/dist-es/commands/DeleteIncidentRecordCommand.js +3 -9
- package/dist-es/commands/DeleteReplicationSetCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteResponsePlanCommand.js +3 -9
- package/dist-es/commands/DeleteTimelineEventCommand.js +3 -9
- package/dist-es/commands/GetIncidentRecordCommand.js +3 -9
- package/dist-es/commands/GetReplicationSetCommand.js +3 -9
- package/dist-es/commands/GetResourcePoliciesCommand.js +3 -9
- package/dist-es/commands/GetResponsePlanCommand.js +3 -9
- package/dist-es/commands/GetTimelineEventCommand.js +3 -9
- package/dist-es/commands/ListIncidentFindingsCommand.js +3 -9
- package/dist-es/commands/ListIncidentRecordsCommand.js +3 -9
- package/dist-es/commands/ListRelatedItemsCommand.js +3 -9
- package/dist-es/commands/ListReplicationSetsCommand.js +3 -9
- package/dist-es/commands/ListResponsePlansCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTimelineEventsCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/StartIncidentCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDeletionProtectionCommand.js +3 -9
- package/dist-es/commands/UpdateIncidentRecordCommand.js +3 -9
- package/dist-es/commands/UpdateRelatedItemsCommand.js +3 -9
- package/dist-es/commands/UpdateReplicationSetCommand.js +3 -9
- package/dist-es/commands/UpdateResponsePlanCommand.js +3 -9
- package/dist-es/commands/UpdateTimelineEventCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -126
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1172 -0
- package/dist-types/SSMIncidentsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +52 -13
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +171 -0
- package/dist-types/ts3.4/SSMIncidentsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +177 -0
- package/package.json +34 -35
- package/dist-es/protocols/Aws_restJson1.js +0 -1200
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartIncident } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartIncidentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "StartIncident", {})
|
|
17
13
|
.n("SSMIncidentsClient", "StartIncidentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartIncidentCommand)
|
|
20
|
-
.de(de_StartIncidentCommand)
|
|
14
|
+
.sc(StartIncident)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "TagResource", {})
|
|
17
13
|
.n("SSMIncidentsClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "UntagResource", {})
|
|
17
13
|
.n("SSMIncidentsClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDeletionProtection } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDeletionProtectionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "UpdateDeletionProtection", {})
|
|
17
13
|
.n("SSMIncidentsClient", "UpdateDeletionProtectionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDeletionProtectionCommand)
|
|
20
|
-
.de(de_UpdateDeletionProtectionCommand)
|
|
14
|
+
.sc(UpdateDeletionProtection)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIncidentRecord } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIncidentRecordCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "UpdateIncidentRecord", {})
|
|
17
13
|
.n("SSMIncidentsClient", "UpdateIncidentRecordCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIncidentRecordCommand)
|
|
20
|
-
.de(de_UpdateIncidentRecordCommand)
|
|
14
|
+
.sc(UpdateIncidentRecord)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRelatedItems } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRelatedItemsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "UpdateRelatedItems", {})
|
|
17
13
|
.n("SSMIncidentsClient", "UpdateRelatedItemsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRelatedItemsCommand)
|
|
20
|
-
.de(de_UpdateRelatedItemsCommand)
|
|
14
|
+
.sc(UpdateRelatedItems)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateReplicationSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateReplicationSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "UpdateReplicationSet", {})
|
|
17
13
|
.n("SSMIncidentsClient", "UpdateReplicationSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateReplicationSetCommand)
|
|
20
|
-
.de(de_UpdateReplicationSetCommand)
|
|
14
|
+
.sc(UpdateReplicationSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateResponsePlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateResponsePlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "UpdateResponsePlan", {})
|
|
17
13
|
.n("SSMIncidentsClient", "UpdateResponsePlanCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateResponsePlanCommand)
|
|
20
|
-
.de(de_UpdateResponsePlanCommand)
|
|
14
|
+
.sc(UpdateResponsePlan)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTimelineEvent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTimelineEventCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SSMIncidents", "UpdateTimelineEvent", {})
|
|
17
13
|
.n("SSMIncidentsClient", "UpdateTimelineEventCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTimelineEventCommand)
|
|
20
|
-
.de(de_UpdateTimelineEventCommand)
|
|
14
|
+
.sc(UpdateTimelineEvent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -15,54 +15,10 @@ export const VariableType = {
|
|
|
15
15
|
INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
|
|
16
16
|
INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
|
|
17
17
|
};
|
|
18
|
-
export var DynamicSsmParameterValue;
|
|
19
|
-
(function (DynamicSsmParameterValue) {
|
|
20
|
-
DynamicSsmParameterValue.visit = (value, visitor) => {
|
|
21
|
-
if (value.variable !== undefined)
|
|
22
|
-
return visitor.variable(value.variable);
|
|
23
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
24
|
-
};
|
|
25
|
-
})(DynamicSsmParameterValue || (DynamicSsmParameterValue = {}));
|
|
26
18
|
export const SsmTargetAccount = {
|
|
27
19
|
IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
|
|
28
20
|
RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
|
|
29
21
|
};
|
|
30
|
-
export var Action;
|
|
31
|
-
(function (Action) {
|
|
32
|
-
Action.visit = (value, visitor) => {
|
|
33
|
-
if (value.ssmAutomation !== undefined)
|
|
34
|
-
return visitor.ssmAutomation(value.ssmAutomation);
|
|
35
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
36
|
-
};
|
|
37
|
-
})(Action || (Action = {}));
|
|
38
|
-
export var AttributeValueList;
|
|
39
|
-
(function (AttributeValueList) {
|
|
40
|
-
AttributeValueList.visit = (value, visitor) => {
|
|
41
|
-
if (value.stringValues !== undefined)
|
|
42
|
-
return visitor.stringValues(value.stringValues);
|
|
43
|
-
if (value.integerValues !== undefined)
|
|
44
|
-
return visitor.integerValues(value.integerValues);
|
|
45
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
46
|
-
};
|
|
47
|
-
})(AttributeValueList || (AttributeValueList = {}));
|
|
48
|
-
export var AutomationExecution;
|
|
49
|
-
(function (AutomationExecution) {
|
|
50
|
-
AutomationExecution.visit = (value, visitor) => {
|
|
51
|
-
if (value.ssmExecutionArn !== undefined)
|
|
52
|
-
return visitor.ssmExecutionArn(value.ssmExecutionArn);
|
|
53
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
54
|
-
};
|
|
55
|
-
})(AutomationExecution || (AutomationExecution = {}));
|
|
56
|
-
export var FindingDetails;
|
|
57
|
-
(function (FindingDetails) {
|
|
58
|
-
FindingDetails.visit = (value, visitor) => {
|
|
59
|
-
if (value.codeDeployDeployment !== undefined)
|
|
60
|
-
return visitor.codeDeployDeployment(value.codeDeployDeployment);
|
|
61
|
-
if (value.cloudFormationStackUpdate !== undefined)
|
|
62
|
-
return visitor.cloudFormationStackUpdate(value.cloudFormationStackUpdate);
|
|
63
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
64
|
-
};
|
|
65
|
-
})(FindingDetails || (FindingDetails = {}));
|
|
66
22
|
export class InternalServerException extends __BaseException {
|
|
67
23
|
name = "InternalServerException";
|
|
68
24
|
$fault = "server";
|
|
@@ -129,28 +85,6 @@ export class ValidationException extends __BaseException {
|
|
|
129
85
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
130
86
|
}
|
|
131
87
|
}
|
|
132
|
-
export var ChatChannel;
|
|
133
|
-
(function (ChatChannel) {
|
|
134
|
-
ChatChannel.visit = (value, visitor) => {
|
|
135
|
-
if (value.empty !== undefined)
|
|
136
|
-
return visitor.empty(value.empty);
|
|
137
|
-
if (value.chatbotSns !== undefined)
|
|
138
|
-
return visitor.chatbotSns(value.chatbotSns);
|
|
139
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
140
|
-
};
|
|
141
|
-
})(ChatChannel || (ChatChannel = {}));
|
|
142
|
-
export var Condition;
|
|
143
|
-
(function (Condition) {
|
|
144
|
-
Condition.visit = (value, visitor) => {
|
|
145
|
-
if (value.before !== undefined)
|
|
146
|
-
return visitor.before(value.before);
|
|
147
|
-
if (value.after !== undefined)
|
|
148
|
-
return visitor.after(value.after);
|
|
149
|
-
if (value.equals !== undefined)
|
|
150
|
-
return visitor.equals(value.equals);
|
|
151
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
152
|
-
};
|
|
153
|
-
})(Condition || (Condition = {}));
|
|
154
88
|
export class ConflictException extends __BaseException {
|
|
155
89
|
name = "ConflictException";
|
|
156
90
|
$fault = "client";
|
|
@@ -189,32 +123,6 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
189
123
|
this.quotaCode = opts.quotaCode;
|
|
190
124
|
}
|
|
191
125
|
}
|
|
192
|
-
export var NotificationTargetItem;
|
|
193
|
-
(function (NotificationTargetItem) {
|
|
194
|
-
NotificationTargetItem.visit = (value, visitor) => {
|
|
195
|
-
if (value.snsTopicArn !== undefined)
|
|
196
|
-
return visitor.snsTopicArn(value.snsTopicArn);
|
|
197
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
198
|
-
};
|
|
199
|
-
})(NotificationTargetItem || (NotificationTargetItem = {}));
|
|
200
|
-
export var Integration;
|
|
201
|
-
(function (Integration) {
|
|
202
|
-
Integration.visit = (value, visitor) => {
|
|
203
|
-
if (value.pagerDutyConfiguration !== undefined)
|
|
204
|
-
return visitor.pagerDutyConfiguration(value.pagerDutyConfiguration);
|
|
205
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
206
|
-
};
|
|
207
|
-
})(Integration || (Integration = {}));
|
|
208
|
-
export var EventReference;
|
|
209
|
-
(function (EventReference) {
|
|
210
|
-
EventReference.visit = (value, visitor) => {
|
|
211
|
-
if (value.resource !== undefined)
|
|
212
|
-
return visitor.resource(value.resource);
|
|
213
|
-
if (value.relatedItemId !== undefined)
|
|
214
|
-
return visitor.relatedItemId(value.relatedItemId);
|
|
215
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
216
|
-
};
|
|
217
|
-
})(EventReference || (EventReference = {}));
|
|
218
126
|
export const IncidentRecordStatus = {
|
|
219
127
|
OPEN: "OPEN",
|
|
220
128
|
RESOLVED: "RESOLVED",
|
|
@@ -243,20 +151,6 @@ export const ItemType = {
|
|
|
243
151
|
PARENT: "PARENT",
|
|
244
152
|
TASK: "TASK",
|
|
245
153
|
};
|
|
246
|
-
export var ItemValue;
|
|
247
|
-
(function (ItemValue) {
|
|
248
|
-
ItemValue.visit = (value, visitor) => {
|
|
249
|
-
if (value.arn !== undefined)
|
|
250
|
-
return visitor.arn(value.arn);
|
|
251
|
-
if (value.url !== undefined)
|
|
252
|
-
return visitor.url(value.url);
|
|
253
|
-
if (value.metricDefinition !== undefined)
|
|
254
|
-
return visitor.metricDefinition(value.metricDefinition);
|
|
255
|
-
if (value.pagerDutyIncidentDetail !== undefined)
|
|
256
|
-
return visitor.pagerDutyIncidentDetail(value.pagerDutyIncidentDetail);
|
|
257
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
258
|
-
};
|
|
259
|
-
})(ItemValue || (ItemValue = {}));
|
|
260
154
|
export const TimelineEventSort = {
|
|
261
155
|
EVENT_TIME: "EVENT_TIME",
|
|
262
156
|
};
|
|
@@ -264,23 +158,3 @@ export const SortOrder = {
|
|
|
264
158
|
ASCENDING: "ASCENDING",
|
|
265
159
|
DESCENDING: "DESCENDING",
|
|
266
160
|
};
|
|
267
|
-
export var RelatedItemsUpdate;
|
|
268
|
-
(function (RelatedItemsUpdate) {
|
|
269
|
-
RelatedItemsUpdate.visit = (value, visitor) => {
|
|
270
|
-
if (value.itemToAdd !== undefined)
|
|
271
|
-
return visitor.itemToAdd(value.itemToAdd);
|
|
272
|
-
if (value.itemToRemove !== undefined)
|
|
273
|
-
return visitor.itemToRemove(value.itemToRemove);
|
|
274
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
275
|
-
};
|
|
276
|
-
})(RelatedItemsUpdate || (RelatedItemsUpdate = {}));
|
|
277
|
-
export var UpdateReplicationSetAction;
|
|
278
|
-
(function (UpdateReplicationSetAction) {
|
|
279
|
-
UpdateReplicationSetAction.visit = (value, visitor) => {
|
|
280
|
-
if (value.addRegionAction !== undefined)
|
|
281
|
-
return visitor.addRegionAction(value.addRegionAction);
|
|
282
|
-
if (value.deleteRegionAction !== undefined)
|
|
283
|
-
return visitor.deleteRegionAction(value.deleteRegionAction);
|
|
284
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
285
|
-
};
|
|
286
|
-
})(UpdateReplicationSetAction || (UpdateReplicationSetAction = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssmincidents" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "SSM Incidents",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|