Retrieves information about the specified Machine Users user.

Example

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

import { IdentityClient, DescribeMachineUserCommand } from "@stedi/sdk-client-identity"; // ES Modules import
// const { IdentityClient, DescribeMachineUserCommand } = require("@stedi/sdk-client-identity"); // CommonJS import
const client = new IdentityClient(config);
const input = { // DescribeMachineUserInput
machineUserName: "STRING_VALUE", // required
};
const command = new DescribeMachineUserCommand(input);
const response = await client.send(command);
// { // DescribeMachineUserOutput
// machineUserName: "STRING_VALUE", // required
// managedPolicies: [ // ManagedPolicyNames // required
// "STRING_VALUE",
// ],
// resourceDetail: { // DescribeResourceDetail
// status: "AVAILABLE" || "UNDER_CHANGE" || "CHANGE_FAILED" || "ERROR" || "CREATE_FAILED", // required
// detailedStatus: "AVAILABLE_UPDATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED",
// statusMessage: "STRING_VALUE",
// idempotencyKey: "STRING_VALUE", // required
// createdAt: new Date("TIMESTAMP"), // required
// updatedAt: new Date("TIMESTAMP"), // required
// },
// };

Param

DescribeMachineUserCommandInput

Returns

DescribeMachineUserCommandOutput

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