@aws-sdk/client-mediapackage 3.387.0 → 3.391.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/commands/ConfigureLogsCommand.js +2 -1
- package/dist-cjs/commands/CreateChannelCommand.js +2 -1
- package/dist-cjs/commands/DescribeChannelCommand.js +2 -1
- package/dist-cjs/commands/ListChannelsCommand.js +2 -1
- package/dist-cjs/commands/RotateChannelCredentialsCommand.js +2 -1
- package/dist-cjs/commands/RotateIngestEndpointCredentialsCommand.js +2 -1
- package/dist-cjs/commands/UpdateChannelCommand.js +2 -1
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +54 -1
- package/dist-es/commands/ConfigureLogsCommand.js +2 -1
- package/dist-es/commands/CreateChannelCommand.js +2 -1
- package/dist-es/commands/DescribeChannelCommand.js +2 -1
- package/dist-es/commands/ListChannelsCommand.js +2 -1
- package/dist-es/commands/RotateChannelCredentialsCommand.js +2 -1
- package/dist-es/commands/RotateIngestEndpointCredentialsCommand.js +2 -1
- package/dist-es/commands/UpdateChannelCommand.js +2 -1
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +43 -0
- package/dist-types/models/models_0.d.ts +40 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -0
- package/package.json +28 -28
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ConfigureLogsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class ConfigureLogsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.ConfigureLogsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class CreateChannelCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class CreateChannelCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.CreateChannelResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class DescribeChannelCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class DescribeChannelCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.DescribeChannelResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListChannelsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class ListChannelsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.ListChannelsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class RotateChannelCredentialsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class RotateChannelCredentialsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.RotateChannelCredentialsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class RotateIngestEndpointCredentialsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class RotateIngestEndpointCredentialsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.RotateIngestEndpointCredentialsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class UpdateChannelCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class UpdateChannelCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.UpdateChannelResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://mediapackage-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://mediapackage-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://mediapackage.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://mediapackage.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.Origination = exports.EncryptionMethod = exports.UtcTiming = exports.SegmentTemplateFormat = exports.Profile = exports.ManifestLayout = exports.StreamOrder = exports.PresetSpeke20Video = exports.PresetSpeke20Audio = exports.CmafEncryptionMethod = exports.PlaylistType = exports.AdsOnDeliveryRestrictions = exports.AdMarkers = exports.Status = exports.__PeriodTriggersElement = exports.__AdTriggersElement = void 0;
|
|
3
|
+
exports.UpdateChannelResponseFilterSensitiveLog = exports.RotateIngestEndpointCredentialsResponseFilterSensitiveLog = exports.RotateChannelCredentialsResponseFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.CreateChannelResponseFilterSensitiveLog = exports.ConfigureLogsResponseFilterSensitiveLog = exports.ChannelFilterSensitiveLog = exports.HlsIngestFilterSensitiveLog = exports.IngestEndpointFilterSensitiveLog = exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.Origination = exports.EncryptionMethod = exports.UtcTiming = exports.SegmentTemplateFormat = exports.Profile = exports.ManifestLayout = exports.StreamOrder = exports.PresetSpeke20Video = exports.PresetSpeke20Audio = exports.CmafEncryptionMethod = exports.PlaylistType = exports.AdsOnDeliveryRestrictions = exports.AdMarkers = exports.Status = exports.__PeriodTriggersElement = exports.__AdTriggersElement = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
4
5
|
const MediaPackageServiceException_1 = require("./MediaPackageServiceException");
|
|
5
6
|
exports.__AdTriggersElement = {
|
|
6
7
|
BREAK: "BREAK",
|
|
@@ -178,3 +179,55 @@ class UnprocessableEntityException extends MediaPackageServiceException_1.MediaP
|
|
|
178
179
|
}
|
|
179
180
|
}
|
|
180
181
|
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
182
|
+
const IngestEndpointFilterSensitiveLog = (obj) => ({
|
|
183
|
+
...obj,
|
|
184
|
+
...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
|
|
185
|
+
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
186
|
+
});
|
|
187
|
+
exports.IngestEndpointFilterSensitiveLog = IngestEndpointFilterSensitiveLog;
|
|
188
|
+
const HlsIngestFilterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
...(obj.IngestEndpoints && {
|
|
191
|
+
IngestEndpoints: obj.IngestEndpoints.map((item) => (0, exports.IngestEndpointFilterSensitiveLog)(item)),
|
|
192
|
+
}),
|
|
193
|
+
});
|
|
194
|
+
exports.HlsIngestFilterSensitiveLog = HlsIngestFilterSensitiveLog;
|
|
195
|
+
const ChannelFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
...(obj.HlsIngest && { HlsIngest: (0, exports.HlsIngestFilterSensitiveLog)(obj.HlsIngest) }),
|
|
198
|
+
});
|
|
199
|
+
exports.ChannelFilterSensitiveLog = ChannelFilterSensitiveLog;
|
|
200
|
+
const ConfigureLogsResponseFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
...(obj.HlsIngest && { HlsIngest: (0, exports.HlsIngestFilterSensitiveLog)(obj.HlsIngest) }),
|
|
203
|
+
});
|
|
204
|
+
exports.ConfigureLogsResponseFilterSensitiveLog = ConfigureLogsResponseFilterSensitiveLog;
|
|
205
|
+
const CreateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
206
|
+
...obj,
|
|
207
|
+
...(obj.HlsIngest && { HlsIngest: (0, exports.HlsIngestFilterSensitiveLog)(obj.HlsIngest) }),
|
|
208
|
+
});
|
|
209
|
+
exports.CreateChannelResponseFilterSensitiveLog = CreateChannelResponseFilterSensitiveLog;
|
|
210
|
+
const DescribeChannelResponseFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
...(obj.HlsIngest && { HlsIngest: (0, exports.HlsIngestFilterSensitiveLog)(obj.HlsIngest) }),
|
|
213
|
+
});
|
|
214
|
+
exports.DescribeChannelResponseFilterSensitiveLog = DescribeChannelResponseFilterSensitiveLog;
|
|
215
|
+
const ListChannelsResponseFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
});
|
|
218
|
+
exports.ListChannelsResponseFilterSensitiveLog = ListChannelsResponseFilterSensitiveLog;
|
|
219
|
+
const RotateChannelCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
...(obj.HlsIngest && { HlsIngest: (0, exports.HlsIngestFilterSensitiveLog)(obj.HlsIngest) }),
|
|
222
|
+
});
|
|
223
|
+
exports.RotateChannelCredentialsResponseFilterSensitiveLog = RotateChannelCredentialsResponseFilterSensitiveLog;
|
|
224
|
+
const RotateIngestEndpointCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
...(obj.HlsIngest && { HlsIngest: (0, exports.HlsIngestFilterSensitiveLog)(obj.HlsIngest) }),
|
|
227
|
+
});
|
|
228
|
+
exports.RotateIngestEndpointCredentialsResponseFilterSensitiveLog = RotateIngestEndpointCredentialsResponseFilterSensitiveLog;
|
|
229
|
+
const UpdateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
230
|
+
...obj,
|
|
231
|
+
...(obj.HlsIngest && { HlsIngest: (0, exports.HlsIngestFilterSensitiveLog)(obj.HlsIngest) }),
|
|
232
|
+
});
|
|
233
|
+
exports.UpdateChannelResponseFilterSensitiveLog = UpdateChannelResponseFilterSensitiveLog;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { ConfigureLogsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_ConfigureLogsCommand, se_ConfigureLogsCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ConfigureLogsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class ConfigureLogsCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: ConfigureLogsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { CreateChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class CreateChannelCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class CreateChannelCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: CreateChannelResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { DescribeChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_DescribeChannelCommand, se_DescribeChannelCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class DescribeChannelCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class DescribeChannelCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: DescribeChannelResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { ListChannelsResponseFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListChannelsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class ListChannelsCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: ListChannelsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { RotateChannelCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_RotateChannelCredentialsCommand, se_RotateChannelCredentialsCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RotateChannelCredentialsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class RotateChannelCredentialsCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: RotateChannelCredentialsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { RotateIngestEndpointCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_RotateIngestEndpointCredentialsCommand, se_RotateIngestEndpointCredentialsCommand, } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RotateIngestEndpointCredentialsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class RotateIngestEndpointCredentialsCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: RotateIngestEndpointCredentialsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { UpdateChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateChannelCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class UpdateChannelCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: UpdateChannelResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://mediapackage-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://mediapackage-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://mediapackage.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://mediapackage.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { MediaPackageServiceException as __BaseException } from "./MediaPackageServiceException";
|
|
2
3
|
export const __AdTriggersElement = {
|
|
3
4
|
BREAK: "BREAK",
|
|
@@ -169,3 +170,45 @@ export class UnprocessableEntityException extends __BaseException {
|
|
|
169
170
|
this.Message = opts.Message;
|
|
170
171
|
}
|
|
171
172
|
}
|
|
173
|
+
export const IngestEndpointFilterSensitiveLog = (obj) => ({
|
|
174
|
+
...obj,
|
|
175
|
+
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
176
|
+
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
177
|
+
});
|
|
178
|
+
export const HlsIngestFilterSensitiveLog = (obj) => ({
|
|
179
|
+
...obj,
|
|
180
|
+
...(obj.IngestEndpoints && {
|
|
181
|
+
IngestEndpoints: obj.IngestEndpoints.map((item) => IngestEndpointFilterSensitiveLog(item)),
|
|
182
|
+
}),
|
|
183
|
+
});
|
|
184
|
+
export const ChannelFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
...(obj.HlsIngest && { HlsIngest: HlsIngestFilterSensitiveLog(obj.HlsIngest) }),
|
|
187
|
+
});
|
|
188
|
+
export const ConfigureLogsResponseFilterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
...(obj.HlsIngest && { HlsIngest: HlsIngestFilterSensitiveLog(obj.HlsIngest) }),
|
|
191
|
+
});
|
|
192
|
+
export const CreateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
...(obj.HlsIngest && { HlsIngest: HlsIngestFilterSensitiveLog(obj.HlsIngest) }),
|
|
195
|
+
});
|
|
196
|
+
export const DescribeChannelResponseFilterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
...(obj.HlsIngest && { HlsIngest: HlsIngestFilterSensitiveLog(obj.HlsIngest) }),
|
|
199
|
+
});
|
|
200
|
+
export const ListChannelsResponseFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
});
|
|
203
|
+
export const RotateChannelCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
...(obj.HlsIngest && { HlsIngest: HlsIngestFilterSensitiveLog(obj.HlsIngest) }),
|
|
206
|
+
});
|
|
207
|
+
export const RotateIngestEndpointCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
...(obj.HlsIngest && { HlsIngest: HlsIngestFilterSensitiveLog(obj.HlsIngest) }),
|
|
210
|
+
});
|
|
211
|
+
export const UpdateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
...(obj.HlsIngest && { HlsIngest: HlsIngestFilterSensitiveLog(obj.HlsIngest) }),
|
|
214
|
+
});
|
|
@@ -2329,3 +2329,43 @@ export interface UpdateOriginEndpointResponse {
|
|
|
2329
2329
|
*/
|
|
2330
2330
|
Whitelist?: string[];
|
|
2331
2331
|
}
|
|
2332
|
+
/**
|
|
2333
|
+
* @internal
|
|
2334
|
+
*/
|
|
2335
|
+
export declare const IngestEndpointFilterSensitiveLog: (obj: IngestEndpoint) => any;
|
|
2336
|
+
/**
|
|
2337
|
+
* @internal
|
|
2338
|
+
*/
|
|
2339
|
+
export declare const HlsIngestFilterSensitiveLog: (obj: HlsIngest) => any;
|
|
2340
|
+
/**
|
|
2341
|
+
* @internal
|
|
2342
|
+
*/
|
|
2343
|
+
export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
|
|
2344
|
+
/**
|
|
2345
|
+
* @internal
|
|
2346
|
+
*/
|
|
2347
|
+
export declare const ConfigureLogsResponseFilterSensitiveLog: (obj: ConfigureLogsResponse) => any;
|
|
2348
|
+
/**
|
|
2349
|
+
* @internal
|
|
2350
|
+
*/
|
|
2351
|
+
export declare const CreateChannelResponseFilterSensitiveLog: (obj: CreateChannelResponse) => any;
|
|
2352
|
+
/**
|
|
2353
|
+
* @internal
|
|
2354
|
+
*/
|
|
2355
|
+
export declare const DescribeChannelResponseFilterSensitiveLog: (obj: DescribeChannelResponse) => any;
|
|
2356
|
+
/**
|
|
2357
|
+
* @internal
|
|
2358
|
+
*/
|
|
2359
|
+
export declare const ListChannelsResponseFilterSensitiveLog: (obj: ListChannelsResponse) => any;
|
|
2360
|
+
/**
|
|
2361
|
+
* @internal
|
|
2362
|
+
*/
|
|
2363
|
+
export declare const RotateChannelCredentialsResponseFilterSensitiveLog: (obj: RotateChannelCredentialsResponse) => any;
|
|
2364
|
+
/**
|
|
2365
|
+
* @internal
|
|
2366
|
+
*/
|
|
2367
|
+
export declare const RotateIngestEndpointCredentialsResponseFilterSensitiveLog: (obj: RotateIngestEndpointCredentialsResponse) => any;
|
|
2368
|
+
/**
|
|
2369
|
+
* @internal
|
|
2370
|
+
*/
|
|
2371
|
+
export declare const UpdateChannelResponseFilterSensitiveLog: (obj: UpdateChannelResponse) => any;
|
|
@@ -592,3 +592,29 @@ export interface UpdateOriginEndpointResponse {
|
|
|
592
592
|
Url?: string;
|
|
593
593
|
Whitelist?: string[];
|
|
594
594
|
}
|
|
595
|
+
export declare const IngestEndpointFilterSensitiveLog: (
|
|
596
|
+
obj: IngestEndpoint
|
|
597
|
+
) => any;
|
|
598
|
+
export declare const HlsIngestFilterSensitiveLog: (obj: HlsIngest) => any;
|
|
599
|
+
export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
|
|
600
|
+
export declare const ConfigureLogsResponseFilterSensitiveLog: (
|
|
601
|
+
obj: ConfigureLogsResponse
|
|
602
|
+
) => any;
|
|
603
|
+
export declare const CreateChannelResponseFilterSensitiveLog: (
|
|
604
|
+
obj: CreateChannelResponse
|
|
605
|
+
) => any;
|
|
606
|
+
export declare const DescribeChannelResponseFilterSensitiveLog: (
|
|
607
|
+
obj: DescribeChannelResponse
|
|
608
|
+
) => any;
|
|
609
|
+
export declare const ListChannelsResponseFilterSensitiveLog: (
|
|
610
|
+
obj: ListChannelsResponse
|
|
611
|
+
) => any;
|
|
612
|
+
export declare const RotateChannelCredentialsResponseFilterSensitiveLog: (
|
|
613
|
+
obj: RotateChannelCredentialsResponse
|
|
614
|
+
) => any;
|
|
615
|
+
export declare const RotateIngestEndpointCredentialsResponseFilterSensitiveLog: (
|
|
616
|
+
obj: RotateIngestEndpointCredentialsResponse
|
|
617
|
+
) => any;
|
|
618
|
+
export declare const UpdateChannelResponseFilterSensitiveLog: (
|
|
619
|
+
obj: UpdateChannelResponse
|
|
620
|
+
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.391.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,37 +21,37 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.391.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.391.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.391.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.391.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.391.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.391.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.391.0",
|
|
31
|
+
"@aws-sdk/types": "3.391.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.391.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.391.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.391.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.3",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.0.3",
|
|
37
|
+
"@smithy/hash-node": "^2.0.3",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.3",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.3",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.3",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.3",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.3",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.0.
|
|
46
|
-
"@smithy/protocol-http": "^2.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.0.
|
|
48
|
-
"@smithy/types": "^2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.3",
|
|
45
|
+
"@smithy/node-http-handler": "^2.0.3",
|
|
46
|
+
"@smithy/protocol-http": "^2.0.3",
|
|
47
|
+
"@smithy/smithy-client": "^2.0.3",
|
|
48
|
+
"@smithy/types": "^2.2.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.3",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.3",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.3",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0"
|