Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_action

get_action(**kwargs)

Gets information about the specified FIS action.

See also: AWS API Documentation

Request Syntax

response = client.get_action(
    id='string'
)
Parameters
id (string) --

[REQUIRED]

The ID of the action.

Return type
dict
Returns
Response Syntax
{
    'action': {
        'id': 'string',
        'description': 'string',
        'parameters': {
            'string': {
                'description': 'string',
                'required': True|False
            }
        },
        'targets': {
            'string': {
                'resourceType': 'string'
            }
        },
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --
    • action (dict) --

      Information about the action.

      • id (string) --

        The ID of the action.

      • description (string) --

        The description for the action.

      • parameters (dict) --

        The action parameters, if applicable.

        • (string) --
          • (dict) --

            Describes a parameter for an action.

            • description (string) --

              The parameter description.

            • required (boolean) --

              Indicates whether the parameter is required.

      • targets (dict) --

        The supported 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) --

Exceptions

  • FIS.Client.exceptions.ValidationException
  • FIS.Client.exceptions.ResourceNotFoundException