CodeGuruProfiler.Client.
get_policy
(**kwargs)¶Returns the JSON-formatted resource-based policy on a profiling group.
See also: AWS API Documentation
Request Syntax
response = client.get_policy(
profilingGroupName='string'
)
[REQUIRED]
The name of the profiling group.
{
'policy': 'string',
'revisionId': 'string'
}
Response Structure
The structure representing the getPolicyResponse
.
The JSON-formatted resource-based policy attached to the ProfilingGroup
.
A unique identifier for the current revision of the returned policy.
Exceptions
CodeGuruProfiler.Client.exceptions.InternalServerException
CodeGuruProfiler.Client.exceptions.ThrottlingException
CodeGuruProfiler.Client.exceptions.ResourceNotFoundException