register_destination_endpoint
¶
register_destination_endpoint(
configuration: DestinationEndpointConfiguration,
*,
config_overrides: Optional[MediaConnectClientConfig] = None,
description: Optional[str] = None,
region_name: Optional[str] = None,
tags: Optional[__mapOfString] = None,
client_token: Optional[ClientToken] = None,
) -> RegisterDestinationEndpointResponse
Registers a new destination endpoint in MediaConnect.
Parameters:
-
description(Optional[str], default:None) –A description to help you identify the destination endpoint.
-
configuration(DestinationEndpointConfiguration) –The configuration settings for the destination endpoint.
-
region_name(Optional[str], default:None) –The name of the Amazon Web Services Region in which to register the destination endpoint. Defaults to the current region if not specified.
-
tags(Optional[__mapOfString], default:None) –The tags to apply to the destination endpoint. Each tag is a key-value pair.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If this token matches a previous request, the service ignores the request, but does not return an error.
Raises:
-
BadRequestException–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.
-
ConflictException–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.
-
DestinationEndpointServiceQuotaExceededException–The request would cause you to exceed a service quota for destination endpoints. Delete unused destination endpoints or request a quota increase, then try your request again.
-
ForbiddenException–You do not have sufficient access to perform this action.
-
InternalServerErrorException–The server encountered an internal error and is unable to complete the request.
-
ServiceUnavailableException–The service is currently unavailable or busy.
-
TooManyRequestsException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconnect/_services/media_connect.py
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 1672 1673 1674 1675 1676 | |