Skip to main content

router_network_interfaces

Creates, updates, deletes, gets or lists a router_network_interfaces resource.

Overview

Namerouter_network_interfaces
TypeResource
Idaws.mediaconnect.router_network_interfaces

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
errorsarrayAn array of errors that occurred when retrieving the requested router network interfaces.
router_network_interfacesarrayAn array of router network interfaces that were successfully retrieved.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_router_network_interfaceselectarns, regionRetrieves information about multiple router network interfaces in AWS Elemental MediaConnect.
get_router_network_interfaceselectarn, regionRetrieves information about a specific router network interface in AWS Elemental MediaConnect.
list_router_network_interfacesselectregionmaxResults, nextTokenRetrieves a list of router network interfaces in AWS Elemental MediaConnect.
create_router_network_interfaceinsertregion, ConfigurationCreates a new router network interface in AWS Elemental MediaConnect.
update_router_network_interfaceupdatearn, regionUpdates the configuration of an existing router network interface in AWS Elemental MediaConnect.
delete_router_network_interfacedeletearn, regionDeletes a router network interface from AWS Elemental MediaConnect.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the router network interface that you want to delete.
arnsarrayThe Amazon Resource Names (ARNs) of the router network interfaces you want to retrieve information about.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of router network interfaces to return in the response.
nextTokenstringA token used to retrieve the next page of results.

SELECT examples

Retrieves information about multiple router network interfaces in AWS Elemental MediaConnect.

SELECT
errors,
router_network_interfaces
FROM aws.mediaconnect.router_network_interfaces
WHERE arns = '{{ arns }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a new router network interface in AWS Elemental MediaConnect.

INSERT INTO aws.mediaconnect.router_network_interfaces (
Name,
Configuration,
RegionName,
Tags,
ClientToken,
region
)
SELECT
'{{ Name }}',
'{{ Configuration }}' /* required */,
'{{ RegionName }}',
'{{ Tags }}',
'{{ ClientToken }}',
'{{ region }}'
RETURNING
router_network_interface
;

UPDATE examples

Updates the configuration of an existing router network interface in AWS Elemental MediaConnect.

UPDATE aws.mediaconnect.router_network_interfaces
SET
Name = '{{ Name }}',
Configuration = '{{ Configuration }}'
WHERE
arn = '{{ arn }}' --required
AND region = '{{ region }}' --required
RETURNING
router_network_interface;

DELETE examples

Deletes a router network interface from AWS Elemental MediaConnect.

DELETE FROM aws.mediaconnect.router_network_interfaces
WHERE arn = '{{ arn }}' --required
AND region = '{{ region }}' --required
;