@aws-sdk/client-mediapackagev2 3.848.0 → 3.854.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
@@ -460,6 +460,7 @@ var ValidationExceptionType = {
460
460
  ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION",
461
461
  ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING",
462
462
  ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION",
463
+ ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION",
463
464
  PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
464
465
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
465
466
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
@@ -155,6 +155,7 @@ export const ValidationExceptionType = {
155
155
  ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION",
156
156
  ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING",
157
157
  ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION",
158
+ ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION",
158
159
  PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
159
160
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
160
161
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
@@ -42,6 +42,7 @@ declare const CreateChannelCommand_base: {
42
42
  * Description: "STRING_VALUE",
43
43
  * InputSwitchConfiguration: { // InputSwitchConfiguration
44
44
  * MQCSInputSwitching: true || false,
45
+ * PreferredInput: Number("int"),
45
46
  * },
46
47
  * OutputHeaderConfiguration: { // OutputHeaderConfiguration
47
48
  * PublishMQCS: true || false,
@@ -72,6 +73,7 @@ declare const CreateChannelCommand_base: {
72
73
  * // },
73
74
  * // InputSwitchConfiguration: { // InputSwitchConfiguration
74
75
  * // MQCSInputSwitching: true || false,
76
+ * // PreferredInput: Number("int"),
75
77
  * // },
76
78
  * // OutputHeaderConfiguration: { // OutputHeaderConfiguration
77
79
  * // PublishMQCS: true || false,
@@ -27,7 +27,7 @@ declare const GetChannelCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.</p>
30
+ * <p>Retrieves the specified channel that's configured in AWS Elemental MediaPackage.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -61,6 +61,7 @@ declare const GetChannelCommand_base: {
61
61
  * // },
62
62
  * // InputSwitchConfiguration: { // InputSwitchConfiguration
63
63
  * // MQCSInputSwitching: true || false,
64
+ * // PreferredInput: Number("int"),
64
65
  * // },
65
66
  * // OutputHeaderConfiguration: { // OutputHeaderConfiguration
66
67
  * // PublishMQCS: true || false,
@@ -27,7 +27,7 @@ declare const GetChannelGroupCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.</p>
30
+ * <p>Retrieves the specified channel group that's configured in AWS Elemental MediaPackage.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const ListChannelsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.</p>
30
+ * <p>Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -42,6 +42,7 @@ declare const UpdateChannelCommand_base: {
42
42
  * Description: "STRING_VALUE",
43
43
  * InputSwitchConfiguration: { // InputSwitchConfiguration
44
44
  * MQCSInputSwitching: true || false,
45
+ * PreferredInput: Number("int"),
45
46
  * },
46
47
  * OutputHeaderConfiguration: { // OutputHeaderConfiguration
47
48
  * PublishMQCS: true || false,
@@ -69,6 +70,7 @@ declare const UpdateChannelCommand_base: {
69
70
  * // },
70
71
  * // InputSwitchConfiguration: { // InputSwitchConfiguration
71
72
  * // MQCSInputSwitching: true || false,
73
+ * // PreferredInput: Number("int"),
72
74
  * // },
73
75
  * // OutputHeaderConfiguration: { // OutputHeaderConfiguration
74
76
  * // PublishMQCS: true || false,
@@ -230,6 +230,7 @@ export declare const ValidationExceptionType: {
230
230
  readonly ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION";
231
231
  readonly ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING";
232
232
  readonly ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION";
233
+ readonly ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION";
233
234
  readonly PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES";
234
235
  readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
235
236
  readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
@@ -415,6 +416,11 @@ export interface InputSwitchConfiguration {
415
416
  * @public
416
417
  */
417
418
  MQCSInputSwitching?: boolean | undefined;
419
+ /**
420
+ * <p>For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores. Select <code>1</code> to prefer the first ingest endpoint, or <code>2</code> to prefer the second ingest endpoint. If you don't specify a preferred input, MediaPackage uses its default switching behavior when MQCS scores are equal.</p>
421
+ * @public
422
+ */
423
+ PreferredInput?: number | undefined;
418
424
  }
419
425
  /**
420
426
  * @public
@@ -136,6 +136,7 @@ export declare const ValidationExceptionType: {
136
136
  readonly ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION";
137
137
  readonly ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING";
138
138
  readonly ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION";
139
+ readonly ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION";
139
140
  readonly PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES";
140
141
  readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
141
142
  readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
@@ -206,6 +207,7 @@ export interface PutChannelPolicyRequest {
206
207
  export interface PutChannelPolicyResponse {}
207
208
  export interface InputSwitchConfiguration {
208
209
  MQCSInputSwitching?: boolean | undefined;
210
+ PreferredInput?: number | undefined;
209
211
  }
210
212
  export declare const InputType: {
211
213
  readonly CMAF: "CMAF";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackagev2",
3
3
  "description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
4
- "version": "3.848.0",
4
+ "version": "3.854.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-mediapackagev2",