Skip to content

PutPermissionRequest

Source code in docs_src/capo_codeguruprofiler/types/put_permission_request.py
class PutPermissionRequest(TypedDict, closed=True):
    profiling_group_name: (
        "capo_codeguruprofiler.types.profiling_group_name.ProfilingGroupName"
    )
    """<p>The name of the profiling group to grant access to.</p>"""
    action_group: "capo_codeguruprofiler.types.action_group.ActionGroup"
    """<p> Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported, <code>agentPermissions</code>, which grants permission to perform actions required by the profiling agent, <code>ConfigureAgent</code> and <code>PostAgentProfile</code> permissions. </p>"""
    principals: "capo_codeguruprofiler.types.principals.Principals"
    """<p> A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs. </p>"""
    revision_id: NotRequired["capo_codeguruprofiler.types.revision_id.RevisionId"]
    """<p> A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the <code>revisionId</code>. </p>"""

action_group instance-attribute

action_group: ActionGroup

Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported, agentPermissions, which grants permission to perform actions required by the profiling agent, ConfigureAgent and PostAgentProfile permissions.

principals instance-attribute

principals: Principals

A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.

profiling_group_name instance-attribute

profiling_group_name: ProfilingGroupName

The name of the profiling group to grant access to.

revision_id instance-attribute

revision_id: NotRequired[RevisionId]

A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the revisionId.