Skip to content

DescribeProtectionRequest

Source code in docs_src/capo_shield/types/describe_protection_request.py
class DescribeProtectionRequest(TypedDict, closed=True):
    protection_id: NotRequired["capo_shield.types.protection_id.ProtectionId"]
    """<p>The unique identifier (ID) for the <a>Protection</a> object to describe. You must provide either the <code>ResourceArn</code> of the protected resource or the <code>ProtectionID</code> of the protection, but not both.</p>"""
    resource_arn: NotRequired["capo_shield.types.resource_arn.ResourceArn"]
    """<p>The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the <code>ResourceArn</code> of the protected resource or the <code>ProtectionID</code> of the protection, but not both.</p>"""

protection_id instance-attribute

protection_id: NotRequired[ProtectionId]

The unique identifier (ID) for the Protection object to describe. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceArn]

The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.