modify_verified_access_endpoint_policy

EC2.Client.modify_verified_access_endpoint_policy(**kwargs)

Modifies the specified Verified Access endpoint policy.

See also: AWS API Documentation

Request Syntax

response = client.modify_verified_access_endpoint_policy(
    VerifiedAccessEndpointId='string',
    PolicyEnabled=True|False,
    PolicyDocument='string',
    ClientToken='string',
    DryRun=True|False
)
Parameters
  • VerifiedAccessEndpointId (string) --

    [REQUIRED]

    The ID of the Amazon Web Services Verified Access endpoint.

  • PolicyEnabled (boolean) --

    [REQUIRED]

    The status of the Verified Access policy.

  • PolicyDocument (string) -- The Amazon Web Services Verified Access policy document.
  • ClientToken (string) --

    A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.

    This field is autopopulated if not provided.

  • 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.