Skip to content

MediaConnectClient

Index > MediaConnect > MediaConnectClient

Auto-generated documentation for MediaConnect type annotations stubs module mypy-boto3-mediaconnect.

MediaConnectClient

Type annotations and code completion for boto3.client("mediaconnect"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_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.

Usage example
client = boto3.client("mediaconnect")

try:
    do_something(client)
except (
    client.AddFlowOutputs420Exception,
    client.BadRequestException,
    client.ClientError,
    client.CreateFlow420Exception,
    client.ForbiddenException,
    client.GrantFlowEntitlements420Exception,
    client.InternalServerErrorException,
    client.NotFoundException,
    client.ServiceUnavailableException,
    client.TooManyRequestsException,
) as e:
    print(e)
Type checking example
from mypy_boto3_mediaconnect.client import Exceptions

def handle_error(exc: Exceptions.AddFlowOutputs420Exception) -> None:
    ...

Methods

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

Method definition
def add_flow_media_streams(
    self,
    *,
    FlowArn: str,
    MediaStreams: Sequence[AddMediaStreamRequestTypeDef],  # (1)
) -> AddFlowMediaStreamsResponseTypeDef:  # (2)
    ...
  1. See AddMediaStreamRequestTypeDef
  2. See AddFlowMediaStreamsResponseTypeDef
Usage example with kwargs
kwargs: AddFlowMediaStreamsRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "MediaStreams": ...,
}

parent.add_flow_media_streams(**kwargs)
  1. See AddFlowMediaStreamsRequestRequestTypeDef

add_flow_outputs

Adds outputs to an existing flow.

Type annotations and code completion for boto3.client("mediaconnect").add_flow_outputs method. boto3 documentation

Method definition
def add_flow_outputs(
    self,
    *,
    FlowArn: str,
    Outputs: Sequence[AddOutputRequestTypeDef],  # (1)
) -> AddFlowOutputsResponseTypeDef:  # (2)
    ...
  1. See AddOutputRequestTypeDef
  2. See AddFlowOutputsResponseTypeDef
Usage example with kwargs
kwargs: AddFlowOutputsRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "Outputs": ...,
}

parent.add_flow_outputs(**kwargs)
  1. See AddFlowOutputsRequestRequestTypeDef

add_flow_sources

Adds Sources to flow See also: AWS API Documentation.

Type annotations and code completion for boto3.client("mediaconnect").add_flow_sources method. boto3 documentation

Method definition
def add_flow_sources(
    self,
    *,
    FlowArn: str,
    Sources: Sequence[SetSourceRequestTypeDef],  # (1)
) -> AddFlowSourcesResponseTypeDef:  # (2)
    ...
  1. See SetSourceRequestTypeDef
  2. See AddFlowSourcesResponseTypeDef
Usage example with kwargs
kwargs: AddFlowSourcesRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "Sources": ...,
}

parent.add_flow_sources(**kwargs)
  1. See AddFlowSourcesRequestRequestTypeDef

add_flow_vpc_interfaces

Adds VPC interfaces to flow See also: AWS API Documentation.

Type annotations and code completion for boto3.client("mediaconnect").add_flow_vpc_interfaces method. boto3 documentation

Method definition
def add_flow_vpc_interfaces(
    self,
    *,
    FlowArn: str,
    VpcInterfaces: Sequence[VpcInterfaceRequestTypeDef],  # (1)
) -> AddFlowVpcInterfacesResponseTypeDef:  # (2)
    ...
  1. See VpcInterfaceRequestTypeDef
  2. See AddFlowVpcInterfacesResponseTypeDef
Usage example with kwargs
kwargs: AddFlowVpcInterfacesRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "VpcInterfaces": ...,
}

parent.add_flow_vpc_interfaces(**kwargs)
  1. See AddFlowVpcInterfacesRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("mediaconnect").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("mediaconnect").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_flow

Creates a new flow.

Type annotations and code completion for boto3.client("mediaconnect").create_flow method. boto3 documentation

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)
) -> CreateFlowResponseTypeDef:  # (9)
    ...
  1. See GrantEntitlementRequestTypeDef
  2. See AddMediaStreamRequestTypeDef
  3. See AddOutputRequestTypeDef
  4. See SetSourceRequestTypeDef
  5. See FailoverConfigTypeDef
  6. See SetSourceRequestTypeDef
  7. See VpcInterfaceRequestTypeDef
  8. See AddMaintenanceTypeDef
  9. See CreateFlowResponseTypeDef
