@aws-sdk/client-mediapackage-vod 3.35.0 → 3.38.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 +48 -0
- package/dist-cjs/MediaPackageVod.js +0 -4
- package/dist-cjs/MediaPackageVodClient.js +0 -9
- package/dist-cjs/commands/ConfigureLogsCommand.js +0 -25
- package/dist-cjs/commands/CreateAssetCommand.js +0 -25
- package/dist-cjs/commands/CreatePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/CreatePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteAssetCommand.js +0 -25
- package/dist-cjs/commands/DeletePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DeletePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/DescribeAssetCommand.js +0 -25
- package/dist-cjs/commands/DescribePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DescribePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/ListAssetsCommand.js +0 -25
- package/dist-cjs/commands/ListPackagingConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListPackagingGroupsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdatePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -24
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -172
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackagingGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/MediaPackageVod.js +0 -1
- package/dist-es/MediaPackageVodClient.js +0 -1
- package/dist-es/commands/ConfigureLogsCommand.js +0 -1
- package/dist-es/commands/CreateAssetCommand.js +0 -1
- package/dist-es/commands/CreatePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/CreatePackagingGroupCommand.js +0 -1
- package/dist-es/commands/DeleteAssetCommand.js +0 -1
- package/dist-es/commands/DeletePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/DeletePackagingGroupCommand.js +0 -1
- package/dist-es/commands/DescribeAssetCommand.js +0 -1
- package/dist-es/commands/DescribePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribePackagingGroupCommand.js +0 -1
- package/dist-es/commands/ListAssetsCommand.js +0 -1
- package/dist-es/commands/ListPackagingConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListPackagingGroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdatePackagingGroupCommand.js +0 -1
- package/dist-es/commands/index.js +17 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -24
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js +0 -1
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/ListPackagingGroupsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -3
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/index.d.ts +4 -23
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/MediaPackageVod.d.ts +18 -54
- package/dist-types/ts3.4/MediaPackageVodClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +4 -23
- package/dist-types/ts3.4/models/models_0.d.ts +265 -810
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/MediaPackageVod.js.map +0 -1
- package/dist-cjs/MediaPackageVodClient.js.map +0 -1
- package/dist-cjs/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssetCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackagingConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackagingGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdatePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackagingGroupsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/MediaPackageVod.js.map +0 -1
- package/dist-es/MediaPackageVodClient.js.map +0 -1
- package/dist-es/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist-es/commands/CreateAssetCommand.js.map +0 -1
- package/dist-es/commands/CreatePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreatePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-es/commands/DeletePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeletePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-es/commands/DescribePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/ListAssetsCommand.js.map +0 -1
- package/dist-es/commands/ListPackagingConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListPackagingGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdatePackagingGroupCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackagingGroupsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/MediaPackageVod.ts +0 -597
- package/src/MediaPackageVodClient.ts +0 -317
- package/src/commands/ConfigureLogsCommand.ts +0 -95
- package/src/commands/CreateAssetCommand.ts +0 -95
- package/src/commands/CreatePackagingConfigurationCommand.ts +0 -100
- package/src/commands/CreatePackagingGroupCommand.ts +0 -95
- package/src/commands/DeleteAssetCommand.ts +0 -95
- package/src/commands/DeletePackagingConfigurationCommand.ts +0 -100
- package/src/commands/DeletePackagingGroupCommand.ts +0 -95
- package/src/commands/DescribeAssetCommand.ts +0 -95
- package/src/commands/DescribePackagingConfigurationCommand.ts +0 -103
- package/src/commands/DescribePackagingGroupCommand.ts +0 -95
- package/src/commands/ListAssetsCommand.ts +0 -95
- package/src/commands/ListPackagingConfigurationsCommand.ts +0 -100
- package/src/commands/ListPackagingGroupsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdatePackagingGroupCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -24
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1680
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAssetsPaginator.ts +0 -55
- package/src/pagination/ListPackagingConfigurationsPaginator.ts +0 -59
- package/src/pagination/ListPackagingGroupsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -3087
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { CreatePackagingGroupRequest, CreatePackagingGroupResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreatePackagingGroupCommand,
|
|
18
|
-
serializeAws_restJson1CreatePackagingGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreatePackagingGroupCommandInput extends CreatePackagingGroupRequest {}
|
|
22
|
-
export interface CreatePackagingGroupCommandOutput extends CreatePackagingGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Creates a new MediaPackage VOD PackagingGroup resource.
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaPackageVodClient, CreatePackagingGroupCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
30
|
-
* // const { MediaPackageVodClient, CreatePackagingGroupCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
31
|
-
* const client = new MediaPackageVodClient(config);
|
|
32
|
-
* const command = new CreatePackagingGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreatePackagingGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreatePackagingGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreatePackagingGroupCommand extends $Command<
|
|
42
|
-
CreatePackagingGroupCommandInput,
|
|
43
|
-
CreatePackagingGroupCommandOutput,
|
|
44
|
-
MediaPackageVodClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreatePackagingGroupCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreatePackagingGroupCommandInput, CreatePackagingGroupCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaPackageVodClient";
|
|
69
|
-
const commandName = "CreatePackagingGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreatePackagingGroupRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreatePackagingGroupResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreatePackagingGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreatePackagingGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePackagingGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreatePackagingGroupCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { DeleteAssetRequest, DeleteAssetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteAssetCommand,
|
|
18
|
-
serializeAws_restJson1DeleteAssetCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteAssetCommandInput extends DeleteAssetRequest {}
|
|
22
|
-
export interface DeleteAssetCommandOutput extends DeleteAssetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Deletes an existing MediaPackage VOD Asset resource.
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaPackageVodClient, DeleteAssetCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
30
|
-
* // const { MediaPackageVodClient, DeleteAssetCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
31
|
-
* const client = new MediaPackageVodClient(config);
|
|
32
|
-
* const command = new DeleteAssetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteAssetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteAssetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteAssetCommand extends $Command<
|
|
42
|
-
DeleteAssetCommandInput,
|
|
43
|
-
DeleteAssetCommandOutput,
|
|
44
|
-
MediaPackageVodClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteAssetCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteAssetCommandInput, DeleteAssetCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaPackageVodClient";
|
|
69
|
-
const commandName = "DeleteAssetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteAssetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteAssetResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteAssetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAssetCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteAssetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { DeletePackagingConfigurationRequest, DeletePackagingConfigurationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeletePackagingConfigurationCommand,
|
|
18
|
-
serializeAws_restJson1DeletePackagingConfigurationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeletePackagingConfigurationCommandInput extends DeletePackagingConfigurationRequest {}
|
|
22
|
-
export interface DeletePackagingConfigurationCommandOutput
|
|
23
|
-
extends DeletePackagingConfigurationResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Deletes a MediaPackage VOD PackagingConfiguration resource.
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { MediaPackageVodClient, DeletePackagingConfigurationCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
32
|
-
* // const { MediaPackageVodClient, DeletePackagingConfigurationCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
33
|
-
* const client = new MediaPackageVodClient(config);
|
|
34
|
-
* const command = new DeletePackagingConfigurationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DeletePackagingConfigurationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DeletePackagingConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DeletePackagingConfigurationCommand extends $Command<
|
|
44
|
-
DeletePackagingConfigurationCommandInput,
|
|
45
|
-
DeletePackagingConfigurationCommandOutput,
|
|
46
|
-
MediaPackageVodClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DeletePackagingConfigurationCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DeletePackagingConfigurationCommandInput, DeletePackagingConfigurationCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "MediaPackageVodClient";
|
|
71
|
-
const commandName = "DeletePackagingConfigurationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DeletePackagingConfigurationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DeletePackagingConfigurationResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DeletePackagingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1DeletePackagingConfigurationCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<DeletePackagingConfigurationCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1DeletePackagingConfigurationCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { DeletePackagingGroupRequest, DeletePackagingGroupResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeletePackagingGroupCommand,
|
|
18
|
-
serializeAws_restJson1DeletePackagingGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeletePackagingGroupCommandInput extends DeletePackagingGroupRequest {}
|
|
22
|
-
export interface DeletePackagingGroupCommandOutput extends DeletePackagingGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Deletes a MediaPackage VOD PackagingGroup resource.
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaPackageVodClient, DeletePackagingGroupCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
30
|
-
* // const { MediaPackageVodClient, DeletePackagingGroupCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
31
|
-
* const client = new MediaPackageVodClient(config);
|
|
32
|
-
* const command = new DeletePackagingGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeletePackagingGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeletePackagingGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeletePackagingGroupCommand extends $Command<
|
|
42
|
-
DeletePackagingGroupCommandInput,
|
|
43
|
-
DeletePackagingGroupCommandOutput,
|
|
44
|
-
MediaPackageVodClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeletePackagingGroupCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeletePackagingGroupCommandInput, DeletePackagingGroupCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaPackageVodClient";
|
|
69
|
-
const commandName = "DeletePackagingGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeletePackagingGroupRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeletePackagingGroupResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeletePackagingGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeletePackagingGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePackagingGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeletePackagingGroupCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { DescribeAssetRequest, DescribeAssetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DescribeAssetCommand,
|
|
18
|
-
serializeAws_restJson1DescribeAssetCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeAssetCommandInput extends DescribeAssetRequest {}
|
|
22
|
-
export interface DescribeAssetCommandOutput extends DescribeAssetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Returns a description of a MediaPackage VOD Asset resource.
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaPackageVodClient, DescribeAssetCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
30
|
-
* // const { MediaPackageVodClient, DescribeAssetCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
31
|
-
* const client = new MediaPackageVodClient(config);
|
|
32
|
-
* const command = new DescribeAssetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeAssetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeAssetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeAssetCommand extends $Command<
|
|
42
|
-
DescribeAssetCommandInput,
|
|
43
|
-
DescribeAssetCommandOutput,
|
|
44
|
-
MediaPackageVodClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeAssetCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribeAssetCommandInput, DescribeAssetCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaPackageVodClient";
|
|
69
|
-
const commandName = "DescribeAssetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeAssetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeAssetResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribeAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribeAssetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeAssetCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribeAssetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { DescribePackagingConfigurationRequest, DescribePackagingConfigurationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DescribePackagingConfigurationCommand,
|
|
18
|
-
serializeAws_restJson1DescribePackagingConfigurationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DescribePackagingConfigurationCommandInput extends DescribePackagingConfigurationRequest {}
|
|
22
|
-
export interface DescribePackagingConfigurationCommandOutput
|
|
23
|
-
extends DescribePackagingConfigurationResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Returns a description of a MediaPackage VOD PackagingConfiguration resource.
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { MediaPackageVodClient, DescribePackagingConfigurationCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
32
|
-
* // const { MediaPackageVodClient, DescribePackagingConfigurationCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
33
|
-
* const client = new MediaPackageVodClient(config);
|
|
34
|
-
* const command = new DescribePackagingConfigurationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribePackagingConfigurationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribePackagingConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribePackagingConfigurationCommand extends $Command<
|
|
44
|
-
DescribePackagingConfigurationCommandInput,
|
|
45
|
-
DescribePackagingConfigurationCommandOutput,
|
|
46
|
-
MediaPackageVodClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribePackagingConfigurationCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DescribePackagingConfigurationCommandInput, DescribePackagingConfigurationCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "MediaPackageVodClient";
|
|
71
|
-
const commandName = "DescribePackagingConfigurationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribePackagingConfigurationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribePackagingConfigurationResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(
|
|
88
|
-
input: DescribePackagingConfigurationCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1DescribePackagingConfigurationCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<DescribePackagingConfigurationCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1DescribePackagingConfigurationCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { DescribePackagingGroupRequest, DescribePackagingGroupResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DescribePackagingGroupCommand,
|
|
18
|
-
serializeAws_restJson1DescribePackagingGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DescribePackagingGroupCommandInput extends DescribePackagingGroupRequest {}
|
|
22
|
-
export interface DescribePackagingGroupCommandOutput extends DescribePackagingGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Returns a description of a MediaPackage VOD PackagingGroup resource.
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaPackageVodClient, DescribePackagingGroupCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
30
|
-
* // const { MediaPackageVodClient, DescribePackagingGroupCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
31
|
-
* const client = new MediaPackageVodClient(config);
|
|
32
|
-
* const command = new DescribePackagingGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribePackagingGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribePackagingGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribePackagingGroupCommand extends $Command<
|
|
42
|
-
DescribePackagingGroupCommandInput,
|
|
43
|
-
DescribePackagingGroupCommandOutput,
|
|
44
|
-
MediaPackageVodClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribePackagingGroupCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribePackagingGroupCommandInput, DescribePackagingGroupCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaPackageVodClient";
|
|
69
|
-
const commandName = "DescribePackagingGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribePackagingGroupRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribePackagingGroupResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribePackagingGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribePackagingGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribePackagingGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribePackagingGroupCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|