Skip to content

UpdateDeviceStatusRequest

Source code in docs_src/capo_cognito_identity_provider/types/update_device_status_request.py
class UpdateDeviceStatusRequest(TypedDict, closed=True):
    access_token: "capo_cognito_identity_provider.types.token_model_type.TokenModelType"
    """<p>A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for <code>aws.cognito.signin.user.admin</code>.</p>"""
    device_key: "capo_cognito_identity_provider.types.device_key_type.DeviceKeyType"
    """<p>The device key of the device you want to update, for example <code>us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111</code>.</p>"""
    device_remembered_status: NotRequired[
        "capo_cognito_identity_provider.types.device_remembered_status_type.DeviceRememberedStatusType"
    ]
    """<p>To enable device authentication with the specified device, set to <code>remembered</code>.To disable, set to <code>not_remembered</code>.</p>"""

access_token instance-attribute

access_token: TokenModelType

A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.

device_key instance-attribute

device_key: DeviceKeyType

The device key of the device you want to update, for example us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

device_remembered_status instance-attribute

device_remembered_status: NotRequired[DeviceRememberedStatusType]

To enable device authentication with the specified device, set to remembered.To disable, set to not_remembered.