Skip to content

Delegation

Source code in docs_src/capo_auditmanager/types/delegation.py
class Delegation(TypedDict, closed=True):
    id: NotRequired["capo_auditmanager.types.uuid.UUID"]
    """<p> The unique identifier for the delegation. </p>"""
    assessment_name: NotRequired[
        "capo_auditmanager.types.assessment_name.AssessmentName"
    ]
    """<p> The name of the assessment that's associated with the delegation. </p>"""
    assessment_id: NotRequired["capo_auditmanager.types.uuid.UUID"]
    """<p> The identifier for the assessment that's associated with the delegation. </p>"""
    status: NotRequired["capo_auditmanager.types.delegation_status.DelegationStatus"]
    """<p> The status of the delegation. </p>"""
    role_arn: NotRequired["capo_auditmanager.types.iam_arn.IamArn"]
    """<p> The Amazon Resource Name (ARN) of the IAM role. </p>"""
    role_type: NotRequired["capo_auditmanager.types.role_type.RoleType"]
    """<p> The type of customer persona. </p> <note> <p>In <code>CreateAssessment</code>, <code>roleType</code> can only be <code>PROCESS_OWNER</code>. </p> <p>In <code>UpdateSettings</code>, <code>roleType</code> can only be <code>PROCESS_OWNER</code>.</p> <p>In <code>BatchCreateDelegationByAssessment</code>, <code>roleType</code> can only be <code>RESOURCE_OWNER</code>.</p> </note>"""
    creation_time: NotRequired["capo_auditmanager.types.timestamp.Timestamp"]
    """<p> Specifies when the delegation was created. </p>"""
    last_updated: NotRequired["capo_auditmanager.types.timestamp.Timestamp"]
    """<p> Specifies when the delegation was last updated. </p>"""
    control_set_id: NotRequired["capo_auditmanager.types.control_set_id.ControlSetId"]
    """<p> The identifier for the control set that's associated with the delegation. </p>"""
    comment: NotRequired["capo_auditmanager.types.delegation_comment.DelegationComment"]
    """<p> The comment that's related to the delegation. </p>"""
    created_by: NotRequired["capo_auditmanager.types.created_by.CreatedBy"]
    """<p> The user or role that created the delegation. </p>"""

assessment_id instance-attribute

assessment_id: NotRequired[UUID]

The identifier for the assessment that's associated with the delegation.

assessment_name instance-attribute

assessment_name: NotRequired[AssessmentName]

The name of the assessment that's associated with the delegation.

comment instance-attribute

comment: NotRequired[DelegationComment]

The comment that's related to the delegation.

control_set_id instance-attribute

control_set_id: NotRequired[ControlSetId]

The identifier for the control set that's associated with the delegation.

created_by instance-attribute

created_by: NotRequired[CreatedBy]

The user or role that created the delegation.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

Specifies when the delegation was created.

id instance-attribute

id: NotRequired[UUID]

The unique identifier for the delegation.

last_updated instance-attribute

last_updated: NotRequired[Timestamp]

Specifies when the delegation was last updated.

role_arn instance-attribute

role_arn: NotRequired[IamArn]

The Amazon Resource Name (ARN) of the IAM role.

role_type instance-attribute

role_type: NotRequired[RoleType]

The type of customer persona.

In CreateAssessment, roleType can only be PROCESS_OWNER.

In UpdateSettings, roleType can only be PROCESS_OWNER.

In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.

status instance-attribute

status: NotRequired[DelegationStatus]

The status of the delegation.