MediaConnectClient#
Index > MediaConnect > MediaConnectClient
Auto-generated documentation for MediaConnect type annotations stubs module types-boto3-mediaconnect.
MediaConnectClient#
Type annotations and code completion for boto3.client("mediaconnect").
 boto3 documentation
# MediaConnectClient usage example
from boto3.session import Session
from types_boto3_mediaconnect.client import MediaConnectClient
def get_mediaconnect_client() -> MediaConnectClient:
    return Session().client("mediaconnect")Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("mediaconnect").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("mediaconnect")
try:
    do_something(client)
except (
    client.exceptions.AddFlowOutputs420Exception,
    client.exceptions.BadRequestException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.CreateBridge420Exception,
    client.exceptions.CreateFlow420Exception,
    client.exceptions.CreateGateway420Exception,
    client.exceptions.ForbiddenException,
    client.exceptions.GrantFlowEntitlements420Exception,
    client.exceptions.InternalServerErrorException,
    client.exceptions.NotFoundException,
    client.exceptions.ServiceUnavailableException,
    client.exceptions.TooManyRequestsException,
) as e:
    print(e)# Exceptions.exceptions type checking example
from types_boto3_mediaconnect.client import Exceptions
def handle_error(exc: Exceptions.AddFlowOutputs420Exception) -> None:
    ...Methods#
can_paginate#
Type annotations and code completion for boto3.client("mediaconnect").can_paginate method.
 boto3 documentation
# can_paginate method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...generate_presigned_url#
Type annotations and code completion for boto3.client("mediaconnect").generate_presigned_url method.
 boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...add_bridge_outputs#
Adds outputs to an existing bridge.
Type annotations and code completion for boto3.client("mediaconnect").add_bridge_outputs method.
 boto3 documentation
# add_bridge_outputs method definition
def add_bridge_outputs(
    self,
    *,
    BridgeArn: str,
    Outputs: Sequence[AddBridgeOutputRequestTypeDef],  # (1)
) -> AddBridgeOutputsResponseTypeDef:  # (2)
    ...- See Sequence[AddBridgeOutputRequestTypeDef]
- See AddBridgeOutputsResponseTypeDef
# add_bridge_outputs method usage example with argument unpacking
kwargs: AddBridgeOutputsRequestTypeDef = {  # (1)
    "BridgeArn": ...,
    "Outputs": ...,
}
parent.add_bridge_outputs(**kwargs)add_bridge_sources#
Adds sources to an existing bridge.
Type annotations and code completion for boto3.client("mediaconnect").add_bridge_sources method.
 boto3 documentation
# add_bridge_sources method definition
def add_bridge_sources(
    self,
    *,
    BridgeArn: str,
    Sources: Sequence[AddBridgeSourceRequestTypeDef],  # (1)
) -> AddBridgeSourcesResponseTypeDef:  # (2)
    ...- See Sequence[AddBridgeSourceRequestTypeDef]
- See AddBridgeSourcesResponseTypeDef
# add_bridge_sources method usage example with argument unpacking
kwargs: AddBridgeSourcesRequestTypeDef = {  # (1)
    "BridgeArn": ...,
    "Sources": ...,
}
parent.add_bridge_sources(**kwargs)add_flow_media_streams#
Adds media streams to an existing flow.
Type annotations and code completion for boto3.client("mediaconnect").add_flow_media_streams method.
 boto3 documentation
# add_flow_media_streams method definition
def add_flow_media_streams(
    self,
    *,
    FlowArn: str,
    MediaStreams: Sequence[AddMediaStreamRequestTypeDef],  # (1)
) -> AddFlowMediaStreamsResponseTypeDef:  # (2)
    ...- See Sequence[AddMediaStreamRequestTypeDef]
- See AddFlowMediaStreamsResponseTypeDef
# add_flow_media_streams method usage example with argument unpacking
kwargs: AddFlowMediaStreamsRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "MediaStreams": ...,
}
parent.add_flow_media_streams(**kwargs)add_flow_outputs#
Adds outputs to an existing flow.
Type annotations and code completion for boto3.client("mediaconnect").add_flow_outputs method.
 boto3 documentation
# add_flow_outputs method definition
def add_flow_outputs(
    self,
    *,
    FlowArn: str,
    Outputs: Sequence[AddOutputRequestTypeDef],  # (1)
) -> AddFlowOutputsResponseTypeDef:  # (2)
    ...- See Sequence[AddOutputRequestTypeDef]
- See AddFlowOutputsResponseTypeDef
# add_flow_outputs method usage example with argument unpacking
kwargs: AddFlowOutputsRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "Outputs": ...,
}
parent.add_flow_outputs(**kwargs)add_flow_sources#
Adds sources to a flow.
Type annotations and code completion for boto3.client("mediaconnect").add_flow_sources method.
 boto3 documentation
