Skip to content

FirehoseClient.update_destination

rboto-firehose==0.4.0 · Service index · Types

Model summary (excerpt): Updates the specified destination of the specified Firehose stream. Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target Firehose stream remains...

Install and imports

python -m pip install "rboto[firehose]==0.4.0"
from rboto import FirehoseClient
from rboto_firehose.types import (
    AmazonOpenSearchServerlessDestinationUpdate,
    AmazonopensearchserviceDestinationUpdate,
    ElasticsearchDestinationUpdate,
    ExtendedS3DestinationUpdate,
    HttpEndpointDestinationUpdate,
    IcebergDestinationUpdate,
    RedshiftDestinationUpdate,
    S3DestinationUpdate,
    SnowflakeDestinationUpdate,
    SplunkDestinationUpdate,
    UpdateDestinationOutput,
)

Signature

async def update_destination(
    *,
    delivery_stream_name: str,
    current_delivery_stream_version_id: str,
    destination_id: str,
    s3_destination_update: S3DestinationUpdate | None = None,
    extended_s3_destination_update: ExtendedS3DestinationUpdate | None = None,
    redshift_destination_update: RedshiftDestinationUpdate | None = None,
    elasticsearch_destination_update: ElasticsearchDestinationUpdate | None = None,
    amazonopensearchservice_destination_update: AmazonopensearchserviceDestinationUpdate | None = None,
    splunk_destination_update: SplunkDestinationUpdate | None = None,
    http_endpoint_destination_update: HttpEndpointDestinationUpdate | None = None,
    amazon_open_search_serverless_destination_update: AmazonOpenSearchServerlessDestinationUpdate | None = None,
    snowflake_destination_update: SnowflakeDestinationUpdate | None = None,
    iceberg_destination_update: IcebergDestinationUpdate | None = None,
) -> UpdateDestinationOutput: ...

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)
delivery_stream_name Yes The name of the Firehose stream.
current_delivery_stream_version_id Yes Obtain this value from the VersionId result of DeliveryStreamDescription . This value is required, and helps the service perform conditional operations. For example, if there is an interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new...
destination_id Yes The ID of the destination.
s3_destination_update No [Deprecated] Describes an update for a destination in Amazon S3.
extended_s3_destination_update No Describes an update for a destination in Amazon S3.
redshift_destination_update No Describes an update for a destination in Amazon Redshift.
elasticsearch_destination_update No Describes an update for a destination in Amazon OpenSearch Service.
amazonopensearchservice_destination_update No Describes an update for a destination in Amazon OpenSearch Service.
splunk_destination_update No Describes an update for a destination in Splunk.
http_endpoint_destination_update No Describes an update to the specified HTTP endpoint destination.
amazon_open_search_serverless_destination_update No Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
snowflake_destination_update No Update to the Snowflake destination configuration settings.
iceberg_destination_update No Describes an update for a destination in Apache Iceberg Tables.

Output

UpdateDestinationOutput.

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

No fields.

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

AmazonOpenSearchServerlessDestinationUpdate, AmazonopensearchserviceDestinationUpdate, ElasticsearchDestinationUpdate, ExtendedS3DestinationUpdate, HttpEndpointDestinationUpdate, IcebergDestinationUpdate, RedshiftDestinationUpdate, S3DestinationUpdate, SnowflakeDestinationUpdate, SplunkDestinationUpdate, UpdateDestinationOutput

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

ConcurrentModificationError, InvalidArgumentError, ResourceInUseError, ResourceNotFoundError.

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

Service guide · Pinned model