@aws-sdk/client-ssm-contacts 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SSMContactsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +129 -2
- package/dist-cjs/protocols/Aws_json1_1.js +302 -1219
- package/dist-es/index.js +1 -0
- package/dist-es/models/SSMContactsServiceException.js +12 -0
- package/dist-es/models/models_0.js +120 -1
- package/dist-es/protocols/Aws_json1_1.js +669 -1312
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SSMContactsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -25
- package/dist-types/ts3.4/SSMContacts.d.ts +140 -0
- package/dist-types/ts3.4/SSMContactsClient.d.ts +100 -0
- package/dist-types/ts3.4/commands/AcceptPageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ActivateContactChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateContactChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeactivateContactChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteContactChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEngagementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetContactChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetContactPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContactChannelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPageReceiptsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPagesByContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPagesByEngagementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutContactPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendActivationCodeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartEngagementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopEngagementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContactChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SSMContactsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +884 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListContactChannelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListContactsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEngagementsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPageReceiptsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPagesByContactPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPagesByEngagementPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +83 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-ssm-contacts
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-ssm-contacts
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-ssm-contacts
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SSMContactsServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./SSMContacts"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./SSMContactsClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var SSMContactsServiceException_1 = require("./models/SSMContactsServiceException");
|
|
11
|
+
Object.defineProperty(exports, "SSMContactsServiceException", { enumerable: true, get: function () { return SSMContactsServiceException_1.SSMContactsServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SSMContactsServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class SSMContactsServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, SSMContactsServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.SSMContactsServiceException = SSMContactsServiceException;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateContactChannelResult = exports.UpdateContactChannelRequest = exports.UpdateContactResult = exports.UpdateContactRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.TagResourceResult = exports.TagResourceRequest = exports.StopEngagementResult = exports.StopEngagementRequest = exports.StartEngagementResult = exports.StartEngagementRequest = exports.SendActivationCodeResult = exports.SendActivationCodeRequest = exports.PutContactPolicyResult = exports.PutContactPolicyRequest = exports.ListTagsForResourceResult = exports.ListTagsForResourceRequest = exports.ListPagesByEngagementResult = exports.ListPagesByEngagementRequest = exports.ListPagesByContactResult = exports.Page = exports.ListPagesByContactRequest = exports.ListPageReceiptsResult = exports.Receipt = void 0;
|
|
3
|
+
exports.ListContactChannelsRequest = exports.GetContactPolicyResult = exports.GetContactPolicyRequest = exports.GetContactChannelResult = exports.GetContactChannelRequest = exports.GetContactResult = exports.GetContactRequest = exports.Engagement = exports.DescribePageResult = exports.DescribePageRequest = exports.DescribeEngagementResult = exports.DescribeEngagementRequest = exports.DeleteContactChannelResult = exports.DeleteContactChannelRequest = exports.DeleteContactResult = exports.DeleteContactRequest = exports.DeactivateContactChannelResult = exports.DeactivateContactChannelRequest = exports.CreateContactChannelResult = exports.CreateContactChannelRequest = exports.ServiceQuotaExceededException = exports.DataEncryptionException = exports.CreateContactResult = exports.CreateContactRequest = exports.Tag = exports.Plan = exports.Stage = exports.Target = exports.ContactTargetInfo = exports.ContactChannel = exports.ContactChannelAddress = exports.Contact = exports.ContactType = exports.ConflictException = exports.ChannelType = exports.ChannelTargetInfo = exports.ActivationStatus = exports.ActivateContactChannelResult = exports.ActivateContactChannelRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = exports.AcceptPageResult = exports.AcceptPageRequest = exports.AcceptType = exports.AcceptCodeValidation = void 0;
|
|
4
|
+
exports.UpdateContactChannelResult = exports.UpdateContactChannelRequest = exports.UpdateContactResult = exports.UpdateContactRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.TagResourceResult = exports.TagResourceRequest = exports.StopEngagementResult = exports.StopEngagementRequest = exports.StartEngagementResult = exports.StartEngagementRequest = exports.SendActivationCodeResult = exports.SendActivationCodeRequest = exports.PutContactPolicyResult = exports.PutContactPolicyRequest = exports.ListTagsForResourceResult = exports.ListTagsForResourceRequest = exports.ListPagesByEngagementResult = exports.ListPagesByEngagementRequest = exports.ListPagesByContactResult = exports.Page = exports.ListPagesByContactRequest = exports.ListPageReceiptsResult = exports.Receipt = exports.ReceiptType = exports.ListPageReceiptsRequest = exports.ListEngagementsResult = exports.ListEngagementsRequest = exports.TimeRange = exports.ListContactsResult = exports.ListContactsRequest = exports.ListContactChannelsResult = void 0;
|
|
5
|
+
const SSMContactsServiceException_1 = require("./SSMContactsServiceException");
|
|
5
6
|
var AcceptCodeValidation;
|
|
6
7
|
(function (AcceptCodeValidation) {
|
|
7
8
|
AcceptCodeValidation["ENFORCE"] = "ENFORCE";
|
|
@@ -24,6 +25,68 @@ var AcceptPageResult;
|
|
|
24
25
|
...obj,
|
|
25
26
|
});
|
|
26
27
|
})(AcceptPageResult = exports.AcceptPageResult || (exports.AcceptPageResult = {}));
|
|
28
|
+
class AccessDeniedException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "AccessDeniedException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
this.name = "AccessDeniedException";
|
|
36
|
+
this.$fault = "client";
|
|
37
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
38
|
+
this.Message = opts.Message;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
42
|
+
class InternalServerException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
43
|
+
constructor(opts) {
|
|
44
|
+
super({
|
|
45
|
+
name: "InternalServerException",
|
|
46
|
+
$fault: "server",
|
|
47
|
+
...opts,
|
|
48
|
+
});
|
|
49
|
+
this.name = "InternalServerException";
|
|
50
|
+
this.$fault = "server";
|
|
51
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
52
|
+
this.Message = opts.Message;
|
|
53
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.InternalServerException = InternalServerException;
|
|
57
|
+
class ResourceNotFoundException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "ResourceNotFoundException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "ResourceNotFoundException";
|
|
65
|
+
this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
67
|
+
this.Message = opts.Message;
|
|
68
|
+
this.ResourceId = opts.ResourceId;
|
|
69
|
+
this.ResourceType = opts.ResourceType;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
73
|
+
class ThrottlingException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ThrottlingException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
this.name = "ThrottlingException";
|
|
81
|
+
this.$fault = "client";
|
|
82
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
this.QuotaCode = opts.QuotaCode;
|
|
85
|
+
this.ServiceCode = opts.ServiceCode;
|
|
86
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.ThrottlingException = ThrottlingException;
|
|
27
90
|
var ValidationExceptionField;
|
|
28
91
|
(function (ValidationExceptionField) {
|
|
29
92
|
ValidationExceptionField.filterSensitiveLog = (obj) => ({
|
|
@@ -37,6 +100,22 @@ var ValidationExceptionReason;
|
|
|
37
100
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
38
101
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
39
102
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
103
|
+
class ValidationException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "ValidationException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
this.name = "ValidationException";
|
|
111
|
+
this.$fault = "client";
|
|
112
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
113
|
+
this.Message = opts.Message;
|
|
114
|
+
this.Reason = opts.Reason;
|
|
115
|
+
this.Fields = opts.Fields;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.ValidationException = ValidationException;
|
|
40
119
|
var ActivateContactChannelRequest;
|
|
41
120
|
(function (ActivateContactChannelRequest) {
|
|
42
121
|
ActivateContactChannelRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -66,6 +145,22 @@ var ChannelType;
|
|
|
66
145
|
ChannelType["SMS"] = "SMS";
|
|
67
146
|
ChannelType["VOICE"] = "VOICE";
|
|
68
147
|
})(ChannelType = exports.ChannelType || (exports.ChannelType = {}));
|
|
148
|
+
class ConflictException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "ConflictException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
this.name = "ConflictException";
|
|
156
|
+
this.$fault = "client";
|
|
157
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
158
|
+
this.Message = opts.Message;
|
|
159
|
+
this.ResourceId = opts.ResourceId;
|
|
160
|
+
this.ResourceType = opts.ResourceType;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
exports.ConflictException = ConflictException;
|
|
69
164
|
var ContactType;
|
|
70
165
|
(function (ContactType) {
|
|
71
166
|
ContactType["ESCALATION"] = "ESCALATION";
|
|
@@ -131,6 +226,38 @@ var CreateContactResult;
|
|
|
131
226
|
...obj,
|
|
132
227
|
});
|
|
133
228
|
})(CreateContactResult = exports.CreateContactResult || (exports.CreateContactResult = {}));
|
|
229
|
+
class DataEncryptionException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "DataEncryptionException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts,
|
|
235
|
+
});
|
|
236
|
+
this.name = "DataEncryptionException";
|
|
237
|
+
this.$fault = "client";
|
|
238
|
+
Object.setPrototypeOf(this, DataEncryptionException.prototype);
|
|
239
|
+
this.Message = opts.Message;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
exports.DataEncryptionException = DataEncryptionException;
|
|
243
|
+
class ServiceQuotaExceededException extends SSMContactsServiceException_1.SSMContactsServiceException {
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "ServiceQuotaExceededException",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts,
|
|
249
|
+
});
|
|
250
|
+
this.name = "ServiceQuotaExceededException";
|
|
251
|
+
this.$fault = "client";
|
|
252
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
253
|
+
this.Message = opts.Message;
|
|
254
|
+
this.ResourceId = opts.ResourceId;
|
|
255
|
+
this.ResourceType = opts.ResourceType;
|
|
256
|
+
this.QuotaCode = opts.QuotaCode;
|
|
257
|
+
this.ServiceCode = opts.ServiceCode;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
134
261
|
var CreateContactChannelRequest;
|
|
135
262
|
(function (CreateContactChannelRequest) {
|
|
136
263
|
CreateContactChannelRequest.filterSensitiveLog = (obj) => ({
|