# add_flow_sources method definition
def add_flow_sources(
    self,
    *,
    FlowArn: str,
    Sources: Sequence[SetSourceRequestTypeDef],  # (1)
) -> AddFlowSourcesResponseTypeDef:  # (2)
    ...- See Sequence[SetSourceRequestTypeDef]
- See AddFlowSourcesResponseTypeDef
# add_flow_sources method usage example with argument unpacking
kwargs: AddFlowSourcesRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "Sources": ...,
}
parent.add_flow_sources(**kwargs)add_flow_vpc_interfaces#
Adds VPC interfaces to a flow.
Type annotations and code completion for boto3.client("mediaconnect").add_flow_vpc_interfaces method.
 boto3 documentation
# add_flow_vpc_interfaces method definition
def add_flow_vpc_interfaces(
    self,
    *,
    FlowArn: str,
    VpcInterfaces: Sequence[VpcInterfaceRequestTypeDef],  # (1)
) -> AddFlowVpcInterfacesResponseTypeDef:  # (2)
    ...- See Sequence[VpcInterfaceRequestTypeDef]
- See AddFlowVpcInterfacesResponseTypeDef
# add_flow_vpc_interfaces method usage example with argument unpacking
kwargs: AddFlowVpcInterfacesRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "VpcInterfaces": ...,
}
parent.add_flow_vpc_interfaces(**kwargs)create_bridge#
Creates a new bridge.
Type annotations and code completion for boto3.client("mediaconnect").create_bridge method.
 boto3 documentation
# create_bridge method definition
def create_bridge(
    self,
    *,
    Name: str,
    PlacementArn: str,
    Sources: Sequence[AddBridgeSourceRequestTypeDef],  # (1)
    EgressGatewayBridge: AddEgressGatewayBridgeRequestTypeDef = ...,  # (2)
    IngressGatewayBridge: AddIngressGatewayBridgeRequestTypeDef = ...,  # (3)
    Outputs: Sequence[AddBridgeOutputRequestTypeDef] = ...,  # (4)
    SourceFailoverConfig: FailoverConfigTypeDef = ...,  # (5)
) -> CreateBridgeResponseTypeDef:  # (6)
    ...- See Sequence[AddBridgeSourceRequestTypeDef]
- See AddEgressGatewayBridgeRequestTypeDef
- See AddIngressGatewayBridgeRequestTypeDef
- See Sequence[AddBridgeOutputRequestTypeDef]
- See FailoverConfigTypeDef
- See CreateBridgeResponseTypeDef
# create_bridge method usage example with argument unpacking
kwargs: CreateBridgeRequestTypeDef = {  # (1)
    "Name": ...,
    "PlacementArn": ...,
    "Sources": ...,
}
parent.create_bridge(**kwargs)create_flow#
Creates a new flow.
Type annotations and code completion for boto3.client("mediaconnect").create_flow method.
 boto3 documentation
# create_flow method definition
def create_flow(
    self,
    *,
    Name: str,
    AvailabilityZone: str = ...,
    Entitlements: Sequence[GrantEntitlementRequestTypeDef] = ...,  # (1)
    MediaStreams: Sequence[AddMediaStreamRequestTypeDef] = ...,  # (2)
    Outputs: Sequence[AddOutputRequestTypeDef] = ...,  # (3)
    Source: SetSourceRequestTypeDef = ...,  # (4)
    SourceFailoverConfig: FailoverConfigTypeDef = ...,  # (5)
    Sources: Sequence[SetSourceRequestTypeDef] = ...,  # (6)
    VpcInterfaces: Sequence[VpcInterfaceRequestTypeDef] = ...,  # (7)
    Maintenance: AddMaintenanceTypeDef = ...,  # (8)
    SourceMonitoringConfig: MonitoringConfigUnionTypeDef = ...,  # (9)
    FlowSize: FlowSizeType = ...,  # (10)
    NdiConfig: NdiConfigUnionTypeDef = ...,  # (11)
    FlowTags: Mapping[str, str] = ...,
) -> CreateFlowResponseTypeDef:  # (12)
    ...- See Sequence[GrantEntitlementRequestTypeDef]
- See Sequence[AddMediaStreamRequestTypeDef]
- See Sequence[AddOutputRequestTypeDef]
- See SetSourceRequestTypeDef
- See FailoverConfigTypeDef
- See Sequence[SetSourceRequestTypeDef]
- See Sequence[VpcInterfaceRequestTypeDef]
- See AddMaintenanceTypeDef
- See MonitoringConfigUnionTypeDef
- See FlowSizeType
- See NdiConfigUnionTypeDef
- See CreateFlowResponseTypeDef
# create_flow method usage example with argument unpacking
kwargs: CreateFlowRequestTypeDef = {  # (1)
    "Name": ...,
}
parent.create_flow(**kwargs)create_gateway#
Creates a new gateway.
Type annotations and code completion for boto3.client("mediaconnect").create_gateway method.
 boto3 documentation
