SSMIncidents / Client / delete_resource_policy
delete_resource_policy#
- 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' )
- Parameters:
policyId (string) –
[REQUIRED]
The ID of the resource policy you’re deleting.
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource you’re deleting the policy from.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
SSMIncidents.Client.exceptions.ThrottlingException
SSMIncidents.Client.exceptions.ResourceNotFoundException
SSMIncidents.Client.exceptions.AccessDeniedException
SSMIncidents.Client.exceptions.ValidationException
SSMIncidents.Client.exceptions.InternalServerException