@aws-sdk/client-ssm-contacts 3.489.0 → 3.495.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/SSMContacts.js +1 -89
- package/dist-cjs/SSMContactsClient.js +1 -43
- package/dist-cjs/commands/AcceptPageCommand.js +1 -28
- package/dist-cjs/commands/ActivateContactChannelCommand.js +1 -28
- package/dist-cjs/commands/CreateContactChannelCommand.js +1 -28
- package/dist-cjs/commands/CreateContactCommand.js +1 -28
- package/dist-cjs/commands/CreateRotationCommand.js +1 -28
- package/dist-cjs/commands/CreateRotationOverrideCommand.js +1 -28
- package/dist-cjs/commands/DeactivateContactChannelCommand.js +1 -28
- package/dist-cjs/commands/DeleteContactChannelCommand.js +1 -28
- package/dist-cjs/commands/DeleteContactCommand.js +1 -28
- package/dist-cjs/commands/DeleteRotationCommand.js +1 -28
- package/dist-cjs/commands/DeleteRotationOverrideCommand.js +1 -28
- package/dist-cjs/commands/DescribeEngagementCommand.js +1 -28
- package/dist-cjs/commands/DescribePageCommand.js +1 -28
- package/dist-cjs/commands/GetContactChannelCommand.js +1 -28
- package/dist-cjs/commands/GetContactCommand.js +1 -28
- package/dist-cjs/commands/GetContactPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetRotationCommand.js +1 -28
- package/dist-cjs/commands/GetRotationOverrideCommand.js +1 -28
- package/dist-cjs/commands/ListContactChannelsCommand.js +1 -28
- package/dist-cjs/commands/ListContactsCommand.js +1 -28
- package/dist-cjs/commands/ListEngagementsCommand.js +1 -28
- package/dist-cjs/commands/ListPageReceiptsCommand.js +1 -28
- package/dist-cjs/commands/ListPageResolutionsCommand.js +1 -28
- package/dist-cjs/commands/ListPagesByContactCommand.js +1 -28
- package/dist-cjs/commands/ListPagesByEngagementCommand.js +1 -28
- package/dist-cjs/commands/ListPreviewRotationShiftsCommand.js +1 -28
- package/dist-cjs/commands/ListRotationOverridesCommand.js +1 -28
- package/dist-cjs/commands/ListRotationShiftsCommand.js +1 -28
- package/dist-cjs/commands/ListRotationsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutContactPolicyCommand.js +1 -28
- package/dist-cjs/commands/SendActivationCodeCommand.js +1 -28
- package/dist-cjs/commands/StartEngagementCommand.js +1 -28
- package/dist-cjs/commands/StopEngagementCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateContactChannelCommand.js +1 -28
- package/dist-cjs/commands/UpdateContactCommand.js +1 -28
- package/dist-cjs/commands/UpdateRotationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -42
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3712 -11
- package/dist-cjs/models/SSMContactsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -179
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListContactChannelsPaginator.js +1 -7
- package/dist-cjs/pagination/ListContactsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEngagementsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPageReceiptsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPageResolutionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPagesByContactPaginator.js +1 -7
- package/dist-cjs/pagination/ListPagesByEngagementPaginator.js +1 -7
- package/dist-cjs/pagination/ListPreviewRotationShiftsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRotationOverridesPaginator.js +1 -7
- package/dist-cjs/pagination/ListRotationShiftsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRotationsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -15
- package/dist-cjs/protocols/Aws_json1_1.js +1 -2565
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3713 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AcceptCodeValidation: () => AcceptCodeValidation,
|
|
25
|
+
AcceptPageCommand: () => AcceptPageCommand,
|
|
26
|
+
AcceptType: () => AcceptType,
|
|
27
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
28
|
+
ActivateContactChannelCommand: () => ActivateContactChannelCommand,
|
|
29
|
+
ActivationStatus: () => ActivationStatus,
|
|
30
|
+
ChannelType: () => ChannelType,
|
|
31
|
+
ConflictException: () => ConflictException,
|
|
32
|
+
ContactType: () => ContactType,
|
|
33
|
+
CreateContactChannelCommand: () => CreateContactChannelCommand,
|
|
34
|
+
CreateContactCommand: () => CreateContactCommand,
|
|
35
|
+
CreateRotationCommand: () => CreateRotationCommand,
|
|
36
|
+
CreateRotationOverrideCommand: () => CreateRotationOverrideCommand,
|
|
37
|
+
DataEncryptionException: () => DataEncryptionException,
|
|
38
|
+
DayOfWeek: () => DayOfWeek,
|
|
39
|
+
DeactivateContactChannelCommand: () => DeactivateContactChannelCommand,
|
|
40
|
+
DeleteContactChannelCommand: () => DeleteContactChannelCommand,
|
|
41
|
+
DeleteContactCommand: () => DeleteContactCommand,
|
|
42
|
+
DeleteRotationCommand: () => DeleteRotationCommand,
|
|
43
|
+
DeleteRotationOverrideCommand: () => DeleteRotationOverrideCommand,
|
|
44
|
+
DescribeEngagementCommand: () => DescribeEngagementCommand,
|
|
45
|
+
DescribePageCommand: () => DescribePageCommand,
|
|
46
|
+
GetContactChannelCommand: () => GetContactChannelCommand,
|
|
47
|
+
GetContactCommand: () => GetContactCommand,
|
|
48
|
+
GetContactPolicyCommand: () => GetContactPolicyCommand,
|
|
49
|
+
GetRotationCommand: () => GetRotationCommand,
|
|
50
|
+
GetRotationOverrideCommand: () => GetRotationOverrideCommand,
|
|
51
|
+
InternalServerException: () => InternalServerException,
|
|
52
|
+
ListContactChannelsCommand: () => ListContactChannelsCommand,
|
|
53
|
+
ListContactsCommand: () => ListContactsCommand,
|
|
54
|
+
ListEngagementsCommand: () => ListEngagementsCommand,
|
|
55
|
+
ListPageReceiptsCommand: () => ListPageReceiptsCommand,
|
|
56
|
+
ListPageResolutionsCommand: () => ListPageResolutionsCommand,
|
|
57
|
+
ListPagesByContactCommand: () => ListPagesByContactCommand,
|
|
58
|
+
ListPagesByEngagementCommand: () => ListPagesByEngagementCommand,
|
|
59
|
+
ListPreviewRotationShiftsCommand: () => ListPreviewRotationShiftsCommand,
|
|
60
|
+
ListRotationOverridesCommand: () => ListRotationOverridesCommand,
|
|
61
|
+
ListRotationShiftsCommand: () => ListRotationShiftsCommand,
|
|
62
|
+
ListRotationsCommand: () => ListRotationsCommand,
|
|
63
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
64
|
+
PutContactPolicyCommand: () => PutContactPolicyCommand,
|
|
65
|
+
ReceiptType: () => ReceiptType,
|
|
66
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
67
|
+
SSMContacts: () => SSMContacts,
|
|
68
|
+
SSMContactsClient: () => SSMContactsClient,
|
|
69
|
+
SSMContactsServiceException: () => SSMContactsServiceException,
|
|
70
|
+
SendActivationCodeCommand: () => SendActivationCodeCommand,
|
|
71
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
72
|
+
ShiftType: () => ShiftType,
|
|
73
|
+
StartEngagementCommand: () => StartEngagementCommand,
|
|
74
|
+
StopEngagementCommand: () => StopEngagementCommand,
|
|
75
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
76
|
+
ThrottlingException: () => ThrottlingException,
|
|
77
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
78
|
+
UpdateContactChannelCommand: () => UpdateContactChannelCommand,
|
|
79
|
+
UpdateContactCommand: () => UpdateContactCommand,
|
|
80
|
+
UpdateRotationCommand: () => UpdateRotationCommand,
|
|
81
|
+
ValidationException: () => ValidationException,
|
|
82
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
83
|
+
__Client: () => import_smithy_client.Client,
|
|
84
|
+
paginateListContactChannels: () => paginateListContactChannels,
|
|
85
|
+
paginateListContacts: () => paginateListContacts,
|
|
86
|
+
paginateListEngagements: () => paginateListEngagements,
|
|
87
|
+
paginateListPageReceipts: () => paginateListPageReceipts,
|
|
88
|
+
paginateListPageResolutions: () => paginateListPageResolutions,
|
|
89
|
+
paginateListPagesByContact: () => paginateListPagesByContact,
|
|
90
|
+
paginateListPagesByEngagement: () => paginateListPagesByEngagement,
|
|
91
|
+
paginateListPreviewRotationShifts: () => paginateListPreviewRotationShifts,
|
|
92
|
+
paginateListRotationOverrides: () => paginateListRotationOverrides,
|
|
93
|
+
paginateListRotationShifts: () => paginateListRotationShifts,
|
|
94
|
+
paginateListRotations: () => paginateListRotations
|
|
95
|
+
});
|
|
96
|
+
module.exports = __toCommonJS(src_exports);
|
|
97
|
+
|
|
98
|
+
// src/SSMContactsClient.ts
|
|
99
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
100
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
101
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
102
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
103
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
104
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
105
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
106
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
107
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
// src/endpoint/EndpointParameters.ts
|
|
111
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
112
|
+
return {
|
|
113
|
+
...options,
|
|
114
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
115
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
116
|
+
defaultSigningName: "ssm-contacts"
|
|
117
|
+
};
|
|
118
|
+
}, "resolveClientEndpointParameters");
|
|
119
|
+
var commonParams = {
|
|
120
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
121
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
122
|
+
Region: { type: "builtInParams", name: "region" },
|
|
123
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
// src/SSMContactsClient.ts
|
|
127
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
128
|
+
|
|
129
|
+
// src/runtimeExtensions.ts
|
|
130
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
131
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
132
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
133
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
134
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
135
|
+
const extensionConfiguration = {
|
|
136
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
137
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
138
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
139
|
+
};
|
|
140
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
141
|
+
return {
|
|
142
|
+
...runtimeConfig,
|
|
143
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
144
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
145
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
146
|
+
};
|
|
147
|
+
}, "resolveRuntimeExtensions");
|
|
148
|
+
|
|
149
|
+
// src/SSMContactsClient.ts
|
|
150
|
+
var _SSMContactsClient = class _SSMContactsClient extends import_smithy_client.Client {
|
|
151
|
+
constructor(...[configuration]) {
|
|
152
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
153
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
154
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
155
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
156
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
157
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
158
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
159
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
160
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
161
|
+
super(_config_8);
|
|
162
|
+
this.config = _config_8;
|
|
163
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
164
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
165
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
166
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
167
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
168
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
169
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
173
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
174
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
175
|
+
*/
|
|
176
|
+
destroy() {
|
|
177
|
+
super.destroy();
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
__name(_SSMContactsClient, "SSMContactsClient");
|
|
181
|
+
var SSMContactsClient = _SSMContactsClient;
|
|
182
|
+
|
|
183
|
+
// src/SSMContacts.ts
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
// src/commands/AcceptPageCommand.ts
|
|
187
|
+
|
|
188
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
189
|
+
|
|
190
|
+
var import_types = require("@smithy/types");
|
|
191
|
+
|
|
192
|
+
// src/protocols/Aws_json1_1.ts
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
var import_uuid = require("uuid");
|
|
196
|
+
|
|
197
|
+
// src/models/SSMContactsServiceException.ts
|
|
198
|
+
|
|
199
|
+
var _SSMContactsServiceException = class _SSMContactsServiceException extends import_smithy_client.ServiceException {
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
constructor(options) {
|
|
204
|
+
super(options);
|
|
205
|
+
Object.setPrototypeOf(this, _SSMContactsServiceException.prototype);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
__name(_SSMContactsServiceException, "SSMContactsServiceException");
|
|
209
|
+
var SSMContactsServiceException = _SSMContactsServiceException;
|
|
210
|
+
|
|
211
|
+
// src/models/models_0.ts
|
|
212
|
+
var AcceptCodeValidation = {
|
|
213
|
+
ENFORCE: "ENFORCE",
|
|
214
|
+
IGNORE: "IGNORE"
|
|
215
|
+
};
|
|
216
|
+
var AcceptType = {
|
|
217
|
+
DELIVERED: "DELIVERED",
|
|
218
|
+
READ: "READ"
|
|
219
|
+
};
|
|
220
|
+
var _AccessDeniedException = class _AccessDeniedException extends SSMContactsServiceException {
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "AccessDeniedException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts
|
|
229
|
+
});
|
|
230
|
+
this.name = "AccessDeniedException";
|
|
231
|
+
this.$fault = "client";
|
|
232
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
233
|
+
this.Message = opts.Message;
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
237
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
238
|
+
var _InternalServerException = class _InternalServerException extends SSMContactsServiceException {
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "InternalServerException",
|
|
245
|
+
$fault: "server",
|
|
246
|
+
...opts
|
|
247
|
+
});
|
|
248
|
+
this.name = "InternalServerException";
|
|
249
|
+
this.$fault = "server";
|
|
250
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
251
|
+
this.Message = opts.Message;
|
|
252
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
__name(_InternalServerException, "InternalServerException");
|
|
256
|
+
var InternalServerException = _InternalServerException;
|
|
257
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends SSMContactsServiceException {
|
|
258
|
+
/**
|
|
259
|
+
* @internal
|
|
260
|
+
*/
|
|
261
|
+
constructor(opts) {
|
|
262
|
+
super({
|
|
263
|
+
name: "ResourceNotFoundException",
|
|
264
|
+
$fault: "client",
|
|
265
|
+
...opts
|
|
266
|
+
});
|
|
267
|
+
this.name = "ResourceNotFoundException";
|
|
268
|
+
this.$fault = "client";
|
|
269
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
270
|
+
this.Message = opts.Message;
|
|
271
|
+
this.ResourceId = opts.ResourceId;
|
|
272
|
+
this.ResourceType = opts.ResourceType;
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
276
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
277
|
+
var _ThrottlingException = class _ThrottlingException extends SSMContactsServiceException {
|
|
278
|
+
/**
|
|
279
|
+
* @internal
|
|
280
|
+
*/
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "ThrottlingException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts
|
|
286
|
+
});
|
|
287
|
+
this.name = "ThrottlingException";
|
|
288
|
+
this.$fault = "client";
|
|
289
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
290
|
+
this.Message = opts.Message;
|
|
291
|
+
this.QuotaCode = opts.QuotaCode;
|
|
292
|
+
this.ServiceCode = opts.ServiceCode;
|
|
293
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
297
|
+
var ThrottlingException = _ThrottlingException;
|
|
298
|
+
var ValidationExceptionReason = {
|
|
299
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
300
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
301
|
+
OTHER: "OTHER",
|
|
302
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION"
|
|
303
|
+
};
|
|
304
|
+
var _ValidationException = class _ValidationException extends SSMContactsServiceException {
|
|
305
|
+
/**
|
|
306
|
+
* @internal
|
|
307
|
+
*/
|
|
308
|
+
constructor(opts) {
|
|
309
|
+
super({
|
|
310
|
+
name: "ValidationException",
|
|
311
|
+
$fault: "client",
|
|
312
|
+
...opts
|
|
313
|
+
});
|
|
314
|
+
this.name = "ValidationException";
|
|
315
|
+
this.$fault = "client";
|
|
316
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
317
|
+
this.Message = opts.Message;
|
|
318
|
+
this.Reason = opts.Reason;
|
|
319
|
+
this.Fields = opts.Fields;
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
__name(_ValidationException, "ValidationException");
|
|
323
|
+
var ValidationException = _ValidationException;
|
|
324
|
+
var ActivationStatus = {
|
|
325
|
+
ACTIVATED: "ACTIVATED",
|
|
326
|
+
NOT_ACTIVATED: "NOT_ACTIVATED"
|
|
327
|
+
};
|
|
328
|
+
var ChannelType = {
|
|
329
|
+
EMAIL: "EMAIL",
|
|
330
|
+
SMS: "SMS",
|
|
331
|
+
VOICE: "VOICE"
|
|
332
|
+
};
|
|
333
|
+
var _ConflictException = class _ConflictException extends SSMContactsServiceException {
|
|
334
|
+
/**
|
|
335
|
+
* @internal
|
|
336
|
+
*/
|
|
337
|
+
constructor(opts) {
|
|
338
|
+
super({
|
|
339
|
+
name: "ConflictException",
|
|
340
|
+
$fault: "client",
|
|
341
|
+
...opts
|
|
342
|
+
});
|
|
343
|
+
this.name = "ConflictException";
|
|
344
|
+
this.$fault = "client";
|
|
345
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
346
|
+
this.Message = opts.Message;
|
|
347
|
+
this.ResourceId = opts.ResourceId;
|
|
348
|
+
this.ResourceType = opts.ResourceType;
|
|
349
|
+
this.DependentEntities = opts.DependentEntities;
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
__name(_ConflictException, "ConflictException");
|
|
353
|
+
var ConflictException = _ConflictException;
|
|
354
|
+
var ContactType = {
|
|
355
|
+
ESCALATION: "ESCALATION",
|
|
356
|
+
ONCALL_SCHEDULE: "ONCALL_SCHEDULE",
|
|
357
|
+
PERSONAL: "PERSONAL"
|
|
358
|
+
};
|
|
359
|
+
var _DataEncryptionException = class _DataEncryptionException extends SSMContactsServiceException {
|
|
360
|
+
/**
|
|
361
|
+
* @internal
|
|
362
|
+
*/
|
|
363
|
+
constructor(opts) {
|
|
364
|
+
super({
|
|
365
|
+
name: "DataEncryptionException",
|
|
366
|
+
$fault: "client",
|
|
367
|
+
...opts
|
|
368
|
+
});
|
|
369
|
+
this.name = "DataEncryptionException";
|
|
370
|
+
this.$fault = "client";
|
|
371
|
+
Object.setPrototypeOf(this, _DataEncryptionException.prototype);
|
|
372
|
+
this.Message = opts.Message;
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
__name(_DataEncryptionException, "DataEncryptionException");
|
|
376
|
+
var DataEncryptionException = _DataEncryptionException;
|
|
377
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SSMContactsServiceException {
|
|
378
|
+
/**
|
|
379
|
+
* @internal
|
|
380
|
+
*/
|
|
381
|
+
constructor(opts) {
|
|
382
|
+
super({
|
|
383
|
+
name: "ServiceQuotaExceededException",
|
|
384
|
+
$fault: "client",
|
|
385
|
+
...opts
|
|
386
|
+
});
|
|
387
|
+
this.name = "ServiceQuotaExceededException";
|
|
388
|
+
this.$fault = "client";
|
|
389
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
390
|
+
this.Message = opts.Message;
|
|
391
|
+
this.ResourceId = opts.ResourceId;
|
|
392
|
+
this.ResourceType = opts.ResourceType;
|
|
393
|
+
this.QuotaCode = opts.QuotaCode;
|
|
394
|
+
this.ServiceCode = opts.ServiceCode;
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
398
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
399
|
+
var DayOfWeek = {
|
|
400
|
+
FRI: "FRI",
|
|
401
|
+
MON: "MON",
|
|
402
|
+
SAT: "SAT",
|
|
403
|
+
SUN: "SUN",
|
|
404
|
+
THU: "THU",
|
|
405
|
+
TUE: "TUE",
|
|
406
|
+
WED: "WED"
|
|
407
|
+
};
|
|
408
|
+
var ReceiptType = {
|
|
409
|
+
DELIVERED: "DELIVERED",
|
|
410
|
+
ERROR: "ERROR",
|
|
411
|
+
READ: "READ",
|
|
412
|
+
SENT: "SENT",
|
|
413
|
+
STOP: "STOP"
|
|
414
|
+
};
|
|
415
|
+
var ShiftType = {
|
|
416
|
+
OVERRIDDEN: "OVERRIDDEN",
|
|
417
|
+
REGULAR: "REGULAR"
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
// src/protocols/Aws_json1_1.ts
|
|
421
|
+
var se_AcceptPageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
422
|
+
const headers = sharedHeaders("AcceptPage");
|
|
423
|
+
let body;
|
|
424
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
425
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
426
|
+
}, "se_AcceptPageCommand");
|
|
427
|
+
var se_ActivateContactChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
428
|
+
const headers = sharedHeaders("ActivateContactChannel");
|
|
429
|
+
let body;
|
|
430
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
431
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
432
|
+
}, "se_ActivateContactChannelCommand");
|
|
433
|
+
var se_CreateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
434
|
+
const headers = sharedHeaders("CreateContact");
|
|
435
|
+
let body;
|
|
436
|
+
body = JSON.stringify(se_CreateContactRequest(input, context));
|
|
437
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
438
|
+
}, "se_CreateContactCommand");
|
|
439
|
+
var se_CreateContactChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
440
|
+
const headers = sharedHeaders("CreateContactChannel");
|
|
441
|
+
let body;
|
|
442
|
+
body = JSON.stringify(se_CreateContactChannelRequest(input, context));
|
|
443
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
444
|
+
}, "se_CreateContactChannelCommand");
|
|
445
|
+
var se_CreateRotationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
446
|
+
const headers = sharedHeaders("CreateRotation");
|
|
447
|
+
let body;
|
|
448
|
+
body = JSON.stringify(se_CreateRotationRequest(input, context));
|
|
449
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
450
|
+
}, "se_CreateRotationCommand");
|
|
451
|
+
var se_CreateRotationOverrideCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
452
|
+
const headers = sharedHeaders("CreateRotationOverride");
|
|
453
|
+
let body;
|
|
454
|
+
body = JSON.stringify(se_CreateRotationOverrideRequest(input, context));
|
|
455
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
456
|
+
}, "se_CreateRotationOverrideCommand");
|
|
457
|
+
var se_DeactivateContactChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
458
|
+
const headers = sharedHeaders("DeactivateContactChannel");
|
|
459
|
+
let body;
|
|
460
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
461
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
462
|
+
}, "se_DeactivateContactChannelCommand");
|
|
463
|
+
var se_DeleteContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
464
|
+
const headers = sharedHeaders("DeleteContact");
|
|
465
|
+
let body;
|
|
466
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
467
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
468
|
+
}, "se_DeleteContactCommand");
|
|
469
|
+
var se_DeleteContactChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
470
|
+
const headers = sharedHeaders("DeleteContactChannel");
|
|
471
|
+
let body;
|
|
472
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
473
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
474
|
+
}, "se_DeleteContactChannelCommand");
|
|
475
|
+
var se_DeleteRotationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
476
|
+
const headers = sharedHeaders("DeleteRotation");
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
479
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
480
|
+
}, "se_DeleteRotationCommand");
|
|
481
|
+
var se_DeleteRotationOverrideCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
482
|
+
const headers = sharedHeaders("DeleteRotationOverride");
|
|
483
|
+
let body;
|
|
484
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
485
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
486
|
+
}, "se_DeleteRotationOverrideCommand");
|
|
487
|
+
var se_DescribeEngagementCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
488
|
+
const headers = sharedHeaders("DescribeEngagement");
|
|
489
|
+
let body;
|
|
490
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
491
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
492
|
+
}, "se_DescribeEngagementCommand");
|
|
493
|
+
var se_DescribePageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
494
|
+
const headers = sharedHeaders("DescribePage");
|
|
495
|
+
let body;
|
|
496
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
497
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
498
|
+
}, "se_DescribePageCommand");
|
|
499
|
+
var se_GetContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
500
|
+
const headers = sharedHeaders("GetContact");
|
|
501
|
+
let body;
|
|
502
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
503
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
504
|
+
}, "se_GetContactCommand");
|
|
505
|
+
var se_GetContactChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
506
|
+
const headers = sharedHeaders("GetContactChannel");
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
509
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
510
|
+
}, "se_GetContactChannelCommand");
|
|
511
|
+
var se_GetContactPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("GetContactPolicy");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
516
|
+
}, "se_GetContactPolicyCommand");
|
|
517
|
+
var se_GetRotationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
518
|
+
const headers = sharedHeaders("GetRotation");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
521
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
522
|
+
}, "se_GetRotationCommand");
|
|
523
|
+
var se_GetRotationOverrideCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
524
|
+
const headers = sharedHeaders("GetRotationOverride");
|
|
525
|
+
let body;
|
|
526
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
527
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
528
|
+
}, "se_GetRotationOverrideCommand");
|
|
529
|
+
var se_ListContactChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
+
const headers = sharedHeaders("ListContactChannels");
|
|
531
|
+
let body;
|
|
532
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
533
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
534
|
+
}, "se_ListContactChannelsCommand");
|
|
535
|
+
var se_ListContactsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
536
|
+
const headers = sharedHeaders("ListContacts");
|
|
537
|
+
let body;
|
|
538
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
539
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
540
|
+
}, "se_ListContactsCommand");
|
|
541
|
+
var se_ListEngagementsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
542
|
+
const headers = sharedHeaders("ListEngagements");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify(se_ListEngagementsRequest(input, context));
|
|
545
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
546
|
+
}, "se_ListEngagementsCommand");
|
|
547
|
+
var se_ListPageReceiptsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
548
|
+
const headers = sharedHeaders("ListPageReceipts");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
551
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
552
|
+
}, "se_ListPageReceiptsCommand");
|
|
553
|
+
var se_ListPageResolutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const headers = sharedHeaders("ListPageResolutions");
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
557
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
558
|
+
}, "se_ListPageResolutionsCommand");
|
|
559
|
+
var se_ListPagesByContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
560
|
+
const headers = sharedHeaders("ListPagesByContact");
|
|
561
|
+
let body;
|
|
562
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
563
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
564
|
+
}, "se_ListPagesByContactCommand");
|
|
565
|
+
var se_ListPagesByEngagementCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
566
|
+
const headers = sharedHeaders("ListPagesByEngagement");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
569
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
570
|
+
}, "se_ListPagesByEngagementCommand");
|
|
571
|
+
var se_ListPreviewRotationShiftsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
572
|
+
const headers = sharedHeaders("ListPreviewRotationShifts");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify(se_ListPreviewRotationShiftsRequest(input, context));
|
|
575
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
576
|
+
}, "se_ListPreviewRotationShiftsCommand");
|
|
577
|
+
var se_ListRotationOverridesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
+
const headers = sharedHeaders("ListRotationOverrides");
|
|
579
|
+
let body;
|
|
580
|
+
body = JSON.stringify(se_ListRotationOverridesRequest(input, context));
|
|
581
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
582
|
+
}, "se_ListRotationOverridesCommand");
|
|
583
|
+
var se_ListRotationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
|
+
const headers = sharedHeaders("ListRotations");
|
|
585
|
+
let body;
|
|
586
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
587
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
588
|
+
}, "se_ListRotationsCommand");
|
|
589
|
+
var se_ListRotationShiftsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
590
|
+
const headers = sharedHeaders("ListRotationShifts");
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify(se_ListRotationShiftsRequest(input, context));
|
|
593
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
594
|
+
}, "se_ListRotationShiftsCommand");
|
|
595
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
596
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
597
|
+
let body;
|
|
598
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
599
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
600
|
+
}, "se_ListTagsForResourceCommand");
|
|
601
|
+
var se_PutContactPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
602
|
+
const headers = sharedHeaders("PutContactPolicy");
|
|
603
|
+
let body;
|
|
604
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
605
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
606
|
+
}, "se_PutContactPolicyCommand");
|
|
607
|
+
var se_SendActivationCodeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
608
|
+
const headers = sharedHeaders("SendActivationCode");
|
|
609
|
+
let body;
|
|
610
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
611
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
612
|
+
}, "se_SendActivationCodeCommand");
|
|
613
|
+
var se_StartEngagementCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
614
|
+
const headers = sharedHeaders("StartEngagement");
|
|
615
|
+
let body;
|
|
616
|
+
body = JSON.stringify(se_StartEngagementRequest(input, context));
|
|
617
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
618
|
+
}, "se_StartEngagementCommand");
|
|
619
|
+
var se_StopEngagementCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
620
|
+
const headers = sharedHeaders("StopEngagement");
|
|
621
|
+
let body;
|
|
622
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
623
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
624
|
+
}, "se_StopEngagementCommand");
|
|
625
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
626
|
+
const headers = sharedHeaders("TagResource");
|
|
627
|
+
let body;
|
|
628
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
629
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
630
|
+
}, "se_TagResourceCommand");
|
|
631
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
632
|
+
const headers = sharedHeaders("UntagResource");
|
|
633
|
+
let body;
|
|
634
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
635
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
636
|
+
}, "se_UntagResourceCommand");
|
|
637
|
+
var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
638
|
+
const headers = sharedHeaders("UpdateContact");
|
|
639
|
+
let body;
|
|
640
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
641
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
642
|
+
}, "se_UpdateContactCommand");
|
|
643
|
+
var se_UpdateContactChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
644
|
+
const headers = sharedHeaders("UpdateContactChannel");
|
|
645
|
+
let body;
|
|
646
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
647
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
648
|
+
}, "se_UpdateContactChannelCommand");
|
|
649
|
+
var se_UpdateRotationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
650
|
+
const headers = sharedHeaders("UpdateRotation");
|
|
651
|
+
let body;
|
|
652
|
+
body = JSON.stringify(se_UpdateRotationRequest(input, context));
|
|
653
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
654
|
+
}, "se_UpdateRotationCommand");
|
|
655
|
+
var de_AcceptPageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
656
|
+
if (output.statusCode >= 300) {
|
|
657
|
+
return de_AcceptPageCommandError(output, context);
|
|
658
|
+
}
|
|
659
|
+
const data = await parseBody(output.body, context);
|
|
660
|
+
let contents = {};
|
|
661
|
+
contents = (0, import_smithy_client._json)(data);
|
|
662
|
+
const response = {
|
|
663
|
+
$metadata: deserializeMetadata(output),
|
|
664
|
+
...contents
|
|
665
|
+
};
|
|
666
|
+
return response;
|
|
667
|
+
}, "de_AcceptPageCommand");
|
|
668
|
+
var de_AcceptPageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
669
|
+
const parsedOutput = {
|
|
670
|
+
...output,
|
|
671
|
+
body: await parseErrorBody(output.body, context)
|
|
672
|
+
};
|
|
673
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
674
|
+
switch (errorCode) {
|
|
675
|
+
case "AccessDeniedException":
|
|
676
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
677
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
678
|
+
case "InternalServerException":
|
|
679
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
680
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
681
|
+
case "ResourceNotFoundException":
|
|
682
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
683
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
684
|
+
case "ThrottlingException":
|
|
685
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
686
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
687
|
+
case "ValidationException":
|
|
688
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
689
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
690
|
+
default:
|
|
691
|
+
const parsedBody = parsedOutput.body;
|
|
692
|
+
return throwDefaultError({
|
|
693
|
+
output,
|
|
694
|
+
parsedBody,
|
|
695
|
+
errorCode
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
}, "de_AcceptPageCommandError");
|
|
699
|
+
var de_ActivateContactChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
700
|
+
if (output.statusCode >= 300) {
|
|
701
|
+
return de_ActivateContactChannelCommandError(output, context);
|
|
702
|
+
}
|
|
703
|
+
const data = await parseBody(output.body, context);
|
|
704
|
+
let contents = {};
|
|
705
|
+
contents = (0, import_smithy_client._json)(data);
|
|
706
|
+
const response = {
|
|
707
|
+
$metadata: deserializeMetadata(output),
|
|
708
|
+
...contents
|
|
709
|
+
};
|
|
710
|
+
return response;
|
|
711
|
+
}, "de_ActivateContactChannelCommand");
|
|
712
|
+
var de_ActivateContactChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
713
|
+
const parsedOutput = {
|
|
714
|
+
...output,
|
|
715
|
+
body: await parseErrorBody(output.body, context)
|
|
716
|
+
};
|
|
717
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
718
|
+
switch (errorCode) {
|
|
719
|
+
case "AccessDeniedException":
|
|
720
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
721
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
722
|
+
case "InternalServerException":
|
|
723
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
724
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
725
|
+
case "ResourceNotFoundException":
|
|
726
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
727
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
728
|
+
case "ThrottlingException":
|
|
729
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
730
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
731
|
+
case "ValidationException":
|
|
732
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
733
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
734
|
+
default:
|
|
735
|
+
const parsedBody = parsedOutput.body;
|
|
736
|
+
return throwDefaultError({
|
|
737
|
+
output,
|
|
738
|
+
parsedBody,
|
|
739
|
+
errorCode
|
|
740
|
+
});
|
|
741
|
+
}
|
|
742
|
+
}, "de_ActivateContactChannelCommandError");
|
|
743
|
+
var de_CreateContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
744
|
+
if (output.statusCode >= 300) {
|
|
745
|
+
return de_CreateContactCommandError(output, context);
|
|
746
|
+
}
|
|
747
|
+
const data = await parseBody(output.body, context);
|
|
748
|
+
let contents = {};
|
|
749
|
+
contents = (0, import_smithy_client._json)(data);
|
|
750
|
+
const response = {
|
|
751
|
+
$metadata: deserializeMetadata(output),
|
|
752
|
+
...contents
|
|
753
|
+
};
|
|
754
|
+
return response;
|
|
755
|
+
}, "de_CreateContactCommand");
|
|
756
|
+
var de_CreateContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
757
|
+
const parsedOutput = {
|
|
758
|
+
...output,
|
|
759
|
+
body: await parseErrorBody(output.body, context)
|
|
760
|
+
};
|
|
761
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
762
|
+
switch (errorCode) {
|
|
763
|
+
case "AccessDeniedException":
|
|
764
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
765
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
766
|
+
case "ConflictException":
|
|
767
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
768
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
769
|
+
case "DataEncryptionException":
|
|
770
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
771
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
772
|
+
case "InternalServerException":
|
|
773
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
774
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
775
|
+
case "ServiceQuotaExceededException":
|
|
776
|
+
case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
|
|
777
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
778
|
+
case "ThrottlingException":
|
|
779
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
780
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
781
|
+
case "ValidationException":
|
|
782
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
783
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
784
|
+
default:
|
|
785
|
+
const parsedBody = parsedOutput.body;
|
|
786
|
+
return throwDefaultError({
|
|
787
|
+
output,
|
|
788
|
+
parsedBody,
|
|
789
|
+
errorCode
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
}, "de_CreateContactCommandError");
|
|
793
|
+
var de_CreateContactChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
794
|
+
if (output.statusCode >= 300) {
|
|
795
|
+
return de_CreateContactChannelCommandError(output, context);
|
|
796
|
+
}
|
|
797
|
+
const data = await parseBody(output.body, context);
|
|
798
|
+
let contents = {};
|
|
799
|
+
contents = (0, import_smithy_client._json)(data);
|
|
800
|
+
const response = {
|
|
801
|
+
$metadata: deserializeMetadata(output),
|
|
802
|
+
...contents
|
|
803
|
+
};
|
|
804
|
+
return response;
|
|
805
|
+
}, "de_CreateContactChannelCommand");
|
|
806
|
+
var de_CreateContactChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
807
|
+
const parsedOutput = {
|
|
808
|
+
...output,
|
|
809
|
+
body: await parseErrorBody(output.body, context)
|
|
810
|
+
};
|
|
811
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
812
|
+
switch (errorCode) {
|
|
813
|
+
case "AccessDeniedException":
|
|
814
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
815
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
816
|
+
case "ConflictException":
|
|
817
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
818
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
819
|
+
case "DataEncryptionException":
|
|
820
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
821
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
822
|
+
case "InternalServerException":
|
|
823
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
824
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
825
|
+
case "ThrottlingException":
|
|
826
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
827
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
828
|
+
case "ValidationException":
|
|
829
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
830
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
831
|
+
default:
|
|
832
|
+
const parsedBody = parsedOutput.body;
|
|
833
|
+
return throwDefaultError({
|
|
834
|
+
output,
|
|
835
|
+
parsedBody,
|
|
836
|
+
errorCode
|
|
837
|
+
});
|
|
838
|
+
}
|
|
839
|
+
}, "de_CreateContactChannelCommandError");
|
|
840
|
+
var de_CreateRotationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
841
|
+
if (output.statusCode >= 300) {
|
|
842
|
+
return de_CreateRotationCommandError(output, context);
|
|
843
|
+
}
|
|
844
|
+
const data = await parseBody(output.body, context);
|
|
845
|
+
let contents = {};
|
|
846
|
+
contents = (0, import_smithy_client._json)(data);
|
|
847
|
+
const response = {
|
|
848
|
+
$metadata: deserializeMetadata(output),
|
|
849
|
+
...contents
|
|
850
|
+
};
|
|
851
|
+
return response;
|
|
852
|
+
}, "de_CreateRotationCommand");
|
|
853
|
+
var de_CreateRotationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
854
|
+
const parsedOutput = {
|
|
855
|
+
...output,
|
|
856
|
+
body: await parseErrorBody(output.body, context)
|
|
857
|
+
};
|
|
858
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
859
|
+
switch (errorCode) {
|
|
860
|
+
case "AccessDeniedException":
|
|
861
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
862
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
863
|
+
case "InternalServerException":
|
|
864
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
865
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
866
|
+
case "ResourceNotFoundException":
|
|
867
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
868
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
869
|
+
case "ServiceQuotaExceededException":
|
|
870
|
+
case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
|
|
871
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
872
|
+
case "ThrottlingException":
|
|
873
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
874
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
875
|
+
case "ValidationException":
|
|
876
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
877
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
878
|
+
default:
|
|
879
|
+
const parsedBody = parsedOutput.body;
|
|
880
|
+
return throwDefaultError({
|
|
881
|
+
output,
|
|
882
|
+
parsedBody,
|
|
883
|
+
errorCode
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
}, "de_CreateRotationCommandError");
|
|
887
|
+
var de_CreateRotationOverrideCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
888
|
+
if (output.statusCode >= 300) {
|
|
889
|
+
return de_CreateRotationOverrideCommandError(output, context);
|
|
890
|
+
}
|
|
891
|
+
const data = await parseBody(output.body, context);
|
|
892
|
+
let contents = {};
|
|
893
|
+
contents = (0, import_smithy_client._json)(data);
|
|
894
|
+
const response = {
|
|
895
|
+
$metadata: deserializeMetadata(output),
|
|
896
|
+
...contents
|
|
897
|
+
};
|
|
898
|
+
return response;
|
|
899
|
+
}, "de_CreateRotationOverrideCommand");
|
|
900
|
+
var de_CreateRotationOverrideCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
901
|
+
const parsedOutput = {
|
|
902
|
+
...output,
|
|
903
|
+
body: await parseErrorBody(output.body, context)
|
|
904
|
+
};
|
|
905
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
906
|
+
switch (errorCode) {
|
|
907
|
+
case "AccessDeniedException":
|
|
908
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
909
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
910
|
+
case "InternalServerException":
|
|
911
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
912
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
913
|
+
case "ResourceNotFoundException":
|
|
914
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
915
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
916
|
+
case "ServiceQuotaExceededException":
|
|
917
|
+
case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
|
|
918
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
919
|
+
case "ThrottlingException":
|
|
920
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
921
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
922
|
+
case "ValidationException":
|
|
923
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
924
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
925
|
+
default:
|
|
926
|
+
const parsedBody = parsedOutput.body;
|
|
927
|
+
return throwDefaultError({
|
|
928
|
+
output,
|
|
929
|
+
parsedBody,
|
|
930
|
+
errorCode
|
|
931
|
+
});
|
|
932
|
+
}
|
|
933
|
+
}, "de_CreateRotationOverrideCommandError");
|
|
934
|
+
var de_DeactivateContactChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
935
|
+
if (output.statusCode >= 300) {
|
|
936
|
+
return de_DeactivateContactChannelCommandError(output, context);
|
|
937
|
+
}
|
|
938
|
+
const data = await parseBody(output.body, context);
|
|
939
|
+
let contents = {};
|
|
940
|
+
contents = (0, import_smithy_client._json)(data);
|
|
941
|
+
const response = {
|
|
942
|
+
$metadata: deserializeMetadata(output),
|
|
943
|
+
...contents
|
|
944
|
+
};
|
|
945
|
+
return response;
|
|
946
|
+
}, "de_DeactivateContactChannelCommand");
|
|
947
|
+
var de_DeactivateContactChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
948
|
+
const parsedOutput = {
|
|
949
|
+
...output,
|
|
950
|
+
body: await parseErrorBody(output.body, context)
|
|
951
|
+
};
|
|
952
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
953
|
+
switch (errorCode) {
|
|
954
|
+
case "AccessDeniedException":
|
|
955
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
956
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
957
|
+
case "InternalServerException":
|
|
958
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
959
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
960
|
+
case "ResourceNotFoundException":
|
|
961
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
962
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
963
|
+
case "ThrottlingException":
|
|
964
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
965
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
966
|
+
case "ValidationException":
|
|
967
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
968
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
969
|
+
default:
|
|
970
|
+
const parsedBody = parsedOutput.body;
|
|
971
|
+
return throwDefaultError({
|
|
972
|
+
output,
|
|
973
|
+
parsedBody,
|
|
974
|
+
errorCode
|
|
975
|
+
});
|
|
976
|
+
}
|
|
977
|
+
}, "de_DeactivateContactChannelCommandError");
|
|
978
|
+
var de_DeleteContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
979
|
+
if (output.statusCode >= 300) {
|
|
980
|
+
return de_DeleteContactCommandError(output, context);
|
|
981
|
+
}
|
|
982
|
+
const data = await parseBody(output.body, context);
|
|
983
|
+
let contents = {};
|
|
984
|
+
contents = (0, import_smithy_client._json)(data);
|
|
985
|
+
const response = {
|
|
986
|
+
$metadata: deserializeMetadata(output),
|
|
987
|
+
...contents
|
|
988
|
+
};
|
|
989
|
+
return response;
|
|
990
|
+
}, "de_DeleteContactCommand");
|
|
991
|
+
var de_DeleteContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
|
+
const parsedOutput = {
|
|
993
|
+
...output,
|
|
994
|
+
body: await parseErrorBody(output.body, context)
|
|
995
|
+
};
|
|
996
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
997
|
+
switch (errorCode) {
|
|
998
|
+
case "AccessDeniedException":
|
|
999
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1000
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1001
|
+
case "ConflictException":
|
|
1002
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
1003
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1004
|
+
case "InternalServerException":
|
|
1005
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1006
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1007
|
+
case "ResourceNotFoundException":
|
|
1008
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1009
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1010
|
+
case "ThrottlingException":
|
|
1011
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1012
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1013
|
+
case "ValidationException":
|
|
1014
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1015
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1016
|
+
default:
|
|
1017
|
+
const parsedBody = parsedOutput.body;
|
|
1018
|
+
return throwDefaultError({
|
|
1019
|
+
output,
|
|
1020
|
+
parsedBody,
|
|
1021
|
+
errorCode
|
|
1022
|
+
});
|
|
1023
|
+
}
|
|
1024
|
+
}, "de_DeleteContactCommandError");
|
|
1025
|
+
var de_DeleteContactChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1026
|
+
if (output.statusCode >= 300) {
|
|
1027
|
+
return de_DeleteContactChannelCommandError(output, context);
|
|
1028
|
+
}
|
|
1029
|
+
const data = await parseBody(output.body, context);
|
|
1030
|
+
let contents = {};
|
|
1031
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1032
|
+
const response = {
|
|
1033
|
+
$metadata: deserializeMetadata(output),
|
|
1034
|
+
...contents
|
|
1035
|
+
};
|
|
1036
|
+
return response;
|
|
1037
|
+
}, "de_DeleteContactChannelCommand");
|
|
1038
|
+
var de_DeleteContactChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1039
|
+
const parsedOutput = {
|
|
1040
|
+
...output,
|
|
1041
|
+
body: await parseErrorBody(output.body, context)
|
|
1042
|
+
};
|
|
1043
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1044
|
+
switch (errorCode) {
|
|
1045
|
+
case "AccessDeniedException":
|
|
1046
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1047
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1048
|
+
case "InternalServerException":
|
|
1049
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1050
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1051
|
+
case "ResourceNotFoundException":
|
|
1052
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1053
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1054
|
+
case "ThrottlingException":
|
|
1055
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1056
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1057
|
+
case "ValidationException":
|
|
1058
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1059
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1060
|
+
default:
|
|
1061
|
+
const parsedBody = parsedOutput.body;
|
|
1062
|
+
return throwDefaultError({
|
|
1063
|
+
output,
|
|
1064
|
+
parsedBody,
|
|
1065
|
+
errorCode
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
}, "de_DeleteContactChannelCommandError");
|
|
1069
|
+
var de_DeleteRotationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1070
|
+
if (output.statusCode >= 300) {
|
|
1071
|
+
return de_DeleteRotationCommandError(output, context);
|
|
1072
|
+
}
|
|
1073
|
+
const data = await parseBody(output.body, context);
|
|
1074
|
+
let contents = {};
|
|
1075
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1076
|
+
const response = {
|
|
1077
|
+
$metadata: deserializeMetadata(output),
|
|
1078
|
+
...contents
|
|
1079
|
+
};
|
|
1080
|
+
return response;
|
|
1081
|
+
}, "de_DeleteRotationCommand");
|
|
1082
|
+
var de_DeleteRotationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1083
|
+
const parsedOutput = {
|
|
1084
|
+
...output,
|
|
1085
|
+
body: await parseErrorBody(output.body, context)
|
|
1086
|
+
};
|
|
1087
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1088
|
+
switch (errorCode) {
|
|
1089
|
+
case "AccessDeniedException":
|
|
1090
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1091
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1092
|
+
case "ConflictException":
|
|
1093
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
1094
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1095
|
+
case "InternalServerException":
|
|
1096
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1097
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1098
|
+
case "ResourceNotFoundException":
|
|
1099
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1100
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1101
|
+
case "ThrottlingException":
|
|
1102
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1103
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1104
|
+
case "ValidationException":
|
|
1105
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1106
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1107
|
+
default:
|
|
1108
|
+
const parsedBody = parsedOutput.body;
|
|
1109
|
+
return throwDefaultError({
|
|
1110
|
+
output,
|
|
1111
|
+
parsedBody,
|
|
1112
|
+
errorCode
|
|
1113
|
+
});
|
|
1114
|
+
}
|
|
1115
|
+
}, "de_DeleteRotationCommandError");
|
|
1116
|
+
var de_DeleteRotationOverrideCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1117
|
+
if (output.statusCode >= 300) {
|
|
1118
|
+
return de_DeleteRotationOverrideCommandError(output, context);
|
|
1119
|
+
}
|
|
1120
|
+
const data = await parseBody(output.body, context);
|
|
1121
|
+
let contents = {};
|
|
1122
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1123
|
+
const response = {
|
|
1124
|
+
$metadata: deserializeMetadata(output),
|
|
1125
|
+
...contents
|
|
1126
|
+
};
|
|
1127
|
+
return response;
|
|
1128
|
+
}, "de_DeleteRotationOverrideCommand");
|
|
1129
|
+
var de_DeleteRotationOverrideCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1130
|
+
const parsedOutput = {
|
|
1131
|
+
...output,
|
|
1132
|
+
body: await parseErrorBody(output.body, context)
|
|
1133
|
+
};
|
|
1134
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1135
|
+
switch (errorCode) {
|
|
1136
|
+
case "AccessDeniedException":
|
|
1137
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1138
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1139
|
+
case "InternalServerException":
|
|
1140
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1141
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1142
|
+
case "ResourceNotFoundException":
|
|
1143
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1144
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1145
|
+
case "ThrottlingException":
|
|
1146
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1147
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1148
|
+
case "ValidationException":
|
|
1149
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1150
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1151
|
+
default:
|
|
1152
|
+
const parsedBody = parsedOutput.body;
|
|
1153
|
+
return throwDefaultError({
|
|
1154
|
+
output,
|
|
1155
|
+
parsedBody,
|
|
1156
|
+
errorCode
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
}, "de_DeleteRotationOverrideCommandError");
|
|
1160
|
+
var de_DescribeEngagementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1161
|
+
if (output.statusCode >= 300) {
|
|
1162
|
+
return de_DescribeEngagementCommandError(output, context);
|
|
1163
|
+
}
|
|
1164
|
+
const data = await parseBody(output.body, context);
|
|
1165
|
+
let contents = {};
|
|
1166
|
+
contents = de_DescribeEngagementResult(data, context);
|
|
1167
|
+
const response = {
|
|
1168
|
+
$metadata: deserializeMetadata(output),
|
|
1169
|
+
...contents
|
|
1170
|
+
};
|
|
1171
|
+
return response;
|
|
1172
|
+
}, "de_DescribeEngagementCommand");
|
|
1173
|
+
var de_DescribeEngagementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
+
const parsedOutput = {
|
|
1175
|
+
...output,
|
|
1176
|
+
body: await parseErrorBody(output.body, context)
|
|
1177
|
+
};
|
|
1178
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1179
|
+
switch (errorCode) {
|
|
1180
|
+
case "AccessDeniedException":
|
|
1181
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1182
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1183
|
+
case "DataEncryptionException":
|
|
1184
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
1185
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
1186
|
+
case "InternalServerException":
|
|
1187
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1188
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1189
|
+
case "ResourceNotFoundException":
|
|
1190
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1191
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1192
|
+
case "ThrottlingException":
|
|
1193
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1194
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1195
|
+
case "ValidationException":
|
|
1196
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1197
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1198
|
+
default:
|
|
1199
|
+
const parsedBody = parsedOutput.body;
|
|
1200
|
+
return throwDefaultError({
|
|
1201
|
+
output,
|
|
1202
|
+
parsedBody,
|
|
1203
|
+
errorCode
|
|
1204
|
+
});
|
|
1205
|
+
}
|
|
1206
|
+
}, "de_DescribeEngagementCommandError");
|
|
1207
|
+
var de_DescribePageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1208
|
+
if (output.statusCode >= 300) {
|
|
1209
|
+
return de_DescribePageCommandError(output, context);
|
|
1210
|
+
}
|
|
1211
|
+
const data = await parseBody(output.body, context);
|
|
1212
|
+
let contents = {};
|
|
1213
|
+
contents = de_DescribePageResult(data, context);
|
|
1214
|
+
const response = {
|
|
1215
|
+
$metadata: deserializeMetadata(output),
|
|
1216
|
+
...contents
|
|
1217
|
+
};
|
|
1218
|
+
return response;
|
|
1219
|
+
}, "de_DescribePageCommand");
|
|
1220
|
+
var de_DescribePageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1221
|
+
const parsedOutput = {
|
|
1222
|
+
...output,
|
|
1223
|
+
body: await parseErrorBody(output.body, context)
|
|
1224
|
+
};
|
|
1225
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1226
|
+
switch (errorCode) {
|
|
1227
|
+
case "AccessDeniedException":
|
|
1228
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1229
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1230
|
+
case "DataEncryptionException":
|
|
1231
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
1232
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
1233
|
+
case "InternalServerException":
|
|
1234
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1235
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1236
|
+
case "ResourceNotFoundException":
|
|
1237
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1238
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1239
|
+
case "ThrottlingException":
|
|
1240
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1241
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1242
|
+
case "ValidationException":
|
|
1243
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1244
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1245
|
+
default:
|
|
1246
|
+
const parsedBody = parsedOutput.body;
|
|
1247
|
+
return throwDefaultError({
|
|
1248
|
+
output,
|
|
1249
|
+
parsedBody,
|
|
1250
|
+
errorCode
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
}, "de_DescribePageCommandError");
|
|
1254
|
+
var de_GetContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1255
|
+
if (output.statusCode >= 300) {
|
|
1256
|
+
return de_GetContactCommandError(output, context);
|
|
1257
|
+
}
|
|
1258
|
+
const data = await parseBody(output.body, context);
|
|
1259
|
+
let contents = {};
|
|
1260
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1261
|
+
const response = {
|
|
1262
|
+
$metadata: deserializeMetadata(output),
|
|
1263
|
+
...contents
|
|
1264
|
+
};
|
|
1265
|
+
return response;
|
|
1266
|
+
}, "de_GetContactCommand");
|
|
1267
|
+
var de_GetContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1268
|
+
const parsedOutput = {
|
|
1269
|
+
...output,
|
|
1270
|
+
body: await parseErrorBody(output.body, context)
|
|
1271
|
+
};
|
|
1272
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1273
|
+
switch (errorCode) {
|
|
1274
|
+
case "AccessDeniedException":
|
|
1275
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1276
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1277
|
+
case "DataEncryptionException":
|
|
1278
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
1279
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
1280
|
+
case "InternalServerException":
|
|
1281
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1282
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1283
|
+
case "ResourceNotFoundException":
|
|
1284
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1285
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1286
|
+
case "ThrottlingException":
|
|
1287
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1288
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1289
|
+
case "ValidationException":
|
|
1290
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1291
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1292
|
+
default:
|
|
1293
|
+
const parsedBody = parsedOutput.body;
|
|
1294
|
+
return throwDefaultError({
|
|
1295
|
+
output,
|
|
1296
|
+
parsedBody,
|
|
1297
|
+
errorCode
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
}, "de_GetContactCommandError");
|
|
1301
|
+
var de_GetContactChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1302
|
+
if (output.statusCode >= 300) {
|
|
1303
|
+
return de_GetContactChannelCommandError(output, context);
|
|
1304
|
+
}
|
|
1305
|
+
const data = await parseBody(output.body, context);
|
|
1306
|
+
let contents = {};
|
|
1307
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1308
|
+
const response = {
|
|
1309
|
+
$metadata: deserializeMetadata(output),
|
|
1310
|
+
...contents
|
|
1311
|
+
};
|
|
1312
|
+
return response;
|
|
1313
|
+
}, "de_GetContactChannelCommand");
|
|
1314
|
+
var de_GetContactChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1315
|
+
const parsedOutput = {
|
|
1316
|
+
...output,
|
|
1317
|
+
body: await parseErrorBody(output.body, context)
|
|
1318
|
+
};
|
|
1319
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1320
|
+
switch (errorCode) {
|
|
1321
|
+
case "AccessDeniedException":
|
|
1322
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1323
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1324
|
+
case "DataEncryptionException":
|
|
1325
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
1326
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
1327
|
+
case "InternalServerException":
|
|
1328
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1329
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1330
|
+
case "ResourceNotFoundException":
|
|
1331
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1332
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1333
|
+
case "ThrottlingException":
|
|
1334
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1335
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1336
|
+
case "ValidationException":
|
|
1337
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1338
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1339
|
+
default:
|
|
1340
|
+
const parsedBody = parsedOutput.body;
|
|
1341
|
+
return throwDefaultError({
|
|
1342
|
+
output,
|
|
1343
|
+
parsedBody,
|
|
1344
|
+
errorCode
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
}, "de_GetContactChannelCommandError");
|
|
1348
|
+
var de_GetContactPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1349
|
+
if (output.statusCode >= 300) {
|
|
1350
|
+
return de_GetContactPolicyCommandError(output, context);
|
|
1351
|
+
}
|
|
1352
|
+
const data = await parseBody(output.body, context);
|
|
1353
|
+
let contents = {};
|
|
1354
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1355
|
+
const response = {
|
|
1356
|
+
$metadata: deserializeMetadata(output),
|
|
1357
|
+
...contents
|
|
1358
|
+
};
|
|
1359
|
+
return response;
|
|
1360
|
+
}, "de_GetContactPolicyCommand");
|
|
1361
|
+
var de_GetContactPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1362
|
+
const parsedOutput = {
|
|
1363
|
+
...output,
|
|
1364
|
+
body: await parseErrorBody(output.body, context)
|
|
1365
|
+
};
|
|
1366
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1367
|
+
switch (errorCode) {
|
|
1368
|
+
case "AccessDeniedException":
|
|
1369
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1370
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1371
|
+
case "InternalServerException":
|
|
1372
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1373
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1374
|
+
case "ResourceNotFoundException":
|
|
1375
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1376
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1377
|
+
case "ThrottlingException":
|
|
1378
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1379
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1380
|
+
case "ValidationException":
|
|
1381
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1382
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1383
|
+
default:
|
|
1384
|
+
const parsedBody = parsedOutput.body;
|
|
1385
|
+
return throwDefaultError({
|
|
1386
|
+
output,
|
|
1387
|
+
parsedBody,
|
|
1388
|
+
errorCode
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
}, "de_GetContactPolicyCommandError");
|
|
1392
|
+
var de_GetRotationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1393
|
+
if (output.statusCode >= 300) {
|
|
1394
|
+
return de_GetRotationCommandError(output, context);
|
|
1395
|
+
}
|
|
1396
|
+
const data = await parseBody(output.body, context);
|
|
1397
|
+
let contents = {};
|
|
1398
|
+
contents = de_GetRotationResult(data, context);
|
|
1399
|
+
const response = {
|
|
1400
|
+
$metadata: deserializeMetadata(output),
|
|
1401
|
+
...contents
|
|
1402
|
+
};
|
|
1403
|
+
return response;
|
|
1404
|
+
}, "de_GetRotationCommand");
|
|
1405
|
+
var de_GetRotationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1406
|
+
const parsedOutput = {
|
|
1407
|
+
...output,
|
|
1408
|
+
body: await parseErrorBody(output.body, context)
|
|
1409
|
+
};
|
|
1410
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1411
|
+
switch (errorCode) {
|
|
1412
|
+
case "AccessDeniedException":
|
|
1413
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1414
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1415
|
+
case "InternalServerException":
|
|
1416
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1417
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1418
|
+
case "ResourceNotFoundException":
|
|
1419
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1420
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1421
|
+
case "ThrottlingException":
|
|
1422
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1423
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1424
|
+
case "ValidationException":
|
|
1425
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1426
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1427
|
+
default:
|
|
1428
|
+
const parsedBody = parsedOutput.body;
|
|
1429
|
+
return throwDefaultError({
|
|
1430
|
+
output,
|
|
1431
|
+
parsedBody,
|
|
1432
|
+
errorCode
|
|
1433
|
+
});
|
|
1434
|
+
}
|
|
1435
|
+
}, "de_GetRotationCommandError");
|
|
1436
|
+
var de_GetRotationOverrideCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1437
|
+
if (output.statusCode >= 300) {
|
|
1438
|
+
return de_GetRotationOverrideCommandError(output, context);
|
|
1439
|
+
}
|
|
1440
|
+
const data = await parseBody(output.body, context);
|
|
1441
|
+
let contents = {};
|
|
1442
|
+
contents = de_GetRotationOverrideResult(data, context);
|
|
1443
|
+
const response = {
|
|
1444
|
+
$metadata: deserializeMetadata(output),
|
|
1445
|
+
...contents
|
|
1446
|
+
};
|
|
1447
|
+
return response;
|
|
1448
|
+
}, "de_GetRotationOverrideCommand");
|
|
1449
|
+
var de_GetRotationOverrideCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1450
|
+
const parsedOutput = {
|
|
1451
|
+
...output,
|
|
1452
|
+
body: await parseErrorBody(output.body, context)
|
|
1453
|
+
};
|
|
1454
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1455
|
+
switch (errorCode) {
|
|
1456
|
+
case "AccessDeniedException":
|
|
1457
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1458
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1459
|
+
case "InternalServerException":
|
|
1460
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1461
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1462
|
+
case "ResourceNotFoundException":
|
|
1463
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1464
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1465
|
+
case "ThrottlingException":
|
|
1466
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1467
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1468
|
+
case "ValidationException":
|
|
1469
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1470
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1471
|
+
default:
|
|
1472
|
+
const parsedBody = parsedOutput.body;
|
|
1473
|
+
return throwDefaultError({
|
|
1474
|
+
output,
|
|
1475
|
+
parsedBody,
|
|
1476
|
+
errorCode
|
|
1477
|
+
});
|
|
1478
|
+
}
|
|
1479
|
+
}, "de_GetRotationOverrideCommandError");
|
|
1480
|
+
var de_ListContactChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1481
|
+
if (output.statusCode >= 300) {
|
|
1482
|
+
return de_ListContactChannelsCommandError(output, context);
|
|
1483
|
+
}
|
|
1484
|
+
const data = await parseBody(output.body, context);
|
|
1485
|
+
let contents = {};
|
|
1486
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1487
|
+
const response = {
|
|
1488
|
+
$metadata: deserializeMetadata(output),
|
|
1489
|
+
...contents
|
|
1490
|
+
};
|
|
1491
|
+
return response;
|
|
1492
|
+
}, "de_ListContactChannelsCommand");
|
|
1493
|
+
var de_ListContactChannelsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1494
|
+
const parsedOutput = {
|
|
1495
|
+
...output,
|
|
1496
|
+
body: await parseErrorBody(output.body, context)
|
|
1497
|
+
};
|
|
1498
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1499
|
+
switch (errorCode) {
|
|
1500
|
+
case "AccessDeniedException":
|
|
1501
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1502
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1503
|
+
case "DataEncryptionException":
|
|
1504
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
1505
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
1506
|
+
case "InternalServerException":
|
|
1507
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1508
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1509
|
+
case "ResourceNotFoundException":
|
|
1510
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1511
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1512
|
+
case "ThrottlingException":
|
|
1513
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1514
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1515
|
+
case "ValidationException":
|
|
1516
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1517
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1518
|
+
default:
|
|
1519
|
+
const parsedBody = parsedOutput.body;
|
|
1520
|
+
return throwDefaultError({
|
|
1521
|
+
output,
|
|
1522
|
+
parsedBody,
|
|
1523
|
+
errorCode
|
|
1524
|
+
});
|
|
1525
|
+
}
|
|
1526
|
+
}, "de_ListContactChannelsCommandError");
|
|
1527
|
+
var de_ListContactsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1528
|
+
if (output.statusCode >= 300) {
|
|
1529
|
+
return de_ListContactsCommandError(output, context);
|
|
1530
|
+
}
|
|
1531
|
+
const data = await parseBody(output.body, context);
|
|
1532
|
+
let contents = {};
|
|
1533
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1534
|
+
const response = {
|
|
1535
|
+
$metadata: deserializeMetadata(output),
|
|
1536
|
+
...contents
|
|
1537
|
+
};
|
|
1538
|
+
return response;
|
|
1539
|
+
}, "de_ListContactsCommand");
|
|
1540
|
+
var de_ListContactsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1541
|
+
const parsedOutput = {
|
|
1542
|
+
...output,
|
|
1543
|
+
body: await parseErrorBody(output.body, context)
|
|
1544
|
+
};
|
|
1545
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1546
|
+
switch (errorCode) {
|
|
1547
|
+
case "AccessDeniedException":
|
|
1548
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1549
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1550
|
+
case "InternalServerException":
|
|
1551
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1552
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1553
|
+
case "ThrottlingException":
|
|
1554
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1555
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1556
|
+
case "ValidationException":
|
|
1557
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1558
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1559
|
+
default:
|
|
1560
|
+
const parsedBody = parsedOutput.body;
|
|
1561
|
+
return throwDefaultError({
|
|
1562
|
+
output,
|
|
1563
|
+
parsedBody,
|
|
1564
|
+
errorCode
|
|
1565
|
+
});
|
|
1566
|
+
}
|
|
1567
|
+
}, "de_ListContactsCommandError");
|
|
1568
|
+
var de_ListEngagementsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1569
|
+
if (output.statusCode >= 300) {
|
|
1570
|
+
return de_ListEngagementsCommandError(output, context);
|
|
1571
|
+
}
|
|
1572
|
+
const data = await parseBody(output.body, context);
|
|
1573
|
+
let contents = {};
|
|
1574
|
+
contents = de_ListEngagementsResult(data, context);
|
|
1575
|
+
const response = {
|
|
1576
|
+
$metadata: deserializeMetadata(output),
|
|
1577
|
+
...contents
|
|
1578
|
+
};
|
|
1579
|
+
return response;
|
|
1580
|
+
}, "de_ListEngagementsCommand");
|
|
1581
|
+
var de_ListEngagementsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1582
|
+
const parsedOutput = {
|
|
1583
|
+
...output,
|
|
1584
|
+
body: await parseErrorBody(output.body, context)
|
|
1585
|
+
};
|
|
1586
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1587
|
+
switch (errorCode) {
|
|
1588
|
+
case "AccessDeniedException":
|
|
1589
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1590
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1591
|
+
case "InternalServerException":
|
|
1592
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1593
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1594
|
+
case "ThrottlingException":
|
|
1595
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1596
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1597
|
+
case "ValidationException":
|
|
1598
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1599
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1600
|
+
default:
|
|
1601
|
+
const parsedBody = parsedOutput.body;
|
|
1602
|
+
return throwDefaultError({
|
|
1603
|
+
output,
|
|
1604
|
+
parsedBody,
|
|
1605
|
+
errorCode
|
|
1606
|
+
});
|
|
1607
|
+
}
|
|
1608
|
+
}, "de_ListEngagementsCommandError");
|
|
1609
|
+
var de_ListPageReceiptsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1610
|
+
if (output.statusCode >= 300) {
|
|
1611
|
+
return de_ListPageReceiptsCommandError(output, context);
|
|
1612
|
+
}
|
|
1613
|
+
const data = await parseBody(output.body, context);
|
|
1614
|
+
let contents = {};
|
|
1615
|
+
contents = de_ListPageReceiptsResult(data, context);
|
|
1616
|
+
const response = {
|
|
1617
|
+
$metadata: deserializeMetadata(output),
|
|
1618
|
+
...contents
|
|
1619
|
+
};
|
|
1620
|
+
return response;
|
|
1621
|
+
}, "de_ListPageReceiptsCommand");
|
|
1622
|
+
var de_ListPageReceiptsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1623
|
+
const parsedOutput = {
|
|
1624
|
+
...output,
|
|
1625
|
+
body: await parseErrorBody(output.body, context)
|
|
1626
|
+
};
|
|
1627
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1628
|
+
switch (errorCode) {
|
|
1629
|
+
case "AccessDeniedException":
|
|
1630
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1631
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1632
|
+
case "InternalServerException":
|
|
1633
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1634
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1635
|
+
case "ResourceNotFoundException":
|
|
1636
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1637
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1638
|
+
case "ThrottlingException":
|
|
1639
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1640
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1641
|
+
case "ValidationException":
|
|
1642
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1643
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1644
|
+
default:
|
|
1645
|
+
const parsedBody = parsedOutput.body;
|
|
1646
|
+
return throwDefaultError({
|
|
1647
|
+
output,
|
|
1648
|
+
parsedBody,
|
|
1649
|
+
errorCode
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
}, "de_ListPageReceiptsCommandError");
|
|
1653
|
+
var de_ListPageResolutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1654
|
+
if (output.statusCode >= 300) {
|
|
1655
|
+
return de_ListPageResolutionsCommandError(output, context);
|
|
1656
|
+
}
|
|
1657
|
+
const data = await parseBody(output.body, context);
|
|
1658
|
+
let contents = {};
|
|
1659
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1660
|
+
const response = {
|
|
1661
|
+
$metadata: deserializeMetadata(output),
|
|
1662
|
+
...contents
|
|
1663
|
+
};
|
|
1664
|
+
return response;
|
|
1665
|
+
}, "de_ListPageResolutionsCommand");
|
|
1666
|
+
var de_ListPageResolutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1667
|
+
const parsedOutput = {
|
|
1668
|
+
...output,
|
|
1669
|
+
body: await parseErrorBody(output.body, context)
|
|
1670
|
+
};
|
|
1671
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1672
|
+
switch (errorCode) {
|
|
1673
|
+
case "AccessDeniedException":
|
|
1674
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1675
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1676
|
+
case "InternalServerException":
|
|
1677
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1678
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1679
|
+
case "ResourceNotFoundException":
|
|
1680
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1681
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1682
|
+
case "ThrottlingException":
|
|
1683
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1684
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1685
|
+
case "ValidationException":
|
|
1686
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1687
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1688
|
+
default:
|
|
1689
|
+
const parsedBody = parsedOutput.body;
|
|
1690
|
+
return throwDefaultError({
|
|
1691
|
+
output,
|
|
1692
|
+
parsedBody,
|
|
1693
|
+
errorCode
|
|
1694
|
+
});
|
|
1695
|
+
}
|
|
1696
|
+
}, "de_ListPageResolutionsCommandError");
|
|
1697
|
+
var de_ListPagesByContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1698
|
+
if (output.statusCode >= 300) {
|
|
1699
|
+
return de_ListPagesByContactCommandError(output, context);
|
|
1700
|
+
}
|
|
1701
|
+
const data = await parseBody(output.body, context);
|
|
1702
|
+
let contents = {};
|
|
1703
|
+
contents = de_ListPagesByContactResult(data, context);
|
|
1704
|
+
const response = {
|
|
1705
|
+
$metadata: deserializeMetadata(output),
|
|
1706
|
+
...contents
|
|
1707
|
+
};
|
|
1708
|
+
return response;
|
|
1709
|
+
}, "de_ListPagesByContactCommand");
|
|
1710
|
+
var de_ListPagesByContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1711
|
+
const parsedOutput = {
|
|
1712
|
+
...output,
|
|
1713
|
+
body: await parseErrorBody(output.body, context)
|
|
1714
|
+
};
|
|
1715
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1716
|
+
switch (errorCode) {
|
|
1717
|
+
case "AccessDeniedException":
|
|
1718
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1719
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1720
|
+
case "InternalServerException":
|
|
1721
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1722
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1723
|
+
case "ResourceNotFoundException":
|
|
1724
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1725
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1726
|
+
case "ThrottlingException":
|
|
1727
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1728
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1729
|
+
case "ValidationException":
|
|
1730
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1731
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1732
|
+
default:
|
|
1733
|
+
const parsedBody = parsedOutput.body;
|
|
1734
|
+
return throwDefaultError({
|
|
1735
|
+
output,
|
|
1736
|
+
parsedBody,
|
|
1737
|
+
errorCode
|
|
1738
|
+
});
|
|
1739
|
+
}
|
|
1740
|
+
}, "de_ListPagesByContactCommandError");
|
|
1741
|
+
var de_ListPagesByEngagementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1742
|
+
if (output.statusCode >= 300) {
|
|
1743
|
+
return de_ListPagesByEngagementCommandError(output, context);
|
|
1744
|
+
}
|
|
1745
|
+
const data = await parseBody(output.body, context);
|
|
1746
|
+
let contents = {};
|
|
1747
|
+
contents = de_ListPagesByEngagementResult(data, context);
|
|
1748
|
+
const response = {
|
|
1749
|
+
$metadata: deserializeMetadata(output),
|
|
1750
|
+
...contents
|
|
1751
|
+
};
|
|
1752
|
+
return response;
|
|
1753
|
+
}, "de_ListPagesByEngagementCommand");
|
|
1754
|
+
var de_ListPagesByEngagementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1755
|
+
const parsedOutput = {
|
|
1756
|
+
...output,
|
|
1757
|
+
body: await parseErrorBody(output.body, context)
|
|
1758
|
+
};
|
|
1759
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1760
|
+
switch (errorCode) {
|
|
1761
|
+
case "AccessDeniedException":
|
|
1762
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1763
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1764
|
+
case "InternalServerException":
|
|
1765
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1766
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1767
|
+
case "ResourceNotFoundException":
|
|
1768
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1769
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1770
|
+
case "ThrottlingException":
|
|
1771
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1772
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1773
|
+
case "ValidationException":
|
|
1774
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1775
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1776
|
+
default:
|
|
1777
|
+
const parsedBody = parsedOutput.body;
|
|
1778
|
+
return throwDefaultError({
|
|
1779
|
+
output,
|
|
1780
|
+
parsedBody,
|
|
1781
|
+
errorCode
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1784
|
+
}, "de_ListPagesByEngagementCommandError");
|
|
1785
|
+
var de_ListPreviewRotationShiftsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1786
|
+
if (output.statusCode >= 300) {
|
|
1787
|
+
return de_ListPreviewRotationShiftsCommandError(output, context);
|
|
1788
|
+
}
|
|
1789
|
+
const data = await parseBody(output.body, context);
|
|
1790
|
+
let contents = {};
|
|
1791
|
+
contents = de_ListPreviewRotationShiftsResult(data, context);
|
|
1792
|
+
const response = {
|
|
1793
|
+
$metadata: deserializeMetadata(output),
|
|
1794
|
+
...contents
|
|
1795
|
+
};
|
|
1796
|
+
return response;
|
|
1797
|
+
}, "de_ListPreviewRotationShiftsCommand");
|
|
1798
|
+
var de_ListPreviewRotationShiftsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1799
|
+
const parsedOutput = {
|
|
1800
|
+
...output,
|
|
1801
|
+
body: await parseErrorBody(output.body, context)
|
|
1802
|
+
};
|
|
1803
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1804
|
+
switch (errorCode) {
|
|
1805
|
+
case "AccessDeniedException":
|
|
1806
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1807
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1808
|
+
case "InternalServerException":
|
|
1809
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1810
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1811
|
+
case "ThrottlingException":
|
|
1812
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1813
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1814
|
+
case "ValidationException":
|
|
1815
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1816
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1817
|
+
default:
|
|
1818
|
+
const parsedBody = parsedOutput.body;
|
|
1819
|
+
return throwDefaultError({
|
|
1820
|
+
output,
|
|
1821
|
+
parsedBody,
|
|
1822
|
+
errorCode
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1825
|
+
}, "de_ListPreviewRotationShiftsCommandError");
|
|
1826
|
+
var de_ListRotationOverridesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1827
|
+
if (output.statusCode >= 300) {
|
|
1828
|
+
return de_ListRotationOverridesCommandError(output, context);
|
|
1829
|
+
}
|
|
1830
|
+
const data = await parseBody(output.body, context);
|
|
1831
|
+
let contents = {};
|
|
1832
|
+
contents = de_ListRotationOverridesResult(data, context);
|
|
1833
|
+
const response = {
|
|
1834
|
+
$metadata: deserializeMetadata(output),
|
|
1835
|
+
...contents
|
|
1836
|
+
};
|
|
1837
|
+
return response;
|
|
1838
|
+
}, "de_ListRotationOverridesCommand");
|
|
1839
|
+
var de_ListRotationOverridesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1840
|
+
const parsedOutput = {
|
|
1841
|
+
...output,
|
|
1842
|
+
body: await parseErrorBody(output.body, context)
|
|
1843
|
+
};
|
|
1844
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1845
|
+
switch (errorCode) {
|
|
1846
|
+
case "AccessDeniedException":
|
|
1847
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1848
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1849
|
+
case "InternalServerException":
|
|
1850
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1851
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1852
|
+
case "ResourceNotFoundException":
|
|
1853
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1854
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1855
|
+
case "ThrottlingException":
|
|
1856
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1857
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1858
|
+
case "ValidationException":
|
|
1859
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1860
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1861
|
+
default:
|
|
1862
|
+
const parsedBody = parsedOutput.body;
|
|
1863
|
+
return throwDefaultError({
|
|
1864
|
+
output,
|
|
1865
|
+
parsedBody,
|
|
1866
|
+
errorCode
|
|
1867
|
+
});
|
|
1868
|
+
}
|
|
1869
|
+
}, "de_ListRotationOverridesCommandError");
|
|
1870
|
+
var de_ListRotationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1871
|
+
if (output.statusCode >= 300) {
|
|
1872
|
+
return de_ListRotationsCommandError(output, context);
|
|
1873
|
+
}
|
|
1874
|
+
const data = await parseBody(output.body, context);
|
|
1875
|
+
let contents = {};
|
|
1876
|
+
contents = de_ListRotationsResult(data, context);
|
|
1877
|
+
const response = {
|
|
1878
|
+
$metadata: deserializeMetadata(output),
|
|
1879
|
+
...contents
|
|
1880
|
+
};
|
|
1881
|
+
return response;
|
|
1882
|
+
}, "de_ListRotationsCommand");
|
|
1883
|
+
var de_ListRotationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
|
+
const parsedOutput = {
|
|
1885
|
+
...output,
|
|
1886
|
+
body: await parseErrorBody(output.body, context)
|
|
1887
|
+
};
|
|
1888
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1889
|
+
switch (errorCode) {
|
|
1890
|
+
case "AccessDeniedException":
|
|
1891
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1892
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1893
|
+
case "InternalServerException":
|
|
1894
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1895
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1896
|
+
case "ResourceNotFoundException":
|
|
1897
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1898
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1899
|
+
case "ThrottlingException":
|
|
1900
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1901
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1902
|
+
case "ValidationException":
|
|
1903
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1904
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1905
|
+
default:
|
|
1906
|
+
const parsedBody = parsedOutput.body;
|
|
1907
|
+
return throwDefaultError({
|
|
1908
|
+
output,
|
|
1909
|
+
parsedBody,
|
|
1910
|
+
errorCode
|
|
1911
|
+
});
|
|
1912
|
+
}
|
|
1913
|
+
}, "de_ListRotationsCommandError");
|
|
1914
|
+
var de_ListRotationShiftsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1915
|
+
if (output.statusCode >= 300) {
|
|
1916
|
+
return de_ListRotationShiftsCommandError(output, context);
|
|
1917
|
+
}
|
|
1918
|
+
const data = await parseBody(output.body, context);
|
|
1919
|
+
let contents = {};
|
|
1920
|
+
contents = de_ListRotationShiftsResult(data, context);
|
|
1921
|
+
const response = {
|
|
1922
|
+
$metadata: deserializeMetadata(output),
|
|
1923
|
+
...contents
|
|
1924
|
+
};
|
|
1925
|
+
return response;
|
|
1926
|
+
}, "de_ListRotationShiftsCommand");
|
|
1927
|
+
var de_ListRotationShiftsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1928
|
+
const parsedOutput = {
|
|
1929
|
+
...output,
|
|
1930
|
+
body: await parseErrorBody(output.body, context)
|
|
1931
|
+
};
|
|
1932
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1933
|
+
switch (errorCode) {
|
|
1934
|
+
case "AccessDeniedException":
|
|
1935
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1936
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1937
|
+
case "ConflictException":
|
|
1938
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
1939
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1940
|
+
case "InternalServerException":
|
|
1941
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1942
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1943
|
+
case "ResourceNotFoundException":
|
|
1944
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1945
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1946
|
+
case "ThrottlingException":
|
|
1947
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1948
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1949
|
+
case "ValidationException":
|
|
1950
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1951
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1952
|
+
default:
|
|
1953
|
+
const parsedBody = parsedOutput.body;
|
|
1954
|
+
return throwDefaultError({
|
|
1955
|
+
output,
|
|
1956
|
+
parsedBody,
|
|
1957
|
+
errorCode
|
|
1958
|
+
});
|
|
1959
|
+
}
|
|
1960
|
+
}, "de_ListRotationShiftsCommandError");
|
|
1961
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1962
|
+
if (output.statusCode >= 300) {
|
|
1963
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1964
|
+
}
|
|
1965
|
+
const data = await parseBody(output.body, context);
|
|
1966
|
+
let contents = {};
|
|
1967
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1968
|
+
const response = {
|
|
1969
|
+
$metadata: deserializeMetadata(output),
|
|
1970
|
+
...contents
|
|
1971
|
+
};
|
|
1972
|
+
return response;
|
|
1973
|
+
}, "de_ListTagsForResourceCommand");
|
|
1974
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1975
|
+
const parsedOutput = {
|
|
1976
|
+
...output,
|
|
1977
|
+
body: await parseErrorBody(output.body, context)
|
|
1978
|
+
};
|
|
1979
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1980
|
+
switch (errorCode) {
|
|
1981
|
+
case "AccessDeniedException":
|
|
1982
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
1983
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1984
|
+
case "InternalServerException":
|
|
1985
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
1986
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1987
|
+
case "ResourceNotFoundException":
|
|
1988
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
1989
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1990
|
+
case "ThrottlingException":
|
|
1991
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
1992
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1993
|
+
case "ValidationException":
|
|
1994
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
1995
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1996
|
+
default:
|
|
1997
|
+
const parsedBody = parsedOutput.body;
|
|
1998
|
+
return throwDefaultError({
|
|
1999
|
+
output,
|
|
2000
|
+
parsedBody,
|
|
2001
|
+
errorCode
|
|
2002
|
+
});
|
|
2003
|
+
}
|
|
2004
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2005
|
+
var de_PutContactPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2006
|
+
if (output.statusCode >= 300) {
|
|
2007
|
+
return de_PutContactPolicyCommandError(output, context);
|
|
2008
|
+
}
|
|
2009
|
+
const data = await parseBody(output.body, context);
|
|
2010
|
+
let contents = {};
|
|
2011
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2012
|
+
const response = {
|
|
2013
|
+
$metadata: deserializeMetadata(output),
|
|
2014
|
+
...contents
|
|
2015
|
+
};
|
|
2016
|
+
return response;
|
|
2017
|
+
}, "de_PutContactPolicyCommand");
|
|
2018
|
+
var de_PutContactPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2019
|
+
const parsedOutput = {
|
|
2020
|
+
...output,
|
|
2021
|
+
body: await parseErrorBody(output.body, context)
|
|
2022
|
+
};
|
|
2023
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2024
|
+
switch (errorCode) {
|
|
2025
|
+
case "AccessDeniedException":
|
|
2026
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2027
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2028
|
+
case "ConflictException":
|
|
2029
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
2030
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2031
|
+
case "InternalServerException":
|
|
2032
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2033
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2034
|
+
case "ResourceNotFoundException":
|
|
2035
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2036
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2037
|
+
case "ThrottlingException":
|
|
2038
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2039
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2040
|
+
case "ValidationException":
|
|
2041
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2042
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2043
|
+
default:
|
|
2044
|
+
const parsedBody = parsedOutput.body;
|
|
2045
|
+
return throwDefaultError({
|
|
2046
|
+
output,
|
|
2047
|
+
parsedBody,
|
|
2048
|
+
errorCode
|
|
2049
|
+
});
|
|
2050
|
+
}
|
|
2051
|
+
}, "de_PutContactPolicyCommandError");
|
|
2052
|
+
var de_SendActivationCodeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2053
|
+
if (output.statusCode >= 300) {
|
|
2054
|
+
return de_SendActivationCodeCommandError(output, context);
|
|
2055
|
+
}
|
|
2056
|
+
const data = await parseBody(output.body, context);
|
|
2057
|
+
let contents = {};
|
|
2058
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2059
|
+
const response = {
|
|
2060
|
+
$metadata: deserializeMetadata(output),
|
|
2061
|
+
...contents
|
|
2062
|
+
};
|
|
2063
|
+
return response;
|
|
2064
|
+
}, "de_SendActivationCodeCommand");
|
|
2065
|
+
var de_SendActivationCodeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2066
|
+
const parsedOutput = {
|
|
2067
|
+
...output,
|
|
2068
|
+
body: await parseErrorBody(output.body, context)
|
|
2069
|
+
};
|
|
2070
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2071
|
+
switch (errorCode) {
|
|
2072
|
+
case "AccessDeniedException":
|
|
2073
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2074
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2075
|
+
case "DataEncryptionException":
|
|
2076
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
2077
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
2078
|
+
case "InternalServerException":
|
|
2079
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2080
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2081
|
+
case "ResourceNotFoundException":
|
|
2082
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2083
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2084
|
+
case "ServiceQuotaExceededException":
|
|
2085
|
+
case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
|
|
2086
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2087
|
+
case "ThrottlingException":
|
|
2088
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2089
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2090
|
+
case "ValidationException":
|
|
2091
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2092
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2093
|
+
default:
|
|
2094
|
+
const parsedBody = parsedOutput.body;
|
|
2095
|
+
return throwDefaultError({
|
|
2096
|
+
output,
|
|
2097
|
+
parsedBody,
|
|
2098
|
+
errorCode
|
|
2099
|
+
});
|
|
2100
|
+
}
|
|
2101
|
+
}, "de_SendActivationCodeCommandError");
|
|
2102
|
+
var de_StartEngagementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2103
|
+
if (output.statusCode >= 300) {
|
|
2104
|
+
return de_StartEngagementCommandError(output, context);
|
|
2105
|
+
}
|
|
2106
|
+
const data = await parseBody(output.body, context);
|
|
2107
|
+
let contents = {};
|
|
2108
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2109
|
+
const response = {
|
|
2110
|
+
$metadata: deserializeMetadata(output),
|
|
2111
|
+
...contents
|
|
2112
|
+
};
|
|
2113
|
+
return response;
|
|
2114
|
+
}, "de_StartEngagementCommand");
|
|
2115
|
+
var de_StartEngagementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2116
|
+
const parsedOutput = {
|
|
2117
|
+
...output,
|
|
2118
|
+
body: await parseErrorBody(output.body, context)
|
|
2119
|
+
};
|
|
2120
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2121
|
+
switch (errorCode) {
|
|
2122
|
+
case "AccessDeniedException":
|
|
2123
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2124
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2125
|
+
case "DataEncryptionException":
|
|
2126
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
2127
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
2128
|
+
case "InternalServerException":
|
|
2129
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2130
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2131
|
+
case "ResourceNotFoundException":
|
|
2132
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2133
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2134
|
+
case "ThrottlingException":
|
|
2135
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2136
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2137
|
+
case "ValidationException":
|
|
2138
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2139
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2140
|
+
default:
|
|
2141
|
+
const parsedBody = parsedOutput.body;
|
|
2142
|
+
return throwDefaultError({
|
|
2143
|
+
output,
|
|
2144
|
+
parsedBody,
|
|
2145
|
+
errorCode
|
|
2146
|
+
});
|
|
2147
|
+
}
|
|
2148
|
+
}, "de_StartEngagementCommandError");
|
|
2149
|
+
var de_StopEngagementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2150
|
+
if (output.statusCode >= 300) {
|
|
2151
|
+
return de_StopEngagementCommandError(output, context);
|
|
2152
|
+
}
|
|
2153
|
+
const data = await parseBody(output.body, context);
|
|
2154
|
+
let contents = {};
|
|
2155
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2156
|
+
const response = {
|
|
2157
|
+
$metadata: deserializeMetadata(output),
|
|
2158
|
+
...contents
|
|
2159
|
+
};
|
|
2160
|
+
return response;
|
|
2161
|
+
}, "de_StopEngagementCommand");
|
|
2162
|
+
var de_StopEngagementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2163
|
+
const parsedOutput = {
|
|
2164
|
+
...output,
|
|
2165
|
+
body: await parseErrorBody(output.body, context)
|
|
2166
|
+
};
|
|
2167
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2168
|
+
switch (errorCode) {
|
|
2169
|
+
case "AccessDeniedException":
|
|
2170
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2171
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2172
|
+
case "InternalServerException":
|
|
2173
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2174
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2175
|
+
case "ResourceNotFoundException":
|
|
2176
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2177
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2178
|
+
case "ThrottlingException":
|
|
2179
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2180
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2181
|
+
case "ValidationException":
|
|
2182
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2183
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2184
|
+
default:
|
|
2185
|
+
const parsedBody = parsedOutput.body;
|
|
2186
|
+
return throwDefaultError({
|
|
2187
|
+
output,
|
|
2188
|
+
parsedBody,
|
|
2189
|
+
errorCode
|
|
2190
|
+
});
|
|
2191
|
+
}
|
|
2192
|
+
}, "de_StopEngagementCommandError");
|
|
2193
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2194
|
+
if (output.statusCode >= 300) {
|
|
2195
|
+
return de_TagResourceCommandError(output, context);
|
|
2196
|
+
}
|
|
2197
|
+
const data = await parseBody(output.body, context);
|
|
2198
|
+
let contents = {};
|
|
2199
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2200
|
+
const response = {
|
|
2201
|
+
$metadata: deserializeMetadata(output),
|
|
2202
|
+
...contents
|
|
2203
|
+
};
|
|
2204
|
+
return response;
|
|
2205
|
+
}, "de_TagResourceCommand");
|
|
2206
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2207
|
+
const parsedOutput = {
|
|
2208
|
+
...output,
|
|
2209
|
+
body: await parseErrorBody(output.body, context)
|
|
2210
|
+
};
|
|
2211
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2212
|
+
switch (errorCode) {
|
|
2213
|
+
case "AccessDeniedException":
|
|
2214
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2215
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2216
|
+
case "InternalServerException":
|
|
2217
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2218
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2219
|
+
case "ResourceNotFoundException":
|
|
2220
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2221
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2222
|
+
case "ServiceQuotaExceededException":
|
|
2223
|
+
case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
|
|
2224
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2225
|
+
case "ThrottlingException":
|
|
2226
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2227
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2228
|
+
case "ValidationException":
|
|
2229
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2230
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2231
|
+
default:
|
|
2232
|
+
const parsedBody = parsedOutput.body;
|
|
2233
|
+
return throwDefaultError({
|
|
2234
|
+
output,
|
|
2235
|
+
parsedBody,
|
|
2236
|
+
errorCode
|
|
2237
|
+
});
|
|
2238
|
+
}
|
|
2239
|
+
}, "de_TagResourceCommandError");
|
|
2240
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2241
|
+
if (output.statusCode >= 300) {
|
|
2242
|
+
return de_UntagResourceCommandError(output, context);
|
|
2243
|
+
}
|
|
2244
|
+
const data = await parseBody(output.body, context);
|
|
2245
|
+
let contents = {};
|
|
2246
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2247
|
+
const response = {
|
|
2248
|
+
$metadata: deserializeMetadata(output),
|
|
2249
|
+
...contents
|
|
2250
|
+
};
|
|
2251
|
+
return response;
|
|
2252
|
+
}, "de_UntagResourceCommand");
|
|
2253
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2254
|
+
const parsedOutput = {
|
|
2255
|
+
...output,
|
|
2256
|
+
body: await parseErrorBody(output.body, context)
|
|
2257
|
+
};
|
|
2258
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2259
|
+
switch (errorCode) {
|
|
2260
|
+
case "AccessDeniedException":
|
|
2261
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2262
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2263
|
+
case "InternalServerException":
|
|
2264
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2265
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2266
|
+
case "ResourceNotFoundException":
|
|
2267
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2268
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2269
|
+
case "ThrottlingException":
|
|
2270
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2271
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2272
|
+
case "ValidationException":
|
|
2273
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2274
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2275
|
+
default:
|
|
2276
|
+
const parsedBody = parsedOutput.body;
|
|
2277
|
+
return throwDefaultError({
|
|
2278
|
+
output,
|
|
2279
|
+
parsedBody,
|
|
2280
|
+
errorCode
|
|
2281
|
+
});
|
|
2282
|
+
}
|
|
2283
|
+
}, "de_UntagResourceCommandError");
|
|
2284
|
+
var de_UpdateContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2285
|
+
if (output.statusCode >= 300) {
|
|
2286
|
+
return de_UpdateContactCommandError(output, context);
|
|
2287
|
+
}
|
|
2288
|
+
const data = await parseBody(output.body, context);
|
|
2289
|
+
let contents = {};
|
|
2290
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2291
|
+
const response = {
|
|
2292
|
+
$metadata: deserializeMetadata(output),
|
|
2293
|
+
...contents
|
|
2294
|
+
};
|
|
2295
|
+
return response;
|
|
2296
|
+
}, "de_UpdateContactCommand");
|
|
2297
|
+
var de_UpdateContactCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2298
|
+
const parsedOutput = {
|
|
2299
|
+
...output,
|
|
2300
|
+
body: await parseErrorBody(output.body, context)
|
|
2301
|
+
};
|
|
2302
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2303
|
+
switch (errorCode) {
|
|
2304
|
+
case "AccessDeniedException":
|
|
2305
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2306
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2307
|
+
case "DataEncryptionException":
|
|
2308
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
2309
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
2310
|
+
case "InternalServerException":
|
|
2311
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2312
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2313
|
+
case "ResourceNotFoundException":
|
|
2314
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2315
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2316
|
+
case "ServiceQuotaExceededException":
|
|
2317
|
+
case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
|
|
2318
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2319
|
+
case "ThrottlingException":
|
|
2320
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2321
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2322
|
+
case "ValidationException":
|
|
2323
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2324
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2325
|
+
default:
|
|
2326
|
+
const parsedBody = parsedOutput.body;
|
|
2327
|
+
return throwDefaultError({
|
|
2328
|
+
output,
|
|
2329
|
+
parsedBody,
|
|
2330
|
+
errorCode
|
|
2331
|
+
});
|
|
2332
|
+
}
|
|
2333
|
+
}, "de_UpdateContactCommandError");
|
|
2334
|
+
var de_UpdateContactChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2335
|
+
if (output.statusCode >= 300) {
|
|
2336
|
+
return de_UpdateContactChannelCommandError(output, context);
|
|
2337
|
+
}
|
|
2338
|
+
const data = await parseBody(output.body, context);
|
|
2339
|
+
let contents = {};
|
|
2340
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2341
|
+
const response = {
|
|
2342
|
+
$metadata: deserializeMetadata(output),
|
|
2343
|
+
...contents
|
|
2344
|
+
};
|
|
2345
|
+
return response;
|
|
2346
|
+
}, "de_UpdateContactChannelCommand");
|
|
2347
|
+
var de_UpdateContactChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2348
|
+
const parsedOutput = {
|
|
2349
|
+
...output,
|
|
2350
|
+
body: await parseErrorBody(output.body, context)
|
|
2351
|
+
};
|
|
2352
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2353
|
+
switch (errorCode) {
|
|
2354
|
+
case "AccessDeniedException":
|
|
2355
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2356
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2357
|
+
case "ConflictException":
|
|
2358
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
2359
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2360
|
+
case "DataEncryptionException":
|
|
2361
|
+
case "com.amazonaws.ssmcontacts#DataEncryptionException":
|
|
2362
|
+
throw await de_DataEncryptionExceptionRes(parsedOutput, context);
|
|
2363
|
+
case "InternalServerException":
|
|
2364
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2365
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2366
|
+
case "ResourceNotFoundException":
|
|
2367
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2368
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2369
|
+
case "ThrottlingException":
|
|
2370
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2371
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2372
|
+
case "ValidationException":
|
|
2373
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2374
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2375
|
+
default:
|
|
2376
|
+
const parsedBody = parsedOutput.body;
|
|
2377
|
+
return throwDefaultError({
|
|
2378
|
+
output,
|
|
2379
|
+
parsedBody,
|
|
2380
|
+
errorCode
|
|
2381
|
+
});
|
|
2382
|
+
}
|
|
2383
|
+
}, "de_UpdateContactChannelCommandError");
|
|
2384
|
+
var de_UpdateRotationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2385
|
+
if (output.statusCode >= 300) {
|
|
2386
|
+
return de_UpdateRotationCommandError(output, context);
|
|
2387
|
+
}
|
|
2388
|
+
const data = await parseBody(output.body, context);
|
|
2389
|
+
let contents = {};
|
|
2390
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2391
|
+
const response = {
|
|
2392
|
+
$metadata: deserializeMetadata(output),
|
|
2393
|
+
...contents
|
|
2394
|
+
};
|
|
2395
|
+
return response;
|
|
2396
|
+
}, "de_UpdateRotationCommand");
|
|
2397
|
+
var de_UpdateRotationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2398
|
+
const parsedOutput = {
|
|
2399
|
+
...output,
|
|
2400
|
+
body: await parseErrorBody(output.body, context)
|
|
2401
|
+
};
|
|
2402
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2403
|
+
switch (errorCode) {
|
|
2404
|
+
case "AccessDeniedException":
|
|
2405
|
+
case "com.amazonaws.ssmcontacts#AccessDeniedException":
|
|
2406
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2407
|
+
case "ConflictException":
|
|
2408
|
+
case "com.amazonaws.ssmcontacts#ConflictException":
|
|
2409
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2410
|
+
case "InternalServerException":
|
|
2411
|
+
case "com.amazonaws.ssmcontacts#InternalServerException":
|
|
2412
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2413
|
+
case "ResourceNotFoundException":
|
|
2414
|
+
case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
|
|
2415
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2416
|
+
case "ThrottlingException":
|
|
2417
|
+
case "com.amazonaws.ssmcontacts#ThrottlingException":
|
|
2418
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2419
|
+
case "ValidationException":
|
|
2420
|
+
case "com.amazonaws.ssmcontacts#ValidationException":
|
|
2421
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2422
|
+
default:
|
|
2423
|
+
const parsedBody = parsedOutput.body;
|
|
2424
|
+
return throwDefaultError({
|
|
2425
|
+
output,
|
|
2426
|
+
parsedBody,
|
|
2427
|
+
errorCode
|
|
2428
|
+
});
|
|
2429
|
+
}
|
|
2430
|
+
}, "de_UpdateRotationCommandError");
|
|
2431
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2432
|
+
const body = parsedOutput.body;
|
|
2433
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2434
|
+
const exception = new AccessDeniedException({
|
|
2435
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2436
|
+
...deserialized
|
|
2437
|
+
});
|
|
2438
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2439
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2440
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2441
|
+
const body = parsedOutput.body;
|
|
2442
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2443
|
+
const exception = new ConflictException({
|
|
2444
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2445
|
+
...deserialized
|
|
2446
|
+
});
|
|
2447
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2448
|
+
}, "de_ConflictExceptionRes");
|
|
2449
|
+
var de_DataEncryptionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2450
|
+
const body = parsedOutput.body;
|
|
2451
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2452
|
+
const exception = new DataEncryptionException({
|
|
2453
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2454
|
+
...deserialized
|
|
2455
|
+
});
|
|
2456
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2457
|
+
}, "de_DataEncryptionExceptionRes");
|
|
2458
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2459
|
+
const body = parsedOutput.body;
|
|
2460
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2461
|
+
const exception = new InternalServerException({
|
|
2462
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2463
|
+
...deserialized
|
|
2464
|
+
});
|
|
2465
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2466
|
+
}, "de_InternalServerExceptionRes");
|
|
2467
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2468
|
+
const body = parsedOutput.body;
|
|
2469
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2470
|
+
const exception = new ResourceNotFoundException({
|
|
2471
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2472
|
+
...deserialized
|
|
2473
|
+
});
|
|
2474
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2475
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2476
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2477
|
+
const body = parsedOutput.body;
|
|
2478
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2479
|
+
const exception = new ServiceQuotaExceededException({
|
|
2480
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2481
|
+
...deserialized
|
|
2482
|
+
});
|
|
2483
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2484
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2485
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2486
|
+
const body = parsedOutput.body;
|
|
2487
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2488
|
+
const exception = new ThrottlingException({
|
|
2489
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2490
|
+
...deserialized
|
|
2491
|
+
});
|
|
2492
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2493
|
+
}, "de_ThrottlingExceptionRes");
|
|
2494
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2495
|
+
const body = parsedOutput.body;
|
|
2496
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2497
|
+
const exception = new ValidationException({
|
|
2498
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2499
|
+
...deserialized
|
|
2500
|
+
});
|
|
2501
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2502
|
+
}, "de_ValidationExceptionRes");
|
|
2503
|
+
var se_CreateContactChannelRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2504
|
+
return (0, import_smithy_client.take)(input, {
|
|
2505
|
+
ContactId: [],
|
|
2506
|
+
DeferActivation: [],
|
|
2507
|
+
DeliveryAddress: import_smithy_client._json,
|
|
2508
|
+
IdempotencyToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2509
|
+
Name: [],
|
|
2510
|
+
Type: []
|
|
2511
|
+
});
|
|
2512
|
+
}, "se_CreateContactChannelRequest");
|
|
2513
|
+
var se_CreateContactRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2514
|
+
return (0, import_smithy_client.take)(input, {
|
|
2515
|
+
Alias: [],
|
|
2516
|
+
DisplayName: [],
|
|
2517
|
+
IdempotencyToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2518
|
+
Plan: import_smithy_client._json,
|
|
2519
|
+
Tags: import_smithy_client._json,
|
|
2520
|
+
Type: []
|
|
2521
|
+
});
|
|
2522
|
+
}, "se_CreateContactRequest");
|
|
2523
|
+
var se_CreateRotationOverrideRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2524
|
+
return (0, import_smithy_client.take)(input, {
|
|
2525
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2526
|
+
IdempotencyToken: [],
|
|
2527
|
+
NewContactIds: import_smithy_client._json,
|
|
2528
|
+
RotationId: [],
|
|
2529
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2530
|
+
});
|
|
2531
|
+
}, "se_CreateRotationOverrideRequest");
|
|
2532
|
+
var se_CreateRotationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2533
|
+
return (0, import_smithy_client.take)(input, {
|
|
2534
|
+
ContactIds: import_smithy_client._json,
|
|
2535
|
+
IdempotencyToken: [],
|
|
2536
|
+
Name: [],
|
|
2537
|
+
Recurrence: import_smithy_client._json,
|
|
2538
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2539
|
+
Tags: import_smithy_client._json,
|
|
2540
|
+
TimeZoneId: []
|
|
2541
|
+
});
|
|
2542
|
+
}, "se_CreateRotationRequest");
|
|
2543
|
+
var se_ListEngagementsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2544
|
+
return (0, import_smithy_client.take)(input, {
|
|
2545
|
+
IncidentId: [],
|
|
2546
|
+
MaxResults: [],
|
|
2547
|
+
NextToken: [],
|
|
2548
|
+
TimeRangeValue: (_) => se_TimeRange(_, context)
|
|
2549
|
+
});
|
|
2550
|
+
}, "se_ListEngagementsRequest");
|
|
2551
|
+
var se_ListPreviewRotationShiftsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2552
|
+
return (0, import_smithy_client.take)(input, {
|
|
2553
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2554
|
+
MaxResults: [],
|
|
2555
|
+
Members: import_smithy_client._json,
|
|
2556
|
+
NextToken: [],
|
|
2557
|
+
Overrides: (_) => se_OverrideList(_, context),
|
|
2558
|
+
Recurrence: import_smithy_client._json,
|
|
2559
|
+
RotationStartTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2560
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2561
|
+
TimeZoneId: []
|
|
2562
|
+
});
|
|
2563
|
+
}, "se_ListPreviewRotationShiftsRequest");
|
|
2564
|
+
var se_ListRotationOverridesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2565
|
+
return (0, import_smithy_client.take)(input, {
|
|
2566
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2567
|
+
MaxResults: [],
|
|
2568
|
+
NextToken: [],
|
|
2569
|
+
RotationId: [],
|
|
2570
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2571
|
+
});
|
|
2572
|
+
}, "se_ListRotationOverridesRequest");
|
|
2573
|
+
var se_ListRotationShiftsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2574
|
+
return (0, import_smithy_client.take)(input, {
|
|
2575
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2576
|
+
MaxResults: [],
|
|
2577
|
+
NextToken: [],
|
|
2578
|
+
RotationId: [],
|
|
2579
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2580
|
+
});
|
|
2581
|
+
}, "se_ListRotationShiftsRequest");
|
|
2582
|
+
var se_OverrideList = /* @__PURE__ */ __name((input, context) => {
|
|
2583
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2584
|
+
return se_PreviewOverride(entry, context);
|
|
2585
|
+
});
|
|
2586
|
+
}, "se_OverrideList");
|
|
2587
|
+
var se_PreviewOverride = /* @__PURE__ */ __name((input, context) => {
|
|
2588
|
+
return (0, import_smithy_client.take)(input, {
|
|
2589
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2590
|
+
NewMembers: import_smithy_client._json,
|
|
2591
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2592
|
+
});
|
|
2593
|
+
}, "se_PreviewOverride");
|
|
2594
|
+
var se_StartEngagementRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2595
|
+
return (0, import_smithy_client.take)(input, {
|
|
2596
|
+
ContactId: [],
|
|
2597
|
+
Content: [],
|
|
2598
|
+
IdempotencyToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2599
|
+
IncidentId: [],
|
|
2600
|
+
PublicContent: [],
|
|
2601
|
+
PublicSubject: [],
|
|
2602
|
+
Sender: [],
|
|
2603
|
+
Subject: []
|
|
2604
|
+
});
|
|
2605
|
+
}, "se_StartEngagementRequest");
|
|
2606
|
+
var se_TimeRange = /* @__PURE__ */ __name((input, context) => {
|
|
2607
|
+
return (0, import_smithy_client.take)(input, {
|
|
2608
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2609
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2610
|
+
});
|
|
2611
|
+
}, "se_TimeRange");
|
|
2612
|
+
var se_UpdateRotationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2613
|
+
return (0, import_smithy_client.take)(input, {
|
|
2614
|
+
ContactIds: import_smithy_client._json,
|
|
2615
|
+
Recurrence: import_smithy_client._json,
|
|
2616
|
+
RotationId: [],
|
|
2617
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2618
|
+
TimeZoneId: []
|
|
2619
|
+
});
|
|
2620
|
+
}, "se_UpdateRotationRequest");
|
|
2621
|
+
var de_DescribeEngagementResult = /* @__PURE__ */ __name((output, context) => {
|
|
2622
|
+
return (0, import_smithy_client.take)(output, {
|
|
2623
|
+
ContactArn: import_smithy_client.expectString,
|
|
2624
|
+
Content: import_smithy_client.expectString,
|
|
2625
|
+
EngagementArn: import_smithy_client.expectString,
|
|
2626
|
+
IncidentId: import_smithy_client.expectString,
|
|
2627
|
+
PublicContent: import_smithy_client.expectString,
|
|
2628
|
+
PublicSubject: import_smithy_client.expectString,
|
|
2629
|
+
Sender: import_smithy_client.expectString,
|
|
2630
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2631
|
+
StopTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2632
|
+
Subject: import_smithy_client.expectString
|
|
2633
|
+
});
|
|
2634
|
+
}, "de_DescribeEngagementResult");
|
|
2635
|
+
var de_DescribePageResult = /* @__PURE__ */ __name((output, context) => {
|
|
2636
|
+
return (0, import_smithy_client.take)(output, {
|
|
2637
|
+
ContactArn: import_smithy_client.expectString,
|
|
2638
|
+
Content: import_smithy_client.expectString,
|
|
2639
|
+
DeliveryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2640
|
+
EngagementArn: import_smithy_client.expectString,
|
|
2641
|
+
IncidentId: import_smithy_client.expectString,
|
|
2642
|
+
PageArn: import_smithy_client.expectString,
|
|
2643
|
+
PublicContent: import_smithy_client.expectString,
|
|
2644
|
+
PublicSubject: import_smithy_client.expectString,
|
|
2645
|
+
ReadTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2646
|
+
Sender: import_smithy_client.expectString,
|
|
2647
|
+
SentTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2648
|
+
Subject: import_smithy_client.expectString
|
|
2649
|
+
});
|
|
2650
|
+
}, "de_DescribePageResult");
|
|
2651
|
+
var de_Engagement = /* @__PURE__ */ __name((output, context) => {
|
|
2652
|
+
return (0, import_smithy_client.take)(output, {
|
|
2653
|
+
ContactArn: import_smithy_client.expectString,
|
|
2654
|
+
EngagementArn: import_smithy_client.expectString,
|
|
2655
|
+
IncidentId: import_smithy_client.expectString,
|
|
2656
|
+
Sender: import_smithy_client.expectString,
|
|
2657
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2658
|
+
StopTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2659
|
+
});
|
|
2660
|
+
}, "de_Engagement");
|
|
2661
|
+
var de_EngagementsList = /* @__PURE__ */ __name((output, context) => {
|
|
2662
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2663
|
+
return de_Engagement(entry, context);
|
|
2664
|
+
});
|
|
2665
|
+
return retVal;
|
|
2666
|
+
}, "de_EngagementsList");
|
|
2667
|
+
var de_GetRotationOverrideResult = /* @__PURE__ */ __name((output, context) => {
|
|
2668
|
+
return (0, import_smithy_client.take)(output, {
|
|
2669
|
+
CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2670
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2671
|
+
NewContactIds: import_smithy_client._json,
|
|
2672
|
+
RotationArn: import_smithy_client.expectString,
|
|
2673
|
+
RotationOverrideId: import_smithy_client.expectString,
|
|
2674
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2675
|
+
});
|
|
2676
|
+
}, "de_GetRotationOverrideResult");
|
|
2677
|
+
var de_GetRotationResult = /* @__PURE__ */ __name((output, context) => {
|
|
2678
|
+
return (0, import_smithy_client.take)(output, {
|
|
2679
|
+
ContactIds: import_smithy_client._json,
|
|
2680
|
+
Name: import_smithy_client.expectString,
|
|
2681
|
+
Recurrence: import_smithy_client._json,
|
|
2682
|
+
RotationArn: import_smithy_client.expectString,
|
|
2683
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2684
|
+
TimeZoneId: import_smithy_client.expectString
|
|
2685
|
+
});
|
|
2686
|
+
}, "de_GetRotationResult");
|
|
2687
|
+
var de_ListEngagementsResult = /* @__PURE__ */ __name((output, context) => {
|
|
2688
|
+
return (0, import_smithy_client.take)(output, {
|
|
2689
|
+
Engagements: (_) => de_EngagementsList(_, context),
|
|
2690
|
+
NextToken: import_smithy_client.expectString
|
|
2691
|
+
});
|
|
2692
|
+
}, "de_ListEngagementsResult");
|
|
2693
|
+
var de_ListPageReceiptsResult = /* @__PURE__ */ __name((output, context) => {
|
|
2694
|
+
return (0, import_smithy_client.take)(output, {
|
|
2695
|
+
NextToken: import_smithy_client.expectString,
|
|
2696
|
+
Receipts: (_) => de_ReceiptsList(_, context)
|
|
2697
|
+
});
|
|
2698
|
+
}, "de_ListPageReceiptsResult");
|
|
2699
|
+
var de_ListPagesByContactResult = /* @__PURE__ */ __name((output, context) => {
|
|
2700
|
+
return (0, import_smithy_client.take)(output, {
|
|
2701
|
+
NextToken: import_smithy_client.expectString,
|
|
2702
|
+
Pages: (_) => de_PagesList(_, context)
|
|
2703
|
+
});
|
|
2704
|
+
}, "de_ListPagesByContactResult");
|
|
2705
|
+
var de_ListPagesByEngagementResult = /* @__PURE__ */ __name((output, context) => {
|
|
2706
|
+
return (0, import_smithy_client.take)(output, {
|
|
2707
|
+
NextToken: import_smithy_client.expectString,
|
|
2708
|
+
Pages: (_) => de_PagesList(_, context)
|
|
2709
|
+
});
|
|
2710
|
+
}, "de_ListPagesByEngagementResult");
|
|
2711
|
+
var de_ListPreviewRotationShiftsResult = /* @__PURE__ */ __name((output, context) => {
|
|
2712
|
+
return (0, import_smithy_client.take)(output, {
|
|
2713
|
+
NextToken: import_smithy_client.expectString,
|
|
2714
|
+
RotationShifts: (_) => de_RotationShifts(_, context)
|
|
2715
|
+
});
|
|
2716
|
+
}, "de_ListPreviewRotationShiftsResult");
|
|
2717
|
+
var de_ListRotationOverridesResult = /* @__PURE__ */ __name((output, context) => {
|
|
2718
|
+
return (0, import_smithy_client.take)(output, {
|
|
2719
|
+
NextToken: import_smithy_client.expectString,
|
|
2720
|
+
RotationOverrides: (_) => de_RotationOverrides(_, context)
|
|
2721
|
+
});
|
|
2722
|
+
}, "de_ListRotationOverridesResult");
|
|
2723
|
+
var de_ListRotationShiftsResult = /* @__PURE__ */ __name((output, context) => {
|
|
2724
|
+
return (0, import_smithy_client.take)(output, {
|
|
2725
|
+
NextToken: import_smithy_client.expectString,
|
|
2726
|
+
RotationShifts: (_) => de_RotationShifts(_, context)
|
|
2727
|
+
});
|
|
2728
|
+
}, "de_ListRotationShiftsResult");
|
|
2729
|
+
var de_ListRotationsResult = /* @__PURE__ */ __name((output, context) => {
|
|
2730
|
+
return (0, import_smithy_client.take)(output, {
|
|
2731
|
+
NextToken: import_smithy_client.expectString,
|
|
2732
|
+
Rotations: (_) => de_Rotations(_, context)
|
|
2733
|
+
});
|
|
2734
|
+
}, "de_ListRotationsResult");
|
|
2735
|
+
var de_Page = /* @__PURE__ */ __name((output, context) => {
|
|
2736
|
+
return (0, import_smithy_client.take)(output, {
|
|
2737
|
+
ContactArn: import_smithy_client.expectString,
|
|
2738
|
+
DeliveryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2739
|
+
EngagementArn: import_smithy_client.expectString,
|
|
2740
|
+
IncidentId: import_smithy_client.expectString,
|
|
2741
|
+
PageArn: import_smithy_client.expectString,
|
|
2742
|
+
ReadTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2743
|
+
Sender: import_smithy_client.expectString,
|
|
2744
|
+
SentTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2745
|
+
});
|
|
2746
|
+
}, "de_Page");
|
|
2747
|
+
var de_PagesList = /* @__PURE__ */ __name((output, context) => {
|
|
2748
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2749
|
+
return de_Page(entry, context);
|
|
2750
|
+
});
|
|
2751
|
+
return retVal;
|
|
2752
|
+
}, "de_PagesList");
|
|
2753
|
+
var de_Receipt = /* @__PURE__ */ __name((output, context) => {
|
|
2754
|
+
return (0, import_smithy_client.take)(output, {
|
|
2755
|
+
ContactChannelArn: import_smithy_client.expectString,
|
|
2756
|
+
ReceiptInfo: import_smithy_client.expectString,
|
|
2757
|
+
ReceiptTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2758
|
+
ReceiptType: import_smithy_client.expectString
|
|
2759
|
+
});
|
|
2760
|
+
}, "de_Receipt");
|
|
2761
|
+
var de_ReceiptsList = /* @__PURE__ */ __name((output, context) => {
|
|
2762
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2763
|
+
return de_Receipt(entry, context);
|
|
2764
|
+
});
|
|
2765
|
+
return retVal;
|
|
2766
|
+
}, "de_ReceiptsList");
|
|
2767
|
+
var de_Rotation = /* @__PURE__ */ __name((output, context) => {
|
|
2768
|
+
return (0, import_smithy_client.take)(output, {
|
|
2769
|
+
ContactIds: import_smithy_client._json,
|
|
2770
|
+
Name: import_smithy_client.expectString,
|
|
2771
|
+
Recurrence: import_smithy_client._json,
|
|
2772
|
+
RotationArn: import_smithy_client.expectString,
|
|
2773
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2774
|
+
TimeZoneId: import_smithy_client.expectString
|
|
2775
|
+
});
|
|
2776
|
+
}, "de_Rotation");
|
|
2777
|
+
var de_RotationOverride = /* @__PURE__ */ __name((output, context) => {
|
|
2778
|
+
return (0, import_smithy_client.take)(output, {
|
|
2779
|
+
CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2780
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2781
|
+
NewContactIds: import_smithy_client._json,
|
|
2782
|
+
RotationOverrideId: import_smithy_client.expectString,
|
|
2783
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2784
|
+
});
|
|
2785
|
+
}, "de_RotationOverride");
|
|
2786
|
+
var de_RotationOverrides = /* @__PURE__ */ __name((output, context) => {
|
|
2787
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2788
|
+
return de_RotationOverride(entry, context);
|
|
2789
|
+
});
|
|
2790
|
+
return retVal;
|
|
2791
|
+
}, "de_RotationOverrides");
|
|
2792
|
+
var de_Rotations = /* @__PURE__ */ __name((output, context) => {
|
|
2793
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2794
|
+
return de_Rotation(entry, context);
|
|
2795
|
+
});
|
|
2796
|
+
return retVal;
|
|
2797
|
+
}, "de_Rotations");
|
|
2798
|
+
var de_RotationShift = /* @__PURE__ */ __name((output, context) => {
|
|
2799
|
+
return (0, import_smithy_client.take)(output, {
|
|
2800
|
+
ContactIds: import_smithy_client._json,
|
|
2801
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2802
|
+
ShiftDetails: import_smithy_client._json,
|
|
2803
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2804
|
+
Type: import_smithy_client.expectString
|
|
2805
|
+
});
|
|
2806
|
+
}, "de_RotationShift");
|
|
2807
|
+
var de_RotationShifts = /* @__PURE__ */ __name((output, context) => {
|
|
2808
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2809
|
+
return de_RotationShift(entry, context);
|
|
2810
|
+
});
|
|
2811
|
+
return retVal;
|
|
2812
|
+
}, "de_RotationShifts");
|
|
2813
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2814
|
+
httpStatusCode: output.statusCode,
|
|
2815
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2816
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2817
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2818
|
+
}), "deserializeMetadata");
|
|
2819
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2820
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(SSMContactsServiceException);
|
|
2821
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2822
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2823
|
+
const contents = {
|
|
2824
|
+
protocol,
|
|
2825
|
+
hostname,
|
|
2826
|
+
port,
|
|
2827
|
+
method: "POST",
|
|
2828
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2829
|
+
headers
|
|
2830
|
+
};
|
|
2831
|
+
if (resolvedHostname !== void 0) {
|
|
2832
|
+
contents.hostname = resolvedHostname;
|
|
2833
|
+
}
|
|
2834
|
+
if (body !== void 0) {
|
|
2835
|
+
contents.body = body;
|
|
2836
|
+
}
|
|
2837
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
2838
|
+
}, "buildHttpRpcRequest");
|
|
2839
|
+
function sharedHeaders(operation) {
|
|
2840
|
+
return {
|
|
2841
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2842
|
+
"x-amz-target": `SSMContacts.${operation}`
|
|
2843
|
+
};
|
|
2844
|
+
}
|
|
2845
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
2846
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2847
|
+
if (encoded.length) {
|
|
2848
|
+
return JSON.parse(encoded);
|
|
2849
|
+
}
|
|
2850
|
+
return {};
|
|
2851
|
+
}), "parseBody");
|
|
2852
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2853
|
+
const value = await parseBody(errorBody, context);
|
|
2854
|
+
value.message = value.message ?? value.Message;
|
|
2855
|
+
return value;
|
|
2856
|
+
}, "parseErrorBody");
|
|
2857
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2858
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2859
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2860
|
+
let cleanValue = rawValue;
|
|
2861
|
+
if (typeof cleanValue === "number") {
|
|
2862
|
+
cleanValue = cleanValue.toString();
|
|
2863
|
+
}
|
|
2864
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2865
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2866
|
+
}
|
|
2867
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2868
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2869
|
+
}
|
|
2870
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2871
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2872
|
+
}
|
|
2873
|
+
return cleanValue;
|
|
2874
|
+
}, "sanitizeErrorCode");
|
|
2875
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2876
|
+
if (headerKey !== void 0) {
|
|
2877
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2878
|
+
}
|
|
2879
|
+
if (data.code !== void 0) {
|
|
2880
|
+
return sanitizeErrorCode(data.code);
|
|
2881
|
+
}
|
|
2882
|
+
if (data["__type"] !== void 0) {
|
|
2883
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2884
|
+
}
|
|
2885
|
+
}, "loadRestJsonErrorCode");
|
|
2886
|
+
|
|
2887
|
+
// src/commands/AcceptPageCommand.ts
|
|
2888
|
+
var _AcceptPageCommand = class _AcceptPageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2889
|
+
...commonParams
|
|
2890
|
+
}).m(function(Command, cs, config, o) {
|
|
2891
|
+
return [
|
|
2892
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2893
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2894
|
+
];
|
|
2895
|
+
}).s("SSMContacts", "AcceptPage", {}).n("SSMContactsClient", "AcceptPageCommand").f(void 0, void 0).ser(se_AcceptPageCommand).de(de_AcceptPageCommand).build() {
|
|
2896
|
+
};
|
|
2897
|
+
__name(_AcceptPageCommand, "AcceptPageCommand");
|
|
2898
|
+
var AcceptPageCommand = _AcceptPageCommand;
|
|
2899
|
+
|
|
2900
|
+
// src/commands/ActivateContactChannelCommand.ts
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
var _ActivateContactChannelCommand = class _ActivateContactChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2906
|
+
...commonParams
|
|
2907
|
+
}).m(function(Command, cs, config, o) {
|
|
2908
|
+
return [
|
|
2909
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2910
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2911
|
+
];
|
|
2912
|
+
}).s("SSMContacts", "ActivateContactChannel", {}).n("SSMContactsClient", "ActivateContactChannelCommand").f(void 0, void 0).ser(se_ActivateContactChannelCommand).de(de_ActivateContactChannelCommand).build() {
|
|
2913
|
+
};
|
|
2914
|
+
__name(_ActivateContactChannelCommand, "ActivateContactChannelCommand");
|
|
2915
|
+
var ActivateContactChannelCommand = _ActivateContactChannelCommand;
|
|
2916
|
+
|
|
2917
|
+
// src/commands/CreateContactChannelCommand.ts
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
var _CreateContactChannelCommand = class _CreateContactChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2923
|
+
...commonParams
|
|
2924
|
+
}).m(function(Command, cs, config, o) {
|
|
2925
|
+
return [
|
|
2926
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2927
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2928
|
+
];
|
|
2929
|
+
}).s("SSMContacts", "CreateContactChannel", {}).n("SSMContactsClient", "CreateContactChannelCommand").f(void 0, void 0).ser(se_CreateContactChannelCommand).de(de_CreateContactChannelCommand).build() {
|
|
2930
|
+
};
|
|
2931
|
+
__name(_CreateContactChannelCommand, "CreateContactChannelCommand");
|
|
2932
|
+
var CreateContactChannelCommand = _CreateContactChannelCommand;
|
|
2933
|
+
|
|
2934
|
+
// src/commands/CreateContactCommand.ts
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
var _CreateContactCommand = class _CreateContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2940
|
+
...commonParams
|
|
2941
|
+
}).m(function(Command, cs, config, o) {
|
|
2942
|
+
return [
|
|
2943
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2944
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2945
|
+
];
|
|
2946
|
+
}).s("SSMContacts", "CreateContact", {}).n("SSMContactsClient", "CreateContactCommand").f(void 0, void 0).ser(se_CreateContactCommand).de(de_CreateContactCommand).build() {
|
|
2947
|
+
};
|
|
2948
|
+
__name(_CreateContactCommand, "CreateContactCommand");
|
|
2949
|
+
var CreateContactCommand = _CreateContactCommand;
|
|
2950
|
+
|
|
2951
|
+
// src/commands/CreateRotationCommand.ts
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
var _CreateRotationCommand = class _CreateRotationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2957
|
+
...commonParams
|
|
2958
|
+
}).m(function(Command, cs, config, o) {
|
|
2959
|
+
return [
|
|
2960
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2961
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2962
|
+
];
|
|
2963
|
+
}).s("SSMContacts", "CreateRotation", {}).n("SSMContactsClient", "CreateRotationCommand").f(void 0, void 0).ser(se_CreateRotationCommand).de(de_CreateRotationCommand).build() {
|
|
2964
|
+
};
|
|
2965
|
+
__name(_CreateRotationCommand, "CreateRotationCommand");
|
|
2966
|
+
var CreateRotationCommand = _CreateRotationCommand;
|
|
2967
|
+
|
|
2968
|
+
// src/commands/CreateRotationOverrideCommand.ts
|
|
2969
|
+
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
var _CreateRotationOverrideCommand = class _CreateRotationOverrideCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2974
|
+
...commonParams
|
|
2975
|
+
}).m(function(Command, cs, config, o) {
|
|
2976
|
+
return [
|
|
2977
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2978
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2979
|
+
];
|
|
2980
|
+
}).s("SSMContacts", "CreateRotationOverride", {}).n("SSMContactsClient", "CreateRotationOverrideCommand").f(void 0, void 0).ser(se_CreateRotationOverrideCommand).de(de_CreateRotationOverrideCommand).build() {
|
|
2981
|
+
};
|
|
2982
|
+
__name(_CreateRotationOverrideCommand, "CreateRotationOverrideCommand");
|
|
2983
|
+
var CreateRotationOverrideCommand = _CreateRotationOverrideCommand;
|
|
2984
|
+
|
|
2985
|
+
// src/commands/DeactivateContactChannelCommand.ts
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
var _DeactivateContactChannelCommand = class _DeactivateContactChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2991
|
+
...commonParams
|
|
2992
|
+
}).m(function(Command, cs, config, o) {
|
|
2993
|
+
return [
|
|
2994
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2995
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2996
|
+
];
|
|
2997
|
+
}).s("SSMContacts", "DeactivateContactChannel", {}).n("SSMContactsClient", "DeactivateContactChannelCommand").f(void 0, void 0).ser(se_DeactivateContactChannelCommand).de(de_DeactivateContactChannelCommand).build() {
|
|
2998
|
+
};
|
|
2999
|
+
__name(_DeactivateContactChannelCommand, "DeactivateContactChannelCommand");
|
|
3000
|
+
var DeactivateContactChannelCommand = _DeactivateContactChannelCommand;
|
|
3001
|
+
|
|
3002
|
+
// src/commands/DeleteContactChannelCommand.ts
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
var _DeleteContactChannelCommand = class _DeleteContactChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3008
|
+
...commonParams
|
|
3009
|
+
}).m(function(Command, cs, config, o) {
|
|
3010
|
+
return [
|
|
3011
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3012
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3013
|
+
];
|
|
3014
|
+
}).s("SSMContacts", "DeleteContactChannel", {}).n("SSMContactsClient", "DeleteContactChannelCommand").f(void 0, void 0).ser(se_DeleteContactChannelCommand).de(de_DeleteContactChannelCommand).build() {
|
|
3015
|
+
};
|
|
3016
|
+
__name(_DeleteContactChannelCommand, "DeleteContactChannelCommand");
|
|
3017
|
+
var DeleteContactChannelCommand = _DeleteContactChannelCommand;
|
|
3018
|
+
|
|
3019
|
+
// src/commands/DeleteContactCommand.ts
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
var _DeleteContactCommand = class _DeleteContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3025
|
+
...commonParams
|
|
3026
|
+
}).m(function(Command, cs, config, o) {
|
|
3027
|
+
return [
|
|
3028
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3029
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3030
|
+
];
|
|
3031
|
+
}).s("SSMContacts", "DeleteContact", {}).n("SSMContactsClient", "DeleteContactCommand").f(void 0, void 0).ser(se_DeleteContactCommand).de(de_DeleteContactCommand).build() {
|
|
3032
|
+
};
|
|
3033
|
+
__name(_DeleteContactCommand, "DeleteContactCommand");
|
|
3034
|
+
var DeleteContactCommand = _DeleteContactCommand;
|
|
3035
|
+
|
|
3036
|
+
// src/commands/DeleteRotationCommand.ts
|
|
3037
|
+
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
var _DeleteRotationCommand = class _DeleteRotationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3042
|
+
...commonParams
|
|
3043
|
+
}).m(function(Command, cs, config, o) {
|
|
3044
|
+
return [
|
|
3045
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3046
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3047
|
+
];
|
|
3048
|
+
}).s("SSMContacts", "DeleteRotation", {}).n("SSMContactsClient", "DeleteRotationCommand").f(void 0, void 0).ser(se_DeleteRotationCommand).de(de_DeleteRotationCommand).build() {
|
|
3049
|
+
};
|
|
3050
|
+
__name(_DeleteRotationCommand, "DeleteRotationCommand");
|
|
3051
|
+
var DeleteRotationCommand = _DeleteRotationCommand;
|
|
3052
|
+
|
|
3053
|
+
// src/commands/DeleteRotationOverrideCommand.ts
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
var _DeleteRotationOverrideCommand = class _DeleteRotationOverrideCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3059
|
+
...commonParams
|
|
3060
|
+
}).m(function(Command, cs, config, o) {
|
|
3061
|
+
return [
|
|
3062
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3063
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3064
|
+
];
|
|
3065
|
+
}).s("SSMContacts", "DeleteRotationOverride", {}).n("SSMContactsClient", "DeleteRotationOverrideCommand").f(void 0, void 0).ser(se_DeleteRotationOverrideCommand).de(de_DeleteRotationOverrideCommand).build() {
|
|
3066
|
+
};
|
|
3067
|
+
__name(_DeleteRotationOverrideCommand, "DeleteRotationOverrideCommand");
|
|
3068
|
+
var DeleteRotationOverrideCommand = _DeleteRotationOverrideCommand;
|
|
3069
|
+
|
|
3070
|
+
// src/commands/DescribeEngagementCommand.ts
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
var _DescribeEngagementCommand = class _DescribeEngagementCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3076
|
+
...commonParams
|
|
3077
|
+
}).m(function(Command, cs, config, o) {
|
|
3078
|
+
return [
|
|
3079
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3080
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3081
|
+
];
|
|
3082
|
+
}).s("SSMContacts", "DescribeEngagement", {}).n("SSMContactsClient", "DescribeEngagementCommand").f(void 0, void 0).ser(se_DescribeEngagementCommand).de(de_DescribeEngagementCommand).build() {
|
|
3083
|
+
};
|
|
3084
|
+
__name(_DescribeEngagementCommand, "DescribeEngagementCommand");
|
|
3085
|
+
var DescribeEngagementCommand = _DescribeEngagementCommand;
|
|
3086
|
+
|
|
3087
|
+
// src/commands/DescribePageCommand.ts
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
var _DescribePageCommand = class _DescribePageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3093
|
+
...commonParams
|
|
3094
|
+
}).m(function(Command, cs, config, o) {
|
|
3095
|
+
return [
|
|
3096
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3097
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3098
|
+
];
|
|
3099
|
+
}).s("SSMContacts", "DescribePage", {}).n("SSMContactsClient", "DescribePageCommand").f(void 0, void 0).ser(se_DescribePageCommand).de(de_DescribePageCommand).build() {
|
|
3100
|
+
};
|
|
3101
|
+
__name(_DescribePageCommand, "DescribePageCommand");
|
|
3102
|
+
var DescribePageCommand = _DescribePageCommand;
|
|
3103
|
+
|
|
3104
|
+
// src/commands/GetContactChannelCommand.ts
|
|
3105
|
+
|
|
3106
|
+
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
var _GetContactChannelCommand = class _GetContactChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3110
|
+
...commonParams
|
|
3111
|
+
}).m(function(Command, cs, config, o) {
|
|
3112
|
+
return [
|
|
3113
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3114
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3115
|
+
];
|
|
3116
|
+
}).s("SSMContacts", "GetContactChannel", {}).n("SSMContactsClient", "GetContactChannelCommand").f(void 0, void 0).ser(se_GetContactChannelCommand).de(de_GetContactChannelCommand).build() {
|
|
3117
|
+
};
|
|
3118
|
+
__name(_GetContactChannelCommand, "GetContactChannelCommand");
|
|
3119
|
+
var GetContactChannelCommand = _GetContactChannelCommand;
|
|
3120
|
+
|
|
3121
|
+
// src/commands/GetContactCommand.ts
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
|
|
3126
|
+
var _GetContactCommand = class _GetContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3127
|
+
...commonParams
|
|
3128
|
+
}).m(function(Command, cs, config, o) {
|
|
3129
|
+
return [
|
|
3130
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3131
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3132
|
+
];
|
|
3133
|
+
}).s("SSMContacts", "GetContact", {}).n("SSMContactsClient", "GetContactCommand").f(void 0, void 0).ser(se_GetContactCommand).de(de_GetContactCommand).build() {
|
|
3134
|
+
};
|
|
3135
|
+
__name(_GetContactCommand, "GetContactCommand");
|
|
3136
|
+
var GetContactCommand = _GetContactCommand;
|
|
3137
|
+
|
|
3138
|
+
// src/commands/GetContactPolicyCommand.ts
|
|
3139
|
+
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
|
+
|
|
3143
|
+
var _GetContactPolicyCommand = class _GetContactPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3144
|
+
...commonParams
|
|
3145
|
+
}).m(function(Command, cs, config, o) {
|
|
3146
|
+
return [
|
|
3147
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3148
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3149
|
+
];
|
|
3150
|
+
}).s("SSMContacts", "GetContactPolicy", {}).n("SSMContactsClient", "GetContactPolicyCommand").f(void 0, void 0).ser(se_GetContactPolicyCommand).de(de_GetContactPolicyCommand).build() {
|
|
3151
|
+
};
|
|
3152
|
+
__name(_GetContactPolicyCommand, "GetContactPolicyCommand");
|
|
3153
|
+
var GetContactPolicyCommand = _GetContactPolicyCommand;
|
|
3154
|
+
|
|
3155
|
+
// src/commands/GetRotationCommand.ts
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
var _GetRotationCommand = class _GetRotationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3161
|
+
...commonParams
|
|
3162
|
+
}).m(function(Command, cs, config, o) {
|
|
3163
|
+
return [
|
|
3164
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3165
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3166
|
+
];
|
|
3167
|
+
}).s("SSMContacts", "GetRotation", {}).n("SSMContactsClient", "GetRotationCommand").f(void 0, void 0).ser(se_GetRotationCommand).de(de_GetRotationCommand).build() {
|
|
3168
|
+
};
|
|
3169
|
+
__name(_GetRotationCommand, "GetRotationCommand");
|
|
3170
|
+
var GetRotationCommand = _GetRotationCommand;
|
|
3171
|
+
|
|
3172
|
+
// src/commands/GetRotationOverrideCommand.ts
|
|
3173
|
+
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
var _GetRotationOverrideCommand = class _GetRotationOverrideCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3178
|
+
...commonParams
|
|
3179
|
+
}).m(function(Command, cs, config, o) {
|
|
3180
|
+
return [
|
|
3181
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3182
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3183
|
+
];
|
|
3184
|
+
}).s("SSMContacts", "GetRotationOverride", {}).n("SSMContactsClient", "GetRotationOverrideCommand").f(void 0, void 0).ser(se_GetRotationOverrideCommand).de(de_GetRotationOverrideCommand).build() {
|
|
3185
|
+
};
|
|
3186
|
+
__name(_GetRotationOverrideCommand, "GetRotationOverrideCommand");
|
|
3187
|
+
var GetRotationOverrideCommand = _GetRotationOverrideCommand;
|
|
3188
|
+
|
|
3189
|
+
// src/commands/ListContactChannelsCommand.ts
|
|
3190
|
+
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
var _ListContactChannelsCommand = class _ListContactChannelsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3195
|
+
...commonParams
|
|
3196
|
+
}).m(function(Command, cs, config, o) {
|
|
3197
|
+
return [
|
|
3198
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3199
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3200
|
+
];
|
|
3201
|
+
}).s("SSMContacts", "ListContactChannels", {}).n("SSMContactsClient", "ListContactChannelsCommand").f(void 0, void 0).ser(se_ListContactChannelsCommand).de(de_ListContactChannelsCommand).build() {
|
|
3202
|
+
};
|
|
3203
|
+
__name(_ListContactChannelsCommand, "ListContactChannelsCommand");
|
|
3204
|
+
var ListContactChannelsCommand = _ListContactChannelsCommand;
|
|
3205
|
+
|
|
3206
|
+
// src/commands/ListContactsCommand.ts
|
|
3207
|
+
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
|
|
3211
|
+
var _ListContactsCommand = class _ListContactsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3212
|
+
...commonParams
|
|
3213
|
+
}).m(function(Command, cs, config, o) {
|
|
3214
|
+
return [
|
|
3215
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3216
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3217
|
+
];
|
|
3218
|
+
}).s("SSMContacts", "ListContacts", {}).n("SSMContactsClient", "ListContactsCommand").f(void 0, void 0).ser(se_ListContactsCommand).de(de_ListContactsCommand).build() {
|
|
3219
|
+
};
|
|
3220
|
+
__name(_ListContactsCommand, "ListContactsCommand");
|
|
3221
|
+
var ListContactsCommand = _ListContactsCommand;
|
|
3222
|
+
|
|
3223
|
+
// src/commands/ListEngagementsCommand.ts
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
var _ListEngagementsCommand = class _ListEngagementsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3229
|
+
...commonParams
|
|
3230
|
+
}).m(function(Command, cs, config, o) {
|
|
3231
|
+
return [
|
|
3232
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3233
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3234
|
+
];
|
|
3235
|
+
}).s("SSMContacts", "ListEngagements", {}).n("SSMContactsClient", "ListEngagementsCommand").f(void 0, void 0).ser(se_ListEngagementsCommand).de(de_ListEngagementsCommand).build() {
|
|
3236
|
+
};
|
|
3237
|
+
__name(_ListEngagementsCommand, "ListEngagementsCommand");
|
|
3238
|
+
var ListEngagementsCommand = _ListEngagementsCommand;
|
|
3239
|
+
|
|
3240
|
+
// src/commands/ListPageReceiptsCommand.ts
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
|
|
3244
|
+
|
|
3245
|
+
var _ListPageReceiptsCommand = class _ListPageReceiptsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3246
|
+
...commonParams
|
|
3247
|
+
}).m(function(Command, cs, config, o) {
|
|
3248
|
+
return [
|
|
3249
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3250
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3251
|
+
];
|
|
3252
|
+
}).s("SSMContacts", "ListPageReceipts", {}).n("SSMContactsClient", "ListPageReceiptsCommand").f(void 0, void 0).ser(se_ListPageReceiptsCommand).de(de_ListPageReceiptsCommand).build() {
|
|
3253
|
+
};
|
|
3254
|
+
__name(_ListPageReceiptsCommand, "ListPageReceiptsCommand");
|
|
3255
|
+
var ListPageReceiptsCommand = _ListPageReceiptsCommand;
|
|
3256
|
+
|
|
3257
|
+
// src/commands/ListPageResolutionsCommand.ts
|
|
3258
|
+
|
|
3259
|
+
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
var _ListPageResolutionsCommand = class _ListPageResolutionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3263
|
+
...commonParams
|
|
3264
|
+
}).m(function(Command, cs, config, o) {
|
|
3265
|
+
return [
|
|
3266
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3267
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3268
|
+
];
|
|
3269
|
+
}).s("SSMContacts", "ListPageResolutions", {}).n("SSMContactsClient", "ListPageResolutionsCommand").f(void 0, void 0).ser(se_ListPageResolutionsCommand).de(de_ListPageResolutionsCommand).build() {
|
|
3270
|
+
};
|
|
3271
|
+
__name(_ListPageResolutionsCommand, "ListPageResolutionsCommand");
|
|
3272
|
+
var ListPageResolutionsCommand = _ListPageResolutionsCommand;
|
|
3273
|
+
|
|
3274
|
+
// src/commands/ListPagesByContactCommand.ts
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
|
|
3278
|
+
|
|
3279
|
+
var _ListPagesByContactCommand = class _ListPagesByContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3280
|
+
...commonParams
|
|
3281
|
+
}).m(function(Command, cs, config, o) {
|
|
3282
|
+
return [
|
|
3283
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3284
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3285
|
+
];
|
|
3286
|
+
}).s("SSMContacts", "ListPagesByContact", {}).n("SSMContactsClient", "ListPagesByContactCommand").f(void 0, void 0).ser(se_ListPagesByContactCommand).de(de_ListPagesByContactCommand).build() {
|
|
3287
|
+
};
|
|
3288
|
+
__name(_ListPagesByContactCommand, "ListPagesByContactCommand");
|
|
3289
|
+
var ListPagesByContactCommand = _ListPagesByContactCommand;
|
|
3290
|
+
|
|
3291
|
+
// src/commands/ListPagesByEngagementCommand.ts
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
var _ListPagesByEngagementCommand = class _ListPagesByEngagementCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3297
|
+
...commonParams
|
|
3298
|
+
}).m(function(Command, cs, config, o) {
|
|
3299
|
+
return [
|
|
3300
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3301
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3302
|
+
];
|
|
3303
|
+
}).s("SSMContacts", "ListPagesByEngagement", {}).n("SSMContactsClient", "ListPagesByEngagementCommand").f(void 0, void 0).ser(se_ListPagesByEngagementCommand).de(de_ListPagesByEngagementCommand).build() {
|
|
3304
|
+
};
|
|
3305
|
+
__name(_ListPagesByEngagementCommand, "ListPagesByEngagementCommand");
|
|
3306
|
+
var ListPagesByEngagementCommand = _ListPagesByEngagementCommand;
|
|
3307
|
+
|
|
3308
|
+
// src/commands/ListPreviewRotationShiftsCommand.ts
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
|
|
3313
|
+
var _ListPreviewRotationShiftsCommand = class _ListPreviewRotationShiftsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3314
|
+
...commonParams
|
|
3315
|
+
}).m(function(Command, cs, config, o) {
|
|
3316
|
+
return [
|
|
3317
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3318
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3319
|
+
];
|
|
3320
|
+
}).s("SSMContacts", "ListPreviewRotationShifts", {}).n("SSMContactsClient", "ListPreviewRotationShiftsCommand").f(void 0, void 0).ser(se_ListPreviewRotationShiftsCommand).de(de_ListPreviewRotationShiftsCommand).build() {
|
|
3321
|
+
};
|
|
3322
|
+
__name(_ListPreviewRotationShiftsCommand, "ListPreviewRotationShiftsCommand");
|
|
3323
|
+
var ListPreviewRotationShiftsCommand = _ListPreviewRotationShiftsCommand;
|
|
3324
|
+
|
|
3325
|
+
// src/commands/ListRotationOverridesCommand.ts
|
|
3326
|
+
|
|
3327
|
+
|
|
3328
|
+
|
|
3329
|
+
|
|
3330
|
+
var _ListRotationOverridesCommand = class _ListRotationOverridesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3331
|
+
...commonParams
|
|
3332
|
+
}).m(function(Command, cs, config, o) {
|
|
3333
|
+
return [
|
|
3334
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3335
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3336
|
+
];
|
|
3337
|
+
}).s("SSMContacts", "ListRotationOverrides", {}).n("SSMContactsClient", "ListRotationOverridesCommand").f(void 0, void 0).ser(se_ListRotationOverridesCommand).de(de_ListRotationOverridesCommand).build() {
|
|
3338
|
+
};
|
|
3339
|
+
__name(_ListRotationOverridesCommand, "ListRotationOverridesCommand");
|
|
3340
|
+
var ListRotationOverridesCommand = _ListRotationOverridesCommand;
|
|
3341
|
+
|
|
3342
|
+
// src/commands/ListRotationsCommand.ts
|
|
3343
|
+
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
|
|
3347
|
+
var _ListRotationsCommand = class _ListRotationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3348
|
+
...commonParams
|
|
3349
|
+
}).m(function(Command, cs, config, o) {
|
|
3350
|
+
return [
|
|
3351
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3352
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3353
|
+
];
|
|
3354
|
+
}).s("SSMContacts", "ListRotations", {}).n("SSMContactsClient", "ListRotationsCommand").f(void 0, void 0).ser(se_ListRotationsCommand).de(de_ListRotationsCommand).build() {
|
|
3355
|
+
};
|
|
3356
|
+
__name(_ListRotationsCommand, "ListRotationsCommand");
|
|
3357
|
+
var ListRotationsCommand = _ListRotationsCommand;
|
|
3358
|
+
|
|
3359
|
+
// src/commands/ListRotationShiftsCommand.ts
|
|
3360
|
+
|
|
3361
|
+
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
var _ListRotationShiftsCommand = class _ListRotationShiftsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3365
|
+
...commonParams
|
|
3366
|
+
}).m(function(Command, cs, config, o) {
|
|
3367
|
+
return [
|
|
3368
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3369
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3370
|
+
];
|
|
3371
|
+
}).s("SSMContacts", "ListRotationShifts", {}).n("SSMContactsClient", "ListRotationShiftsCommand").f(void 0, void 0).ser(se_ListRotationShiftsCommand).de(de_ListRotationShiftsCommand).build() {
|
|
3372
|
+
};
|
|
3373
|
+
__name(_ListRotationShiftsCommand, "ListRotationShiftsCommand");
|
|
3374
|
+
var ListRotationShiftsCommand = _ListRotationShiftsCommand;
|
|
3375
|
+
|
|
3376
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
|
|
3380
|
+
|
|
3381
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3382
|
+
...commonParams
|
|
3383
|
+
}).m(function(Command, cs, config, o) {
|
|
3384
|
+
return [
|
|
3385
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3386
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3387
|
+
];
|
|
3388
|
+
}).s("SSMContacts", "ListTagsForResource", {}).n("SSMContactsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3389
|
+
};
|
|
3390
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3391
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3392
|
+
|
|
3393
|
+
// src/commands/PutContactPolicyCommand.ts
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
|
|
3397
|
+
|
|
3398
|
+
var _PutContactPolicyCommand = class _PutContactPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3399
|
+
...commonParams
|
|
3400
|
+
}).m(function(Command, cs, config, o) {
|
|
3401
|
+
return [
|
|
3402
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3403
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3404
|
+
];
|
|
3405
|
+
}).s("SSMContacts", "PutContactPolicy", {}).n("SSMContactsClient", "PutContactPolicyCommand").f(void 0, void 0).ser(se_PutContactPolicyCommand).de(de_PutContactPolicyCommand).build() {
|
|
3406
|
+
};
|
|
3407
|
+
__name(_PutContactPolicyCommand, "PutContactPolicyCommand");
|
|
3408
|
+
var PutContactPolicyCommand = _PutContactPolicyCommand;
|
|
3409
|
+
|
|
3410
|
+
// src/commands/SendActivationCodeCommand.ts
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
|
|
3414
|
+
|
|
3415
|
+
var _SendActivationCodeCommand = class _SendActivationCodeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3416
|
+
...commonParams
|
|
3417
|
+
}).m(function(Command, cs, config, o) {
|
|
3418
|
+
return [
|
|
3419
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3420
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3421
|
+
];
|
|
3422
|
+
}).s("SSMContacts", "SendActivationCode", {}).n("SSMContactsClient", "SendActivationCodeCommand").f(void 0, void 0).ser(se_SendActivationCodeCommand).de(de_SendActivationCodeCommand).build() {
|
|
3423
|
+
};
|
|
3424
|
+
__name(_SendActivationCodeCommand, "SendActivationCodeCommand");
|
|
3425
|
+
var SendActivationCodeCommand = _SendActivationCodeCommand;
|
|
3426
|
+
|
|
3427
|
+
// src/commands/StartEngagementCommand.ts
|
|
3428
|
+
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
|
|
3432
|
+
var _StartEngagementCommand = class _StartEngagementCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3433
|
+
...commonParams
|
|
3434
|
+
}).m(function(Command, cs, config, o) {
|
|
3435
|
+
return [
|
|
3436
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3437
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3438
|
+
];
|
|
3439
|
+
}).s("SSMContacts", "StartEngagement", {}).n("SSMContactsClient", "StartEngagementCommand").f(void 0, void 0).ser(se_StartEngagementCommand).de(de_StartEngagementCommand).build() {
|
|
3440
|
+
};
|
|
3441
|
+
__name(_StartEngagementCommand, "StartEngagementCommand");
|
|
3442
|
+
var StartEngagementCommand = _StartEngagementCommand;
|
|
3443
|
+
|
|
3444
|
+
// src/commands/StopEngagementCommand.ts
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
|
|
3448
|
+
|
|
3449
|
+
var _StopEngagementCommand = class _StopEngagementCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3450
|
+
...commonParams
|
|
3451
|
+
}).m(function(Command, cs, config, o) {
|
|
3452
|
+
return [
|
|
3453
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3454
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3455
|
+
];
|
|
3456
|
+
}).s("SSMContacts", "StopEngagement", {}).n("SSMContactsClient", "StopEngagementCommand").f(void 0, void 0).ser(se_StopEngagementCommand).de(de_StopEngagementCommand).build() {
|
|
3457
|
+
};
|
|
3458
|
+
__name(_StopEngagementCommand, "StopEngagementCommand");
|
|
3459
|
+
var StopEngagementCommand = _StopEngagementCommand;
|
|
3460
|
+
|
|
3461
|
+
// src/commands/TagResourceCommand.ts
|
|
3462
|
+
|
|
3463
|
+
|
|
3464
|
+
|
|
3465
|
+
|
|
3466
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3467
|
+
...commonParams
|
|
3468
|
+
}).m(function(Command, cs, config, o) {
|
|
3469
|
+
return [
|
|
3470
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3471
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3472
|
+
];
|
|
3473
|
+
}).s("SSMContacts", "TagResource", {}).n("SSMContactsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3474
|
+
};
|
|
3475
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3476
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3477
|
+
|
|
3478
|
+
// src/commands/UntagResourceCommand.ts
|
|
3479
|
+
|
|
3480
|
+
|
|
3481
|
+
|
|
3482
|
+
|
|
3483
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3484
|
+
...commonParams
|
|
3485
|
+
}).m(function(Command, cs, config, o) {
|
|
3486
|
+
return [
|
|
3487
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3488
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3489
|
+
];
|
|
3490
|
+
}).s("SSMContacts", "UntagResource", {}).n("SSMContactsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3491
|
+
};
|
|
3492
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3493
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3494
|
+
|
|
3495
|
+
// src/commands/UpdateContactChannelCommand.ts
|
|
3496
|
+
|
|
3497
|
+
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
var _UpdateContactChannelCommand = class _UpdateContactChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3501
|
+
...commonParams
|
|
3502
|
+
}).m(function(Command, cs, config, o) {
|
|
3503
|
+
return [
|
|
3504
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3505
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3506
|
+
];
|
|
3507
|
+
}).s("SSMContacts", "UpdateContactChannel", {}).n("SSMContactsClient", "UpdateContactChannelCommand").f(void 0, void 0).ser(se_UpdateContactChannelCommand).de(de_UpdateContactChannelCommand).build() {
|
|
3508
|
+
};
|
|
3509
|
+
__name(_UpdateContactChannelCommand, "UpdateContactChannelCommand");
|
|
3510
|
+
var UpdateContactChannelCommand = _UpdateContactChannelCommand;
|
|
3511
|
+
|
|
3512
|
+
// src/commands/UpdateContactCommand.ts
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
|
|
3516
|
+
|
|
3517
|
+
var _UpdateContactCommand = class _UpdateContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3518
|
+
...commonParams
|
|
3519
|
+
}).m(function(Command, cs, config, o) {
|
|
3520
|
+
return [
|
|
3521
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3522
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3523
|
+
];
|
|
3524
|
+
}).s("SSMContacts", "UpdateContact", {}).n("SSMContactsClient", "UpdateContactCommand").f(void 0, void 0).ser(se_UpdateContactCommand).de(de_UpdateContactCommand).build() {
|
|
3525
|
+
};
|
|
3526
|
+
__name(_UpdateContactCommand, "UpdateContactCommand");
|
|
3527
|
+
var UpdateContactCommand = _UpdateContactCommand;
|
|
3528
|
+
|
|
3529
|
+
// src/commands/UpdateRotationCommand.ts
|
|
3530
|
+
|
|
3531
|
+
|
|
3532
|
+
|
|
3533
|
+
|
|
3534
|
+
var _UpdateRotationCommand = class _UpdateRotationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3535
|
+
...commonParams
|
|
3536
|
+
}).m(function(Command, cs, config, o) {
|
|
3537
|
+
return [
|
|
3538
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3539
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3540
|
+
];
|
|
3541
|
+
}).s("SSMContacts", "UpdateRotation", {}).n("SSMContactsClient", "UpdateRotationCommand").f(void 0, void 0).ser(se_UpdateRotationCommand).de(de_UpdateRotationCommand).build() {
|
|
3542
|
+
};
|
|
3543
|
+
__name(_UpdateRotationCommand, "UpdateRotationCommand");
|
|
3544
|
+
var UpdateRotationCommand = _UpdateRotationCommand;
|
|
3545
|
+
|
|
3546
|
+
// src/SSMContacts.ts
|
|
3547
|
+
var commands = {
|
|
3548
|
+
AcceptPageCommand,
|
|
3549
|
+
ActivateContactChannelCommand,
|
|
3550
|
+
CreateContactCommand,
|
|
3551
|
+
CreateContactChannelCommand,
|
|
3552
|
+
CreateRotationCommand,
|
|
3553
|
+
CreateRotationOverrideCommand,
|
|
3554
|
+
DeactivateContactChannelCommand,
|
|
3555
|
+
DeleteContactCommand,
|
|
3556
|
+
DeleteContactChannelCommand,
|
|
3557
|
+
DeleteRotationCommand,
|
|
3558
|
+
DeleteRotationOverrideCommand,
|
|
3559
|
+
DescribeEngagementCommand,
|
|
3560
|
+
DescribePageCommand,
|
|
3561
|
+
GetContactCommand,
|
|
3562
|
+
GetContactChannelCommand,
|
|
3563
|
+
GetContactPolicyCommand,
|
|
3564
|
+
GetRotationCommand,
|
|
3565
|
+
GetRotationOverrideCommand,
|
|
3566
|
+
ListContactChannelsCommand,
|
|
3567
|
+
ListContactsCommand,
|
|
3568
|
+
ListEngagementsCommand,
|
|
3569
|
+
ListPageReceiptsCommand,
|
|
3570
|
+
ListPageResolutionsCommand,
|
|
3571
|
+
ListPagesByContactCommand,
|
|
3572
|
+
ListPagesByEngagementCommand,
|
|
3573
|
+
ListPreviewRotationShiftsCommand,
|
|
3574
|
+
ListRotationOverridesCommand,
|
|
3575
|
+
ListRotationsCommand,
|
|
3576
|
+
ListRotationShiftsCommand,
|
|
3577
|
+
ListTagsForResourceCommand,
|
|
3578
|
+
PutContactPolicyCommand,
|
|
3579
|
+
SendActivationCodeCommand,
|
|
3580
|
+
StartEngagementCommand,
|
|
3581
|
+
StopEngagementCommand,
|
|
3582
|
+
TagResourceCommand,
|
|
3583
|
+
UntagResourceCommand,
|
|
3584
|
+
UpdateContactCommand,
|
|
3585
|
+
UpdateContactChannelCommand,
|
|
3586
|
+
UpdateRotationCommand
|
|
3587
|
+
};
|
|
3588
|
+
var _SSMContacts = class _SSMContacts extends SSMContactsClient {
|
|
3589
|
+
};
|
|
3590
|
+
__name(_SSMContacts, "SSMContacts");
|
|
3591
|
+
var SSMContacts = _SSMContacts;
|
|
3592
|
+
(0, import_smithy_client.createAggregatedClient)(commands, SSMContacts);
|
|
3593
|
+
|
|
3594
|
+
// src/pagination/ListContactChannelsPaginator.ts
|
|
3595
|
+
var import_core = require("@smithy/core");
|
|
3596
|
+
var paginateListContactChannels = (0, import_core.createPaginator)(SSMContactsClient, ListContactChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3597
|
+
|
|
3598
|
+
// src/pagination/ListContactsPaginator.ts
|
|
3599
|
+
|
|
3600
|
+
var paginateListContacts = (0, import_core.createPaginator)(SSMContactsClient, ListContactsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3601
|
+
|
|
3602
|
+
// src/pagination/ListEngagementsPaginator.ts
|
|
3603
|
+
|
|
3604
|
+
var paginateListEngagements = (0, import_core.createPaginator)(SSMContactsClient, ListEngagementsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3605
|
+
|
|
3606
|
+
// src/pagination/ListPageReceiptsPaginator.ts
|
|
3607
|
+
|
|
3608
|
+
var paginateListPageReceipts = (0, import_core.createPaginator)(SSMContactsClient, ListPageReceiptsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3609
|
+
|
|
3610
|
+
// src/pagination/ListPageResolutionsPaginator.ts
|
|
3611
|
+
|
|
3612
|
+
var paginateListPageResolutions = (0, import_core.createPaginator)(SSMContactsClient, ListPageResolutionsCommand, "NextToken", "NextToken", "");
|
|
3613
|
+
|
|
3614
|
+
// src/pagination/ListPagesByContactPaginator.ts
|
|
3615
|
+
|
|
3616
|
+
var paginateListPagesByContact = (0, import_core.createPaginator)(SSMContactsClient, ListPagesByContactCommand, "NextToken", "NextToken", "MaxResults");
|
|
3617
|
+
|
|
3618
|
+
// src/pagination/ListPagesByEngagementPaginator.ts
|
|
3619
|
+
|
|
3620
|
+
var paginateListPagesByEngagement = (0, import_core.createPaginator)(SSMContactsClient, ListPagesByEngagementCommand, "NextToken", "NextToken", "MaxResults");
|
|
3621
|
+
|
|
3622
|
+
// src/pagination/ListPreviewRotationShiftsPaginator.ts
|
|
3623
|
+
|
|
3624
|
+
var paginateListPreviewRotationShifts = (0, import_core.createPaginator)(SSMContactsClient, ListPreviewRotationShiftsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3625
|
+
|
|
3626
|
+
// src/pagination/ListRotationOverridesPaginator.ts
|
|
3627
|
+
|
|
3628
|
+
var paginateListRotationOverrides = (0, import_core.createPaginator)(SSMContactsClient, ListRotationOverridesCommand, "NextToken", "NextToken", "MaxResults");
|
|
3629
|
+
|
|
3630
|
+
// src/pagination/ListRotationShiftsPaginator.ts
|
|
3631
|
+
|
|
3632
|
+
var paginateListRotationShifts = (0, import_core.createPaginator)(SSMContactsClient, ListRotationShiftsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3633
|
+
|
|
3634
|
+
// src/pagination/ListRotationsPaginator.ts
|
|
3635
|
+
|
|
3636
|
+
var paginateListRotations = (0, import_core.createPaginator)(SSMContactsClient, ListRotationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3637
|
+
|
|
3638
|
+
// src/index.ts
|
|
3639
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3640
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3641
|
+
0 && (module.exports = {
|
|
3642
|
+
AcceptCodeValidation,
|
|
3643
|
+
AcceptPageCommand,
|
|
3644
|
+
AcceptType,
|
|
3645
|
+
AccessDeniedException,
|
|
3646
|
+
ActivateContactChannelCommand,
|
|
3647
|
+
ActivationStatus,
|
|
3648
|
+
ChannelType,
|
|
3649
|
+
ConflictException,
|
|
3650
|
+
ContactType,
|
|
3651
|
+
CreateContactChannelCommand,
|
|
3652
|
+
CreateContactCommand,
|
|
3653
|
+
CreateRotationCommand,
|
|
3654
|
+
CreateRotationOverrideCommand,
|
|
3655
|
+
DataEncryptionException,
|
|
3656
|
+
DayOfWeek,
|
|
3657
|
+
DeactivateContactChannelCommand,
|
|
3658
|
+
DeleteContactChannelCommand,
|
|
3659
|
+
DeleteContactCommand,
|
|
3660
|
+
DeleteRotationCommand,
|
|
3661
|
+
DeleteRotationOverrideCommand,
|
|
3662
|
+
DescribeEngagementCommand,
|
|
3663
|
+
DescribePageCommand,
|
|
3664
|
+
GetContactChannelCommand,
|
|
3665
|
+
GetContactCommand,
|
|
3666
|
+
GetContactPolicyCommand,
|
|
3667
|
+
GetRotationCommand,
|
|
3668
|
+
GetRotationOverrideCommand,
|
|
3669
|
+
InternalServerException,
|
|
3670
|
+
ListContactChannelsCommand,
|
|
3671
|
+
ListContactsCommand,
|
|
3672
|
+
ListEngagementsCommand,
|
|
3673
|
+
ListPageReceiptsCommand,
|
|
3674
|
+
ListPageResolutionsCommand,
|
|
3675
|
+
ListPagesByContactCommand,
|
|
3676
|
+
ListPagesByEngagementCommand,
|
|
3677
|
+
ListPreviewRotationShiftsCommand,
|
|
3678
|
+
ListRotationOverridesCommand,
|
|
3679
|
+
ListRotationShiftsCommand,
|
|
3680
|
+
ListRotationsCommand,
|
|
3681
|
+
ListTagsForResourceCommand,
|
|
3682
|
+
PutContactPolicyCommand,
|
|
3683
|
+
ReceiptType,
|
|
3684
|
+
ResourceNotFoundException,
|
|
3685
|
+
SSMContacts,
|
|
3686
|
+
SSMContactsClient,
|
|
3687
|
+
SSMContactsServiceException,
|
|
3688
|
+
SendActivationCodeCommand,
|
|
3689
|
+
ServiceQuotaExceededException,
|
|
3690
|
+
ShiftType,
|
|
3691
|
+
StartEngagementCommand,
|
|
3692
|
+
StopEngagementCommand,
|
|
3693
|
+
TagResourceCommand,
|
|
3694
|
+
ThrottlingException,
|
|
3695
|
+
UntagResourceCommand,
|
|
3696
|
+
UpdateContactChannelCommand,
|
|
3697
|
+
UpdateContactCommand,
|
|
3698
|
+
UpdateRotationCommand,
|
|
3699
|
+
ValidationException,
|
|
3700
|
+
ValidationExceptionReason,
|
|
3701
|
+
__Client,
|
|
3702
|
+
paginateListContactChannels,
|
|
3703
|
+
paginateListContacts,
|
|
3704
|
+
paginateListEngagements,
|
|
3705
|
+
paginateListPageReceipts,
|
|
3706
|
+
paginateListPageResolutions,
|
|
3707
|
+
paginateListPagesByContact,
|
|
3708
|
+
paginateListPagesByEngagement,
|
|
3709
|
+
paginateListPreviewRotationShifts,
|
|
3710
|
+
paginateListRotationOverrides,
|
|
3711
|
+
paginateListRotationShifts,
|
|
3712
|
+
paginateListRotations
|
|
3713
|
+
});
|