ListPositionConfigurationsCommand

  • This operation is no longer supported.

List position configurations for a given resource, such as positioning solvers.

This action is no longer supported. Calls to retrieve position information should use the GetResourcePosition  API operation instead.

Example Syntax

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

import { IoTWirelessClient, ListPositionConfigurationsCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
// const { IoTWirelessClient, ListPositionConfigurationsCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
const client = new IoTWirelessClient(config);
const input = { // ListPositionConfigurationsRequest
  ResourceType: "WirelessDevice" || "WirelessGateway",
  MaxResults: Number("int"),
  NextToken: "STRING_VALUE",
};
const command = new ListPositionConfigurationsCommand(input);
const response = await client.send(command);
// { // ListPositionConfigurationsResponse
//   PositionConfigurationList: [ // PositionConfigurationList
//     { // PositionConfigurationItem
//       ResourceIdentifier: "STRING_VALUE",
//       ResourceType: "WirelessDevice" || "WirelessGateway",
//       Solvers: { // PositionSolverDetails
//         SemtechGnss: { // SemtechGnssDetail
//           Provider: "Semtech",
//           Type: "GNSS",
//           Status: "Enabled" || "Disabled",
//           Fec: "ROSE" || "NONE",
//         },
//       },
//       Destination: "STRING_VALUE",
//     },
//   ],
//   NextToken: "STRING_VALUE",
// };

ListPositionConfigurationsCommand Input

Parameter
Type
Description
MaxResults
number | undefined

The maximum number of results to return in this operation.

NextToken
string | undefined

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

ResourceType
PositionResourceType | undefined

Resource type for which position configurations are listed.

ListPositionConfigurationsCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
NextToken
string | undefined

The token to use to get the next set of results, or null if there are no additional results.

PositionConfigurationList
PositionConfigurationItem[] | undefined

A list of position configurations.

Throws

Name
Fault
Details
AccessDeniedException
client

User does not have permission to perform this action.

InternalServerException
server

An unexpected error occurred while processing a request.

ThrottlingException
client

The request was denied because it exceeded the allowed API request rate.

ValidationException
client

The input did not meet the specified constraints.

IoTWirelessServiceException
Base exception class for all service exceptions from IoTWireless service.