import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client"; import type { ListMembersRequest, ListMembersResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListMembersCommand}. */ export interface ListMembersCommandInput extends ListMembersRequest { } /** * @public * * The output of {@link ListMembersCommand}. */ export interface ListMembersCommandOutput extends ListMembersResponse, __MetadataBearer { } declare const ListMembersCommand_base: { new (input: ListMembersCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListMembersCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves information about the accounts that are associated with an Amazon Macie administrator account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Macie2Client, ListMembersCommand } from "@aws-sdk/client-macie2"; // ES Modules import * // const { Macie2Client, ListMembersCommand } = require("@aws-sdk/client-macie2"); // CommonJS import * // import type { Macie2ClientConfig } from "@aws-sdk/client-macie2"; * const config = {}; // type is Macie2ClientConfig * const client = new Macie2Client(config); * const input = { // ListMembersRequest * maxResults: Number("int"), * nextToken: "STRING_VALUE", * onlyAssociated: "STRING_VALUE", * }; * const command = new ListMembersCommand(input); * const response = await client.send(command); * // { // ListMembersResponse * // members: [ // __listOfMember * // { // Member * // accountId: "STRING_VALUE", * // administratorAccountId: "STRING_VALUE", * // arn: "STRING_VALUE", * // email: "STRING_VALUE", * // invitedAt: new Date("TIMESTAMP"), * // masterAccountId: "STRING_VALUE", * // relationshipStatus: "Enabled" || "Paused" || "Invited" || "Created" || "Removed" || "Resigned" || "EmailVerificationInProgress" || "EmailVerificationFailed" || "RegionDisabled" || "AccountSuspended", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // updatedAt: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListMembersCommandInput - {@link ListMembersCommandInput} * @returns {@link ListMembersCommandOutput} * @see {@link ListMembersCommandInput} for command's `input` shape. * @see {@link ListMembersCommandOutput} for command's `response` shape. * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Provides information about an error that occurred due to insufficient access to a specified resource.

* * @throws {@link ConflictException} (client fault) *

Provides information about an error that occurred due to a versioning conflict for a specified resource.

* * @throws {@link InternalServerException} (server fault) *

Provides information about an error that occurred due to an unknown internal server error, exception, or failure.

* * @throws {@link ResourceNotFoundException} (client fault) *

Provides information about an error that occurred because a specified resource wasn't found.

* * @throws {@link ServiceQuotaExceededException} (client fault) *

Provides information about an error that occurred due to one or more service quotas for an account.

* * @throws {@link ThrottlingException} (client fault) *

Provides information about an error that occurred because too many requests were sent during a certain amount of time.

* * @throws {@link ValidationException} (client fault) *

Provides information about an error that occurred due to a syntax error in a request.

* * @throws {@link Macie2ServiceException} *

Base exception class for all service exceptions from Macie2 service.

* * * @public */ export declare class ListMembersCommand extends ListMembersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListMembersRequest; output: ListMembersResponse; }; sdk: { input: ListMembersCommandInput; output: ListMembersCommandOutput; }; }; }