Skip to content

ResourceCallDetail

Source code in docs_src/capo_assurance/types/resource_call_detail.py
class ResourceCallDetail(TypedDict, closed=True):
    resource_type: NotRequired[
        "capo_assurance.types.cloud_formation_resource_type.CloudFormationResourceType"
    ]
    """<p>The AWS CloudFormation resource type of the resource, such as <code>AWS::DynamoDB::Table</code>. The response omits this field when the type isn't known.</p>"""
    arn: "capo_assurance.types.resource_arn.ResourceArn"
    """<p>The ARN of the resource.</p>"""
    access_type: "capo_assurance.types.resource_access_type.ResourceAccessType"
    """<p>The kind of access that the agent had to the resource. Valid values:</p> <ul> <li> <p> <code>READ</code> – The agent only read the resource.</p> </li> <li> <p> <code>WRITE</code> – The agent made at least one call that changed the resource.</p> </li> </ul>"""
    success_count: "int"
    """<p>The number of calls to the resource that succeeded.</p>"""
    failure_count: "int"
    """<p>The number of calls to the resource that failed.</p>"""

access_type instance-attribute

access_type: ResourceAccessType

The kind of access that the agent had to the resource. Valid values:

  • READ – The agent only read the resource.

  • WRITE – The agent made at least one call that changed the resource.

arn instance-attribute

The ARN of the resource.

failure_count instance-attribute

failure_count: int

The number of calls to the resource that failed.

resource_type instance-attribute

resource_type: NotRequired[CloudFormationResourceType]

The AWS CloudFormation resource type of the resource, such as AWS::DynamoDB::Table. The response omits this field when the type isn't known.

success_count instance-attribute

success_count: int

The number of calls to the resource that succeeded.