Skip to main content

app_bundles

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

Overview

Nameapp_bundles
TypeResource
Idaws.appfabric.app_bundles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the app bundle. (pattern: <code>arn:.+</code>)
customer_managed_key_arnstringThe Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the application data. (pattern: <code>arn:.+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_app_bundleselectapp_bundle_identifier, regionReturns information about an app bundle.
list_app_bundlesselectregionmaxResults, nextTokenReturns a list of app bundles.
create_app_bundleinsertregionCreates an app bundle to collect data from an application using AppFabric.
delete_app_bundledeleteapp_bundle_identifier, regionDeletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.
start_ingestionexecingestion_identifier, app_bundle_identifier, regionStarts (enables) an ingestion, which collects data from an application.
stop_ingestionexecingestion_identifier, app_bundle_identifier, regionStops (disables) an ingestion.

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_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 app bundle.

SELECT
arn,
customer_managed_key_arn
FROM aws.appfabric.app_bundles
WHERE app_bundle_identifier = '{{ app_bundle_identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an app bundle to collect data from an application using AppFabric.

INSERT INTO aws.appfabric.app_bundles (
clientToken,
customerManagedKeyIdentifier,
tags,
region
)
SELECT
'{{ clientToken }}',
'{{ customerManagedKeyIdentifier }}',
'{{ tags }}',
'{{ region }}'
RETURNING
app_bundle
;

DELETE examples

Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle.

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

Lifecycle Methods

Starts (enables) an ingestion, which collects data from an application.

EXEC aws.appfabric.app_bundles.start_ingestion
@ingestion_identifier='{{ ingestion_identifier }}' --required,
@app_bundle_identifier='{{ app_bundle_identifier }}' --required,
@region='{{ region }}' --required
;