Usage example with kwargs
kwargs: CreateFlowRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.create_flow(**kwargs)
  1. See CreateFlowRequestRequestTypeDef

delete_flow

Deletes a flow.

Type annotations and code completion for boto3.client("mediaconnect").delete_flow method. boto3 documentation

Method definition
def delete_flow(
    self,
    *,
    FlowArn: str,
) -> DeleteFlowResponseTypeDef:  # (1)
    ...
  1. See DeleteFlowResponseTypeDef
Usage example with kwargs
kwargs: DeleteFlowRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
}

parent.delete_flow(**kwargs)
  1. See DeleteFlowRequestRequestTypeDef

describe_flow

Displays the details of a flow.

Type annotations and code completion for boto3.client("mediaconnect").describe_flow method. boto3 documentation

Method definition
def describe_flow(
    self,
    *,
    FlowArn: str,
) -> DescribeFlowResponseTypeDef:  # (1)
    ...
  1. See DescribeFlowResponseTypeDef
Usage example with kwargs
kwargs: DescribeFlowRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
}

parent.describe_flow(**kwargs)
  1. See DescribeFlowRequestRequestTypeDef

describe_offering

Displays the details of an offering.

Type annotations and code completion for boto3.client("mediaconnect").describe_offering method. boto3 documentation

Method definition
def describe_offering(
    self,
    *,
    OfferingArn: str,
) -> DescribeOfferingResponseTypeDef:  # (1)
    ...
  1. See DescribeOfferingResponseTypeDef
Usage example with kwargs
kwargs: DescribeOfferingRequestRequestTypeDef = {  # (1)
    "OfferingArn": ...,
}

parent.describe_offering(**kwargs)
  1. See DescribeOfferingRequestRequestTypeDef

describe_reservation

Displays the details of a reservation.

Type annotations and code completion for boto3.client("mediaconnect").describe_reservation method. boto3 documentation

Method definition
def describe_reservation(
    self,
    *,
    ReservationArn: str,
) -> DescribeReservationResponseTypeDef:  # (1)
    ...
  1. See DescribeReservationResponseTypeDef
Usage example with kwargs
kwargs: DescribeReservationRequestRequestTypeDef = {  # (1)
    "ReservationArn": ...,
}

parent.describe_reservation(**kwargs)
  1. See DescribeReservationRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("mediaconnect").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

grant_flow_entitlements

Grants entitlements to an existing flow.

Type annotations and code completion for boto3.client("mediaconnect").grant_flow_entitlements method. boto3 documentation

Method definition
def grant_flow_entitlements(
    self,
    *,
    Entitlements: Sequence[GrantEntitlementRequestTypeDef],  # (1)
    FlowArn: str,
) -> GrantFlowEntitlementsResponseTypeDef:  # (2)
    ...
  1. See GrantEntitlementRequestTypeDef
  2. See GrantFlowEntitlementsResponseTypeDef
Usage example with kwargs
kwargs: GrantFlowEntitlementsRequestRequestTypeDef = {  # (1)
    "Entitlements": ...,
    "FlowArn": ...,
}

parent.grant_flow_entitlements(**kwargs)
  1. See GrantFlowEntitlementsRequestRequestTypeDef

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

