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#

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:
    ...

generate_presigned_url#

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:
    ...

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,
    Source: str,
    Target: str,
    RoleArn: str,
    Description: str = ...,
    DesiredState: RequestedPipeStateType = ...,  # (1)
    SourceParameters: PipeSourceParametersTypeDef = ...,  # (2)
    Enrichment: str = ...,
    EnrichmentParameters: PipeEnrichmentParametersTypeDef = ...,  # (3)
    TargetParameters: PipeTargetParametersTypeDef = ...,  # (4)
    Tags: Mapping[str, str] = ...,
    LogConfiguration: PipeLogConfigurationParametersTypeDef = ...,  # (5)
    KmsKeyIdentifier: str = ...,
) -> CreatePipeResponseTypeDef:  # (6)
    ...
  1. See RequestedPipeStateType
  2. See PipeSourceParametersTypeDef
  3. See PipeEnrichmentParametersTypeDef
  4. See PipeTargetParametersTypeDef
  5. See PipeLogConfigurationParametersTypeDef
  6. See CreatePipeResponseTypeDef
# create_pipe method usage example with argument unpacking

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

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

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,
    *,
    NamePrefix: str = ...,
    DesiredState: RequestedPipeStateType = ...,  # (1)
    CurrentState: PipeStateType = ...,  # (2)
    SourcePrefix: str = ...,
    TargetPrefix: str = ...,
    NextToken: str = ...,
    Limit: int = ...,
) -> ListPipesResponseTypeDef:  # (3)
    ...
  1. See RequestedPipeStateType
  2. See PipeStateType
  3. See ListPipesResponseTypeDef
# list_pipes method usage example with argument unpacking

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

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)
    SourceParameters: UpdatePipeSourceParametersTypeDef = ...,  # (2)
    Enrichment: str = ...,
    EnrichmentParameters: PipeEnrichmentParametersTypeDef = ...,  # (3)
    Target: str = ...,
    TargetParameters: PipeTargetParametersTypeDef = ...,  # (4)
    LogConfiguration: PipeLogConfigurationParametersTypeDef = ...,  # (5)
    KmsKeyIdentifier: str = ...,
) -> UpdatePipeResponseTypeDef:  # (6)
    ...
  1. See RequestedPipeStateType
  2. See UpdatePipeSourceParametersTypeDef
  3. See PipeEnrichmentParametersTypeDef
  4. See PipeTargetParametersTypeDef
  5. See PipeLogConfigurationParametersTypeDef
  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.