Skip to content

ErrorResponse

Source code in docs_src/capo_migration_hub_refactor_spaces/types/error_response.py
class ErrorResponse(TypedDict, closed=True):
    code: NotRequired["capo_migration_hub_refactor_spaces.types.error_code.ErrorCode"]
    """<p>The error code associated with the error. </p>"""
    message: NotRequired[
        "capo_migration_hub_refactor_spaces.types.error_message.ErrorMessage"
    ]
    """<p>The message associated with the error. </p>"""
    account_id: NotRequired[
        "capo_migration_hub_refactor_spaces.types.account_id.AccountId"
    ]
    """<p>The Amazon Web Services account ID of the resource owner. </p>"""
    resource_identifier: NotRequired[
        "capo_migration_hub_refactor_spaces.types.resource_identifier.ResourceIdentifier"
    ]
    """<p>The ID of the resource. </p>"""
    resource_type: NotRequired[
        "capo_migration_hub_refactor_spaces.types.error_resource_type.ErrorResourceType"
    ]
    """<p>The type of resource. </p>"""
    additional_details: NotRequired[
        "capo_migration_hub_refactor_spaces.types.additional_details.AdditionalDetails"
    ]
    """<p>Additional details about the error. </p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The Amazon Web Services account ID of the resource owner.

additional_details instance-attribute

additional_details: NotRequired[AdditionalDetails]

Additional details about the error.

code instance-attribute

code: NotRequired[ErrorCode]

The error code associated with the error.

message instance-attribute

message: NotRequired[ErrorMessage]

The message associated with the error.

resource_identifier instance-attribute

resource_identifier: NotRequired[ResourceIdentifier]

The ID of the resource.

resource_type instance-attribute

resource_type: NotRequired[ErrorResourceType]

The type of resource.