CloudWatchOmni / Client / get_view

get_view

CloudWatchOmni.Client.get_view(**kwargs)

Returns the definition and metadata of the specified view.

See also: AWS API Documentation

Request Syntax

response = client.get_view(
    name='string'
)
Parameters:

name (string) –

[REQUIRED]

The name of the view.

Return type:

dict

Returns:

Response Syntax

{
    'name': 'string',
    'type': 'USER'|'MANAGED',
    'description': 'string',
    'definition': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'arn': 'string'
}

Response Structure

  • (dict) –

    • name (string) –

      The name of the view.

    • type (string) –

      The ownership category of the view.

    • description (string) –

      The description of the view.

    • definition (string) –

      The SQL query that defines the view.

    • createdAt (datetime) –

      The timestamp when the view was created.

    • updatedAt (datetime) –

      The timestamp when the view was last updated.

    • arn (string) –

      The ARN of the view.

Exceptions