@aws-sdk/client-medialive 3.744.0 → 3.747.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1846,6 +1846,7 @@ var se_CreateCloudWatchAlarmTemplateCommand = /* @__PURE__ */ __name(async (inpu
1846
1846
  metricName: [, , `MetricName`],
1847
1847
  name: [, , `Name`],
1848
1848
  period: [, , `Period`],
1849
+ requestId: [true, (_) => _ ?? (0, import_uuid.v4)(), `RequestId`],
1849
1850
  statistic: [, , `Statistic`],
1850
1851
  tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`],
1851
1852
  targetResourceType: [, , `TargetResourceType`],
@@ -1867,6 +1868,7 @@ var se_CreateCloudWatchAlarmTemplateGroupCommand = /* @__PURE__ */ __name(async
1867
1868
  (0, import_smithy_client.take)(input, {
1868
1869
  description: [, , `Description`],
1869
1870
  name: [, , `Name`],
1871
+ requestId: [true, (_) => _ ?? (0, import_uuid.v4)(), `RequestId`],
1870
1872
  tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
1871
1873
  })
1872
1874
  );
@@ -1907,6 +1909,7 @@ var se_CreateEventBridgeRuleTemplateCommand = /* @__PURE__ */ __name(async (inpu
1907
1909
  eventType: [, , `EventType`],
1908
1910
  groupIdentifier: [, , `GroupIdentifier`],
1909
1911
  name: [, , `Name`],
1912
+ requestId: [true, (_) => _ ?? (0, import_uuid.v4)(), `RequestId`],
1910
1913
  tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
1911
1914
  })
1912
1915
  );
@@ -1924,6 +1927,7 @@ var se_CreateEventBridgeRuleTemplateGroupCommand = /* @__PURE__ */ __name(async
1924
1927
  (0, import_smithy_client.take)(input, {
1925
1928
  description: [, , `Description`],
1926
1929
  name: [, , `Name`],
1930
+ requestId: [true, (_) => _ ?? (0, import_uuid.v4)(), `RequestId`],
1927
1931
  tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
1928
1932
  })
1929
1933
  );
@@ -2105,6 +2109,7 @@ var se_CreateSignalMapCommand = /* @__PURE__ */ __name(async (input, context) =>
2105
2109
  discoveryEntryPointArn: [, , `DiscoveryEntryPointArn`],
2106
2110
  eventBridgeRuleTemplateGroupIdentifiers: [, (_) => (0, import_smithy_client._json)(_), `EventBridgeRuleTemplateGroupIdentifiers`],
2107
2111
  name: [, , `Name`],
2112
+ requestId: [true, (_) => _ ?? (0, import_uuid.v4)(), `RequestId`],
2108
2113
  tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
2109
2114
  })
2110
2115
  );
@@ -2860,7 +2865,8 @@ var se_StartMonitorDeploymentCommand = /* @__PURE__ */ __name(async (input, cont
2860
2865
  let body;
2861
2866
  body = JSON.stringify(
2862
2867
  (0, import_smithy_client.take)(input, {
2863
- dryRun: [, , `DryRun`]
2868
+ dryRun: [, , `DryRun`],
2869
+ requestId: [true, (_) => _ ?? (0, import_uuid.v4)(), `RequestId`]
2864
2870
  })
2865
2871
  );
2866
2872
  b.m("POST").h(headers).b(body);
@@ -156,6 +156,7 @@ export const se_CreateCloudWatchAlarmTemplateCommand = async (input, context) =>
156
156
  metricName: [, , `MetricName`],
157
157
  name: [, , `Name`],
158
158
  period: [, , `Period`],
159
+ requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
159
160
  statistic: [, , `Statistic`],
160
161
  tags: [, (_) => _json(_), `Tags`],
161
162
  targetResourceType: [, , `TargetResourceType`],
@@ -175,6 +176,7 @@ export const se_CreateCloudWatchAlarmTemplateGroupCommand = async (input, contex
175
176
  body = JSON.stringify(take(input, {
176
177
  description: [, , `Description`],
177
178
  name: [, , `Name`],
179
+ requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
178
180
  tags: [, (_) => _json(_), `Tags`],
179
181
  }));
180
182
  b.m("POST").h(headers).b(body);
@@ -211,6 +213,7 @@ export const se_CreateEventBridgeRuleTemplateCommand = async (input, context) =>
211
213
  eventType: [, , `EventType`],
212
214
  groupIdentifier: [, , `GroupIdentifier`],
213
215
  name: [, , `Name`],
216
+ requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
214
217
  tags: [, (_) => _json(_), `Tags`],
215
218
  }));
216
219
  b.m("POST").h(headers).b(body);
@@ -226,6 +229,7 @@ export const se_CreateEventBridgeRuleTemplateGroupCommand = async (input, contex
226
229
  body = JSON.stringify(take(input, {
227
230
  description: [, , `Description`],
228
231
  name: [, , `Name`],
232
+ requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
229
233
  tags: [, (_) => _json(_), `Tags`],
230
234
  }));
231
235
  b.m("POST").h(headers).b(body);
@@ -389,6 +393,7 @@ export const se_CreateSignalMapCommand = async (input, context) => {
389
393
  discoveryEntryPointArn: [, , `DiscoveryEntryPointArn`],
390
394
  eventBridgeRuleTemplateGroupIdentifiers: [, (_) => _json(_), `EventBridgeRuleTemplateGroupIdentifiers`],
391
395
  name: [, , `Name`],
396
+ requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
392
397
  tags: [, (_) => _json(_), `Tags`],
393
398
  }));
394
399
  b.m("POST").h(headers).b(body);
@@ -1135,6 +1140,7 @@ export const se_StartMonitorDeploymentCommand = async (input, context) => {
1135
1140
  let body;
1136
1141
  body = JSON.stringify(take(input, {
1137
1142
  dryRun: [, , `DryRun`],
1143
+ requestId: [true, (_) => _ ?? generateIdempotencyToken(), `RequestId`],
1138
1144
  }));
1139
1145
  b.m("POST").h(headers).b(body);
1140
1146
  return b.build();
@@ -50,6 +50,7 @@ declare const CreateCloudWatchAlarmTemplateCommand_base: {
50
50
  * TargetResourceType: "CLOUDFRONT_DISTRIBUTION" || "MEDIALIVE_MULTIPLEX" || "MEDIALIVE_CHANNEL" || "MEDIALIVE_INPUT_DEVICE" || "MEDIAPACKAGE_CHANNEL" || "MEDIAPACKAGE_ORIGIN_ENDPOINT" || "MEDIACONNECT_FLOW" || "S3_BUCKET", // required
51
51
  * Threshold: Number("double"), // required
52
52
  * TreatMissingData: "notBreaching" || "breaching" || "ignore" || "missing", // required
53
+ * RequestId: "STRING_VALUE",
53
54
  * };
54
55
  * const command = new CreateCloudWatchAlarmTemplateCommand(input);
55
56
  * const response = await client.send(command);
@@ -40,6 +40,7 @@ declare const CreateCloudWatchAlarmTemplateGroupCommand_base: {
40
40
  * Tags: { // TagMap
41
41
  * "<keys>": "STRING_VALUE",
42
42
  * },
43
+ * RequestId: "STRING_VALUE",
43
44
  * };
44
45
  * const command = new CreateCloudWatchAlarmTemplateGroupCommand(input);
45
46
  * const response = await client.send(command);
@@ -47,6 +47,7 @@ declare const CreateEventBridgeRuleTemplateCommand_base: {
47
47
  * Tags: { // TagMap
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
+ * RequestId: "STRING_VALUE",
50
51
  * };
51
52
  * const command = new CreateEventBridgeRuleTemplateCommand(input);
52
53
  * const response = await client.send(command);
@@ -40,6 +40,7 @@ declare const CreateEventBridgeRuleTemplateGroupCommand_base: {
40
40
  * Tags: { // TagMap
41
41
  * "<keys>": "STRING_VALUE",
42
42
  * },
43
+ * RequestId: "STRING_VALUE",
43
44
  * };
44
45
  * const command = new CreateEventBridgeRuleTemplateGroupCommand(input);
45
46
  * const response = await client.send(command);
@@ -47,6 +47,7 @@ declare const CreateSignalMapCommand_base: {
47
47
  * Tags: { // TagMap
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
+ * RequestId: "STRING_VALUE",
50
51
  * };
51
52
  * const command = new CreateSignalMapCommand(input);
52
53
  * const response = await client.send(command);
@@ -37,6 +37,7 @@ declare const StartMonitorDeploymentCommand_base: {
37
37
  * const input = { // StartMonitorDeploymentRequest
38
38
  * DryRun: true || false,
39
39
  * Identifier: "STRING_VALUE", // required
40
+ * RequestId: "STRING_VALUE",
40
41
  * };
41
42
  * const command = new StartMonitorDeploymentCommand(input);
42
43
  * const response = await client.send(command);
@@ -790,6 +790,11 @@ export interface CreateCloudWatchAlarmTemplateRequest {
790
790
  * @public
791
791
  */
792
792
  TreatMissingData: CloudWatchAlarmTemplateTreatMissingData | undefined;
793
+ /**
794
+ * An ID that you assign to a create request. This ID ensures idempotency when creating resources.
795
+ * @public
796
+ */
797
+ RequestId?: string | undefined;
793
798
  }
794
799
  /**
795
800
  * Placeholder documentation for CreateCloudWatchAlarmTemplateResponse
@@ -902,6 +907,11 @@ export interface CreateCloudWatchAlarmTemplateGroupRequest {
902
907
  * @public
903
908
  */
904
909
  Tags?: Record<string, string> | undefined;
910
+ /**
911
+ * An ID that you assign to a create request. This ID ensures idempotency when creating resources.
912
+ * @public
913
+ */
914
+ RequestId?: string | undefined;
905
915
  }
906
916
  /**
907
917
  * Placeholder documentation for CreateCloudWatchAlarmTemplateGroupResponse
@@ -1061,6 +1071,11 @@ export interface CreateEventBridgeRuleTemplateRequest {
1061
1071
  * @public
1062
1072
  */
1063
1073
  Tags?: Record<string, string> | undefined;
1074
+ /**
1075
+ * An ID that you assign to a create request. This ID ensures idempotency when creating resources.
1076
+ * @public
1077
+ */
1078
+ RequestId?: string | undefined;
1064
1079
  }
1065
1080
  /**
1066
1081
  * Placeholder documentation for CreateEventBridgeRuleTemplateResponse
@@ -1138,6 +1153,11 @@ export interface CreateEventBridgeRuleTemplateGroupRequest {
1138
1153
  * @public
1139
1154
  */
1140
1155
  Tags?: Record<string, string> | undefined;
1156
+ /**
1157
+ * An ID that you assign to a create request. This ID ensures idempotency when creating resources.
1158
+ * @public
1159
+ */
1160
+ RequestId?: string | undefined;
1141
1161
  }
1142
1162
  /**
1143
1163
  * Placeholder documentation for CreateEventBridgeRuleTemplateGroupResponse
@@ -2004,6 +2024,11 @@ export interface CreateSignalMapRequest {
2004
2024
  * @public
2005
2025
  */
2006
2026
  Tags?: Record<string, string> | undefined;
2027
+ /**
2028
+ * An ID that you assign to a create request. This ID ensures idempotency when creating resources.
2029
+ * @public
2030
+ */
2031
+ RequestId?: string | undefined;
2007
2032
  }
2008
2033
  /**
2009
2034
  * An AWS resource used in media workflows.
@@ -5672,6 +5697,11 @@ export interface StartMonitorDeploymentRequest {
5672
5697
  * @public
5673
5698
  */
5674
5699
  Identifier: string | undefined;
5700
+ /**
5701
+ * An ID that you assign to a create request. This ID ensures idempotency when creating resources.
5702
+ * @public
5703
+ */
5704
+ RequestId?: string | undefined;
5675
5705
  }
5676
5706
  /**
5677
5707
  * Placeholder documentation for StartMonitorDeploymentResponse
@@ -317,6 +317,7 @@ export interface CreateCloudWatchAlarmTemplateRequest {
317
317
  TargetResourceType: CloudWatchAlarmTemplateTargetResourceType | undefined;
318
318
  Threshold: number | undefined;
319
319
  TreatMissingData: CloudWatchAlarmTemplateTreatMissingData | undefined;
320
+ RequestId?: string | undefined;
320
321
  }
321
322
  export interface CreateCloudWatchAlarmTemplateResponse {
322
323
  Arn?: string | undefined;
@@ -341,6 +342,7 @@ export interface CreateCloudWatchAlarmTemplateGroupRequest {
341
342
  Description?: string | undefined;
342
343
  Name: string | undefined;
343
344
  Tags?: Record<string, string> | undefined;
345
+ RequestId?: string | undefined;
344
346
  }
345
347
  export interface CreateCloudWatchAlarmTemplateGroupResponse {
346
348
  Arn?: string | undefined;
@@ -376,6 +378,7 @@ export interface CreateEventBridgeRuleTemplateRequest {
376
378
  GroupIdentifier: string | undefined;
377
379
  Name: string | undefined;
378
380
  Tags?: Record<string, string> | undefined;
381
+ RequestId?: string | undefined;
379
382
  }
380
383
  export interface CreateEventBridgeRuleTemplateResponse {
381
384
  Arn?: string | undefined;
@@ -393,6 +396,7 @@ export interface CreateEventBridgeRuleTemplateGroupRequest {
393
396
  Description?: string | undefined;
394
397
  Name: string | undefined;
395
398
  Tags?: Record<string, string> | undefined;
399
+ RequestId?: string | undefined;
396
400
  }
397
401
  export interface CreateEventBridgeRuleTemplateGroupResponse {
398
402
  Arn?: string | undefined;
@@ -590,6 +594,7 @@ export interface CreateSignalMapRequest {
590
594
  EventBridgeRuleTemplateGroupIdentifiers?: string[] | undefined;
591
595
  Name: string | undefined;
592
596
  Tags?: Record<string, string> | undefined;
597
+ RequestId?: string | undefined;
593
598
  }
594
599
  export interface MediaResource {
595
600
  Destinations?: MediaResourceNeighbor[] | undefined;
@@ -1432,6 +1437,7 @@ export interface StartInputDeviceMaintenanceWindowResponse {}
1432
1437
  export interface StartMonitorDeploymentRequest {
1433
1438
  DryRun?: boolean | undefined;
1434
1439
  Identifier: string | undefined;
1440
+ RequestId?: string | undefined;
1435
1441
  }
1436
1442
  export interface StartMonitorDeploymentResponse {
1437
1443
  Arn?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-medialive",
3
3
  "description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
4
- "version": "3.744.0",
4
+ "version": "3.747.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-medialive",