VPCLattice / Client / delete_auth_policy

delete_auth_policy#

VPCLattice.Client.delete_auth_policy(**kwargs)#

Deletes the specified auth policy. If an auth is set to AWS_IAM and the auth policy is deleted, all requests are denied. If you are trying to remove the auth policy completely, you must set the auth type to NONE. If auth is enabled on the resource, but no auth policy is set, all requests are denied.

See also: AWS API Documentation

Request Syntax

response = client.delete_auth_policy(
    resourceIdentifier='string'
)
Parameters:

resourceIdentifier (string) –

[REQUIRED]

The ID or Amazon Resource Name (ARN) of the resource.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions