Skip to content

ReplacePermissionAssociationsWork

Source code in docs_src/capo_ram/types/replace_permission_associations_work.py
class ReplacePermissionAssociationsWork(TypedDict, closed=True):
    id: NotRequired["capo_ram.types.string.String"]
    """<p>The unique identifier for the background task associated with one <a>ReplacePermissionAssociations</a> request.</p>"""
    from_permission_arn: NotRequired["capo_ram.types.string.String"]
    """<p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission that this background task is replacing.</p>"""
    from_permission_version: NotRequired["capo_ram.types.string.String"]
    """<p>The version of the managed permission that this background task is replacing.</p>"""
    to_permission_arn: NotRequired["capo_ram.types.string.String"]
    """<p>The ARN of the managed permission that this background task is associating with the resource shares in place of the managed permission and version specified in <code>fromPermissionArn</code> and <code>fromPermissionVersion</code>.</p>"""
    to_permission_version: NotRequired["capo_ram.types.string.String"]
    """<p>The version of the managed permission that this background task is associating with the resource shares. This is always the version that is currently the default for this managed permission.</p>"""
    status: NotRequired[
        "capo_ram.types.replace_permission_associations_work_status.ReplacePermissionAssociationsWorkStatus"
    ]
    """<p>Specifies the current status of the background tasks for the specified ID. The output is one of the following strings:</p> <ul> <li> <p> <code>IN_PROGRESS</code> </p> </li> <li> <p> <code>COMPLETED</code> </p> </li> <li> <p> <code>FAILED</code> </p> </li> </ul>"""
    status_message: NotRequired["capo_ram.types.string.String"]
    """<p>Specifies the reason for a <code>FAILED</code> status. This field is present only when there <code>status</code> is <code>FAILED</code>.</p>"""
    creation_time: NotRequired["capo_ram.types.date_time.DateTime"]
    """<p>The date and time when this asynchronous background task was created.</p>"""
    last_updated_time: NotRequired["capo_ram.types.date_time.DateTime"]
    """<p>The date and time when the status of this background task was last updated.</p>"""

creation_time instance-attribute

creation_time: NotRequired[DateTime]

The date and time when this asynchronous background task was created.

from_permission_arn instance-attribute

from_permission_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.

from_permission_version instance-attribute

from_permission_version: NotRequired[String]

The version of the managed permission that this background task is replacing.

id instance-attribute

id: NotRequired[String]

The unique identifier for the background task associated with one ReplacePermissionAssociations request.

last_updated_time instance-attribute

last_updated_time: NotRequired[DateTime]

The date and time when the status of this background task was last updated.

status instance-attribute

Specifies the current status of the background tasks for the specified ID. The output is one of the following strings:

  • IN_PROGRESS

  • COMPLETED

  • FAILED

status_message instance-attribute

status_message: NotRequired[String]

Specifies the reason for a FAILED status. This field is present only when there status is FAILED.

to_permission_arn instance-attribute

to_permission_arn: NotRequired[String]

The ARN of the managed permission that this background task is associating with the resource shares in place of the managed permission and version specified in fromPermissionArn and fromPermissionVersion.

to_permission_version instance-attribute

to_permission_version: NotRequired[String]

The version of the managed permission that this background task is associating with the resource shares. This is always the version that is currently the default for this managed permission.