Method definition
def list_entitlements(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListEntitlementsResponseTypeDef:  # (1)
    ...
  1. See ListEntitlementsResponseTypeDef
Usage example with kwargs
kwargs: ListEntitlementsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_entitlements(**kwargs)
  1. See ListEntitlementsRequestRequestTypeDef

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

Method definition
def list_flows(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFlowsResponseTypeDef:  # (1)
    ...
  1. See ListFlowsResponseTypeDef
Usage example with kwargs
kwargs: ListFlowsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_flows(**kwargs)
  1. See ListFlowsRequestRequestTypeDef

list_offerings

Displays a list of all offerings that are available to this account in the current AWS Region.

Type annotations and code completion for boto3.client("mediaconnect").list_offerings method. boto3 documentation

Method definition
def list_offerings(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListOfferingsResponseTypeDef:  # (1)
    ...
  1. See ListOfferingsResponseTypeDef
Usage example with kwargs
kwargs: ListOfferingsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_offerings(**kwargs)
  1. See ListOfferingsRequestRequestTypeDef

list_reservations

Displays a list of all reservations that have been purchased by this account in the current AWS Region.

Type annotations and code completion for boto3.client("mediaconnect").list_reservations method. boto3 documentation

Method definition
def list_reservations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListReservationsResponseTypeDef:  # (1)
    ...
  1. See ListReservationsResponseTypeDef
Usage example with kwargs
kwargs: ListReservationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_reservations(**kwargs)
  1. See ListReservationsRequestRequestTypeDef

list_tags_for_resource

List all tags on an AWS Elemental MediaConnect resource See also: AWS API Documentation.

Type annotations and code completion for boto3.client("mediaconnect").list_tags_for_resource method. boto3 documentation

Method definition
def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

purchase_offering

Submits a request to purchase an offering.

Type annotations and code completion for boto3.client("mediaconnect").purchase_offering method. boto3 documentation

Method definition
def purchase_offering(
    self,
    *,
    OfferingArn: str,
    ReservationName: str,
    Start: str,
) -> PurchaseOfferingResponseTypeDef:  # (1)
    ...
  1. See PurchaseOfferingResponseTypeDef
Usage example with kwargs
kwargs: PurchaseOfferingRequestRequestTypeDef = {  # (1)
    "OfferingArn": ...,
    "ReservationName": ...,
    "Start": ...,
}

parent.purchase_offering(**kwargs)
  1. See PurchaseOfferingRequestRequestTypeDef

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

Method definition
def remove_flow_media_stream(
    self,
    *,
    FlowArn: str,
    MediaStreamName: str,
) -> RemoveFlowMediaStreamResponseTypeDef:  # (1)
    ...
  1. See RemoveFlowMediaStreamResponseTypeDef
Usage example with kwargs
kwargs: RemoveFlowMediaStreamRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "MediaStreamName": ...,
}

parent.remove_flow_media_stream(**kwargs)
  1. See RemoveFlowMediaStreamRequestRequestTypeDef

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

Method definition
def remove_flow_output(
    self,
    *,
    FlowArn: str,
    OutputArn: str,
) -> RemoveFlowOutputResponseTypeDef:  # (1)
    ...
  1. See RemoveFlowOutputResponseTypeDef
Usage example with kwargs
kwargs: RemoveFlowOutputRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "OutputArn": ...,
}

parent.remove_flow_output(**kwargs)
  1. See RemoveFlowOutputRequestRequestTypeDef

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

Method definition
def remove_flow_source(
    self,
    *,
    FlowArn: str,
    SourceArn: str,
) -> RemoveFlowSourceResponseTypeDef:  # (1)
    ...
  1. See RemoveFlowSourceResponseTypeDef
Usage example with kwargs
kwargs: RemoveFlowSourceRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "SourceArn": ...,
}

parent.remove_flow_source(**kwargs)
  1. See RemoveFlowSourceRequestRequestTypeDef

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

Method definition
def remove_flow_vpc_interface(
    self,
    *,
    FlowArn: str,
    VpcInterfaceName: str,
) -> RemoveFlowVpcInterfaceResponseTypeDef:  # (1)
    ...
  1. See RemoveFlowVpcInterfaceResponseTypeDef
Usage example with kwargs
kwargs: RemoveFlowVpcInterfaceRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "VpcInterfaceName": ...,
}

parent.remove_flow_vpc_interface(**kwargs)
  1. See RemoveFlowVpcInterfaceRequestRequestTypeDef

revoke_flow_entitlement

Revokes an entitlement from a flow.

Type annotations and code completion for boto3.client("mediaconnect").revoke_flow_entitlement method. boto3 documentation

Method definition
def revoke_flow_entitlement(
    self,
    *,
    EntitlementArn: str,
    FlowArn: str,
) -> RevokeFlowEntitlementResponseTypeDef:  # (1)
    ...
  1. See RevokeFlowEntitlementResponseTypeDef
Usage example with kwargs
kwargs: RevokeFlowEntitlementRequestRequestTypeDef = {  # (1)
    "EntitlementArn": ...,
    "FlowArn": ...,
}

parent.revoke_flow_entitlement(**kwargs)
  1. See RevokeFlowEntitlementRequestRequestTypeDef

start_flow

Starts a flow.

Type annotations and code completion for boto3.client("mediaconnect").start_flow method. boto3 documentation

Method definition
def start_flow(
    self,
    *,
    FlowArn: str,
) -> StartFlowResponseTypeDef:  # (1)
    ...
  1. See StartFlowResponseTypeDef
Usage example with kwargs
kwargs: StartFlowRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
}

parent.start_flow(**kwargs)
  1. See StartFlowRequestRequestTypeDef

stop_flow

Stops a flow.

