EventBridgePipesClient.update_pipe
rboto-pipes==0.4.0 · Service index · Types
Model summary (excerpt): Update an existing pipe. When you call UpdatePipe , EventBridge only the updates fields you have specified in the request; the rest remain unchanged. The exception to this is if you modify any Amazon Web Services-service specific fields in the SourceParameters , EnrichmentParameters , or TargetParameters objects. For example, DynamoDBStreamParameters or EventBridgeEventBusParameters ....
Install and imports
from rboto import EventBridgePipesClient
from rboto_pipes.types import (
PipeEnrichmentParameters,
PipeLogConfigurationParameters,
PipeTargetParameters,
RequestedPipeState,
UpdatePipeOutput,
UpdatePipeSourceParameters,
)
Signature
async def update_pipe(
*,
name: str,
role_arn: str,
description: str | None = None,
desired_state: RequestedPipeState | None = None,
source_parameters: UpdatePipeSourceParameters | None = None,
enrichment: str | None = None,
enrichment_parameters: PipeEnrichmentParameters | None = None,
target: str | None = None,
target_parameters: PipeTargetParameters | None = None,
log_configuration: PipeLogConfigurationParameters | None = None,
kms_key_identifier: str | None = None,
) -> UpdatePipeOutput: ...
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. |
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 |
No | The ARN of the target resource. |
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 . |
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. To update a pipe that is using the default Amazon Web Services owned key to use a customer managed key instead, or update a pipe that is using a customer managed key... |
Output
UpdatePipeOutput.
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.
Related types
PipeEnrichmentParameters, PipeLogConfigurationParameters, PipeTargetParameters, RequestedPipeState, UpdatePipeOutput, UpdatePipeSourceParameters
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, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.