Skip to content

EventBridgePipesClient.create_pipe

rboto-pipes==0.4.0 · Service index · Types

Model summary (excerpt): Create a pipe. Amazon EventBridge Pipes connect event sources to targets and reduces the need for specialized knowledge and integration code.

Install and imports

python -m pip install "rboto[pipes]==0.4.0"
from rboto import EventBridgePipesClient
from rboto_pipes.types import (
    CreatePipeOutput,
    PipeEnrichmentParameters,
    PipeLogConfigurationParameters,
    PipeSourceParameters,
    PipeTargetParameters,
    RequestedPipeState,
)

Signature

async def create_pipe(
    *,
    name: str,
    source: str,
    target: str,
    role_arn: str,
    description: str | None = None,
    desired_state: RequestedPipeState | None = None,
    source_parameters: PipeSourceParameters | None = None,
    enrichment: str | None = None,
    enrichment_parameters: PipeEnrichmentParameters | None = None,
    target_parameters: PipeTargetParameters | None = None,
    tags: dict[str, str] | None = None,
    log_configuration: PipeLogConfigurationParameters | None = None,
    kms_key_identifier: str | None = None,
) -> CreatePipeOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
name Yes The name of the pipe.
source Yes The ARN of the source resource.
target Yes The ARN of the target resource.
role_arn Yes The ARN of the role that allows the pipe to send data to the target.
description No A description of the pipe.
desired_state No The state the pipe should be in.
source_parameters No The parameters required to set up a source for your pipe.
enrichment No The ARN of the enrichment resource.
enrichment_parameters No The parameters required to set up enrichment on your pipe.
target_parameters No The parameters required to set up a target for your pipe. For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide .
tags No The list of key-value pairs to associate with the pipe.
log_configuration No The logging configuration settings for the pipe.
kms_key_identifier No The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt pipe data. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt pipe data. For more information, see Managing...

Output

CreatePipeOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
arn str | None Always present —
name str | None Always present —
desired_state RequestedPipeStateOutput | None Always present RequestedPipeStateOutput
current_state PipeStateOutput | None Always present PipeStateOutput
creation_time str | None Always present —
last_modified_time str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

CreatePipeOutput, PipeEnrichmentParameters, PipeLogConfigurationParameters, PipeSourceParameters, PipeTargetParameters, RequestedPipeState

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_pipes.exceptions:

ConflictError, InternalError, NotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model