Skip to main content

ingestion_destinations

Creates, updates, deletes, gets or lists an ingestion_destinations resource.

Overview

Nameingestion_destinations
TypeResource
Idaws.appfabric.ingestion_destinations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the ingestion destination. (pattern: <code>arn:.+</code>)
created_atstring (date-time)The timestamp of when the ingestion destination was created.
destination_configurationobjectContains information about the destination of ingested data.
ingestion_arnstringThe Amazon Resource Name (ARN) of the ingestion. (pattern: <code>arn:.+</code>)
processing_configurationobjectContains information about how ingested data is processed.
statusstringThe state of the ingestion destination. The following states are possible: Active: The ingestion destination is active and is ready to be used. Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again. (Active, Failed)
status_reasonstringThe reason for the current status of the ingestion destination. Only present when the status of ingestion destination is Failed.
updated_atstring (date-time)The timestamp of when the ingestion destination was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ingestion_destinationselectapp_bundle_identifier, ingestion_identifier, ingestion_destination_identifier, regionReturns information about an ingestion destination.
list_ingestion_destinationsselectapp_bundle_identifier, ingestion_identifier, regionmaxResults, nextTokenReturns a list of all ingestion destinations configured for an ingestion.
create_ingestion_destinationinsertapp_bundle_identifier, ingestion_identifier, region, processingConfiguration, destinationConfigurationCreates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
update_ingestion_destinationupdateapp_bundle_identifier, ingestion_identifier, ingestion_destination_identifier, region, destinationConfigurationUpdates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web Services AppFabric and where it's delivered.
delete_ingestion_destinationdeleteapp_bundle_identifier, ingestion_identifier, ingestion_destination_identifier, regionDeletes an ingestion destination. This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
app_bundle_identifierstringThe Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
ingestion_destination_identifierstringThe Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion destination to use for the request.
ingestion_identifierstringThe Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the ingestion to use for the request.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
nextTokenstringIf nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

SELECT examples

Returns information about an ingestion destination.

SELECT
arn,
created_at,
destination_configuration,
ingestion_arn,
processing_configuration,
status,
status_reason,
updated_at
FROM aws.appfabric.ingestion_destinations
WHERE app_bundle_identifier = '{{ app_bundle_identifier }}' -- required
AND ingestion_identifier = '{{ ingestion_identifier }}' -- required
AND ingestion_destination_identifier = '{{ ingestion_destination_identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

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

INSERT INTO aws.appfabric.ingestion_destinations (
processingConfiguration,
destinationConfiguration,
clientToken,
tags,
app_bundle_identifier,
ingestion_identifier,
region
)
SELECT
'{{ processingConfiguration }}' /* required */,
'{{ destinationConfiguration }}' /* required */,
'{{ clientToken }}',
'{{ tags }}',
'{{ app_bundle_identifier }}',
'{{ ingestion_identifier }}',
'{{ region }}'
RETURNING
ingestion_destination
;

UPDATE examples

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

UPDATE aws.appfabric.ingestion_destinations
SET
destinationConfiguration = '{{ destinationConfiguration }}'
WHERE
app_bundle_identifier = '{{ app_bundle_identifier }}' --required
AND ingestion_identifier = '{{ ingestion_identifier }}' --required
AND ingestion_destination_identifier = '{{ ingestion_destination_identifier }}' --required
AND region = '{{ region }}' --required
AND destinationConfiguration = '{{ destinationConfiguration }}' --required
RETURNING
ingestion_destination;

DELETE examples

Deletes an ingestion destination. This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually disabled.

DELETE FROM aws.appfabric.ingestion_destinations
WHERE app_bundle_identifier = '{{ app_bundle_identifier }}' --required
AND ingestion_identifier = '{{ ingestion_identifier }}' --required
AND ingestion_destination_identifier = '{{ ingestion_destination_identifier }}' --required
AND region = '{{ region }}' --required
;