Skip to content

EventBridgePipesClient#

Index > EventBridgePipes > EventBridgePipesClient

Auto-generated documentation for EventBridgePipes type annotations stubs module types-aiobotocore-pipes.

EventBridgePipesClient#

Type annotations and code completion for session.create_client("pipes") boto3 documentation

EventBridgePipesClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_pipes.client import EventBridgePipesClient

session = get_session()
async with session.create_client("pipes") as client:
    client: EventBridgePipesClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("pipes").exceptions structure.

EventBridgePipesClient.exceptions usage example

async with session.create_client("pipes") as client:
    try:
        do_something(client)
    except (
            client.ClientError,
        client.ConflictException,
        client.InternalException,
        client.NotFoundException,
        client.ServiceQuotaExceededException,
        client.ThrottlingException,
        client.ValidationException,
    ) as e:
        print(e)
EventBridgePipesClient usage type checking example

from types_aiobotocore_pipes.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for session.create_client("pipes").can_paginate method. boto3 documentation

# can_paginate method definition

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

close#

Closes underlying endpoint connections.

Type annotations and code completion for session.create_client("pipes").close method. boto3 documentation

# close method definition

await def close(
    self,
) -> None:
    ...

create_pipe#

Create a pipe.

Type annotations and code completion for session.create_client("pipes").create_pipe method. boto3 documentation

# create_pipe method definition

await def create_pipe(
    self,
    *,
    Name: str,
    RoleArn: str,
    Source: str,
    Target: str,
    Description: str = ...,
    DesiredState: RequestedPipeStateType = ...,  # (1)
    Enrichment: str = ...,
    EnrichmentParameters: PipeEnrichmentParametersTypeDef = ...,  # (2)
    SourceParameters: PipeSourceParametersTypeDef = ...,  # (3)
    Tags: Mapping[str, str] = ...,
    TargetParameters: PipeTargetParametersTypeDef = ...,  # (4)
) -> CreatePipeResponseTypeDef:  # (5)
    ...
  1. See RequestedPipeStateType
  2. See PipeEnrichmentParametersTypeDef
  3. See PipeSourceParametersTypeDef
  4. See PipeTargetParametersTypeDef
  5. See CreatePipeResponseTypeDef
# create_pipe method usage example with argument unpacking

kwargs: CreatePipeRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RoleArn": ...,
    "Source": ...,
    "Target": ...,
}

parent.create_pipe(**kwargs)
  1. See CreatePipeRequestRequestTypeDef

delete_pipe#

Delete an existing pipe.

Type annotations and code completion for session.create_client("pipes").delete_pipe method. boto3 documentation

# delete_pipe method definition

await def delete_pipe(
    self,
    *,
    Name: str,
) -> DeletePipeResponseTypeDef:  # (1)
    ...
  1. See DeletePipeResponseTypeDef
# delete_pipe method usage example with argument unpacking

kwargs: DeletePipeRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_pipe(**kwargs)
  1. See DeletePipeRequestRequestTypeDef

describe_pipe#

Get the information about an existing pipe.

Type annotations and code completion for session.create_client("pipes").describe_pipe method. boto3 documentation

# describe_pipe method definition

await def describe_pipe(
    self,
    *,
    Name: str,
) -> DescribePipeResponseTypeDef:  # (1)
    ...
  1. See DescribePipeResponseTypeDef
# describe_pipe method usage example with argument unpacking

kwargs: DescribePipeRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.describe_pipe(**kwargs)
  1. See DescribePipeRequestRequestTypeDef

generate_presigned_url#

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

Type annotations and code completion for session.create_client("pipes").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

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

list_pipes#

Get the pipes associated with this account.

Type annotations and code completion for session.create_client("pipes").list_pipes method. boto3 documentation

# list_pipes method definition

await def list_pipes(
    self,
    *,
    CurrentState: PipeStateType = ...,  # (1)
    DesiredState: RequestedPipeStateType = ...,  # (2)
    Limit: int = ...,
    NamePrefix: str = ...,
    NextToken: str = ...,
    SourcePrefix: str = ...,
    TargetPrefix: str = ...,
) -> ListPipesResponseTypeDef:  # (3)
    ...
  1. See PipeStateType
  2. See RequestedPipeStateType
  3. See ListPipesResponseTypeDef
# list_pipes method usage example with argument unpacking

kwargs: ListPipesRequestRequestTypeDef = {  # (1)
    "CurrentState": ...,
}

parent.list_pipes(**kwargs)
  1. See ListPipesRequestRequestTypeDef

list_tags_for_resource#

Displays the tags associated with a pipe.

Type annotations and code completion for session.create_client("pipes").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

await def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

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

start_pipe#

Start an existing pipe.

Type annotations and code completion for session.create_client("pipes").start_pipe method. boto3 documentation

# start_pipe method definition

await def start_pipe(
    self,
    *,
    Name: str,
) -> StartPipeResponseTypeDef:  # (1)
    ...
  1. See StartPipeResponseTypeDef
# start_pipe method usage example with argument unpacking

kwargs: StartPipeRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.start_pipe(**kwargs)
  1. See StartPipeRequestRequestTypeDef

stop_pipe#

Stop an existing pipe.

Type annotations and code completion for session.create_client("pipes").stop_pipe method. boto3 documentation

# stop_pipe method definition

await def stop_pipe(
    self,
    *,
    Name: str,
) -> StopPipeResponseTypeDef:  # (1)
    ...
  1. See StopPipeResponseTypeDef
# stop_pipe method usage example with argument unpacking

kwargs: StopPipeRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.stop_pipe(**kwargs)
  1. See StopPipeRequestRequestTypeDef

tag_resource#

Assigns one or more tags (key-value pairs) to the specified pipe.

Type annotations and code completion for session.create_client("pipes").tag_resource method. boto3 documentation

# tag_resource method definition

await def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> Dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

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

untag_resource#

Removes one or more tags from the specified pipes.

Type annotations and code completion for session.create_client("pipes").untag_resource method. boto3 documentation

# untag_resource method definition

await def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

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

update_pipe#

Update an existing pipe.

Type annotations and code completion for session.create_client("pipes").update_pipe method. boto3 documentation

# update_pipe method definition

await def update_pipe(
    self,
    *,
    Name: str,
    RoleArn: str,
    Description: str = ...,
    DesiredState: RequestedPipeStateType = ...,  # (1)
    Enrichment: str = ...,
    EnrichmentParameters: PipeEnrichmentParametersTypeDef = ...,  # (2)
    SourceParameters: UpdatePipeSourceParametersTypeDef = ...,  # (3)
    Target: str = ...,
    TargetParameters: PipeTargetParametersTypeDef = ...,  # (4)
) -> UpdatePipeResponseTypeDef:  # (5)
    ...
  1. See RequestedPipeStateType
  2. See PipeEnrichmentParametersTypeDef
  3. See UpdatePipeSourceParametersTypeDef
  4. See PipeTargetParametersTypeDef
  5. See UpdatePipeResponseTypeDef
# update_pipe method usage example with argument unpacking

kwargs: UpdatePipeRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "RoleArn": ...,
}

parent.update_pipe(**kwargs)
  1. See UpdatePipeRequestRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("pipes").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> EventBridgePipesClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("pipes").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator#

Type annotations and code completion for session.create_client("pipes").get_paginator method with overloads.