# create_gateway method definition
def create_gateway(
    self,
    *,
    EgressCidrBlocks: Sequence[str],
    Name: str,
    Networks: Sequence[GatewayNetworkTypeDef],  # (1)
) -> CreateGatewayResponseTypeDef:  # (2)
    ...- See Sequence[GatewayNetworkTypeDef]
- See CreateGatewayResponseTypeDef
# create_gateway method usage example with argument unpacking
kwargs: CreateGatewayRequestTypeDef = {  # (1)
    "EgressCidrBlocks": ...,
    "Name": ...,
    "Networks": ...,
}
parent.create_gateway(**kwargs)delete_bridge#
Deletes a bridge.
Type annotations and code completion for boto3.client("mediaconnect").delete_bridge method.
 boto3 documentation
# delete_bridge method definition
def delete_bridge(
    self,
    *,
    BridgeArn: str,
) -> DeleteBridgeResponseTypeDef:  # (1)
    ...# delete_bridge method usage example with argument unpacking
kwargs: DeleteBridgeRequestTypeDef = {  # (1)
    "BridgeArn": ...,
}
parent.delete_bridge(**kwargs)delete_flow#
Deletes a flow.
Type annotations and code completion for boto3.client("mediaconnect").delete_flow method.
 boto3 documentation
# delete_flow method definition
def delete_flow(
    self,
    *,
    FlowArn: str,
) -> DeleteFlowResponseTypeDef:  # (1)
    ...# delete_flow method usage example with argument unpacking
kwargs: DeleteFlowRequestTypeDef = {  # (1)
    "FlowArn": ...,
}
parent.delete_flow(**kwargs)delete_gateway#
Deletes a gateway.
Type annotations and code completion for boto3.client("mediaconnect").delete_gateway method.
 boto3 documentation
# delete_gateway method definition
def delete_gateway(
    self,
    *,
    GatewayArn: str,
) -> DeleteGatewayResponseTypeDef:  # (1)
    ...# delete_gateway method usage example with argument unpacking
kwargs: DeleteGatewayRequestTypeDef = {  # (1)
    "GatewayArn": ...,
}
parent.delete_gateway(**kwargs)deregister_gateway_instance#
Deregisters an instance.
Type annotations and code completion for boto3.client("mediaconnect").deregister_gateway_instance method.
 boto3 documentation
# deregister_gateway_instance method definition
def deregister_gateway_instance(
    self,
    *,
    GatewayInstanceArn: str,
    Force: bool = ...,
) -> DeregisterGatewayInstanceResponseTypeDef:  # (1)
    ...# deregister_gateway_instance method usage example with argument unpacking
kwargs: DeregisterGatewayInstanceRequestTypeDef = {  # (1)
    "GatewayInstanceArn": ...,
}
parent.deregister_gateway_instance(**kwargs)describe_bridge#
Displays the details of a bridge.
Type annotations and code completion for boto3.client("mediaconnect").describe_bridge method.
 boto3 documentation
# describe_bridge method definition
def describe_bridge(
    self,
    *,
    BridgeArn: str,
) -> DescribeBridgeResponseTypeDef:  # (1)
    ...# describe_bridge method usage example with argument unpacking
kwargs: DescribeBridgeRequestTypeDef = {  # (1)
    "BridgeArn": ...,
}
parent.describe_bridge(**kwargs)describe_flow#
Displays the details of a flow.
Type annotations and code completion for boto3.client("mediaconnect").describe_flow method.
 boto3 documentation
# describe_flow method definition
def describe_flow(
    self,
    *,
    FlowArn: str,
) -> DescribeFlowResponseTypeDef:  # (1)
    ...# describe_flow method usage example with argument unpacking
kwargs: DescribeFlowRequestTypeDef = {  # (1)
    "FlowArn": ...,
}
parent.describe_flow(**kwargs)describe_flow_source_metadata#
The DescribeFlowSourceMetadata API is used to view information
about the flow's source transport stream and programs.
Type annotations and code completion for boto3.client("mediaconnect").describe_flow_source_metadata method.
 boto3 documentation
# describe_flow_source_metadata method definition
def describe_flow_source_metadata(
    self,
    *,
    FlowArn: str,
) -> DescribeFlowSourceMetadataResponseTypeDef:  # (1)
    ...# describe_flow_source_metadata method usage example with argument unpacking
kwargs: DescribeFlowSourceMetadataRequestTypeDef = {  # (1)
    "FlowArn": ...,
}
parent.describe_flow_source_metadata(**kwargs)describe_flow_source_thumbnail#
Describes the thumbnail for the flow source.
Type annotations and code completion for boto3.client("mediaconnect").describe_flow_source_thumbnail method.
 boto3 documentation
# describe_flow_source_thumbnail method definition
def describe_flow_source_thumbnail(
    self,
    *,
    FlowArn: str,
) -> DescribeFlowSourceThumbnailResponseTypeDef:  # (1)
    ...# describe_flow_source_thumbnail method usage example with argument unpacking
