Skip to content

EventBridgePipesClient#

Index > EventBridgePipes > EventBridgePipesClient

Auto-generated documentation for EventBridgePipes type annotations stubs module mypy-boto3-pipes.

EventBridgePipesClient#

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

# EventBridgePipesClient usage example

from boto3.session import Session
from mypy_boto3_pipes.client import EventBridgePipesClient

def get_pipes_client() -> EventBridgePipesClient:
    return Session().client("pipes")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("pipes")

try:
    do_something(client)
except (
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalException,
    client.exceptions.NotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_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 boto3.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 boto3.client("pipes").close method. boto3 documentation

# close method definition

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

create_pipe#

Create a pipe.

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

# create_pipe method definition

def create_pipe(
    self,
    *,
    Name: str,
    RoleArn: str,
    Source: str,
    Target: str,
    Description: str = ...,
    DesiredState: RequestedPipeStateType = ...,  # (1)
    Enrichment: str = ...,
    EnrichmentParameters: Union[PipeEnrichmentParametersTypeDef, PipeEnrichmentParametersOutputTypeDef] = ...,  # (2)
    LogConfiguration: PipeLogConfigurationParametersTypeDef = ...,  # (3)
    SourceParameters: Union[PipeSourceParametersTypeDef, PipeSourceParametersOutputTypeDef] = ...,  # (4)
    Tags: Mapping[str, str] = ...,
    TargetParameters: Union[PipeTargetParametersTypeDef, PipeTargetParametersOutputTypeDef] = ...,  # (5)
) -> CreatePipeResponseTypeDef:  # (6)
    ...
  1. See RequestedPipeStateType
  2. See PipeEnrichmentParametersTypeDef PipeEnrichmentParametersOutputTypeDef
  3. See PipeLogConfigurationParametersTypeDef
  4. See PipeSourceParametersTypeDef PipeSourceParametersOutputTypeDef
  5. See PipeTargetParametersTypeDef PipeTargetParametersOutputTypeDef
  6. 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 boto3.client("pipes").delete_pipe method. boto3 documentation

# delete_pipe method definition

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 boto3.client("pipes").describe_pipe method. boto3 documentation

# describe_pipe method definition

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 boto3.client("pipes").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:
    ...

list_pipes#

Get the pipes associated with this account.

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

# list_pipes method definition

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 boto3.client("pipes").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

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 boto3.client("pipes").start_pipe method. boto3 documentation

# start_pipe method definition

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 boto3.client("pipes").stop_pipe method. boto3 documentation

# stop_pipe method definition

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 boto3.client("pipes").tag_resource method. boto3 documentation

# tag_resource method definition

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 boto3.client("pipes").untag_resource method. boto3 documentation

# untag_resource method definition

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 boto3.client("pipes").update_pipe method. boto3 documentation

# update_pipe method definition

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

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

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

get_paginator#

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