Skip to content

update_ingestion_destination async

update_ingestion_destination(
    app_bundle_identifier: Identifier,
    ingestion_identifier: Identifier,
    ingestion_destination_identifier: Identifier,
    destination_configuration: DestinationConfiguration,
    *,
    config_overrides: Optional[AsyncAppFabricClientConfig] = None,
) -> UpdateIngestionDestinationResponse

Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.

Parameters:

  • app_bundle_identifier (Identifier) –

    The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.

  • ingestion_identifier (Identifier) –

    The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.

  • ingestion_destination_identifier (Identifier) –

    The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.

  • destination_configuration (DestinationConfiguration) –

    Contains information about the destination of ingested data.

Raises:

Source code in docs_src/capo_appfabric/_services/async_app_fabric.py
async def update_ingestion_destination(
    self,
    app_bundle_identifier: "capo_appfabric.types.identifier.Identifier",
    ingestion_identifier: "capo_appfabric.types.identifier.Identifier",
    ingestion_destination_identifier: "capo_appfabric.types.identifier.Identifier",
    destination_configuration: "capo_appfabric.types.destination_configuration.DestinationConfiguration",
    *,
    config_overrides: Optional[AsyncAppFabricClientConfig] = None,
) -> "capo_appfabric.types.update_ingestion_destination_response.UpdateIngestionDestinationResponse":
    """<p>Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.</p>

    Args:
        app_bundle_identifier: <p>The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.</p>
        ingestion_identifier: <p>The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.</p>
        ingestion_destination_identifier: <p>The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.</p>
        destination_configuration: <p>Contains information about the destination of ingested data.</p>

    Raises:
        capo_appfabric.errors.access_denied_exception.AccessDeniedException: <p>You are not authorized to perform this operation.</p>
        capo_appfabric.errors.conflict_exception.ConflictException: <p>The request has created a conflict. Check the request parameters and try again.</p>
        capo_appfabric.errors.internal_server_exception.InternalServerException: <p>The request processing has failed because of an unknown error, exception, or failure with an internal server.</p>
        capo_appfabric.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified resource does not exist.</p>
        capo_appfabric.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>The request exceeds a service quota.</p>
        capo_appfabric.errors.throttling_exception.ThrottlingException: <p>The request rate exceeds the limit.</p>
        capo_appfabric.errors.validation_exception.ValidationException: <p>The request has invalid or missing parameters.</p>
        capo_appfabric.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_appfabric.types.update_ingestion_destination_request.UpdateIngestionDestinationRequest]",
    ) -> AsyncOperationResponse[
        "capo_appfabric.types.update_ingestion_destination_response.UpdateIngestionDestinationResponse"
    ]:
        import capo_appfabric._operations.fabric_front_end_service.update_ingestion_destination

        (
            output,
            http_response,
        ) = await capo_appfabric._operations.fabric_front_end_service.update_ingestion_destination.async_update_ingestion_destination(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("UpdateIngestionDestination")
    )
    input_: capo_appfabric.types.update_ingestion_destination_request.UpdateIngestionDestinationRequest = {
        "app_bundle_identifier": app_bundle_identifier,
        "ingestion_identifier": ingestion_identifier,
        "ingestion_destination_identifier": ingestion_destination_identifier,
        "destination_configuration": destination_configuration,
    }

    response = await aexecute_pipeline(
        AsyncOperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    await response.response.aclose()
    return response.output