mutation updateUser($id: String, $input: UpdateUserInput!) {

updateUser(id: $id, input: $input) {
  id
  arn
  userPoolId
  status
  username
  email
  emailVerified
  phone
  phoneVerified
  unionid
  openid
  nickname
  registerSource
  photo
  password
  oauth
  token
  tokenExpiredAt
  loginsCount
  lastLogin
  lastIP
  signedUp
  blocked
  isDeleted
  device
  browser
  company
  name
  givenName
  familyName
  middleName
  profile
  preferredUsername
  website
  gender
  birthdate
  zoneinfo
  locale
  address
  formatted
  streetAddress
  locality
  region
  postalCode
  city
  province
  country
  createdAt
  updatedAt
  externalId
}

}