ListApplicationOperations - Amazon Managed Service for Apache Flink (formerly Amazon Kinesis Data Analytics for Apache Flink)

ListApplicationOperations

Lists all the operations performed for the specified application such as UpdateApplication, StartApplication etc. The response also includes a summary of the operation.

To get the complete description of a specific operation, invoke the DescribeApplicationOperation operation.

Note

This operation is supported only for Managed Service for Apache Flink.

Request Syntax

{ "ApplicationName": "string", "Limit": number, "NextToken": "string", "Operation": "string", "OperationStatus": "string" }

Request Parameters

The request accepts the following data in JSON format.

ApplicationName

The name of the application.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z0-9_.-]+

Required: Yes

Limit

The limit on the number of records to be returned in the response.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 50.

Required: No

NextToken

A pagination token that can be used in a subsequent request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Required: No

Operation

The type of operation that is performed on an application.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Required: No

OperationStatus

The status of the operation.

Type: String

Valid Values: IN_PROGRESS | CANCELLED | SUCCESSFUL | FAILED

Required: No

Response Syntax

{ "ApplicationOperationInfoList": [ { "EndTime": number, "Operation": "string", "OperationId": "string", "OperationStatus": "string", "StartTime": number } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ApplicationOperationInfoList

A list of ApplicationOperationInfo objects that are associated with an application.

Type: Array of ApplicationOperationInfo objects

NextToken

A pagination token that can be used in a subsequent request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Errors

InvalidArgumentException

The specified input parameter value is not valid.

HTTP Status Code: 400

ResourceNotFoundException

Specified application can't be found.

HTTP Status Code: 400

UnsupportedOperationException

The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: