NetworkManager.Client.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.ValidationExceptionNetworkManager.Client.exceptions.ServiceQuotaExceededExceptionNetworkManager.Client.exceptions.AccessDeniedExceptionNetworkManager.Client.exceptions.ConflictExceptionNetworkManager.Client.exceptions.ThrottlingExceptionNetworkManager.Client.exceptions.InternalServerException