get_target_resource_type

FIS.Client.get_target_resource_type(**kwargs)

Gets information about the specified resource type.

See also: AWS API Documentation

Request Syntax

response = client.get_target_resource_type(
    resourceType='string'
)
Parameters
resourceType (string) --

[REQUIRED]

The resource type.

Return type
dict
Returns
Response Syntax
{
    'targetResourceType': {
        'resourceType': 'string',
        'description': 'string',
        'parameters': {
            'string': {
                'description': 'string',
                'required': True|False
            }
        }
    }
}

Response Structure

  • (dict) --
    • targetResourceType (dict) --

      Information about the resource type.

      • resourceType (string) --

        The resource type.

      • description (string) --

        A description of the resource type.

      • parameters (dict) --

        The parameters for the resource type.

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

            Describes the parameters for a resource type. Use parameters to determine which tasks are identified during target resolution.

            • description (string) --

              A description of the parameter.

            • required (boolean) --

              Indicates whether the parameter is required.

Exceptions

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