EC2 / Client / get_managed_resource_visibility

get_managed_resource_visibility

EC2.Client.get_managed_resource_visibility(**kwargs)

Retrieves the managed resource visibility configuration for the account. The response indicates whether managed resources are hidden or visible by default.

See also: AWS API Documentation

Request Syntax

response = client.get_managed_resource_visibility(
    DryRun=True|False
)
Parameters:

DryRun (boolean) – Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Return type:

dict

Returns:

Response Syntax

{
    'Visibility': {
        'DefaultVisibility': 'hidden'|'visible'
    }
}

Response Structure

  • (dict) –

    • Visibility (dict) –

      The managed resource visibility settings for the account.

      • DefaultVisibility (string) –

        The default visibility setting for managed resources. A value of hidden indicates that managed resources are not included in Describe operation responses by default. A value of visible indicates that managed resources are included by default.