@aws-sdk/client-ssm-contacts 3.934.0 → 3.936.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 +49 -48
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +143 -0
- package/dist-es/models/models_0.js +1 -191
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +184 -0
- package/dist-types/models/models_0.d.ts +1 -302
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +60 -0
- package/dist-types/ts3.4/models/errors.d.ts +81 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -139
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,14 +117,6 @@ let SSMContactsServiceException$1 = class SSMContactsServiceException extends sm
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const AcceptCodeValidation = {
|
|
121
|
-
ENFORCE: "ENFORCE",
|
|
122
|
-
IGNORE: "IGNORE",
|
|
123
|
-
};
|
|
124
|
-
const AcceptType = {
|
|
125
|
-
DELIVERED: "DELIVERED",
|
|
126
|
-
READ: "READ",
|
|
127
|
-
};
|
|
128
120
|
let AccessDeniedException$1 = class AccessDeniedException extends SSMContactsServiceException$1 {
|
|
129
121
|
name = "AccessDeniedException";
|
|
130
122
|
$fault = "client";
|
|
@@ -193,12 +185,6 @@ let ThrottlingException$1 = class ThrottlingException extends SSMContactsService
|
|
|
193
185
|
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
194
186
|
}
|
|
195
187
|
};
|
|
196
|
-
const ValidationExceptionReason = {
|
|
197
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
198
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
199
|
-
OTHER: "OTHER",
|
|
200
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
201
|
-
};
|
|
202
188
|
let ValidationException$1 = class ValidationException extends SSMContactsServiceException$1 {
|
|
203
189
|
name = "ValidationException";
|
|
204
190
|
$fault = "client";
|
|
@@ -217,15 +203,6 @@ let ValidationException$1 = class ValidationException extends SSMContactsService
|
|
|
217
203
|
this.Fields = opts.Fields;
|
|
218
204
|
}
|
|
219
205
|
};
|
|
220
|
-
const ActivationStatus = {
|
|
221
|
-
ACTIVATED: "ACTIVATED",
|
|
222
|
-
NOT_ACTIVATED: "NOT_ACTIVATED",
|
|
223
|
-
};
|
|
224
|
-
const ChannelType = {
|
|
225
|
-
EMAIL: "EMAIL",
|
|
226
|
-
SMS: "SMS",
|
|
227
|
-
VOICE: "VOICE",
|
|
228
|
-
};
|
|
229
206
|
let ConflictException$1 = class ConflictException extends SSMContactsServiceException$1 {
|
|
230
207
|
name = "ConflictException";
|
|
231
208
|
$fault = "client";
|
|
@@ -246,11 +223,6 @@ let ConflictException$1 = class ConflictException extends SSMContactsServiceExce
|
|
|
246
223
|
this.DependentEntities = opts.DependentEntities;
|
|
247
224
|
}
|
|
248
225
|
};
|
|
249
|
-
const ContactType = {
|
|
250
|
-
ESCALATION: "ESCALATION",
|
|
251
|
-
ONCALL_SCHEDULE: "ONCALL_SCHEDULE",
|
|
252
|
-
PERSONAL: "PERSONAL",
|
|
253
|
-
};
|
|
254
226
|
let DataEncryptionException$1 = class DataEncryptionException extends SSMContactsServiceException$1 {
|
|
255
227
|
name = "DataEncryptionException";
|
|
256
228
|
$fault = "client";
|
|
@@ -287,26 +259,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
287
259
|
this.ServiceCode = opts.ServiceCode;
|
|
288
260
|
}
|
|
289
261
|
};
|
|
290
|
-
const DayOfWeek = {
|
|
291
|
-
FRI: "FRI",
|
|
292
|
-
MON: "MON",
|
|
293
|
-
SAT: "SAT",
|
|
294
|
-
SUN: "SUN",
|
|
295
|
-
THU: "THU",
|
|
296
|
-
TUE: "TUE",
|
|
297
|
-
WED: "WED",
|
|
298
|
-
};
|
|
299
|
-
const ReceiptType = {
|
|
300
|
-
DELIVERED: "DELIVERED",
|
|
301
|
-
ERROR: "ERROR",
|
|
302
|
-
READ: "READ",
|
|
303
|
-
SENT: "SENT",
|
|
304
|
-
STOP: "STOP",
|
|
305
|
-
};
|
|
306
|
-
const ShiftType = {
|
|
307
|
-
OVERRIDDEN: "OVERRIDDEN",
|
|
308
|
-
REGULAR: "REGULAR",
|
|
309
|
-
};
|
|
310
262
|
|
|
311
263
|
const _A = "Alias";
|
|
312
264
|
const _AC = "AcceptCode";
|
|
@@ -1830,6 +1782,55 @@ const paginateListRotationShifts = core.createPaginator(SSMContactsClient, ListR
|
|
|
1830
1782
|
|
|
1831
1783
|
const paginateListRotations = core.createPaginator(SSMContactsClient, ListRotationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1832
1784
|
|
|
1785
|
+
const AcceptCodeValidation = {
|
|
1786
|
+
ENFORCE: "ENFORCE",
|
|
1787
|
+
IGNORE: "IGNORE",
|
|
1788
|
+
};
|
|
1789
|
+
const AcceptType = {
|
|
1790
|
+
DELIVERED: "DELIVERED",
|
|
1791
|
+
READ: "READ",
|
|
1792
|
+
};
|
|
1793
|
+
const ValidationExceptionReason = {
|
|
1794
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
1795
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
1796
|
+
OTHER: "OTHER",
|
|
1797
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
1798
|
+
};
|
|
1799
|
+
const ActivationStatus = {
|
|
1800
|
+
ACTIVATED: "ACTIVATED",
|
|
1801
|
+
NOT_ACTIVATED: "NOT_ACTIVATED",
|
|
1802
|
+
};
|
|
1803
|
+
const ChannelType = {
|
|
1804
|
+
EMAIL: "EMAIL",
|
|
1805
|
+
SMS: "SMS",
|
|
1806
|
+
VOICE: "VOICE",
|
|
1807
|
+
};
|
|
1808
|
+
const ContactType = {
|
|
1809
|
+
ESCALATION: "ESCALATION",
|
|
1810
|
+
ONCALL_SCHEDULE: "ONCALL_SCHEDULE",
|
|
1811
|
+
PERSONAL: "PERSONAL",
|
|
1812
|
+
};
|
|
1813
|
+
const DayOfWeek = {
|
|
1814
|
+
FRI: "FRI",
|
|
1815
|
+
MON: "MON",
|
|
1816
|
+
SAT: "SAT",
|
|
1817
|
+
SUN: "SUN",
|
|
1818
|
+
THU: "THU",
|
|
1819
|
+
TUE: "TUE",
|
|
1820
|
+
WED: "WED",
|
|
1821
|
+
};
|
|
1822
|
+
const ReceiptType = {
|
|
1823
|
+
DELIVERED: "DELIVERED",
|
|
1824
|
+
ERROR: "ERROR",
|
|
1825
|
+
READ: "READ",
|
|
1826
|
+
SENT: "SENT",
|
|
1827
|
+
STOP: "STOP",
|
|
1828
|
+
};
|
|
1829
|
+
const ShiftType = {
|
|
1830
|
+
OVERRIDDEN: "OVERRIDDEN",
|
|
1831
|
+
REGULAR: "REGULAR",
|
|
1832
|
+
};
|
|
1833
|
+
|
|
1833
1834
|
Object.defineProperty(exports, "$Command", {
|
|
1834
1835
|
enumerable: true,
|
|
1835
1836
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SSMContactsClient";
|
|
|
2
2
|
export * from "./SSMContacts";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { SSMContactsServiceException } from "./models/SSMContactsServiceException";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const AcceptCodeValidation = {
|
|
2
|
+
ENFORCE: "ENFORCE",
|
|
3
|
+
IGNORE: "IGNORE",
|
|
4
|
+
};
|
|
5
|
+
export const AcceptType = {
|
|
6
|
+
DELIVERED: "DELIVERED",
|
|
7
|
+
READ: "READ",
|
|
8
|
+
};
|
|
9
|
+
export const ValidationExceptionReason = {
|
|
10
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
11
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
12
|
+
OTHER: "OTHER",
|
|
13
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
14
|
+
};
|
|
15
|
+
export const ActivationStatus = {
|
|
16
|
+
ACTIVATED: "ACTIVATED",
|
|
17
|
+
NOT_ACTIVATED: "NOT_ACTIVATED",
|
|
18
|
+
};
|
|
19
|
+
export const ChannelType = {
|
|
20
|
+
EMAIL: "EMAIL",
|
|
21
|
+
SMS: "SMS",
|
|
22
|
+
VOICE: "VOICE",
|
|
23
|
+
};
|
|
24
|
+
export const ContactType = {
|
|
25
|
+
ESCALATION: "ESCALATION",
|
|
26
|
+
ONCALL_SCHEDULE: "ONCALL_SCHEDULE",
|
|
27
|
+
PERSONAL: "PERSONAL",
|
|
28
|
+
};
|
|
29
|
+
export const DayOfWeek = {
|
|
30
|
+
FRI: "FRI",
|
|
31
|
+
MON: "MON",
|
|
32
|
+
SAT: "SAT",
|
|
33
|
+
SUN: "SUN",
|
|
34
|
+
THU: "THU",
|
|
35
|
+
TUE: "TUE",
|
|
36
|
+
WED: "WED",
|
|
37
|
+
};
|
|
38
|
+
export const ReceiptType = {
|
|
39
|
+
DELIVERED: "DELIVERED",
|
|
40
|
+
ERROR: "ERROR",
|
|
41
|
+
READ: "READ",
|
|
42
|
+
SENT: "SENT",
|
|
43
|
+
STOP: "STOP",
|
|
44
|
+
};
|
|
45
|
+
export const ShiftType = {
|
|
46
|
+
OVERRIDDEN: "OVERRIDDEN",
|
|
47
|
+
REGULAR: "REGULAR",
|
|
48
|
+
};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServerException extends __BaseException {
|
|
17
|
+
name = "InternalServerException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
Message;
|
|
20
|
+
RetryAfterSeconds;
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InternalServerException",
|
|
24
|
+
$fault: "server",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
28
|
+
this.Message = opts.Message;
|
|
29
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
name = "ResourceNotFoundException";
|
|
34
|
+
$fault = "client";
|
|
35
|
+
Message;
|
|
36
|
+
ResourceId;
|
|
37
|
+
ResourceType;
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "ResourceNotFoundException",
|
|
41
|
+
$fault: "client",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
45
|
+
this.Message = opts.Message;
|
|
46
|
+
this.ResourceId = opts.ResourceId;
|
|
47
|
+
this.ResourceType = opts.ResourceType;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ThrottlingException extends __BaseException {
|
|
51
|
+
name = "ThrottlingException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
QuotaCode;
|
|
55
|
+
ServiceCode;
|
|
56
|
+
RetryAfterSeconds;
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ThrottlingException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
64
|
+
this.Message = opts.Message;
|
|
65
|
+
this.QuotaCode = opts.QuotaCode;
|
|
66
|
+
this.ServiceCode = opts.ServiceCode;
|
|
67
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export class ValidationException extends __BaseException {
|
|
71
|
+
name = "ValidationException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
Message;
|
|
74
|
+
Reason;
|
|
75
|
+
Fields;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ValidationException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
this.Reason = opts.Reason;
|
|
85
|
+
this.Fields = opts.Fields;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export class ConflictException extends __BaseException {
|
|
89
|
+
name = "ConflictException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
Message;
|
|
92
|
+
ResourceId;
|
|
93
|
+
ResourceType;
|
|
94
|
+
DependentEntities;
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "ConflictException",
|
|
98
|
+
$fault: "client",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
102
|
+
this.Message = opts.Message;
|
|
103
|
+
this.ResourceId = opts.ResourceId;
|
|
104
|
+
this.ResourceType = opts.ResourceType;
|
|
105
|
+
this.DependentEntities = opts.DependentEntities;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export class DataEncryptionException extends __BaseException {
|
|
109
|
+
name = "DataEncryptionException";
|
|
110
|
+
$fault = "client";
|
|
111
|
+
Message;
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "DataEncryptionException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, DataEncryptionException.prototype);
|
|
119
|
+
this.Message = opts.Message;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
123
|
+
name = "ServiceQuotaExceededException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
Message;
|
|
126
|
+
ResourceId;
|
|
127
|
+
ResourceType;
|
|
128
|
+
QuotaCode;
|
|
129
|
+
ServiceCode;
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "ServiceQuotaExceededException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
137
|
+
this.Message = opts.Message;
|
|
138
|
+
this.ResourceId = opts.ResourceId;
|
|
139
|
+
this.ResourceType = opts.ResourceType;
|
|
140
|
+
this.QuotaCode = opts.QuotaCode;
|
|
141
|
+
this.ServiceCode = opts.ServiceCode;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -1,191 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const AcceptCodeValidation = {
|
|
3
|
-
ENFORCE: "ENFORCE",
|
|
4
|
-
IGNORE: "IGNORE",
|
|
5
|
-
};
|
|
6
|
-
export const AcceptType = {
|
|
7
|
-
DELIVERED: "DELIVERED",
|
|
8
|
-
READ: "READ",
|
|
9
|
-
};
|
|
10
|
-
export class AccessDeniedException extends __BaseException {
|
|
11
|
-
name = "AccessDeniedException";
|
|
12
|
-
$fault = "client";
|
|
13
|
-
Message;
|
|
14
|
-
constructor(opts) {
|
|
15
|
-
super({
|
|
16
|
-
name: "AccessDeniedException",
|
|
17
|
-
$fault: "client",
|
|
18
|
-
...opts,
|
|
19
|
-
});
|
|
20
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
21
|
-
this.Message = opts.Message;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export class InternalServerException extends __BaseException {
|
|
25
|
-
name = "InternalServerException";
|
|
26
|
-
$fault = "server";
|
|
27
|
-
Message;
|
|
28
|
-
RetryAfterSeconds;
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "InternalServerException",
|
|
32
|
-
$fault: "server",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
36
|
-
this.Message = opts.Message;
|
|
37
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
41
|
-
name = "ResourceNotFoundException";
|
|
42
|
-
$fault = "client";
|
|
43
|
-
Message;
|
|
44
|
-
ResourceId;
|
|
45
|
-
ResourceType;
|
|
46
|
-
constructor(opts) {
|
|
47
|
-
super({
|
|
48
|
-
name: "ResourceNotFoundException",
|
|
49
|
-
$fault: "client",
|
|
50
|
-
...opts,
|
|
51
|
-
});
|
|
52
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
53
|
-
this.Message = opts.Message;
|
|
54
|
-
this.ResourceId = opts.ResourceId;
|
|
55
|
-
this.ResourceType = opts.ResourceType;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export class ThrottlingException extends __BaseException {
|
|
59
|
-
name = "ThrottlingException";
|
|
60
|
-
$fault = "client";
|
|
61
|
-
Message;
|
|
62
|
-
QuotaCode;
|
|
63
|
-
ServiceCode;
|
|
64
|
-
RetryAfterSeconds;
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "ThrottlingException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
72
|
-
this.Message = opts.Message;
|
|
73
|
-
this.QuotaCode = opts.QuotaCode;
|
|
74
|
-
this.ServiceCode = opts.ServiceCode;
|
|
75
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
export const ValidationExceptionReason = {
|
|
79
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
80
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
81
|
-
OTHER: "OTHER",
|
|
82
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
83
|
-
};
|
|
84
|
-
export class ValidationException extends __BaseException {
|
|
85
|
-
name = "ValidationException";
|
|
86
|
-
$fault = "client";
|
|
87
|
-
Message;
|
|
88
|
-
Reason;
|
|
89
|
-
Fields;
|
|
90
|
-
constructor(opts) {
|
|
91
|
-
super({
|
|
92
|
-
name: "ValidationException",
|
|
93
|
-
$fault: "client",
|
|
94
|
-
...opts,
|
|
95
|
-
});
|
|
96
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
97
|
-
this.Message = opts.Message;
|
|
98
|
-
this.Reason = opts.Reason;
|
|
99
|
-
this.Fields = opts.Fields;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
export const ActivationStatus = {
|
|
103
|
-
ACTIVATED: "ACTIVATED",
|
|
104
|
-
NOT_ACTIVATED: "NOT_ACTIVATED",
|
|
105
|
-
};
|
|
106
|
-
export const ChannelType = {
|
|
107
|
-
EMAIL: "EMAIL",
|
|
108
|
-
SMS: "SMS",
|
|
109
|
-
VOICE: "VOICE",
|
|
110
|
-
};
|
|
111
|
-
export class ConflictException extends __BaseException {
|
|
112
|
-
name = "ConflictException";
|
|
113
|
-
$fault = "client";
|
|
114
|
-
Message;
|
|
115
|
-
ResourceId;
|
|
116
|
-
ResourceType;
|
|
117
|
-
DependentEntities;
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "ConflictException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...opts,
|
|
123
|
-
});
|
|
124
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
125
|
-
this.Message = opts.Message;
|
|
126
|
-
this.ResourceId = opts.ResourceId;
|
|
127
|
-
this.ResourceType = opts.ResourceType;
|
|
128
|
-
this.DependentEntities = opts.DependentEntities;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
export const ContactType = {
|
|
132
|
-
ESCALATION: "ESCALATION",
|
|
133
|
-
ONCALL_SCHEDULE: "ONCALL_SCHEDULE",
|
|
134
|
-
PERSONAL: "PERSONAL",
|
|
135
|
-
};
|
|
136
|
-
export class DataEncryptionException extends __BaseException {
|
|
137
|
-
name = "DataEncryptionException";
|
|
138
|
-
$fault = "client";
|
|
139
|
-
Message;
|
|
140
|
-
constructor(opts) {
|
|
141
|
-
super({
|
|
142
|
-
name: "DataEncryptionException",
|
|
143
|
-
$fault: "client",
|
|
144
|
-
...opts,
|
|
145
|
-
});
|
|
146
|
-
Object.setPrototypeOf(this, DataEncryptionException.prototype);
|
|
147
|
-
this.Message = opts.Message;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
151
|
-
name = "ServiceQuotaExceededException";
|
|
152
|
-
$fault = "client";
|
|
153
|
-
Message;
|
|
154
|
-
ResourceId;
|
|
155
|
-
ResourceType;
|
|
156
|
-
QuotaCode;
|
|
157
|
-
ServiceCode;
|
|
158
|
-
constructor(opts) {
|
|
159
|
-
super({
|
|
160
|
-
name: "ServiceQuotaExceededException",
|
|
161
|
-
$fault: "client",
|
|
162
|
-
...opts,
|
|
163
|
-
});
|
|
164
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
165
|
-
this.Message = opts.Message;
|
|
166
|
-
this.ResourceId = opts.ResourceId;
|
|
167
|
-
this.ResourceType = opts.ResourceType;
|
|
168
|
-
this.QuotaCode = opts.QuotaCode;
|
|
169
|
-
this.ServiceCode = opts.ServiceCode;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
export const DayOfWeek = {
|
|
173
|
-
FRI: "FRI",
|
|
174
|
-
MON: "MON",
|
|
175
|
-
SAT: "SAT",
|
|
176
|
-
SUN: "SUN",
|
|
177
|
-
THU: "THU",
|
|
178
|
-
TUE: "TUE",
|
|
179
|
-
WED: "WED",
|
|
180
|
-
};
|
|
181
|
-
export const ReceiptType = {
|
|
182
|
-
DELIVERED: "DELIVERED",
|
|
183
|
-
ERROR: "ERROR",
|
|
184
|
-
READ: "READ",
|
|
185
|
-
SENT: "SENT",
|
|
186
|
-
STOP: "STOP",
|
|
187
|
-
};
|
|
188
|
-
export const ShiftType = {
|
|
189
|
-
OVERRIDDEN: "OVERRIDDEN",
|
|
190
|
-
REGULAR: "REGULAR",
|
|
191
|
-
};
|
|
1
|
+
export {};
|
|
@@ -272,7 +272,7 @@ const _s = "server";
|
|
|
272
272
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssmcontacts";
|
|
273
273
|
const n0 = "com.amazonaws.ssmcontacts";
|
|
274
274
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
275
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, DataEncryptionException as __DataEncryptionException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
275
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, DataEncryptionException as __DataEncryptionException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
276
276
|
import { SSMContactsServiceException as __SSMContactsServiceException } from "../models/SSMContactsServiceException";
|
|
277
277
|
export var AcceptPageRequest = [
|
|
278
278
|
3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -17,5 +17,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
17
17
|
export type { SSMContactsExtensionConfiguration } from "./extensionConfiguration";
|
|
18
18
|
export * from "./commands";
|
|
19
19
|
export * from "./pagination";
|
|
20
|
-
export * from "./models";
|
|
20
|
+
export * from "./models/enums";
|
|
21
|
+
export * from "./models/errors";
|
|
22
|
+
export type * from "./models/models_0";
|
|
21
23
|
export { SSMContactsServiceException } from "./models/SSMContactsServiceException";
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AcceptCodeValidation: {
|
|
6
|
+
readonly ENFORCE: "ENFORCE";
|
|
7
|
+
readonly IGNORE: "IGNORE";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type AcceptCodeValidation = (typeof AcceptCodeValidation)[keyof typeof AcceptCodeValidation];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const AcceptType: {
|
|
18
|
+
readonly DELIVERED: "DELIVERED";
|
|
19
|
+
readonly READ: "READ";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type AcceptType = (typeof AcceptType)[keyof typeof AcceptType];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const ValidationExceptionReason: {
|
|
30
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
31
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
32
|
+
readonly OTHER: "OTHER";
|
|
33
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const ActivationStatus: {
|
|
44
|
+
readonly ACTIVATED: "ACTIVATED";
|
|
45
|
+
readonly NOT_ACTIVATED: "NOT_ACTIVATED";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type ActivationStatus = (typeof ActivationStatus)[keyof typeof ActivationStatus];
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @enum
|
|
54
|
+
*/
|
|
55
|
+
export declare const ChannelType: {
|
|
56
|
+
readonly EMAIL: "EMAIL";
|
|
57
|
+
readonly SMS: "SMS";
|
|
58
|
+
readonly VOICE: "VOICE";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const ContactType: {
|
|
69
|
+
readonly ESCALATION: "ESCALATION";
|
|
70
|
+
readonly ONCALL_SCHEDULE: "ONCALL_SCHEDULE";
|
|
71
|
+
readonly PERSONAL: "PERSONAL";
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export type ContactType = (typeof ContactType)[keyof typeof ContactType];
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* @enum
|
|
80
|
+
*/
|
|
81
|
+
export declare const DayOfWeek: {
|
|
82
|
+
readonly FRI: "FRI";
|
|
83
|
+
readonly MON: "MON";
|
|
84
|
+
readonly SAT: "SAT";
|
|
85
|
+
readonly SUN: "SUN";
|
|
86
|
+
readonly THU: "THU";
|
|
87
|
+
readonly TUE: "TUE";
|
|
88
|
+
readonly WED: "WED";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const ReceiptType: {
|
|
99
|
+
readonly DELIVERED: "DELIVERED";
|
|
100
|
+
readonly ERROR: "ERROR";
|
|
101
|
+
readonly READ: "READ";
|
|
102
|
+
readonly SENT: "SENT";
|
|
103
|
+
readonly STOP: "STOP";
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export type ReceiptType = (typeof ReceiptType)[keyof typeof ReceiptType];
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
* @enum
|
|
112
|
+
*/
|
|
113
|
+
export declare const ShiftType: {
|
|
114
|
+
readonly OVERRIDDEN: "OVERRIDDEN";
|
|
115
|
+
readonly REGULAR: "REGULAR";
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
|