list_actions

list_actions(**kwargs)

Lists the available FIS actions.

See also: AWS API Documentation

Request Syntax

response = client.list_actions(
    maxResults=123,
    nextToken='string'
)
Parameters
  • maxResults (integer) -- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
  • nextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'actions': [
        {
            'id': 'string',
            'description': 'string',
            'targets': {
                'string': {
                    'resourceType': 'string'
                }
            },
            'tags': {
                'string': 'string'
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • actions (list) --

      The actions.

      • (dict) --

        Provides a summary of an action.

        • id (string) --

          The ID of the action.

        • description (string) --

          The description for the action.

        • targets (dict) --

          The targets for the action.

          • (string) --

            • (dict) --

              Describes a target for an action.

              • resourceType (string) --

                The resource type of the target.

        • tags (dict) --

          The tags for the action.

          • (string) --
            • (string) --
    • nextToken (string) --

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

Exceptions

  • FIS.Client.exceptions.ValidationException