EC2 / Client / modify_verified_access_group_policy
modify_verified_access_group_policy#
- EC2.Client.modify_verified_access_group_policy(**kwargs)#
- Modifies the specified Verified Access group policy. - See also: AWS API Documentation - Request Syntax - response = client.modify_verified_access_group_policy( VerifiedAccessGroupId='string', PolicyEnabled=True|False, PolicyDocument='string', ClientToken='string', DryRun=True|False ) - Parameters:
- VerifiedAccessGroupId (string) – - [REQUIRED] - The ID of the Amazon Web Services Verified Access group. 
- 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.