kwargs: DescribeFlowSourceThumbnailRequestTypeDef = {  # (1)
    "FlowArn": ...,
}
parent.describe_flow_source_thumbnail(**kwargs)describe_gateway#
Displays the details of a gateway.
Type annotations and code completion for boto3.client("mediaconnect").describe_gateway method.
 boto3 documentation
# describe_gateway method definition
def describe_gateway(
    self,
    *,
    GatewayArn: str,
) -> DescribeGatewayResponseTypeDef:  # (1)
    ...# describe_gateway method usage example with argument unpacking
kwargs: DescribeGatewayRequestTypeDef = {  # (1)
    "GatewayArn": ...,
}
parent.describe_gateway(**kwargs)describe_gateway_instance#
Displays the details of an instance.
Type annotations and code completion for boto3.client("mediaconnect").describe_gateway_instance method.
 boto3 documentation
# describe_gateway_instance method definition
def describe_gateway_instance(
    self,
    *,
    GatewayInstanceArn: str,
) -> DescribeGatewayInstanceResponseTypeDef:  # (1)
    ...# describe_gateway_instance method usage example with argument unpacking
kwargs: DescribeGatewayInstanceRequestTypeDef = {  # (1)
    "GatewayInstanceArn": ...,
}
parent.describe_gateway_instance(**kwargs)describe_offering#
Displays the details of an offering.
Type annotations and code completion for boto3.client("mediaconnect").describe_offering method.
 boto3 documentation
# describe_offering method definition
def describe_offering(
    self,
    *,
    OfferingArn: str,
) -> DescribeOfferingResponseTypeDef:  # (1)
    ...# describe_offering method usage example with argument unpacking
kwargs: DescribeOfferingRequestTypeDef = {  # (1)
    "OfferingArn": ...,
}
parent.describe_offering(**kwargs)describe_reservation#
Displays the details of a reservation.
Type annotations and code completion for boto3.client("mediaconnect").describe_reservation method.
 boto3 documentation
# describe_reservation method definition
def describe_reservation(
    self,
    *,
    ReservationArn: str,
) -> DescribeReservationResponseTypeDef:  # (1)
    ...# describe_reservation method usage example with argument unpacking
kwargs: DescribeReservationRequestTypeDef = {  # (1)
    "ReservationArn": ...,
}
parent.describe_reservation(**kwargs)grant_flow_entitlements#
Grants entitlements to an existing flow.
Type annotations and code completion for boto3.client("mediaconnect").grant_flow_entitlements method.
 boto3 documentation
# grant_flow_entitlements method definition
def grant_flow_entitlements(
    self,
    *,
    Entitlements: Sequence[GrantEntitlementRequestTypeDef],  # (1)
    FlowArn: str,
) -> GrantFlowEntitlementsResponseTypeDef:  # (2)
    ...- See Sequence[GrantEntitlementRequestTypeDef]
- See GrantFlowEntitlementsResponseTypeDef
# grant_flow_entitlements method usage example with argument unpacking
kwargs: GrantFlowEntitlementsRequestTypeDef = {  # (1)
    "Entitlements": ...,
    "FlowArn": ...,
}
parent.grant_flow_entitlements(**kwargs)list_bridges#
Displays a list of bridges that are associated with this account and an optionally specified Amazon Resource Name (ARN).
Type annotations and code completion for boto3.client("mediaconnect").list_bridges method.
 boto3 documentation
