ListActions - AWS Fault Injection Simulator

ListActions

Lists the available AWS FIS actions.

Request Syntax

GET /actions?maxResults=maxResults&nextToken=nextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

maxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

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

nextToken

The token for the next page of results.

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

Pattern: [\S]+

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "actions": [ { "description": "string", "id": "string", "tags": { "string" : "string" }, "targets": { "string" : { "resourceType": "string" } } } ], "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.

actions

The actions.

Type: Array of ActionSummary objects

nextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

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

Pattern: [\S]+

Errors

For information about the errors that are common to all actions, see Common Errors.

ValidationException

The specified input is not valid, or fails to satisfy the constraints for the request.

HTTP Status Code: 400

See Also

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