Kinesis Data Analytics API v2

Implementation details for API kinesisanalyticsv2

Coverage Overview

Kinesis Data Analytics API v2 is supported by LocalStack only in the pro image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
AddApplicationCloudWatchLoggingOption
AddApplicationInput
AddApplicationInputProcessingConfiguration
AddApplicationOutput
AddApplicationReferenceDataSource
AddApplicationVpcConfiguration
CreateApplication✔️pro✔️✔️✔️Show Tests
CreateApplicationPresignedUrl
CreateApplicationSnapshot
DeleteApplication✔️pro✔️✔️✔️Show Tests
DeleteApplicationCloudWatchLoggingOption
DeleteApplicationInputProcessingConfiguration
DeleteApplicationOutput
DeleteApplicationReferenceDataSource
DeleteApplicationSnapshot
DeleteApplicationVpcConfiguration
DescribeApplication✔️pro✔️✔️✔️Show Tests
DescribeApplicationOperation
DescribeApplicationSnapshot
DescribeApplicationVersion
DiscoverInputSchema
ListApplicationOperations
ListApplicationSnapshots
ListApplicationVersions
ListApplications✔️pro✔️✔️✔️Show Tests
ListTagsForResource
RollbackApplication
StartApplication✔️pro✔️✔️✔️Show Tests
StopApplication✔️pro✔️✔️✔️Show Tests
TagResource
UntagResource
UpdateApplication✔️pro✔️✔️✔️Show Tests
UpdateApplicationMaintenanceConfiguration

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


CreateApplication

Parameters: ApplicationConfiguration, ApplicationMode, ApplicationName, RuntimeEnvironment, ServiceExecutionRole
  • LocalStack Pro
    • test_connect_to_localstack LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_connect_to_localstack HTTP Status Code: 200
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_runtime_properties LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_runtime_properties HTTP Status Code: 200
    • test_s3_sink LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_s3_sink HTTP Status Code: 200 AWS validated

DeleteApplication

Parameters: ApplicationName, CreateTimestamp
  • LocalStack Pro
    • test_connect_to_localstack LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_connect_to_localstack HTTP Status Code: 200
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_runtime_properties LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_runtime_properties HTTP Status Code: 200
    • test_s3_sink LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_s3_sink HTTP Status Code: 200 AWS validated
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

DescribeApplication

Parameters: ApplicationName
  • LocalStack Pro
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_runtime_properties LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_runtime_properties HTTP Status Code: 200
    • test_s3_sink LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_s3_sink HTTP Status Code: 200 AWS validated
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

ListApplications

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 200 AWS validated Snapshot Tested

StartApplication

Parameters: ApplicationName
  • LocalStack Pro
    • test_connect_to_localstack LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_connect_to_localstack HTTP Status Code: 200
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_runtime_properties LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_runtime_properties HTTP Status Code: 200
    • test_s3_sink LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_s3_sink HTTP Status Code: 200 AWS validated
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 400 (ResourceInUseException) AWS validated Snapshot Tested
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

StopApplication

Parameters: ApplicationName
  • LocalStack Pro
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 400 (ResourceInUseException) AWS validated Snapshot Tested
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

UpdateApplication

Parameters: ApplicationConfigurationUpdate, ApplicationName
  • LocalStack Pro
    • test_runtime_properties LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_runtime_properties HTTP Status Code: 200
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
Parameters: ApplicationConfigurationUpdate, ApplicationName, CurrentApplicationVersionId
  • LocalStack Pro
    • test_crud LocalStack Pro: tests/aws/services/kinesisanalyticsv2/test_managed_flink.py::TestKinesisDataAnalyticsV2::test_crud HTTP Status Code: 200 AWS validated Snapshot Tested