@aws-sdk/client-mediatailor 3.368.0 → 3.370.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.
@@ -1,11 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RelativePosition = exports.ChannelState = exports.Tier = exports.PlaybackMode = exports.BadRequestException = exports.AccessType = exports.ScheduleEntryType = exports.OriginManifestType = exports.Mode = exports.FillPolicy = exports.Type = exports.AdMarkupType = exports.LogType = exports.Operator = exports.MessageType = void 0;
3
+ exports.RelativePosition = exports.ChannelState = exports.Tier = exports.PlaybackMode = exports.BadRequestException = exports.AccessType = exports.ScheduleEntryType = exports.OriginManifestType = exports.Mode = exports.FillPolicy = exports.Type = exports.AdMarkupType = exports.LogType = exports.Operator = exports.AlertCategory = exports.MessageType = void 0;
4
4
  const MediaTailorServiceException_1 = require("./MediaTailorServiceException");
5
5
  exports.MessageType = {
6
6
  SPLICE_INSERT: "SPLICE_INSERT",
7
7
  TIME_SIGNAL: "TIME_SIGNAL",
8
8
  };
9
+ exports.AlertCategory = {
10
+ INFO: "INFO",
11
+ PLAYBACK_WARNING: "PLAYBACK_WARNING",
12
+ SCHEDULING_ERROR: "SCHEDULING_ERROR",
13
+ };
9
14
  exports.Operator = {
10
15
  EQUALS: "EQUALS",
11
16
  };
