@aws-sdk/client-mediatailor 3.30.0 → 3.34.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/CHANGELOG.md +36 -0
- package/MediaTailor.ts +39 -0
- package/MediaTailorClient.ts +6 -0
- package/README.md +7 -7
- package/commands/ConfigureLogsForPlaybackConfigurationCommand.ts +106 -0
- package/dist/cjs/MediaTailor.js +15 -0
- package/dist/cjs/MediaTailor.js.map +1 -1
- package/dist/cjs/MediaTailorClient.js +13 -13
- package/dist/cjs/MediaTailorClient.js.map +1 -1
- package/dist/cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +61 -0
- package/dist/cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
- package/dist/cjs/commands/CreateChannelCommand.js +3 -3
- package/dist/cjs/commands/CreateChannelCommand.js.map +1 -1
- package/dist/cjs/commands/CreateProgramCommand.js +3 -3
- package/dist/cjs/commands/CreateProgramCommand.js.map +1 -1
- package/dist/cjs/commands/CreateSourceLocationCommand.js +3 -3
- package/dist/cjs/commands/CreateSourceLocationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateVodSourceCommand.js +3 -3
- package/dist/cjs/commands/CreateVodSourceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteChannelPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteChannelPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js +3 -3
- package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteProgramCommand.js +3 -3
- package/dist/cjs/commands/DeleteProgramCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSourceLocationCommand.js +3 -3
- package/dist/cjs/commands/DeleteSourceLocationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteVodSourceCommand.js +3 -3
- package/dist/cjs/commands/DeleteVodSourceCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeChannelCommand.js +3 -3
- package/dist/cjs/commands/DescribeChannelCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeProgramCommand.js +3 -3
- package/dist/cjs/commands/DescribeProgramCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeSourceLocationCommand.js +3 -3
- package/dist/cjs/commands/DescribeSourceLocationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeVodSourceCommand.js +3 -3
- package/dist/cjs/commands/DescribeVodSourceCommand.js.map +1 -1
- package/dist/cjs/commands/GetChannelPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetChannelPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetChannelScheduleCommand.js +3 -3
- package/dist/cjs/commands/GetChannelScheduleCommand.js.map +1 -1
- package/dist/cjs/commands/GetPlaybackConfigurationCommand.js +3 -3
- package/dist/cjs/commands/GetPlaybackConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/ListAlertsCommand.js +3 -3
- package/dist/cjs/commands/ListAlertsCommand.js.map +1 -1
- package/dist/cjs/commands/ListChannelsCommand.js +3 -3
- package/dist/cjs/commands/ListChannelsCommand.js.map +1 -1
- package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js +3 -3
- package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListSourceLocationsCommand.js +3 -3
- package/dist/cjs/commands/ListSourceLocationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListVodSourcesCommand.js +3 -3
- package/dist/cjs/commands/ListVodSourcesCommand.js.map +1 -1
- package/dist/cjs/commands/PutChannelPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutChannelPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/PutPlaybackConfigurationCommand.js +3 -3
- package/dist/cjs/commands/PutPlaybackConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/StartChannelCommand.js +3 -3
- package/dist/cjs/commands/StartChannelCommand.js.map +1 -1
- package/dist/cjs/commands/StopChannelCommand.js +3 -3
- package/dist/cjs/commands/StopChannelCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist/cjs/commands/UpdateChannelCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSourceLocationCommand.js +3 -3
- package/dist/cjs/commands/UpdateSourceLocationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateVodSourceCommand.js +3 -3
- package/dist/cjs/commands/UpdateVodSourceCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +43 -42
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +30 -3
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_restJson1.js +306 -222
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/MediaTailor.js +16 -4
- package/dist/es/MediaTailor.js.map +1 -1
- package/dist/es/MediaTailorClient.js +1 -9
- package/dist/es/MediaTailorClient.js.map +1 -1
- package/dist/es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +40 -0
- package/dist/es/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
- package/dist/es/commands/CreateChannelCommand.js +2 -27
- package/dist/es/commands/CreateChannelCommand.js.map +1 -1
- package/dist/es/commands/CreateProgramCommand.js +2 -27
- package/dist/es/commands/CreateProgramCommand.js.map +1 -1
- package/dist/es/commands/CreateSourceLocationCommand.js +2 -27
- package/dist/es/commands/CreateSourceLocationCommand.js.map +1 -1
- package/dist/es/commands/CreateVodSourceCommand.js +2 -27
- package/dist/es/commands/CreateVodSourceCommand.js.map +1 -1
- package/dist/es/commands/DeleteChannelCommand.js +2 -27
- package/dist/es/commands/DeleteChannelCommand.js.map +1 -1
- package/dist/es/commands/DeleteChannelPolicyCommand.js +2 -27
- package/dist/es/commands/DeleteChannelPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeletePlaybackConfigurationCommand.js +2 -27
- package/dist/es/commands/DeletePlaybackConfigurationCommand.js.map +1 -1
- package/dist/es/commands/DeleteProgramCommand.js +2 -27
- package/dist/es/commands/DeleteProgramCommand.js.map +1 -1
- package/dist/es/commands/DeleteSourceLocationCommand.js +2 -27
- package/dist/es/commands/DeleteSourceLocationCommand.js.map +1 -1
- package/dist/es/commands/DeleteVodSourceCommand.js +2 -27
- package/dist/es/commands/DeleteVodSourceCommand.js.map +1 -1
- package/dist/es/commands/DescribeChannelCommand.js +2 -27
- package/dist/es/commands/DescribeChannelCommand.js.map +1 -1
- package/dist/es/commands/DescribeProgramCommand.js +2 -27
- package/dist/es/commands/DescribeProgramCommand.js.map +1 -1
- package/dist/es/commands/DescribeSourceLocationCommand.js +2 -27
- package/dist/es/commands/DescribeSourceLocationCommand.js.map +1 -1
- package/dist/es/commands/DescribeVodSourceCommand.js +2 -27
- package/dist/es/commands/DescribeVodSourceCommand.js.map +1 -1
- package/dist/es/commands/GetChannelPolicyCommand.js +2 -27
- package/dist/es/commands/GetChannelPolicyCommand.js.map +1 -1
- package/dist/es/commands/GetChannelScheduleCommand.js +2 -27
- package/dist/es/commands/GetChannelScheduleCommand.js.map +1 -1
- package/dist/es/commands/GetPlaybackConfigurationCommand.js +2 -27
- package/dist/es/commands/GetPlaybackConfigurationCommand.js.map +1 -1
- package/dist/es/commands/ListAlertsCommand.js +2 -27
- package/dist/es/commands/ListAlertsCommand.js.map +1 -1
- package/dist/es/commands/ListChannelsCommand.js +2 -27
- package/dist/es/commands/ListChannelsCommand.js.map +1 -1
- package/dist/es/commands/ListPlaybackConfigurationsCommand.js +2 -27
- package/dist/es/commands/ListPlaybackConfigurationsCommand.js.map +1 -1
- package/dist/es/commands/ListSourceLocationsCommand.js +2 -27
- package/dist/es/commands/ListSourceLocationsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/ListVodSourcesCommand.js +2 -27
- package/dist/es/commands/ListVodSourcesCommand.js.map +1 -1
- package/dist/es/commands/PutChannelPolicyCommand.js +2 -27
- package/dist/es/commands/PutChannelPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutPlaybackConfigurationCommand.js +2 -27
- package/dist/es/commands/PutPlaybackConfigurationCommand.js.map +1 -1
- package/dist/es/commands/StartChannelCommand.js +2 -27
- package/dist/es/commands/StartChannelCommand.js.map +1 -1
- package/dist/es/commands/StopChannelCommand.js +2 -27
- package/dist/es/commands/StopChannelCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -27
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateChannelCommand.js +2 -27
- package/dist/es/commands/UpdateChannelCommand.js.map +1 -1
- package/dist/es/commands/UpdateSourceLocationCommand.js +2 -27
- package/dist/es/commands/UpdateSourceLocationCommand.js.map +1 -1
- package/dist/es/commands/UpdateVodSourceCommand.js +2 -27
- package/dist/es/commands/UpdateVodSourceCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +12 -279
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/GetChannelSchedulePaginator.js +16 -28
- package/dist/es/pagination/GetChannelSchedulePaginator.js.map +1 -1
- package/dist/es/pagination/ListAlertsPaginator.js +16 -28
- package/dist/es/pagination/ListAlertsPaginator.js.map +1 -1
- package/dist/es/pagination/ListChannelsPaginator.js +16 -28
- package/dist/es/pagination/ListChannelsPaginator.js.map +1 -1
- package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js +16 -28
- package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListSourceLocationsPaginator.js +16 -28
- package/dist/es/pagination/ListSourceLocationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListVodSourcesPaginator.js +16 -28
- package/dist/es/pagination/ListVodSourcesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +368 -277
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/MediaTailor.d.ts +7 -0
- package/dist/types/MediaTailorClient.d.ts +3 -2
- package/dist/types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/models_0.d.ts +63 -1
- package/dist/types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/MediaTailor.d.ts +7 -0
- package/dist/types/ts3.4/MediaTailorClient.d.ts +3 -2
- package/dist/types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
- package/dist/types/ts3.4/index.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +63 -1
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/index.ts +1 -0
- package/models/models_0.ts +80 -1
- package/package.json +39 -39
- package/protocols/Aws_restJson1.ts +135 -31
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,38 +3,13 @@ import { UpdateChannelRequest, UpdateChannelResponse } from "../models/models_0"
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateChannelCommand, serializeAws_restJson1UpdateChannelCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an existing channel.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { MediaTailorClient, UpdateChannelCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
|
|
12
|
-
* // const { MediaTailorClient, UpdateChannelCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
|
|
13
|
-
* const client = new MediaTailorClient(config);
|
|
14
|
-
* const command = new UpdateChannelCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateChannelCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateChannelCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateChannelCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateChannelCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateChannelCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateChannelCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateChannelCommand.js","sourceRoot":"","sources":["../../../commands/UpdateChannelCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateChannelCommand.js","sourceRoot":"","sources":["../../../commands/UpdateChannelCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAA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AAC,CAAC;IACpE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateSourceLocationRequest, UpdateSourceLocationResponse } from "../mo
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateSourceLocationCommand, serializeAws_restJson1UpdateSourceLocationCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates a source location on a specific channel.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { MediaTailorClient, UpdateSourceLocationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
|
|
12
|
-
* // const { MediaTailorClient, UpdateSourceLocationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
|
|
13
|
-
* const client = new MediaTailorClient(config);
|
|
14
|
-
* const command = new UpdateSourceLocationCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateSourceLocationCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateSourceLocationCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateSourceLocationCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateSourceLocationCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateSourceLocationCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateSourceLocationCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateSourceLocationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSourceLocationCommand.js","sourceRoot":"","sources":["../../../commands/UpdateSourceLocationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateSourceLocationCommand.js","sourceRoot":"","sources":["../../../commands/UpdateSourceLocationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAiD,+CAIhD;IAIC,qCAAqB,KAAuC;QAA5D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;IAI5D,CAAC;IAKD,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateVodSourceRequest, UpdateVodSourceResponse } from "../models/model
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateVodSourceCommand, serializeAws_restJson1UpdateVodSourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates a specific VOD source in a specific source location.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { MediaTailorClient, UpdateVodSourceCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
|
|
12
|
-
* // const { MediaTailorClient, UpdateVodSourceCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
|
|
13
|
-
* const client = new MediaTailorClient(config);
|
|
14
|
-
* const command = new UpdateVodSourceCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateVodSourceCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateVodSourceCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateVodSourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateVodSourceCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateVodSourceCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateVodSourceCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateVodSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateVodSourceCommand.js","sourceRoot":"","sources":["../../../commands/UpdateVodSourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateVodSourceCommand.js","sourceRoot":"","sources":["../../../commands/UpdateVodSourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA4C,0CAI3C;IAIC,gCAAqB,KAAkC;QAAvD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6B;;IAIvD,CAAC;IAKD,kDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sBAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,uBAAuB,CAAC,kBAAkB;SACrE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,0CAAS,GAAjB,UAAkB,KAAkC,EAAE,OAAuB;QAC3E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,4CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,6BAAC;AAAD,CAAC,AAtDD,CAA4C,QAAQ,GAsDnD"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -47,7 +47,7 @@ var partitionHash = {
|
|
|
47
47
|
};
|
|
48
48
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
|
-
return [2
|
|
50
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "mediatailor", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
53
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"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gB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,wCAAwC;KACnD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,2CAA2C;KACtD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,qCAAqC;KAChD;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,wCAAwC;KACnD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,wCAAwC;KACnD;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,WAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,aAAa,EAC7B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
|
package/dist/es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./MediaTailorClient";
|
|
2
2
|
export * from "./MediaTailor";
|
|
3
|
+
export * from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
|
|
3
4
|
export * from "./commands/CreateChannelCommand";
|
|
4
5
|
export * from "./commands/CreateProgramCommand";
|
|
5
6
|
export * from "./commands/CreateSourceLocationCommand";
|
package/dist/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAA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