Lists the Machine users in your account. If there are none, the operation returns an empty list.

Example

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

import { IdentityClient, ListMachineUsersCommand } from "@stedi/sdk-client-identity"; // ES Modules import
// const { IdentityClient, ListMachineUsersCommand } = require("@stedi/sdk-client-identity"); // CommonJS import
const client = new IdentityClient(config);
const input = { // ListMachineUsersInput
pageSize: Number("int"),
pageToken: "STRING_VALUE",
};
const command = new ListMachineUsersCommand(input);
const response = await client.send(command);
// { // ListMachineUsersOutput
// nextPageToken: "STRING_VALUE",
// items: [ // MachineUserItems
// { // MachineUserItem
// machineUserName: "STRING_VALUE", // required
// },
// ],
// };

Param

ListMachineUsersCommandInput

Returns

ListMachineUsersCommandOutput

See

Throws

AccessDeniedException (client fault)

Throws

ProductUnavailableException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

IdentityServiceException

Base exception class for all service exceptions from Identity service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions