register_destination_endpoint
async
¶
register_destination_endpoint(
configuration: DestinationEndpointConfiguration,
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = 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/async_media_connect.py
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 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 | |