Amazon Cognito Identity Provider
  1. Root
Amazon Cognito Identity Provider
  • Root
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
  1. Root

/

POST
/
Gets the device.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "DeviceKey": "string",
    "AccessToken": "string"
}'
Response Response Example
200 - Example 1
{
    "Device": {
        "DeviceKey": "string",
        "DeviceAttributes": [],
        "DeviceCreateDate": "string",
        "DeviceLastModifiedDate": "string",
        "DeviceLastAuthenticatedDate": "string"
    }
}

Request

Header Params
X-Amz-Target
string 
required
Body Params application/json
Represents the request to get the device.
DeviceKey
string 
required
The device key.
>= 1 characters<= 55 characters
Match pattern:
[\w-]+_[0-9a-f-]+
AccessToken
string <password>
optional
A valid access token that Amazon Cognito issued to the user whose device information you want to request.
Match pattern:
[A-Za-z0-9-_=.]+
Examples

Responses

🟢200Success
application/json
Body
Gets the device response.
Device
object 
required
The device.
DeviceKey
string 
optional
The device key.
>= 1 characters<= 55 characters
Match pattern:
[\w-]+_[0-9a-f-]+
DeviceAttributes
array[object (AttributeType) {2}] 
optional
The device attributes.
DeviceCreateDate
string <date-time>
optional
The creation date of the device.
DeviceLastModifiedDate
string <date-time>
optional
The last modified date of the device.
DeviceLastAuthenticatedDate
string <date-time>
optional
The date when the device was last authenticated.
🟠480ResourceNotFoundException
🟠481InvalidParameterException
🟠482InvalidUserPoolConfigurationException
🟠483NotAuthorizedException
🟠484TooManyRequestsException
🟠485PasswordResetRequiredException
🟠486UserNotFoundException
🟠487UserNotConfirmedException
🟠488InternalErrorException
🟠489ForbiddenException
Modified at 2023-08-15 07:11:07
Previous
/
Next
/
Built with