@aws-sdk/client-medialive 3.549.0 → 3.554.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/README.md +216 -0
- package/dist-cjs/index.js +2212 -147
- package/dist-es/MediaLive.js +54 -0
- package/dist-es/commands/CreateCloudWatchAlarmTemplateCommand.js +24 -0
- package/dist-es/commands/CreateCloudWatchAlarmTemplateGroupCommand.js +24 -0
- package/dist-es/commands/CreateEventBridgeRuleTemplateCommand.js +24 -0
- package/dist-es/commands/CreateEventBridgeRuleTemplateGroupCommand.js +24 -0
- package/dist-es/commands/CreateSignalMapCommand.js +24 -0
- package/dist-es/commands/DeleteCloudWatchAlarmTemplateCommand.js +24 -0
- package/dist-es/commands/DeleteCloudWatchAlarmTemplateGroupCommand.js +24 -0
- package/dist-es/commands/DeleteEventBridgeRuleTemplateCommand.js +24 -0
- package/dist-es/commands/DeleteEventBridgeRuleTemplateGroupCommand.js +24 -0
- package/dist-es/commands/DeleteSignalMapCommand.js +24 -0
- package/dist-es/commands/DescribeInputDeviceThumbnailCommand.js +1 -1
- package/dist-es/commands/GetCloudWatchAlarmTemplateCommand.js +24 -0
- package/dist-es/commands/GetCloudWatchAlarmTemplateGroupCommand.js +24 -0
- package/dist-es/commands/GetEventBridgeRuleTemplateCommand.js +24 -0
- package/dist-es/commands/GetEventBridgeRuleTemplateGroupCommand.js +24 -0
- package/dist-es/commands/GetSignalMapCommand.js +24 -0
- package/dist-es/commands/ListCloudWatchAlarmTemplateGroupsCommand.js +24 -0
- package/dist-es/commands/ListCloudWatchAlarmTemplatesCommand.js +24 -0
- package/dist-es/commands/ListEventBridgeRuleTemplateGroupsCommand.js +24 -0
- package/dist-es/commands/ListEventBridgeRuleTemplatesCommand.js +24 -0
- package/dist-es/commands/ListSignalMapsCommand.js +24 -0
- package/dist-es/commands/StartDeleteMonitorDeploymentCommand.js +24 -0
- package/dist-es/commands/StartMonitorDeploymentCommand.js +24 -0
- package/dist-es/commands/StartUpdateSignalMapCommand.js +24 -0
- package/dist-es/commands/UpdateCloudWatchAlarmTemplateCommand.js +24 -0
- package/dist-es/commands/UpdateCloudWatchAlarmTemplateGroupCommand.js +24 -0
- package/dist-es/commands/UpdateEventBridgeRuleTemplateCommand.js +24 -0
- package/dist-es/commands/UpdateEventBridgeRuleTemplateGroupCommand.js +24 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/models/models_0.js +44 -29
- package/dist-es/models/models_1.js +52 -3
- package/dist-es/models/models_2.js +3 -0
- package/dist-es/pagination/ListCloudWatchAlarmTemplateGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListCloudWatchAlarmTemplatesPaginator.js +4 -0
- package/dist-es/pagination/ListEventBridgeRuleTemplateGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListEventBridgeRuleTemplatesPaginator.js +4 -0
- package/dist-es/pagination/ListSignalMapsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +1164 -6
- package/dist-es/waiters/index.js +4 -0
- package/dist-es/waiters/waitForSignalMapCreated.js +49 -0
- package/dist-es/waiters/waitForSignalMapMonitorDeleted.js +49 -0
- package/dist-es/waiters/waitForSignalMapMonitorDeployed.js +76 -0
- package/dist-es/waiters/waitForSignalMapUpdated.js +58 -0
- package/dist-types/MediaLive.d.ts +194 -0
- package/dist-types/MediaLiveClient.d.ts +29 -2
- package/dist-types/commands/CreateCloudWatchAlarmTemplateCommand.d.ts +109 -0
- package/dist-types/commands/CreateCloudWatchAlarmTemplateGroupCommand.d.ts +89 -0
- package/dist-types/commands/CreateEventBridgeRuleTemplateCommand.d.ts +103 -0
- package/dist-types/commands/CreateEventBridgeRuleTemplateGroupCommand.d.ts +89 -0
- package/dist-types/commands/CreateSignalMapCommand.d.ts +150 -0
- package/dist-types/commands/DeleteCloudWatchAlarmTemplateCommand.d.ts +75 -0
- package/dist-types/commands/DeleteCloudWatchAlarmTemplateGroupCommand.d.ts +75 -0
- package/dist-types/commands/DeleteEventBridgeRuleTemplateCommand.d.ts +75 -0
- package/dist-types/commands/DeleteEventBridgeRuleTemplateGroupCommand.d.ts +75 -0
- package/dist-types/commands/DeleteInputCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInputSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMultiplexCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMultiplexProgramCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReservationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSignalMapCommand.d.ts +75 -0
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInputCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInputDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInputDeviceThumbnailCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInputSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMultiplexCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudWatchAlarmTemplateCommand.d.ts +92 -0
- package/dist-types/commands/GetCloudWatchAlarmTemplateGroupCommand.d.ts +82 -0
- package/dist-types/commands/GetEventBridgeRuleTemplateCommand.d.ts +89 -0
- package/dist-types/commands/GetEventBridgeRuleTemplateGroupCommand.d.ts +82 -0
- package/dist-types/commands/GetSignalMapCommand.d.ts +136 -0
- package/dist-types/commands/ListCloudWatchAlarmTemplateGroupsCommand.d.ts +91 -0
- package/dist-types/commands/ListCloudWatchAlarmTemplatesCommand.d.ts +101 -0
- package/dist-types/commands/ListEventBridgeRuleTemplateGroupsCommand.d.ts +90 -0
- package/dist-types/commands/ListEventBridgeRuleTemplatesCommand.d.ts +93 -0
- package/dist-types/commands/ListSignalMapsCommand.d.ts +92 -0
- package/dist-types/commands/StartDeleteMonitorDeploymentCommand.d.ts +139 -0
- package/dist-types/commands/StartMonitorDeploymentCommand.d.ts +140 -0
- package/dist-types/commands/StartUpdateSignalMapCommand.d.ts +149 -0
- package/dist-types/commands/UpdateCloudWatchAlarmTemplateCommand.d.ts +107 -0
- package/dist-types/commands/UpdateCloudWatchAlarmTemplateGroupCommand.d.ts +86 -0
- package/dist-types/commands/UpdateEventBridgeRuleTemplateCommand.d.ts +101 -0
- package/dist-types/commands/UpdateEventBridgeRuleTemplateGroupCommand.d.ts +86 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +350 -159
- package/dist-types/models/models_1.d.ts +783 -747
- package/dist-types/models/models_2.d.ts +2297 -147
- package/dist-types/pagination/ListCloudWatchAlarmTemplateGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCloudWatchAlarmTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventBridgeRuleTemplateGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventBridgeRuleTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSignalMapsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +243 -0
- package/dist-types/ts3.4/MediaLive.d.ts +512 -0
- package/dist-types/ts3.4/MediaLiveClient.d.ts +162 -0
- package/dist-types/ts3.4/commands/CreateCloudWatchAlarmTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateCloudWatchAlarmTemplateGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateEventBridgeRuleTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateEventBridgeRuleTemplateGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSignalMapCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteCloudWatchAlarmTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteCloudWatchAlarmTemplateGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteEventBridgeRuleTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteEventBridgeRuleTemplateGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteInputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInputSecurityGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMultiplexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMultiplexProgramCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSignalMapCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAccountConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInputDeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInputDeviceThumbnailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInputSecurityGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMultiplexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudWatchAlarmTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCloudWatchAlarmTemplateGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetEventBridgeRuleTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetEventBridgeRuleTemplateGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSignalMapCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListCloudWatchAlarmTemplateGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListCloudWatchAlarmTemplatesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEventBridgeRuleTemplateGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEventBridgeRuleTemplatesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSignalMapsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartDeleteMonitorDeploymentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartMonitorDeploymentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartUpdateSignalMapCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateCloudWatchAlarmTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateCloudWatchAlarmTemplateGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateEventBridgeRuleTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateEventBridgeRuleTemplateGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/models/models_0.d.ts +112 -60
- package/dist-types/ts3.4/models/models_1.d.ts +223 -192
- package/dist-types/ts3.4/models/models_2.d.ts +508 -0
- package/dist-types/ts3.4/pagination/ListCloudWatchAlarmTemplateGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCloudWatchAlarmTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventBridgeRuleTemplateGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventBridgeRuleTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSignalMapsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +324 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForSignalMapCreated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSignalMapMonitorDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSignalMapMonitorDeployed.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSignalMapUpdated.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +4 -0
- package/dist-types/waiters/waitForSignalMapCreated.d.ts +14 -0
- package/dist-types/waiters/waitForSignalMapMonitorDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForSignalMapMonitorDeployed.d.ts +14 -0
- package/dist-types/waiters/waitForSignalMapUpdated.d.ts +14 -0
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, parseRfc7231DateTime as __parseRfc7231DateTime, serializeFloat as __serializeFloat, strictParseLong as __strictParseLong, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, parseRfc7231DateTime as __parseRfc7231DateTime, serializeFloat as __serializeFloat, strictParseLong as __strictParseLong, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { MediaLiveServiceException as __BaseException } from "../models/MediaLiveServiceException";
|
|
6
6
|
import { BadGatewayException, BadRequestException, ConflictException, ForbiddenException, GatewayTimeoutException, InternalServerErrorException, NotFoundException, TooManyRequestsException, UnprocessableEntityException, } from "../models/models_1";
|
|
@@ -120,6 +120,79 @@ export const se_CreateChannelCommand = async (input, context) => {
|
|
|
120
120
|
b.m("POST").h(headers).b(body);
|
|
121
121
|
return b.build();
|
|
122
122
|
};
|
|
123
|
+
export const se_CreateCloudWatchAlarmTemplateCommand = async (input, context) => {
|
|
124
|
+
const b = rb(input, context);
|
|
125
|
+
const headers = {
|
|
126
|
+
"content-type": "application/json",
|
|
127
|
+
};
|
|
128
|
+
b.bp("/prod/cloudwatch-alarm-templates");
|
|
129
|
+
let body;
|
|
130
|
+
body = JSON.stringify(take(input, {
|
|
131
|
+
comparisonOperator: [, , `ComparisonOperator`],
|
|
132
|
+
datapointsToAlarm: [, , `DatapointsToAlarm`],
|
|
133
|
+
description: [, , `Description`],
|
|
134
|
+
evaluationPeriods: [, , `EvaluationPeriods`],
|
|
135
|
+
groupIdentifier: [, , `GroupIdentifier`],
|
|
136
|
+
metricName: [, , `MetricName`],
|
|
137
|
+
name: [, , `Name`],
|
|
138
|
+
period: [, , `Period`],
|
|
139
|
+
statistic: [, , `Statistic`],
|
|
140
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
141
|
+
targetResourceType: [, , `TargetResourceType`],
|
|
142
|
+
threshold: [, (_) => __serializeFloat(_), `Threshold`],
|
|
143
|
+
treatMissingData: [, , `TreatMissingData`],
|
|
144
|
+
}));
|
|
145
|
+
b.m("POST").h(headers).b(body);
|
|
146
|
+
return b.build();
|
|
147
|
+
};
|
|
148
|
+
export const se_CreateCloudWatchAlarmTemplateGroupCommand = async (input, context) => {
|
|
149
|
+
const b = rb(input, context);
|
|
150
|
+
const headers = {
|
|
151
|
+
"content-type": "application/json",
|
|
152
|
+
};
|
|
153
|
+
b.bp("/prod/cloudwatch-alarm-template-groups");
|
|
154
|
+
let body;
|
|
155
|
+
body = JSON.stringify(take(input, {
|
|
156
|
+
description: [, , `Description`],
|
|
157
|
+
name: [, , `Name`],
|
|
158
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
159
|
+
}));
|
|
160
|
+
b.m("POST").h(headers).b(body);
|
|
161
|
+
return b.build();
|
|
162
|
+
};
|
|
163
|
+
export const se_CreateEventBridgeRuleTemplateCommand = async (input, context) => {
|
|
164
|
+
const b = rb(input, context);
|
|
165
|
+
const headers = {
|
|
166
|
+
"content-type": "application/json",
|
|
167
|
+
};
|
|
168
|
+
b.bp("/prod/eventbridge-rule-templates");
|
|
169
|
+
let body;
|
|
170
|
+
body = JSON.stringify(take(input, {
|
|
171
|
+
description: [, , `Description`],
|
|
172
|
+
eventTargets: [, (_) => se___listOfEventBridgeRuleTemplateTarget(_, context), `EventTargets`],
|
|
173
|
+
eventType: [, , `EventType`],
|
|
174
|
+
groupIdentifier: [, , `GroupIdentifier`],
|
|
175
|
+
name: [, , `Name`],
|
|
176
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
177
|
+
}));
|
|
178
|
+
b.m("POST").h(headers).b(body);
|
|
179
|
+
return b.build();
|
|
180
|
+
};
|
|
181
|
+
export const se_CreateEventBridgeRuleTemplateGroupCommand = async (input, context) => {
|
|
182
|
+
const b = rb(input, context);
|
|
183
|
+
const headers = {
|
|
184
|
+
"content-type": "application/json",
|
|
185
|
+
};
|
|
186
|
+
b.bp("/prod/eventbridge-rule-template-groups");
|
|
187
|
+
let body;
|
|
188
|
+
body = JSON.stringify(take(input, {
|
|
189
|
+
description: [, , `Description`],
|
|
190
|
+
name: [, , `Name`],
|
|
191
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
192
|
+
}));
|
|
193
|
+
b.m("POST").h(headers).b(body);
|
|
194
|
+
return b.build();
|
|
195
|
+
};
|
|
123
196
|
export const se_CreateInputCommand = async (input, context) => {
|
|
124
197
|
const b = rb(input, context);
|
|
125
198
|
const headers = {
|
|
@@ -205,6 +278,24 @@ export const se_CreatePartnerInputCommand = async (input, context) => {
|
|
|
205
278
|
b.m("POST").h(headers).b(body);
|
|
206
279
|
return b.build();
|
|
207
280
|
};
|
|
281
|
+
export const se_CreateSignalMapCommand = async (input, context) => {
|
|
282
|
+
const b = rb(input, context);
|
|
283
|
+
const headers = {
|
|
284
|
+
"content-type": "application/json",
|
|
285
|
+
};
|
|
286
|
+
b.bp("/prod/signal-maps");
|
|
287
|
+
let body;
|
|
288
|
+
body = JSON.stringify(take(input, {
|
|
289
|
+
cloudWatchAlarmTemplateGroupIdentifiers: [, (_) => _json(_), `CloudWatchAlarmTemplateGroupIdentifiers`],
|
|
290
|
+
description: [, , `Description`],
|
|
291
|
+
discoveryEntryPointArn: [, , `DiscoveryEntryPointArn`],
|
|
292
|
+
eventBridgeRuleTemplateGroupIdentifiers: [, (_) => _json(_), `EventBridgeRuleTemplateGroupIdentifiers`],
|
|
293
|
+
name: [, , `Name`],
|
|
294
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
295
|
+
}));
|
|
296
|
+
b.m("POST").h(headers).b(body);
|
|
297
|
+
return b.build();
|
|
298
|
+
};
|
|
208
299
|
export const se_CreateTagsCommand = async (input, context) => {
|
|
209
300
|
const b = rb(input, context);
|
|
210
301
|
const headers = {
|
|
@@ -228,6 +319,42 @@ export const se_DeleteChannelCommand = async (input, context) => {
|
|
|
228
319
|
b.m("DELETE").h(headers).b(body);
|
|
229
320
|
return b.build();
|
|
230
321
|
};
|
|
322
|
+
export const se_DeleteCloudWatchAlarmTemplateCommand = async (input, context) => {
|
|
323
|
+
const b = rb(input, context);
|
|
324
|
+
const headers = {};
|
|
325
|
+
b.bp("/prod/cloudwatch-alarm-templates/{Identifier}");
|
|
326
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
327
|
+
let body;
|
|
328
|
+
b.m("DELETE").h(headers).b(body);
|
|
329
|
+
return b.build();
|
|
330
|
+
};
|
|
331
|
+
export const se_DeleteCloudWatchAlarmTemplateGroupCommand = async (input, context) => {
|
|
332
|
+
const b = rb(input, context);
|
|
333
|
+
const headers = {};
|
|
334
|
+
b.bp("/prod/cloudwatch-alarm-template-groups/{Identifier}");
|
|
335
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
336
|
+
let body;
|
|
337
|
+
b.m("DELETE").h(headers).b(body);
|
|
338
|
+
return b.build();
|
|
339
|
+
};
|
|
340
|
+
export const se_DeleteEventBridgeRuleTemplateCommand = async (input, context) => {
|
|
341
|
+
const b = rb(input, context);
|
|
342
|
+
const headers = {};
|
|
343
|
+
b.bp("/prod/eventbridge-rule-templates/{Identifier}");
|
|
344
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
345
|
+
let body;
|
|
346
|
+
b.m("DELETE").h(headers).b(body);
|
|
347
|
+
return b.build();
|
|
348
|
+
};
|
|
349
|
+
export const se_DeleteEventBridgeRuleTemplateGroupCommand = async (input, context) => {
|
|
350
|
+
const b = rb(input, context);
|
|
351
|
+
const headers = {};
|
|
352
|
+
b.bp("/prod/eventbridge-rule-template-groups/{Identifier}");
|
|
353
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
354
|
+
let body;
|
|
355
|
+
b.m("DELETE").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
357
|
+
};
|
|
231
358
|
export const se_DeleteInputCommand = async (input, context) => {
|
|
232
359
|
const b = rb(input, context);
|
|
233
360
|
const headers = {};
|
|
@@ -283,6 +410,15 @@ export const se_DeleteScheduleCommand = async (input, context) => {
|
|
|
283
410
|
b.m("DELETE").h(headers).b(body);
|
|
284
411
|
return b.build();
|
|
285
412
|
};
|
|
413
|
+
export const se_DeleteSignalMapCommand = async (input, context) => {
|
|
414
|
+
const b = rb(input, context);
|
|
415
|
+
const headers = {};
|
|
416
|
+
b.bp("/prod/signal-maps/{Identifier}");
|
|
417
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
418
|
+
let body;
|
|
419
|
+
b.m("DELETE").h(headers).b(body);
|
|
420
|
+
return b.build();
|
|
421
|
+
};
|
|
286
422
|
export const se_DeleteTagsCommand = async (input, context) => {
|
|
287
423
|
const b = rb(input, context);
|
|
288
424
|
const headers = {};
|
|
@@ -419,6 +555,51 @@ export const se_DescribeThumbnailsCommand = async (input, context) => {
|
|
|
419
555
|
b.m("GET").h(headers).q(query).b(body);
|
|
420
556
|
return b.build();
|
|
421
557
|
};
|
|
558
|
+
export const se_GetCloudWatchAlarmTemplateCommand = async (input, context) => {
|
|
559
|
+
const b = rb(input, context);
|
|
560
|
+
const headers = {};
|
|
561
|
+
b.bp("/prod/cloudwatch-alarm-templates/{Identifier}");
|
|
562
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
563
|
+
let body;
|
|
564
|
+
b.m("GET").h(headers).b(body);
|
|
565
|
+
return b.build();
|
|
566
|
+
};
|
|
567
|
+
export const se_GetCloudWatchAlarmTemplateGroupCommand = async (input, context) => {
|
|
568
|
+
const b = rb(input, context);
|
|
569
|
+
const headers = {};
|
|
570
|
+
b.bp("/prod/cloudwatch-alarm-template-groups/{Identifier}");
|
|
571
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
572
|
+
let body;
|
|
573
|
+
b.m("GET").h(headers).b(body);
|
|
574
|
+
return b.build();
|
|
575
|
+
};
|
|
576
|
+
export const se_GetEventBridgeRuleTemplateCommand = async (input, context) => {
|
|
577
|
+
const b = rb(input, context);
|
|
578
|
+
const headers = {};
|
|
579
|
+
b.bp("/prod/eventbridge-rule-templates/{Identifier}");
|
|
580
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
581
|
+
let body;
|
|
582
|
+
b.m("GET").h(headers).b(body);
|
|
583
|
+
return b.build();
|
|
584
|
+
};
|
|
585
|
+
export const se_GetEventBridgeRuleTemplateGroupCommand = async (input, context) => {
|
|
586
|
+
const b = rb(input, context);
|
|
587
|
+
const headers = {};
|
|
588
|
+
b.bp("/prod/eventbridge-rule-template-groups/{Identifier}");
|
|
589
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
590
|
+
let body;
|
|
591
|
+
b.m("GET").h(headers).b(body);
|
|
592
|
+
return b.build();
|
|
593
|
+
};
|
|
594
|
+
export const se_GetSignalMapCommand = async (input, context) => {
|
|
595
|
+
const b = rb(input, context);
|
|
596
|
+
const headers = {};
|
|
597
|
+
b.bp("/prod/signal-maps/{Identifier}");
|
|
598
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
599
|
+
let body;
|
|
600
|
+
b.m("GET").h(headers).b(body);
|
|
601
|
+
return b.build();
|
|
602
|
+
};
|
|
422
603
|
export const se_ListChannelsCommand = async (input, context) => {
|
|
423
604
|
const b = rb(input, context);
|
|
424
605
|
const headers = {};
|
|
@@ -431,6 +612,62 @@ export const se_ListChannelsCommand = async (input, context) => {
|
|
|
431
612
|
b.m("GET").h(headers).q(query).b(body);
|
|
432
613
|
return b.build();
|
|
433
614
|
};
|
|
615
|
+
export const se_ListCloudWatchAlarmTemplateGroupsCommand = async (input, context) => {
|
|
616
|
+
const b = rb(input, context);
|
|
617
|
+
const headers = {};
|
|
618
|
+
b.bp("/prod/cloudwatch-alarm-template-groups");
|
|
619
|
+
const query = map({
|
|
620
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
621
|
+
[_nT]: [, input[_NT]],
|
|
622
|
+
[_s]: [, input[_S]],
|
|
623
|
+
[_sMI]: [, input[_SMI]],
|
|
624
|
+
});
|
|
625
|
+
let body;
|
|
626
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
627
|
+
return b.build();
|
|
628
|
+
};
|
|
629
|
+
export const se_ListCloudWatchAlarmTemplatesCommand = async (input, context) => {
|
|
630
|
+
const b = rb(input, context);
|
|
631
|
+
const headers = {};
|
|
632
|
+
b.bp("/prod/cloudwatch-alarm-templates");
|
|
633
|
+
const query = map({
|
|
634
|
+
[_gI]: [, input[_GI]],
|
|
635
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
636
|
+
[_nT]: [, input[_NT]],
|
|
637
|
+
[_s]: [, input[_S]],
|
|
638
|
+
[_sMI]: [, input[_SMI]],
|
|
639
|
+
});
|
|
640
|
+
let body;
|
|
641
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
642
|
+
return b.build();
|
|
643
|
+
};
|
|
644
|
+
export const se_ListEventBridgeRuleTemplateGroupsCommand = async (input, context) => {
|
|
645
|
+
const b = rb(input, context);
|
|
646
|
+
const headers = {};
|
|
647
|
+
b.bp("/prod/eventbridge-rule-template-groups");
|
|
648
|
+
const query = map({
|
|
649
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
650
|
+
[_nT]: [, input[_NT]],
|
|
651
|
+
[_sMI]: [, input[_SMI]],
|
|
652
|
+
});
|
|
653
|
+
let body;
|
|
654
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
655
|
+
return b.build();
|
|
656
|
+
};
|
|
657
|
+
export const se_ListEventBridgeRuleTemplatesCommand = async (input, context) => {
|
|
658
|
+
const b = rb(input, context);
|
|
659
|
+
const headers = {};
|
|
660
|
+
b.bp("/prod/eventbridge-rule-templates");
|
|
661
|
+
const query = map({
|
|
662
|
+
[_gI]: [, input[_GI]],
|
|
663
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
664
|
+
[_nT]: [, input[_NT]],
|
|
665
|
+
[_sMI]: [, input[_SMI]],
|
|
666
|
+
});
|
|
667
|
+
let body;
|
|
668
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
669
|
+
return b.build();
|
|
670
|
+
};
|
|
434
671
|
export const se_ListInputDevicesCommand = async (input, context) => {
|
|
435
672
|
const b = rb(input, context);
|
|
436
673
|
const headers = {};
|
|
@@ -547,6 +784,20 @@ export const se_ListReservationsCommand = async (input, context) => {
|
|
|
547
784
|
b.m("GET").h(headers).q(query).b(body);
|
|
548
785
|
return b.build();
|
|
549
786
|
};
|
|
787
|
+
export const se_ListSignalMapsCommand = async (input, context) => {
|
|
788
|
+
const b = rb(input, context);
|
|
789
|
+
const headers = {};
|
|
790
|
+
b.bp("/prod/signal-maps");
|
|
791
|
+
const query = map({
|
|
792
|
+
[_cWATGI]: [, input[_CWATGI]],
|
|
793
|
+
[_eBRTGI]: [, input[_EBRTGI]],
|
|
794
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
795
|
+
[_nT]: [, input[_NT]],
|
|
796
|
+
});
|
|
797
|
+
let body;
|
|
798
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
799
|
+
return b.build();
|
|
800
|
+
};
|
|
550
801
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
551
802
|
const b = rb(input, context);
|
|
552
803
|
const headers = {};
|
|
@@ -621,6 +872,15 @@ export const se_StartChannelCommand = async (input, context) => {
|
|
|
621
872
|
b.m("POST").h(headers).b(body);
|
|
622
873
|
return b.build();
|
|
623
874
|
};
|
|
875
|
+
export const se_StartDeleteMonitorDeploymentCommand = async (input, context) => {
|
|
876
|
+
const b = rb(input, context);
|
|
877
|
+
const headers = {};
|
|
878
|
+
b.bp("/prod/signal-maps/{Identifier}/monitor-deployment");
|
|
879
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
880
|
+
let body;
|
|
881
|
+
b.m("DELETE").h(headers).b(body);
|
|
882
|
+
return b.build();
|
|
883
|
+
};
|
|
624
884
|
export const se_StartInputDeviceCommand = async (input, context) => {
|
|
625
885
|
const b = rb(input, context);
|
|
626
886
|
const headers = {};
|
|
@@ -639,6 +899,20 @@ export const se_StartInputDeviceMaintenanceWindowCommand = async (input, context
|
|
|
639
899
|
b.m("POST").h(headers).b(body);
|
|
640
900
|
return b.build();
|
|
641
901
|
};
|
|
902
|
+
export const se_StartMonitorDeploymentCommand = async (input, context) => {
|
|
903
|
+
const b = rb(input, context);
|
|
904
|
+
const headers = {
|
|
905
|
+
"content-type": "application/json",
|
|
906
|
+
};
|
|
907
|
+
b.bp("/prod/signal-maps/{Identifier}/monitor-deployment");
|
|
908
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
909
|
+
let body;
|
|
910
|
+
body = JSON.stringify(take(input, {
|
|
911
|
+
dryRun: [, , `DryRun`],
|
|
912
|
+
}));
|
|
913
|
+
b.m("POST").h(headers).b(body);
|
|
914
|
+
return b.build();
|
|
915
|
+
};
|
|
642
916
|
export const se_StartMultiplexCommand = async (input, context) => {
|
|
643
917
|
const b = rb(input, context);
|
|
644
918
|
const headers = {};
|
|
@@ -648,6 +922,25 @@ export const se_StartMultiplexCommand = async (input, context) => {
|
|
|
648
922
|
b.m("POST").h(headers).b(body);
|
|
649
923
|
return b.build();
|
|
650
924
|
};
|
|
925
|
+
export const se_StartUpdateSignalMapCommand = async (input, context) => {
|
|
926
|
+
const b = rb(input, context);
|
|
927
|
+
const headers = {
|
|
928
|
+
"content-type": "application/json",
|
|
929
|
+
};
|
|
930
|
+
b.bp("/prod/signal-maps/{Identifier}");
|
|
931
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
932
|
+
let body;
|
|
933
|
+
body = JSON.stringify(take(input, {
|
|
934
|
+
cloudWatchAlarmTemplateGroupIdentifiers: [, (_) => _json(_), `CloudWatchAlarmTemplateGroupIdentifiers`],
|
|
935
|
+
description: [, , `Description`],
|
|
936
|
+
discoveryEntryPointArn: [, , `DiscoveryEntryPointArn`],
|
|
937
|
+
eventBridgeRuleTemplateGroupIdentifiers: [, (_) => _json(_), `EventBridgeRuleTemplateGroupIdentifiers`],
|
|
938
|
+
forceRediscovery: [, , `ForceRediscovery`],
|
|
939
|
+
name: [, , `Name`],
|
|
940
|
+
}));
|
|
941
|
+
b.m("PATCH").h(headers).b(body);
|
|
942
|
+
return b.build();
|
|
943
|
+
};
|
|
651
944
|
export const se_StopChannelCommand = async (input, context) => {
|
|
652
945
|
const b = rb(input, context);
|
|
653
946
|
const headers = {};
|
|
@@ -741,6 +1034,77 @@ export const se_UpdateChannelClassCommand = async (input, context) => {
|
|
|
741
1034
|
b.m("PUT").h(headers).b(body);
|
|
742
1035
|
return b.build();
|
|
743
1036
|
};
|
|
1037
|
+
export const se_UpdateCloudWatchAlarmTemplateCommand = async (input, context) => {
|
|
1038
|
+
const b = rb(input, context);
|
|
1039
|
+
const headers = {
|
|
1040
|
+
"content-type": "application/json",
|
|
1041
|
+
};
|
|
1042
|
+
b.bp("/prod/cloudwatch-alarm-templates/{Identifier}");
|
|
1043
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1044
|
+
let body;
|
|
1045
|
+
body = JSON.stringify(take(input, {
|
|
1046
|
+
comparisonOperator: [, , `ComparisonOperator`],
|
|
1047
|
+
datapointsToAlarm: [, , `DatapointsToAlarm`],
|
|
1048
|
+
description: [, , `Description`],
|
|
1049
|
+
evaluationPeriods: [, , `EvaluationPeriods`],
|
|
1050
|
+
groupIdentifier: [, , `GroupIdentifier`],
|
|
1051
|
+
metricName: [, , `MetricName`],
|
|
1052
|
+
name: [, , `Name`],
|
|
1053
|
+
period: [, , `Period`],
|
|
1054
|
+
statistic: [, , `Statistic`],
|
|
1055
|
+
targetResourceType: [, , `TargetResourceType`],
|
|
1056
|
+
threshold: [, (_) => __serializeFloat(_), `Threshold`],
|
|
1057
|
+
treatMissingData: [, , `TreatMissingData`],
|
|
1058
|
+
}));
|
|
1059
|
+
b.m("PATCH").h(headers).b(body);
|
|
1060
|
+
return b.build();
|
|
1061
|
+
};
|
|
1062
|
+
export const se_UpdateCloudWatchAlarmTemplateGroupCommand = async (input, context) => {
|
|
1063
|
+
const b = rb(input, context);
|
|
1064
|
+
const headers = {
|
|
1065
|
+
"content-type": "application/json",
|
|
1066
|
+
};
|
|
1067
|
+
b.bp("/prod/cloudwatch-alarm-template-groups/{Identifier}");
|
|
1068
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1069
|
+
let body;
|
|
1070
|
+
body = JSON.stringify(take(input, {
|
|
1071
|
+
description: [, , `Description`],
|
|
1072
|
+
}));
|
|
1073
|
+
b.m("PATCH").h(headers).b(body);
|
|
1074
|
+
return b.build();
|
|
1075
|
+
};
|
|
1076
|
+
export const se_UpdateEventBridgeRuleTemplateCommand = async (input, context) => {
|
|
1077
|
+
const b = rb(input, context);
|
|
1078
|
+
const headers = {
|
|
1079
|
+
"content-type": "application/json",
|
|
1080
|
+
};
|
|
1081
|
+
b.bp("/prod/eventbridge-rule-templates/{Identifier}");
|
|
1082
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1083
|
+
let body;
|
|
1084
|
+
body = JSON.stringify(take(input, {
|
|
1085
|
+
description: [, , `Description`],
|
|
1086
|
+
eventTargets: [, (_) => se___listOfEventBridgeRuleTemplateTarget(_, context), `EventTargets`],
|
|
1087
|
+
eventType: [, , `EventType`],
|
|
1088
|
+
groupIdentifier: [, , `GroupIdentifier`],
|
|
1089
|
+
name: [, , `Name`],
|
|
1090
|
+
}));
|
|
1091
|
+
b.m("PATCH").h(headers).b(body);
|
|
1092
|
+
return b.build();
|
|
1093
|
+
};
|
|
1094
|
+
export const se_UpdateEventBridgeRuleTemplateGroupCommand = async (input, context) => {
|
|
1095
|
+
const b = rb(input, context);
|
|
1096
|
+
const headers = {
|
|
1097
|
+
"content-type": "application/json",
|
|
1098
|
+
};
|
|
1099
|
+
b.bp("/prod/eventbridge-rule-template-groups/{Identifier}");
|
|
1100
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1101
|
+
let body;
|
|
1102
|
+
body = JSON.stringify(take(input, {
|
|
1103
|
+
description: [, , `Description`],
|
|
1104
|
+
}));
|
|
1105
|
+
b.m("PATCH").h(headers).b(body);
|
|
1106
|
+
return b.build();
|
|
1107
|
+
};
|
|
744
1108
|
export const se_UpdateInputCommand = async (input, context) => {
|
|
745
1109
|
const b = rb(input, context);
|
|
746
1110
|
const headers = {
|
|
@@ -942,6 +1306,99 @@ export const de_CreateChannelCommand = async (output, context) => {
|
|
|
942
1306
|
Object.assign(contents, doc);
|
|
943
1307
|
return contents;
|
|
944
1308
|
};
|
|
1309
|
+
export const de_CreateCloudWatchAlarmTemplateCommand = async (output, context) => {
|
|
1310
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1311
|
+
return de_CommandError(output, context);
|
|
1312
|
+
}
|
|
1313
|
+
const contents = map({
|
|
1314
|
+
$metadata: deserializeMetadata(output),
|
|
1315
|
+
});
|
|
1316
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1317
|
+
const doc = take(data, {
|
|
1318
|
+
Arn: [, __expectString, `arn`],
|
|
1319
|
+
ComparisonOperator: [, __expectString, `comparisonOperator`],
|
|
1320
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
1321
|
+
DatapointsToAlarm: [, __expectInt32, `datapointsToAlarm`],
|
|
1322
|
+
Description: [, __expectString, `description`],
|
|
1323
|
+
EvaluationPeriods: [, __expectInt32, `evaluationPeriods`],
|
|
1324
|
+
GroupId: [, __expectString, `groupId`],
|
|
1325
|
+
Id: [, __expectString, `id`],
|
|
1326
|
+
MetricName: [, __expectString, `metricName`],
|
|
1327
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
1328
|
+
Name: [, __expectString, `name`],
|
|
1329
|
+
Period: [, __expectInt32, `period`],
|
|
1330
|
+
Statistic: [, __expectString, `statistic`],
|
|
1331
|
+
Tags: [, _json, `tags`],
|
|
1332
|
+
TargetResourceType: [, __expectString, `targetResourceType`],
|
|
1333
|
+
Threshold: [, __limitedParseDouble, `threshold`],
|
|
1334
|
+
TreatMissingData: [, __expectString, `treatMissingData`],
|
|
1335
|
+
});
|
|
1336
|
+
Object.assign(contents, doc);
|
|
1337
|
+
return contents;
|
|
1338
|
+
};
|
|
1339
|
+
export const de_CreateCloudWatchAlarmTemplateGroupCommand = async (output, context) => {
|
|
1340
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1341
|
+
return de_CommandError(output, context);
|
|
1342
|
+
}
|
|
1343
|
+
const contents = map({
|
|
1344
|
+
$metadata: deserializeMetadata(output),
|
|
1345
|
+
});
|
|
1346
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1347
|
+
const doc = take(data, {
|
|
1348
|
+
Arn: [, __expectString, `arn`],
|
|
1349
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
1350
|
+
Description: [, __expectString, `description`],
|
|
1351
|
+
Id: [, __expectString, `id`],
|
|
1352
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
1353
|
+
Name: [, __expectString, `name`],
|
|
1354
|
+
Tags: [, _json, `tags`],
|
|
1355
|
+
});
|
|
1356
|
+
Object.assign(contents, doc);
|
|
1357
|
+
return contents;
|
|
1358
|
+
};
|
|
1359
|
+
export const de_CreateEventBridgeRuleTemplateCommand = async (output, context) => {
|
|
1360
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1361
|
+
return de_CommandError(output, context);
|
|
1362
|
+
}
|
|
1363
|
+
const contents = map({
|
|
1364
|
+
$metadata: deserializeMetadata(output),
|
|
1365
|
+
});
|
|
1366
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1367
|
+
const doc = take(data, {
|
|
1368
|
+
Arn: [, __expectString, `arn`],
|
|
1369
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
1370
|
+
Description: [, __expectString, `description`],
|
|
1371
|
+
EventTargets: [, (_) => de___listOfEventBridgeRuleTemplateTarget(_, context), `eventTargets`],
|
|
1372
|
+
EventType: [, __expectString, `eventType`],
|
|
1373
|
+
GroupId: [, __expectString, `groupId`],
|
|
1374
|
+
Id: [, __expectString, `id`],
|
|
1375
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
1376
|
+
Name: [, __expectString, `name`],
|
|
1377
|
+
Tags: [, _json, `tags`],
|
|
1378
|
+
});
|
|
1379
|
+
Object.assign(contents, doc);
|
|
1380
|
+
return contents;
|
|
1381
|
+
};
|
|
1382
|
+
export const de_CreateEventBridgeRuleTemplateGroupCommand = async (output, context) => {
|
|
1383
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1384
|
+
return de_CommandError(output, context);
|
|
1385
|
+
}
|
|
1386
|
+
const contents = map({
|
|
1387
|
+
$metadata: deserializeMetadata(output),
|
|
1388
|
+
});
|
|
1389
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1390
|
+
const doc = take(data, {
|
|
1391
|
+
Arn: [, __expectString, `arn`],
|
|
1392
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
1393
|
+
Description: [, __expectString, `description`],
|
|
1394
|
+
Id: [, __expectString, `id`],
|
|
1395
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
1396
|
+
Name: [, __expectString, `name`],
|
|
1397
|
+
Tags: [, _json, `tags`],
|
|
1398
|
+
});
|
|
1399
|
+
Object.assign(contents, doc);
|
|
1400
|
+
return contents;
|
|
1401
|
+
};
|
|
945
1402
|
export const de_CreateInputCommand = async (output, context) => {
|
|
946
1403
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
947
1404
|
return de_CommandError(output, context);
|
|
@@ -1012,6 +1469,41 @@ export const de_CreatePartnerInputCommand = async (output, context) => {
|
|
|
1012
1469
|
Object.assign(contents, doc);
|
|
1013
1470
|
return contents;
|
|
1014
1471
|
};
|
|
1472
|
+
export const de_CreateSignalMapCommand = async (output, context) => {
|
|
1473
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1474
|
+
return de_CommandError(output, context);
|
|
1475
|
+
}
|
|
1476
|
+
const contents = map({
|
|
1477
|
+
$metadata: deserializeMetadata(output),
|
|
1478
|
+
});
|
|
1479
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1480
|
+
const doc = take(data, {
|
|
1481
|
+
Arn: [, __expectString, `arn`],
|
|
1482
|
+
CloudWatchAlarmTemplateGroupIds: [, _json, `cloudWatchAlarmTemplateGroupIds`],
|
|
1483
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
1484
|
+
Description: [, __expectString, `description`],
|
|
1485
|
+
DiscoveryEntryPointArn: [, __expectString, `discoveryEntryPointArn`],
|
|
1486
|
+
ErrorMessage: [, __expectString, `errorMessage`],
|
|
1487
|
+
EventBridgeRuleTemplateGroupIds: [, _json, `eventBridgeRuleTemplateGroupIds`],
|
|
1488
|
+
FailedMediaResourceMap: [, (_) => de_FailedMediaResourceMap(_, context), `failedMediaResourceMap`],
|
|
1489
|
+
Id: [, __expectString, `id`],
|
|
1490
|
+
LastDiscoveredAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastDiscoveredAt`],
|
|
1491
|
+
LastSuccessfulMonitorDeployment: [
|
|
1492
|
+
,
|
|
1493
|
+
(_) => de_SuccessfulMonitorDeployment(_, context),
|
|
1494
|
+
`lastSuccessfulMonitorDeployment`,
|
|
1495
|
+
],
|
|
1496
|
+
MediaResourceMap: [, (_) => de_MediaResourceMap(_, context), `mediaResourceMap`],
|
|
1497
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
1498
|
+
MonitorChangesPendingDeployment: [, __expectBoolean, `monitorChangesPendingDeployment`],
|
|
1499
|
+
MonitorDeployment: [, (_) => de_MonitorDeployment(_, context), `monitorDeployment`],
|
|
1500
|
+
Name: [, __expectString, `name`],
|
|
1501
|
+
Status: [, __expectString, `status`],
|
|
1502
|
+
Tags: [, _json, `tags`],
|
|
1503
|
+
});
|
|
1504
|
+
Object.assign(contents, doc);
|
|
1505
|
+
return contents;
|
|
1506
|
+
};
|
|
1015
1507
|
export const de_CreateTagsCommand = async (output, context) => {
|
|
1016
1508
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1017
1509
|
return de_CommandError(output, context);
|
|
@@ -1053,6 +1545,46 @@ export const de_DeleteChannelCommand = async (output, context) => {
|
|
|
1053
1545
|
Object.assign(contents, doc);
|
|
1054
1546
|
return contents;
|
|
1055
1547
|
};
|
|
1548
|
+
export const de_DeleteCloudWatchAlarmTemplateCommand = async (output, context) => {
|
|
1549
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1550
|
+
return de_CommandError(output, context);
|
|
1551
|
+
}
|
|
1552
|
+
const contents = map({
|
|
1553
|
+
$metadata: deserializeMetadata(output),
|
|
1554
|
+
});
|
|
1555
|
+
await collectBody(output.body, context);
|
|
1556
|
+
return contents;
|
|
1557
|
+
};
|
|
1558
|
+
export const de_DeleteCloudWatchAlarmTemplateGroupCommand = async (output, context) => {
|
|
1559
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1560
|
+
return de_CommandError(output, context);
|
|
1561
|
+
}
|
|
1562
|
+
const contents = map({
|
|
1563
|
+
$metadata: deserializeMetadata(output),
|
|
1564
|
+
});
|
|
1565
|
+
await collectBody(output.body, context);
|
|
1566
|
+
return contents;
|
|
1567
|
+
};
|
|
1568
|
+
export const de_DeleteEventBridgeRuleTemplateCommand = async (output, context) => {
|
|
1569
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1570
|
+
return de_CommandError(output, context);
|
|
1571
|
+
}
|
|
1572
|
+
const contents = map({
|
|
1573
|
+
$metadata: deserializeMetadata(output),
|
|
1574
|
+
});
|
|
1575
|
+
await collectBody(output.body, context);
|
|
1576
|
+
return contents;
|
|
1577
|
+
};
|
|
1578
|
+
export const de_DeleteEventBridgeRuleTemplateGroupCommand = async (output, context) => {
|
|
1579
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1580
|
+
return de_CommandError(output, context);
|
|
1581
|
+
}
|
|
1582
|
+
const contents = map({
|
|
1583
|
+
$metadata: deserializeMetadata(output),
|
|
1584
|
+
});
|
|
1585
|
+
await collectBody(output.body, context);
|
|
1586
|
+
return contents;
|
|
1587
|
+
};
|
|
1056
1588
|
export const de_DeleteInputCommand = async (output, context) => {
|
|
1057
1589
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1058
1590
|
return de_CommandError(output, context);
|
|
@@ -1156,6 +1688,16 @@ export const de_DeleteScheduleCommand = async (output, context) => {
|
|
|
1156
1688
|
await collectBody(output.body, context);
|
|
1157
1689
|
return contents;
|
|
1158
1690
|
};
|
|
1691
|
+
export const de_DeleteSignalMapCommand = async (output, context) => {
|
|
1692
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1693
|
+
return de_CommandError(output, context);
|
|
1694
|
+
}
|
|
1695
|
+
const contents = map({
|
|
1696
|
+
$metadata: deserializeMetadata(output),
|
|
1697
|
+
});
|
|
1698
|
+
await collectBody(output.body, context);
|
|
1699
|
+
return contents;
|
|
1700
|
+
};
|
|
1159
1701
|
export const de_DeleteTagsCommand = async (output, context) => {
|
|
1160
1702
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1161
1703
|
return de_CommandError(output, context);
|
|
@@ -1411,12 +1953,207 @@ export const de_DescribeScheduleCommand = async (output, context) => {
|
|
|
1411
1953
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1412
1954
|
const doc = take(data, {
|
|
1413
1955
|
NextToken: [, __expectString, `nextToken`],
|
|
1414
|
-
ScheduleActions: [, (_) => de___listOfScheduleAction(_, context), `scheduleActions`],
|
|
1956
|
+
ScheduleActions: [, (_) => de___listOfScheduleAction(_, context), `scheduleActions`],
|
|
1957
|
+
});
|
|
1958
|
+
Object.assign(contents, doc);
|
|
1959
|
+
return contents;
|
|
1960
|
+
};
|
|
1961
|
+
export const de_DescribeThumbnailsCommand = async (output, context) => {
|
|
1962
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1963
|
+
return de_CommandError(output, context);
|
|
1964
|
+
}
|
|
1965
|
+
const contents = map({
|
|
1966
|
+
$metadata: deserializeMetadata(output),
|
|
1967
|
+
});
|
|
1968
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1969
|
+
const doc = take(data, {
|
|
1970
|
+
ThumbnailDetails: [, (_) => de___listOfThumbnailDetail(_, context), `thumbnailDetails`],
|
|
1971
|
+
});
|
|
1972
|
+
Object.assign(contents, doc);
|
|
1973
|
+
return contents;
|
|
1974
|
+
};
|
|
1975
|
+
export const de_GetCloudWatchAlarmTemplateCommand = async (output, context) => {
|
|
1976
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1977
|
+
return de_CommandError(output, context);
|
|
1978
|
+
}
|
|
1979
|
+
const contents = map({
|
|
1980
|
+
$metadata: deserializeMetadata(output),
|
|
1981
|
+
});
|
|
1982
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1983
|
+
const doc = take(data, {
|
|
1984
|
+
Arn: [, __expectString, `arn`],
|
|
1985
|
+
ComparisonOperator: [, __expectString, `comparisonOperator`],
|
|
1986
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
1987
|
+
DatapointsToAlarm: [, __expectInt32, `datapointsToAlarm`],
|
|
1988
|
+
Description: [, __expectString, `description`],
|
|
1989
|
+
EvaluationPeriods: [, __expectInt32, `evaluationPeriods`],
|
|
1990
|
+
GroupId: [, __expectString, `groupId`],
|
|
1991
|
+
Id: [, __expectString, `id`],
|
|
1992
|
+
MetricName: [, __expectString, `metricName`],
|
|
1993
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
1994
|
+
Name: [, __expectString, `name`],
|
|
1995
|
+
Period: [, __expectInt32, `period`],
|
|
1996
|
+
Statistic: [, __expectString, `statistic`],
|
|
1997
|
+
Tags: [, _json, `tags`],
|
|
1998
|
+
TargetResourceType: [, __expectString, `targetResourceType`],
|
|
1999
|
+
Threshold: [, __limitedParseDouble, `threshold`],
|
|
2000
|
+
TreatMissingData: [, __expectString, `treatMissingData`],
|
|
2001
|
+
});
|
|
2002
|
+
Object.assign(contents, doc);
|
|
2003
|
+
return contents;
|
|
2004
|
+
};
|
|
2005
|
+
export const de_GetCloudWatchAlarmTemplateGroupCommand = async (output, context) => {
|
|
2006
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2007
|
+
return de_CommandError(output, context);
|
|
2008
|
+
}
|
|
2009
|
+
const contents = map({
|
|
2010
|
+
$metadata: deserializeMetadata(output),
|
|
2011
|
+
});
|
|
2012
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2013
|
+
const doc = take(data, {
|
|
2014
|
+
Arn: [, __expectString, `arn`],
|
|
2015
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2016
|
+
Description: [, __expectString, `description`],
|
|
2017
|
+
Id: [, __expectString, `id`],
|
|
2018
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2019
|
+
Name: [, __expectString, `name`],
|
|
2020
|
+
Tags: [, _json, `tags`],
|
|
2021
|
+
});
|
|
2022
|
+
Object.assign(contents, doc);
|
|
2023
|
+
return contents;
|
|
2024
|
+
};
|
|
2025
|
+
export const de_GetEventBridgeRuleTemplateCommand = async (output, context) => {
|
|
2026
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2027
|
+
return de_CommandError(output, context);
|
|
2028
|
+
}
|
|
2029
|
+
const contents = map({
|
|
2030
|
+
$metadata: deserializeMetadata(output),
|
|
2031
|
+
});
|
|
2032
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2033
|
+
const doc = take(data, {
|
|
2034
|
+
Arn: [, __expectString, `arn`],
|
|
2035
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2036
|
+
Description: [, __expectString, `description`],
|
|
2037
|
+
EventTargets: [, (_) => de___listOfEventBridgeRuleTemplateTarget(_, context), `eventTargets`],
|
|
2038
|
+
EventType: [, __expectString, `eventType`],
|
|
2039
|
+
GroupId: [, __expectString, `groupId`],
|
|
2040
|
+
Id: [, __expectString, `id`],
|
|
2041
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2042
|
+
Name: [, __expectString, `name`],
|
|
2043
|
+
Tags: [, _json, `tags`],
|
|
2044
|
+
});
|
|
2045
|
+
Object.assign(contents, doc);
|
|
2046
|
+
return contents;
|
|
2047
|
+
};
|
|
2048
|
+
export const de_GetEventBridgeRuleTemplateGroupCommand = async (output, context) => {
|
|
2049
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2050
|
+
return de_CommandError(output, context);
|
|
2051
|
+
}
|
|
2052
|
+
const contents = map({
|
|
2053
|
+
$metadata: deserializeMetadata(output),
|
|
2054
|
+
});
|
|
2055
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2056
|
+
const doc = take(data, {
|
|
2057
|
+
Arn: [, __expectString, `arn`],
|
|
2058
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2059
|
+
Description: [, __expectString, `description`],
|
|
2060
|
+
Id: [, __expectString, `id`],
|
|
2061
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2062
|
+
Name: [, __expectString, `name`],
|
|
2063
|
+
Tags: [, _json, `tags`],
|
|
2064
|
+
});
|
|
2065
|
+
Object.assign(contents, doc);
|
|
2066
|
+
return contents;
|
|
2067
|
+
};
|
|
2068
|
+
export const de_GetSignalMapCommand = async (output, context) => {
|
|
2069
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2070
|
+
return de_CommandError(output, context);
|
|
2071
|
+
}
|
|
2072
|
+
const contents = map({
|
|
2073
|
+
$metadata: deserializeMetadata(output),
|
|
2074
|
+
});
|
|
2075
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2076
|
+
const doc = take(data, {
|
|
2077
|
+
Arn: [, __expectString, `arn`],
|
|
2078
|
+
CloudWatchAlarmTemplateGroupIds: [, _json, `cloudWatchAlarmTemplateGroupIds`],
|
|
2079
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2080
|
+
Description: [, __expectString, `description`],
|
|
2081
|
+
DiscoveryEntryPointArn: [, __expectString, `discoveryEntryPointArn`],
|
|
2082
|
+
ErrorMessage: [, __expectString, `errorMessage`],
|
|
2083
|
+
EventBridgeRuleTemplateGroupIds: [, _json, `eventBridgeRuleTemplateGroupIds`],
|
|
2084
|
+
FailedMediaResourceMap: [, (_) => de_FailedMediaResourceMap(_, context), `failedMediaResourceMap`],
|
|
2085
|
+
Id: [, __expectString, `id`],
|
|
2086
|
+
LastDiscoveredAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastDiscoveredAt`],
|
|
2087
|
+
LastSuccessfulMonitorDeployment: [
|
|
2088
|
+
,
|
|
2089
|
+
(_) => de_SuccessfulMonitorDeployment(_, context),
|
|
2090
|
+
`lastSuccessfulMonitorDeployment`,
|
|
2091
|
+
],
|
|
2092
|
+
MediaResourceMap: [, (_) => de_MediaResourceMap(_, context), `mediaResourceMap`],
|
|
2093
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2094
|
+
MonitorChangesPendingDeployment: [, __expectBoolean, `monitorChangesPendingDeployment`],
|
|
2095
|
+
MonitorDeployment: [, (_) => de_MonitorDeployment(_, context), `monitorDeployment`],
|
|
2096
|
+
Name: [, __expectString, `name`],
|
|
2097
|
+
Status: [, __expectString, `status`],
|
|
2098
|
+
Tags: [, _json, `tags`],
|
|
2099
|
+
});
|
|
2100
|
+
Object.assign(contents, doc);
|
|
2101
|
+
return contents;
|
|
2102
|
+
};
|
|
2103
|
+
export const de_ListChannelsCommand = async (output, context) => {
|
|
2104
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2105
|
+
return de_CommandError(output, context);
|
|
2106
|
+
}
|
|
2107
|
+
const contents = map({
|
|
2108
|
+
$metadata: deserializeMetadata(output),
|
|
2109
|
+
});
|
|
2110
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2111
|
+
const doc = take(data, {
|
|
2112
|
+
Channels: [, (_) => de___listOfChannelSummary(_, context), `channels`],
|
|
2113
|
+
NextToken: [, __expectString, `nextToken`],
|
|
2114
|
+
});
|
|
2115
|
+
Object.assign(contents, doc);
|
|
2116
|
+
return contents;
|
|
2117
|
+
};
|
|
2118
|
+
export const de_ListCloudWatchAlarmTemplateGroupsCommand = async (output, context) => {
|
|
2119
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2120
|
+
return de_CommandError(output, context);
|
|
2121
|
+
}
|
|
2122
|
+
const contents = map({
|
|
2123
|
+
$metadata: deserializeMetadata(output),
|
|
2124
|
+
});
|
|
2125
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2126
|
+
const doc = take(data, {
|
|
2127
|
+
CloudWatchAlarmTemplateGroups: [
|
|
2128
|
+
,
|
|
2129
|
+
(_) => de___listOfCloudWatchAlarmTemplateGroupSummary(_, context),
|
|
2130
|
+
`cloudWatchAlarmTemplateGroups`,
|
|
2131
|
+
],
|
|
2132
|
+
NextToken: [, __expectString, `nextToken`],
|
|
2133
|
+
});
|
|
2134
|
+
Object.assign(contents, doc);
|
|
2135
|
+
return contents;
|
|
2136
|
+
};
|
|
2137
|
+
export const de_ListCloudWatchAlarmTemplatesCommand = async (output, context) => {
|
|
2138
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2139
|
+
return de_CommandError(output, context);
|
|
2140
|
+
}
|
|
2141
|
+
const contents = map({
|
|
2142
|
+
$metadata: deserializeMetadata(output),
|
|
2143
|
+
});
|
|
2144
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2145
|
+
const doc = take(data, {
|
|
2146
|
+
CloudWatchAlarmTemplates: [
|
|
2147
|
+
,
|
|
2148
|
+
(_) => de___listOfCloudWatchAlarmTemplateSummary(_, context),
|
|
2149
|
+
`cloudWatchAlarmTemplates`,
|
|
2150
|
+
],
|
|
2151
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1415
2152
|
});
|
|
1416
2153
|
Object.assign(contents, doc);
|
|
1417
2154
|
return contents;
|
|
1418
2155
|
};
|
|
1419
|
-
export const
|
|
2156
|
+
export const de_ListEventBridgeRuleTemplateGroupsCommand = async (output, context) => {
|
|
1420
2157
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1421
2158
|
return de_CommandError(output, context);
|
|
1422
2159
|
}
|
|
@@ -1425,12 +2162,17 @@ export const de_DescribeThumbnailsCommand = async (output, context) => {
|
|
|
1425
2162
|
});
|
|
1426
2163
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1427
2164
|
const doc = take(data, {
|
|
1428
|
-
|
|
2165
|
+
EventBridgeRuleTemplateGroups: [
|
|
2166
|
+
,
|
|
2167
|
+
(_) => de___listOfEventBridgeRuleTemplateGroupSummary(_, context),
|
|
2168
|
+
`eventBridgeRuleTemplateGroups`,
|
|
2169
|
+
],
|
|
2170
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1429
2171
|
});
|
|
1430
2172
|
Object.assign(contents, doc);
|
|
1431
2173
|
return contents;
|
|
1432
2174
|
};
|
|
1433
|
-
export const
|
|
2175
|
+
export const de_ListEventBridgeRuleTemplatesCommand = async (output, context) => {
|
|
1434
2176
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1435
2177
|
return de_CommandError(output, context);
|
|
1436
2178
|
}
|
|
@@ -1439,7 +2181,11 @@ export const de_ListChannelsCommand = async (output, context) => {
|
|
|
1439
2181
|
});
|
|
1440
2182
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1441
2183
|
const doc = take(data, {
|
|
1442
|
-
|
|
2184
|
+
EventBridgeRuleTemplates: [
|
|
2185
|
+
,
|
|
2186
|
+
(_) => de___listOfEventBridgeRuleTemplateSummary(_, context),
|
|
2187
|
+
`eventBridgeRuleTemplates`,
|
|
2188
|
+
],
|
|
1443
2189
|
NextToken: [, __expectString, `nextToken`],
|
|
1444
2190
|
});
|
|
1445
2191
|
Object.assign(contents, doc);
|
|
@@ -1565,6 +2311,21 @@ export const de_ListReservationsCommand = async (output, context) => {
|
|
|
1565
2311
|
Object.assign(contents, doc);
|
|
1566
2312
|
return contents;
|
|
1567
2313
|
};
|
|
2314
|
+
export const de_ListSignalMapsCommand = async (output, context) => {
|
|
2315
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2316
|
+
return de_CommandError(output, context);
|
|
2317
|
+
}
|
|
2318
|
+
const contents = map({
|
|
2319
|
+
$metadata: deserializeMetadata(output),
|
|
2320
|
+
});
|
|
2321
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2322
|
+
const doc = take(data, {
|
|
2323
|
+
NextToken: [, __expectString, `nextToken`],
|
|
2324
|
+
SignalMaps: [, (_) => de___listOfSignalMapSummary(_, context), `signalMaps`],
|
|
2325
|
+
});
|
|
2326
|
+
Object.assign(contents, doc);
|
|
2327
|
+
return contents;
|
|
2328
|
+
};
|
|
1568
2329
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1569
2330
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1570
2331
|
return de_CommandError(output, context);
|
|
@@ -1676,6 +2437,41 @@ export const de_StartChannelCommand = async (output, context) => {
|
|
|
1676
2437
|
Object.assign(contents, doc);
|
|
1677
2438
|
return contents;
|
|
1678
2439
|
};
|
|
2440
|
+
export const de_StartDeleteMonitorDeploymentCommand = async (output, context) => {
|
|
2441
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2442
|
+
return de_CommandError(output, context);
|
|
2443
|
+
}
|
|
2444
|
+
const contents = map({
|
|
2445
|
+
$metadata: deserializeMetadata(output),
|
|
2446
|
+
});
|
|
2447
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2448
|
+
const doc = take(data, {
|
|
2449
|
+
Arn: [, __expectString, `arn`],
|
|
2450
|
+
CloudWatchAlarmTemplateGroupIds: [, _json, `cloudWatchAlarmTemplateGroupIds`],
|
|
2451
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2452
|
+
Description: [, __expectString, `description`],
|
|
2453
|
+
DiscoveryEntryPointArn: [, __expectString, `discoveryEntryPointArn`],
|
|
2454
|
+
ErrorMessage: [, __expectString, `errorMessage`],
|
|
2455
|
+
EventBridgeRuleTemplateGroupIds: [, _json, `eventBridgeRuleTemplateGroupIds`],
|
|
2456
|
+
FailedMediaResourceMap: [, (_) => de_FailedMediaResourceMap(_, context), `failedMediaResourceMap`],
|
|
2457
|
+
Id: [, __expectString, `id`],
|
|
2458
|
+
LastDiscoveredAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastDiscoveredAt`],
|
|
2459
|
+
LastSuccessfulMonitorDeployment: [
|
|
2460
|
+
,
|
|
2461
|
+
(_) => de_SuccessfulMonitorDeployment(_, context),
|
|
2462
|
+
`lastSuccessfulMonitorDeployment`,
|
|
2463
|
+
],
|
|
2464
|
+
MediaResourceMap: [, (_) => de_MediaResourceMap(_, context), `mediaResourceMap`],
|
|
2465
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2466
|
+
MonitorChangesPendingDeployment: [, __expectBoolean, `monitorChangesPendingDeployment`],
|
|
2467
|
+
MonitorDeployment: [, (_) => de_MonitorDeployment(_, context), `monitorDeployment`],
|
|
2468
|
+
Name: [, __expectString, `name`],
|
|
2469
|
+
Status: [, __expectString, `status`],
|
|
2470
|
+
Tags: [, _json, `tags`],
|
|
2471
|
+
});
|
|
2472
|
+
Object.assign(contents, doc);
|
|
2473
|
+
return contents;
|
|
2474
|
+
};
|
|
1679
2475
|
export const de_StartInputDeviceCommand = async (output, context) => {
|
|
1680
2476
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1681
2477
|
return de_CommandError(output, context);
|
|
@@ -1696,6 +2492,41 @@ export const de_StartInputDeviceMaintenanceWindowCommand = async (output, contex
|
|
|
1696
2492
|
await collectBody(output.body, context);
|
|
1697
2493
|
return contents;
|
|
1698
2494
|
};
|
|
2495
|
+
export const de_StartMonitorDeploymentCommand = async (output, context) => {
|
|
2496
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2497
|
+
return de_CommandError(output, context);
|
|
2498
|
+
}
|
|
2499
|
+
const contents = map({
|
|
2500
|
+
$metadata: deserializeMetadata(output),
|
|
2501
|
+
});
|
|
2502
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2503
|
+
const doc = take(data, {
|
|
2504
|
+
Arn: [, __expectString, `arn`],
|
|
2505
|
+
CloudWatchAlarmTemplateGroupIds: [, _json, `cloudWatchAlarmTemplateGroupIds`],
|
|
2506
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2507
|
+
Description: [, __expectString, `description`],
|
|
2508
|
+
DiscoveryEntryPointArn: [, __expectString, `discoveryEntryPointArn`],
|
|
2509
|
+
ErrorMessage: [, __expectString, `errorMessage`],
|
|
2510
|
+
EventBridgeRuleTemplateGroupIds: [, _json, `eventBridgeRuleTemplateGroupIds`],
|
|
2511
|
+
FailedMediaResourceMap: [, (_) => de_FailedMediaResourceMap(_, context), `failedMediaResourceMap`],
|
|
2512
|
+
Id: [, __expectString, `id`],
|
|
2513
|
+
LastDiscoveredAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastDiscoveredAt`],
|
|
2514
|
+
LastSuccessfulMonitorDeployment: [
|
|
2515
|
+
,
|
|
2516
|
+
(_) => de_SuccessfulMonitorDeployment(_, context),
|
|
2517
|
+
`lastSuccessfulMonitorDeployment`,
|
|
2518
|
+
],
|
|
2519
|
+
MediaResourceMap: [, (_) => de_MediaResourceMap(_, context), `mediaResourceMap`],
|
|
2520
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2521
|
+
MonitorChangesPendingDeployment: [, __expectBoolean, `monitorChangesPendingDeployment`],
|
|
2522
|
+
MonitorDeployment: [, (_) => de_MonitorDeployment(_, context), `monitorDeployment`],
|
|
2523
|
+
Name: [, __expectString, `name`],
|
|
2524
|
+
Status: [, __expectString, `status`],
|
|
2525
|
+
Tags: [, _json, `tags`],
|
|
2526
|
+
});
|
|
2527
|
+
Object.assign(contents, doc);
|
|
2528
|
+
return contents;
|
|
2529
|
+
};
|
|
1699
2530
|
export const de_StartMultiplexCommand = async (output, context) => {
|
|
1700
2531
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1701
2532
|
return de_CommandError(output, context);
|
|
@@ -1719,6 +2550,41 @@ export const de_StartMultiplexCommand = async (output, context) => {
|
|
|
1719
2550
|
Object.assign(contents, doc);
|
|
1720
2551
|
return contents;
|
|
1721
2552
|
};
|
|
2553
|
+
export const de_StartUpdateSignalMapCommand = async (output, context) => {
|
|
2554
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2555
|
+
return de_CommandError(output, context);
|
|
2556
|
+
}
|
|
2557
|
+
const contents = map({
|
|
2558
|
+
$metadata: deserializeMetadata(output),
|
|
2559
|
+
});
|
|
2560
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2561
|
+
const doc = take(data, {
|
|
2562
|
+
Arn: [, __expectString, `arn`],
|
|
2563
|
+
CloudWatchAlarmTemplateGroupIds: [, _json, `cloudWatchAlarmTemplateGroupIds`],
|
|
2564
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2565
|
+
Description: [, __expectString, `description`],
|
|
2566
|
+
DiscoveryEntryPointArn: [, __expectString, `discoveryEntryPointArn`],
|
|
2567
|
+
ErrorMessage: [, __expectString, `errorMessage`],
|
|
2568
|
+
EventBridgeRuleTemplateGroupIds: [, _json, `eventBridgeRuleTemplateGroupIds`],
|
|
2569
|
+
FailedMediaResourceMap: [, (_) => de_FailedMediaResourceMap(_, context), `failedMediaResourceMap`],
|
|
2570
|
+
Id: [, __expectString, `id`],
|
|
2571
|
+
LastDiscoveredAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastDiscoveredAt`],
|
|
2572
|
+
LastSuccessfulMonitorDeployment: [
|
|
2573
|
+
,
|
|
2574
|
+
(_) => de_SuccessfulMonitorDeployment(_, context),
|
|
2575
|
+
`lastSuccessfulMonitorDeployment`,
|
|
2576
|
+
],
|
|
2577
|
+
MediaResourceMap: [, (_) => de_MediaResourceMap(_, context), `mediaResourceMap`],
|
|
2578
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2579
|
+
MonitorChangesPendingDeployment: [, __expectBoolean, `monitorChangesPendingDeployment`],
|
|
2580
|
+
MonitorDeployment: [, (_) => de_MonitorDeployment(_, context), `monitorDeployment`],
|
|
2581
|
+
Name: [, __expectString, `name`],
|
|
2582
|
+
Status: [, __expectString, `status`],
|
|
2583
|
+
Tags: [, _json, `tags`],
|
|
2584
|
+
});
|
|
2585
|
+
Object.assign(contents, doc);
|
|
2586
|
+
return contents;
|
|
2587
|
+
};
|
|
1722
2588
|
export const de_StopChannelCommand = async (output, context) => {
|
|
1723
2589
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1724
2590
|
return de_CommandError(output, context);
|
|
@@ -1835,6 +2701,99 @@ export const de_UpdateChannelClassCommand = async (output, context) => {
|
|
|
1835
2701
|
Object.assign(contents, doc);
|
|
1836
2702
|
return contents;
|
|
1837
2703
|
};
|
|
2704
|
+
export const de_UpdateCloudWatchAlarmTemplateCommand = async (output, context) => {
|
|
2705
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2706
|
+
return de_CommandError(output, context);
|
|
2707
|
+
}
|
|
2708
|
+
const contents = map({
|
|
2709
|
+
$metadata: deserializeMetadata(output),
|
|
2710
|
+
});
|
|
2711
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2712
|
+
const doc = take(data, {
|
|
2713
|
+
Arn: [, __expectString, `arn`],
|
|
2714
|
+
ComparisonOperator: [, __expectString, `comparisonOperator`],
|
|
2715
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2716
|
+
DatapointsToAlarm: [, __expectInt32, `datapointsToAlarm`],
|
|
2717
|
+
Description: [, __expectString, `description`],
|
|
2718
|
+
EvaluationPeriods: [, __expectInt32, `evaluationPeriods`],
|
|
2719
|
+
GroupId: [, __expectString, `groupId`],
|
|
2720
|
+
Id: [, __expectString, `id`],
|
|
2721
|
+
MetricName: [, __expectString, `metricName`],
|
|
2722
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2723
|
+
Name: [, __expectString, `name`],
|
|
2724
|
+
Period: [, __expectInt32, `period`],
|
|
2725
|
+
Statistic: [, __expectString, `statistic`],
|
|
2726
|
+
Tags: [, _json, `tags`],
|
|
2727
|
+
TargetResourceType: [, __expectString, `targetResourceType`],
|
|
2728
|
+
Threshold: [, __limitedParseDouble, `threshold`],
|
|
2729
|
+
TreatMissingData: [, __expectString, `treatMissingData`],
|
|
2730
|
+
});
|
|
2731
|
+
Object.assign(contents, doc);
|
|
2732
|
+
return contents;
|
|
2733
|
+
};
|
|
2734
|
+
export const de_UpdateCloudWatchAlarmTemplateGroupCommand = async (output, context) => {
|
|
2735
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2736
|
+
return de_CommandError(output, context);
|
|
2737
|
+
}
|
|
2738
|
+
const contents = map({
|
|
2739
|
+
$metadata: deserializeMetadata(output),
|
|
2740
|
+
});
|
|
2741
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2742
|
+
const doc = take(data, {
|
|
2743
|
+
Arn: [, __expectString, `arn`],
|
|
2744
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2745
|
+
Description: [, __expectString, `description`],
|
|
2746
|
+
Id: [, __expectString, `id`],
|
|
2747
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2748
|
+
Name: [, __expectString, `name`],
|
|
2749
|
+
Tags: [, _json, `tags`],
|
|
2750
|
+
});
|
|
2751
|
+
Object.assign(contents, doc);
|
|
2752
|
+
return contents;
|
|
2753
|
+
};
|
|
2754
|
+
export const de_UpdateEventBridgeRuleTemplateCommand = async (output, context) => {
|
|
2755
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2756
|
+
return de_CommandError(output, context);
|
|
2757
|
+
}
|
|
2758
|
+
const contents = map({
|
|
2759
|
+
$metadata: deserializeMetadata(output),
|
|
2760
|
+
});
|
|
2761
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2762
|
+
const doc = take(data, {
|
|
2763
|
+
Arn: [, __expectString, `arn`],
|
|
2764
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2765
|
+
Description: [, __expectString, `description`],
|
|
2766
|
+
EventTargets: [, (_) => de___listOfEventBridgeRuleTemplateTarget(_, context), `eventTargets`],
|
|
2767
|
+
EventType: [, __expectString, `eventType`],
|
|
2768
|
+
GroupId: [, __expectString, `groupId`],
|
|
2769
|
+
Id: [, __expectString, `id`],
|
|
2770
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2771
|
+
Name: [, __expectString, `name`],
|
|
2772
|
+
Tags: [, _json, `tags`],
|
|
2773
|
+
});
|
|
2774
|
+
Object.assign(contents, doc);
|
|
2775
|
+
return contents;
|
|
2776
|
+
};
|
|
2777
|
+
export const de_UpdateEventBridgeRuleTemplateGroupCommand = async (output, context) => {
|
|
2778
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2779
|
+
return de_CommandError(output, context);
|
|
2780
|
+
}
|
|
2781
|
+
const contents = map({
|
|
2782
|
+
$metadata: deserializeMetadata(output),
|
|
2783
|
+
});
|
|
2784
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2785
|
+
const doc = take(data, {
|
|
2786
|
+
Arn: [, __expectString, `arn`],
|
|
2787
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
2788
|
+
Description: [, __expectString, `description`],
|
|
2789
|
+
Id: [, __expectString, `id`],
|
|
2790
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
2791
|
+
Name: [, __expectString, `name`],
|
|
2792
|
+
Tags: [, _json, `tags`],
|
|
2793
|
+
});
|
|
2794
|
+
Object.assign(contents, doc);
|
|
2795
|
+
return contents;
|
|
2796
|
+
};
|
|
1838
2797
|
export const de_UpdateInputCommand = async (output, context) => {
|
|
1839
2798
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1840
2799
|
return de_CommandError(output, context);
|
|
@@ -2152,6 +3111,13 @@ const se___listOfColorCorrection = (input, context) => {
|
|
|
2152
3111
|
return se_ColorCorrection(entry, context);
|
|
2153
3112
|
});
|
|
2154
3113
|
};
|
|
3114
|
+
const se___listOfEventBridgeRuleTemplateTarget = (input, context) => {
|
|
3115
|
+
return input
|
|
3116
|
+
.filter((e) => e != null)
|
|
3117
|
+
.map((entry) => {
|
|
3118
|
+
return se_EventBridgeRuleTemplateTarget(entry, context);
|
|
3119
|
+
});
|
|
3120
|
+
};
|
|
2155
3121
|
const se___listOfFailoverCondition = (input, context) => {
|
|
2156
3122
|
return input
|
|
2157
3123
|
.filter((e) => e != null)
|
|
@@ -2749,6 +3715,11 @@ const se_Esam = (input, context) => {
|
|
|
2749
3715
|
zoneIdentity: [, , `ZoneIdentity`],
|
|
2750
3716
|
});
|
|
2751
3717
|
};
|
|
3718
|
+
const se_EventBridgeRuleTemplateTarget = (input, context) => {
|
|
3719
|
+
return take(input, {
|
|
3720
|
+
arn: [, , `Arn`],
|
|
3721
|
+
});
|
|
3722
|
+
};
|
|
2752
3723
|
const se_FailoverCondition = (input, context) => {
|
|
2753
3724
|
return take(input, {
|
|
2754
3725
|
failoverConditionSettings: [, (_) => se_FailoverConditionSettings(_, context), `FailoverConditionSettings`],
|
|
@@ -4057,6 +5028,22 @@ const de___listOfChannelSummary = (output, context) => {
|
|
|
4057
5028
|
});
|
|
4058
5029
|
return retVal;
|
|
4059
5030
|
};
|
|
5031
|
+
const de___listOfCloudWatchAlarmTemplateGroupSummary = (output, context) => {
|
|
5032
|
+
const retVal = (output || [])
|
|
5033
|
+
.filter((e) => e != null)
|
|
5034
|
+
.map((entry) => {
|
|
5035
|
+
return de_CloudWatchAlarmTemplateGroupSummary(entry, context);
|
|
5036
|
+
});
|
|
5037
|
+
return retVal;
|
|
5038
|
+
};
|
|
5039
|
+
const de___listOfCloudWatchAlarmTemplateSummary = (output, context) => {
|
|
5040
|
+
const retVal = (output || [])
|
|
5041
|
+
.filter((e) => e != null)
|
|
5042
|
+
.map((entry) => {
|
|
5043
|
+
return de_CloudWatchAlarmTemplateSummary(entry, context);
|
|
5044
|
+
});
|
|
5045
|
+
return retVal;
|
|
5046
|
+
};
|
|
4060
5047
|
const de___listOfColorCorrection = (output, context) => {
|
|
4061
5048
|
const retVal = (output || [])
|
|
4062
5049
|
.filter((e) => e != null)
|
|
@@ -4065,6 +5052,30 @@ const de___listOfColorCorrection = (output, context) => {
|
|
|
4065
5052
|
});
|
|
4066
5053
|
return retVal;
|
|
4067
5054
|
};
|
|
5055
|
+
const de___listOfEventBridgeRuleTemplateGroupSummary = (output, context) => {
|
|
5056
|
+
const retVal = (output || [])
|
|
5057
|
+
.filter((e) => e != null)
|
|
5058
|
+
.map((entry) => {
|
|
5059
|
+
return de_EventBridgeRuleTemplateGroupSummary(entry, context);
|
|
5060
|
+
});
|
|
5061
|
+
return retVal;
|
|
5062
|
+
};
|
|
5063
|
+
const de___listOfEventBridgeRuleTemplateSummary = (output, context) => {
|
|
5064
|
+
const retVal = (output || [])
|
|
5065
|
+
.filter((e) => e != null)
|
|
5066
|
+
.map((entry) => {
|
|
5067
|
+
return de_EventBridgeRuleTemplateSummary(entry, context);
|
|
5068
|
+
});
|
|
5069
|
+
return retVal;
|
|
5070
|
+
};
|
|
5071
|
+
const de___listOfEventBridgeRuleTemplateTarget = (output, context) => {
|
|
5072
|
+
const retVal = (output || [])
|
|
5073
|
+
.filter((e) => e != null)
|
|
5074
|
+
.map((entry) => {
|
|
5075
|
+
return de_EventBridgeRuleTemplateTarget(entry, context);
|
|
5076
|
+
});
|
|
5077
|
+
return retVal;
|
|
5078
|
+
};
|
|
4068
5079
|
const de___listOfFailoverCondition = (output, context) => {
|
|
4069
5080
|
const retVal = (output || [])
|
|
4070
5081
|
.filter((e) => e != null)
|
|
@@ -4169,6 +5180,14 @@ const de___listOfMediaPackageOutputDestinationSettings = (output, context) => {
|
|
|
4169
5180
|
});
|
|
4170
5181
|
return retVal;
|
|
4171
5182
|
};
|
|
5183
|
+
const de___listOfMediaResourceNeighbor = (output, context) => {
|
|
5184
|
+
const retVal = (output || [])
|
|
5185
|
+
.filter((e) => e != null)
|
|
5186
|
+
.map((entry) => {
|
|
5187
|
+
return de_MediaResourceNeighbor(entry, context);
|
|
5188
|
+
});
|
|
5189
|
+
return retVal;
|
|
5190
|
+
};
|
|
4172
5191
|
const de___listOfMultiplexOutputDestination = (output, context) => {
|
|
4173
5192
|
const retVal = (output || [])
|
|
4174
5193
|
.filter((e) => e != null)
|
|
@@ -4281,6 +5300,14 @@ const de___listOfScte35Descriptor = (output, context) => {
|
|
|
4281
5300
|
});
|
|
4282
5301
|
return retVal;
|
|
4283
5302
|
};
|
|
5303
|
+
const de___listOfSignalMapSummary = (output, context) => {
|
|
5304
|
+
const retVal = (output || [])
|
|
5305
|
+
.filter((e) => e != null)
|
|
5306
|
+
.map((entry) => {
|
|
5307
|
+
return de_SignalMapSummary(entry, context);
|
|
5308
|
+
});
|
|
5309
|
+
return retVal;
|
|
5310
|
+
};
|
|
4284
5311
|
const de___listOfThumbnail = (output, context) => {
|
|
4285
5312
|
const retVal = (output || [])
|
|
4286
5313
|
.filter((e) => e != null)
|
|
@@ -4688,6 +5715,39 @@ const de_ChannelSummary = (output, context) => {
|
|
|
4688
5715
|
Vpc: [, (_) => de_VpcOutputSettingsDescription(_, context), `vpc`],
|
|
4689
5716
|
});
|
|
4690
5717
|
};
|
|
5718
|
+
const de_CloudWatchAlarmTemplateGroupSummary = (output, context) => {
|
|
5719
|
+
return take(output, {
|
|
5720
|
+
Arn: [, __expectString, `arn`],
|
|
5721
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
5722
|
+
Description: [, __expectString, `description`],
|
|
5723
|
+
Id: [, __expectString, `id`],
|
|
5724
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
5725
|
+
Name: [, __expectString, `name`],
|
|
5726
|
+
Tags: [, _json, `tags`],
|
|
5727
|
+
TemplateCount: [, __expectInt32, `templateCount`],
|
|
5728
|
+
});
|
|
5729
|
+
};
|
|
5730
|
+
const de_CloudWatchAlarmTemplateSummary = (output, context) => {
|
|
5731
|
+
return take(output, {
|
|
5732
|
+
Arn: [, __expectString, `arn`],
|
|
5733
|
+
ComparisonOperator: [, __expectString, `comparisonOperator`],
|
|
5734
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
5735
|
+
DatapointsToAlarm: [, __expectInt32, `datapointsToAlarm`],
|
|
5736
|
+
Description: [, __expectString, `description`],
|
|
5737
|
+
EvaluationPeriods: [, __expectInt32, `evaluationPeriods`],
|
|
5738
|
+
GroupId: [, __expectString, `groupId`],
|
|
5739
|
+
Id: [, __expectString, `id`],
|
|
5740
|
+
MetricName: [, __expectString, `metricName`],
|
|
5741
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
5742
|
+
Name: [, __expectString, `name`],
|
|
5743
|
+
Period: [, __expectInt32, `period`],
|
|
5744
|
+
Statistic: [, __expectString, `statistic`],
|
|
5745
|
+
Tags: [, _json, `tags`],
|
|
5746
|
+
TargetResourceType: [, __expectString, `targetResourceType`],
|
|
5747
|
+
Threshold: [, __limitedParseDouble, `threshold`],
|
|
5748
|
+
TreatMissingData: [, __expectString, `treatMissingData`],
|
|
5749
|
+
});
|
|
5750
|
+
};
|
|
4691
5751
|
const de_CmafIngestGroupSettings = (output, context) => {
|
|
4692
5752
|
return take(output, {
|
|
4693
5753
|
Destination: [, (_) => de_OutputLocationRef(_, context), `destination`],
|
|
@@ -4851,6 +5911,46 @@ const de_Esam = (output, context) => {
|
|
|
4851
5911
|
ZoneIdentity: [, __expectString, `zoneIdentity`],
|
|
4852
5912
|
});
|
|
4853
5913
|
};
|
|
5914
|
+
const de_EventBridgeRuleTemplateGroupSummary = (output, context) => {
|
|
5915
|
+
return take(output, {
|
|
5916
|
+
Arn: [, __expectString, `arn`],
|
|
5917
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
5918
|
+
Description: [, __expectString, `description`],
|
|
5919
|
+
Id: [, __expectString, `id`],
|
|
5920
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
5921
|
+
Name: [, __expectString, `name`],
|
|
5922
|
+
Tags: [, _json, `tags`],
|
|
5923
|
+
TemplateCount: [, __expectInt32, `templateCount`],
|
|
5924
|
+
});
|
|
5925
|
+
};
|
|
5926
|
+
const de_EventBridgeRuleTemplateSummary = (output, context) => {
|
|
5927
|
+
return take(output, {
|
|
5928
|
+
Arn: [, __expectString, `arn`],
|
|
5929
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
5930
|
+
Description: [, __expectString, `description`],
|
|
5931
|
+
EventTargetCount: [, __expectInt32, `eventTargetCount`],
|
|
5932
|
+
EventType: [, __expectString, `eventType`],
|
|
5933
|
+
GroupId: [, __expectString, `groupId`],
|
|
5934
|
+
Id: [, __expectString, `id`],
|
|
5935
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
5936
|
+
Name: [, __expectString, `name`],
|
|
5937
|
+
Tags: [, _json, `tags`],
|
|
5938
|
+
});
|
|
5939
|
+
};
|
|
5940
|
+
const de_EventBridgeRuleTemplateTarget = (output, context) => {
|
|
5941
|
+
return take(output, {
|
|
5942
|
+
Arn: [, __expectString, `arn`],
|
|
5943
|
+
});
|
|
5944
|
+
};
|
|
5945
|
+
const de_FailedMediaResourceMap = (output, context) => {
|
|
5946
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5947
|
+
if (value === null) {
|
|
5948
|
+
return acc;
|
|
5949
|
+
}
|
|
5950
|
+
acc[key] = de_MediaResource(value, context);
|
|
5951
|
+
return acc;
|
|
5952
|
+
}, {});
|
|
5953
|
+
};
|
|
4854
5954
|
const de_FailoverCondition = (output, context) => {
|
|
4855
5955
|
return take(output, {
|
|
4856
5956
|
FailoverConditionSettings: [, (_) => de_FailoverConditionSettings(_, context), `failoverConditionSettings`],
|
|
@@ -5503,6 +6603,35 @@ const de_MediaPackageOutputDestinationSettings = (output, context) => {
|
|
|
5503
6603
|
ChannelId: [, __expectString, `channelId`],
|
|
5504
6604
|
});
|
|
5505
6605
|
};
|
|
6606
|
+
const de_MediaResource = (output, context) => {
|
|
6607
|
+
return take(output, {
|
|
6608
|
+
Destinations: [, (_) => de___listOfMediaResourceNeighbor(_, context), `destinations`],
|
|
6609
|
+
Name: [, __expectString, `name`],
|
|
6610
|
+
Sources: [, (_) => de___listOfMediaResourceNeighbor(_, context), `sources`],
|
|
6611
|
+
});
|
|
6612
|
+
};
|
|
6613
|
+
const de_MediaResourceMap = (output, context) => {
|
|
6614
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6615
|
+
if (value === null) {
|
|
6616
|
+
return acc;
|
|
6617
|
+
}
|
|
6618
|
+
acc[key] = de_MediaResource(value, context);
|
|
6619
|
+
return acc;
|
|
6620
|
+
}, {});
|
|
6621
|
+
};
|
|
6622
|
+
const de_MediaResourceNeighbor = (output, context) => {
|
|
6623
|
+
return take(output, {
|
|
6624
|
+
Arn: [, __expectString, `arn`],
|
|
6625
|
+
Name: [, __expectString, `name`],
|
|
6626
|
+
});
|
|
6627
|
+
};
|
|
6628
|
+
const de_MonitorDeployment = (output, context) => {
|
|
6629
|
+
return take(output, {
|
|
6630
|
+
DetailsUri: [, __expectString, `detailsUri`],
|
|
6631
|
+
ErrorMessage: [, __expectString, `errorMessage`],
|
|
6632
|
+
Status: [, __expectString, `status`],
|
|
6633
|
+
});
|
|
6634
|
+
};
|
|
5506
6635
|
const de_MotionGraphicsActivateScheduleActionSettings = (output, context) => {
|
|
5507
6636
|
return take(output, {
|
|
5508
6637
|
Duration: [, __expectLong, `duration`],
|
|
@@ -6092,6 +7221,19 @@ const de_Scte35TimeSignalScheduleActionSettings = (output, context) => {
|
|
|
6092
7221
|
Scte35Descriptors: [, (_) => de___listOfScte35Descriptor(_, context), `scte35Descriptors`],
|
|
6093
7222
|
});
|
|
6094
7223
|
};
|
|
7224
|
+
const de_SignalMapSummary = (output, context) => {
|
|
7225
|
+
return take(output, {
|
|
7226
|
+
Arn: [, __expectString, `arn`],
|
|
7227
|
+
CreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
7228
|
+
Description: [, __expectString, `description`],
|
|
7229
|
+
Id: [, __expectString, `id`],
|
|
7230
|
+
ModifiedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `modifiedAt`],
|
|
7231
|
+
MonitorDeploymentStatus: [, __expectString, `monitorDeploymentStatus`],
|
|
7232
|
+
Name: [, __expectString, `name`],
|
|
7233
|
+
Status: [, __expectString, `status`],
|
|
7234
|
+
Tags: [, _json, `tags`],
|
|
7235
|
+
});
|
|
7236
|
+
};
|
|
6095
7237
|
const de_StandardHlsSettings = (output, context) => {
|
|
6096
7238
|
return take(output, {
|
|
6097
7239
|
AudioRenditionSets: [, __expectString, `audioRenditionSets`],
|
|
@@ -6157,6 +7299,12 @@ const de_StopTimecode = (output, context) => {
|
|
|
6157
7299
|
Timecode: [, __expectString, `timecode`],
|
|
6158
7300
|
});
|
|
6159
7301
|
};
|
|
7302
|
+
const de_SuccessfulMonitorDeployment = (output, context) => {
|
|
7303
|
+
return take(output, {
|
|
7304
|
+
DetailsUri: [, __expectString, `detailsUri`],
|
|
7305
|
+
Status: [, __expectString, `status`],
|
|
7306
|
+
});
|
|
7307
|
+
};
|
|
6160
7308
|
const de_TeletextSourceSettings = (output, context) => {
|
|
6161
7309
|
return take(output, {
|
|
6162
7310
|
OutputRectangle: [, (_) => de_CaptionRectangle(_, context), `outputRectangle`],
|
|
@@ -6332,8 +7480,11 @@ const _CC = "ChannelClass";
|
|
|
6332
7480
|
const _CCh = "ChannelConfiguration";
|
|
6333
7481
|
const _CL = "ContentLength";
|
|
6334
7482
|
const _CT = "ContentType";
|
|
7483
|
+
const _CWATGI = "CloudWatchAlarmTemplateGroupIdentifier";
|
|
6335
7484
|
const _D = "Duration";
|
|
7485
|
+
const _EBRTGI = "EventBridgeRuleTemplateGroupIdentifier";
|
|
6336
7486
|
const _ET = "ETag";
|
|
7487
|
+
const _GI = "GroupIdentifier";
|
|
6337
7488
|
const _LM = "LastModified";
|
|
6338
7489
|
const _MB = "MaximumBitrate";
|
|
6339
7490
|
const _MF = "MaximumFramerate";
|
|
@@ -6342,7 +7493,9 @@ const _NT = "NextToken";
|
|
|
6342
7493
|
const _PI = "PipelineId";
|
|
6343
7494
|
const _R = "Resolution";
|
|
6344
7495
|
const _RT = "ResourceType";
|
|
7496
|
+
const _S = "Scope";
|
|
6345
7497
|
const _SF = "SpecialFeature";
|
|
7498
|
+
const _SMI = "SignalMapIdentifier";
|
|
6346
7499
|
const _TK = "TagKeys";
|
|
6347
7500
|
const _TT = "ThumbnailType";
|
|
6348
7501
|
const _TTr = "TransferType";
|
|
@@ -6351,10 +7504,13 @@ const _a = "accept";
|
|
|
6351
7504
|
const _c = "codec";
|
|
6352
7505
|
const _cC = "channelClass";
|
|
6353
7506
|
const _cCh = "channelConfiguration";
|
|
7507
|
+
const _cWATGI = "cloudWatchAlarmTemplateGroupIdentifier";
|
|
6354
7508
|
const _cl = "content-length";
|
|
6355
7509
|
const _ct = "content-type";
|
|
6356
7510
|
const _d = "duration";
|
|
6357
7511
|
const _e = "etag";
|
|
7512
|
+
const _eBRTGI = "eventBridgeRuleTemplateGroupIdentifier";
|
|
7513
|
+
const _gI = "groupIdentifier";
|
|
6358
7514
|
const _lm = "last-modified";
|
|
6359
7515
|
const _mB = "maximumBitrate";
|
|
6360
7516
|
const _mF = "maximumFramerate";
|
|
@@ -6363,7 +7519,9 @@ const _nT = "nextToken";
|
|
|
6363
7519
|
const _pI = "pipelineId";
|
|
6364
7520
|
const _r = "resolution";
|
|
6365
7521
|
const _rT = "resourceType";
|
|
7522
|
+
const _s = "scope";
|
|
6366
7523
|
const _sF = "specialFeature";
|
|
7524
|
+
const _sMI = "signalMapIdentifier";
|
|
6367
7525
|
const _tK = "tagKeys";
|
|
6368
7526
|
const _tT = "thumbnailType";
|
|
6369
7527
|
const _tTr = "transferType";
|