@aws-sdk/client-mediaconnect 3.934.0 → 3.936.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/README.md +240 -0
- package/dist-cjs/index.js +6833 -1636
- package/dist-es/MediaConnect.js +60 -0
- package/dist-es/commands/BatchGetRouterInputCommand.js +16 -0
- package/dist-es/commands/BatchGetRouterNetworkInterfaceCommand.js +16 -0
- package/dist-es/commands/BatchGetRouterOutputCommand.js +16 -0
- package/dist-es/commands/CreateRouterInputCommand.js +16 -0
- package/dist-es/commands/CreateRouterNetworkInterfaceCommand.js +16 -0
- package/dist-es/commands/CreateRouterOutputCommand.js +16 -0
- package/dist-es/commands/DeleteRouterInputCommand.js +16 -0
- package/dist-es/commands/DeleteRouterNetworkInterfaceCommand.js +16 -0
- package/dist-es/commands/DeleteRouterOutputCommand.js +16 -0
- package/dist-es/commands/GetRouterInputCommand.js +16 -0
- package/dist-es/commands/GetRouterInputSourceMetadataCommand.js +16 -0
- package/dist-es/commands/GetRouterInputThumbnailCommand.js +16 -0
- package/dist-es/commands/GetRouterNetworkInterfaceCommand.js +16 -0
- package/dist-es/commands/GetRouterOutputCommand.js +16 -0
- package/dist-es/commands/ListRouterInputsCommand.js +16 -0
- package/dist-es/commands/ListRouterNetworkInterfacesCommand.js +16 -0
- package/dist-es/commands/ListRouterOutputsCommand.js +16 -0
- package/dist-es/commands/ListTagsForGlobalResourceCommand.js +16 -0
- package/dist-es/commands/RestartRouterInputCommand.js +16 -0
- package/dist-es/commands/RestartRouterOutputCommand.js +16 -0
- package/dist-es/commands/StartRouterInputCommand.js +16 -0
- package/dist-es/commands/StartRouterOutputCommand.js +16 -0
- package/dist-es/commands/StopRouterInputCommand.js +16 -0
- package/dist-es/commands/StopRouterOutputCommand.js +16 -0
- package/dist-es/commands/TagGlobalResourceCommand.js +16 -0
- package/dist-es/commands/TakeRouterInputCommand.js +16 -0
- package/dist-es/commands/UntagGlobalResourceCommand.js +16 -0
- package/dist-es/commands/UpdateRouterInputCommand.js +16 -0
- package/dist-es/commands/UpdateRouterNetworkInterfaceCommand.js +16 -0
- package/dist-es/commands/UpdateRouterOutputCommand.js +16 -0
- package/dist-es/commands/index.js +30 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +303 -0
- package/dist-es/models/errors.js +215 -0
- package/dist-es/models/models_0.js +1 -358
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListRouterInputsPaginator.js +4 -0
- package/dist-es/pagination/ListRouterNetworkInterfacesPaginator.js +4 -0
- package/dist-es/pagination/ListRouterOutputsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +5554 -1351
- package/dist-es/waiters/index.js +7 -0
- package/dist-es/waiters/waitForInputActive.js +64 -0
- package/dist-es/waiters/waitForInputDeleted.js +49 -0
- package/dist-es/waiters/waitForInputStandby.js +55 -0
- package/dist-es/waiters/waitForOutputActive.js +64 -0
- package/dist-es/waiters/waitForOutputDeleted.js +49 -0
- package/dist-es/waiters/waitForOutputRouted.js +46 -0
- package/dist-es/waiters/waitForOutputStandby.js +55 -0
- package/dist-types/MediaConnect.d.ts +213 -0
- package/dist-types/MediaConnectClient.d.ts +32 -2
- package/dist-types/commands/AddFlowOutputsCommand.d.ts +23 -0
- package/dist-types/commands/AddFlowSourcesCommand.d.ts +23 -0
- package/dist-types/commands/BatchGetRouterInputCommand.d.ts +278 -0
- package/dist-types/commands/BatchGetRouterNetworkInterfaceCommand.d.ts +129 -0
- package/dist-types/commands/BatchGetRouterOutputCommand.d.ts +215 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +69 -0
- package/dist-types/commands/CreateRouterInputCommand.d.ts +400 -0
- package/dist-types/commands/CreateRouterNetworkInterfaceCommand.d.ts +144 -0
- package/dist-types/commands/CreateRouterOutputCommand.d.ts +293 -0
- package/dist-types/commands/DeleteRouterInputCommand.d.ts +97 -0
- package/dist-types/commands/DeleteRouterNetworkInterfaceCommand.d.ts +97 -0
- package/dist-types/commands/DeleteRouterOutputCommand.d.ts +97 -0
- package/dist-types/commands/DescribeFlowCommand.d.ts +36 -0
- package/dist-types/commands/GetRouterInputCommand.d.ts +273 -0
- package/dist-types/commands/GetRouterInputSourceMetadataCommand.d.ts +129 -0
- package/dist-types/commands/GetRouterInputThumbnailCommand.d.ts +104 -0
- package/dist-types/commands/GetRouterNetworkInterfaceCommand.d.ts +124 -0
- package/dist-types/commands/GetRouterOutputCommand.d.ts +210 -0
- package/dist-types/commands/ListRouterInputsCommand.d.ts +135 -0
- package/dist-types/commands/ListRouterNetworkInterfacesCommand.d.ts +117 -0
- package/dist-types/commands/ListRouterOutputsCommand.d.ts +139 -0
- package/dist-types/commands/ListTagsForGlobalResourceCommand.d.ts +85 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RestartRouterInputCommand.d.ts +97 -0
- package/dist-types/commands/RestartRouterOutputCommand.d.ts +97 -0
- package/dist-types/commands/StartRouterInputCommand.d.ts +105 -0
- package/dist-types/commands/StartRouterOutputCommand.d.ts +105 -0
- package/dist-types/commands/StopRouterInputCommand.d.ts +97 -0
- package/dist-types/commands/StopRouterOutputCommand.d.ts +97 -0
- package/dist-types/commands/TagGlobalResourceCommand.d.ts +84 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TakeRouterInputCommand.d.ts +100 -0
- package/dist-types/commands/UntagGlobalResourceCommand.d.ts +84 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFlowCommand.d.ts +36 -0
- package/dist-types/commands/UpdateFlowOutputCommand.d.ts +23 -0
- package/dist-types/commands/UpdateFlowSourceCommand.d.ts +23 -0
- package/dist-types/commands/UpdateRouterInputCommand.d.ts +395 -0
- package/dist-types/commands/UpdateRouterNetworkInterfaceCommand.d.ts +137 -0
- package/dist-types/commands/UpdateRouterOutputCommand.d.ts +288 -0
- package/dist-types/commands/index.d.ts +30 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +727 -0
- package/dist-types/models/errors.d.ts +201 -0
- package/dist-types/models/models_0.d.ts +4082 -1520
- package/dist-types/models/models_1.d.ts +287 -0
- package/dist-types/pagination/ListRouterInputsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRouterNetworkInterfacesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRouterOutputsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +185 -0
- package/dist-types/ts3.4/MediaConnect.d.ts +513 -0
- package/dist-types/ts3.4/MediaConnectClient.d.ts +182 -2
- package/dist-types/ts3.4/commands/BatchGetRouterInputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetRouterNetworkInterfaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetRouterOutputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateRouterInputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateRouterNetworkInterfaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateRouterOutputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRouterInputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRouterNetworkInterfaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRouterOutputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRouterInputCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetRouterInputSourceMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRouterInputThumbnailCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRouterNetworkInterfaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRouterOutputCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListRouterInputsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListRouterNetworkInterfacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRouterOutputsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForGlobalResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RestartRouterInputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RestartRouterOutputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartRouterInputCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartRouterOutputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopRouterInputCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StopRouterOutputCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/TagGlobalResourceCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TakeRouterInputCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UntagGlobalResourceCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRouterInputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRouterNetworkInterfaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRouterOutputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +385 -0
- package/dist-types/ts3.4/models/errors.d.ts +132 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1262 -332
- package/dist-types/ts3.4/models/models_1.d.ts +88 -0
- package/dist-types/ts3.4/pagination/ListRouterInputsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRouterNetworkInterfacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRouterOutputsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +185 -0
- package/dist-types/ts3.4/waiters/index.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForInputActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForInputDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForInputStandby.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForOutputActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForOutputDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForOutputRouted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForOutputStandby.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +7 -0
- package/dist-types/waiters/waitForInputActive.d.ts +14 -0
- package/dist-types/waiters/waitForInputDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForInputStandby.d.ts +14 -0
- package/dist-types/waiters/waitForOutputActive.d.ts +14 -0
- package/dist-types/waiters/waitForOutputDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForOutputRouted.d.ts +14 -0
- package/dist-types/waiters/waitForOutputStandby.d.ts +14 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
|
|
4
|
+
import { ListTagsForGlobalResourceRequest, ListTagsForGlobalResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForGlobalResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForGlobalResourceCommandInput extends ListTagsForGlobalResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForGlobalResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForGlobalResourceCommandOutput extends ListTagsForGlobalResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForGlobalResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForGlobalResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForGlobalResourceCommandInput, ListTagsForGlobalResourceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForGlobalResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForGlobalResourceCommandInput, ListTagsForGlobalResourceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the tags associated with a global resource in AWS Elemental MediaConnect. The API supports the following global resources: router inputs, router outputs and router network interfaces. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MediaConnectClient, ListTagsForGlobalResourceCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, ListTagsForGlobalResourceCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
|
|
36
|
+
* // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
|
|
37
|
+
* const config = {}; // type is MediaConnectClientConfig
|
|
38
|
+
* const client = new MediaConnectClient(config);
|
|
39
|
+
* const input = { // ListTagsForGlobalResourceRequest
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListTagsForGlobalResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListTagsForGlobalResourceResponse
|
|
45
|
+
* // Tags: { // __mapOfString
|
|
46
|
+
* // "<keys>": "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ListTagsForGlobalResourceCommandInput - {@link ListTagsForGlobalResourceCommandInput}
|
|
53
|
+
* @returns {@link ListTagsForGlobalResourceCommandOutput}
|
|
54
|
+
* @see {@link ListTagsForGlobalResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ListTagsForGlobalResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
62
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link NotFoundException} (client fault)
|
|
65
|
+
* <p>One or more of the resources in the request does not exist in the system. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link MediaConnectServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class ListTagsForGlobalResourceCommand extends ListTagsForGlobalResourceCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: ListTagsForGlobalResourceRequest;
|
|
78
|
+
output: ListTagsForGlobalResourceResponse;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: ListTagsForGlobalResourceCommandInput;
|
|
82
|
+
output: ListTagsForGlobalResourceCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p> List all tags on a MediaConnect resource.</p>
|
|
30
|
+
* <p> List all tags on a MediaConnect resource in the current region.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
|
|
4
|
+
import { RestartRouterInputRequest, RestartRouterInputResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RestartRouterInputCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RestartRouterInputCommandInput extends RestartRouterInputRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RestartRouterInputCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RestartRouterInputCommandOutput extends RestartRouterInputResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RestartRouterInputCommand_base: {
|
|
25
|
+
new (input: RestartRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<RestartRouterInputCommandInput, RestartRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RestartRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<RestartRouterInputCommandInput, RestartRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Restarts a router input. This operation can be used to recover from errors or refresh the input state.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MediaConnectClient, RestartRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, RestartRouterInputCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
|
|
36
|
+
* // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
|
|
37
|
+
* const config = {}; // type is MediaConnectClientConfig
|
|
38
|
+
* const client = new MediaConnectClient(config);
|
|
39
|
+
* const input = { // RestartRouterInputRequest
|
|
40
|
+
* Arn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new RestartRouterInputCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // RestartRouterInputResponse
|
|
45
|
+
* // Arn: "STRING_VALUE", // required
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param RestartRouterInputCommandInput - {@link RestartRouterInputCommandInput}
|
|
53
|
+
* @returns {@link RestartRouterInputCommandOutput}
|
|
54
|
+
* @see {@link RestartRouterInputCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link RestartRouterInputCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
68
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>One or more of the resources in the request does not exist in the system. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service is currently unavailable or busy. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling. </p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link MediaConnectServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class RestartRouterInputCommand extends RestartRouterInputCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: RestartRouterInputRequest;
|
|
90
|
+
output: RestartRouterInputResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: RestartRouterInputCommandInput;
|
|
94
|
+
output: RestartRouterInputCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
|
|
4
|
+
import { RestartRouterOutputRequest, RestartRouterOutputResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RestartRouterOutputCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RestartRouterOutputCommandInput extends RestartRouterOutputRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RestartRouterOutputCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RestartRouterOutputCommandOutput extends RestartRouterOutputResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RestartRouterOutputCommand_base: {
|
|
25
|
+
new (input: RestartRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<RestartRouterOutputCommandInput, RestartRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RestartRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<RestartRouterOutputCommandInput, RestartRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Restarts a router output. This operation can be used to recover from errors or refresh the output state.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MediaConnectClient, RestartRouterOutputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, RestartRouterOutputCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
|
|
36
|
+
* // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
|
|
37
|
+
* const config = {}; // type is MediaConnectClientConfig
|
|
38
|
+
* const client = new MediaConnectClient(config);
|
|
39
|
+
* const input = { // RestartRouterOutputRequest
|
|
40
|
+
* Arn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new RestartRouterOutputCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // RestartRouterOutputResponse
|
|
45
|
+
* // Arn: "STRING_VALUE", // required
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param RestartRouterOutputCommandInput - {@link RestartRouterOutputCommandInput}
|
|
53
|
+
* @returns {@link RestartRouterOutputCommandOutput}
|
|
54
|
+
* @see {@link RestartRouterOutputCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link RestartRouterOutputCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
68
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>One or more of the resources in the request does not exist in the system. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service is currently unavailable or busy. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling. </p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link MediaConnectServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class RestartRouterOutputCommand extends RestartRouterOutputCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: RestartRouterOutputRequest;
|
|
90
|
+
output: RestartRouterOutputResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: RestartRouterOutputCommandInput;
|
|
94
|
+
output: RestartRouterOutputCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
|
|
4
|
+
import { StartRouterInputRequest, StartRouterInputResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartRouterInputCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartRouterInputCommandInput extends StartRouterInputRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartRouterInputCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartRouterInputCommandOutput extends StartRouterInputResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartRouterInputCommand_base: {
|
|
25
|
+
new (input: StartRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<StartRouterInputCommandInput, StartRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<StartRouterInputCommandInput, StartRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Starts a router input in AWS Elemental MediaConnect.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MediaConnectClient, StartRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, StartRouterInputCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
|
|
36
|
+
* // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
|
|
37
|
+
* const config = {}; // type is MediaConnectClientConfig
|
|
38
|
+
* const client = new MediaConnectClient(config);
|
|
39
|
+
* const input = { // StartRouterInputRequest
|
|
40
|
+
* Arn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StartRouterInputCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // StartRouterInputResponse
|
|
45
|
+
* // Arn: "STRING_VALUE", // required
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
|
|
48
|
+
* // MaintenanceScheduleType: "WINDOW", // required
|
|
49
|
+
* // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
|
|
50
|
+
* // Window: { // WindowMaintenanceSchedule
|
|
51
|
+
* // Start: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // End: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // ScheduledTime: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param StartRouterInputCommandInput - {@link StartRouterInputCommandInput}
|
|
61
|
+
* @returns {@link StartRouterInputCommandOutput}
|
|
62
|
+
* @see {@link StartRouterInputCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link StartRouterInputCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link BadRequestException} (client fault)
|
|
67
|
+
* <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
76
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NotFoundException} (client fault)
|
|
79
|
+
* <p>One or more of the resources in the request does not exist in the system. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
82
|
+
* <p>The service is currently unavailable or busy. </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link MediaConnectServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class StartRouterInputCommand extends StartRouterInputCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: StartRouterInputRequest;
|
|
98
|
+
output: StartRouterInputResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: StartRouterInputCommandInput;
|
|
102
|
+
output: StartRouterInputCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
|
|
4
|
+
import { StartRouterOutputRequest, StartRouterOutputResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartRouterOutputCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartRouterOutputCommandInput extends StartRouterOutputRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartRouterOutputCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartRouterOutputCommandOutput extends StartRouterOutputResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartRouterOutputCommand_base: {
|
|
25
|
+
new (input: StartRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<StartRouterOutputCommandInput, StartRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<StartRouterOutputCommandInput, StartRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Starts a router output in AWS Elemental MediaConnect.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MediaConnectClient, StartRouterOutputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, StartRouterOutputCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
|
|
36
|
+
* // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
|
|
37
|
+
* const config = {}; // type is MediaConnectClientConfig
|
|
38
|
+
* const client = new MediaConnectClient(config);
|
|
39
|
+
* const input = { // StartRouterOutputRequest
|
|
40
|
+
* Arn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StartRouterOutputCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // StartRouterOutputResponse
|
|
45
|
+
* // Arn: "STRING_VALUE", // required
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
|
|
48
|
+
* // MaintenanceScheduleType: "WINDOW", // required
|
|
49
|
+
* // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
|
|
50
|
+
* // Window: { // WindowMaintenanceSchedule
|
|
51
|
+
* // Start: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // End: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // ScheduledTime: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param StartRouterOutputCommandInput - {@link StartRouterOutputCommandInput}
|
|
61
|
+
* @returns {@link StartRouterOutputCommandOutput}
|
|
62
|
+
* @see {@link StartRouterOutputCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link StartRouterOutputCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link BadRequestException} (client fault)
|
|
67
|
+
* <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
76
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NotFoundException} (client fault)
|
|
79
|
+
* <p>One or more of the resources in the request does not exist in the system. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
82
|
+
* <p>The service is currently unavailable or busy. </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link MediaConnectServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class StartRouterOutputCommand extends StartRouterOutputCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: StartRouterOutputRequest;
|
|
98
|
+
output: StartRouterOutputResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: StartRouterOutputCommandInput;
|
|
102
|
+
output: StartRouterOutputCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
|
|
4
|
+
import { StopRouterInputRequest, StopRouterInputResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StopRouterInputCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopRouterInputCommandInput extends StopRouterInputRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopRouterInputCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopRouterInputCommandOutput extends StopRouterInputResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopRouterInputCommand_base: {
|
|
25
|
+
new (input: StopRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<StopRouterInputCommandInput, StopRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<StopRouterInputCommandInput, StopRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Stops a router input in AWS Elemental MediaConnect.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MediaConnectClient, StopRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, StopRouterInputCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
|
|
36
|
+
* // import type { MediaConnectClientConfig } from "@aws-sdk/client-mediaconnect";
|
|
37
|
+
* const config = {}; // type is MediaConnectClientConfig
|
|
38
|
+
* const client = new MediaConnectClient(config);
|
|
39
|
+
* const input = { // StopRouterInputRequest
|
|
40
|
+
* Arn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StopRouterInputCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // StopRouterInputResponse
|
|
45
|
+
* // Arn: "STRING_VALUE", // required
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param StopRouterInputCommandInput - {@link StopRouterInputCommandInput}
|
|
53
|
+
* @returns {@link StopRouterInputCommandOutput}
|
|
54
|
+
* @see {@link StopRouterInputCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link StopRouterInputCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message. </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
68
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>One or more of the resources in the request does not exist in the system. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service is currently unavailable or busy. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling. </p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link MediaConnectServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class StopRouterInputCommand extends StopRouterInputCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: StopRouterInputRequest;
|
|
90
|
+
output: StopRouterInputResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: StopRouterInputCommandInput;
|
|
94
|
+
output: StopRouterInputCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|