Type annotations and code completion for boto3.client("mediaconnect").stop_flow method. boto3 documentation

Method definition
def stop_flow(
    self,
    *,
    FlowArn: str,
) -> StopFlowResponseTypeDef:  # (1)
    ...
  1. See StopFlowResponseTypeDef
Usage example with kwargs
kwargs: StopFlowRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
}

parent.stop_flow(**kwargs)
  1. See StopFlowRequestRequestTypeDef

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

Method definition
def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource

Deletes specified tags from a resource.

Type annotations and code completion for boto3.client("mediaconnect").untag_resource method. boto3 documentation

Method definition
def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_flow

Updates flow See also: AWS API Documentation.

Type annotations and code completion for boto3.client("mediaconnect").update_flow method. boto3 documentation

Method definition
def update_flow(
    self,
    *,
    FlowArn: str,
    SourceFailoverConfig: UpdateFailoverConfigTypeDef = ...,  # (1)
    Maintenance: UpdateMaintenanceTypeDef = ...,  # (2)
) -> UpdateFlowResponseTypeDef:  # (3)
    ...
  1. See UpdateFailoverConfigTypeDef
  2. See UpdateMaintenanceTypeDef
  3. See UpdateFlowResponseTypeDef
Usage example with kwargs
kwargs: UpdateFlowRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
}

parent.update_flow(**kwargs)
  1. See UpdateFlowRequestRequestTypeDef

update_flow_entitlement

You can change an entitlement's description, subscribers, and encryption.

Type annotations and code completion for boto3.client("mediaconnect").update_flow_entitlement method. boto3 documentation

Method definition
def update_flow_entitlement(
    self,
    *,
    EntitlementArn: str,
    FlowArn: str,
    Description: str = ...,
    Encryption: UpdateEncryptionTypeDef = ...,  # (1)
    EntitlementStatus: EntitlementStatusType = ...,  # (2)
    Subscribers: Sequence[str] = ...,
) -> UpdateFlowEntitlementResponseTypeDef:  # (3)
    ...
  1. See UpdateEncryptionTypeDef
  2. See EntitlementStatusType
  3. See UpdateFlowEntitlementResponseTypeDef
Usage example with kwargs
kwargs: UpdateFlowEntitlementRequestRequestTypeDef = {  # (1)
    "EntitlementArn": ...,
    "FlowArn": ...,
}

parent.update_flow_entitlement(**kwargs)
  1. See UpdateFlowEntitlementRequestRequestTypeDef

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

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)
    ...
  1. See MediaStreamAttributesRequestTypeDef
  2. See MediaStreamTypeType
  3. See UpdateFlowMediaStreamResponseTypeDef
Usage example with kwargs
kwargs: UpdateFlowMediaStreamRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "MediaStreamName": ...,
}

parent.update_flow_media_stream(**kwargs)
  1. See UpdateFlowMediaStreamRequestRequestTypeDef

update_flow_output

Updates an existing flow output.

Type annotations and code completion for boto3.client("mediaconnect").update_flow_output method. boto3 documentation

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)
) -> UpdateFlowOutputResponseTypeDef:  # (5)
    ...
  1. See UpdateEncryptionTypeDef
  2. See MediaStreamOutputConfigurationRequestTypeDef
  3. See ProtocolType
  4. See VpcInterfaceAttachmentTypeDef
  5. See UpdateFlowOutputResponseTypeDef
Usage example with kwargs
kwargs: UpdateFlowOutputRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "OutputArn": ...,
}

parent.update_flow_output(**kwargs)
  1. See UpdateFlowOutputRequestRequestTypeDef

update_flow_source

Updates the source of a flow.

Type annotations and code completion for boto3.client("mediaconnect").update_flow_source method. boto3 documentation

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 = ...,
) -> UpdateFlowSourceResponseTypeDef:  # (4)
    ...
  1. See UpdateEncryptionTypeDef
  2. See MediaStreamSourceConfigurationRequestTypeDef
  3. See ProtocolType
  4. See UpdateFlowSourceResponseTypeDef
Usage example with kwargs
kwargs: UpdateFlowSourceRequestRequestTypeDef = {  # (1)
    "FlowArn": ...,
    "SourceArn": ...,
}

parent.update_flow_source(**kwargs)
  1. See UpdateFlowSourceRequestRequestTypeDef

get_paginator

Type annotations and code completion for boto3.client("mediaconnect").get_paginator method with overloads.

get_waiter

Type annotations and code completion for boto3.client("mediaconnect").get_waiter method with overloads.