create_bridge
async
¶
create_bridge(
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = None,
egress_gateway_bridge: Optional[AddEgressGatewayBridgeRequest] = None,
ingress_gateway_bridge: Optional[AddIngressGatewayBridgeRequest] = None,
name: Optional[str] = None,
outputs: Optional[__listOfAddBridgeOutputRequest] = None,
placement_arn: Optional[str] = None,
source_failover_config: Optional[FailoverConfig] = None,
sources: Optional[__listOfAddBridgeSourceRequest] = None,
) -> CreateBridgeResponse
Creates a new bridge. The request must include one source.
Parameters:
-
egress_gateway_bridge(Optional[AddEgressGatewayBridgeRequest], default:None) –An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
-
ingress_gateway_bridge(Optional[AddIngressGatewayBridgeRequest], default:None) –An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
-
name(Optional[str], default:None) –The name of the bridge. This name can not be modified after the bridge is created.
-
outputs(Optional[__listOfAddBridgeOutputRequest], default:None) –The outputs that you want to add to this bridge.
-
placement_arn(Optional[str], default:None) –The bridge placement Amazon Resource Number (ARN).
-
source_failover_config(Optional[FailoverConfig], default:None) –The settings for source failover.
-
sources(Optional[__listOfAddBridgeSourceRequest], default:None) –The sources that you want to add to this bridge.
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.
-
CreateBridge420Exception–Exception raised by Elemental MediaConnect when creating the bridge. See the error message for the operation for more information on the cause of this exception.
-
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
818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 | |