put_resource_policy
(**kwargs)¶Creates or updates a resource policy.
See also: AWS API Documentation
Request Syntax
response = client.put_resource_policy(
PolicyDocument='string',
ResourceArn='string'
)
[REQUIRED]
The JSON resource policy document.
[REQUIRED]
The ARN of the resource policy.
dict
Response Syntax
{}
Response Structure
Exceptions
NetworkManager.Client.exceptions.ValidationException
NetworkManager.Client.exceptions.ServiceQuotaExceededException
NetworkManager.Client.exceptions.AccessDeniedException
NetworkManager.Client.exceptions.ConflictException
NetworkManager.Client.exceptions.ThrottlingException
NetworkManager.Client.exceptions.InternalServerException