Skip to content

DeregisterDeviceRequest

Source code in docs_src/capo_workspaces_thin_client/types/deregister_device_request.py
class DeregisterDeviceRequest(TypedDict, closed=True):
    id: "capo_workspaces_thin_client.types.device_id.DeviceId"
    """<p>The ID of the device to deregister.</p>"""
    target_device_status: NotRequired[
        "capo_workspaces_thin_client.types.target_device_status.TargetDeviceStatus"
    ]
    """<p>The desired new status for the device.</p>"""
    client_token: NotRequired[
        "capo_workspaces_thin_client.types.client_token.ClientToken"
    ]
    """<p>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of value</a>.</p> <p>If you don't provide this value, then Amazon Web Services generates a random one for you.</p> <p>If you retry the operation with the same <code>ClientToken</code>, but with different parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.

If you don't provide this value, then Amazon Web Services generates a random one for you.

If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

id instance-attribute

The ID of the device to deregister.

target_device_status instance-attribute

target_device_status: NotRequired[TargetDeviceStatus]

The desired new status for the device.