EC2 / Client / get_verified_access_endpoint_policy

get_verified_access_endpoint_policy#

EC2.Client.get_verified_access_endpoint_policy(**kwargs)#

Get the Verified Access policy associated with the endpoint.

See also: AWS API Documentation

Request Syntax

response = client.get_verified_access_endpoint_policy(
    VerifiedAccessEndpointId='string',
    DryRun=True|False
)
Parameters:
  • VerifiedAccessEndpointId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services Verified Access endpoint.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, 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

{
    'PolicyEnabled': True|False,
    'PolicyDocument': 'string'
}

Response Structure

  • (dict) –

    • PolicyEnabled (boolean) –

      The status of the Verified Access policy.

    • PolicyDocument (string) –

      The Amazon Web Services Verified Access policy document.