Skip to content

ExecuteActionRequest

Source code in docs_src/capo_iotsitewise/types/execute_action_request.py
class ExecuteActionRequest(TypedDict, closed=True):
    target_resource: "capo_iotsitewise.types.target_resource.TargetResource"
    """<p>The resource the action will be taken on.</p>"""
    action_definition_id: "capo_iotsitewise.types.id.ID"
    """<p>The ID of the action definition.</p>"""
    action_payload: "capo_iotsitewise.types.action_payload.ActionPayload"
    """<p>The JSON payload of the action.</p>"""
    client_token: NotRequired["capo_iotsitewise.types.client_token.ClientToken"]
    """<p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>"""
    resolve_to: NotRequired["capo_iotsitewise.types.resolve_to.ResolveTo"]
    """<p>The detailed resource this action resolves to.</p>"""

action_definition_id instance-attribute

action_definition_id: ID

The ID of the action definition.

action_payload instance-attribute

action_payload: ActionPayload

The JSON payload of the action.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

resolve_to instance-attribute

resolve_to: NotRequired[ResolveTo]

The detailed resource this action resolves to.

target_resource instance-attribute

target_resource: TargetResource

The resource the action will be taken on.