@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.
Files changed (170) hide show
  1. package/README.md +240 -0
  2. package/dist-cjs/index.js +6833 -1636
  3. package/dist-es/MediaConnect.js +60 -0
  4. package/dist-es/commands/BatchGetRouterInputCommand.js +16 -0
  5. package/dist-es/commands/BatchGetRouterNetworkInterfaceCommand.js +16 -0
  6. package/dist-es/commands/BatchGetRouterOutputCommand.js +16 -0
  7. package/dist-es/commands/CreateRouterInputCommand.js +16 -0
  8. package/dist-es/commands/CreateRouterNetworkInterfaceCommand.js +16 -0
  9. package/dist-es/commands/CreateRouterOutputCommand.js +16 -0
  10. package/dist-es/commands/DeleteRouterInputCommand.js +16 -0
  11. package/dist-es/commands/DeleteRouterNetworkInterfaceCommand.js +16 -0
  12. package/dist-es/commands/DeleteRouterOutputCommand.js +16 -0
  13. package/dist-es/commands/GetRouterInputCommand.js +16 -0
  14. package/dist-es/commands/GetRouterInputSourceMetadataCommand.js +16 -0
  15. package/dist-es/commands/GetRouterInputThumbnailCommand.js +16 -0
  16. package/dist-es/commands/GetRouterNetworkInterfaceCommand.js +16 -0
  17. package/dist-es/commands/GetRouterOutputCommand.js +16 -0
  18. package/dist-es/commands/ListRouterInputsCommand.js +16 -0
  19. package/dist-es/commands/ListRouterNetworkInterfacesCommand.js +16 -0
  20. package/dist-es/commands/ListRouterOutputsCommand.js +16 -0
  21. package/dist-es/commands/ListTagsForGlobalResourceCommand.js +16 -0
  22. package/dist-es/commands/RestartRouterInputCommand.js +16 -0
  23. package/dist-es/commands/RestartRouterOutputCommand.js +16 -0
  24. package/dist-es/commands/StartRouterInputCommand.js +16 -0
  25. package/dist-es/commands/StartRouterOutputCommand.js +16 -0
  26. package/dist-es/commands/StopRouterInputCommand.js +16 -0
  27. package/dist-es/commands/StopRouterOutputCommand.js +16 -0
  28. package/dist-es/commands/TagGlobalResourceCommand.js +16 -0
  29. package/dist-es/commands/TakeRouterInputCommand.js +16 -0
  30. package/dist-es/commands/UntagGlobalResourceCommand.js +16 -0
  31. package/dist-es/commands/UpdateRouterInputCommand.js +16 -0
  32. package/dist-es/commands/UpdateRouterNetworkInterfaceCommand.js +16 -0
  33. package/dist-es/commands/UpdateRouterOutputCommand.js +16 -0
  34. package/dist-es/commands/index.js +30 -0
  35. package/dist-es/index.js +2 -1
  36. package/dist-es/models/enums.js +303 -0
  37. package/dist-es/models/errors.js +215 -0
  38. package/dist-es/models/models_0.js +1 -358
  39. package/dist-es/models/models_1.js +1 -0
  40. package/dist-es/pagination/ListRouterInputsPaginator.js +4 -0
  41. package/dist-es/pagination/ListRouterNetworkInterfacesPaginator.js +4 -0
  42. package/dist-es/pagination/ListRouterOutputsPaginator.js +4 -0
  43. package/dist-es/pagination/index.js +3 -0
  44. package/dist-es/schemas/schemas_0.js +5554 -1351
  45. package/dist-es/waiters/index.js +7 -0
  46. package/dist-es/waiters/waitForInputActive.js +64 -0
  47. package/dist-es/waiters/waitForInputDeleted.js +49 -0
  48. package/dist-es/waiters/waitForInputStandby.js +55 -0
  49. package/dist-es/waiters/waitForOutputActive.js +64 -0
  50. package/dist-es/waiters/waitForOutputDeleted.js +49 -0
  51. package/dist-es/waiters/waitForOutputRouted.js +46 -0
  52. package/dist-es/waiters/waitForOutputStandby.js +55 -0
  53. package/dist-types/MediaConnect.d.ts +213 -0
  54. package/dist-types/MediaConnectClient.d.ts +32 -2
  55. package/dist-types/commands/AddFlowOutputsCommand.d.ts +23 -0
  56. package/dist-types/commands/AddFlowSourcesCommand.d.ts +23 -0
  57. package/dist-types/commands/BatchGetRouterInputCommand.d.ts +278 -0
  58. package/dist-types/commands/BatchGetRouterNetworkInterfaceCommand.d.ts +129 -0
  59. package/dist-types/commands/BatchGetRouterOutputCommand.d.ts +215 -0
  60. package/dist-types/commands/CreateFlowCommand.d.ts +69 -0
  61. package/dist-types/commands/CreateRouterInputCommand.d.ts +400 -0
  62. package/dist-types/commands/CreateRouterNetworkInterfaceCommand.d.ts +144 -0
  63. package/dist-types/commands/CreateRouterOutputCommand.d.ts +293 -0
  64. package/dist-types/commands/DeleteRouterInputCommand.d.ts +97 -0
  65. package/dist-types/commands/DeleteRouterNetworkInterfaceCommand.d.ts +97 -0
  66. package/dist-types/commands/DeleteRouterOutputCommand.d.ts +97 -0
  67. package/dist-types/commands/DescribeFlowCommand.d.ts +36 -0
  68. package/dist-types/commands/GetRouterInputCommand.d.ts +273 -0
  69. package/dist-types/commands/GetRouterInputSourceMetadataCommand.d.ts +129 -0
  70. package/dist-types/commands/GetRouterInputThumbnailCommand.d.ts +104 -0
  71. package/dist-types/commands/GetRouterNetworkInterfaceCommand.d.ts +124 -0
  72. package/dist-types/commands/GetRouterOutputCommand.d.ts +210 -0
  73. package/dist-types/commands/ListRouterInputsCommand.d.ts +135 -0
  74. package/dist-types/commands/ListRouterNetworkInterfacesCommand.d.ts +117 -0
  75. package/dist-types/commands/ListRouterOutputsCommand.d.ts +139 -0
  76. package/dist-types/commands/ListTagsForGlobalResourceCommand.d.ts +85 -0
  77. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  78. package/dist-types/commands/RestartRouterInputCommand.d.ts +97 -0
  79. package/dist-types/commands/RestartRouterOutputCommand.d.ts +97 -0
  80. package/dist-types/commands/StartRouterInputCommand.d.ts +105 -0
  81. package/dist-types/commands/StartRouterOutputCommand.d.ts +105 -0
  82. package/dist-types/commands/StopRouterInputCommand.d.ts +97 -0
  83. package/dist-types/commands/StopRouterOutputCommand.d.ts +97 -0
  84. package/dist-types/commands/TagGlobalResourceCommand.d.ts +84 -0
  85. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  86. package/dist-types/commands/TakeRouterInputCommand.d.ts +100 -0
  87. package/dist-types/commands/UntagGlobalResourceCommand.d.ts +84 -0
  88. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  89. package/dist-types/commands/UpdateFlowCommand.d.ts +36 -0
  90. package/dist-types/commands/UpdateFlowOutputCommand.d.ts +23 -0
  91. package/dist-types/commands/UpdateFlowSourceCommand.d.ts +23 -0
  92. package/dist-types/commands/UpdateRouterInputCommand.d.ts +395 -0
  93. package/dist-types/commands/UpdateRouterNetworkInterfaceCommand.d.ts +137 -0
  94. package/dist-types/commands/UpdateRouterOutputCommand.d.ts +288 -0
  95. package/dist-types/commands/index.d.ts +30 -0
  96. package/dist-types/index.d.ts +4 -1
  97. package/dist-types/models/enums.d.ts +727 -0
  98. package/dist-types/models/errors.d.ts +201 -0
  99. package/dist-types/models/models_0.d.ts +4082 -1520
  100. package/dist-types/models/models_1.d.ts +287 -0
  101. package/dist-types/pagination/ListRouterInputsPaginator.d.ts +7 -0
  102. package/dist-types/pagination/ListRouterNetworkInterfacesPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListRouterOutputsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/index.d.ts +3 -0
  105. package/dist-types/schemas/schemas_0.d.ts +185 -0
  106. package/dist-types/ts3.4/MediaConnect.d.ts +513 -0
  107. package/dist-types/ts3.4/MediaConnectClient.d.ts +182 -2
  108. package/dist-types/ts3.4/commands/BatchGetRouterInputCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/BatchGetRouterNetworkInterfaceCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/BatchGetRouterOutputCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/CreateRouterInputCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/CreateRouterNetworkInterfaceCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/CreateRouterOutputCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/DeleteRouterInputCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/DeleteRouterNetworkInterfaceCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/DeleteRouterOutputCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/GetRouterInputCommand.d.ts +50 -0
  118. package/dist-types/ts3.4/commands/GetRouterInputSourceMetadataCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/GetRouterInputThumbnailCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/GetRouterNetworkInterfaceCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/GetRouterOutputCommand.d.ts +50 -0
  122. package/dist-types/ts3.4/commands/ListRouterInputsCommand.d.ts +50 -0
  123. package/dist-types/ts3.4/commands/ListRouterNetworkInterfacesCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/ListRouterOutputsCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/ListTagsForGlobalResourceCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/RestartRouterInputCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/RestartRouterOutputCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/StartRouterInputCommand.d.ts +50 -0
  129. package/dist-types/ts3.4/commands/StartRouterOutputCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/StopRouterInputCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/StopRouterOutputCommand.d.ts +50 -0
  132. package/dist-types/ts3.4/commands/TagGlobalResourceCommand.d.ts +46 -0
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/TakeRouterInputCommand.d.ts +50 -0
  135. package/dist-types/ts3.4/commands/UntagGlobalResourceCommand.d.ts +46 -0
  136. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UpdateRouterInputCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/UpdateRouterNetworkInterfaceCommand.d.ts +51 -0
  139. package/dist-types/ts3.4/commands/UpdateRouterOutputCommand.d.ts +51 -0
  140. package/dist-types/ts3.4/commands/index.d.ts +30 -0
  141. package/dist-types/ts3.4/index.d.ts +4 -1
  142. package/dist-types/ts3.4/models/enums.d.ts +385 -0
  143. package/dist-types/ts3.4/models/errors.d.ts +132 -0
  144. package/dist-types/ts3.4/models/models_0.d.ts +1262 -332
  145. package/dist-types/ts3.4/models/models_1.d.ts +88 -0
  146. package/dist-types/ts3.4/pagination/ListRouterInputsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListRouterNetworkInterfacesPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListRouterOutputsPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  150. package/dist-types/ts3.4/schemas/schemas_0.d.ts +185 -0
  151. package/dist-types/ts3.4/waiters/index.d.ts +7 -0
  152. package/dist-types/ts3.4/waiters/waitForInputActive.d.ts +11 -0
  153. package/dist-types/ts3.4/waiters/waitForInputDeleted.d.ts +11 -0
  154. package/dist-types/ts3.4/waiters/waitForInputStandby.d.ts +11 -0
  155. package/dist-types/ts3.4/waiters/waitForOutputActive.d.ts +11 -0
  156. package/dist-types/ts3.4/waiters/waitForOutputDeleted.d.ts +11 -0
  157. package/dist-types/ts3.4/waiters/waitForOutputRouted.d.ts +11 -0
  158. package/dist-types/ts3.4/waiters/waitForOutputStandby.d.ts +11 -0
  159. package/dist-types/waiters/index.d.ts +7 -0
  160. package/dist-types/waiters/waitForInputActive.d.ts +14 -0
  161. package/dist-types/waiters/waitForInputDeleted.d.ts +14 -0
  162. package/dist-types/waiters/waitForInputStandby.d.ts +14 -0
  163. package/dist-types/waiters/waitForOutputActive.d.ts +14 -0
  164. package/dist-types/waiters/waitForOutputDeleted.d.ts +14 -0
  165. package/dist-types/waiters/waitForOutputRouted.d.ts +14 -0
  166. package/dist-types/waiters/waitForOutputStandby.d.ts +14 -0
  167. package/package.json +19 -19
  168. package/dist-es/models/index.js +0 -1
  169. package/dist-types/models/index.d.ts +0 -1
  170. 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
+ }