Skip to content

CreateTaskInput

Source code in docs_src/capo_snow_device_management/types/create_task_input.py
class CreateTaskInput(TypedDict, closed=True):
    targets: "capo_snow_device_management.types.target_list.TargetList"
    """<p>A list of managed device IDs.</p>"""
    command: "capo_snow_device_management.types.command.Command"
    """<p>The task to be performed. Only one task is executed on a device at a time.</p>"""
    description: NotRequired[
        "capo_snow_device_management.types.task_description_string.TaskDescriptionString"
    ]
    """<p>A description of the task and its targets.</p>"""
    tags: NotRequired["capo_snow_device_management.types.tag_map.TagMap"]
    """<p>Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment. </p>"""
    client_token: NotRequired[
        "capo_snow_device_management.types.idempotency_token.IdempotencyToken"
    ]
    """<p>A token ensuring that the action is called only once with the specified details.</p>"""

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

A token ensuring that the action is called only once with the specified details.

command instance-attribute

command: Command

The task to be performed. Only one task is executed on a device at a time.

description instance-attribute

description: NotRequired[TaskDescriptionString]

A description of the task and its targets.

tags instance-attribute

tags: NotRequired[TagMap]

Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.

targets instance-attribute

targets: TargetList

A list of managed device IDs.