@aws-sdk/client-mediaconnect 3.934.0 → 3.935.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 +12 -12
- 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
|
@@ -144,6 +144,17 @@ declare const CreateFlowCommand_base: {
|
|
|
144
144
|
* OutputTags: {
|
|
145
145
|
* "<keys>": "STRING_VALUE",
|
|
146
146
|
* },
|
|
147
|
+
* RouterIntegrationState: "ENABLED" || "DISABLED",
|
|
148
|
+
* RouterIntegrationTransitEncryption: { // FlowTransitEncryption
|
|
149
|
+
* EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
150
|
+
* EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
|
|
151
|
+
* SecretsManager: { // SecretsManagerEncryptionKeyConfiguration
|
|
152
|
+
* SecretArn: "STRING_VALUE", // required
|
|
153
|
+
* RoleArn: "STRING_VALUE", // required
|
|
154
|
+
* },
|
|
155
|
+
* Automatic: {},
|
|
156
|
+
* },
|
|
157
|
+
* },
|
|
147
158
|
* },
|
|
148
159
|
* ],
|
|
149
160
|
* Source: { // SetSourceRequest
|
|
@@ -197,6 +208,17 @@ declare const CreateFlowCommand_base: {
|
|
|
197
208
|
* SourceTags: {
|
|
198
209
|
* "<keys>": "STRING_VALUE",
|
|
199
210
|
* },
|
|
211
|
+
* RouterIntegrationState: "ENABLED" || "DISABLED",
|
|
212
|
+
* RouterIntegrationTransitDecryption: {
|
|
213
|
+
* EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
214
|
+
* EncryptionKeyConfiguration: {// Union: only one key present
|
|
215
|
+
* SecretsManager: {
|
|
216
|
+
* SecretArn: "STRING_VALUE", // required
|
|
217
|
+
* RoleArn: "STRING_VALUE", // required
|
|
218
|
+
* },
|
|
219
|
+
* Automatic: {},
|
|
220
|
+
* },
|
|
221
|
+
* },
|
|
200
222
|
* },
|
|
201
223
|
* SourceFailoverConfig: { // FailoverConfig
|
|
202
224
|
* FailoverMode: "MERGE" || "FAILOVER",
|
|
@@ -258,6 +280,17 @@ declare const CreateFlowCommand_base: {
|
|
|
258
280
|
* SourceTags: {
|
|
259
281
|
* "<keys>": "STRING_VALUE",
|
|
260
282
|
* },
|
|
283
|
+
* RouterIntegrationState: "ENABLED" || "DISABLED",
|
|
284
|
+
* RouterIntegrationTransitDecryption: {
|
|
285
|
+
* EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
286
|
+
* EncryptionKeyConfiguration: {// Union: only one key present
|
|
287
|
+
* SecretsManager: {
|
|
288
|
+
* SecretArn: "STRING_VALUE", // required
|
|
289
|
+
* RoleArn: "STRING_VALUE", // required
|
|
290
|
+
* },
|
|
291
|
+
* Automatic: {},
|
|
292
|
+
* },
|
|
293
|
+
* },
|
|
261
294
|
* },
|
|
262
295
|
* ],
|
|
263
296
|
* VpcInterfaces: [ // __listOfVpcInterfaceRequest
|
|
@@ -439,6 +472,18 @@ declare const CreateFlowCommand_base: {
|
|
|
439
472
|
* // ],
|
|
440
473
|
* // OutputStatus: "ENABLED" || "DISABLED",
|
|
441
474
|
* // PeerIpAddress: "STRING_VALUE",
|
|
475
|
+
* // RouterIntegrationState: "ENABLED" || "DISABLED",
|
|
476
|
+
* // RouterIntegrationTransitEncryption: { // FlowTransitEncryption
|
|
477
|
+
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
478
|
+
* // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
|
|
479
|
+
* // SecretsManager: { // SecretsManagerEncryptionKeyConfiguration
|
|
480
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
481
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
482
|
+
* // },
|
|
483
|
+
* // Automatic: {},
|
|
484
|
+
* // },
|
|
485
|
+
* // },
|
|
486
|
+
* // ConnectedRouterInputArn: "STRING_VALUE",
|
|
442
487
|
* // },
|
|
443
488
|
* // ],
|
|
444
489
|
* // Source: { // Source
|
|
@@ -505,6 +550,18 @@ declare const CreateFlowCommand_base: {
|
|
|
505
550
|
* // },
|
|
506
551
|
* // },
|
|
507
552
|
* // PeerIpAddress: "STRING_VALUE",
|
|
553
|
+
* // RouterIntegrationState: "ENABLED" || "DISABLED",
|
|
554
|
+
* // RouterIntegrationTransitDecryption: {
|
|
555
|
+
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
556
|
+
* // EncryptionKeyConfiguration: {// Union: only one key present
|
|
557
|
+
* // SecretsManager: {
|
|
558
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
559
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
560
|
+
* // },
|
|
561
|
+
* // Automatic: {},
|
|
562
|
+
* // },
|
|
563
|
+
* // },
|
|
564
|
+
* // ConnectedRouterOutputArn: "STRING_VALUE",
|
|
508
565
|
* // },
|
|
509
566
|
* // SourceFailoverConfig: { // FailoverConfig
|
|
510
567
|
* // FailoverMode: "MERGE" || "FAILOVER",
|
|
@@ -579,6 +636,18 @@ declare const CreateFlowCommand_base: {
|
|
|
579
636
|
* // },
|
|
580
637
|
* // },
|
|
581
638
|
* // PeerIpAddress: "STRING_VALUE",
|
|
639
|
+
* // RouterIntegrationState: "ENABLED" || "DISABLED",
|
|
640
|
+
* // RouterIntegrationTransitDecryption: {
|
|
641
|
+
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
642
|
+
* // EncryptionKeyConfiguration: {// Union: only one key present
|
|
643
|
+
* // SecretsManager: {
|
|
644
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
645
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
646
|
+
* // },
|
|
647
|
+
* // Automatic: {},
|
|
648
|
+
* // },
|
|
649
|
+
* // },
|
|
650
|
+
* // ConnectedRouterOutputArn: "STRING_VALUE",
|
|
582
651
|
* // },
|
|
583
652
|
* // ],
|
|
584
653
|
* // Status: "STANDBY" || "ACTIVE" || "UPDATING" || "DELETING" || "STARTING" || "STOPPING" || "ERROR", // required
|
|
@@ -0,0 +1,400 @@
|
|
|
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 { CreateRouterInputRequest, CreateRouterInputResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateRouterInputCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateRouterInputCommandInput extends CreateRouterInputRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateRouterInputCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateRouterInputCommandOutput extends CreateRouterInputResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateRouterInputCommand_base: {
|
|
25
|
+
new (input: CreateRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRouterInputCommandInput, CreateRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateRouterInputCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRouterInputCommandInput, CreateRouterInputCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new 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, CreateRouterInputCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, CreateRouterInputCommand } = 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 = { // CreateRouterInputRequest
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* Configuration: { // RouterInputConfiguration Union: only one key present
|
|
42
|
+
* Standard: { // StandardRouterInputConfiguration
|
|
43
|
+
* NetworkInterfaceArn: "STRING_VALUE", // required
|
|
44
|
+
* ProtocolConfiguration: { // RouterInputProtocolConfiguration Union: only one key present
|
|
45
|
+
* Rtp: { // RtpRouterInputConfiguration
|
|
46
|
+
* Port: Number("int"), // required
|
|
47
|
+
* ForwardErrorCorrection: "ENABLED" || "DISABLED",
|
|
48
|
+
* },
|
|
49
|
+
* Rist: { // RistRouterInputConfiguration
|
|
50
|
+
* Port: Number("int"), // required
|
|
51
|
+
* RecoveryLatencyMilliseconds: Number("long"), // required
|
|
52
|
+
* },
|
|
53
|
+
* SrtListener: { // SrtListenerRouterInputConfiguration
|
|
54
|
+
* Port: Number("int"), // required
|
|
55
|
+
* MinimumLatencyMilliseconds: Number("long"), // required
|
|
56
|
+
* DecryptionConfiguration: { // SrtDecryptionConfiguration
|
|
57
|
+
* EncryptionKey: { // SecretsManagerEncryptionKeyConfiguration
|
|
58
|
+
* SecretArn: "STRING_VALUE", // required
|
|
59
|
+
* RoleArn: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* SrtCaller: { // SrtCallerRouterInputConfiguration
|
|
64
|
+
* SourceAddress: "STRING_VALUE", // required
|
|
65
|
+
* SourcePort: Number("int"), // required
|
|
66
|
+
* MinimumLatencyMilliseconds: Number("long"), // required
|
|
67
|
+
* StreamId: "STRING_VALUE",
|
|
68
|
+
* DecryptionConfiguration: {
|
|
69
|
+
* EncryptionKey: {
|
|
70
|
+
* SecretArn: "STRING_VALUE", // required
|
|
71
|
+
* RoleArn: "STRING_VALUE", // required
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
|
|
77
|
+
* },
|
|
78
|
+
* Failover: { // FailoverRouterInputConfiguration
|
|
79
|
+
* NetworkInterfaceArn: "STRING_VALUE", // required
|
|
80
|
+
* ProtocolConfigurations: [ // FailoverRouterInputProtocolConfigurationList // required
|
|
81
|
+
* { // FailoverRouterInputProtocolConfiguration Union: only one key present
|
|
82
|
+
* Rtp: {
|
|
83
|
+
* Port: Number("int"), // required
|
|
84
|
+
* ForwardErrorCorrection: "ENABLED" || "DISABLED",
|
|
85
|
+
* },
|
|
86
|
+
* Rist: {
|
|
87
|
+
* Port: Number("int"), // required
|
|
88
|
+
* RecoveryLatencyMilliseconds: Number("long"), // required
|
|
89
|
+
* },
|
|
90
|
+
* SrtListener: {
|
|
91
|
+
* Port: Number("int"), // required
|
|
92
|
+
* MinimumLatencyMilliseconds: Number("long"), // required
|
|
93
|
+
* DecryptionConfiguration: {
|
|
94
|
+
* EncryptionKey: {
|
|
95
|
+
* SecretArn: "STRING_VALUE", // required
|
|
96
|
+
* RoleArn: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* SrtCaller: {
|
|
101
|
+
* SourceAddress: "STRING_VALUE", // required
|
|
102
|
+
* SourcePort: Number("int"), // required
|
|
103
|
+
* MinimumLatencyMilliseconds: Number("long"), // required
|
|
104
|
+
* StreamId: "STRING_VALUE",
|
|
105
|
+
* DecryptionConfiguration: {
|
|
106
|
+
* EncryptionKey: {
|
|
107
|
+
* SecretArn: "STRING_VALUE", // required
|
|
108
|
+
* RoleArn: "STRING_VALUE", // required
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* },
|
|
113
|
+
* ],
|
|
114
|
+
* SourcePriorityMode: "NO_PRIORITY" || "PRIMARY_SECONDARY", // required
|
|
115
|
+
* PrimarySourceIndex: Number("int"),
|
|
116
|
+
* },
|
|
117
|
+
* Merge: { // MergeRouterInputConfiguration
|
|
118
|
+
* NetworkInterfaceArn: "STRING_VALUE", // required
|
|
119
|
+
* ProtocolConfigurations: [ // MergeRouterInputProtocolConfigurationList // required
|
|
120
|
+
* { // MergeRouterInputProtocolConfiguration Union: only one key present
|
|
121
|
+
* Rtp: {
|
|
122
|
+
* Port: Number("int"), // required
|
|
123
|
+
* ForwardErrorCorrection: "ENABLED" || "DISABLED",
|
|
124
|
+
* },
|
|
125
|
+
* Rist: {
|
|
126
|
+
* Port: Number("int"), // required
|
|
127
|
+
* RecoveryLatencyMilliseconds: Number("long"), // required
|
|
128
|
+
* },
|
|
129
|
+
* },
|
|
130
|
+
* ],
|
|
131
|
+
* MergeRecoveryWindowMilliseconds: Number("long"), // required
|
|
132
|
+
* },
|
|
133
|
+
* MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration
|
|
134
|
+
* FlowArn: "STRING_VALUE",
|
|
135
|
+
* FlowOutputArn: "STRING_VALUE",
|
|
136
|
+
* SourceTransitDecryption: { // FlowTransitEncryption
|
|
137
|
+
* EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
138
|
+
* EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
|
|
139
|
+
* SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
|
|
140
|
+
* Automatic: {},
|
|
141
|
+
* },
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* MaximumBitrate: Number("long"), // required
|
|
146
|
+
* RoutingScope: "REGIONAL" || "GLOBAL", // required
|
|
147
|
+
* Tier: "INPUT_100" || "INPUT_50" || "INPUT_20", // required
|
|
148
|
+
* RegionName: "STRING_VALUE",
|
|
149
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
150
|
+
* TransitEncryption: { // RouterInputTransitEncryption
|
|
151
|
+
* EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
152
|
+
* EncryptionKeyConfiguration: { // RouterInputTransitEncryptionKeyConfiguration Union: only one key present
|
|
153
|
+
* SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
|
|
154
|
+
* Automatic: {},
|
|
155
|
+
* },
|
|
156
|
+
* },
|
|
157
|
+
* MaintenanceConfiguration: { // MaintenanceConfiguration Union: only one key present
|
|
158
|
+
* PreferredDayTime: { // PreferredDayTimeMaintenanceConfiguration
|
|
159
|
+
* Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
160
|
+
* Time: "STRING_VALUE", // required
|
|
161
|
+
* },
|
|
162
|
+
* Default: {},
|
|
163
|
+
* },
|
|
164
|
+
* Tags: { // __mapOfString
|
|
165
|
+
* "<keys>": "STRING_VALUE",
|
|
166
|
+
* },
|
|
167
|
+
* ClientToken: "STRING_VALUE",
|
|
168
|
+
* };
|
|
169
|
+
* const command = new CreateRouterInputCommand(input);
|
|
170
|
+
* const response = await client.send(command);
|
|
171
|
+
* // { // CreateRouterInputResponse
|
|
172
|
+
* // RouterInput: { // RouterInput
|
|
173
|
+
* // Name: "STRING_VALUE", // required
|
|
174
|
+
* // Arn: "STRING_VALUE", // required
|
|
175
|
+
* // Id: "STRING_VALUE", // required
|
|
176
|
+
* // State: "CREATING" || "STANDBY" || "STARTING" || "ACTIVE" || "STOPPING" || "DELETING" || "UPDATING" || "ERROR" || "RECOVERING" || "MIGRATING", // required
|
|
177
|
+
* // InputType: "STANDARD" || "FAILOVER" || "MERGE" || "MEDIACONNECT_FLOW", // required
|
|
178
|
+
* // Configuration: { // RouterInputConfiguration Union: only one key present
|
|
179
|
+
* // Standard: { // StandardRouterInputConfiguration
|
|
180
|
+
* // NetworkInterfaceArn: "STRING_VALUE", // required
|
|
181
|
+
* // ProtocolConfiguration: { // RouterInputProtocolConfiguration Union: only one key present
|
|
182
|
+
* // Rtp: { // RtpRouterInputConfiguration
|
|
183
|
+
* // Port: Number("int"), // required
|
|
184
|
+
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
|
|
185
|
+
* // },
|
|
186
|
+
* // Rist: { // RistRouterInputConfiguration
|
|
187
|
+
* // Port: Number("int"), // required
|
|
188
|
+
* // RecoveryLatencyMilliseconds: Number("long"), // required
|
|
189
|
+
* // },
|
|
190
|
+
* // SrtListener: { // SrtListenerRouterInputConfiguration
|
|
191
|
+
* // Port: Number("int"), // required
|
|
192
|
+
* // MinimumLatencyMilliseconds: Number("long"), // required
|
|
193
|
+
* // DecryptionConfiguration: { // SrtDecryptionConfiguration
|
|
194
|
+
* // EncryptionKey: { // SecretsManagerEncryptionKeyConfiguration
|
|
195
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
196
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
197
|
+
* // },
|
|
198
|
+
* // },
|
|
199
|
+
* // },
|
|
200
|
+
* // SrtCaller: { // SrtCallerRouterInputConfiguration
|
|
201
|
+
* // SourceAddress: "STRING_VALUE", // required
|
|
202
|
+
* // SourcePort: Number("int"), // required
|
|
203
|
+
* // MinimumLatencyMilliseconds: Number("long"), // required
|
|
204
|
+
* // StreamId: "STRING_VALUE",
|
|
205
|
+
* // DecryptionConfiguration: {
|
|
206
|
+
* // EncryptionKey: {
|
|
207
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
208
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
209
|
+
* // },
|
|
210
|
+
* // },
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
213
|
+
* // Protocol: "RTP" || "RIST" || "SRT_CALLER" || "SRT_LISTENER",
|
|
214
|
+
* // },
|
|
215
|
+
* // Failover: { // FailoverRouterInputConfiguration
|
|
216
|
+
* // NetworkInterfaceArn: "STRING_VALUE", // required
|
|
217
|
+
* // ProtocolConfigurations: [ // FailoverRouterInputProtocolConfigurationList // required
|
|
218
|
+
* // { // FailoverRouterInputProtocolConfiguration Union: only one key present
|
|
219
|
+
* // Rtp: {
|
|
220
|
+
* // Port: Number("int"), // required
|
|
221
|
+
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
|
|
222
|
+
* // },
|
|
223
|
+
* // Rist: {
|
|
224
|
+
* // Port: Number("int"), // required
|
|
225
|
+
* // RecoveryLatencyMilliseconds: Number("long"), // required
|
|
226
|
+
* // },
|
|
227
|
+
* // SrtListener: {
|
|
228
|
+
* // Port: Number("int"), // required
|
|
229
|
+
* // MinimumLatencyMilliseconds: Number("long"), // required
|
|
230
|
+
* // DecryptionConfiguration: {
|
|
231
|
+
* // EncryptionKey: {
|
|
232
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
233
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
234
|
+
* // },
|
|
235
|
+
* // },
|
|
236
|
+
* // },
|
|
237
|
+
* // SrtCaller: {
|
|
238
|
+
* // SourceAddress: "STRING_VALUE", // required
|
|
239
|
+
* // SourcePort: Number("int"), // required
|
|
240
|
+
* // MinimumLatencyMilliseconds: Number("long"), // required
|
|
241
|
+
* // StreamId: "STRING_VALUE",
|
|
242
|
+
* // DecryptionConfiguration: {
|
|
243
|
+
* // EncryptionKey: {
|
|
244
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
245
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
246
|
+
* // },
|
|
247
|
+
* // },
|
|
248
|
+
* // },
|
|
249
|
+
* // },
|
|
250
|
+
* // ],
|
|
251
|
+
* // SourcePriorityMode: "NO_PRIORITY" || "PRIMARY_SECONDARY", // required
|
|
252
|
+
* // PrimarySourceIndex: Number("int"),
|
|
253
|
+
* // },
|
|
254
|
+
* // Merge: { // MergeRouterInputConfiguration
|
|
255
|
+
* // NetworkInterfaceArn: "STRING_VALUE", // required
|
|
256
|
+
* // ProtocolConfigurations: [ // MergeRouterInputProtocolConfigurationList // required
|
|
257
|
+
* // { // MergeRouterInputProtocolConfiguration Union: only one key present
|
|
258
|
+
* // Rtp: {
|
|
259
|
+
* // Port: Number("int"), // required
|
|
260
|
+
* // ForwardErrorCorrection: "ENABLED" || "DISABLED",
|
|
261
|
+
* // },
|
|
262
|
+
* // Rist: {
|
|
263
|
+
* // Port: Number("int"), // required
|
|
264
|
+
* // RecoveryLatencyMilliseconds: Number("long"), // required
|
|
265
|
+
* // },
|
|
266
|
+
* // },
|
|
267
|
+
* // ],
|
|
268
|
+
* // MergeRecoveryWindowMilliseconds: Number("long"), // required
|
|
269
|
+
* // },
|
|
270
|
+
* // MediaConnectFlow: { // MediaConnectFlowRouterInputConfiguration
|
|
271
|
+
* // FlowArn: "STRING_VALUE",
|
|
272
|
+
* // FlowOutputArn: "STRING_VALUE",
|
|
273
|
+
* // SourceTransitDecryption: { // FlowTransitEncryption
|
|
274
|
+
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
275
|
+
* // EncryptionKeyConfiguration: { // FlowTransitEncryptionKeyConfiguration Union: only one key present
|
|
276
|
+
* // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
|
|
277
|
+
* // Automatic: {},
|
|
278
|
+
* // },
|
|
279
|
+
* // },
|
|
280
|
+
* // },
|
|
281
|
+
* // },
|
|
282
|
+
* // RoutedOutputs: Number("int"), // required
|
|
283
|
+
* // MaximumRoutedOutputs: Number("int"),
|
|
284
|
+
* // RegionName: "STRING_VALUE", // required
|
|
285
|
+
* // AvailabilityZone: "STRING_VALUE", // required
|
|
286
|
+
* // MaximumBitrate: Number("long"), // required
|
|
287
|
+
* // Tier: "INPUT_100" || "INPUT_50" || "INPUT_20", // required
|
|
288
|
+
* // RoutingScope: "REGIONAL" || "GLOBAL", // required
|
|
289
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
290
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
291
|
+
* // Messages: [ // RouterInputMessages // required
|
|
292
|
+
* // { // RouterInputMessage
|
|
293
|
+
* // Code: "STRING_VALUE", // required
|
|
294
|
+
* // Message: "STRING_VALUE", // required
|
|
295
|
+
* // },
|
|
296
|
+
* // ],
|
|
297
|
+
* // TransitEncryption: { // RouterInputTransitEncryption
|
|
298
|
+
* // EncryptionKeyType: "SECRETS_MANAGER" || "AUTOMATIC",
|
|
299
|
+
* // EncryptionKeyConfiguration: { // RouterInputTransitEncryptionKeyConfiguration Union: only one key present
|
|
300
|
+
* // SecretsManager: "<SecretsManagerEncryptionKeyConfiguration>",
|
|
301
|
+
* // Automatic: {},
|
|
302
|
+
* // },
|
|
303
|
+
* // },
|
|
304
|
+
* // Tags: { // __mapOfString // required
|
|
305
|
+
* // "<keys>": "STRING_VALUE",
|
|
306
|
+
* // },
|
|
307
|
+
* // StreamDetails: { // RouterInputStreamDetails Union: only one key present
|
|
308
|
+
* // Standard: { // StandardRouterInputStreamDetails
|
|
309
|
+
* // SourceIpAddress: "STRING_VALUE",
|
|
310
|
+
* // },
|
|
311
|
+
* // Failover: { // FailoverRouterInputStreamDetails
|
|
312
|
+
* // SourceIndexZeroStreamDetails: { // FailoverRouterInputIndexedStreamDetails
|
|
313
|
+
* // SourceIndex: Number("int"), // required
|
|
314
|
+
* // SourceIpAddress: "STRING_VALUE",
|
|
315
|
+
* // },
|
|
316
|
+
* // SourceIndexOneStreamDetails: {
|
|
317
|
+
* // SourceIndex: Number("int"), // required
|
|
318
|
+
* // SourceIpAddress: "STRING_VALUE",
|
|
319
|
+
* // },
|
|
320
|
+
* // },
|
|
321
|
+
* // Merge: { // MergeRouterInputStreamDetails
|
|
322
|
+
* // SourceIndexZeroStreamDetails: { // MergeRouterInputIndexedStreamDetails
|
|
323
|
+
* // SourceIndex: Number("int"), // required
|
|
324
|
+
* // SourceIpAddress: "STRING_VALUE",
|
|
325
|
+
* // },
|
|
326
|
+
* // SourceIndexOneStreamDetails: {
|
|
327
|
+
* // SourceIndex: Number("int"), // required
|
|
328
|
+
* // SourceIpAddress: "STRING_VALUE",
|
|
329
|
+
* // },
|
|
330
|
+
* // },
|
|
331
|
+
* // MediaConnectFlow: {},
|
|
332
|
+
* // },
|
|
333
|
+
* // IpAddress: "STRING_VALUE",
|
|
334
|
+
* // MaintenanceType: "PREFERRED_DAY_TIME" || "DEFAULT", // required
|
|
335
|
+
* // MaintenanceConfiguration: { // MaintenanceConfiguration Union: only one key present
|
|
336
|
+
* // PreferredDayTime: { // PreferredDayTimeMaintenanceConfiguration
|
|
337
|
+
* // Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
338
|
+
* // Time: "STRING_VALUE", // required
|
|
339
|
+
* // },
|
|
340
|
+
* // Default: {},
|
|
341
|
+
* // },
|
|
342
|
+
* // MaintenanceScheduleType: "WINDOW",
|
|
343
|
+
* // MaintenanceSchedule: { // MaintenanceSchedule Union: only one key present
|
|
344
|
+
* // Window: { // WindowMaintenanceSchedule
|
|
345
|
+
* // Start: new Date("TIMESTAMP"), // required
|
|
346
|
+
* // End: new Date("TIMESTAMP"), // required
|
|
347
|
+
* // ScheduledTime: new Date("TIMESTAMP"), // required
|
|
348
|
+
* // },
|
|
349
|
+
* // },
|
|
350
|
+
* // },
|
|
351
|
+
* // };
|
|
352
|
+
*
|
|
353
|
+
* ```
|
|
354
|
+
*
|
|
355
|
+
* @param CreateRouterInputCommandInput - {@link CreateRouterInputCommandInput}
|
|
356
|
+
* @returns {@link CreateRouterInputCommandOutput}
|
|
357
|
+
* @see {@link CreateRouterInputCommandInput} for command's `input` shape.
|
|
358
|
+
* @see {@link CreateRouterInputCommandOutput} for command's `response` shape.
|
|
359
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
360
|
+
*
|
|
361
|
+
* @throws {@link BadRequestException} (client fault)
|
|
362
|
+
* <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>
|
|
363
|
+
*
|
|
364
|
+
* @throws {@link ConflictException} (client fault)
|
|
365
|
+
* <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>
|
|
366
|
+
*
|
|
367
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
368
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
369
|
+
*
|
|
370
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
371
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
372
|
+
*
|
|
373
|
+
* @throws {@link RouterInputServiceQuotaExceededException} (client fault)
|
|
374
|
+
* <p>The request to create a new router input would exceed the service quotas for the account. </p>
|
|
375
|
+
*
|
|
376
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
377
|
+
* <p>The service is currently unavailable or busy. </p>
|
|
378
|
+
*
|
|
379
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
380
|
+
* <p>The request was denied due to request throttling. </p>
|
|
381
|
+
*
|
|
382
|
+
* @throws {@link MediaConnectServiceException}
|
|
383
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
384
|
+
*
|
|
385
|
+
*
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
export declare class CreateRouterInputCommand extends CreateRouterInputCommand_base {
|
|
389
|
+
/** @internal type navigation helper, not in runtime. */
|
|
390
|
+
protected static __types: {
|
|
391
|
+
api: {
|
|
392
|
+
input: CreateRouterInputRequest;
|
|
393
|
+
output: CreateRouterInputResponse;
|
|
394
|
+
};
|
|
395
|
+
sdk: {
|
|
396
|
+
input: CreateRouterInputCommandInput;
|
|
397
|
+
output: CreateRouterInputCommandOutput;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
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 { CreateRouterNetworkInterfaceRequest, CreateRouterNetworkInterfaceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateRouterNetworkInterfaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateRouterNetworkInterfaceCommandInput extends CreateRouterNetworkInterfaceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateRouterNetworkInterfaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateRouterNetworkInterfaceCommandOutput extends CreateRouterNetworkInterfaceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateRouterNetworkInterfaceCommand_base: {
|
|
25
|
+
new (input: CreateRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRouterNetworkInterfaceCommandInput, CreateRouterNetworkInterfaceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateRouterNetworkInterfaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRouterNetworkInterfaceCommandInput, CreateRouterNetworkInterfaceCommandOutput, MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new router network interface 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, CreateRouterNetworkInterfaceCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
|
|
35
|
+
* // const { MediaConnectClient, CreateRouterNetworkInterfaceCommand } = 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 = { // CreateRouterNetworkInterfaceRequest
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* Configuration: { // RouterNetworkInterfaceConfiguration Union: only one key present
|
|
42
|
+
* Public: { // PublicRouterNetworkInterfaceConfiguration
|
|
43
|
+
* AllowRules: [ // NetworkInterfaceRuleList // required
|
|
44
|
+
* { // PublicRouterNetworkInterfaceRule
|
|
45
|
+
* Cidr: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* Vpc: { // VpcRouterNetworkInterfaceConfiguration
|
|
50
|
+
* SecurityGroupIds: [ // SecurityGroupIdList // required
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* SubnetId: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* RegionName: "STRING_VALUE",
|
|
57
|
+
* Tags: { // __mapOfString
|
|
58
|
+
* "<keys>": "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ClientToken: "STRING_VALUE",
|
|
61
|
+
* };
|
|
62
|
+
* const command = new CreateRouterNetworkInterfaceCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // CreateRouterNetworkInterfaceResponse
|
|
65
|
+
* // RouterNetworkInterface: { // RouterNetworkInterface
|
|
66
|
+
* // Name: "STRING_VALUE", // required
|
|
67
|
+
* // Arn: "STRING_VALUE", // required
|
|
68
|
+
* // Id: "STRING_VALUE", // required
|
|
69
|
+
* // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "ERROR" || "RECOVERING", // required
|
|
70
|
+
* // NetworkInterfaceType: "PUBLIC" || "VPC", // required
|
|
71
|
+
* // Configuration: { // RouterNetworkInterfaceConfiguration Union: only one key present
|
|
72
|
+
* // Public: { // PublicRouterNetworkInterfaceConfiguration
|
|
73
|
+
* // AllowRules: [ // NetworkInterfaceRuleList // required
|
|
74
|
+
* // { // PublicRouterNetworkInterfaceRule
|
|
75
|
+
* // Cidr: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // Vpc: { // VpcRouterNetworkInterfaceConfiguration
|
|
80
|
+
* // SecurityGroupIds: [ // SecurityGroupIdList // required
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // SubnetId: "STRING_VALUE", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // AssociatedOutputCount: Number("int"), // required
|
|
87
|
+
* // AssociatedInputCount: Number("int"), // required
|
|
88
|
+
* // RegionName: "STRING_VALUE", // required
|
|
89
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
90
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
91
|
+
* // Tags: { // __mapOfString // required
|
|
92
|
+
* // "<keys>": "STRING_VALUE",
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param CreateRouterNetworkInterfaceCommandInput - {@link CreateRouterNetworkInterfaceCommandInput}
|
|
100
|
+
* @returns {@link CreateRouterNetworkInterfaceCommandOutput}
|
|
101
|
+
* @see {@link CreateRouterNetworkInterfaceCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link CreateRouterNetworkInterfaceCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link MediaConnectClientResolvedConfig | config} for MediaConnectClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link BadRequestException} (client fault)
|
|
106
|
+
* <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>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ConflictException} (client fault)
|
|
109
|
+
* <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>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
112
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
115
|
+
* <p>The server encountered an internal error and is unable to complete the request. </p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link RouterNetworkInterfaceServiceQuotaExceededException} (client fault)
|
|
118
|
+
* <p>The request to create a new router network interface would exceed the service quotas (limits) set for the account. </p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
121
|
+
* <p>The service is currently unavailable or busy. </p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
124
|
+
* <p>The request was denied due to request throttling. </p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link MediaConnectServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from MediaConnect service.</p>
|
|
128
|
+
*
|
|
129
|
+
*
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export declare class CreateRouterNetworkInterfaceCommand extends CreateRouterNetworkInterfaceCommand_base {
|
|
133
|
+
/** @internal type navigation helper, not in runtime. */
|
|
134
|
+
protected static __types: {
|
|
135
|
+
api: {
|
|
136
|
+
input: CreateRouterNetworkInterfaceRequest;
|
|
137
|
+
output: CreateRouterNetworkInterfaceResponse;
|
|
138
|
+
};
|
|
139
|
+
sdk: {
|
|
140
|
+
input: CreateRouterNetworkInterfaceCommandInput;
|
|
141
|
+
output: CreateRouterNetworkInterfaceCommandOutput;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
}
|