# list_bridges method definition
def list_bridges(
    self,
    *,
    FilterArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListBridgesResponseTypeDef:  # (1)
    ...# list_bridges method usage example with argument unpacking
kwargs: ListBridgesRequestTypeDef = {  # (1)
    "FilterArn": ...,
}
parent.list_bridges(**kwargs)list_entitlements#
Displays a list of all entitlements that have been granted to this account.
Type annotations and code completion for boto3.client("mediaconnect").list_entitlements method.
 boto3 documentation
# list_entitlements method definition
def list_entitlements(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListEntitlementsResponseTypeDef:  # (1)
    ...# list_entitlements method usage example with argument unpacking
kwargs: ListEntitlementsRequestTypeDef = {  # (1)
    "MaxResults": ...,
}
parent.list_entitlements(**kwargs)list_flows#
Displays a list of flows that are associated with this account.
Type annotations and code completion for boto3.client("mediaconnect").list_flows method.
 boto3 documentation
# list_flows method definition
def list_flows(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFlowsResponseTypeDef:  # (1)
    ...# list_flows method usage example with argument unpacking
kwargs: ListFlowsRequestTypeDef = {  # (1)
    "MaxResults": ...,
}
parent.list_flows(**kwargs)list_gateway_instances#
Displays a list of instances associated with the Amazon Web Services account.
Type annotations and code completion for boto3.client("mediaconnect").list_gateway_instances method.
 boto3 documentation
# list_gateway_instances method definition
def list_gateway_instances(
    self,
    *,
    FilterArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListGatewayInstancesResponseTypeDef:  # (1)
    ...# list_gateway_instances method usage example with argument unpacking
kwargs: ListGatewayInstancesRequestTypeDef = {  # (1)
    "FilterArn": ...,
}
parent.list_gateway_instances(**kwargs)list_gateways#
Displays a list of gateways that are associated with this account.
Type annotations and code completion for boto3.client("mediaconnect").list_gateways method.
 boto3 documentation
# list_gateways method definition
def list_gateways(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListGatewaysResponseTypeDef:  # (1)
    ...# list_gateways method usage example with argument unpacking
kwargs: ListGatewaysRequestTypeDef = {  # (1)
    "MaxResults": ...,
}
parent.list_gateways(**kwargs)list_offerings#
Displays a list of all offerings that are available to this account in the current Amazon Web Services Region.
Type annotations and code completion for boto3.client("mediaconnect").list_offerings method.
 boto3 documentation
# list_offerings method definition
def list_offerings(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListOfferingsResponseTypeDef:  # (1)
    ...# list_offerings method usage example with argument unpacking
kwargs: ListOfferingsRequestTypeDef = {  # (1)
    "MaxResults": ...,
}
parent.list_offerings(**kwargs)list_reservations#
Displays a list of all reservations that have been purchased by this account in the current Amazon Web Services Region.
Type annotations and code completion for boto3.client("mediaconnect").list_reservations method.
 boto3 documentation
# list_reservations method definition
def list_reservations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListReservationsResponseTypeDef:  # (1)
    ...# list_reservations method usage example with argument unpacking
kwargs: ListReservationsRequestTypeDef = {  # (1)
    "MaxResults": ...,
}
parent.list_reservations(**kwargs)list_tags_for_resource#
List all tags on a MediaConnect resource.
Type annotations and code completion for boto3.client("mediaconnect").list_tags_for_resource method.
 boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)purchase_offering#
Submits a request to purchase an offering.
Type annotations and code completion for boto3.client("mediaconnect").purchase_offering method.
 boto3 documentation
# purchase_offering method definition
def purchase_offering(
    self,
    *,
    OfferingArn: str,
    ReservationName: str,
    Start: str,
) -> PurchaseOfferingResponseTypeDef:  # (1)
    ...# purchase_offering method usage example with argument unpacking
kwargs: PurchaseOfferingRequestTypeDef = {  # (1)
    "OfferingArn": ...,
    "ReservationName": ...,
    "Start": ...,
}
parent.purchase_offering(**kwargs)remove_bridge_output#
Removes an output from a bridge.
Type annotations and code completion for boto3.client("mediaconnect").remove_bridge_output method.
 boto3 documentation
# remove_bridge_output method definition
def remove_bridge_output(
    self,
    *,
    BridgeArn: str,
    OutputName: str,
) -> RemoveBridgeOutputResponseTypeDef:  # (1)
    ...# remove_bridge_output method usage example with argument unpacking
kwargs: RemoveBridgeOutputRequestTypeDef = {  # (1)
    "BridgeArn": ...,
    "OutputName": ...,
}
parent.remove_bridge_output(**kwargs)remove_bridge_source#
Removes a source from a bridge.
Type annotations and code completion for boto3.client("mediaconnect").remove_bridge_source method.
 boto3 documentation
# remove_bridge_source method definition
def remove_bridge_source(
    self,
    *,
    BridgeArn: str,
    SourceName: str,
) -> RemoveBridgeSourceResponseTypeDef:  # (1)
    ...# remove_bridge_source method usage example with argument unpacking
kwargs: RemoveBridgeSourceRequestTypeDef = {  # (1)
    "BridgeArn": ...,
    "SourceName": ...,
}
parent.remove_bridge_source(**kwargs)remove_flow_media_stream#
Removes a media stream from a flow.
Type annotations and code completion for boto3.client("mediaconnect").remove_flow_media_stream method.
 boto3 documentation
# remove_flow_media_stream method definition
def remove_flow_media_stream(
    self,
    *,
    FlowArn: str,
    MediaStreamName: str,
) -> RemoveFlowMediaStreamResponseTypeDef:  # (1)
    ...# remove_flow_media_stream method usage example with argument unpacking
kwargs: RemoveFlowMediaStreamRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "MediaStreamName": ...,
}
parent.remove_flow_media_stream(**kwargs)remove_flow_output#
Removes an output from an existing flow.
Type annotations and code completion for boto3.client("mediaconnect").remove_flow_output method.
 boto3 documentation
# remove_flow_output method definition
def remove_flow_output(
    self,
    *,
    FlowArn: str,
    OutputArn: str,
) -> RemoveFlowOutputResponseTypeDef:  # (1)
    ...# remove_flow_output method usage example with argument unpacking
kwargs: RemoveFlowOutputRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "OutputArn": ...,
}
parent.remove_flow_output(**kwargs)remove_flow_source#
Removes a source from an existing flow.
Type annotations and code completion for boto3.client("mediaconnect").remove_flow_source method.
 boto3 documentation
# remove_flow_source method definition
def remove_flow_source(
    self,
    *,
    FlowArn: str,
    SourceArn: str,
) -> RemoveFlowSourceResponseTypeDef:  # (1)
    ...# remove_flow_source method usage example with argument unpacking
kwargs: RemoveFlowSourceRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "SourceArn": ...,
}
parent.remove_flow_source(**kwargs)remove_flow_vpc_interface#
Removes a VPC Interface from an existing flow.
Type annotations and code completion for boto3.client("mediaconnect").remove_flow_vpc_interface method.
 boto3 documentation
# remove_flow_vpc_interface method definition
def remove_flow_vpc_interface(
    self,
    *,
    FlowArn: str,
    VpcInterfaceName: str,
) -> RemoveFlowVpcInterfaceResponseTypeDef:  # (1)
    ...# remove_flow_vpc_interface method usage example with argument unpacking
kwargs: RemoveFlowVpcInterfaceRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "VpcInterfaceName": ...,
}
parent.remove_flow_vpc_interface(**kwargs)revoke_flow_entitlement#
Revokes an entitlement from a flow.
Type annotations and code completion for boto3.client("mediaconnect").revoke_flow_entitlement method.
 boto3 documentation
# revoke_flow_entitlement method definition
def revoke_flow_entitlement(
    self,
    *,
    EntitlementArn: str,
    FlowArn: str,
) -> RevokeFlowEntitlementResponseTypeDef:  # (1)
    ...# revoke_flow_entitlement method usage example with argument unpacking
kwargs: RevokeFlowEntitlementRequestTypeDef = {  # (1)
    "EntitlementArn": ...,
    "FlowArn": ...,
}
parent.revoke_flow_entitlement(**kwargs)start_flow#
Starts a flow.
Type annotations and code completion for boto3.client("mediaconnect").start_flow method.
 boto3 documentation
# start_flow method definition
def start_flow(
    self,
    *,
    FlowArn: str,
) -> StartFlowResponseTypeDef:  # (1)
    ...# start_flow method usage example with argument unpacking
kwargs: StartFlowRequestTypeDef = {  # (1)
    "FlowArn": ...,
}
parent.start_flow(**kwargs)stop_flow#
Stops a flow.
Type annotations and code completion for boto3.client("mediaconnect").stop_flow method.
 boto3 documentation
# stop_flow method definition
def stop_flow(
    self,
    *,
    FlowArn: str,
) -> StopFlowResponseTypeDef:  # (1)
    ...# stop_flow method usage example with argument unpacking
kwargs: StopFlowRequestTypeDef = {  # (1)
    "FlowArn": ...,
}
parent.stop_flow(**kwargs)tag_resource#
Associates the specified tags to a resource with the specified
resourceArn.
Type annotations and code completion for boto3.client("mediaconnect").tag_resource method.
 boto3 documentation
# tag_resource method definition
def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}
parent.tag_resource(**kwargs)untag_resource#
Deletes specified tags from a resource.
Type annotations and code completion for boto3.client("mediaconnect").untag_resource method.
 boto3 documentation
