SSMIncidents.Client.delete_resource_policy(**kwargs)¶Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy(
policyId='string',
resourceArn='string'
)
[REQUIRED]
The ID of the resource policy you're deleting.
[REQUIRED]
The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
dict
Response Syntax
{}
Response Structure
Exceptions
SSMIncidents.Client.exceptions.ThrottlingExceptionSSMIncidents.Client.exceptions.ResourceNotFoundExceptionSSMIncidents.Client.exceptions.AccessDeniedExceptionSSMIncidents.Client.exceptions.ValidationExceptionSSMIncidents.Client.exceptions.InternalServerException