@aws-sdk/client-ssm-incidents 3.300.0 → 3.303.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +53 -63
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +53 -63
- package/dist-types/SSMIncidents.d.ts +20 -22
- package/dist-types/commands/CreateReplicationSetCommand.d.ts +5 -5
- package/dist-types/commands/CreateResponsePlanCommand.d.ts +22 -22
- package/dist-types/commands/CreateTimelineEventCommand.d.ts +6 -6
- package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReplicationSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResponsePlanCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTimelineEventCommand.d.ts +1 -1
- package/dist-types/commands/GetIncidentRecordCommand.d.ts +1 -1
- package/dist-types/commands/GetReplicationSetCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/GetResponsePlanCommand.d.ts +1 -1
- package/dist-types/commands/GetTimelineEventCommand.d.ts +1 -1
- package/dist-types/commands/ListIncidentRecordsCommand.d.ts +8 -8
- package/dist-types/commands/ListRelatedItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListReplicationSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListResponsePlansCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTimelineEventsCommand.d.ts +7 -7
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -4
- package/dist-types/commands/StartIncidentCommand.d.ts +8 -8
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +8 -8
- package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +7 -7
- package/dist-types/commands/UpdateReplicationSetCommand.d.ts +5 -5
- package/dist-types/commands/UpdateResponsePlanCommand.d.ts +18 -18
- package/dist-types/commands/UpdateTimelineEventCommand.d.ts +4 -5
- package/dist-types/models/models_0.d.ts +313 -289
- package/dist-types/ts3.4/models/models_0.d.ts +67 -53
- package/package.json +35 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -15,11 +15,10 @@ class AccessDeniedException extends SSMIncidentsServiceException_1.SSMIncidentsS
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})(VariableType = exports.VariableType || (exports.VariableType = {}));
|
|
18
|
+
exports.VariableType = {
|
|
19
|
+
INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
|
|
20
|
+
INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
|
|
21
|
+
};
|
|
23
22
|
var DynamicSsmParameterValue;
|
|
24
23
|
(function (DynamicSsmParameterValue) {
|
|
25
24
|
DynamicSsmParameterValue.visit = (value, visitor) => {
|
|
@@ -28,11 +27,10 @@ var DynamicSsmParameterValue;
|
|
|
28
27
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
29
28
|
};
|
|
30
29
|
})(DynamicSsmParameterValue = exports.DynamicSsmParameterValue || (exports.DynamicSsmParameterValue = {}));
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
})(SsmTargetAccount = exports.SsmTargetAccount || (exports.SsmTargetAccount = {}));
|
|
30
|
+
exports.SsmTargetAccount = {
|
|
31
|
+
IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
|
|
32
|
+
RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
|
|
33
|
+
};
|
|
36
34
|
var Action;
|
|
37
35
|
(function (Action) {
|
|
38
36
|
Action.visit = (value, visitor) => {
|
|
@@ -81,14 +79,13 @@ var Condition;
|
|
|
81
79
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
82
80
|
};
|
|
83
81
|
})(Condition = exports.Condition || (exports.Condition = {}));
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
82
|
+
exports.ResourceType = {
|
|
83
|
+
INCIDENT_RECORD: "INCIDENT_RECORD",
|
|
84
|
+
REPLICATION_SET: "REPLICATION_SET",
|
|
85
|
+
RESOURCE_POLICY: "RESOURCE_POLICY",
|
|
86
|
+
RESPONSE_PLAN: "RESPONSE_PLAN",
|
|
87
|
+
TIMELINE_EVENT: "TIMELINE_EVENT",
|
|
88
|
+
};
|
|
92
89
|
class ConflictException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
93
90
|
constructor(opts) {
|
|
94
91
|
super({
|
|
@@ -118,10 +115,9 @@ class InternalServerException extends SSMIncidentsServiceException_1.SSMIncident
|
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
exports.InternalServerException = InternalServerException;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
})(ServiceCode = exports.ServiceCode || (exports.ServiceCode = {}));
|
|
118
|
+
exports.ServiceCode = {
|
|
119
|
+
SSM_INCIDENTS: "ssm-incidents",
|
|
120
|
+
};
|
|
125
121
|
class ServiceQuotaExceededException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
126
122
|
constructor(opts) {
|
|
127
123
|
super({
|
|
@@ -208,38 +204,34 @@ var EventReference;
|
|
|
208
204
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
209
205
|
};
|
|
210
206
|
})(EventReference = exports.EventReference || (exports.EventReference = {}));
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
ItemType["OTHER"] = "OTHER";
|
|
240
|
-
ItemType["PARENT"] = "PARENT";
|
|
241
|
-
ItemType["TASK"] = "TASK";
|
|
242
|
-
})(ItemType = exports.ItemType || (exports.ItemType = {}));
|
|
207
|
+
exports.IncidentRecordStatus = {
|
|
208
|
+
OPEN: "OPEN",
|
|
209
|
+
RESOLVED: "RESOLVED",
|
|
210
|
+
};
|
|
211
|
+
exports.RegionStatus = {
|
|
212
|
+
ACTIVE: "ACTIVE",
|
|
213
|
+
CREATING: "CREATING",
|
|
214
|
+
DELETING: "DELETING",
|
|
215
|
+
FAILED: "FAILED",
|
|
216
|
+
};
|
|
217
|
+
exports.ReplicationSetStatus = {
|
|
218
|
+
ACTIVE: "ACTIVE",
|
|
219
|
+
CREATING: "CREATING",
|
|
220
|
+
DELETING: "DELETING",
|
|
221
|
+
FAILED: "FAILED",
|
|
222
|
+
UPDATING: "UPDATING",
|
|
223
|
+
};
|
|
224
|
+
exports.ItemType = {
|
|
225
|
+
ANALYSIS: "ANALYSIS",
|
|
226
|
+
ATTACHMENT: "ATTACHMENT",
|
|
227
|
+
AUTOMATION: "AUTOMATION",
|
|
228
|
+
INCIDENT: "INCIDENT",
|
|
229
|
+
INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
|
|
230
|
+
METRIC: "METRIC",
|
|
231
|
+
OTHER: "OTHER",
|
|
232
|
+
PARENT: "PARENT",
|
|
233
|
+
TASK: "TASK",
|
|
234
|
+
};
|
|
243
235
|
var ItemValue;
|
|
244
236
|
(function (ItemValue) {
|
|
245
237
|
ItemValue.visit = (value, visitor) => {
|
|
@@ -254,15 +246,13 @@ var ItemValue;
|
|
|
254
246
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
255
247
|
};
|
|
256
248
|
})(ItemValue = exports.ItemValue || (exports.ItemValue = {}));
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
SortOrder["DESCENDING"] = "DESCENDING";
|
|
265
|
-
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
249
|
+
exports.TimelineEventSort = {
|
|
250
|
+
EVENT_TIME: "EVENT_TIME",
|
|
251
|
+
};
|
|
252
|
+
exports.SortOrder = {
|
|
253
|
+
ASCENDING: "ASCENDING",
|
|
254
|
+
DESCENDING: "DESCENDING",
|
|
255
|
+
};
|
|
266
256
|
var RelatedItemsUpdate;
|
|
267
257
|
(function (RelatedItemsUpdate) {
|
|
268
258
|
RelatedItemsUpdate.visit = (value, visitor) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -11,11 +11,10 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})(VariableType || (VariableType = {}));
|
|
14
|
+
export const VariableType = {
|
|
15
|
+
INCIDENT_RECORD_ARN: "INCIDENT_RECORD_ARN",
|
|
16
|
+
INVOLVED_RESOURCES: "INVOLVED_RESOURCES",
|
|
17
|
+
};
|
|
19
18
|
export var DynamicSsmParameterValue;
|
|
20
19
|
(function (DynamicSsmParameterValue) {
|
|
21
20
|
DynamicSsmParameterValue.visit = (value, visitor) => {
|
|
@@ -24,11 +23,10 @@ export var DynamicSsmParameterValue;
|
|
|
24
23
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
25
24
|
};
|
|
26
25
|
})(DynamicSsmParameterValue || (DynamicSsmParameterValue = {}));
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
})(SsmTargetAccount || (SsmTargetAccount = {}));
|
|
26
|
+
export const SsmTargetAccount = {
|
|
27
|
+
IMPACTED_ACCOUNT: "IMPACTED_ACCOUNT",
|
|
28
|
+
RESPONSE_PLAN_OWNER_ACCOUNT: "RESPONSE_PLAN_OWNER_ACCOUNT",
|
|
29
|
+
};
|
|
32
30
|
export var Action;
|
|
33
31
|
(function (Action) {
|
|
34
32
|
Action.visit = (value, visitor) => {
|
|
@@ -77,14 +75,13 @@ export var Condition;
|
|
|
77
75
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
78
76
|
};
|
|
79
77
|
})(Condition || (Condition = {}));
|
|
80
|
-
export
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
})(ResourceType || (ResourceType = {}));
|
|
78
|
+
export const ResourceType = {
|
|
79
|
+
INCIDENT_RECORD: "INCIDENT_RECORD",
|
|
80
|
+
REPLICATION_SET: "REPLICATION_SET",
|
|
81
|
+
RESOURCE_POLICY: "RESOURCE_POLICY",
|
|
82
|
+
RESPONSE_PLAN: "RESPONSE_PLAN",
|
|
83
|
+
TIMELINE_EVENT: "TIMELINE_EVENT",
|
|
84
|
+
};
|
|
88
85
|
export class ConflictException extends __BaseException {
|
|
89
86
|
constructor(opts) {
|
|
90
87
|
super({
|
|
@@ -112,10 +109,9 @@ export class InternalServerException extends __BaseException {
|
|
|
112
109
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
113
110
|
}
|
|
114
111
|
}
|
|
115
|
-
export
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
})(ServiceCode || (ServiceCode = {}));
|
|
112
|
+
export const ServiceCode = {
|
|
113
|
+
SSM_INCIDENTS: "ssm-incidents",
|
|
114
|
+
};
|
|
119
115
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
120
116
|
constructor(opts) {
|
|
121
117
|
super({
|
|
@@ -198,38 +194,34 @@ export var EventReference;
|
|
|
198
194
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
199
195
|
};
|
|
200
196
|
})(EventReference || (EventReference = {}));
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
ItemType["OTHER"] = "OTHER";
|
|
230
|
-
ItemType["PARENT"] = "PARENT";
|
|
231
|
-
ItemType["TASK"] = "TASK";
|
|
232
|
-
})(ItemType || (ItemType = {}));
|
|
197
|
+
export const IncidentRecordStatus = {
|
|
198
|
+
OPEN: "OPEN",
|
|
199
|
+
RESOLVED: "RESOLVED",
|
|
200
|
+
};
|
|
201
|
+
export const RegionStatus = {
|
|
202
|
+
ACTIVE: "ACTIVE",
|
|
203
|
+
CREATING: "CREATING",
|
|
204
|
+
DELETING: "DELETING",
|
|
205
|
+
FAILED: "FAILED",
|
|
206
|
+
};
|
|
207
|
+
export const ReplicationSetStatus = {
|
|
208
|
+
ACTIVE: "ACTIVE",
|
|
209
|
+
CREATING: "CREATING",
|
|
210
|
+
DELETING: "DELETING",
|
|
211
|
+
FAILED: "FAILED",
|
|
212
|
+
UPDATING: "UPDATING",
|
|
213
|
+
};
|
|
214
|
+
export const ItemType = {
|
|
215
|
+
ANALYSIS: "ANALYSIS",
|
|
216
|
+
ATTACHMENT: "ATTACHMENT",
|
|
217
|
+
AUTOMATION: "AUTOMATION",
|
|
218
|
+
INCIDENT: "INCIDENT",
|
|
219
|
+
INVOLVED_RESOURCE: "INVOLVED_RESOURCE",
|
|
220
|
+
METRIC: "METRIC",
|
|
221
|
+
OTHER: "OTHER",
|
|
222
|
+
PARENT: "PARENT",
|
|
223
|
+
TASK: "TASK",
|
|
224
|
+
};
|
|
233
225
|
export var ItemValue;
|
|
234
226
|
(function (ItemValue) {
|
|
235
227
|
ItemValue.visit = (value, visitor) => {
|
|
@@ -244,15 +236,13 @@ export var ItemValue;
|
|
|
244
236
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
245
237
|
};
|
|
246
238
|
})(ItemValue || (ItemValue = {}));
|
|
247
|
-
export
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
SortOrder["DESCENDING"] = "DESCENDING";
|
|
255
|
-
})(SortOrder || (SortOrder = {}));
|
|
239
|
+
export const TimelineEventSort = {
|
|
240
|
+
EVENT_TIME: "EVENT_TIME",
|
|
241
|
+
};
|
|
242
|
+
export const SortOrder = {
|
|
243
|
+
ASCENDING: "ASCENDING",
|
|
244
|
+
DESCENDING: "DESCENDING",
|
|
245
|
+
};
|
|
256
246
|
export var RelatedItemsUpdate;
|
|
257
247
|
(function (RelatedItemsUpdate) {
|
|
258
248
|
RelatedItemsUpdate.visit = (value, visitor) => {
|
|
@@ -44,16 +44,16 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
44
44
|
/**
|
|
45
45
|
* @public
|
|
46
46
|
* <p>A replication set replicates and encrypts your data to the provided Regions with the
|
|
47
|
-
*
|
|
47
|
+
* provided KMS key. </p>
|
|
48
48
|
*/
|
|
49
49
|
createReplicationSet(args: CreateReplicationSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateReplicationSetCommandOutput>;
|
|
50
50
|
createReplicationSet(args: CreateReplicationSetCommandInput, cb: (err: any, data?: CreateReplicationSetCommandOutput) => void): void;
|
|
51
51
|
createReplicationSet(args: CreateReplicationSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReplicationSetCommandOutput) => void): void;
|
|
52
52
|
/**
|
|
53
53
|
* @public
|
|
54
|
-
* <p>Creates a response plan that automates the initial response to incidents. A response
|
|
55
|
-
*
|
|
56
|
-
*
|
|
54
|
+
* <p>Creates a response plan that automates the initial response to incidents. A response plan
|
|
55
|
+
* engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning
|
|
56
|
+
* of an incident.</p>
|
|
57
57
|
*/
|
|
58
58
|
createResponsePlan(args: CreateResponsePlanCommandInput, options?: __HttpHandlerOptions): Promise<CreateResponsePlanCommandOutput>;
|
|
59
59
|
createResponsePlan(args: CreateResponsePlanCommandInput, cb: (err: any, data?: CreateResponsePlanCommandOutput) => void): void;
|
|
@@ -61,9 +61,9 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
61
61
|
/**
|
|
62
62
|
* @public
|
|
63
63
|
* <p>Creates a custom timeline event on the incident details page of an incident record.
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
64
|
+
* Incident Manager automatically creates timeline events that mark key moments during an incident.
|
|
65
|
+
* You can create custom timeline events to mark important events that Incident Manager can detect
|
|
66
|
+
* automatically.</p>
|
|
67
67
|
*/
|
|
68
68
|
createTimelineEvent(args: CreateTimelineEventCommandInput, options?: __HttpHandlerOptions): Promise<CreateTimelineEventCommandOutput>;
|
|
69
69
|
createTimelineEvent(args: CreateTimelineEventCommandInput, cb: (err: any, data?: CreateTimelineEventCommandOutput) => void): void;
|
|
@@ -78,7 +78,7 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
78
78
|
/**
|
|
79
79
|
* @public
|
|
80
80
|
* <p>Deletes all Regions in your replication set. Deleting the replication set deletes all
|
|
81
|
-
*
|
|
81
|
+
* Incident Manager data.</p>
|
|
82
82
|
*/
|
|
83
83
|
deleteReplicationSet(args: DeleteReplicationSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReplicationSetCommandOutput>;
|
|
84
84
|
deleteReplicationSet(args: DeleteReplicationSetCommandInput, cb: (err: any, data?: DeleteReplicationSetCommandOutput) => void): void;
|
|
@@ -86,15 +86,15 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
86
86
|
/**
|
|
87
87
|
* @public
|
|
88
88
|
* <p>Deletes the resource policy that Resource Access Manager uses to share your Incident Manager
|
|
89
|
-
*
|
|
89
|
+
* resource.</p>
|
|
90
90
|
*/
|
|
91
91
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
92
92
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
93
93
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
94
94
|
/**
|
|
95
95
|
* @public
|
|
96
|
-
* <p>Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this
|
|
97
|
-
*
|
|
96
|
+
* <p>Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response
|
|
97
|
+
* plan.</p>
|
|
98
98
|
*/
|
|
99
99
|
deleteResponsePlan(args: DeleteResponsePlanCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResponsePlanCommandOutput>;
|
|
100
100
|
deleteResponsePlan(args: DeleteResponsePlanCommandInput, cb: (err: any, data?: DeleteResponsePlanCommandOutput) => void): void;
|
|
@@ -144,7 +144,7 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
144
144
|
/**
|
|
145
145
|
* @public
|
|
146
146
|
* <p>Lists all incident records in your account. Use this command to retrieve the Amazon
|
|
147
|
-
*
|
|
147
|
+
* Resource Name (ARN) of the incident record you want to update. </p>
|
|
148
148
|
*/
|
|
149
149
|
listIncidentRecords(args: ListIncidentRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListIncidentRecordsCommandOutput>;
|
|
150
150
|
listIncidentRecords(args: ListIncidentRecordsCommandInput, cb: (err: any, data?: ListIncidentRecordsCommandOutput) => void): void;
|
|
@@ -187,9 +187,8 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
187
187
|
/**
|
|
188
188
|
* @public
|
|
189
189
|
* <p>Adds a resource policy to the specified response plan. The resource policy is used to
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
* management</a>.</p>
|
|
190
|
+
* share the response plan using Resource Access Manager (RAM). For more
|
|
191
|
+
* information about cross-account sharing, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-manager-cross-account-cross-region.html">Cross-Region and cross-account incident management</a>.</p>
|
|
193
192
|
*/
|
|
194
193
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
195
194
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
@@ -197,7 +196,7 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
197
196
|
/**
|
|
198
197
|
* @public
|
|
199
198
|
* <p>Used to start an incident from CloudWatch alarms, EventBridge events, or
|
|
200
|
-
*
|
|
199
|
+
* manually. </p>
|
|
201
200
|
*/
|
|
202
201
|
startIncident(args: StartIncidentCommandInput, options?: __HttpHandlerOptions): Promise<StartIncidentCommandOutput>;
|
|
203
202
|
startIncident(args: StartIncidentCommandInput, cb: (err: any, data?: StartIncidentCommandOutput) => void): void;
|
|
@@ -219,16 +218,16 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
219
218
|
/**
|
|
220
219
|
* @public
|
|
221
220
|
* <p>Update deletion protection to either allow or deny deletion of the final Region in a
|
|
222
|
-
*
|
|
221
|
+
* replication set.</p>
|
|
223
222
|
*/
|
|
224
223
|
updateDeletionProtection(args: UpdateDeletionProtectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDeletionProtectionCommandOutput>;
|
|
225
224
|
updateDeletionProtection(args: UpdateDeletionProtectionCommandInput, cb: (err: any, data?: UpdateDeletionProtectionCommandOutput) => void): void;
|
|
226
225
|
updateDeletionProtection(args: UpdateDeletionProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDeletionProtectionCommandOutput) => void): void;
|
|
227
226
|
/**
|
|
228
227
|
* @public
|
|
229
|
-
* <p>Update the details of an incident record. You can use this operation to update an
|
|
230
|
-
*
|
|
231
|
-
*
|
|
228
|
+
* <p>Update the details of an incident record. You can use this operation to update an incident
|
|
229
|
+
* record from the defined chat channel. For more information about using actions in chat
|
|
230
|
+
* channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
|
|
232
231
|
*/
|
|
233
232
|
updateIncidentRecord(args: UpdateIncidentRecordCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIncidentRecordCommandOutput>;
|
|
234
233
|
updateIncidentRecord(args: UpdateIncidentRecordCommandInput, cb: (err: any, data?: UpdateIncidentRecordCommandOutput) => void): void;
|
|
@@ -256,8 +255,7 @@ export declare class SSMIncidents extends SSMIncidentsClient {
|
|
|
256
255
|
updateResponsePlan(args: UpdateResponsePlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResponsePlanCommandOutput) => void): void;
|
|
257
256
|
/**
|
|
258
257
|
* @public
|
|
259
|
-
* <p>Updates a timeline event. You can update events of type <code>Custom
|
|
260
|
-
* Event</code>.</p>
|
|
258
|
+
* <p>Updates a timeline event. You can update events of type <code>Custom Event</code>.</p>
|
|
261
259
|
*/
|
|
262
260
|
updateTimelineEvent(args: UpdateTimelineEventCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTimelineEventCommandOutput>;
|
|
263
261
|
updateTimelineEvent(args: UpdateTimelineEventCommandInput, cb: (err: any, data?: UpdateTimelineEventCommandOutput) => void): void;
|
|
@@ -20,21 +20,21 @@ export interface CreateReplicationSetCommandOutput extends CreateReplicationSetO
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>A replication set replicates and encrypts your data to the provided Regions with the
|
|
23
|
-
*
|
|
23
|
+
* provided KMS key. </p>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
26
|
* ```javascript
|
|
27
27
|
* import { SSMIncidentsClient, CreateReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
28
28
|
* // const { SSMIncidentsClient, CreateReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
29
29
|
* const client = new SSMIncidentsClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* regions: { // required
|
|
32
|
-
* "<keys>": {
|
|
30
|
+
* const input = { // CreateReplicationSetInput
|
|
31
|
+
* regions: { // RegionMapInput // required
|
|
32
|
+
* "<keys>": { // RegionMapInputValue
|
|
33
33
|
* sseKmsKeyId: "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* },
|
|
36
36
|
* clientToken: "STRING_VALUE",
|
|
37
|
-
* tags: {
|
|
37
|
+
* tags: { // TagMap
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* };
|
|
@@ -19,56 +19,56 @@ export interface CreateResponsePlanCommandOutput extends CreateResponsePlanOutpu
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Creates a response plan that automates the initial response to incidents. A response
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* <p>Creates a response plan that automates the initial response to incidents. A response plan
|
|
23
|
+
* engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning
|
|
24
|
+
* of an incident.</p>
|
|
25
25
|
* @example
|
|
26
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
27
|
* ```javascript
|
|
28
28
|
* import { SSMIncidentsClient, CreateResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
29
29
|
* // const { SSMIncidentsClient, CreateResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
30
30
|
* const client = new SSMIncidentsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CreateResponsePlanInput
|
|
32
32
|
* clientToken: "STRING_VALUE",
|
|
33
33
|
* name: "STRING_VALUE", // required
|
|
34
34
|
* displayName: "STRING_VALUE",
|
|
35
|
-
* incidentTemplate: {
|
|
35
|
+
* incidentTemplate: { // IncidentTemplate
|
|
36
36
|
* title: "STRING_VALUE", // required
|
|
37
37
|
* impact: Number("int"), // required
|
|
38
38
|
* summary: "STRING_VALUE",
|
|
39
39
|
* dedupeString: "STRING_VALUE",
|
|
40
|
-
* notificationTargets: [
|
|
41
|
-
* { // Union: only one key present
|
|
40
|
+
* notificationTargets: [ // NotificationTargetSet
|
|
41
|
+
* { // NotificationTargetItem Union: only one key present
|
|
42
42
|
* snsTopicArn: "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
-
* incidentTags: {
|
|
45
|
+
* incidentTags: { // TagMap
|
|
46
46
|
* "<keys>": "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* },
|
|
49
|
-
* chatChannel: { // Union: only one key present
|
|
49
|
+
* chatChannel: { // ChatChannel Union: only one key present
|
|
50
50
|
* empty: {},
|
|
51
|
-
* chatbotSns: [
|
|
51
|
+
* chatbotSns: [ // ChatbotSnsConfigurationSet
|
|
52
52
|
* "STRING_VALUE",
|
|
53
53
|
* ],
|
|
54
54
|
* },
|
|
55
|
-
* engagements: [
|
|
55
|
+
* engagements: [ // EngagementSet
|
|
56
56
|
* "STRING_VALUE",
|
|
57
57
|
* ],
|
|
58
|
-
* actions: [
|
|
59
|
-
* { // Union: only one key present
|
|
60
|
-
* ssmAutomation: {
|
|
58
|
+
* actions: [ // ActionsList
|
|
59
|
+
* { // Action Union: only one key present
|
|
60
|
+
* ssmAutomation: { // SsmAutomation
|
|
61
61
|
* roleArn: "STRING_VALUE", // required
|
|
62
62
|
* documentName: "STRING_VALUE", // required
|
|
63
63
|
* documentVersion: "STRING_VALUE",
|
|
64
64
|
* targetAccount: "STRING_VALUE",
|
|
65
|
-
* parameters: {
|
|
66
|
-
* "<keys>": [
|
|
65
|
+
* parameters: { // SsmParameters
|
|
66
|
+
* "<keys>": [ // SsmParameterValues
|
|
67
67
|
* "STRING_VALUE",
|
|
68
68
|
* ],
|
|
69
69
|
* },
|
|
70
|
-
* dynamicParameters: {
|
|
71
|
-
* "<keys>": { // Union: only one key present
|
|
70
|
+
* dynamicParameters: { // DynamicSsmParameters
|
|
71
|
+
* "<keys>": { // DynamicSsmParameterValue Union: only one key present
|
|
72
72
|
* variable: "STRING_VALUE",
|
|
73
73
|
* },
|
|
74
74
|
* },
|
|
@@ -78,12 +78,12 @@ export interface CreateResponsePlanCommandOutput extends CreateResponsePlanOutpu
|
|
|
78
78
|
* tags: {
|
|
79
79
|
* "<keys>": "STRING_VALUE",
|
|
80
80
|
* },
|
|
81
|
-
* integrations: [
|
|
82
|
-
* { // Union: only one key present
|
|
83
|
-
* pagerDutyConfiguration: {
|
|
81
|
+
* integrations: [ // Integrations
|
|
82
|
+
* { // Integration Union: only one key present
|
|
83
|
+
* pagerDutyConfiguration: { // PagerDutyConfiguration
|
|
84
84
|
* name: "STRING_VALUE", // required
|
|
85
85
|
* secretId: "STRING_VALUE", // required
|
|
86
|
-
* pagerDutyIncidentConfiguration: {
|
|
86
|
+
* pagerDutyIncidentConfiguration: { // PagerDutyIncidentConfiguration
|
|
87
87
|
* serviceId: "STRING_VALUE", // required
|
|
88
88
|
* },
|
|
89
89
|
* },
|