# untag_resource method definition
def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}
parent.untag_resource(**kwargs)update_bridge#
Updates the bridge.
Type annotations and code completion for boto3.client("mediaconnect").update_bridge method.
 boto3 documentation
# update_bridge method definition
def update_bridge(
    self,
    *,
    BridgeArn: str,
    EgressGatewayBridge: UpdateEgressGatewayBridgeRequestTypeDef = ...,  # (1)
    IngressGatewayBridge: UpdateIngressGatewayBridgeRequestTypeDef = ...,  # (2)
    SourceFailoverConfig: UpdateFailoverConfigTypeDef = ...,  # (3)
) -> UpdateBridgeResponseTypeDef:  # (4)
    ...- See UpdateEgressGatewayBridgeRequestTypeDef
- See UpdateIngressGatewayBridgeRequestTypeDef
- See UpdateFailoverConfigTypeDef
- See UpdateBridgeResponseTypeDef
# update_bridge method usage example with argument unpacking
kwargs: UpdateBridgeRequestTypeDef = {  # (1)
    "BridgeArn": ...,
}
parent.update_bridge(**kwargs)update_bridge_output#
Updates an existing bridge output.
Type annotations and code completion for boto3.client("mediaconnect").update_bridge_output method.
 boto3 documentation
# update_bridge_output method definition
def update_bridge_output(
    self,
    *,
    BridgeArn: str,
    OutputName: str,
    NetworkOutput: UpdateBridgeNetworkOutputRequestTypeDef = ...,  # (1)
) -> UpdateBridgeOutputResponseTypeDef:  # (2)
    ...# update_bridge_output method usage example with argument unpacking