@@ -2423,6 +2423,7 @@ const de_Alert = (output, context) => {
2423
2423
  return (0, smithy_client_1.take)(output, {
2424
2424
  AlertCode: smithy_client_1.expectString,
2425
2425
  AlertMessage: smithy_client_1.expectString,
2426
+ Category: smithy_client_1.expectString,
2426
2427
  LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2427
2428
  RelatedResourceArns: smithy_client_1._json,
2428
2429
  ResourceArn: smithy_client_1.expectString,
@@ -3,6 +3,11 @@ export const MessageType = {
3
3
  SPLICE_INSERT: "SPLICE_INSERT",
4
4
  TIME_SIGNAL: "TIME_SIGNAL",
5
5
  };
6
+ export const AlertCategory = {
7
+ INFO: "INFO",
8
+ PLAYBACK_WARNING: "PLAYBACK_WARNING",
9
+ SCHEDULING_ERROR: "SCHEDULING_ERROR",
10
+ };
6
11
  export const Operator = {
7
12
  EQUALS: "EQUALS",
8
13
  };
@@ -2331,6 +2331,7 @@ const de_Alert = (output, context) => {
2331
2331
  return take(output, {
2332
2332
  AlertCode: __expectString,
2333
2333
  AlertMessage: __expectString,
2334
+ Category: __expectString,
2334
2335
  LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2335
2336
  RelatedResourceArns: _json,
2336
2337
  ResourceArn: __expectString,
@@ -47,6 +47,7 @@ export interface ListAlertsCommandOutput extends ListAlertsResponse, __MetadataB
47
47
  * // "STRING_VALUE",
48
48
  * // ],
49
49
  * // ResourceArn: "STRING_VALUE", // required
50
+ * // Category: "SCHEDULING_ERROR" || "PLAYBACK_WARNING" || "INFO",
50
51
  * // },
51
52
  * // ],
52
53
  * // NextToken: "STRING_VALUE",
@@ -10,7 +10,7 @@ export interface KeyValuePair {
10
10
  */
11
11
  Key: string | undefined;
12
12
  /**
13
- * <p>For <code>SCTE35_ENHANCED</code> output, defines a vaue. MediaTailor; takes this value, and its associated key, and generates the key/value pair within the <code>EXT-X-ASSET</code>tag. If you specify a value, you must also specify a corresponding key.</p>
13
+ * <p>For <code>SCTE35_ENHANCED</code> output, defines a value. MediaTailor; takes this value, and its associated key, and generates the key/value pair within the <code>EXT-X-ASSET</code>tag. If you specify a value, you must also specify a corresponding key.</p>
14
14
  */
15
15
  Value: string | undefined;
16
16
  }
@@ -147,6 +147,19 @@ export interface AdBreak {
147
147
  */
148
148
  AdBreakMetadata?: KeyValuePair[];
149
149
  }
150
+ /**
151
+ * @public
152
+ * @enum
153
+ */
154
+ export declare const AlertCategory: {
155
+ readonly INFO: "INFO";
156
+ readonly PLAYBACK_WARNING: "PLAYBACK_WARNING";
157
+ readonly SCHEDULING_ERROR: "SCHEDULING_ERROR";
158
+ };
159
+ /**
160
+ * @public
161
+ */
162
+ export type AlertCategory = (typeof AlertCategory)[keyof typeof AlertCategory];
150
163
  /**
151
164
  * @public
152
165
  * <p>Alert configuration parameters.</p>
@@ -172,6 +185,10 @@ export interface Alert {
172
185
  * <p>The Amazon Resource Name (ARN) of the resource.</p>
173
186
  */
174
187
  ResourceArn: string | undefined;
188
+ /**
189
+ * <p>The category that MediaTailor assigns to the alert.</p>
190
+ */
191
+ Category?: AlertCategory | string;
175
192
  }
176
193
  /**
177
194
  * @public
@@ -40,12 +40,19 @@ export interface AdBreak {
40
40
  TimeSignalMessage?: TimeSignalMessage;
41
41
  AdBreakMetadata?: KeyValuePair[];
42
42
  }
43
+ export declare const AlertCategory: {
44
+ readonly INFO: "INFO";
45
+ readonly PLAYBACK_WARNING: "PLAYBACK_WARNING";
46
+ readonly SCHEDULING_ERROR: "SCHEDULING_ERROR";
47
+ };
48
+ export type AlertCategory = (typeof AlertCategory)[keyof typeof AlertCategory];
43
49
  export interface Alert {
44
50
  AlertCode: string | undefined;
45
51
  AlertMessage: string | undefined;
46
52
  LastModifiedTime: Date | undefined;
47
53
  RelatedResourceArns: string[] | undefined;
48
54
  ResourceArn: string | undefined;
55
+ Category?: AlertCategory | string;
49
56
  }
50
57
  export declare const Operator: {
51
58
  readonly EQUALS: "EQUALS";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediatailor",
3
3
  "description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
4
- "version": "3.368.0",
4
+ "version": "3.370.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.363.0",
25
- "@aws-sdk/credential-provider-node": "3.363.0",
26
- "@aws-sdk/middleware-host-header": "3.363.0",
27
- "@aws-sdk/middleware-logger": "3.363.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.363.0",
29
- "@aws-sdk/middleware-signing": "3.363.0",
30
- "@aws-sdk/middleware-user-agent": "3.363.0",
31
- "@aws-sdk/types": "3.357.0",
32
- "@aws-sdk/util-endpoints": "3.357.0",
33
- "@aws-sdk/util-user-agent-browser": "3.363.0",
34
- "@aws-sdk/util-user-agent-node": "3.363.0",
24
+ "@aws-sdk/client-sts": "3.370.0",
25
+ "@aws-sdk/credential-provider-node": "3.370.0",
26
+ "@aws-sdk/middleware-host-header": "3.370.0",
27
+ "@aws-sdk/middleware-logger": "3.370.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.370.0",
29
+ "@aws-sdk/middleware-signing": "3.370.0",
30
+ "@aws-sdk/middleware-user-agent": "3.370.0",
31
+ "@aws-sdk/types": "3.370.0",
32
+ "@aws-sdk/util-endpoints": "3.370.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.370.0",
34
+ "@aws-sdk/util-user-agent-node": "3.370.0",
35
35
  "@smithy/config-resolver": "^1.0.1",
36
36
  "@smithy/fetch-http-handler": "^1.0.1",
37
37
  "@smithy/hash-node": "^1.0.1",
38
38
  "@smithy/invalid-dependency": "^1.0.1",
39
39
  "@smithy/middleware-content-length": "^1.0.1",
40
- "@smithy/middleware-endpoint": "^1.0.1",
41
- "@smithy/middleware-retry": "^1.0.2",
40
+ "@smithy/middleware-endpoint": "^1.0.2",
41
+ "@smithy/middleware-retry": "^1.0.3",
42
42
  "@smithy/middleware-serde": "^1.0.1",
43
43
  "@smithy/middleware-stack": "^1.0.1",
44
44
  "@smithy/node-config-provider": "^1.0.1",
45
45
  "@smithy/node-http-handler": "^1.0.2",
46
- "@smithy/protocol-http": "^1.0.1",
46
+ "@smithy/protocol-http": "^1.1.0",
47
47
  "@smithy/smithy-client": "^1.0.3",
48
- "@smithy/types": "^1.0.0",
48
+ "@smithy/types": "^1.1.0",
49
49
  "@smithy/url-parser": "^1.0.1",
50
50
  "@smithy/util-base64": "^1.0.1",
51
51
  "@smithy/util-body-length-browser": "^1.0.1",
52
52
  "@smithy/util-body-length-node": "^1.0.1",
53
53
  "@smithy/util-defaults-mode-browser": "^1.0.1",
54
54
  "@smithy/util-defaults-mode-node": "^1.0.1",
55
- "@smithy/util-retry": "^1.0.2",
55
+ "@smithy/util-retry": "^1.0.3",
56
56
  "@smithy/util-utf8": "^1.0.1",
57
57
  "tslib": "^2.5.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.310.0",
61
60
  "@smithy/service-client-documentation-generator": "^1.0.1",
62
61
  "@tsconfig/node14": "1.0.3",
63
62
  "@types/node": "^14.14.31",