Skip to content

ImageUsageReport

Source code in docs_src/capo_ec2/types/image_usage_report.py
class ImageUsageReport(TypedDict, closed=True):
    image_id: NotRequired["capo_ec2.types.image_id.ImageId"]
    """<p>The ID of the image that was specified when the report was created.</p>"""
    report_id: NotRequired["capo_ec2.types.image_usage_report_id.ImageUsageReportId"]
    """<p>The ID of the report.</p>"""
    resource_types: NotRequired[
        "capo_ec2.types.image_usage_resource_type_list.ImageUsageResourceTypeList"
    ]
    """<p>The resource types that were specified when the report was created.</p>"""
    account_ids: NotRequired["capo_ec2.types.user_id_list.UserIdList"]
    """<p>The IDs of the Amazon Web Services accounts that were specified when the report was created.</p>"""
    state: NotRequired["capo_ec2.types.image_usage_report_state.ImageUsageReportState"]
    """<p>The current state of the report. Possible values:</p> <ul> <li> <p> <code>available</code> - The report is available to view.</p> </li> <li> <p> <code>pending</code> - The report is being created and not available to view.</p> </li> <li> <p> <code>error</code> - The report could not be created.</p> </li> </ul>"""
    state_reason: NotRequired[
        "capo_ec2.types.image_usage_report_state_reason.ImageUsageReportStateReason"
    ]
    """<p>Provides additional details when the report is in an <code>error</code> state.</p>"""
    creation_time: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>The date and time when the report was created.</p>"""
    expiration_time: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>The date and time when Amazon EC2 will delete the report (30 days after the report was created).</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>Any tags assigned to the report.</p>"""

account_ids instance-attribute

account_ids: NotRequired[UserIdList]

The IDs of the Amazon Web Services accounts that were specified when the report was created.

creation_time instance-attribute

creation_time: NotRequired[MillisecondDateTime]

The date and time when the report was created.

expiration_time instance-attribute

expiration_time: NotRequired[MillisecondDateTime]

The date and time when Amazon EC2 will delete the report (30 days after the report was created).

image_id instance-attribute

image_id: NotRequired[ImageId]

The ID of the image that was specified when the report was created.

report_id instance-attribute

report_id: NotRequired[ImageUsageReportId]

The ID of the report.

resource_types instance-attribute

resource_types: NotRequired[ImageUsageResourceTypeList]

The resource types that were specified when the report was created.

state instance-attribute

state: NotRequired[ImageUsageReportState]

The current state of the report. Possible values:

  • available - The report is available to view.

  • pending - The report is being created and not available to view.

  • error - The report could not be created.

state_reason instance-attribute

state_reason: NotRequired[ImageUsageReportStateReason]

Provides additional details when the report is in an error state.

tags instance-attribute

tags: NotRequired[TagList]

Any tags assigned to the report.