@aws-sdk/client-mediapackage 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/MediaPackage.js +1 -2
- package/{dist/cjs → dist-cjs}/MediaPackageClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/ConfigureLogsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateHarvestJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeHarvestJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListHarvestJobsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListOriginEndpointsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RotateChannelCredentialsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RotateIngestEndpointCredentialsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateOriginEndpointCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListHarvestJobsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListOriginEndpointsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -7
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/MediaPackage.js +2 -6
- package/{dist/es → dist-es}/MediaPackageClient.js +2 -11
- package/{dist/es → dist-es}/commands/ConfigureLogsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateHarvestJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeHarvestJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListHarvestJobsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListOriginEndpointsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -13
- package/{dist/es → dist-es}/commands/RotateChannelCredentialsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/RotateIngestEndpointCredentialsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -13
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -13
- package/{dist/es → dist-es}/commands/UpdateChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateOriginEndpointCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -196
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListHarvestJobsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListOriginEndpointsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +555 -561
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/MediaPackage.d.ts +2 -2
- package/{dist/types → dist-types}/MediaPackageClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/ConfigureLogsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListHarvestJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListOriginEndpointsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RotateChannelCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RotateIngestEndpointCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListHarvestJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListOriginEndpointsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/MediaPackage.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/MediaPackageClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeHarvestJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListHarvestJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListOriginEndpointsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RotateChannelCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RotateIngestEndpointCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListHarvestJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListOriginEndpointsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/MediaPackage.ts +0 -690
- package/MediaPackageClient.ts +0 -316
- package/commands/ConfigureLogsCommand.ts +0 -94
- package/commands/CreateChannelCommand.ts +0 -94
- package/commands/CreateHarvestJobCommand.ts +0 -94
- package/commands/CreateOriginEndpointCommand.ts +0 -94
- package/commands/DeleteChannelCommand.ts +0 -94
- package/commands/DeleteOriginEndpointCommand.ts +0 -94
- package/commands/DescribeChannelCommand.ts +0 -94
- package/commands/DescribeHarvestJobCommand.ts +0 -94
- package/commands/DescribeOriginEndpointCommand.ts +0 -94
- package/commands/ListChannelsCommand.ts +0 -94
- package/commands/ListHarvestJobsCommand.ts +0 -94
- package/commands/ListOriginEndpointsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -77
- package/commands/RotateChannelCredentialsCommand.ts +0 -96
- package/commands/RotateIngestEndpointCredentialsCommand.ts +0 -102
- package/commands/TagResourceCommand.ts +0 -77
- package/commands/UntagResourceCommand.ts +0 -77
- package/commands/UpdateChannelCommand.ts +0 -94
- package/commands/UpdateOriginEndpointCommand.ts +0 -94
- package/dist/cjs/MediaPackage.js.map +0 -1
- package/dist/cjs/MediaPackageClient.js.map +0 -1
- package/dist/cjs/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateChannelCommand.js.map +0 -1
- package/dist/cjs/commands/CreateHarvestJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateOriginEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteChannelCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteOriginEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeChannelCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeHarvestJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeOriginEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/ListChannelsCommand.js.map +0 -1
- package/dist/cjs/commands/ListHarvestJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListOriginEndpointsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/RotateChannelCredentialsCommand.js.map +0 -1
- package/dist/cjs/commands/RotateIngestEndpointCredentialsCommand.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/UpdateChannelCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateOriginEndpointCommand.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/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListHarvestJobsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListOriginEndpointsPaginator.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/MediaPackage.js.map +0 -1
- package/dist/es/MediaPackageClient.js.map +0 -1
- package/dist/es/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist/es/commands/CreateChannelCommand.js.map +0 -1
- package/dist/es/commands/CreateHarvestJobCommand.js.map +0 -1
- package/dist/es/commands/CreateOriginEndpointCommand.js.map +0 -1
- package/dist/es/commands/DeleteChannelCommand.js.map +0 -1
- package/dist/es/commands/DeleteOriginEndpointCommand.js.map +0 -1
- package/dist/es/commands/DescribeChannelCommand.js.map +0 -1
- package/dist/es/commands/DescribeHarvestJobCommand.js.map +0 -1
- package/dist/es/commands/DescribeOriginEndpointCommand.js.map +0 -1
- package/dist/es/commands/ListChannelsCommand.js.map +0 -1
- package/dist/es/commands/ListHarvestJobsCommand.js.map +0 -1
- package/dist/es/commands/ListOriginEndpointsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/RotateChannelCredentialsCommand.js.map +0 -1
- package/dist/es/commands/RotateIngestEndpointCredentialsCommand.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/UpdateChannelCommand.js.map +0 -1
- package/dist/es/commands/UpdateOriginEndpointCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -27
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist/es/pagination/ListHarvestJobsPaginator.js.map +0 -1
- package/dist/es/pagination/ListOriginEndpointsPaginator.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/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2553
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListChannelsPaginator.ts +0 -58
- package/pagination/ListHarvestJobsPaginator.ts +0 -58
- package/pagination/ListOriginEndpointsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -3668
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
|
|
2
|
-
import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteChannelCommand,
|
|
5
|
-
serializeAws_restJson1DeleteChannelCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteChannelCommandInput extends DeleteChannelRequest {}
|
|
21
|
-
export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Deletes an existing Channel.
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MediaPackageClient, DeleteChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
|
-
* // const { MediaPackageClient, DeleteChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
|
-
* const client = new MediaPackageClient(config);
|
|
31
|
-
* const command = new DeleteChannelCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteChannelCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteChannelCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteChannelCommand extends $Command<
|
|
41
|
-
DeleteChannelCommandInput,
|
|
42
|
-
DeleteChannelCommandOutput,
|
|
43
|
-
MediaPackageClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteChannelCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MediaPackageClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteChannelCommandInput, DeleteChannelCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MediaPackageClient";
|
|
68
|
-
const commandName = "DeleteChannelCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteChannelRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteChannelResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteChannelCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteChannelCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteChannelCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
|
|
2
|
-
import { DeleteOriginEndpointRequest, DeleteOriginEndpointResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteOriginEndpointCommand,
|
|
5
|
-
serializeAws_restJson1DeleteOriginEndpointCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteOriginEndpointCommandInput extends DeleteOriginEndpointRequest {}
|
|
21
|
-
export interface DeleteOriginEndpointCommandOutput extends DeleteOriginEndpointResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Deletes an existing OriginEndpoint.
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MediaPackageClient, DeleteOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
|
-
* // const { MediaPackageClient, DeleteOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
|
-
* const client = new MediaPackageClient(config);
|
|
31
|
-
* const command = new DeleteOriginEndpointCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteOriginEndpointCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteOriginEndpointCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteOriginEndpointCommand extends $Command<
|
|
41
|
-
DeleteOriginEndpointCommandInput,
|
|
42
|
-
DeleteOriginEndpointCommandOutput,
|
|
43
|
-
MediaPackageClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteOriginEndpointCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MediaPackageClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteOriginEndpointCommandInput, DeleteOriginEndpointCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MediaPackageClient";
|
|
68
|
-
const commandName = "DeleteOriginEndpointCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteOriginEndpointRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteOriginEndpointResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteOriginEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteOriginEndpointCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteOriginEndpointCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteOriginEndpointCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
|
|
2
|
-
import { DescribeChannelRequest, DescribeChannelResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeChannelCommand,
|
|
5
|
-
serializeAws_restJson1DescribeChannelCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DescribeChannelCommandInput extends DescribeChannelRequest {}
|
|
21
|
-
export interface DescribeChannelCommandOutput extends DescribeChannelResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Gets details about a Channel.
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MediaPackageClient, DescribeChannelCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
|
-
* // const { MediaPackageClient, DescribeChannelCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
|
-
* const client = new MediaPackageClient(config);
|
|
31
|
-
* const command = new DescribeChannelCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeChannelCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeChannelCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeChannelCommand extends $Command<
|
|
41
|
-
DescribeChannelCommandInput,
|
|
42
|
-
DescribeChannelCommandOutput,
|
|
43
|
-
MediaPackageClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeChannelCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MediaPackageClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DescribeChannelCommandInput, DescribeChannelCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MediaPackageClient";
|
|
68
|
-
const commandName = "DescribeChannelCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeChannelRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeChannelResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DescribeChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DescribeChannelCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeChannelCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DescribeChannelCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
|
|
2
|
-
import { DescribeHarvestJobRequest, DescribeHarvestJobResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeHarvestJobCommand,
|
|
5
|
-
serializeAws_restJson1DescribeHarvestJobCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DescribeHarvestJobCommandInput extends DescribeHarvestJobRequest {}
|
|
21
|
-
export interface DescribeHarvestJobCommandOutput extends DescribeHarvestJobResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Gets details about an existing HarvestJob.
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MediaPackageClient, DescribeHarvestJobCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
|
-
* // const { MediaPackageClient, DescribeHarvestJobCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
|
-
* const client = new MediaPackageClient(config);
|
|
31
|
-
* const command = new DescribeHarvestJobCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeHarvestJobCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeHarvestJobCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeHarvestJobCommand extends $Command<
|
|
41
|
-
DescribeHarvestJobCommandInput,
|
|
42
|
-
DescribeHarvestJobCommandOutput,
|
|
43
|
-
MediaPackageClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeHarvestJobCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MediaPackageClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DescribeHarvestJobCommandInput, DescribeHarvestJobCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MediaPackageClient";
|
|
68
|
-
const commandName = "DescribeHarvestJobCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeHarvestJobRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeHarvestJobResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DescribeHarvestJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DescribeHarvestJobCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeHarvestJobCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DescribeHarvestJobCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
|
|
2
|
-
import { DescribeOriginEndpointRequest, DescribeOriginEndpointResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DescribeOriginEndpointCommand,
|
|
5
|
-
serializeAws_restJson1DescribeOriginEndpointCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DescribeOriginEndpointCommandInput extends DescribeOriginEndpointRequest {}
|
|
21
|
-
export interface DescribeOriginEndpointCommandOutput extends DescribeOriginEndpointResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Gets details about an existing OriginEndpoint.
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MediaPackageClient, DescribeOriginEndpointCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
|
-
* // const { MediaPackageClient, DescribeOriginEndpointCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
|
-
* const client = new MediaPackageClient(config);
|
|
31
|
-
* const command = new DescribeOriginEndpointCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeOriginEndpointCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeOriginEndpointCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeOriginEndpointCommand extends $Command<
|
|
41
|
-
DescribeOriginEndpointCommandInput,
|
|
42
|
-
DescribeOriginEndpointCommandOutput,
|
|
43
|
-
MediaPackageClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeOriginEndpointCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MediaPackageClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DescribeOriginEndpointCommandInput, DescribeOriginEndpointCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MediaPackageClient";
|
|
68
|
-
const commandName = "DescribeOriginEndpointCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeOriginEndpointRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeOriginEndpointResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DescribeOriginEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DescribeOriginEndpointCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeOriginEndpointCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DescribeOriginEndpointCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
|
|
2
|
-
import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListChannelsCommand,
|
|
5
|
-
serializeAws_restJson1ListChannelsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListChannelsCommandInput extends ListChannelsRequest {}
|
|
21
|
-
export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Returns a collection of Channels.
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MediaPackageClient, ListChannelsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
|
-
* // const { MediaPackageClient, ListChannelsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
|
-
* const client = new MediaPackageClient(config);
|
|
31
|
-
* const command = new ListChannelsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListChannelsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListChannelsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListChannelsCommand extends $Command<
|
|
41
|
-
ListChannelsCommandInput,
|
|
42
|
-
ListChannelsCommandOutput,
|
|
43
|
-
MediaPackageClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListChannelsCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MediaPackageClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListChannelsCommandInput, ListChannelsCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MediaPackageClient";
|
|
68
|
-
const commandName = "ListChannelsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListChannelsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListChannelsResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListChannelsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListChannelsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListChannelsCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListChannelsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient";
|
|
2
|
-
import { ListHarvestJobsRequest, ListHarvestJobsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListHarvestJobsCommand,
|
|
5
|
-
serializeAws_restJson1ListHarvestJobsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListHarvestJobsCommandInput extends ListHarvestJobsRequest {}
|
|
21
|
-
export interface ListHarvestJobsCommandOutput extends ListHarvestJobsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Returns a collection of HarvestJob records.
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { MediaPackageClient, ListHarvestJobsCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
|
|
29
|
-
* // const { MediaPackageClient, ListHarvestJobsCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
|
|
30
|
-
* const client = new MediaPackageClient(config);
|
|
31
|
-
* const command = new ListHarvestJobsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListHarvestJobsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListHarvestJobsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link MediaPackageClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListHarvestJobsCommand extends $Command<
|
|
41
|
-
ListHarvestJobsCommandInput,
|
|
42
|
-
ListHarvestJobsCommandOutput,
|
|
43
|
-
MediaPackageClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListHarvestJobsCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: MediaPackageClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListHarvestJobsCommandInput, ListHarvestJobsCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "MediaPackageClient";
|
|
68
|
-
const commandName = "ListHarvestJobsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListHarvestJobsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListHarvestJobsResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListHarvestJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListHarvestJobsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListHarvestJobsCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListHarvestJobsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|