Skip to content

PutResourcePolicyRequest

Source code in docs_src/capo_lookoutequipment/types/put_resource_policy_request.py
class PutResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_lookoutequipment.types.resource_arn.ResourceArn"
    """<p>The Amazon Resource Name (ARN) of the resource for which the policy is being created.</p>"""
    resource_policy: "capo_lookoutequipment.types.policy.Policy"
    """<p>The JSON-formatted resource policy to create.</p>"""
    policy_revision_id: NotRequired[
        "capo_lookoutequipment.types.policy_revision_id.PolicyRevisionId"
    ]
    """<p>A unique identifier for a revision of the resource policy.</p>"""
    client_token: "capo_lookoutequipment.types.idempotence_token.IdempotenceToken"
    """<p>A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. </p>"""

client_token instance-attribute

client_token: IdempotenceToken

A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

policy_revision_id instance-attribute

policy_revision_id: NotRequired[PolicyRevisionId]

A unique identifier for a revision of the resource policy.

resource_arn instance-attribute

resource_arn: ResourceArn

The Amazon Resource Name (ARN) of the resource for which the policy is being created.

resource_policy instance-attribute

resource_policy: Policy

The JSON-formatted resource policy to create.