create_input
¶
create_input(
*,
config_overrides: Optional[MediaLiveClientConfig] = None,
destinations: Optional[__listOfInputDestinationRequest] = None,
input_devices: Optional[__listOfInputDeviceSettings] = None,
input_security_groups: Optional[__listOf__string] = None,
media_connect_flows: Optional[__listOfMediaConnectFlowRequest] = None,
name: Optional[__string] = None,
request_id: Optional[__string] = None,
role_arn: Optional[__string] = None,
sources: Optional[__listOfInputSourceRequest] = None,
tags: Optional[Tags] = None,
type: Optional[InputType] = None,
vpc: Optional[InputVpcRequest] = None,
srt_settings: Optional[SrtSettingsRequest] = None,
input_network_location: Optional[InputNetworkLocation] = None,
multicast_settings: Optional[MulticastSettingsCreateRequest] = None,
smpte2110_receiver_group_settings: Optional[Smpte2110ReceiverGroupSettings] = None,
sdi_sources: Optional[InputSdiSources] = None,
router_settings: Optional[RouterSettings] = None,
) -> CreateInputResponse
Create an input
Parameters:
-
destinations(Optional[__listOfInputDestinationRequest], default:None) –Destination settings for PUSH type inputs.
-
input_devices(Optional[__listOfInputDeviceSettings], default:None) –Settings for the devices.
-
input_security_groups(Optional[__listOf__string], default:None) –A list of security groups referenced by IDs to attach to the input.
-
media_connect_flows(Optional[__listOfMediaConnectFlowRequest], default:None) –A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.
-
name(Optional[__string], default:None) –Name of the input.
-
request_id(Optional[__string], default:None) –Unique identifier of the request to ensure the request is handled exactly once in case of retries.
-
role_arn(Optional[__string], default:None) –The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
-
sources(Optional[__listOfInputSourceRequest], default:None) –The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.
-
tags(Optional[Tags], default:None) –A collection of key-value pairs.
-
srt_settings(Optional[SrtSettingsRequest], default:None) –The settings associated with an SRT input.
-
input_network_location(Optional[InputNetworkLocation], default:None) –The location of this input. AWS, for an input existing in the AWS Cloud, On-Prem for an input in a customer network.
-
multicast_settings(Optional[MulticastSettingsCreateRequest], default:None) –Multicast Input settings.
-
smpte2110_receiver_group_settings(Optional[Smpte2110ReceiverGroupSettings], default:None) –Include this parameter if the input is a SMPTE 2110 input, to identify the stream sources for this input.
Raises:
-
BadGatewayException–Placeholder documentation for BadGatewayException
-
BadRequestException–Placeholder documentation for BadRequestException
-
ForbiddenException–Placeholder documentation for ForbiddenException
-
GatewayTimeoutException–Placeholder documentation for GatewayTimeoutException
-
InternalServerErrorException–Placeholder documentation for InternalServerErrorException
-
TooManyRequestsException–Placeholder documentation for TooManyRequestsException
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/media_live.py
1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 | |