delete_resource_policy

NetworkManager.Client.delete_resource_policy(**kwargs)

Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.

See also: AWS API Documentation

Request Syntax

response = client.delete_resource_policy(
    ResourceArn='string'
)
Parameters
ResourceArn (string) --

[REQUIRED]

The ARN of the policy to delete.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException