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
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 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 | |