Protected
Searches for devices using the specified filters.
Use a bare-bones client and the command you need to make an API call.
import { BraketClient, SearchDevicesCommand } from "@aws-sdk/client-braket"; // ES Modules import// const { BraketClient, SearchDevicesCommand } = require("@aws-sdk/client-braket"); // CommonJS importconst client = new BraketClient(config);const input = { // SearchDevicesRequest nextToken: "STRING_VALUE", maxResults: Number("int"), filters: [ // SearchDevicesFilterList // required { // SearchDevicesFilter name: "STRING_VALUE", // required values: [ // String256List // required "STRING_VALUE", ], }, ],};const command = new SearchDevicesCommand(input);const response = await client.send(command);
SearchDevicesCommandInput
SearchDevicesCommandOutput
input
response
config
AccessDeniedException (client fault)
You do not have sufficient access to perform this action.
InternalServiceException (server fault)
The request processing has failed because of an unknown error, exception, or failure.
ThrottlingException (client fault)
The throttling rate limit is met.
ValidationException (client fault)
The input fails to satisfy the constraints specified by an AWS service.
Readonly
Static
Searches for devices using the specified filters.
Example
Use a bare-bones client and the command you need to make an API call.
Param
SearchDevicesCommandInput
Returns
SearchDevicesCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
You do not have sufficient access to perform this action.
Throws
InternalServiceException (server fault)
The request processing has failed because of an unknown error, exception, or failure.
Throws
ThrottlingException (client fault)
The throttling rate limit is met.
Throws
ValidationException (client fault)
The input fails to satisfy the constraints specified by an AWS service.