kwargs: UpdateBridgeOutputRequestTypeDef = {  # (1)
    "BridgeArn": ...,
    "OutputName": ...,
}
parent.update_bridge_output(**kwargs)update_bridge_source#
Updates an existing bridge source.
Type annotations and code completion for boto3.client("mediaconnect").update_bridge_source method.
 boto3 documentation
# update_bridge_source method definition
def update_bridge_source(
    self,
    *,
    BridgeArn: str,
    SourceName: str,
    FlowSource: UpdateBridgeFlowSourceRequestTypeDef = ...,  # (1)
    NetworkSource: UpdateBridgeNetworkSourceRequestTypeDef = ...,  # (2)
) -> UpdateBridgeSourceResponseTypeDef:  # (3)
    ...- See UpdateBridgeFlowSourceRequestTypeDef
- See UpdateBridgeNetworkSourceRequestTypeDef
- See UpdateBridgeSourceResponseTypeDef
# update_bridge_source method usage example with argument unpacking
kwargs: UpdateBridgeSourceRequestTypeDef = {  # (1)
    "BridgeArn": ...,
    "SourceName": ...,
}
parent.update_bridge_source(**kwargs)update_bridge_state#
Updates the bridge state.
Type annotations and code completion for boto3.client("mediaconnect").update_bridge_state method.
 boto3 documentation
# update_bridge_state method definition
def update_bridge_state(
    self,
    *,
    BridgeArn: str,
    DesiredState: DesiredStateType,  # (1)
) -> UpdateBridgeStateResponseTypeDef:  # (2)
    ...# update_bridge_state method usage example with argument unpacking
kwargs: UpdateBridgeStateRequestTypeDef = {  # (1)
    "BridgeArn": ...,
    "DesiredState": ...,
}
parent.update_bridge_state(**kwargs)update_flow#
Updates an existing flow.
Type annotations and code completion for boto3.client("mediaconnect").update_flow method.
 boto3 documentation
# update_flow method definition
def update_flow(
    self,
    *,
    FlowArn: str,
    SourceFailoverConfig: UpdateFailoverConfigTypeDef = ...,  # (1)
    Maintenance: UpdateMaintenanceTypeDef = ...,  # (2)
    SourceMonitoringConfig: MonitoringConfigUnionTypeDef = ...,  # (3)
    NdiConfig: NdiConfigUnionTypeDef = ...,  # (4)
    FlowSize: FlowSizeType = ...,  # (5)
) -> UpdateFlowResponseTypeDef:  # (6)
    ...- See UpdateFailoverConfigTypeDef
- See UpdateMaintenanceTypeDef
- See MonitoringConfigUnionTypeDef
- See NdiConfigUnionTypeDef
- See FlowSizeType
- See UpdateFlowResponseTypeDef
# update_flow method usage example with argument unpacking
kwargs: UpdateFlowRequestTypeDef = {  # (1)
    "FlowArn": ...,
}
parent.update_flow(**kwargs)update_flow_entitlement#
Updates an entitlement.
Type annotations and code completion for boto3.client("mediaconnect").update_flow_entitlement method.
 boto3 documentation
# update_flow_entitlement method definition
def update_flow_entitlement(
    self,
    *,
    EntitlementArn: str,
    FlowArn: str,
    Description: str = ...,
    Encryption: UpdateEncryptionTypeDef = ...,  # (1)
    EntitlementStatus: EntitlementStatusType = ...,  # (2)
    Subscribers: Sequence[str] = ...,
) -> UpdateFlowEntitlementResponseTypeDef:  # (3)
    ...# update_flow_entitlement method usage example with argument unpacking
kwargs: UpdateFlowEntitlementRequestTypeDef = {  # (1)
    "EntitlementArn": ...,
    "FlowArn": ...,
}
parent.update_flow_entitlement(**kwargs)update_flow_media_stream#
Updates an existing media stream.
Type annotations and code completion for boto3.client("mediaconnect").update_flow_media_stream method.
 boto3 documentation
# update_flow_media_stream method definition
def update_flow_media_stream(
    self,
    *,
    FlowArn: str,
    MediaStreamName: str,
    Attributes: MediaStreamAttributesRequestTypeDef = ...,  # (1)
    ClockRate: int = ...,
    Description: str = ...,
    MediaStreamType: MediaStreamTypeType = ...,  # (2)
    VideoFormat: str = ...,
) -> UpdateFlowMediaStreamResponseTypeDef:  # (3)
    ...- See MediaStreamAttributesRequestTypeDef
- See MediaStreamTypeType
- See UpdateFlowMediaStreamResponseTypeDef
# update_flow_media_stream method usage example with argument unpacking
kwargs: UpdateFlowMediaStreamRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "MediaStreamName": ...,
}
parent.update_flow_media_stream(**kwargs)update_flow_output#
Updates an existing flow output.
Type annotations and code completion for boto3.client("mediaconnect").update_flow_output method.
 boto3 documentation
