import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListMembershipsInput, ListMembershipsOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListMembershipsCommand}. */ export interface ListMembershipsCommandInput extends ListMembershipsInput { } /** * @public * * The output of {@link ListMembershipsCommand}. */ export interface ListMembershipsCommandOutput extends ListMembershipsOutput, __MetadataBearer { } declare const ListMembershipsCommand_base: { new (input: ListMembershipsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListMembershipsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all memberships resources within the caller's account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, ListMembershipsCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, ListMembershipsCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import * // import type { CleanRoomsClientConfig } from "@aws-sdk/client-cleanrooms"; * const config = {}; // type is CleanRoomsClientConfig * const client = new CleanRoomsClient(config); * const input = { // ListMembershipsInput * nextToken: "STRING_VALUE", * maxResults: Number("int"), * status: "STRING_VALUE", * }; * const command = new ListMembershipsCommand(input); * const response = await client.send(command); * // { // ListMembershipsOutput * // nextToken: "STRING_VALUE", * // membershipSummaries: [ // MembershipSummaryList // required * // { // MembershipSummary * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // collaborationArn: "STRING_VALUE", // required * // collaborationId: "STRING_VALUE", // required * // collaborationCreatorAccountId: "STRING_VALUE", // required * // collaborationCreatorDisplayName: "STRING_VALUE", // required * // collaborationName: "STRING_VALUE", // required * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // status: "STRING_VALUE", // required * // memberAbilities: [ // MemberAbilities // required * // "CAN_QUERY" || "CAN_RECEIVE_RESULTS" || "CAN_RUN_JOB" || "CAN_EXPORT_QUERY_ANALYSIS_LOG", * // ], * // mlMemberAbilities: { // MLMemberAbilities * // customMLMemberAbilities: [ // CustomMLMemberAbilities // required * // "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT", * // ], * // }, * // paymentConfiguration: { // MembershipPaymentConfiguration * // queryCompute: { // MembershipQueryComputePaymentConfig * // isResponsible: true || false, // required * // }, * // machineLearning: { // MembershipMLPaymentConfig * // modelTraining: { // MembershipModelTrainingPaymentConfig * // isResponsible: true || false, // required * // }, * // modelInference: { // MembershipModelInferencePaymentConfig * // isResponsible: true || false, // required * // }, * // syntheticDataGeneration: { // MembershipSyntheticDataGenerationPaymentConfig * // isResponsible: true || false, // required * // }, * // }, * // jobCompute: { // MembershipJobComputePaymentConfig * // isResponsible: true || false, // required * // }, * // }, * // }, * // ], * // }; * * ``` * * @param ListMembershipsCommandInput - {@link ListMembershipsCommandInput} * @returns {@link ListMembershipsCommandOutput} * @see {@link ListMembershipsCommandInput} for command's `input` shape. * @see {@link ListMembershipsCommandOutput} for command's `response` shape. * @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Caller does not have sufficient access to perform this action.

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

Unexpected error during processing of request.

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

Request was denied due to request throttling.

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

The input fails to satisfy the specified constraints.

* * @throws {@link CleanRoomsServiceException} *

Base exception class for all service exceptions from CleanRooms service.

* * * @public */ export declare class ListMembershipsCommand extends ListMembershipsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListMembershipsInput; output: ListMembershipsOutput; }; sdk: { input: ListMembershipsCommandInput; output: ListMembershipsCommandOutput; }; }; }