@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,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 { StopRouterOutputRequest, StopRouterOutputResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopRouterOutputCommand}.
14
+ */
15
+ export interface StopRouterOutputCommandInput extends StopRouterOutputRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopRouterOutputCommand}.
21
+ */
22
+ export interface StopRouterOutputCommandOutput extends StopRouterOutputResponse, __MetadataBearer {
23
+ }
24
+ declare const StopRouterOutputCommand_base: {
25
+ new (input: StopRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<StopRouterOutputCommandInput, StopRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopRouterOutputCommandInput): import("@smithy/smithy-client").CommandImpl<StopRouterOutputCommandInput, StopRouterOutputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Stops 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, StopRouterOutputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, StopRouterOutputCommand } = 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 = { // StopRouterOutputRequest
40
+ * Arn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new StopRouterOutputCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // StopRouterOutputResponse
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 StopRouterOutputCommandInput - {@link StopRouterOutputCommandInput}
53
+ * @returns {@link StopRouterOutputCommandOutput}
54
+ * @see {@link StopRouterOutputCommandInput} for command's `input` shape.
55
+ * @see {@link StopRouterOutputCommandOutput} 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 StopRouterOutputCommand extends StopRouterOutputCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: StopRouterOutputRequest;
90
+ output: StopRouterOutputResponse;
91
+ };
92
+ sdk: {
93
+ input: StopRouterOutputCommandInput;
94
+ output: StopRouterOutputCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,84 @@
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 { TagGlobalResourceRequest } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagGlobalResourceCommand}.
14
+ */
15
+ export interface TagGlobalResourceCommandInput extends TagGlobalResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagGlobalResourceCommand}.
21
+ */
22
+ export interface TagGlobalResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const TagGlobalResourceCommand_base: {
25
+ new (input: TagGlobalResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagGlobalResourceCommandInput, TagGlobalResourceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagGlobalResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagGlobalResourceCommandInput, TagGlobalResourceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Adds tags to 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, TagGlobalResourceCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, TagGlobalResourceCommand } = 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 = { // TagGlobalResourceRequest
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * Tags: { // __mapOfString // required
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new TagGlobalResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param TagGlobalResourceCommandInput - {@link TagGlobalResourceCommandInput}
52
+ * @returns {@link TagGlobalResourceCommandOutput}
53
+ * @see {@link TagGlobalResourceCommandInput} for command's `input` shape.
54
+ * @see {@link TagGlobalResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
56
+ *
57
+ * @throws {@link BadRequestException} (client fault)
58
+ * <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>
59
+ *
60
+ * @throws {@link InternalServerErrorException} (server fault)
61
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
62
+ *
63
+ * @throws {@link NotFoundException} (client fault)
64
+ * <p>One or more of the resources in the request does not exist in the system. </p>
65
+ *
66
+ * @throws {@link MediaConnectServiceException}
67
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class TagGlobalResourceCommand extends TagGlobalResourceCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: TagGlobalResourceRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: TagGlobalResourceCommandInput;
81
+ output: TagGlobalResourceCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
4
- import { TagResourceRequest } from "../models/models_0";
4
+ import { TagResourceRequest } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,7 +27,7 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p> Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.</p>
30
+ * <p> Associates the specified tags to a resource with the specified <code>resourceArn</code> in the current region. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.</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,100 @@
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 { TakeRouterInputRequest, TakeRouterInputResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TakeRouterInputCommand}.
14
+ */
15
+ export interface TakeRouterInputCommandInput extends TakeRouterInputRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TakeRouterInputCommand}.
21
+ */
22
+ export interface TakeRouterInputCommandOutput extends TakeRouterInputResponse, __MetadataBearer {
23
+ }
24
+ declare const TakeRouterInputCommand_base: {
25
+ new (input: TakeRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<TakeRouterInputCommandInput, TakeRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TakeRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<TakeRouterInputCommandInput, TakeRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates a router input with 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, TakeRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, TakeRouterInputCommand } = 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 = { // TakeRouterInputRequest
40
+ * RouterOutputArn: "STRING_VALUE", // required
41
+ * RouterInputArn: "STRING_VALUE",
42
+ * };
43
+ * const command = new TakeRouterInputCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // TakeRouterInputResponse
46
+ * // RoutedState: "ROUTED" || "ROUTING" || "UNROUTED", // required
47
+ * // RouterOutputArn: "STRING_VALUE", // required
48
+ * // RouterOutputName: "STRING_VALUE", // required
49
+ * // RouterInputArn: "STRING_VALUE",
50
+ * // RouterInputName: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param TakeRouterInputCommandInput - {@link TakeRouterInputCommandInput}
56
+ * @returns {@link TakeRouterInputCommandOutput}
57
+ * @see {@link TakeRouterInputCommandInput} for command's `input` shape.
58
+ * @see {@link TakeRouterInputCommandOutput} for command's `response` shape.
59
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
60
+ *
61
+ * @throws {@link BadRequestException} (client fault)
62
+ * <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>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <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>
66
+ *
67
+ * @throws {@link ForbiddenException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action. </p>
69
+ *
70
+ * @throws {@link InternalServerErrorException} (server fault)
71
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
72
+ *
73
+ * @throws {@link NotFoundException} (client fault)
74
+ * <p>One or more of the resources in the request does not exist in the system. </p>
75
+ *
76
+ * @throws {@link ServiceUnavailableException} (server fault)
77
+ * <p>The service is currently unavailable or busy. </p>
78
+ *
79
+ * @throws {@link TooManyRequestsException} (client fault)
80
+ * <p>The request was denied due to request throttling. </p>
81
+ *
82
+ * @throws {@link MediaConnectServiceException}
83
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class TakeRouterInputCommand extends TakeRouterInputCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: TakeRouterInputRequest;
93
+ output: TakeRouterInputResponse;
94
+ };
95
+ sdk: {
96
+ input: TakeRouterInputCommandInput;
97
+ output: TakeRouterInputCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,84 @@
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 { UntagGlobalResourceRequest } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagGlobalResourceCommand}.
14
+ */
15
+ export interface UntagGlobalResourceCommandInput extends UntagGlobalResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagGlobalResourceCommand}.
21
+ */
22
+ export interface UntagGlobalResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UntagGlobalResourceCommand_base: {
25
+ new (input: UntagGlobalResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagGlobalResourceCommandInput, UntagGlobalResourceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagGlobalResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagGlobalResourceCommandInput, UntagGlobalResourceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes tags from 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, UntagGlobalResourceCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
35
+ * // const { MediaConnectClient, UntagGlobalResourceCommand } = 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 = { // UntagGlobalResourceRequest
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * TagKeys: [ // __listOfString // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new UntagGlobalResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UntagGlobalResourceCommandInput - {@link UntagGlobalResourceCommandInput}
52
+ * @returns {@link UntagGlobalResourceCommandOutput}
53
+ * @see {@link UntagGlobalResourceCommandInput} for command's `input` shape.
54
+ * @see {@link UntagGlobalResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
56
+ *
57
+ * @throws {@link BadRequestException} (client fault)
58
+ * <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>
59
+ *
60
+ * @throws {@link InternalServerErrorException} (server fault)
61
+ * <p>The server encountered an internal error and is unable to complete the request. </p>
62
+ *
63
+ * @throws {@link NotFoundException} (client fault)
64
+ * <p>One or more of the resources in the request does not exist in the system. </p>
65
+ *
66
+ * @throws {@link MediaConnectServiceException}
67
+ * <p>Base exception class for all service exceptions from MediaConnect service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class UntagGlobalResourceCommand extends UntagGlobalResourceCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: UntagGlobalResourceRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: UntagGlobalResourceCommandInput;
81
+ output: UntagGlobalResourceCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient";
4
- import { UntagResourceRequest } from "../models/models_0";
4
+ import { UntagResourceRequest } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,7 +27,7 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p> Deletes specified tags from a resource.</p>
30
+ * <p> Deletes specified tags from a 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
@@ -213,6 +213,18 @@ declare const UpdateFlowCommand_base: {
213
213
  * // ],
214
214
  * // OutputStatus: "ENABLED" || "DISABLED",
215
215
  * // PeerIpAddress: "STRING_VALUE",
216
+ * // RouterIntegrationState: "ENABLED" || "DISABLED",
217
+ * // RouterIntegrationTransitEncryption: { // FlowTransitEncryption
218
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
219
+ * // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
220
+ * // SecretsManager: { // SecretsManagerEncryptionKeyConfiguration
221
+ * // SecretArn: "STRING_VALUE", // required
222
+ * // RoleArn: "STRING_VALUE", // required
223
+ * // },
224
+ * // Automatic: {},
225
+ * // },
226
+ * // },
227
+ * // ConnectedRouterInputArn: "STRING_VALUE",
216
228
  * // },
217
229
  * // ],
218
230
  * // Source: { // Source
@@ -279,6 +291,18 @@ declare const UpdateFlowCommand_base: {
279
291
  * // },
280
292
  * // },
281
293
  * // PeerIpAddress: "STRING_VALUE",
294
+ * // RouterIntegrationState: "ENABLED" || "DISABLED",
295
+ * // RouterIntegrationTransitDecryption: {
296
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
297
+ * // EncryptionKeyConfiguration: {// Union: only one key present
298
+ * // SecretsManager: {
299
+ * // SecretArn: "STRING_VALUE", // required
300
+ * // RoleArn: "STRING_VALUE", // required
301
+ * // },
302
+ * // Automatic: {},
303
+ * // },
304
+ * // },
305
+ * // ConnectedRouterOutputArn: "STRING_VALUE",
282
306
  * // },
283
307
  * // SourceFailoverConfig: { // FailoverConfig
284
308
  * // FailoverMode: "MERGE" || "FAILOVER",
@@ -353,6 +377,18 @@ declare const UpdateFlowCommand_base: {
353
377
  * // },
354
378
  * // },
355
379
  * // PeerIpAddress: "STRING_VALUE",
380
+ * // RouterIntegrationState: "ENABLED" || "DISABLED",
381
+ * // RouterIntegrationTransitDecryption: {
382
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
383
+ * // EncryptionKeyConfiguration: {// Union: only one key present
384
+ * // SecretsManager: {
385
+ * // SecretArn: "STRING_VALUE", // required
386
+ * // RoleArn: "STRING_VALUE", // required
387
+ * // },
388
+ * // Automatic: {},
389
+ * // },
390
+ * // },
391
+ * // ConnectedRouterOutputArn: "STRING_VALUE",
356
392
  * // },
357
393
  * // ],
358
394
  * // Status: "STANDBY" || "ACTIVE" || "UPDATING" || "DELETING" || "STARTING" || "STOPPING" || "ERROR", // required
@@ -89,6 +89,17 @@ declare const UpdateFlowOutputCommand_base: {
89
89
  * OutputStatus: "ENABLED" || "DISABLED",
90
90
  * NdiProgramName: "STRING_VALUE",
91
91
  * NdiSpeedHqQuality: Number("int"),
92
+ * RouterIntegrationState: "ENABLED" || "DISABLED",
93
+ * RouterIntegrationTransitEncryption: { // FlowTransitEncryption
94
+ * EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
95
+ * EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
96
+ * SecretsManager: { // SecretsManagerEncryptionKeyConfiguration
97
+ * SecretArn: "STRING_VALUE", // required
98
+ * RoleArn: "STRING_VALUE", // required
99
+ * },
100
+ * Automatic: {},
101
+ * },
102
+ * },
92
103
  * };
93
104
  * const command = new UpdateFlowOutputCommand(input);
94
105
  * const response = await client.send(command);
@@ -163,6 +174,18 @@ declare const UpdateFlowOutputCommand_base: {
163
174
  * // ],
164
175
  * // OutputStatus: "ENABLED" || "DISABLED",
165
176
  * // PeerIpAddress: "STRING_VALUE",
177
+ * // RouterIntegrationState: "ENABLED" || "DISABLED",
178
+ * // RouterIntegrationTransitEncryption: { // FlowTransitEncryption
179
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
180
+ * // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
181
+ * // SecretsManager: { // SecretsManagerEncryptionKeyConfiguration
182
+ * // SecretArn: "STRING_VALUE", // required
183
+ * // RoleArn: "STRING_VALUE", // required
184
+ * // },
185
+ * // Automatic: {},
186
+ * // },
187
+ * // },
188
+ * // ConnectedRouterInputArn: "STRING_VALUE",
166
189
  * // },
167
190
  * // };
168
191
  *
@@ -85,6 +85,17 @@ declare const UpdateFlowSourceCommand_base: {
85
85
  * VpcInterfaceName: "STRING_VALUE",
86
86
  * },
87
87
  * },
88
+ * RouterIntegrationState: "ENABLED" || "DISABLED",
89
+ * RouterIntegrationTransitDecryption: { // FlowTransitEncryption
90
+ * EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
91
+ * EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
92
+ * SecretsManager: { // SecretsManagerEncryptionKeyConfiguration
93
+ * SecretArn: "STRING_VALUE", // required
94
+ * RoleArn: "STRING_VALUE", // required
95
+ * },
96
+ * Automatic: {},
97
+ * },
98
+ * },
88
99
  * };
89
100
  * const command = new UpdateFlowSourceCommand(input);
90
101
  * const response = await client.send(command);
@@ -154,6 +165,18 @@ declare const UpdateFlowSourceCommand_base: {
154
165
  * // },
155
166
  * // },
156
167
  * // PeerIpAddress: "STRING_VALUE",
168
+ * // RouterIntegrationState: "ENABLED" || "DISABLED",
169
+ * // RouterIntegrationTransitDecryption: { // FlowTransitEncryption
170
+ * // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
171
+ * // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
172
+ * // SecretsManager: { // SecretsManagerEncryptionKeyConfiguration
173
+ * // SecretArn: "STRING_VALUE", // required
174
+ * // RoleArn: "STRING_VALUE", // required
175
+ * // },
176
+ * // Automatic: {},
177
+ * // },
178
+ * // },
179
+ * // ConnectedRouterOutputArn: "STRING_VALUE",
157
180
  * // },
158
181
  * // };
159
182
  *