@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
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { DependentEntity, ValidationExceptionField } from "./models_0";
|
|
4
|
+
import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* <p>You don't have sufficient access to perform this operation.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
Message: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>Unexpected error occurred while processing the request.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class InternalServerException extends __BaseException {
|
|
23
|
+
readonly name: "InternalServerException";
|
|
24
|
+
readonly $fault: "server";
|
|
25
|
+
Message: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Advice to clients on when the call can be safely retried
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
RetryAfterSeconds?: number | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>Request references a resource that doesn't exist.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
41
|
+
readonly name: "ResourceNotFoundException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
Message: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Hypothetical resource identifier that was not found
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
ResourceId: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Hypothetical resource type that was not found
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
ResourceType: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* <p>The request was denied due to request throttling.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class ThrottlingException extends __BaseException {
|
|
64
|
+
readonly name: "ThrottlingException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
Message: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Service Quotas requirement to identify originating service
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
QuotaCode?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Service Quotas requirement to identify originating quota
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
ServiceCode?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Advice to clients on when the call can be safely retried
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
RetryAfterSeconds?: number | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
89
|
+
* service.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ValidationException extends __BaseException {
|
|
93
|
+
readonly name: "ValidationException";
|
|
94
|
+
readonly $fault: "client";
|
|
95
|
+
Message: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Reason the request failed validation
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The fields that caused the error
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
Fields?: ValidationExceptionField[] | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* <p>Updating or deleting a resource causes an inconsistent state.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class ConflictException extends __BaseException {
|
|
116
|
+
readonly name: "ConflictException";
|
|
117
|
+
readonly $fault: "client";
|
|
118
|
+
Message: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Identifier of the resource in use
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
ResourceId: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* Type of the resource in use
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
ResourceType: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* List of dependent entities containing information on relation type and resourceArns linked to the resource in use
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
DependentEntities?: DependentEntity[] | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* <p>The operation failed to due an encryption key error.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export declare class DataEncryptionException extends __BaseException {
|
|
144
|
+
readonly name: "DataEncryptionException";
|
|
145
|
+
readonly $fault: "client";
|
|
146
|
+
Message: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
constructor(opts: __ExceptionOptionType<DataEncryptionException, __BaseException>);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
157
|
+
readonly name: "ServiceQuotaExceededException";
|
|
158
|
+
readonly $fault: "client";
|
|
159
|
+
Message: string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* Identifier of the resource affected
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
ResourceId?: string | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* Type of the resource affected
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
ResourceType?: string | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* Service Quotas requirement to identify originating service
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
QuotaCode: string | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* Service Quotas requirement to identify originating quota
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
ServiceCode: string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
184
|
+
}
|
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const AcceptCodeValidation: {
|
|
8
|
-
readonly ENFORCE: "ENFORCE";
|
|
9
|
-
readonly IGNORE: "IGNORE";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type AcceptCodeValidation = (typeof AcceptCodeValidation)[keyof typeof AcceptCodeValidation];
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
* @enum
|
|
18
|
-
*/
|
|
19
|
-
export declare const AcceptType: {
|
|
20
|
-
readonly DELIVERED: "DELIVERED";
|
|
21
|
-
readonly READ: "READ";
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export type AcceptType = (typeof AcceptType)[keyof typeof AcceptType];
|
|
1
|
+
import { AcceptCodeValidation, AcceptType, ActivationStatus, ChannelType, ContactType, DayOfWeek, ReceiptType, ShiftType } from "./enums";
|
|
27
2
|
/**
|
|
28
3
|
* @public
|
|
29
4
|
*/
|
|
@@ -71,88 +46,6 @@ export interface AcceptPageRequest {
|
|
|
71
46
|
*/
|
|
72
47
|
export interface AcceptPageResult {
|
|
73
48
|
}
|
|
74
|
-
/**
|
|
75
|
-
* <p>You don't have sufficient access to perform this operation.</p>
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
79
|
-
readonly name: "AccessDeniedException";
|
|
80
|
-
readonly $fault: "client";
|
|
81
|
-
Message: string | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* <p>Unexpected error occurred while processing the request.</p>
|
|
89
|
-
* @public
|
|
90
|
-
*/
|
|
91
|
-
export declare class InternalServerException extends __BaseException {
|
|
92
|
-
readonly name: "InternalServerException";
|
|
93
|
-
readonly $fault: "server";
|
|
94
|
-
Message: string | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Advice to clients on when the call can be safely retried
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
RetryAfterSeconds?: number | undefined;
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* <p>Request references a resource that doesn't exist.</p>
|
|
107
|
-
* @public
|
|
108
|
-
*/
|
|
109
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
110
|
-
readonly name: "ResourceNotFoundException";
|
|
111
|
-
readonly $fault: "client";
|
|
112
|
-
Message: string | undefined;
|
|
113
|
-
/**
|
|
114
|
-
* Hypothetical resource identifier that was not found
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
ResourceId: string | undefined;
|
|
118
|
-
/**
|
|
119
|
-
* Hypothetical resource type that was not found
|
|
120
|
-
* @public
|
|
121
|
-
*/
|
|
122
|
-
ResourceType: string | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* <p>The request was denied due to request throttling.</p>
|
|
130
|
-
* @public
|
|
131
|
-
*/
|
|
132
|
-
export declare class ThrottlingException extends __BaseException {
|
|
133
|
-
readonly name: "ThrottlingException";
|
|
134
|
-
readonly $fault: "client";
|
|
135
|
-
Message: string | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* Service Quotas requirement to identify originating service
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
QuotaCode?: string | undefined;
|
|
141
|
-
/**
|
|
142
|
-
* Service Quotas requirement to identify originating quota
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
ServiceCode?: string | undefined;
|
|
146
|
-
/**
|
|
147
|
-
* Advice to clients on when the call can be safely retried
|
|
148
|
-
* @public
|
|
149
|
-
*/
|
|
150
|
-
RetryAfterSeconds?: number | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* @internal
|
|
153
|
-
*/
|
|
154
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
155
|
-
}
|
|
156
49
|
/**
|
|
157
50
|
* <p>Provides information about which field caused the exception.</p>
|
|
158
51
|
* @public
|
|
@@ -169,44 +62,6 @@ export interface ValidationExceptionField {
|
|
|
169
62
|
*/
|
|
170
63
|
Message: string | undefined;
|
|
171
64
|
}
|
|
172
|
-
/**
|
|
173
|
-
* @public
|
|
174
|
-
* @enum
|
|
175
|
-
*/
|
|
176
|
-
export declare const ValidationExceptionReason: {
|
|
177
|
-
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
178
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
179
|
-
readonly OTHER: "OTHER";
|
|
180
|
-
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
186
|
-
/**
|
|
187
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
188
|
-
* service.</p>
|
|
189
|
-
* @public
|
|
190
|
-
*/
|
|
191
|
-
export declare class ValidationException extends __BaseException {
|
|
192
|
-
readonly name: "ValidationException";
|
|
193
|
-
readonly $fault: "client";
|
|
194
|
-
Message: string | undefined;
|
|
195
|
-
/**
|
|
196
|
-
* Reason the request failed validation
|
|
197
|
-
* @public
|
|
198
|
-
*/
|
|
199
|
-
Reason?: ValidationExceptionReason | undefined;
|
|
200
|
-
/**
|
|
201
|
-
* The fields that caused the error
|
|
202
|
-
* @public
|
|
203
|
-
*/
|
|
204
|
-
Fields?: ValidationExceptionField[] | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* @internal
|
|
207
|
-
*/
|
|
208
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
209
|
-
}
|
|
210
65
|
/**
|
|
211
66
|
* @public
|
|
212
67
|
*/
|
|
@@ -227,18 +82,6 @@ export interface ActivateContactChannelRequest {
|
|
|
227
82
|
*/
|
|
228
83
|
export interface ActivateContactChannelResult {
|
|
229
84
|
}
|
|
230
|
-
/**
|
|
231
|
-
* @public
|
|
232
|
-
* @enum
|
|
233
|
-
*/
|
|
234
|
-
export declare const ActivationStatus: {
|
|
235
|
-
readonly ACTIVATED: "ACTIVATED";
|
|
236
|
-
readonly NOT_ACTIVATED: "NOT_ACTIVATED";
|
|
237
|
-
};
|
|
238
|
-
/**
|
|
239
|
-
* @public
|
|
240
|
-
*/
|
|
241
|
-
export type ActivationStatus = (typeof ActivationStatus)[keyof typeof ActivationStatus];
|
|
242
85
|
/**
|
|
243
86
|
* <p>Information about the contact channel that Incident Manager uses to engage the
|
|
244
87
|
* contact.</p>
|
|
@@ -257,19 +100,6 @@ export interface ChannelTargetInfo {
|
|
|
257
100
|
*/
|
|
258
101
|
RetryIntervalInMinutes?: number | undefined;
|
|
259
102
|
}
|
|
260
|
-
/**
|
|
261
|
-
* @public
|
|
262
|
-
* @enum
|
|
263
|
-
*/
|
|
264
|
-
export declare const ChannelType: {
|
|
265
|
-
readonly EMAIL: "EMAIL";
|
|
266
|
-
readonly SMS: "SMS";
|
|
267
|
-
readonly VOICE: "VOICE";
|
|
268
|
-
};
|
|
269
|
-
/**
|
|
270
|
-
* @public
|
|
271
|
-
*/
|
|
272
|
-
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
273
103
|
/**
|
|
274
104
|
* <p>Information about a resource that another resource is related to or depends on.</p>
|
|
275
105
|
* <p>For example, if a contact is a member of a rotation, the rotation is a dependent entity
|
|
@@ -289,47 +119,6 @@ export interface DependentEntity {
|
|
|
289
119
|
*/
|
|
290
120
|
DependentResourceIds: string[] | undefined;
|
|
291
121
|
}
|
|
292
|
-
/**
|
|
293
|
-
* <p>Updating or deleting a resource causes an inconsistent state.</p>
|
|
294
|
-
* @public
|
|
295
|
-
*/
|
|
296
|
-
export declare class ConflictException extends __BaseException {
|
|
297
|
-
readonly name: "ConflictException";
|
|
298
|
-
readonly $fault: "client";
|
|
299
|
-
Message: string | undefined;
|
|
300
|
-
/**
|
|
301
|
-
* Identifier of the resource in use
|
|
302
|
-
* @public
|
|
303
|
-
*/
|
|
304
|
-
ResourceId: string | undefined;
|
|
305
|
-
/**
|
|
306
|
-
* Type of the resource in use
|
|
307
|
-
* @public
|
|
308
|
-
*/
|
|
309
|
-
ResourceType: string | undefined;
|
|
310
|
-
/**
|
|
311
|
-
* List of dependent entities containing information on relation type and resourceArns linked to the resource in use
|
|
312
|
-
* @public
|
|
313
|
-
*/
|
|
314
|
-
DependentEntities?: DependentEntity[] | undefined;
|
|
315
|
-
/**
|
|
316
|
-
* @internal
|
|
317
|
-
*/
|
|
318
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
319
|
-
}
|
|
320
|
-
/**
|
|
321
|
-
* @public
|
|
322
|
-
* @enum
|
|
323
|
-
*/
|
|
324
|
-
export declare const ContactType: {
|
|
325
|
-
readonly ESCALATION: "ESCALATION";
|
|
326
|
-
readonly ONCALL_SCHEDULE: "ONCALL_SCHEDULE";
|
|
327
|
-
readonly PERSONAL: "PERSONAL";
|
|
328
|
-
};
|
|
329
|
-
/**
|
|
330
|
-
* @public
|
|
331
|
-
*/
|
|
332
|
-
export type ContactType = (typeof ContactType)[keyof typeof ContactType];
|
|
333
122
|
/**
|
|
334
123
|
* <p>A personal contact or escalation plan that Incident Manager engages during an
|
|
335
124
|
* incident.</p>
|
|
@@ -625,52 +414,6 @@ export interface CreateContactResult {
|
|
|
625
414
|
*/
|
|
626
415
|
ContactArn: string | undefined;
|
|
627
416
|
}
|
|
628
|
-
/**
|
|
629
|
-
* <p>The operation failed to due an encryption key error.</p>
|
|
630
|
-
* @public
|
|
631
|
-
*/
|
|
632
|
-
export declare class DataEncryptionException extends __BaseException {
|
|
633
|
-
readonly name: "DataEncryptionException";
|
|
634
|
-
readonly $fault: "client";
|
|
635
|
-
Message: string | undefined;
|
|
636
|
-
/**
|
|
637
|
-
* @internal
|
|
638
|
-
*/
|
|
639
|
-
constructor(opts: __ExceptionOptionType<DataEncryptionException, __BaseException>);
|
|
640
|
-
}
|
|
641
|
-
/**
|
|
642
|
-
* <p>Request would cause a service quota to be exceeded.</p>
|
|
643
|
-
* @public
|
|
644
|
-
*/
|
|
645
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
646
|
-
readonly name: "ServiceQuotaExceededException";
|
|
647
|
-
readonly $fault: "client";
|
|
648
|
-
Message: string | undefined;
|
|
649
|
-
/**
|
|
650
|
-
* Identifier of the resource affected
|
|
651
|
-
* @public
|
|
652
|
-
*/
|
|
653
|
-
ResourceId?: string | undefined;
|
|
654
|
-
/**
|
|
655
|
-
* Type of the resource affected
|
|
656
|
-
* @public
|
|
657
|
-
*/
|
|
658
|
-
ResourceType?: string | undefined;
|
|
659
|
-
/**
|
|
660
|
-
* Service Quotas requirement to identify originating service
|
|
661
|
-
* @public
|
|
662
|
-
*/
|
|
663
|
-
QuotaCode: string | undefined;
|
|
664
|
-
/**
|
|
665
|
-
* Service Quotas requirement to identify originating quota
|
|
666
|
-
* @public
|
|
667
|
-
*/
|
|
668
|
-
ServiceCode: string | undefined;
|
|
669
|
-
/**
|
|
670
|
-
* @internal
|
|
671
|
-
*/
|
|
672
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
673
|
-
}
|
|
674
417
|
/**
|
|
675
418
|
* @public
|
|
676
419
|
*/
|
|
@@ -765,23 +508,6 @@ export interface MonthlySetting {
|
|
|
765
508
|
*/
|
|
766
509
|
HandOffTime: HandOffTime | undefined;
|
|
767
510
|
}
|
|
768
|
-
/**
|
|
769
|
-
* @public
|
|
770
|
-
* @enum
|
|
771
|
-
*/
|
|
772
|
-
export declare const DayOfWeek: {
|
|
773
|
-
readonly FRI: "FRI";
|
|
774
|
-
readonly MON: "MON";
|
|
775
|
-
readonly SAT: "SAT";
|
|
776
|
-
readonly SUN: "SUN";
|
|
777
|
-
readonly THU: "THU";
|
|
778
|
-
readonly TUE: "TUE";
|
|
779
|
-
readonly WED: "WED";
|
|
780
|
-
};
|
|
781
|
-
/**
|
|
782
|
-
* @public
|
|
783
|
-
*/
|
|
784
|
-
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
785
511
|
/**
|
|
786
512
|
* <p>Information about rotations that recur weekly.</p>
|
|
787
513
|
* @public
|
|
@@ -1583,21 +1309,6 @@ export interface ListPageReceiptsRequest {
|
|
|
1583
1309
|
*/
|
|
1584
1310
|
MaxResults?: number | undefined;
|
|
1585
1311
|
}
|
|
1586
|
-
/**
|
|
1587
|
-
* @public
|
|
1588
|
-
* @enum
|
|
1589
|
-
*/
|
|
1590
|
-
export declare const ReceiptType: {
|
|
1591
|
-
readonly DELIVERED: "DELIVERED";
|
|
1592
|
-
readonly ERROR: "ERROR";
|
|
1593
|
-
readonly READ: "READ";
|
|
1594
|
-
readonly SENT: "SENT";
|
|
1595
|
-
readonly STOP: "STOP";
|
|
1596
|
-
};
|
|
1597
|
-
/**
|
|
1598
|
-
* @public
|
|
1599
|
-
*/
|
|
1600
|
-
export type ReceiptType = (typeof ReceiptType)[keyof typeof ReceiptType];
|
|
1601
1312
|
/**
|
|
1602
1313
|
* <p>Records events during an engagement.</p>
|
|
1603
1314
|
* @public
|
|
@@ -1907,18 +1618,6 @@ export interface ShiftDetails {
|
|
|
1907
1618
|
*/
|
|
1908
1619
|
OverriddenContactIds: string[] | undefined;
|
|
1909
1620
|
}
|
|
1910
|
-
/**
|
|
1911
|
-
* @public
|
|
1912
|
-
* @enum
|
|
1913
|
-
*/
|
|
1914
|
-
export declare const ShiftType: {
|
|
1915
|
-
readonly OVERRIDDEN: "OVERRIDDEN";
|
|
1916
|
-
readonly REGULAR: "REGULAR";
|
|
1917
|
-
};
|
|
1918
|
-
/**
|
|
1919
|
-
* @public
|
|
1920
|
-
*/
|
|
1921
|
-
export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
|
|
1922
1621
|
/**
|
|
1923
1622
|
* <p>Information about a shift that belongs to an on-call rotation.</p>
|
|
1924
1623
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SSMContactsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { SSMContactsServiceException } from "./models/SSMContactsServiceException";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare const AcceptCodeValidation: {
|
|
2
|
+
readonly ENFORCE: "ENFORCE";
|
|
3
|
+
readonly IGNORE: "IGNORE";
|
|
4
|
+
};
|
|
5
|
+
export type AcceptCodeValidation =
|
|
6
|
+
(typeof AcceptCodeValidation)[keyof typeof AcceptCodeValidation];
|
|
7
|
+
export declare const AcceptType: {
|
|
8
|
+
readonly DELIVERED: "DELIVERED";
|
|
9
|
+
readonly READ: "READ";
|
|
10
|
+
};
|
|
11
|
+
export type AcceptType = (typeof AcceptType)[keyof typeof AcceptType];
|
|
12
|
+
export declare const ValidationExceptionReason: {
|
|
13
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
14
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
15
|
+
readonly OTHER: "OTHER";
|
|
16
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
17
|
+
};
|
|
18
|
+
export type ValidationExceptionReason =
|
|
19
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
20
|
+
export declare const ActivationStatus: {
|
|
21
|
+
readonly ACTIVATED: "ACTIVATED";
|
|
22
|
+
readonly NOT_ACTIVATED: "NOT_ACTIVATED";
|
|
23
|
+
};
|
|
24
|
+
export type ActivationStatus =
|
|
25
|
+
(typeof ActivationStatus)[keyof typeof ActivationStatus];
|
|
26
|
+
export declare const ChannelType: {
|
|
27
|
+
readonly EMAIL: "EMAIL";
|
|
28
|
+
readonly SMS: "SMS";
|
|
29
|
+
readonly VOICE: "VOICE";
|
|
30
|
+
};
|
|
31
|
+
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
32
|
+
export declare const ContactType: {
|
|
33
|
+
readonly ESCALATION: "ESCALATION";
|
|
34
|
+
readonly ONCALL_SCHEDULE: "ONCALL_SCHEDULE";
|
|
35
|
+
readonly PERSONAL: "PERSONAL";
|
|
36
|
+
};
|
|
37
|
+
export type ContactType = (typeof ContactType)[keyof typeof ContactType];
|
|
38
|
+
export declare const DayOfWeek: {
|
|
39
|
+
readonly FRI: "FRI";
|
|
40
|
+
readonly MON: "MON";
|
|
41
|
+
readonly SAT: "SAT";
|
|
42
|
+
readonly SUN: "SUN";
|
|
43
|
+
readonly THU: "THU";
|
|
44
|
+
readonly TUE: "TUE";
|
|
45
|
+
readonly WED: "WED";
|
|
46
|
+
};
|
|
47
|
+
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
48
|
+
export declare const ReceiptType: {
|
|
49
|
+
readonly DELIVERED: "DELIVERED";
|
|
50
|
+
readonly ERROR: "ERROR";
|
|
51
|
+
readonly READ: "READ";
|
|
52
|
+
readonly SENT: "SENT";
|
|
53
|
+
readonly STOP: "STOP";
|
|
54
|
+
};
|
|
55
|
+
export type ReceiptType = (typeof ReceiptType)[keyof typeof ReceiptType];
|
|
56
|
+
export declare const ShiftType: {
|
|
57
|
+
readonly OVERRIDDEN: "OVERRIDDEN";
|
|
58
|
+
readonly REGULAR: "REGULAR";
|
|
59
|
+
};
|
|
60
|
+
export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { DependentEntity, ValidationExceptionField } from "./models_0";
|
|
4
|
+
import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
|
|
5
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
readonly name: "AccessDeniedException";
|
|
7
|
+
readonly $fault: "client";
|
|
8
|
+
Message: string | undefined;
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
export declare class InternalServerException extends __BaseException {
|
|
14
|
+
readonly name: "InternalServerException";
|
|
15
|
+
readonly $fault: "server";
|
|
16
|
+
Message: string | undefined;
|
|
17
|
+
RetryAfterSeconds?: number | undefined;
|
|
18
|
+
constructor(
|
|
19
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
|
+
readonly name: "ResourceNotFoundException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message: string | undefined;
|
|
26
|
+
ResourceId: string | undefined;
|
|
27
|
+
ResourceType: string | undefined;
|
|
28
|
+
constructor(
|
|
29
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export declare class ThrottlingException extends __BaseException {
|
|
33
|
+
readonly name: "ThrottlingException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
Message: string | undefined;
|
|
36
|
+
QuotaCode?: string | undefined;
|
|
37
|
+
ServiceCode?: string | undefined;
|
|
38
|
+
RetryAfterSeconds?: number | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class ValidationException extends __BaseException {
|
|
44
|
+
readonly name: "ValidationException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
Message: string | undefined;
|
|
47
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
48
|
+
Fields?: ValidationExceptionField[] | undefined;
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export declare class ConflictException extends __BaseException {
|
|
54
|
+
readonly name: "ConflictException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
Message: string | undefined;
|
|
57
|
+
ResourceId: string | undefined;
|
|
58
|
+
ResourceType: string | undefined;
|
|
59
|
+
DependentEntities?: DependentEntity[] | undefined;
|
|
60
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
61
|
+
}
|
|
62
|
+
export declare class DataEncryptionException extends __BaseException {
|
|
63
|
+
readonly name: "DataEncryptionException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
Message: string | undefined;
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<DataEncryptionException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
71
|
+
readonly name: "ServiceQuotaExceededException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
Message: string | undefined;
|
|
74
|
+
ResourceId?: string | undefined;
|
|
75
|
+
ResourceType?: string | undefined;
|
|
76
|
+
QuotaCode: string | undefined;
|
|
77
|
+
ServiceCode: string | undefined;
|
|
78
|
+
constructor(
|
|
79
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
80
|
+
);
|
|
81
|
+
}
|