# update_flow_output method definition
def update_flow_output(
    self,
    *,
    FlowArn: str,
    OutputArn: str,
    CidrAllowList: Sequence[str] = ...,
    Description: str = ...,
    Destination: str = ...,
    Encryption: UpdateEncryptionTypeDef = ...,  # (1)
    MaxLatency: int = ...,
    MediaStreamOutputConfigurations: Sequence[MediaStreamOutputConfigurationRequestTypeDef] = ...,  # (2)
    MinLatency: int = ...,
    Port: int = ...,
    Protocol: ProtocolType = ...,  # (3)
    RemoteId: str = ...,
    SenderControlPort: int = ...,
    SenderIpAddress: str = ...,
    SmoothingLatency: int = ...,
    StreamId: str = ...,
    VpcInterfaceAttachment: VpcInterfaceAttachmentTypeDef = ...,  # (4)
    OutputStatus: OutputStatusType = ...,  # (5)
    NdiProgramName: str = ...,
    NdiSpeedHqQuality: int = ...,
) -> UpdateFlowOutputResponseTypeDef:  # (6)
    ...- See UpdateEncryptionTypeDef
- See Sequence[MediaStreamOutputConfigurationRequestTypeDef]
- See ProtocolType
- See VpcInterfaceAttachmentTypeDef
- See OutputStatusType
- See UpdateFlowOutputResponseTypeDef
# update_flow_output method usage example with argument unpacking
kwargs: UpdateFlowOutputRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "OutputArn": ...,
}
parent.update_flow_output(**kwargs)update_flow_source#
Updates the source of a flow.
Type annotations and code completion for boto3.client("mediaconnect").update_flow_source method.
 boto3 documentation
# update_flow_source method definition
def update_flow_source(
    self,
    *,
    FlowArn: str,
    SourceArn: str,
    Decryption: UpdateEncryptionTypeDef = ...,  # (1)
    Description: str = ...,
    EntitlementArn: str = ...,
    IngestPort: int = ...,
    MaxBitrate: int = ...,
    MaxLatency: int = ...,
    MaxSyncBuffer: int = ...,
    MediaStreamSourceConfigurations: Sequence[MediaStreamSourceConfigurationRequestTypeDef] = ...,  # (2)
    MinLatency: int = ...,
    Protocol: ProtocolType = ...,  # (3)
    SenderControlPort: int = ...,
    SenderIpAddress: str = ...,
    SourceListenerAddress: str = ...,
    SourceListenerPort: int = ...,
    StreamId: str = ...,
    VpcInterfaceName: str = ...,
    WhitelistCidr: str = ...,
    GatewayBridgeSource: UpdateGatewayBridgeSourceRequestTypeDef = ...,  # (4)
) -> UpdateFlowSourceResponseTypeDef:  # (5)
    ...- See UpdateEncryptionTypeDef
- See Sequence[MediaStreamSourceConfigurationRequestTypeDef]
- See ProtocolType
- See UpdateGatewayBridgeSourceRequestTypeDef
- See UpdateFlowSourceResponseTypeDef
# update_flow_source method usage example with argument unpacking
kwargs: UpdateFlowSourceRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "SourceArn": ...,
}
parent.update_flow_source(**kwargs)update_gateway_instance#
Updates an existing gateway instance.
Type annotations and code completion for boto3.client("mediaconnect").update_gateway_instance method.
 boto3 documentation
# update_gateway_instance method definition
def update_gateway_instance(
    self,
    *,
    GatewayInstanceArn: str,
    BridgePlacement: BridgePlacementType = ...,  # (1)
) -> UpdateGatewayInstanceResponseTypeDef:  # (2)
    ...# update_gateway_instance method usage example with argument unpacking
kwargs: UpdateGatewayInstanceRequestTypeDef = {  # (1)
    "GatewayInstanceArn": ...,
}
parent.update_gateway_instance(**kwargs)get_paginator#
Type annotations and code completion for boto3.client("mediaconnect").get_paginator method with overloads.
- client.get_paginator("list_bridges")-> ListBridgesPaginator
- client.get_paginator("list_entitlements")-> ListEntitlementsPaginator
- client.get_paginator("list_flows")-> ListFlowsPaginator
- client.get_paginator("list_gateway_instances")-> ListGatewayInstancesPaginator
- client.get_paginator("list_gateways")-> ListGatewaysPaginator
- client.get_paginator("list_offerings")-> ListOfferingsPaginator
- client.get_paginator("list_reservations")-> ListReservationsPaginator
get_waiter#
Type annotations and code completion for boto3.client("mediaconnect").get_waiter method with overloads.
- client.get_waiter("flow_active")-> FlowActiveWaiter
- client.get_waiter("flow_deleted")-> FlowDeletedWaiter
- client.get_waiter("flow_standby")-> FlowStandbyWaiter