Skip to main content

application_snapshots

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

Overview

Nameapplication_snapshots
TypeResource
Idaws.kinesisanalyticsv2.application_snapshots

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_encryption_configuration_descriptionobjectSpecifies the encryption settings of data at rest for the application snapshot.
application_version_idinteger (int64)The current application version ID when the snapshot was created.
runtime_environmentstringThe Flink Runtime for the application snapshot. (SQL-1_0, FLINK-1_6, FLINK-1_8, ZEPPELIN-FLINK-1_0, FLINK-1_11, FLINK-1_13, ZEPPELIN-FLINK-2_0, FLINK-1_15, ZEPPELIN-FLINK-3_0, FLINK-1_18, FLINK-1_19, FLINK-1_20, FLINK-2_2, FLINK-2_3)
snapshot_creation_timestampstring (date-time)The timestamp of the application snapshot.
snapshot_namestringThe identifier for the application snapshot. (pattern: <code>[a-zA-Z0-9_.-]+</code>)
snapshot_statusstringThe status of the application snapshot. (CREATING, READY, DELETING, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_application_snapshotselectregionReturns information about a snapshot of application state data.
list_application_snapshotsselectregionLists information about the current application snapshots.
create_application_snapshotinsertregion, ApplicationName, SnapshotNameCreates a snapshot of the application's state data.
delete_application_snapshotdeleteregionDeletes a snapshot of application state.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about a snapshot of application state data.

SELECT
application_encryption_configuration_description,
application_version_id,
runtime_environment,
snapshot_creation_timestamp,
snapshot_name,
snapshot_status
FROM aws.kinesisanalyticsv2.application_snapshots
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a snapshot of the application's state data.

INSERT INTO aws.kinesisanalyticsv2.application_snapshots (
ApplicationName,
SnapshotName,
region
)
SELECT
'{{ ApplicationName }}' /* required */,
'{{ SnapshotName }}' /* required */,
'{{ region }}'
;

DELETE examples

Deletes a snapshot of application state.

DELETE FROM aws.kinesisanalyticsv2.application_snapshots
WHERE region = '{{ region }}' --required
;