Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClaimDevicesByClaimCodeCommand

Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with the device(s).

example

Use a bare-bones client and the command you need to make an API call.

import { IoT1ClickDevicesServiceClient, ClaimDevicesByClaimCodeCommand } from "@aws-sdk/client-iot-1click-devices-service"; // ES Modules import
// const { IoT1ClickDevicesServiceClient, ClaimDevicesByClaimCodeCommand } = require("@aws-sdk/client-iot-1click-devices-service"); // CommonJS import
const client = new IoT1ClickDevicesServiceClient(config);
const command = new ClaimDevicesByClaimCodeCommand(input);
const response = await client.send(command);
see

ClaimDevicesByClaimCodeCommandInput for command's input shape.

see

ClaimDevicesByClaimCodeCommandOutput for command's response shape.

see

config for IoT1ClickDevicesServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ClaimDevicesByClaimCodeCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions