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 isUnauthorizedOperation.- 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
hiddenindicates that managed resources are not included in Describe operation responses by default. A value ofvisibleindicates that managed resources are included by default.