@aws-sdk/client-ssm-incidents 3.51.0 → 3.54.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 +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SSMIncidentsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +107 -2
- package/dist-cjs/protocols/Aws_restJson1.js +335 -1286
- package/dist-es/index.js +1 -0
- package/dist-es/models/SSMIncidentsServiceException.js +12 -0
- package/dist-es/models/models_0.js +98 -1
- package/dist-es/protocols/Aws_restJson1.js +703 -1411
- package/dist-types/SSMIncidentsClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SSMIncidentsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +52 -29
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/SSMIncidentsClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SSMIncidentsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -29
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ssm-incidents
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-ssm-incidents
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SSMIncidentsServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./SSMIncidents"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./SSMIncidentsClient"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var SSMIncidentsServiceException_1 = require("./models/SSMIncidentsServiceException");
|
|
12
|
+
Object.defineProperty(exports, "SSMIncidentsServiceException", { enumerable: true, get: function () { return SSMIncidentsServiceException_1.SSMIncidentsServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SSMIncidentsServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class SSMIncidentsServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, SSMIncidentsServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.SSMIncidentsServiceException = SSMIncidentsServiceException;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.ReplicationSet = exports.ReplicationSetStatus = exports.RegionInfo = exports.RegionStatus = exports.GetReplicationSetInput = exports.GetIncidentRecordOutput = exports.IncidentRecord = exports.IncidentRecordStatus = exports.IncidentRecordSource = exports.GetIncidentRecordInput = exports.Filter = exports.EventSummary = exports.DeleteTimelineEventOutput = exports.DeleteTimelineEventInput = exports.DeleteResponsePlanOutput = exports.DeleteResponsePlanInput = exports.DeleteResourcePolicyOutput = exports.DeleteResourcePolicyInput = exports.DeleteReplicationSetOutput = exports.DeleteReplicationSetInput = exports.DeleteRegionAction = exports.DeleteIncidentRecordOutput = exports.DeleteIncidentRecordInput = exports.CreateTimelineEventOutput = exports.CreateTimelineEventInput = exports.ResourceNotFoundException = exports.CreateResponsePlanOutput = exports.CreateResponsePlanInput = exports.IncidentTemplate = exports.NotificationTargetItem = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ServiceCode = exports.InternalServerException = exports.CreateReplicationSetOutput = exports.CreateReplicationSetInput = exports.RegionMapInputValue = exports.ConflictException = exports.ResourceType = exports.Condition = exports.ChatChannel = exports.EmptyChatChannel = exports.AutomationExecution = exports.AttributeValueList = exports.AddRegionAction = exports.Action = exports.SsmAutomation = exports.SsmTargetAccount = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateResponsePlanOutput = exports.UpdateResponsePlanInput = exports.UpdateReplicationSetOutput = exports.UpdateReplicationSetInput = exports.UpdateReplicationSetAction = exports.UpdateRelatedItemsOutput = exports.UpdateRelatedItemsInput = exports.UpdateIncidentRecordOutput = exports.UpdateIncidentRecordInput = exports.UpdateDeletionProtectionOutput = exports.UpdateDeletionProtectionInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartIncidentOutput = exports.StartIncidentInput = exports.TriggerDetails = exports.RelatedItemsUpdate = exports.PutResourcePolicyOutput = exports.PutResourcePolicyInput = exports.ListTimelineEventsOutput = exports.ListTimelineEventsInput = exports.SortOrder = exports.TimelineEventSort = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResponsePlansOutput = exports.ResponsePlanSummary = exports.ListResponsePlansInput = exports.ListReplicationSetsOutput = exports.ListReplicationSetsInput = exports.ListRelatedItemsOutput = exports.RelatedItem = exports.ListRelatedItemsInput = exports.ListIncidentRecordsOutput = exports.ListIncidentRecordsInput = exports.ItemIdentifier = exports.ItemValue = exports.ItemType = exports.IncidentRecordSummary = exports.GetTimelineEventOutput = exports.TimelineEvent = exports.GetTimelineEventInput = exports.GetResponsePlanOutput = exports.GetResponsePlanInput = exports.GetResourcePoliciesOutput = exports.ResourcePolicy = exports.GetResourcePoliciesInput = exports.GetReplicationSetOutput = void 0;
|
|
5
|
+
exports.UpdateTimelineEventOutput = exports.UpdateTimelineEventInput = void 0;
|
|
6
|
+
const SSMIncidentsServiceException_1 = require("./SSMIncidentsServiceException");
|
|
7
|
+
class AccessDeniedException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
5
20
|
var SsmTargetAccount;
|
|
6
21
|
(function (SsmTargetAccount) {
|
|
7
22
|
SsmTargetAccount["IMPACTED_ACCOUNT"] = "IMPACTED_ACCOUNT";
|
|
@@ -119,6 +134,22 @@ var ResourceType;
|
|
|
119
134
|
ResourceType["RESPONSE_PLAN"] = "RESPONSE_PLAN";
|
|
120
135
|
ResourceType["TIMELINE_EVENT"] = "TIMELINE_EVENT";
|
|
121
136
|
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
137
|
+
class ConflictException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "ConflictException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
this.name = "ConflictException";
|
|
145
|
+
this.$fault = "client";
|
|
146
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
147
|
+
this.resourceIdentifier = opts.resourceIdentifier;
|
|
148
|
+
this.resourceType = opts.resourceType;
|
|
149
|
+
this.retryAfter = opts.retryAfter;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.ConflictException = ConflictException;
|
|
122
153
|
var RegionMapInputValue;
|
|
123
154
|
(function (RegionMapInputValue) {
|
|
124
155
|
RegionMapInputValue.filterSensitiveLog = (obj) => ({
|
|
@@ -137,10 +168,68 @@ var CreateReplicationSetOutput;
|
|
|
137
168
|
...obj,
|
|
138
169
|
});
|
|
139
170
|
})(CreateReplicationSetOutput = exports.CreateReplicationSetOutput || (exports.CreateReplicationSetOutput = {}));
|
|
171
|
+
class InternalServerException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "InternalServerException",
|
|
175
|
+
$fault: "server",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
this.name = "InternalServerException";
|
|
179
|
+
this.$fault = "server";
|
|
180
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
exports.InternalServerException = InternalServerException;
|
|
140
184
|
var ServiceCode;
|
|
141
185
|
(function (ServiceCode) {
|
|
142
186
|
ServiceCode["SSM_INCIDENTS"] = "ssm-incidents";
|
|
143
187
|
})(ServiceCode = exports.ServiceCode || (exports.ServiceCode = {}));
|
|
188
|
+
class ServiceQuotaExceededException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "ServiceQuotaExceededException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
this.name = "ServiceQuotaExceededException";
|
|
196
|
+
this.$fault = "client";
|
|
197
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
198
|
+
this.resourceIdentifier = opts.resourceIdentifier;
|
|
199
|
+
this.resourceType = opts.resourceType;
|
|
200
|
+
this.serviceCode = opts.serviceCode;
|
|
201
|
+
this.quotaCode = opts.quotaCode;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
205
|
+
class ThrottlingException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
206
|
+
constructor(opts) {
|
|
207
|
+
super({
|
|
208
|
+
name: "ThrottlingException",
|
|
209
|
+
$fault: "client",
|
|
210
|
+
...opts,
|
|
211
|
+
});
|
|
212
|
+
this.name = "ThrottlingException";
|
|
213
|
+
this.$fault = "client";
|
|
214
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
215
|
+
this.serviceCode = opts.serviceCode;
|
|
216
|
+
this.quotaCode = opts.quotaCode;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
exports.ThrottlingException = ThrottlingException;
|
|
220
|
+
class ValidationException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "ValidationException",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts,
|
|
226
|
+
});
|
|
227
|
+
this.name = "ValidationException";
|
|
228
|
+
this.$fault = "client";
|
|
229
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
exports.ValidationException = ValidationException;
|
|
144
233
|
var NotificationTargetItem;
|
|
145
234
|
(function (NotificationTargetItem) {
|
|
146
235
|
NotificationTargetItem.visit = (value, visitor) => {
|
|
@@ -179,6 +268,21 @@ var CreateResponsePlanOutput;
|
|
|
179
268
|
...obj,
|
|
180
269
|
});
|
|
181
270
|
})(CreateResponsePlanOutput = exports.CreateResponsePlanOutput || (exports.CreateResponsePlanOutput = {}));
|
|
271
|
+
class ResourceNotFoundException extends SSMIncidentsServiceException_1.SSMIncidentsServiceException {
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "ResourceNotFoundException",
|
|
275
|
+
$fault: "client",
|
|
276
|
+
...opts,
|
|
277
|
+
});
|
|
278
|
+
this.name = "ResourceNotFoundException";
|
|
279
|
+
this.$fault = "client";
|
|
280
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
281
|
+
this.resourceIdentifier = opts.resourceIdentifier;
|
|
282
|
+
this.resourceType = opts.resourceType;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
182
286
|
var CreateTimelineEventInput;
|
|
183
287
|
(function (CreateTimelineEventInput) {
|
|
184
288
|
CreateTimelineEventInput.filterSensitiveLog = (obj) => ({
|
|
@@ -407,6 +511,7 @@ var ItemType;
|
|
|
407
511
|
(function (ItemType) {
|
|
408
512
|
ItemType["ANALYSIS"] = "ANALYSIS";
|
|
409
513
|
ItemType["ATTACHMENT"] = "ATTACHMENT";
|
|
514
|
+
ItemType["AUTOMATION"] = "AUTOMATION";
|
|
410
515
|
ItemType["INCIDENT"] = "INCIDENT";
|
|
411
516
|
ItemType["METRIC"] = "METRIC";
|
|
412
517
|
ItemType["OTHER"] = "OTHER";
|