Context / Client / delete_resource_policy

delete_resource_policy

Context.Client.delete_resource_policy(**kwargs)

Removes the resource-based policy from an agent context.

See also: AWS API Documentation

Request Syntax

response = client.delete_resource_policy(
    resourceArn='string',
    expectedRevisionId='string'
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    ARN of the agent context.

  • expectedRevisionId (string) – The revision that you last read. The delete succeeds only if it matches the stored revision.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions